/* =========================================================
   AJAY BHATNAGAR — PUBLIC BLOG
   Executive Technology Leader
   Uses the same visual language as the Homepage.
   ========================================================= */

.blog-page,
.blog-post-page {
    --ab-navy: #07121c;
    --ab-navy-2: #091a29;
    --ab-blue: #4aa9ed;
    --ab-blue-light: #60b7f5;
    --ab-blue-hover: #5bb5f3;
    --ab-ivory: #eef4f7;
    --ab-white: #f5f8fa;
    --ab-text: #102b3d;
    --ab-muted: #587085;
    --ab-muted-dark: #8299aa;
    --ab-border: rgba(89, 133, 161, .20);
}

.blog-page {
    background: var(--ab-ivory);
    color: var(--ab-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================================
   BLOG HERO
   ========================================================= */

.blog-page .blog-hero {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    padding: 92px 0 86px !important;
    background:
        radial-gradient(circle at 8% 50%, rgba(0, 161, 143, .14), transparent 34%),
        radial-gradient(circle at 86% 35%, rgba(53, 139, 205, .22), transparent 38%),
        linear-gradient(120deg, #06151b 0%, #071a2b 52%, #0b2638 100%);
    color: #eef6fb;
}

.blog-page .blog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .75;
    background-image:
        linear-gradient(rgba(100, 160, 198, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 160, 198, .045) 1px, transparent 1px);
    background-size: 90px 90px;
}

.blog-page .blog-hero::after {
    content: "INSIGHTS";
    position: absolute;
    right: 5%;
    bottom: -22px;
    color: rgba(88, 157, 201, .075);
    font-size: clamp(90px, 14vw, 190px);
    line-height: .8;
    font-weight: 900;
    letter-spacing: -.07em;
    pointer-events: none;
}

.blog-page .blog-hero .container {
    position: relative;
    z-index: 2;
}

.blog-page .blog-hero .row {
    justify-content: flex-start !important;
    text-align: left !important;
}

.blog-page .blog-hero .col-lg-9 {
    max-width: 820px;
}

.blog-page .blog-hero .text-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ab-blue-light) !important;
    font-size: 9px !important;
    line-height: 1;
    font-weight: 800 !important;
    letter-spacing: .20em;
}

.blog-page .blog-hero .text-primary::before {
    content: "";
    width: 26px;
    height: 1px;
    background: var(--ab-blue-light);
}

.blog-page .blog-hero h1 {
    margin-top: 20px !important;
    margin-bottom: 18px !important;
    color: #f4f8fb;
    font-size: clamp(48px, 6vw, 76px);
    line-height: .95;
    font-weight: 850;
    letter-spacing: -.055em;
}

.blog-page .blog-hero .lead {
    max-width: 760px;
    color: #b5c8d7 !important;
    font-size: 15px;
    line-height: 1.8;
}

/* =========================================================
   MAIN BLOG SECTION
   ========================================================= */

.blog-page .blog-section {
    padding: 82px 0 100px !important;
    background: var(--ab-ivory);
}

.blog-page .blog-section > .container {
    max-width: 1080px;
}

.blog-page .text-primary {
    color: #2187ca !important;
}

.blog-page .text-muted {
    color: var(--ab-muted) !important;
}

/* Editorial section headings */

.blog-page .blog-section h2 {
    color: var(--ab-text);
    font-size: 31px;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.035em;
}

.blog-page .blog-section h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 14px;
    background: var(--ab-blue);
}

/* =========================================================
   FEATURED ARTICLES
   ========================================================= */

.blog-page .blog-featured-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 100%;
    border: 1px solid var(--ab-border);
    border-radius: 0;
    background: #f7fafb;
    box-shadow: 0 10px 28px rgba(16, 43, 61, .035);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.blog-page .blog-featured-card:hover {
    transform: translateY(-4px);
    border-color: rgba(74, 169, 237, .42);
    box-shadow: 0 18px 38px rgba(16, 43, 61, .08);
}

.blog-page .blog-card-image {
    position: relative;
    overflow: hidden;
    background: #0c2033;
}

.blog-page .blog-featured-card .blog-card-image {
    height: 190px;
}

.blog-page .blog-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.blog-page .blog-featured-card:hover .blog-card-image img,
.blog-page .blog-card:hover .blog-card-image img {
    transform: scale(1.025);
}

.blog-page .blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
}

.blog-page .blog-card-content .small.text-primary {
    color: #2187ca !important;
    font-size: 8px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.blog-page .blog-card-content h3,
.blog-page .blog-card-body h3 {
    color: var(--ab-text);
    font-size: 20px;
    line-height: 1.28;
    font-weight: 800;
    letter-spacing: -.018em;
}

.blog-page .blog-card-content h3 a,
.blog-page .blog-card-body h3 a {
    color: inherit;
}

.blog-page .blog-card-content h3 a:hover,
.blog-page .blog-card-body h3 a:hover {
    color: #2187ca;
}

.blog-page .blog-card-content p,
.blog-page .blog-card-body p {
    color: var(--ab-muted) !important;
    font-size: 12px;
    line-height: 1.72;
}

.blog-page .blog-card-content .btn {
    margin-top: auto;
}

/* =========================================================
   BLOG — TOPIC FILTER
   ========================================================= */

.blog-filter-section {
    margin-top: 54px;
    padding: 30px 0 42px;

    border-top: 1px solid rgba(54, 92, 119, 0.18);
    border-bottom: 1px solid rgba(54, 92, 119, 0.18);
}

.blog-filter-header {
    margin-bottom: 22px;
}

.blog-filter-eyebrow {
    display: block;

    color: #173d5c;

    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;

    letter-spacing: 0.02em;
}


/* ---------------------------------------------------------
   FILTER LIST
   --------------------------------------------------------- */

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 12px 14px;
}


/* ---------------------------------------------------------
   FILTER BUTTON
   --------------------------------------------------------- */

.blog-filter {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    padding: 0 22px;

    border: 1.5px solid #4b8ff0;
    border-radius: 25px;

    background: rgba(255, 255, 255, 0.28);

    color: #2865c7;

    text-decoration: none;

    font-size: 13px;
    line-height: 1;
    font-weight: 600;

    letter-spacing: 0.045em;
    white-space: nowrap;

    transition:
        color .2s ease,
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}


/* ---------------------------------------------------------
   ICON
   --------------------------------------------------------- */

.blog-filter__icon {
    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 22px;

    color: #183d61;

    font-size: 17px;
    line-height: 1;
}

.blog-filter__icon--all {
    display: none;
}


/* ---------------------------------------------------------
   HOVER
   --------------------------------------------------------- */

.blog-filter:hover {
    color: #123d66;

    background: rgba(255, 255, 255, 0.78);

    border-color: #347edb;

    box-shadow:
        0 5px 16px rgba(24, 71, 111, 0.08);

    transform: translateY(-1px);
}

.blog-filter:hover .blog-filter__icon {
    color: #286fc9;
}


/* ---------------------------------------------------------
   ACTIVE
   --------------------------------------------------------- */

.blog-filter.is-active {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #367ce8 0%,
            #2364cf 100%
        );

    border-color: #367ce8;

    box-shadow:
        0 7px 18px rgba(38, 103, 211, 0.22);
}

.blog-filter.is-active .blog-filter__icon {
    color: #ffffff;
}

.blog-filter.is-active:hover {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #3f86ed 0%,
            #286bd4 100%
        );

    border-color: #3f86ed;
}


/* ---------------------------------------------------------
   ALL BUTTON
   --------------------------------------------------------- */

.blog-filter:first-child {
    padding-left: 27px;
    padding-right: 27px;
}


/* ---------------------------------------------------------
   LATEST ARTICLES SPACING
   --------------------------------------------------------- */

.blog-latest-section {
    padding-top: 42px;
}

.blog-latest-section .blog-section-heading {
    margin-bottom: 30px;
}


/* ---------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------- */

@media (max-width: 992px) {

    .blog-filter-section {
        margin-top: 44px;
        padding-top: 27px;
        padding-bottom: 36px;
    }

    .blog-filters {
        gap: 10px;
    }

    .blog-filter {
        min-height: 45px;

        padding-left: 18px;
        padding-right: 18px;

        font-size: 12px;
    }
}


@media (max-width: 768px) {

    .blog-filter-section {
        margin-top: 36px;
        padding: 24px 0 30px;
    }

    .blog-filter-header {
        margin-bottom: 18px;
    }

    .blog-filter-eyebrow {
        font-size: 12px;
    }

    .blog-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .blog-filter {
        width: 100%;
        min-height: 44px;

        padding: 0 12px;

        font-size: 10px;
        letter-spacing: .025em;
    }

    .blog-filter:first-child {
        padding-left: 12px;
        padding-right: 12px;
    }

    .blog-filter__icon {
        width: 18px;
        height: 18px;
        flex-basis: 18px;

        font-size: 14px;
    }

    .blog-latest-section {
        padding-top: 32px;
    }
}


@media (max-width: 480px) {

    .blog-filters {
        grid-template-columns: 1fr;
    }

    .blog-filter {
        justify-content: flex-start;

        min-height: 46px;

        padding-left: 18px;
        padding-right: 18px;
    }

    .blog-filter:first-child {
        justify-content: center;
    }
}

/* =========================================================
   LATEST ARTICLE CARDS
   ========================================================= */

.blog-page .blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--ab-border);
    border-radius: 0;
    background: #f7fafb;
    box-shadow: 0 8px 24px rgba(16, 43, 61, .025);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.blog-page .blog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(74, 169, 237, .40);
    box-shadow: 0 16px 34px rgba(16, 43, 61, .07);
}

.blog-page .blog-card .blog-card-image {
    height: 175px;
}

.blog-page .blog-card-body {
    flex: 1;
    padding: 22px;
}

.blog-page .blog-category {
    color: #2187ca;
    font-size: 8px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.blog-page .blog-card-body h3 {
    font-size: 18px;
}

.blog-page .blog-card-body .small.text-muted {
    color: #8299aa !important;
    font-size: 9px;
}

/* Read Article buttons */

.blog-page .blog-card .btn,
.blog-page .blog-featured-card .btn {
    min-height: 34px;
    padding: 0 13px;
    border-radius: 0;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

/* =========================================================
   PAGINATION
   ========================================================= */

.blog-page .pagination {
    gap: 5px;
}

.blog-page .pagination .page-link {
    min-width: 34px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(89, 133, 161, .20);
    border-radius: 0 !important;
    color: #2187ca;
    background: #f7fafb;
    font-size: 10px;
}

.blog-page .pagination .page-item.active .page-link {
    border-color: var(--ab-blue);
    background: var(--ab-blue);
    color: #fff;
}

/* =========================================================
   EMPTY STATE
   ========================================================= */

.blog-page .text-center.py-5 {
    padding: 70px 20px !important;
    border: 1px solid var(--ab-border);
    background: rgba(255, 255, 255, .45);
}

.blog-page .text-center.py-5 h3 {
    color: var(--ab-text);
}

/* =========================================================
   ARTICLE DETAIL PAGE
   ========================================================= */

.blog-post-page {
    background: var(--ab-ivory);
    color: var(--ab-text);
}

.blog-post-page .blog-post-header {
    position: relative;
    overflow: hidden;
    padding: 72px 0 68px !important;
    background:
        radial-gradient(circle at 8% 45%, rgba(0, 161, 143, .12), transparent 34%),
        radial-gradient(circle at 86% 35%, rgba(53, 139, 205, .20), transparent 38%),
        linear-gradient(120deg, #06151b 0%, #071a2b 52%, #0b2638 100%);
    color: #eef6fb;
}

.blog-post-page .blog-post-header::after {
    content: "ARTICLE";
    position: absolute;
    right: 5%;
    bottom: -20px;
    color: rgba(88, 157, 201, .07);
    font-size: clamp(90px, 13vw, 175px);
    line-height: .8;
    font-weight: 900;
    letter-spacing: -.07em;
    pointer-events: none;
}

.blog-post-page .blog-post-header .container,
.blog-post-page .blog-post-featured-image .container,
.blog-post-page .blog-post-content .container,
.blog-post-page .blog-post-footer .container,
.blog-post-page .blog-related-posts .container {
    position: relative;
    z-index: 2;
    max-width: 1080px;
}

.blog-post-page .breadcrumb {
    font-size: 9px;
    letter-spacing: .04em;
}

.blog-post-page .breadcrumb a {
    color: var(--ab-blue-light);
}

.blog-post-page .breadcrumb-item.active {
    color: #8299aa;
}

.blog-post-page .breadcrumb-item + .breadcrumb-item::before {
    color: #557286;
}

.blog-post-page .blog-post-header .text-primary {
    color: var(--ab-blue-light) !important;
    font-size: 9px !important;
    letter-spacing: .16em;
}

.blog-post-page .blog-post-header h1 {
    max-width: 880px;
    color: #f4f8fb;
    font-size: clamp(42px, 5.5vw, 70px);
    line-height: .98;
    font-weight: 850;
    letter-spacing: -.055em;
}

.blog-post-page .blog-post-header .lead {
    max-width: 800px;
    color: #b5c8d7 !important;
    font-size: 16px;
    line-height: 1.8;
}

.blog-post-page .blog-post-meta {
    color: #8299aa !important;
    font-size: 9px !important;
    letter-spacing: .04em;
}

/* Featured image */

.blog-post-page .blog-post-featured-image {
    padding: 50px 0 70px !important;
    background: var(--ab-ivory);
}

.blog-post-page .blog-post-featured-image figure {
    overflow: hidden;
    border: 1px solid var(--ab-border);
    box-shadow: 0 20px 50px rgba(16, 43, 61, .10);
}

.blog-post-page .blog-post-featured-image img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

/* Article body */

.blog-post-page .blog-post-content {
    padding-bottom: 90px !important;
    background: var(--ab-ivory);
}

.blog-post-page .blog-article-body {
    color: #304b5d;
    font-size: 16px;
    line-height: 1.9;
}

.blog-post-page .blog-article-body > * + * {
    margin-top: 1.25em;
}

.blog-post-page .blog-article-body h2,
.blog-post-page .blog-article-body h3,
.blog-post-page .blog-article-body h4 {
    color: var(--ab-text);
    font-weight: 850;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.blog-post-page .blog-article-body h2 {
    margin-top: 2.3em;
    font-size: 31px;
}

.blog-post-page .blog-article-body h3 {
    margin-top: 2em;
    font-size: 24px;
}

.blog-post-page .blog-article-body a {
    color: #2187ca;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.blog-post-page .blog-article-body blockquote {
    margin: 2em 0;
    padding: 20px 24px;
    border-left: 3px solid var(--ab-blue);
    background: rgba(74, 169, 237, .055);
    color: #45657a;
}

.blog-post-page .blog-article-body ul,
.blog-post-page .blog-article-body ol {
    padding-left: 1.4rem;
}

.blog-post-page .blog-article-body li + li {
    margin-top: .45rem;
}

.blog-post-page .blog-article-body img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--ab-border);
}

/* Article footer */

.blog-post-page .blog-post-footer {
    border-top: 1px solid rgba(89, 133, 161, .20) !important;
    background: #e5edf2;
}

.blog-post-page .blog-post-footer .btn {
    min-height: 42px;
    padding: 0 17px;
    border-radius: 0;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.blog-post-page .blog-post-footer .btn-outline-secondary {
    border-color: rgba(89, 133, 161, .40);
    color: #49677b;
}

.blog-post-page .blog-post-footer .btn-outline-secondary:hover {
    border-color: var(--ab-blue);
    color: #2187ca;
    background: rgba(74, 169, 237, .06);
}

/* Related */

.blog-post-page .blog-related-posts {
    padding: 78px 0 100px !important;
    background: var(--ab-ivory);
}

.blog-post-page .blog-related-posts h2 {
    color: var(--ab-text);
    font-size: 31px;
    font-weight: 850;
    letter-spacing: -.035em;
}

.blog-post-page .blog-related-posts h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 14px;
    background: var(--ab-blue);
}

/* Reuse cards on article page */

.blog-post-page .blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--ab-border);
    background: #f7fafb;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.blog-post-page .blog-card:hover {
    transform: translateY(-3px);
    border-color: rgba(74, 169, 237, .40);
    box-shadow: 0 16px 34px rgba(16, 43, 61, .07);
}

.blog-post-page .blog-card-image {
    height: 165px;
    overflow: hidden;
    background: #0c2033;
}

.blog-post-page .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.blog-post-page .blog-card:hover .blog-card-image img {
    transform: scale(1.025);
}

.blog-post-page .blog-card-body {
    flex: 1;
    padding: 22px;
}

.blog-post-page .blog-category {
    color: #2187ca;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.blog-post-page .blog-card h3 {
    color: var(--ab-text);
    font-size: 18px;
    line-height: 1.3;
}

.blog-post-page .blog-card p {
    color: var(--ab-muted) !important;
    font-size: 12px;
    line-height: 1.7;
}

.blog-post-page .blog-card .btn {
    min-height: 34px;
    border-radius: 0;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
    .blog-page .blog-hero {
        min-height: 320px;
        padding: 72px 0 66px !important;
    }

    .blog-page .blog-section {
        padding: 65px 0 80px !important;
    }

    .blog-post-page .blog-post-header {
        padding: 60px 0 56px !important;
    }

    .blog-post-page .blog-post-header h1 {
        font-size: clamp(40px, 8vw, 58px);
    }

    .blog-post-page .blog-post-featured-image {
        padding: 38px 0 55px !important;
    }
}

@media (max-width: 600px) {
    .blog-page .blog-hero {
        min-height: 300px;
        padding: 58px 20px 55px !important;
    }

    .blog-page .blog-hero h1 {
        font-size: 45px;
    }

    .blog-page .blog-hero .lead {
        font-size: 13px;
    }

    .blog-page .blog-section {
        padding: 55px 20px 70px !important;
    }

    .blog-page .blog-section h2,
    .blog-post-page .blog-related-posts h2 {
        font-size: 27px;
    }

    .blog-page .blog-featured-card .blog-card-image,
    .blog-page .blog-card .blog-card-image {
        height: 190px;
    }

    .blog-post-page .blog-post-header {
        padding: 50px 20px 48px !important;
    }

    .blog-post-page .blog-post-header h1 {
        font-size: 42px;
    }

    .blog-post-page .blog-post-header .lead {
        font-size: 14px;
    }

    .blog-post-page .blog-post-featured-image,
    .blog-post-page .blog-post-content,
    .blog-post-page .blog-related-posts {
        padding-left: 20px;
        padding-right: 20px;
    }

    .blog-post-page .blog-article-body {
        font-size: 15px;
        line-height: 1.85;
    }

    .blog-post-page .blog-article-body h2 {
        font-size: 27px;
    }

    .blog-post-page .blog-article-body h3 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-page *,
    .blog-post-page * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* =========================================================
   BLOG ARTICLE - FINAL VISUAL REFINEMENT
   Ajay Bhatnagar Executive Technology Theme
   ========================================================= */


/* ---------------------------------------------------------
   ARTICLE PAGE
   --------------------------------------------------------- */

.blog-post-page {
    background: #ffffff;
    color: #102a43;
}


/* ---------------------------------------------------------
   ARTICLE HERO
   --------------------------------------------------------- */

.blog-post-header {
    position: relative;

    padding: 0 0 58px;

    background:
        linear-gradient(
            135deg,
            #071b2a 0%,
            #0b2638 55%,
            #123c59 100%
        );

    color: #ffffff;

    overflow: hidden;
}


/*
 * Keep the decorative background subtle.
 * Do NOT show a giant "ARTICLE" watermark.
 */
.blog-post-header::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -300px;
    top: -260px;

    border-radius: 50%;

    border: 1px solid rgba(73, 168, 255, 0.08);

    pointer-events: none;
}


/* ---------------------------------------------------------
   BREADCRUMB
   --------------------------------------------------------- */

.blog-breadcrumb {
    position: relative;

    z-index: 5;

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    min-height: 48px;

    margin: 0 0 42px;

    padding: 0;

    border-top: 1px solid rgba(255,255,255,0.07);

    border-bottom: 1px solid rgba(255,255,255,0.10);

    color: rgba(255,255,255,0.42);

    font-size: 10px;

    line-height: 1.4;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


/*
 * Override Bootstrap/browser link styling.
 */
.blog-post-page .blog-breadcrumb a.blog-breadcrumb__link {
    color: rgba(255,255,255,0.62) !important;

    text-decoration: none !important;
}


.blog-post-page .blog-breadcrumb a.blog-breadcrumb__link:hover {
    color: #49a8ff !important;
}


.blog-breadcrumb__separator {
    color: rgba(255,255,255,0.22);
}


.blog-breadcrumb__current {
    color: rgba(255,255,255,0.36);

    max-width: 460px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


/* ---------------------------------------------------------
   ARTICLE HEADER CONTENT
   --------------------------------------------------------- */

.blog-post-header-content {
    position: relative;

    z-index: 3;

    max-width: 980px;

    margin: 0 auto;
}


/* ---------------------------------------------------------
   CATEGORY
   --------------------------------------------------------- */

.blog-post-category {
    margin-bottom: 13px;
}


.blog-post-page .blog-post-category a {
    color: #49a8ff !important;

    text-decoration: none !important;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.14em;
}


.blog-post-page .blog-post-category a:hover {
    color: #79c0ff !important;
}


/* ---------------------------------------------------------
   TITLE
   --------------------------------------------------------- */

.blog-post-title {
    max-width: 900px;

    margin: 0 0 20px;

    color: #ffffff !important;

    font-size: clamp(2.5rem, 4.5vw, 4rem);

    line-height: 1.04;

    font-weight: 700;

    letter-spacing: -0.035em;
}


/* ---------------------------------------------------------
   EXCERPT
   --------------------------------------------------------- */

.blog-post-excerpt {
    max-width: 820px;

    margin: 0 0 20px;

    color: rgba(255,255,255,0.72) !important;

    font-size: 16px;

    line-height: 1.65;
}


/* ---------------------------------------------------------
   META
   --------------------------------------------------------- */

.blog-post-meta {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    color: rgba(255,255,255,0.46) !important;

    font-size: 10px;
}


.blog-post-meta__separator {
    color: rgba(255,255,255,0.22);
}


/* ---------------------------------------------------------
   REMOVE OLD ARTICLE WATERMARK
   --------------------------------------------------------- */

/*
 * The screenshot shows a large ARTICLE watermark
 * behind the hero. It is unnecessary on article pages.
 */

.blog-post-header .section-watermark,
.blog-post-header .blog-watermark,
.blog-post-header::before {
    display: none !important;
}


/* ---------------------------------------------------------
   FEATURED IMAGE
   --------------------------------------------------------- */

.blog-post-featured-image {
    position: relative;

    z-index: 5;

    margin-top: -28px;

    padding-bottom: 55px;
}


.blog-post-featured-image__figure {
    margin: 0;

    overflow: hidden;

    border-radius: 12px;

    background: #eaf1f5;

    box-shadow:
        0 20px 45px rgba(7,27,42,0.16);
}


.blog-post-featured-image__img {
    display: block;

    width: 100%;

    height: auto;

    max-height: 600px;

    object-fit: cover;
}


/* ---------------------------------------------------------
   ARTICLE CONTENT
   --------------------------------------------------------- */

.blog-post-content {
    padding: 58px 0 72px;

    background: #f2f7fa;
}


.blog-post-content__wrapper {
    max-width: 780px;

    margin: 0 auto;

    padding: 0 20px;
}


.blog-article-body {
    color: #334e68;

    font-size: 17px;

    line-height: 1.9;
}


/* Paragraphs */

.blog-article-body p {
    margin-bottom: 24px;
}


/* Headings */

.blog-article-body h2 {
    margin-top: 48px;

    margin-bottom: 18px;

    color: #102a43;

    font-size: 29px;

    line-height: 1.25;

    font-weight: 700;
}


.blog-article-body h3 {
    margin-top: 36px;

    margin-bottom: 15px;

    color: #102a43;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 700;
}


/* Links */

.blog-article-body a {
    color: #1677d2;

    text-decoration: underline;

    text-underline-offset: 3px;
}


.blog-article-body a:hover {
    color: #0b5fa5;
}


/* Lists */

.blog-article-body ul,
.blog-article-body ol {
    margin-bottom: 26px;

    padding-left: 28px;
}


.blog-article-body li {
    margin-bottom: 9px;
}


/* Blockquotes */

.blog-article-body blockquote {
    margin: 34px 0;

    padding: 22px 26px;

    border-left: 4px solid #49a8ff;

    background: #e8f1f6;

    color: #486581;

    font-size: 17px;

    font-style: italic;
}


/* Images */

.blog-article-body img {
    display: block;

    max-width: 100%;

    height: auto;

    margin: 32px auto;

    border-radius: 10px;
}


/* Tables */

.blog-article-body table {
    width: 100%;

    margin: 30px 0;

    border-collapse: collapse;

    font-size: 14px;
}


.blog-article-body th,
.blog-article-body td {
    padding: 12px 14px;

    border: 1px solid #d9e2ec;

    text-align: left;
}


.blog-article-body th {
    background: #e6eff4;

    color: #102a43;

    font-weight: 700;
}


/* ---------------------------------------------------------
   ARTICLE FOOTER
   --------------------------------------------------------- */

.blog-post-footer {
    padding: 44px 0;

    border-top: 1px solid #d5e1e8;

    background: #e7f0f5;
}


.blog-post-footer__inner {
    max-width: 780px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex-wrap: wrap;

    gap: 15px;
}


.blog-post-footer__back,
.blog-post-footer__category {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    min-height: 40px;

    padding: 8px 15px;

    border: 1px solid #7dbce9;

    color: #1677d2 !important;

    background: transparent;

    text-decoration: none !important;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: 0.03em;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}


.blog-post-footer__back:hover,
.blog-post-footer__category:hover {
    background: #1677d2;

    border-color: #1677d2;

    color: #ffffff !important;
}


/* ---------------------------------------------------------
   RELATED ARTICLES
   --------------------------------------------------------- */

.blog-related-posts {
    padding: 70px 0 85px;

    background: #ffffff;
}


.blog-related-posts__header {
    margin-bottom: 30px;
}


.blog-section-label {
    display: block;

    margin-bottom: 6px;

    color: #1677d2;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.13em;
}


.blog-section-title {
    margin: 0;

    color: #102a43;

    font-size: 30px;

    line-height: 1.2;

    font-weight: 700;
}


/* ---------------------------------------------------------
   ARTICLES WITHOUT FEATURED IMAGE
   --------------------------------------------------------- */

/*
 * When an article has no featured image, the hero should
 * flow directly into the reading area.
 */

.blog-post-header + .blog-post-content {
    margin-top: 0;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .blog-post-header {
        padding-bottom: 48px;
    }


    .blog-breadcrumb {
        margin-bottom: 34px;

        min-height: 44px;

        font-size: 9px;
    }


    .blog-breadcrumb__current {
        max-width: 210px;
    }


    .blog-post-title {
        font-size: clamp(2.15rem, 9vw, 3rem);

        line-height: 1.08;
    }


    .blog-post-excerpt {
        font-size: 15px;

        line-height: 1.65;
    }


    .blog-post-content {
        padding: 45px 0 60px;
    }


    .blog-post-content__wrapper {
        padding: 0 18px;
    }


    .blog-article-body {
        font-size: 16px;

        line-height: 1.8;
    }


    .blog-article-body h2 {
        font-size: 25px;
    }


    .blog-article-body h3 {
        font-size: 21px;
    }


    .blog-post-footer__inner {
        flex-direction: column;

        align-items: stretch;
    }


    .blog-post-footer__back,
    .blog-post-footer__category {
        justify-content: center;

        width: 100%;
    }

}