/* .blog-index-page {
    background: #f7f9fc;
} */

html.blog-detail-page,
body.blog-detail-page {
    --blog-line: #e9eaf0;
    --blog-ink: #17233f;
    --blog-muted: #697080;
    --blog-accent: #1769ff;
    overflow-x: clip !important;
}

.blog-index-hero {
    padding: 10px 0 85px;
    background: radial-gradient(ellipse at 78% 18%, rgba(23, 105, 255, .16), transparent 36%), #101a35;
    color: #fff;
}

.blog-index-hero .eyebrow,
.blog-detail-hero .eyebrow {
    color: #80b4ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.blog-index-hero h1,
.blog-detail-hero h1 {
    max-width: 900px;
    margin: 14px auto 18px;
    color: #fff;
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.blog-index-hero p {
    max-width: 630px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .76);
    font-size: 18px;
    line-height: 1.7;
}

.blog-list-section {
    padding: 5px 0 105px;
}

.blog-list-heading {
    margin-bottom: 10px;
    text-align: center;
}

.blog-list-heading h2 {
    margin: 0;
    color: #17233f;
    font-size: 30px;
    font-weight: 700;
}

.blog-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e8edf5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(22, 42, 83, .05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(22, 42, 83, .1);
}

.blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eaf0fa;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #1769ff;
    font-size: 40px;
}

.blog-card-content {
    display: flex;
    min-height: 260px;
    flex-direction: column;
    padding: 25px;
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 14px;
    color: #73809a;
    font-size: 13px;
}

.blog-card-category {
    color: #1769ff;
    font-weight: 700;
}

.blog-card-title {
    margin: 15px 0 10px;
    color: #17233f;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.blog-card-title a {
    color: inherit;
}

.blog-card-title a:hover {
    color: #1769ff;
}

.blog-card-description {
    margin: 0 0 20px;
    color: #68758d;
    font-size: 15px;
    line-height: 1.7;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: #1769ff;
    font-size: 14px;
    font-weight: 700;
}

.blog-page-message {
    padding: 35px;
    border: 1px solid #e8edf5;
    border-radius: 14px;
    background: #fff;
    color: #68758d;
    text-align: center;
}

.blog-detail-hero {
    padding: 125px 0 45px;
    background: radial-gradient(ellipse at 85% 15%, rgba(23, 105, 255, .18), transparent 34%), #101a35;
    color: #fff;
}

.blog-detail-hero h1 {
    max-width: 760px;
    margin: 12px 0;
    font-size: clamp(34px, 4vw, 50px);
}

.blog-detail-hero .blog-detail-description {
    max-width: 810px;
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.75;
}

.blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 25px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}

.blog-journal-hero {
    padding: 150px 0 30px;
    background: radial-gradient(ellipse at 78% 18%, rgba(23, 105, 255, .14), transparent 36%), #101a35;
    color: #fff;
    text-align: center;
}

.blog-journal-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: clamp(44px, 5vw, 68px);
    font-weight: 600;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: start;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--black);
    font-size: 14px;
}

.blog-breadcrumb li + li::before {
    margin-right: 8px;
    color: rgba(255, 255, 255, .45);
    content: "/";
}

.blog-breadcrumb a {
    color: var(--base-color);
}

.blog-breadcrumb a:hover,
.blog-breadcrumb [aria-current="page"] {
    color: var(--base-color);
}

.blog-article-heading {
    margin-bottom: 24px;
}

.blog-article-kicker {
    margin: 0;
    color: var(--blog-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.5;
    text-transform: uppercase;
}

.blog-article-kicker span {
    padding: 0 5px;
    color: #aab4c7;
}

.blog-article-title {
    margin: 14px 0 12px;
    color: var(--blog-ink);
    font-size: clamp(34px, 3.2vw, 45px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.blog-article-deck {
    max-width: 710px;
    margin: 0;
    color: var(--blog-muted);
    font-size: 16px;
    line-height: 1.75;
}

.blog-article-byline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 14px;
    color: var(--blog-muted);
    font-size: 12px;
    line-height: 1.6;
}

.blog-article-byline span::after {
    margin-left: 18px;
    color: #c8ced8;
    content: "/";
}

.blog-detail-cover {
    float: right;
    width: min(63.2%, 500px);
    margin: 0 0 30px auto;
    border-radius: 7px;
}

.blog-detail-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 7px;
}

.blog-detail-cover figcaption {
    margin-top: 8px;
    color: var(--blog-muted);
    font-size: 12px;
    line-height: 1.5;
}

.blog-article-intro {
    clear: both;
    margin: 0 0 23px;
    padding: 21px 23px;
    border-left: 3px solid var(--blog-accent);
    border-radius: 0 7px 7px 0;
    background: #f2f6ff;
    color: #39465e;
    font-size: 15px;
    line-height: 1.85;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    align-items: start;
    gap: clamp(32px, 4.7vw, 68px);
    max-width: 1190px;
    margin: 0 auto;
    padding-top: 44px;
    padding-bottom: 82px;
}


.blog-article-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 110px;
    align-self: start;
}

.blog-toc {
    margin-bottom: 25px;
    padding: 0 0 0 15px;
    border-left: 2px solid var(--blog-line);
}

.blog-toc__title {
    display: block;
    margin-bottom: 11px;
    color: var(--blog-ink);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.blog-toc nav {
    display: grid;
    gap: 5px;
}

.blog-toc nav a {
    position: relative;
    display: block;
    padding: 5px 0;
    color: var(--blog-muted);
    font-size: 11px;
    line-height: 1.5;
    transition: color .2s ease;
}

.blog-toc nav a.blog-toc__subheading {
    padding-left: 10px;
}

.blog-detail-page .blog-toc nav a:hover,
.blog-detail-page .blog-toc nav a.is-active {
    color: var(--blog-accent);
}

.blog-detail-page .blog-toc nav a.is-active {
    font-weight: 700;
}

.blog-services-nav {
    margin-bottom: 20px;
    border: 1px solid var(--blog-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(22, 42, 83, .04);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.blog-services-nav::before {
    display: none;
}

.blog-services-nav h3 {
    margin: 0;
    padding: 21px 22px 16px;
    border-bottom: 1px solid var(--blog-line);
    color: var(--blog-ink);
    font-size: 17px;
    line-height: 1.2;
}

.blog-services-nav ul {
    margin: 0;
    padding: 8px 22px 17px;
}

.blog-services-nav ul li {
    margin: 0;
    padding: 12px 0;
    border-bottom: 1px solid var(--blog-line);
    line-height: 18px;
}

.blog-services-nav ul li:last-child {
    margin-bottom: 0;
    padding: 12px 0;
    border-bottom: 0;
}

.blog-services-nav ul li a {
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 31px;
    font-size: 12px;
    line-height: 1.5;
}

.blog-services-nav ul li a::before {
    width: 18px;
    height: 18px;
}

.blog-services-nav ul li:hover a::before {
    transform: rotate(45deg);
}

.blog-copy-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--blog-ink);
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
}

.blog-copy-link i {
    color: var(--blog-accent);
}

.blog-copy-status {
    min-height: 17px;
    margin: 0;
    color: var(--blog-muted);
    font-size: 10px;
}

.blog-detail-footer-layout {
    display: block;
    width: 100%;
    max-width: none;
    padding-top: 0;
    padding-bottom: 0;
}

.blog-main-column {
    min-width: 0;
}

.blog-article-content {
    min-width: 0;
    color: #39465e;
    font-size: 14px;
    line-height: 1.85;
}

.blog-article-content > :first-child {
    margin-top: 0;
}

.blog-article-content h2,
.blog-article-content h3 {
    scroll-margin-top: 110px;
    color: #17233f;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.3;
}

.blog-article-content h2 {
    margin: 30px 0 13px;
    font-size: 24px;
}

.blog-article-content h3 {
    margin: 27px 0 12px;
    font-size: 19px;
}

.blog-article-content p,
.blog-article-content ul,
.blog-article-content ol,
.blog-article-content blockquote {
    margin-bottom: 17px;
}

.blog-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.blog-article-content a {
    color: var(--blog-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-article-end {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding: 22px;
    border: 1px solid var(--blog-line);
    border-radius: 8px;
    background: #f7f9fc;
}

.blog-article-end__icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 50%;
    background: #eaf1ff;
    color: var(--blog-accent);
    font-size: 18px;
}

.blog-article-end p {
    margin: 0 0 6px;
    color: var(--blog-ink);
    font-size: 15px;
    font-weight: 600;
}

.blog-article-end a,
.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blog-accent);
    font-size: 12px;
    font-weight: 700;
}

.blog-author-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 27px;
    padding: 24px;
    border: 1px solid var(--blog-line);
    border-radius: 8px;
    background: #fff;
}

.blog-author-avatar {
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    overflow: hidden;
    place-items: center;
    border-radius: 8px;
    background: #eaf1ff;
    color: #1769ff;
    font-size: 25px;
    font-weight: 700;
}

.blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-author-label {
    margin: 0 0 4px;
    color: var(--blog-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.blog-author-info h3 {
    margin: 0;
    color: var(--blog-ink);
    font-size: 17px;
    font-weight: 600;
}

.blog-author-designation {
    margin: 4px 0 0;
    color: var(--blog-muted);
    font-size: 12px;
}

.blog-author-bio {
    margin-top: 9px;
    color: var(--blog-muted);
    font-size: 13px;
    line-height: 1.7;
}

.blog-back-link {
    margin-top: 25px;
}

.blog-detail-related-wrap {
    padding: 0 !important;
}

.blog-detail-bottom {
    padding: 0;
}

.blog-related-section {
    width: calc(100% + 30px);
    margin: 0 0 0 -15px;
    padding: 73px 0 92px;
    background: #f7f9fc;
}

.blog-related-inner {
    max-width: 1300px;
}

.blog-related-section .blog-list-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 30px;
}

.blog-related-eyebrow {
    margin: 0;
    color: var(--blog-accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.blog-related-section .blog-list-heading h2 {
    margin: 12px 0 0;
    color: var(--blog-ink);
    font-size: 40px;
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.blog-related-all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    color: var(--blog-accent);
    font-size: 14px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .blog-index-hero,
    .blog-detail-hero {
        padding: 130px 0 55px;
    }

    .blog-index-hero p,
    .blog-detail-description {
        font-size: 16px;
    }

    .blog-list-section {
        padding: 50px 0 70px;
    }

    .blog-detail-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding-top: 38px;
        padding-bottom: 55px;
    }

    .blog-journal-hero {
        padding: 132px 0 28px;
    }

    .blog-journal-hero h1 {
        font-size: clamp(40px, 10vw, 54px);
    }

    .blog-article-title {
        font-size: clamp(32px, 8vw, 40px);
    }

    .blog-detail-cover {
        float: none;
        width: 100%;
        margin: 24px 0;
    }

    .blog-article-content {
        font-size: 15px;
    }

    .blog-article-sidebar {
        position: static;
    }

    .blog-article-content h2 {
        font-size: 23px;
    }

    .blog-article-content h3 {
        font-size: 18px;
    }

    .blog-article-end {
        align-items: flex-start;
        padding: 18px;
    }

    .blog-author-card {
        align-items: flex-start;
        padding: 20px;
    }

    .blog-related-section {
        padding: 52px 0 60px;
    }

    .blog-related-section .blog-list-heading h2 {
        font-size: 34px;
    }
}

@media (max-width: 480px) {
    .blog-card-content {
        min-height: 0;
        padding: 21px;
    }

    .blog-author-card {
        flex-direction: column;
    }

    .blog-related-section .blog-list-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}

.blog-detail-layout .blog-main-column {
    min-width: 0;
}

.categories-filter {
    margin-bottom: 20px;
}

.categories-filter .categories {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.categories-filter .categories a {
    color: var(--black);
    font-size: 14px;
    padding: 5px 15px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .04);
}

.categories-filter .categories a:hover {
    color: var(--white);
    background-color: var(--base-color);
    opacity: 0.5;
}

.categories-filter .categories a.active {
    color: var(--white);
    background-color: var(--base-color);
}
