/* Porto and Northern Portugal guide.
   Loaded only on /portugal/places/porto-north/ by information.php.
   Editor content intentionally uses only basic headings, paragraphs,
   links, lists and one blockquote. */

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

#body.porto-north-page .porto-north-wrapper {
    max-width: 1120px;
    margin: 32px auto 55px;
}

#body.porto-north-page .porto-north-content {
    background: #fff;
    border: 1px solid #d5d5d5;
    overflow: visible;
}

#body.porto-north-page .information-content {
    min-height: 0;
    padding: 38px 44px 42px;
}

#body.porto-north-page h1.page-title {
    float: none;
    margin: 0 0 14px;
    color: #3b7bcd;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

#body.porto-north-page .information-content > p:first-of-type {
    margin: 0 0 22px;
    color: #6a6a6a;
    font-size: 14px;
    line-height: 1.5;
}

#body.porto-north-page .information-content > p:first-of-type a {
    color: #3b7bcd;
    font-weight: 600;
}

#body.porto-north-page .information-content h2 {
    clear: both;
    margin: 38px 0 15px;
    padding-top: 31px;
    border-top: 1px solid #e2e2e2;
    color: #3b7bcd;
    font-size: 29px;
    font-weight: 600;
    line-height: 1.25;
}

#body.porto-north-page .information-content h2:first-of-type {
    margin-top: 30px;
}

#body.porto-north-page .information-content h3 {
    margin: 24px 0 8px;
    color: #900;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

#body.porto-north-page .information-content p,
#body.porto-north-page .information-content li {
    color: #484848;
    font-size: 16px;
    line-height: 1.62;
}

#body.porto-north-page .information-content p {
    margin: 0 0 15px;
}

#body.porto-north-page .information-content a {
    color: #3b7bcd;
    font-weight: 600;
    text-decoration: none;
}

#body.porto-north-page .information-content a:hover,
#body.porto-north-page .information-content a:focus {
    color: #235fae;
    text-decoration: underline;
}

/* Four regional overview cards. */
#body.porto-north-page .information-content ul:nth-of-type(1) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 22px 0 32px;
    padding: 0;
    list-style: none;
}

#body.porto-north-page .information-content ul:nth-of-type(1) > li {
    margin: 0;
    padding: 22px 24px;
    background: #f8fafc;
    border: 1px solid #d9dfe8;
    border-top: 4px solid #139a68;
    border-radius: 5px;
}

#body.porto-north-page .information-content ul:nth-of-type(1) strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 19px;
}

/* Main editorial lists. */
#body.porto-north-page .information-content ul:not(:nth-of-type(1)):not(:nth-of-type(4)):not(:nth-of-type(5)):not(:nth-of-type(7)) {
    margin: 15px 0 25px 22px;
    padding: 0;
}

#body.porto-north-page .information-content ul:not(:nth-of-type(1)):not(:nth-of-type(4)):not(:nth-of-type(5)):not(:nth-of-type(7)) > li {
    margin: 0 0 9px;
    padding-left: 4px;
}

/* Destination cards, trip-length cards and package cards. */
#body.porto-north-page .information-content ul:nth-of-type(4),
#body.porto-north-page .information-content ul:nth-of-type(5),
#body.porto-north-page .information-content ul:nth-of-type(7) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
    margin: 20px 0 30px;
    padding: 0;
    list-style: none;
}

#body.porto-north-page .information-content ul:nth-of-type(4) > li,
#body.porto-north-page .information-content ul:nth-of-type(5) > li,
#body.porto-north-page .information-content ul:nth-of-type(7) > li {
    margin: 0;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid #d7d7d7;
    border-left: 4px solid #3b7bcd;
    border-radius: 4px;
}

#body.porto-north-page .information-content ul:nth-of-type(4) strong,
#body.porto-north-page .information-content ul:nth-of-type(5) strong,
#body.porto-north-page .information-content ul:nth-of-type(7) strong {
    display: block;
    margin-bottom: 4px;
    color: #333;
    font-size: 17px;
}

#body.porto-north-page .information-content blockquote {
    margin: 36px 0 0;
    padding: 25px 28px;
    background: #edf3fb;
    border-left: 5px solid #3b7bcd;
}

#body.porto-north-page .information-content blockquote h2 {
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    font-size: 25px;
}

#body.porto-north-page .information-content blockquote p:last-child {
    margin-bottom: 0;
}

#body.porto-north-page .pn-content-review {
    margin-top: 30px;
    padding-top: 18px;
    border-top: 1px solid #e2e2e2;
    color: #686868;
    font-size: 13px;
    line-height: 1.55;
}

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

    #body.porto-north-page .porto-north-wrapper {
        width: auto;
        margin: 18px 14px 35px;
    }

    #body.porto-north-page .information-content {
        padding: 24px 20px 30px;
    }

    #body.porto-north-page h1.page-title {
        font-size: 29px;
    }

    #body.porto-north-page .information-content h2 {
        margin-top: 30px;
        padding-top: 25px;
        font-size: 25px;
    }

    #body.porto-north-page .information-content h3 {
        font-size: 19px;
    }

    #body.porto-north-page .information-content p,
    #body.porto-north-page .information-content li {
        font-size: 16px;
        line-height: 1.58;
    }

    #body.porto-north-page .information-content ul:nth-of-type(1),
    #body.porto-north-page .information-content ul:nth-of-type(4),
    #body.porto-north-page .information-content ul:nth-of-type(5),
    #body.porto-north-page .information-content ul:nth-of-type(7) {
        grid-template-columns: 1fr;
    }

    #body.porto-north-page .information-content blockquote {
        padding: 20px;
    }
}
