/*
 * Ordina editorial layouts. Unlayered so these rules win over the base theme.
 */

body.blog,
body.single-post {
    background: #fff;
}

body.blog .footer-cta,
body.single-post .footer-cta {
    min-height: 420px;
}

body.blog .footer-cta__inner,
body.single-post .footer-cta__inner {
    display: none;
}

.blog-hero {
    background: var(--petrol);
    color: #fff;
    overflow: visible;
    padding: 88px 0 0;
}

.blog-hero__heading {
    background: transparent;
    border: 0;
    margin: 0 auto 56px;
    max-width: none;
    text-align: left;
}

.blog-hero__heading .eyebrow {
    margin-bottom: 24px;
}

.blog-hero__heading h1 {
    color: #fff;
    font-size: 60px;
    line-height: 1.04;
    margin: 0 0 22px;
    max-width: 900px;
}

.blog-hero__heading p {
    color: #abc0c6;
    font-size: 17px;
    margin: 0;
    max-width: 660px;
}

.featured-post {
    background: #0a4253;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 8px;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 510px;
    overflow: hidden;
    position: relative;
    transform: translateY(64px);
    z-index: 2;
}

.featured-post__media {
    min-height: 510px;
}

.featured-post__media img {
    filter: saturate(0.65);
    height: 100%;
    object-fit: cover;
    object-position: top;
    width: 100%;
}

.featured-post__copy {
    align-self: center;
    padding: 54px;
}

.featured-post__copy .eyebrow {
    background: #0d647d;
    border-color: rgba(255, 255, 255, 0.1);
    color: #d8f4ff;
}

.featured-post__copy > p:first-of-type {
    color: #8eabb4;
    font-size: 11px;
    margin: 22px 0 0;
}

.featured-post__copy h2 {
    color: #fff;
    font-size: 39px;
    line-height: 1.08;
    margin: 12px 0 18px;
}

.featured-post__copy > p {
    color: #a9c0c7;
    font-size: 14px;
    line-height: 1.55;
}

.featured-post__copy .button {
    background: transparent;
    border: 0;
    color: #fff;
    min-height: auto;
    padding: 14px 0 5px;
}

.featured-post__copy .button:hover {
    background: transparent;
    color: var(--lime);
}

.blog-archive {
    background: #fff;
    padding: 148px 0 150px;
}

.blog-archive > .shell {
    background: transparent;
    border: 0;
}

.blog-filters {
    border: 0;
    justify-content: center;
    margin-bottom: 34px;
    padding: 0;
}

.blog-filters span {
    background: #f7f8f8;
    border-color: #e4e8e7;
    border-radius: 20px;
    color: #718083;
    font-size: 11px;
    padding: 7px 12px;
}

.blog-filters .is-active {
    background: var(--petrol);
    border-color: var(--petrol);
    color: #fff;
}

.post-grid--archive {
    gap: 46px 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-archive .reveal {
    opacity: 1 !important;
    transform: none !important;
}

.post-card--light {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.post-card--light .post-card__media {
    aspect-ratio: 1.58;
    border-radius: 8px;
}

.post-card--light .post-card__media::after {
    background: rgba(0, 39, 53, 0.12);
}

.post-card--light .post-card__media img {
    filter: grayscale(0.82) saturate(0.35);
}

.post-card--light:hover .post-card__media img {
    filter: grayscale(0.25) saturate(0.7);
}

.post-card--light .post-card__media > span {
    background: var(--petrol);
    color: #fff;
    font-size: 9px;
}

.post-card--light .post-card__copy {
    padding: 16px 4px 0;
}

.post-card--light .post-card__copy > p:first-child {
    color: #0d647d;
    font-size: 10px;
    margin-bottom: 8px;
    text-transform: none;
}

.post-card--light h2 {
    color: var(--ink);
    font-size: 20px;
    line-height: 1.18;
    margin: 0 0 11px;
}

.post-card--light .post-card__copy > p {
    color: #7c8789;
    font-size: 12px;
    line-height: 1.55;
}

.post-card--light .post-card__link {
    color: var(--petrol);
    font-size: 11px;
    margin-top: 8px;
}

.article-hero {
    background: var(--petrol);
    color: #fff;
    padding: 88px 0 86px;
}

.article-hero__inner {
    background: transparent;
    border: 0;
    margin-inline: auto;
    max-width: 1040px;
    padding: 0;
    text-align: left;
}

.article-hero__topline {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
}

.article-hero__topline .eyebrow {
    margin: 0;
}

.article-hero__back {
    align-items: center;
    color: #9eb7be;
    display: inline-flex;
    font-size: 11px;
    gap: 6px;
    margin: 0;
    text-decoration: none;
}

.article-hero__back svg {
    height: 14px;
    width: 14px;
}

.article-hero h1 {
    color: #fff;
    font-size: 60px;
    line-height: 1.04;
    margin: 0 0 22px;
    max-width: 930px;
}

.article-hero__inner > p {
    color: #abc0c6;
    font-size: 17px;
    margin: 0;
    max-width: 760px;
}

.article-hero__meta {
    align-items: center;
    display: flex;
    gap: 24px;
    justify-content: flex-start;
    margin-top: 28px;
}

.article-hero__meta > span {
    color: #90aab2;
    font-size: 11px;
}

.article-hero__author {
    align-items: center;
    display: flex;
    gap: 9px;
}

.article-hero__author img {
    border-radius: 50%;
    height: 38px;
    object-fit: cover;
    width: 38px;
}

.article-hero__author strong,
.article-hero__author small {
    display: block;
    line-height: 1.3;
}

.article-hero__author strong {
    color: #fff;
    font-size: 11px;
}

.article-hero__author small {
    color: #90aab2;
    font-size: 9px;
}

.article-hero__featured {
    aspect-ratio: 1.8;
    background: #0a4253;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 58px;
    overflow: hidden;
    padding: 0;
}

.article-hero__featured img {
    filter: saturate(0.55);
    height: 100%;
    object-fit: cover;
    object-position: top;
    width: 100%;
}

.article-layout {
    align-items: start;
    background: #fff;
    border: 0;
    display: grid;
    gap: 54px;
    grid-template-columns: 240px minmax(0, 760px);
    justify-content: center;
    padding-block: 94px 150px;
}

.single-post .article-layout .reveal,
.single-post .related-posts .reveal {
    opacity: 1 !important;
    transform: none !important;
}

.article-sidebar {
    background: #f7f8f8;
    border: 1px solid #e5e9e8;
    border-radius: 8px;
    padding: 24px;
    position: sticky;
    top: 110px;
}

.article-sidebar__label {
    color: var(--petrol);
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.article-sidebar nav {
    display: grid;
    gap: 4px;
}

.article-sidebar nav a {
    background: #fff;
    border-radius: 5px;
    color: #667477;
    font-size: 11px;
    line-height: 1.4;
    padding: 10px;
    text-decoration: none;
}

.article-sidebar nav a:hover {
    color: var(--petrol);
}

.article-sidebar__contact {
    border-top: 1px solid #dfe4e3;
    margin-top: 20px;
    padding-top: 18px;
}

.article-sidebar__contact p {
    color: #7a8688;
    font-size: 11px;
    margin-bottom: 8px;
}

.article-sidebar__contact a {
    align-items: center;
    color: var(--petrol);
    display: inline-flex;
    font-size: 11px;
    font-weight: 650;
    gap: 5px;
}

.article-content {
    color: #354043;
    font-size: 17px;
    line-height: 1.75;
}

.article-content h2 {
    color: var(--petrol);
    font-size: 35px;
    margin: 58px 0 18px;
    scroll-margin-top: 110px;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content p,
.article-content li {
    color: #455154;
}

.related-posts {
    padding-block: 110px 130px;
}

@media (max-width: 900px) {
    .blog-hero__heading h1,
    .article-hero h1 {
        font-size: 50px;
    }

    .featured-post {
        grid-template-columns: 1fr;
    }

    .featured-post__media {
        aspect-ratio: 1.55;
        min-height: 0;
    }

    .post-grid--archive {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-layout {
        gap: 38px;
        grid-template-columns: 210px minmax(0, 1fr);
    }
}

@media (max-width: 680px) {
    .blog-hero,
    .article-hero {
        padding-top: 62px;
    }

    .blog-hero__heading h1,
    .article-hero h1 {
        font-size: 39px;
    }

    .blog-hero__heading p,
    .article-hero__inner > p {
        font-size: 16px;
    }

    .featured-post {
        min-height: 0;
        transform: translateY(42px);
    }

    .featured-post__copy {
        padding: 30px 24px 36px;
    }

    .featured-post__copy h2 {
        font-size: 31px;
    }

    .blog-archive {
        padding-top: 110px;
    }

    .post-grid--archive {
        grid-template-columns: 1fr;
    }

    .article-hero__topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .article-hero__meta {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .article-hero__featured {
        aspect-ratio: 1.25;
        margin-top: 42px;
    }

    .article-layout {
        display: block;
        padding-block: 62px 100px;
    }

    .article-sidebar {
        margin-bottom: 48px;
        position: static;
    }

    .article-content h2 {
        font-size: 31px;
    }
}
