/* ── Brand tokens ── */
:root {
    --brand:       #fb0b3f;
    --brand-dark:  #c40030;
    --brand-light: #fff0f3;
    --ink:         #16100f;
    --ink-2:       #5a4a46;
    --ink-3:       #a89390;
    --surface:     #ffffff;
    --surface-2:   #faf8f7;
    --border:      rgba(251,11,63,.10);
    --border-soft: rgba(0,0,0,.07);
    --radius:      12px;
    --ff-display:  'Playfair Display', Georgia, serif;
    --ff-body:     'DM Sans', sans-serif;
--ease-out:   cubic-bezier(.22,1,.36,1);
    
}

    .dh-hero {
        background: var(--surface-2);
        padding: 64px 0 56px;
        border-bottom: 1px solid var(--border);
        position: relative;
        overflow: hidden;
    }
    .dh-hero::before {
        content: '';
        position: absolute; top: -120px; right: -120px;
        width: 500px; height: 500px; border-radius: 50%;
        background: rgba(251,11,63,.04); pointer-events: none;
    }
    .dh-hero::after {
        content: '';
        position: absolute; bottom: -80px; left: -80px;
        width: 300px; height: 300px; border-radius: 50%;
        background: rgba(251,11,63,.03); pointer-events: none;
    }
    .dh-hero-inner { position: relative; z-index: 1; }

    .dh-eyebrow {
        display: inline-flex; align-items: center; gap: 10px;
        font-family: var(--ff-body); font-size: 11px; font-weight: 600;
        letter-spacing: 2px; text-transform: uppercase;
        color: var(--brand); text-decoration: none; margin-bottom: 16px;
    }
    .dh-eyebrow::before {
        content: ''; display: block;
        width: 24px; height: 2px; background: var(--brand);
    }
    .dh-eyebrow:hover { color: var(--brand-dark); text-decoration: none; }

    .dh-hero-title {
        font-family: var(--ff-display);
        font-size: clamp(32px, 5vw, 56px);
        font-weight: 700; line-height: 1.1;
        letter-spacing: -.8px; color: var(--ink);
        margin: 0 0 16px;
    }
    .dh-hero-title span { color: var(--brand); }

    .dh-hero-sub {
        font-family: var(--ff-body);
        font-size: 16px; line-height: 1.7;
        color: var(--ink-3); max-width: 520px; margin: 0;
    }

    .dh-hero-tab {
        width: 56px; height: 3px;
        background: var(--brand); border-radius: 2px; margin-top: 28px;
    }

    @keyframes dhFadeUp {
        from { opacity: 0; transform: translateY(24px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .dh-anim { opacity: 0; animation: dhFadeUp .55s cubic-bezier(.22,1,.36,1) forwards; }

    @media (max-width: 767px) {
        .dh-hero { padding: 44px 0 40px; }
    }



      

    /* ── Hero ── */
    .blog-hero {
        padding: 20px 5% 36px;
        background: var(--surface-2);
        border-bottom: 1px solid var(--border);
        position: relative;
        overflow: hidden;
    }
    .blog-hero::before {
        content: '';
        position: absolute;
        top: -80px; right: -80px;
        width: 400px; height: 400px;
        border-radius: 50%;
        background: rgba(251,11,63,.05);
        pointer-events: none;
    }
    .blog-hero::after {
        content: '';
        position: absolute;
        bottom: -60px; left: 10%;
        width: 220px; height: 220px;
        border-radius: 50%;
        background: rgba(251,11,63,.04);
        pointer-events: none;
    }
    .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--brand);
        margin-bottom: 20px;
        font-family: var(--ff-body);
    }
    .hero-eyebrow::before {
        content: '';
        display: block;
        width: 24px; height: 2px;
        background: var(--brand);
    }
    .blog-hero h1 {
        font-family: var(--ff-display);
        font-size: clamp(32px, 5vw, 60px);
        font-weight: 700;
        line-height: 1.12;
        letter-spacing: -1px;
        color: var(--ink);
        max-width: 700px;
        margin-bottom: 20px;
    }
    .blog-hero h1 em {
        color: var(--brand);
        font-style: italic;
    }
    .blog-hero p {
        font-family: var(--ff-body);
        font-size: 17px;
        color: var(--ink-2);
        max-width: 560px;
        line-height: 1.7;
        margin-bottom: 36px;
    }
    .hero-search {
        display: flex;
        max-width: 460px;
        border: 1.5px solid var(--border);
        border-radius: 6px;
        overflow: hidden;
        background: var(--surface);
    }
    .hero-search input {
        flex: 1;
        border: none;
        outline: none;
        padding: 13px 16px;
        font-family: var(--ff-body);
        font-size: 14px;
        color: var(--ink);
        background: transparent;
        min-width: 0;
    }
    .hero-search button {
        flex-shrink: 0;
        background: var(--brand);
        border: none;
        color: #fff;
        padding: 13px 22px;
        font-family: var(--ff-body);
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: background .2s;
        white-space: nowrap;
    }
    .hero-search button:hover { background: var(--brand-dark); }

    /* ── Category strip ── */
    .category-strip {
        padding: 20px 5%;
        display: flex;
        align-items: center;
        gap: 10px;
        overflow-x: auto;
        scrollbar-width: none;
        border-bottom: 1px solid var(--border);
        background: var(--surface);
    }
    .category-strip::-webkit-scrollbar { display: none; }
    .cat-pill {
        flex-shrink: 0;
        padding: 6px 18px;
        border-radius: 100px;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: all .18s;
        text-decoration: none;
        border: 1.5px solid var(--border);
        color: var(--ink-2);
        background: transparent;
        font-family: var(--ff-body);
    }
    .cat-pill:hover,
    .cat-pill.activated {
        background: var(--brand);
        border-color: var(--brand);
        color: #fff;
    }

    /* ── Card section ── */
    .pg-section {
        padding: 64px 0 80px;
        background: var(--surface-2);
        font-family: var(--ff-body);
    }
    .pg-section .section-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: 1.6px;
        text-transform: uppercase;
        color: var(--brand);
        margin-bottom: 12px;
    }
    .pg-section .section-eyebrow::before {
        content: '';
        display: block;
        width: 20px; height: 2px;
        background: var(--brand);
    }
    .pg-section .section-title {
        font-family: var(--ff-display);
        font-size: clamp(24px, 3.5vw, 40px);
        font-weight: 700;
        color: var(--ink);
        letter-spacing: -.6px;
        line-height: 1.15;
        margin: 0 0 40px;
        text-align: left;
    }

    /* ── Card ── */
    .pg-card-link {
        display: block;
        text-decoration: none;
        height: 100%;
    }
    .pg-card {
        
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        overflow: hidden;
        height: 100%;
        display: flex;
        flex-direction: column;
        transition: transform .35s var(--ease-out),
                    box-shadow .35s var(--ease-out),
                    border-color .25s;
    }
    .pg-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 48px rgba(251,11,63,.10);
        border-color: rgba(251,11,63,.28);
    }

    /* Thumbnail */
    .pg-card__thumb {
        position: relative;
        width: 100%;
        aspect-ratio: 16 / 10;
        overflow: hidden;
        background: #f0eaeb;
    }
    .pg-card__thumb img {
        width: 100%; height: 100%;
        object-fit: cover;
        display: block;
        object-position: top center;
        transition: transform .55s var(--ease-out);
    }
    .pg-card:hover .pg-card__thumb img {
        transform: scale(1.05);
    }
    .pg-card__thumb::after {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--brand);
        opacity: 0;
        transition: opacity .3s;
        pointer-events: none;
    }
    .pg-card:hover .pg-card__thumb::after { opacity: .07; }

    /* Date badge */
    .pg-card__date-badge {
        position: absolute;
        bottom: 12px; left: 14px;
        background: var(--brand);
        color: #fff;
        font-size: 11px;
        font-weight: 500;
        letter-spacing: .4px;
        padding: 4px 10px;
        border-radius: 6px;
        line-height: 1.4;
        z-index: 1;
    }

    /* Body */
    .pg-card__body {
        padding: 20px 22px 22px;
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .pg-card__title {
        font-family: var(--ff-display);
        font-size: 17px;
        font-weight: 700;
        color: var(--ink);
        line-height: 1.35;
        margin: 0;
        transition: color .2s;
    }
    .pg-card:hover .pg-card__title { color: var(--brand); }

    /* CTA */
    .pg-card__cta {
        margin-top: auto;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 500;
        color: var(--brand);
        transition: gap .2s;
    }
    .pg-card:hover .pg-card__cta { gap: 10px; }
    .pg-card__cta svg { flex-shrink: 0; transition: transform .2s; }
    .pg-card:hover .pg-card__cta svg { transform: translateX(3px); }

    /* ── Fade-up animation ── */
    @keyframes pgFadeUp {
        from { opacity: 0; transform: translateY(22px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    .pg-fade-in {
        opacity: 0;
        animation: pgFadeUp .55s var(--ease-out) forwards;
        animation-play-state: paused;
    }
    .pg-fade-in.is-visible {
        animation-play-state: running;
    }

    /* ── Responsive ── */
    @media (max-width: 991px) {
        .blog-hero { padding: 56px 5% 44px; }
        .pg-section { padding: 48px 0 64px; }
    }
    @media (max-width: 767px) {
        .blog-hero { padding: 44px 1.25rem 36px; }
        .blog-hero p { font-size: 15px; }
        .hero-search { max-width: 100%; }
        .hero-search button { padding: 13px 16px; }
        .category-strip { padding: 16px 1.25rem; gap: 8px; }
        .cat-pill { font-size: 12px; padding: 5px 14px; }
        .pg-section { padding: 40px 0 56px; }
        .pg-section .section-title { margin-bottom: 28px; }
        .pg-card__body { padding: 16px 16px 18px; }
        .pg-card__title { font-size: 15px; }
    }
    @media (max-width: 479px) {
        .blog-hero h1 { letter-spacing: -.5px; }
        .pg-card__thumb { aspect-ratio: 4 / 3; }
    }



    /* ── Back link ── */
    .bd-back-link {
        display: inline-flex; align-items: center; gap: 7px;
        font-family: var(--ff-body); font-size: 13px; font-weight: 500;
        color: var(--brand); margin-bottom: 18px; text-decoration: none; transition: color .18s;
    }
    .bd-back-link:hover { color: var(--brand); text-decoration: none; }
    .bd-back-link svg { flex-shrink: 0; transition: transform .2s; }
    .bd-back-link:hover svg { transform: translateX(-3px); }

    /* ── Hero ── */
    .bd-hero {
        background: var(--surface-2); padding: 52px 0 0;
        border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
    }
    .bd-hero::before {
        content: ''; position: absolute; top: -100px; right: -100px;
        width: 440px; height: 440px; border-radius: 50%;
        background: rgba(251,11,63,.045); pointer-events: none;
    } .hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 500;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        color: var(--brand);
        margin-bottom: 20px;
        font-family: var(--ff-body);
    }
    .hero-eyebrow::before {
        content: '';
        display: block;
        width: 24px; height: 2px;
        background: var(--brand);
    }
    .bd-hero-inner { position: relative; z-index: 1; max-width: 760px; }
    .bd-hero-title {
        font-family: var(--ff-display); font-size: clamp(26px,4vw,46px);
        font-weight: 700; line-height: 1.15; letter-spacing: -.6px; color: var(--ink); margin: 0 0 20px;
    }
    .bd-meta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-bottom: 32px; font-family: var(--ff-body); }
    .bd-meta-item { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); }
    .bd-meta-item svg { flex-shrink: 0; }
    .bd-meta-divider { width: 1px; height: 14px; background: var(--border-soft); }
    .bd-hero-tab { width: 56px; height: 3px; background: var(--brand); border-radius: 2px; margin-top: 8px; }

    /* ── Layout ── */
    .bd-layout { padding: 56px 0 80px; background: var(--surface-2); }

    /* ── Hero image ── */
    .bd-img-wrap {
        width: 100%; border-radius: var(--radius); overflow: hidden;
        margin-bottom: 36px; background: #f0eaeb; line-height: 0;
    }
    .bd-img-wrap img { width: 100%; height: auto; display: block; object-fit: cover; object-position: top center; border-radius: var(--radius); }

    /* ── Article body ── */
    .bd-article-body { font-family: var(--ff-body); font-size: 16px; line-height: 1.8; color: var(--ink-2); }
    .bd-article-body p { margin-bottom: 1.4rem; }
    .bd-article-body h2, .bd-article-body h3, .bd-article-body h4 { font-family: var(--ff-display); color: var(--ink); margin: 2rem 0 .75rem; line-height: 1.25; }
    .bd-article-body h2 { font-size: 24px; }
    .bd-article-body h3 { font-size: 20px; }
    .bd-article-body ul, .bd-article-body ol { padding-left: 1.4rem; margin-bottom: 1.4rem; }
    .bd-article-body li { margin-bottom: .5rem; }
    .bd-article-body blockquote {
        margin: 2rem 0; padding: 20px 24px; border-left: 3px solid var(--brand);
        background: var(--brand-light); border-radius: 0 var(--radius) var(--radius) 0;
        font-family: var(--ff-display); font-size: 18px; font-style: italic; color: var(--ink); line-height: 1.5;
    }
    .bd-article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

    /* ── PDF ── */
    .bd-pdf-wrap {
        margin-top: 40px; padding: 28px; background: var(--surface);
        border: 1px solid var(--border); border-radius: var(--radius);
        display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    }
    .bd-pdf-info { display: flex; align-items: center; gap: 14px; }
    .bd-pdf-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--brand-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
    .bd-pdf-icon svg { color: var(--brand); }
    .bd-pdf-label { font-family: var(--ff-body); font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
    .bd-pdf-sub   { font-family: var(--ff-body); font-size: 12px; color: var(--ink-3); }
    .bd-pdf-btn {
        display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff;
        border: none; padding: 11px 24px; border-radius: 8px; font-family: var(--ff-body);
        font-size: 14px; font-weight: 500; cursor: pointer; text-decoration: none;
        transition: background .2s, transform .2s; white-space: nowrap;
    }
    .bd-pdf-btn:hover { background: var(--brand-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }

    /* ── Share circles — single definition, used by both layouts ── */
    .bd-share-circle {
        width: 44px; height: 44px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        text-decoration: none; flex-shrink: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,.13);
        transition: transform .2s, opacity .2s;
    }
    .bd-share-circle:hover { transform: translateY(-3px); opacity: .88; text-decoration: none; }
    .bd-share-circle.fb { background: #4267B2; }
    .bd-share-circle.tw { background: #000000; }
    .bd-share-circle.ms { background: #0084FF; }
    .bd-share-circle.wa { background: #25D366; }

    /* ── Desktop: floating vertical bar ── */
    .bd-float-share {
        position: absolute; left: -68px; top: 0;
        display: flex; flex-direction: column; align-items: center; gap: 10px;
    }
    .bd-float-share-label {
        font-family: var(--ff-body); font-size: 10px; font-weight: 700;
        letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-3);
        margin-bottom: 6px;
    }

    /* ── Mobile: horizontal bar (hidden on desktop) ── */
    .bd-mobile-share { display: none; }

    /* ── Sidebar ── */
    .bd-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 88px; }
    .bd-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
    .bd-widget-head { padding: 16px 20px; border-bottom: 1px solid var(--border-soft); display: flex; align-items: center; gap: 9px; font-family: var(--ff-body); font-size: 13px; font-weight: 600; color: var(--ink); }
    .bd-widget-head-dot { width: 8px; height: 8px; border-radius: 50%; background: #16A34A; flex-shrink: 0; }
    .bd-widget-body { padding: 0; overflow: hidden; }
    .bd-cta-card { background: var(--brand); border-radius: var(--radius); padding: 24px 22px; font-family: var(--ff-body); color: #fff; }
    .bd-cta-card h6 { font-family: var(--ff-display); font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; line-height: 1.25; }
    .bd-cta-card p  { font-size: 13px; color: rgba(255,255,255,.8); line-height: 1.6; margin-bottom: 18px; }
    .bd-cta-card a  { display: block; background: #fff; color: var(--brand); text-align: center; padding: 11px; border-radius: 8px; font-size: 13px; font-weight: 600; text-decoration: none; transition: opacity .18s; }
    .bd-cta-card a:hover { opacity: .92; text-decoration: none; }

    /* ── Animations ── */
    @keyframes bdFadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
    .bd-anim   { animation: bdFadeUp .55s cubic-bezier(.22,1,.36,1) forwards; opacity: 0; }
    .bd-anim-1 { animation-delay: .05s; }
    .bd-anim-2 { animation-delay: .12s; }
    .bd-anim-3 { animation-delay: .20s; }
    .bd-anim-4 { animation-delay: .28s; }

    /* ── Responsive ── */
    @media (max-width: 1199px) {
        .bd-float-share { display: none; }
        .bd-mobile-share {
            display: flex; align-items: center; justify-content: flex-end;
            gap: 10px; margin-bottom: 20px; flex-wrap: wrap;
        }
        .bd-mobile-share-label {
            font-family: var(--ff-body); font-size: 11px; font-weight: 700;
            letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-3); margin-right: auto;
        }
        .bd-mobile-share-icons { display: flex; align-items: center; gap: 10px; }
        .bd-share-circle { width: 40px; height: 40px; }
    }
    @media (max-width: 991px) {
        .bd-sidebar { position: static; }
        .bd-hero   { padding: 40px 0 0; }
        .bd-layout { padding: 40px 0 64px; }
    }
    @media (max-width: 767px) {
        .bd-hero         { padding: 32px 0 0; }
        .bd-hero-title   { letter-spacing: -.4px; }
        .bd-pdf-wrap     { flex-direction: column; align-items: flex-start; }
        .bd-pdf-btn      { width: 100%; justify-content: center; }
        .bd-layout       { padding: 28px 0 56px; }
        .bd-meta-divider { display: none; }
    }