/* Blog listing and article composition based on the supplied visual reference. */
.blog-listing-page .cr-case-study-card__shade {
    background: linear-gradient(180deg, rgba(3, 12, 21, .02) 20%, rgba(3, 12, 21, .9) 100%);
}

.blog-listing-page .cr-case-study-card__content {
    bottom: 20px;
    left: 20px;
    right: 20px;
    gap: 10px;
}

.blog-listing-page .cr-case-study-card__category {
    color: #d1f3ff;
    font-size: .75rem;
    font-weight: 700;
}

.blog-listing-page .cr-case-study-card__title {
    max-width: 300px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    font-weight: 800;
    line-height: 1.28;
    text-wrap: balance;
}

.blog-reference {
    --blog-blue: #188fbe;
    --blog-ink: #182838;
    --blog-muted: #58707d;
    color: var(--blog-ink);
}

.blog-reference__shell {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.blog-reference__hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(390px, 39vw, 560px);
    display: flex;
    align-items: center;
    background: #06111a;
    overflow: hidden;
}

.blog-reference__hero::before,
.blog-reference__highlights::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .87) 36%, rgba(3, 15, 25, .38) 75%, rgba(3, 15, 25, .2) 100%), var(--blog-cover);
    background-position: center;
    background-size: cover;
}

.blog-reference__hero-copy {
    max-width: 580px;
    padding-block: 90px;
    color: #fff;
}

.blog-reference__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 85px;
    min-height: 27px;
    margin-bottom: 23px;
    padding: 4px 16px;
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 4px;
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
}

.blog-reference__eyebrow:hover,
.blog-reference__eyebrow:focus {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
}

.blog-reference__hero h1 {
    margin: 0 0 19px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: clamp(2.1rem, 4.2vw, 3.9rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.blog-reference__hero p {
    max-width: 500px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(.95rem, 1.15vw, 1.08rem);
    line-height: 1.7;
}

.blog-reference__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 35px 0 25px;
    text-align: center;
}

.blog-reference__meta > div {
    min-width: 0;
}

.blog-reference__meta dt {
    margin-bottom: 3px;
    color: #202b33;
    font-size: .88rem;
    font-weight: 700;
}

.blog-reference__meta dd {
    margin: 0;
    color: var(--blog-blue);
    font-size: .78rem;
    line-height: 1.5;
}

.blog-reference__meta a {
    color: inherit;
    text-decoration: none;
}

.blog-reference__meta a:hover,
.blog-reference__meta a:focus {
    text-decoration: underline;
}

.bt-blog-article .blog-reference__story.bt-blog-layout {
    display: block;
    width: min(850px, calc(100% - 40px));
    margin: 0 auto;
    padding: 12px 0 clamp(55px, 6vw, 90px);
}

.blog-reference__story-heading {
    margin: 0 auto 27px;
    text-align: center;
}

.blog-reference__section-label {
    display: block;
    margin-bottom: 8px;
    color: var(--blog-blue);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.blog-reference__story-heading h2 {
    margin: 0;
    color: var(--blog-ink);
    font-family: var(--font-sans);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    text-wrap: balance;
}

.bt-blog-article .blog-reference__toc {
    max-width: 700px;
    margin: 0 auto 35px;
    border-color: #cbdde5;
    border-radius: 12px;
}

.blog-reference__toc summary {
    min-height: 58px;
    padding: 14px 20px;
    font-size: .9rem;
}

.bt-blog-article .blog-reference__toc ol {
    max-height: none;
    padding: 4px 20px 15px;
}

.blog-reference__article {
    color: #263b47;
    font-size: .95rem;
    line-height: 1.82;
}

.blog-reference__article p {
    margin-bottom: 1.2em;
}

.bt-blog-article .blog-reference__article h2 {
    margin: 1.8em 0 .65em;
    color: var(--blog-ink);
    font-size: clamp(1.28rem, 2vw, 1.7rem);
}

.bt-blog-article .blog-reference__article h3 {
    margin: 1.4em 0 .55em;
    color: var(--blog-ink);
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.blog-reference__faq {
    margin-top: 50px;
}

.blog-reference__highlights {
    position: relative;
    isolation: isolate;
    padding: clamp(40px, 5vw, 72px) 20px;
    background: #092433;
}

.blog-reference__highlights::before {
    background-image: linear-gradient(rgba(4, 22, 33, .86), rgba(4, 22, 33, .86)), var(--blog-cover);
    opacity: .95;
}

.blog-reference__highlight-shell {
    display: grid;
    gap: 17px;
    width: min(840px, 100%);
    margin-inline: auto;
}

.blog-reference__highlight {
    padding: clamp(25px, 3vw, 38px) clamp(22px, 4vw, 48px);
    border-radius: 13px;
    background: #fff;
    text-align: center;
    box-shadow: 0 13px 33px rgba(0, 0, 0, .12);
}

.blog-reference__highlight:nth-child(odd) {
    background: #c8edfa;
}

.blog-reference__quote-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0 auto 13px;
    border-radius: 6px;
    color: #fff;
    background: var(--blog-blue);
    font-size: 1.3rem;
}

.blog-reference__highlight h2 {
    margin: 0 0 7px;
    color: #126e95;
    font-family: var(--font-sans);
    font-size: clamp(1.03rem, 1.5vw, 1.3rem);
    font-weight: 800;
}

.blog-reference__highlight p {
    max-width: 650px;
    margin: 0 auto;
    color: #334954;
    font-size: .83rem;
    line-height: 1.72;
}

.blog-reference__share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: min(850px, calc(100% - 40px));
    margin: 30px auto 0;
}

.blog-reference__share strong {
    margin-right: 9px;
    font-size: .78rem;
}

.blog-reference__share a,
.blog-reference__share button {
    padding: 8px 13px;
    border: 1px solid #a9d4e4;
    border-radius: 5px;
    color: #0c739f;
    background: #fff;
    font: inherit;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.blog-reference__share a:hover,
.blog-reference__share button:hover,
.blog-reference__share button.is-copied {
    color: #fff;
    background: var(--blog-blue);
}

.blog-reference .reference-cta {
    margin-block: clamp(45px, 5vw, 70px);
}

.blog-reference .bt-blog-contact {
    padding-top: 10px;
}

@media (max-width: 767.98px) {
    .blog-reference__hero {
        min-height: 390px;
    }

    .blog-reference__hero::before {
        background-image: linear-gradient(90deg, rgba(0, 0, 0, .91), rgba(3, 15, 25, .63)), var(--blog-cover);
    }

    .blog-reference__hero-copy {
        padding-block: 65px;
    }

    .blog-reference__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 23px 12px;
        padding: 30px 0;
    }

    .blog-reference__share strong {
        flex-basis: 100%;
        text-align: center;
    }
}
