html {
    scroll-behavior: smooth;
}

/* Single Blog Post Page – Figma node 24:129 */

.blog-single-page {
    background-color: var(--white);
}

/* ── Hero (Figma 24:172) ── */
.blog-single-hero {
    position: relative;
    overflow: hidden;
    margin-top: 75px;
    background-color: var(--white);
}

.blog-single-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.blog-single-hero__curve {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 528px;
    overflow: hidden;
}

.blog-single-hero__curve img {
    position: absolute;
    width: 100.05%;
    height: 231.82%;
    max-width: none;
    top: -65.91%;
    left: -0.02%;
    object-fit: cover;
}

.blog-single-hero__ellipse {
    position: absolute;
    width: 290px;
    height: 290px;
}

.blog-single-hero__ellipse--center {
    left: 28%;
    bottom: 0;
}

.blog-single-hero__ellipse--right {
    left: 38%;
    top: -145px;
}

.blog-single-hero__ellipse img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-single-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1860px;
    margin: 0 auto;
    padding: 30px;
}

.blog-single-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 468px;
    align-items: stretch;
}

.blog-single-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 40px 0;
}

.blog-single-hero__title {
    font-size: 46px;
    font-weight: 600;
    line-height: 56px;
    letter-spacing: -0.5px;
    color: #151515;
    margin: 0;
    max-width: 537px;
    margin-bottom: 20px;
}

.blog-single-hero__meta-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.blog-single-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.blog-single-hero__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.blog-single-hero__author span {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #3b3b3b;
}

.blog-single-hero__sep {
    font-size: 16px;
    line-height: 34px;
    color: #000;
}

.blog-single-hero__date,
.blog-single-hero__read-time {
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    color: #3b3b3b !important;
}

.blog-single-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-single-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

.blog-single-btn--primary {
    background-color: #093181;
    color: #fff;
    border: none;
}

.blog-single-btn--primary:hover {
    background-color: #072a6a;
    color: #fff;
}

.blog-single-btn--secondary {
    background-color: #fff;
    color: #093181;
    border: 1px solid #093181;
}

.blog-single-btn--secondary:hover {
    background-color: #f6f9ff;
    color: #093181;
}

.blog-single-hero__media {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    min-height: 468px;
}

.blog-single-hero__media img {
    width: 100%;
    height: 100%;
    min-height: 468px;
    /* object-fit: cover; */
    display: block;
}

/* ── Body section (Figma 24:200) ── */
.blog-single-body {
    position: relative;
    padding: 80px 0;
    overflow: visible !important;
}

.blog-single-body__container {
    position: relative;
    overflow: visible !important;
}

.blog-single-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    overflow: visible !important;
}

/* Left sidebar – 387px (Figma 24:203) */
.blog-single-sidebar {
    width: 30%;
    flex-shrink: 0;
    position: sticky;
    top: 95px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.blog-single-sidebar-stack,
.blog-single-sidebar-stack--sticky {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* TOC box (Figma 24:230) */
.blog-single-toc {
    border: 1px solid #d0d7e0;
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    background: #fff;
}

.blog-single-toc__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: #093181 !important;
    margin: 0;
    padding: 10px;
}

.blog-single-ai {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-single-ai__label {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #151515 !important;
    margin: 0;
}

.blog-single-ai__icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-single-ai__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 8px;
    text-decoration: none;
    box-sizing: border-box;
}

.blog-single-ai__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.blog-single-ai__icon--chatgpt,
.blog-single-ai__icon--grok {
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid #000;
}

.blog-single-ai__icon--perplexity {
    background: rgba(32, 128, 141, 0.15);
    border: 1px solid #20808d;
}

.blog-single-ai__icon--claude {
    background: rgba(217, 119, 87, 0.2);
    border: 1px solid #d97757;
}

.blog-single-ai__icon--gemini,
.blog-single-ai__icon--google-ai {
    background: #e5f1fe;
    border: 1px solid #007aff;
}

.blog-single-sidebar-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.blog-single-toc__list #ez-toc-container {
    width: 100%;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.blog-single-toc__list .ez-toc-title-container,
.blog-single-toc__list .ez-toc-title,
.blog-single-toc__list .ez-toc-btn {
    display: none !important;
}

.blog-single-toc__list nav {
    margin: 0;
}

/* Table of Contents Container (Max Height 478px from Figma Frame 2147239657) */
.blog-single-toc {
    max-height: 478px;
    display: flex;
    flex-direction: column;
}

.blog-single-toc__list {
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.blog-single-toc__list::-webkit-scrollbar {
    width: 4px;
}

.blog-single-toc__list::-webkit-scrollbar-track {
    background: transparent;
}

.blog-single-toc__list::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.blog-single-toc__list nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-single-toc__list nav > ul > li {
    border-bottom: 1px solid #d0d7e0;
    margin: 0;
    position: relative;
}

.blog-single-toc__list nav > ul > li:last-child {
    border-bottom: none;
}

.blog-single-toc__list nav > ul > li > a {
    display: block;
    position: relative;
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #475569 !important;
    text-decoration: none;
}

.blog-single-toc__list nav > ul > li > a:hover {
    background: rgba(18, 197, 113, 0.05);
}

.blog-single-toc__list nav > ul > li.active > a,
.blog-single-toc__list nav > ul > li.ez-toc-active > a,
.blog-single-toc__list nav > ul > li > a.active {
    background: rgba(18, 197, 113, 0.05);
}

.blog-single-toc__list nav > ul > li > a.active::after,
.blog-single-toc__list nav > ul > li.active > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #12c571;
    border-radius: 2px 2px 0 0;
}

/* Static TOC from Figma (Frame 2147239657) */
.blog-single-toc__static {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-single-toc__static li {
    border-bottom: 1px solid #d0d7e0;
    position: relative;
}

.blog-single-toc__static li:last-child {
    border-bottom: none;
}

.blog-single-toc__static li a {
    display: block;
    position: relative;
    padding: 10px;
    font-family: "Graphik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    color: #475569;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.blog-single-toc__static li a:hover {
    background: rgba(18, 197, 113, 0.08);
    color: #0b2545;
}

.blog-single-toc__static > li.active > a,
.blog-single-toc__static > li > a.active {
    background: rgba(18, 197, 113, 0.08);
    color: #0b2545;
}

.blog-single-toc__static > li.active > a::after,
.blog-single-toc__static > li > a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #12c571;
    border-radius: 2px 2px 0 0;
}

/* Sublist automatic open/close refinement */
.blog-single-toc__static li > ul,
.custom-toc__sublist {
    display: none;
    margin: 0 !important;
    padding-top: 4px !important;
    padding-bottom: 6px !important;
    padding-left: 20px !important;
    list-style-type: disc !important;
}

.blog-single-toc__static li.is-expanded > ul,
.custom-toc__item.is-expanded > .custom-toc__sublist {
    display: block !important;
}

.blog-single-toc__static li.is-collapsed > ul,
.custom-toc__item.is-collapsed > .custom-toc__sublist {
    display: none !important;
}

.blog-single-toc__static ul li,
.custom-toc__sublist li {
    border-bottom: none !important;
    margin: 0 !important;
    background: transparent !important;
}

.blog-single-toc__static ul li::after,
.custom-toc__sublist li::after {
    display: none !important;
}

.blog-single-toc__static ul li a,
.custom-toc__sublist li a {
    padding: 5px 8px !important;
    font-family: "Graphik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: 0 !important;
    color: #475569 !important;
    background: transparent !important;
}

.blog-single-toc__static ul li a.active,
.custom-toc__sublist li a.active {
    color: #12c571 !important;
    font-weight: 600 !important;
}

/* Google CTA (Figma 24:251) */
.blog-single-google {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 1px solid transparent;
    border-radius: 18px;
    background:
        linear-gradient(#fff, #fff) padding-box,
        conic-gradient(from 90deg at 49.84% 50%, #fecc07 0deg, #fd493f 90deg, #3285ff 180deg, #11bb5f 270.13deg, #fecc07 360deg) border-box;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.blog-single-google:hover {
    text-decoration: none;
    color: inherit;
    opacity: 0.9;
}

.blog-single-google__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.blog-single-google__text {
    flex: 1;
    min-width: 0;
}

.blog-single-google__line {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #151515 !important;
}

.blog-single-google__brand-wrap {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    vertical-align: middle;
    margin: 0 4px;
}

.blog-single-google__brand-wrap img:first-child {
    width: 24px;
    height: 24px;
}

.blog-single-google__brand-wrap img:last-child {
    height: 18px;
    width: auto;
}

/* Main content – 983px (Figma 24:271) */
.blog-single-main {
    width: 65%;
    max-width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.blog-single-main__article {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-single-summary {
    background: #f6f9ff;
    border: 1px solid #d0d7e0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-single-summary__label {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #3b3b3b;
    margin: 0;
}

.blog-single-summary__text,
.blog-single-summary__text p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

/* Article typography (Figma 24:273) */
.blog-single-article {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-single-page .blog-single-article p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #475569 !important;
    margin: 0;
}

.toc-heading,
.blog-single-page .blog-single-article h2 {
    font-size: 36px;
    font-weight: 500;
    line-height: 46px;
    letter-spacing: -0.3px;
    color: #151515 !important;
    margin: 0;
    scroll-margin-top: 80px;
}

.blog-single-page .blog-single-article h3 {
    font-size: 36px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.2px;
    color: #151515 !important;
    margin: 0;
    scroll-margin-top: 80px;
}

.blog-single-page .blog-single-article h4 {
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;
    color: #151515 !important;
    margin: 0;
    scroll-margin-top: 80px;
}

.blog-single-page .blog-single-article ul,
.blog-single-page .blog-single-article ol {
    font-size: 18px;
    line-height: 1.5;
    color: #475569;
    margin: 0;
    padding-left: 27px;
}

.blog-single-page .blog-single-article li {
    margin-bottom: 0;
}

.blog-single-page .blog-single-article img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.blog-single-page .blog-single-article blockquote {
    position: relative;
    padding: 20px 20px 20px 25px;
    margin: 0;
}

.blog-single-page .blog-single-article blockquote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: #12c571;
    border-radius: 0 5px 5px 0;
}

.blog-single-page .blog-single-article .expert-tip {
    position: relative;
    padding: 20px 20px 20px 25px;
    margin: 0;
}

.blog-single-page .blog-single-article .expert-tip::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: #12c571;
    border-radius: 0 5px 5px 0;
}

.blog-single-page .blog-single-article .expert-tip p {
    margin: 0 0 10px;
}

.blog-single-page .blog-single-article .expert-tip p:last-child {
    margin-bottom: 0;
}

.blog-single-page .blog-single-article .expert-tip strong {
    font-weight: 500;
    color: #475569;
}

.blog-single-article__figure {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
}

.blog-single-article__figure img {
    width: 100%;
    min-height: 300px;
    object-fit: cover;
}

.blog-single-article__figure--large img {
    min-height: 420px;
}

.blog-single-page .blog-single-article #ez-toc-container {
    display: none !important;
}

/* FAQ (Figma 24:360) */
.blog-single-faq {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    width: 100%;
}

.blog-single-faq__title {
    font-size: clamp(26px , 2vw , 36px);
    font-weight: 500;
    line-height: 46px;
    letter-spacing: -0.3px;
    color: #151515;
    text-align: center;
    margin: 0;
    width: 100%;
}

.blog-single-faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.blog-single-faq__item {
    background: #fff;
    border: 1px solid #d0d7e0;
    border-radius: 16px;
    overflow: hidden;
}

.blog-single-faq__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 24px 16px 24px 24px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
}

.blog-single-faq__item.is-open .blog-single-faq__trigger {
    align-items: flex-start;
    padding-bottom: 12px;
}

.blog-single-faq__trigger--static {
    cursor: default;
}

.blog-single-faq__question {
    font-size: 22px;
    font-weight: 500;
    line-height: 32px;
    color: #151515;
    flex: 1;
}

.blog-single-faq__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.blog-single-faq__chevron svg,
.blog-single-faq__chevron-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.35s ease;
    transform: rotate(0deg);
}

.blog-single-faq__item.is-open .blog-single-faq__chevron-icon {
    transform: rotate(180deg);
}

.blog-single-faq__collapse.collapsing {
    transition: height 0.35s ease;
}

.blog-single-faq__collapse {
    padding: 0;
}

.blog-single-faq__answer {
    padding: 0 24px 24px;
}

.blog-single-faq__answer,
.blog-single-faq__answer p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

/* Author card (Figma 531:6676) */
.blog-single-author {
    position: relative;
    background: #f6f9ff;
    border: 1px solid #e4eaf3;
    border-radius: 16px;
    overflow: hidden;
    min-height: 176px;
    box-shadow: 0 8px 24px rgba(9, 49, 129, 0.04);
}

.blog-single-author__shape {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
     width: 26%;
    height: 100%;
    background: #0750d9;
    clip-path: polygon(0 0, 100% 0, 55% 100%, 0 100%);
    border-radius: 10px 0 0 10px;
}

.blog-single-author__dots {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 64px;
    height: 48px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.72) 1.6px, transparent 1.8px);
    background-size: 12px 12px;
    background-repeat: repeat;
}

.blog-single-author__triangles {
    position: absolute;
    right: -67px;
    top: 0;
    height: 100%;
    width: 150px;
    object-fit: cover;
    object-position: right center;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}

.blog-single-author__inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 24px;
    align-items: center;
    min-height: 242px;
    padding: 20px 32px 20px 72px;
}

.blog-single-author__avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: 128px;
    height: 128px;
    padding: 6px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 87, 210, 0.12);
}

.blog-single-author__avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.blog-single-author__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding-right: 80px;
}

.blog-single-author__heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-single-author__name {
    font-size: 26px !important;
    font-weight: 600;
    line-height: 32px;
    letter-spacing: -0.2px;
    color: #093181 !important;
    margin: 0;
}

.blog-single-author__bio {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #475569 !important;
    margin: 0;
    max-width: 620px;
}

.blog-single-author__linkedin {
    display: inline-flex;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
}

.blog-single-author__linkedin img {
    width: 28px;
    height: 28px;
}

/* Sticky social rail (Figma 24:487) */
.blog-single-social {
    position: absolute;
    top: 80px;
    right: max(16px, calc((100vw - 1410px) / 2 - 40px));
    height: calc(100% - 80px);
    pointer-events: none;
    z-index: 5;
}

.blog-single-social__inner {
    position: sticky;
    top: 95px;
    display: flex;
    flex-direction: column;
    gap: 17px;
    align-items: center;
    margin-left: 40px;
    padding-left: 40px;
    pointer-events: auto;
}

.blog-single-social a {
    display: inline-flex;
    width: 34px;
    height: 34px;
    text-decoration: none;
}

.blog-single-social img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

/* Related blogs (Figma 24:506) */
.blog-single-related {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.blog-single-related__title {
    font-size: 36px;
    font-weight: 500;
    line-height: 46px;
    letter-spacing: -0.3px;
    color: #1f1f1f;
    text-align: center;
    margin: 0;
    width: 100%;
}

.blog-single-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    width: 100%;
}

.blog-single-related-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #d0d7e0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.blog-single-related-card:hover {
    color: inherit;
    text-decoration: none;
}

.blog-single-related-card__image {
    height: 252px;
    overflow: hidden;
}

.blog-single-related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-single-related-card__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    flex: 1;
}

.blog-single-related-card__title {
    font-size: 26px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.2px;
    color: #151515;
    margin: 0;
}

.blog-single-related-card__excerpt {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    color: #475569;
    margin: 0;
}

/* Override legacy blog.css on single post */
body.single .blog-single-page .blog_header,
body.single .blog-single-page .top_header {
    display: none;
}

/* ── Responsive ── */
@media screen and (max-width: 1499.98px) {
    .blog-single-social {
        display: none;
    }
}

@media screen and (max-width: 1299.98px) {
    .blog-single-layout {
        gap: 20px;
    }
}

@media screen and (max-width: 1199.98px) {
    .blog-single-layout {
        flex-direction: column;
    }

    .blog-single-sidebar,
    .blog-single-main {
        width: 100%;
    }

    .blog-single-sidebar,
    .blog-single-sidebar__inner,
    .blog-single-sidebar__sticky,
    .blog-single-sidebar-stack--sticky,
    .blog-single-toc {
        position: static;
        max-height: none;
        overflow: visible;
        align-self: auto;
    }
}

@media screen and (max-width: 1024.98px) {
    .blog-single-hero {
        margin-top: 53px;
    }

    .blog-single-faq{
        gap: 25px;
    }

    .blog-single-hero__inner {
        padding: 24px 30px;
    }

    .blog-single-hero__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .blog-single-hero__title {
        font-size: 34px;
        line-height: 1.2;
        max-width: 100%;
    }

    .blog-single-hero__media,
    .blog-single-hero__media img {
        min-height: 280px;
    }

    .blog-single-hero__ellipse {
        width: 180px;
        height: 180px;
    }

    .blog-single-body {
        padding: 60px 0;
    }

    .blog-single-main {
        gap: 60px;
    }

    .blog-single-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .blog-single-author__inner {
        padding: 20px 24px 20px 56px;
        gap: 18px;
    }

    .blog-single-author__shape {
        width: 132px;
    }

    .blog-single-author__info {
        padding-right: 40px;
    }
    .blog-listing-hero__curve--left{
        top: 25% !important;
    }
}

@media screen and (max-width: 575.98px) {
    .blog-single-hero__ellipse {
        display: none;
    }

    .blog-single-hero__curve {
        height: 220px;
    }

    .blog-single-hero__content {
        padding: 24px 0;
    }

    .blog-single-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .blog-single-btn {
        width: 100%;
    }

    .blog-single-body {
        padding: 40px 0;
    }

    .blog-single-main {
        gap: 40px;
    }

    .blog-single-page .blog-single-article h2 {
        font-size: 28px;
        line-height: 1.2;
    }

    .blog-single-page .blog-single-article h3 {
        font-size: 22px;
        line-height: 30px;
    }

    .blog-single-faq__question {
        font-size: 20px;
        line-height: 28px;
    }

    .blog-single-author {
        min-height: 0;
    }

    .blog-single-author__shape {
        width: 100%;
        height: 125px;
        bottom: auto;
        clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
    }

    .blog-single-author__triangles {
        display: none;
    }

    .blog-single-author__inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 40px 20px 24px;
        min-height: 0;
        gap: 16px;
    }

    .blog-single-author__avatar-wrap {
        width: 104px;
        height: 104px;
    }

    .blog-single-author__info {
        padding-right: 0;
        align-items: center;
    }

    .blog-single-author__heading {
        justify-content: center;
    }

    .blog-single-author__name {
        font-size: 22px;
        line-height: 28px;
    }

    .blog-single-author__bio {
        font-size: 15px;
    }

    .blog-single-related {
        margin-top: 40px;
    }

    .blog-single-related__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-single-related-card__image {
        height: 200px;
    }

    .blog-single-related-card__title {
        font-size: 20px;
        line-height: 28px;
    }
}

/* ── Blog Listing Page (Merged) ── */

.blog-listing-page {
    background-color: var(--white);
}

/* Hero */
.blog-listing-hero {
    position: relative;
    overflow: hidden;
    margin-top: 75px;
    padding: 55px 0;
    background-color: var(--white);
}

.blog-listing-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.blog-listing-hero__curves {
    position: absolute;
    inset: 0;
}

.blog-listing-hero__curve {
    position: absolute;
    width: 495px;
    height: 235px;
    opacity: 0.8;
    overflow: hidden;
}

.blog-listing-hero__curve--left {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.blog-listing-hero__curve--right {
    right: 0;
    bottom: 0;
}

.blog-listing-hero__curve img {
    position: absolute;
    width: 148.69%;
    height: 199.57%;
    max-width: none;
    object-fit: cover;
}

.blog-listing-hero__curve--left img {
    left: 0;
    top: 0;
}

.blog-listing-hero__curve--right img {
    left: -48.69%;
    top: -99.57%;
}

.blog-listing-hero__ellipse {
    position: absolute;
    width: 290px;
    height: 290px;
}

.blog-listing-hero__ellipse--center {
    left: 28%;
    top: 91px;
}

.blog-listing-hero__ellipse--right {
    right: 12%;
    top: -144px;
}

.blog-listing-hero__ellipse img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.blog-listing-hero .container {
    position: relative;
    z-index: 1;
}

.blog-listing-hero__content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-listing-hero__title {
    font-size: var(--h1-size);
    font-weight: 600;
    line-height: 56px;
    letter-spacing: -0.5px;
    color: #1f1f1f;
    margin: 0;
}

.blog-listing-hero__subtitle {
    font-size: var(--fs-18);
    font-weight: 400;
    line-height: 1.5;
    color: var(--muted);
    margin: 0;
        max-width: 790px;
    margin: 0 auto;
}

/* Posts section */
.blog-listing-posts {
    padding-top: 80px;
    padding-bottom: 40px;
}

.blog-listing-posts .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Featured card */
.blog-featured-card {
    display: flex;
    align-items: center;
    gap: 40px;
    min-height: 424px;
    padding: 32px;
    background-color: #fafcff;
    border: 1px solid #dbe9ff;
    border-radius: 24px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.blog-featured-card:hover {
    color: inherit;
    text-decoration: none;
}

.blog-featured-card__image {
    flex: 0 0 657px;
    max-width: 657px;
    height: 358px;
    border-radius: 10px;
    overflow: hidden;
}

.blog-featured-card__image img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
    transition: transform 0.45s ease;
}

.blog-featured-card:hover .blog-featured-card__image img {
    transform: scale(1.05);
}

.blog-featured-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.blog-featured-card__title {
    font-size: var(--h2-size);
    font-weight: 500;
    line-height: 46px;
    letter-spacing: -0.3px;
    color: var(--primary-text);
    margin: 0;
}

.blog-featured-card__excerpt {
    font-size: var(--fs-18);
    font-weight: 500;
    line-height: 28px;
    color: var(--muted);
    margin: 0;
}

/* Blog grid – 9 posts, 3 columns */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--white);
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    color: inherit;
    text-decoration: none;
}

.blog-card__image {
    height: 252px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    display: block;
    transition: transform 0.45s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.08);
}

.blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
    flex: 1;
}

.blog-card__title {
    font-size: 26px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.2px;
    color: var(--primary-text);
    margin: 0;
}

.blog-card__excerpt {
    font-size: var(--fs-18);
    font-weight: 500;
    line-height: 28px;
    color: var(--muted);
    margin: 0;
}

/* Load More – Figma button */
.blog-load-more-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 0;
}

.blog-load-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    padding: 12px 36px;
    background-color: #093181;
    color: #ffffff;
    font-family: Graphik, system-ui, -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: none;
    outline: none;
    transition: background-color 0.25s ease;
}

.blog-load-more-btn:hover,
.blog-load-more-btn:focus {
    background-color: #072a6a;
    color: #ffffff;
}

.blog-load-more-btn:active {
    background-color: #061f4f;
}

.blog-load-more-btn.is-loading {
    opacity: 0.75;
    pointer-events: none;
}

.blog-load-more-wrap.is-hidden,
.is-hidden {
    display: none !important;
}

/* Tablet */
@media screen and (max-width: 1024.98px) {
    .blog-listing-hero {
        padding: 40px 0;
    }

    .blog-listing-hero__title {
        line-height: 1.2;
    }

    .blog-listing-hero__curve {
        width: 280px;
        height: 160px;
    }

    .blog-listing-hero__ellipse {
        width: 180px;
        height: 180px;
    }

    .blog-listing-posts {
        padding-top: 60px;
        padding-bottom: 32px;
    }

    .blog-featured-card {
        flex-direction: column;
        min-height: auto;
        padding: 24px;
    }

    .blog-featured-card__image {
        flex: none;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 657 / 358;
    }

    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

/* Mobile */
@media screen and (max-width: 575.98px) {
    .blog-listing-hero {
        margin-top: 53px;
        padding: 32px 0;
    }

    .blog-listing-hero__curve {
        width: 160px;
        height: 90px;
        opacity: 0.6;
    }

    .blog-listing-hero__ellipse {
        display: none;
    }

    .blog-listing-posts {
        padding-top: 40px;
        padding-bottom: 24px;
    }

    .blog-listing-posts .container {
        gap: 32px;
    }

    .blog-featured-card {
        padding: 16px;
        gap: 16px;
        border-radius: 16px;
    }

    .blog-featured-card__body {
        gap: 12px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-card__image {
        height: 200px;
    }

    .blog-card__body {
        padding: 20px;
    }

    .blog-card__title {
        font-size: 20px;
        line-height: 28px;
    }
}
/**latest CSS*/