/* Portugal weather and average temperatures guide.
   Loaded only on /portugal/travel-tips/average-temperatures-portugal/. */


#body.portugal-weather-page .image-page-header .carousel-content-container {
    height: 285px;
}

#body.portugal-weather-page .portugal-weather-wrapper {
    max-width: 1140px;
    margin: 32px auto 55px;
}

#body.portugal-weather-page .portugal-weather-content {
    background: transparent;
    border: 0;
    overflow: visible;
}

#body.portugal-weather-page .information-content {
    min-height: 0;
    padding: 0;
}

#body.portugal-weather-page h1.page-title {
    float: none;
    margin: 0 0 22px;
    color: #3b7bcd;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.18;
}

#body.portugal-weather-page .pw-guide {
    color: #454545;
}

#body.portugal-weather-page .pw-intro,
#body.portugal-weather-page .pw-section,
#body.portugal-weather-page .pw-cta {
    margin: 0 0 24px;
    padding: 34px 36px;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#body.portugal-weather-page .pw-soft-section {
    background: #f7f9fb;
}

#body.portugal-weather-page .pw-breadcrumb-link {
    margin: 0 0 18px;
    color: #6b6b6b;
    font-size: 14px;
}

#body.portugal-weather-page .pw-lead {
    margin: 0 0 14px;
    color: #343434;
    font-size: 19px;
    line-height: 1.62;
}

#body.portugal-weather-page .pw-guide p,
#body.portugal-weather-page .pw-guide li,
#body.portugal-weather-page .pw-guide td,
#body.portugal-weather-page .pw-guide th {
    font-size: 16px;
    line-height: 1.6;
}

#body.portugal-weather-page .pw-guide p {
    margin: 0 0 15px;
}

#body.portugal-weather-page .pw-guide a {
    color: #3b66cf;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

#body.portugal-weather-page .pw-guide a:hover,
#body.portugal-weather-page .pw-guide a:focus {
    color: #244fae;
}

#body.portugal-weather-page .pw-kicker {
    margin: 0 0 9px;
    color: #333;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.055em;
    line-height: 1.3;
    text-transform: uppercase;
}

#body.portugal-weather-page .pw-guide h2 {
    margin: 0 0 20px;
    color: #5172d8;
    font-size: 31px;
    font-weight: 700;
    line-height: 1.24;
}

#body.portugal-weather-page .pw-guide h3 {
    margin: 0 0 10px;
    color: #444;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.32;
}

#body.portugal-weather-page .pw-jump-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 24px 0 0;
    padding-top: 19px;
    border-top: 1px solid #e2e2e2;
}

#body.portugal-weather-page .pw-jump-nav a {
    display: inline-block;
    padding: 8px 12px;
    background: #f4f5f7;
    border: 1px solid #dcdfe5;
    border-radius: 4px;
    color: #3f4d61;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

#body.portugal-weather-page .pw-jump-nav a:hover,
#body.portugal-weather-page .pw-jump-nav a:focus {
    background: #eaf0fb;
    border-color: #b8c8ea;
    color: #2f5ec0;
}

#body.portugal-weather-page .pw-summary-grid,
#body.portugal-weather-page .pw-month-grid,
#body.portugal-weather-page .pw-region-grid,
#body.portugal-weather-page .pw-sea-grid,
#body.portugal-weather-page .pw-packing-grid,
#body.portugal-weather-page .pw-planning-grid,
#body.portugal-weather-page .pw-table-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

#body.portugal-weather-page .pw-table-grid,
#body.portugal-weather-page .pw-sea-grid,
#body.portugal-weather-page .pw-packing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#body.portugal-weather-page .pw-summary-grid article,
#body.portugal-weather-page .pw-month-grid article,
#body.portugal-weather-page .pw-region-grid article,
#body.portugal-weather-page .pw-sea-grid article,
#body.portugal-weather-page .pw-packing-grid article,
#body.portugal-weather-page .pw-planning-grid article,
#body.portugal-weather-page .pw-table-card {
    min-width: 0;
    padding: 21px 22px;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-top: 4px solid #4b73d9;
    border-radius: 5px;
}

#body.portugal-weather-page .pw-summary-grid article {
    border-top-color: #e7bd22;
}

#body.portugal-weather-page .pw-month-grid article {
    border-top-color: #3b9a68;
}

#body.portugal-weather-page .pw-region-grid article {
    border-top-color: #3b9a68;
}

#body.portugal-weather-page .pw-sea-grid article {
    border-top-color: #2a9cad;
}

#body.portugal-weather-page .pw-packing-grid article {
    border-top-color: #d28a38;
}

#body.portugal-weather-page .pw-summary-grid p:last-child,
#body.portugal-weather-page .pw-month-grid p:last-child,
#body.portugal-weather-page .pw-region-grid p:last-child,
#body.portugal-weather-page .pw-sea-grid p:last-child,
#body.portugal-weather-page .pw-planning-grid p:last-child {
    margin-bottom: 0;
}

#body.portugal-weather-page .pw-summary-grid article > p:first-of-type {
    margin-bottom: 9px;
    color: #2f5dbb;
}

#body.portugal-weather-page .pw-packing-grid ul {
    margin: 0 0 0 20px;
    padding: 0;
}

#body.portugal-weather-page .pw-packing-grid li {
    margin-bottom: 7px;
}

#body.portugal-weather-page .pw-temperature-section > p:nth-of-type(2) {
    max-width: 950px;
}

#body.portugal-weather-page .pw-table-card {
    padding: 0;
    overflow: hidden;
}

#body.portugal-weather-page .pw-table-card h3 {
    margin: 0;
    padding: 17px 19px;
    background: #f5f7fb;
    border-bottom: 1px solid #dbe0ea;
    color: #385fbf;
}

#body.portugal-weather-page .pw-table-scroll {
    overflow-x: auto;
}

#body.portugal-weather-page .pw-table-card table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

#body.portugal-weather-page .pw-table-card th,
#body.portugal-weather-page .pw-table-card td {
    padding: 12px 13px;
    border: 0;
    border-bottom: 1px solid #e4e4e4;
    text-align: left;
    vertical-align: top;
    white-space: nowrap;
}

#body.portugal-weather-page .pw-table-card th {
    background: #fafafa;
    color: #333;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

#body.portugal-weather-page .pw-table-card tr:last-child td {
    border-bottom: 0;
}

#body.portugal-weather-page .pw-source-note {
    margin: 22px 0 0;
    padding: 18px 20px;
    background: #eef4fb;
    border-left: 5px solid #4b73d9;
    color: #4b5665;
    font-size: 14px;
}

#body.portugal-weather-page .pw-faq-list {
    display: grid;
    gap: 11px;
}

#body.portugal-weather-page .pw-faq-list details {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
}

#body.portugal-weather-page .pw-faq-list summary {
    position: relative;
    padding: 17px 48px 17px 18px;
    color: #4e6fc9;
    cursor: pointer;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
}

#body.portugal-weather-page .pw-faq-list summary::-webkit-details-marker {
    display: none;
}

#body.portugal-weather-page .pw-faq-list summary::after {
    position: absolute;
    top: 50%;
    right: 18px;
    content: "+";
    font-size: 24px;
    line-height: 1;
    transform: translateY(-50%);
}

#body.portugal-weather-page .pw-faq-list details[open] summary::after {
    content: "−";
}

#body.portugal-weather-page .pw-faq-list details p {
    margin: 0;
    padding: 0 18px 18px;
}

#body.portugal-weather-page .pw-cta {
    background: #eef7f2;
    border-left: 6px solid #319465;
}

#body.portugal-weather-page .pw-cta h2 {
    margin-bottom: 10px;
}

#body.portugal-weather-page .pw-cta p:last-child {
    margin-bottom: 0;
}

#body.portugal-weather-page .pw-content-review {
    margin: 25px 0 0;
    padding: 18px 20px;
    background: #f5f5f5;
    border: 1px solid #dedede;
    border-radius: 5px;
    color: #686868;
    font-size: 13px;
    line-height: 1.55;
}

@media screen and (max-width: 1140px) {
    #body.portugal-weather-page .portugal-weather-wrapper {
        margin-right: 16px;
        margin-left: 16px;
    }
}

@media screen and (max-width: 900px) {
    #body.portugal-weather-page .pw-summary-grid,
    #body.portugal-weather-page .pw-month-grid,
    #body.portugal-weather-page .pw-region-grid,
    #body.portugal-weather-page .pw-planning-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 650px) {
    #body.portugal-weather-page .portugal-weather-wrapper {
        margin: 20px 12px 35px;
    }

    #body.portugal-weather-page h1.page-title {
        margin-bottom: 16px;
        font-size: 30px;
    }

    #body.portugal-weather-page .pw-intro,
    #body.portugal-weather-page .pw-section,
    #body.portugal-weather-page .pw-cta {
        padding: 24px 19px;
    }

    #body.portugal-weather-page .pw-guide h2 {
        font-size: 26px;
    }

    #body.portugal-weather-page .pw-lead {
        font-size: 18px;
    }

    #body.portugal-weather-page .pw-summary-grid,
    #body.portugal-weather-page .pw-month-grid,
    #body.portugal-weather-page .pw-region-grid,
    #body.portugal-weather-page .pw-sea-grid,
    #body.portugal-weather-page .pw-packing-grid,
    #body.portugal-weather-page .pw-planning-grid,
    #body.portugal-weather-page .pw-table-grid {
        grid-template-columns: 1fr;
    }

    #body.portugal-weather-page .pw-jump-nav {
        display: block;
    }

    #body.portugal-weather-page .pw-jump-nav a {
        width: 100%;
        margin-bottom: 8px;
    }

    #body.portugal-weather-page .pw-jump-nav a:last-child {
        margin-bottom: 0;
    }

    #body.portugal-weather-page .pw-table-card th,
    #body.portugal-weather-page .pw-table-card td {
        padding: 11px;
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    #body.portugal-weather-page .image-page-header .carousel-content-container {
        height: 190px;
    }
}
