*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --blue: #0052e0;
    --blue-d: #003bb5;
    --blue-l: #e8f0ff;
    --blue-ll: #f0f5ff;
    --teal: #00bfa8;
    --purple: #7c3aed;
    --amber: #f59e0b;
    --green: #16a34a;
    --red: #dc2626;
    --ink: #0a0f1a;
    --text: #0f172a;
    --muted: #64748b;
    --subtle: #94a3b8;
    --border: #e2e8f0;
    --off: #f8fafc;
    --white: #fff;
    --font: 'Plus Jakarta Sans', sans-serif;
    --serif: 'Instrument Serif', serif;
    --mono: 'JetBrains Mono', monospace;
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    overflow-x: clip;
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block
}

.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px)
}

/* ── ANIMATIONS ── */
@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .25
    }
}

@keyframes ticker {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

@keyframes fadeup {
    from {
        opacity: 0;
        transform: translateY(24px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0
    }

    100% {
        background-position: 200% 0
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes scalein {
    from {
        opacity: 0;
        transform: scale(.94)
    }

    to {
        opacity: 1;
        transform: scale(1)
    }
}

/* ── HERO ── */
.hero {
    background: var(--ink);
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 49vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 0;
    grid-template-columns: unset;
    gap: unset;
    align-items: unset;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 82, 224, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 82, 224, .055) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 100% 90% at 50% 0%, #000 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 100% 90% at 50% 0%, #000 30%, transparent 100%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px)
}

.orb1 {
    width: min(720px, 80vw);
    height: min(720px, 80vw);
    top: -25%;
    right: -12%;
    background: radial-gradient(circle, rgba(0, 82, 224, .22) 0%, transparent 68%)
}

.orb2 {
    width: min(500px, 55vw);
    height: min(500px, 55vw);
    bottom: -30%;
    left: -8%;
    background: radial-gradient(circle, rgba(0, 191, 168, .13) 0%, transparent 68%)
}

.orb3 {
    width: min(300px, 35vw);
    height: min(300px, 35vw);
    top: 40%;
    left: 30%;
    background: radial-gradient(circle, rgba(124, 58, 237, .08) 0%, transparent 68%)
}

.hero-top {
    position: relative;
    z-index: 2;
    padding: 3.5rem 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: .875rem;
    margin-bottom: 2rem;
    animation: fadeup .6s var(--ease-out) both;
}

.eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 100px;
    padding: .32rem 1rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .45);
}

.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: blink 2s infinite;
    flex-shrink: 0
}

.eyebrow-divider {
    height: 1px;
    width: 40px;
    background: rgba(255, 255, 255, .12)
}

.eyebrow-txt {
    font-size: .72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .28);
    letter-spacing: .06em
}

.hero-headline {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: .97;
    letter-spacing: -.045em;
    color: #fff;
    margin-bottom: 1.75rem;
    animation: fadeup .7s .08s var(--ease-out) both;
    text-align: center;
}


.hero-headline .serif-word {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    letter-spacing: -.02em;
    background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 45%, #5eead4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: clamp(.95rem, 1.4vw, 1rem);
    color: rgba(255, 255, 255, .38);
    line-height: 1.85;
    margin-bottom: 1.5rem;
    animation: fadeup .7s .16s var(--ease-out) both;
    text-align: center;
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 82, 224, .55)
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-family: var(--font);
    font-weight: 600;
    font-size: .88rem;
    color: rgba(255, 255, 255, .5);
    transition: color .15s;
}

.btn-ghost:hover {
    color: rgba(255, 255, 255, .85)
}

.btn-ghost svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    transition: transform .15s
}

.btn-ghost:hover svg {
    transform: translateX(3px)
}

/* Hero stats strip */
.hero-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
    animation: fadeup .7s .3s var(--ease-out) both;
}

.hs-item {
    flex: 1;
    padding: 1.5rem 1.25rem 2rem;
    border-right: 1px solid rgba(255, 255, 255, .07);
    transition: background .2s;
}

.hs-item:last-child {
    border-right: none
}

.hs-item:hover {
    background: rgba(255, 255, 255, .03)
}

.hs-val {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    font-family: var(--mono);
    color: #fff;
    letter-spacing: -.04em;
    line-height: 1;
    margin-bottom: .3rem;
}

.hs-val span {
    font-size: .7em;
    color: rgba(255, 255, 255, .35);
    font-weight: 600
}

.hs-label {
    font-size: .72rem;
    color: rgba(255, 255, 255, .28);
    line-height: 1.45;
    max-width: 33ch
}

/* ── TICKER ── */
.ticker {
    background: rgba(255, 255, 255, .03);
    border-top: 1px solid rgba(255, 255, 255, .07);
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    padding: .875rem 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.ticker::before,
.ticker::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--ink), transparent)
}

.ticker::after {
    right: 0;
    background: linear-gradient(-90deg, var(--ink), transparent)
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker 40s linear infinite
}

.ti {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    padding: 0 2.25rem;
    font-size: .76rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .25);
}

.ti-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    flex-shrink: 0
}

.ti-cat {
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .1rem .45rem;
    border-radius: 4px;
    margin-left: .2rem;
}

.ti-cat-b {
    background: rgba(0, 82, 224, .25);
    color: rgba(148, 196, 255, .7)
}

.ti-cat-pu {
    background: rgba(124, 58, 237, .25);
    color: rgba(196, 181, 253, .7)
}

.ti-cat-t {
    background: rgba(0, 191, 168, .2);
    color: rgba(94, 234, 212, .7)
}

/* ── FILTER BAR ── */
.filter-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: .75rem 0;
    transition: box-shadow .2s;
}

.filter-bar.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, .07)
}

.filter-inner {
    display: flex;
    align-items: center;
    gap: .875rem;
    flex-wrap: wrap
}

.search-wrap {
    position: relative;
    flex-shrink: 0;
}

.search-wrap svg {
    position: absolute;
    left: .875rem;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    stroke: var(--subtle);
    fill: none;
    stroke-width: 2;
    pointer-events: none;
    transition: stroke .15s;
}

.search-wrap:focus-within svg {
    stroke: var(--blue)
}

.search-input {
    font-family: var(--font);
    font-size: .84rem;
    color: var(--text);
    background: var(--off);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    padding: .6rem 1rem .6rem 2.5rem;
    outline: none;
    width: 240px;
    transition: border-color .15s, box-shadow .15s;
}

.search-input::placeholder {
    color: var(--subtle)
}

.search-input:focus {
    border-color: rgba(0, 82, 224, .4);
    box-shadow: 0 0 0 3px rgba(0, 82, 224, .08)
}

.cats-scroll {
    display: flex;
    align-items: center;
    gap: .35rem;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.cats-scroll::-webkit-scrollbar {
    display: none
}

.cat-btn {
    font-family: var(--font);
    font-size: .78rem;
    font-weight: 600;
    padding: .48rem 1.1rem;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s;
    flex-shrink: 0;
}

.cat-btn:hover {
    border-color: rgba(0, 82, 224, .35);
    color: var(--blue);
    background: var(--blue-ll)
}

.cat-btn.act {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    font-weight: 700
}

.cat-btn .cat-count {
    font-size: .65rem;
    font-family: var(--mono);
    background: rgba(255, 255, 255, .25);
    border-radius: 100px;
    padding: .05rem .35rem;
    margin-left: .3rem;
}

.cat-btn.act .cat-count {
    background: rgba(255, 255, 255, .2)
}

.cat-btn:not(.act) .cat-count {
    background: var(--off);
    color: var(--subtle)
}

.filter-right {
    display: flex;
    align-items: center;
    gap: .625rem;
    margin-left: auto;
    flex-shrink: 0
}

.results-txt {
    font-size: .76rem;
    color: var(--subtle);
    font-family: var(--mono);
    white-space: nowrap
}

.sort-wrap {
    position: relative
}

.sort-select {
    font-family: var(--font);
    font-size: .78rem;
    font-weight: 600;
    color: var(--text);
    background: var(--off);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: .48rem 2rem .48rem .875rem;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .15s;
}

.sort-select:focus {
    border-color: rgba(0, 82, 224, .4)
}

.sort-wrap::after {
    content: '';
    position: absolute;
    right: .7rem;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--muted);
    pointer-events: none;
}

/* ── MAIN LAYOUT ── */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    padding: 3rem 0 5rem;
    align-items: start;
}

/* ── FEATURED POST ── */
.featured-wrap {
    margin-bottom: 2.5rem
}

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
}

.section-eyebrow-txt {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--subtle);
}

.section-eyebrow-line {
    flex: 1;
    height: 1px;
    background: var(--border)
}

.featured-post {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    border: 1.5px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out), border-color .2s;
    background: #fff;
    cursor: pointer;
}

.featured-post:hover {
    box-shadow: 0 24px 80px rgba(0, 82, 224, .1);
    transform: translateY(-4px);
    border-color: rgba(0, 82, 224, .22);
}

.fp-visual {
    background: var(--ink);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 380px;
}

.fp-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 82, 224, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 82, 224, .07) 1px, transparent 1px);
    background-size: 40px 40px;
}

.fp-orb1 {
    position: absolute;
    top: -30%;
    right: -15%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 82, 224, .28), transparent 65%);
    pointer-events: none
}

.fp-orb2 {
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 191, 168, .18), transparent 65%);
    pointer-events: none
}

.fp-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between
}

.fp-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    border-radius: 100px;
    padding: .28rem .875rem;
}

.fp-new {
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: #dcfce7;
    color: #15803d;
    padding: .2rem .65rem;
    border-radius: 100px;
}

.fp-bottom {
    position: relative;
    z-index: 1
}

.fp-title-serif {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -.01em;
}

.fp-title-bold {
    font-style: normal;
    font-family: var(--font);
    font-weight: 800;
    font-size: clamp(1.3rem, 2.2vw, 1.75rem);
    line-height: 1.15;
    color: rgba(255, 255, 255, .9);
    letter-spacing: -.03em
}

.fp-meta-dark {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-top: 1.25rem;
    font-size: .68rem;
    color: rgba(255, 255, 255, .3);
    font-family: var(--mono);
}

.fp-meta-sep {
    opacity: .4
}

.fp-data-pills {
    display: flex;
    gap: .5rem;
    margin-top: 1rem
}

.fdp {
    padding: .45rem .875rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
}

.fdp-val {
    font-size: .85rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--mono)
}

.fdp-lbl {
    font-size: .52rem;
    color: rgba(255, 255, 255, .28);
    margin-top: .1rem
}

.fp-content {
    padding: 2.25rem;
    display: flex;
    flex-direction: column
}

.fp-content-top {
    flex: 1
}

.fp-reading-time {
    font-size: .7rem;
    font-weight: 600;
    color: var(--subtle);
    font-family: var(--mono);
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1rem;
}

.fp-reading-time svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2
}

.fp-content-title {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.03em;
    color: var(--text);
    margin-bottom: .875rem;
}

.fp-excerpt {
    font-size: .875rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.25rem
}

.fp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem;
    margin-bottom: 1.5rem
}

.fp-tag {
    font-size: .62rem;
    font-weight: 600;
    padding: .18rem .6rem;
    border-radius: 100px;
    background: var(--blue-l);
    color: var(--blue);
}

.fp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.fp-author {
    display: flex;
    align-items: center;
    gap: .625rem
}

.fp-av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .78rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), #4f46e5);
}

.fp-author-name {
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.2
}

.fp-author-role {
    font-size: .68rem;
    color: var(--muted)
}

.fp-cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .82rem;
    font-weight: 700;
    color: var(--blue);
    background: var(--blue-l);
    padding: .55rem 1.1rem;
    border-radius: 10px;
    transition: background .15s, gap .15s;
    white-space: nowrap;
}

.fp-cta:hover {
    background: #dbeafe;
    gap: .75rem
}

/* ── BLOG CARDS GRID ── */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem
}

.post-card {
    border: 1.5px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s, transform .25s var(--ease-out);
    cursor: pointer;
}

.post-card:hover {
    border-color: rgba(0, 82, 224, .25);
    box-shadow: 0 16px 50px rgba(0, 82, 224, .09);
    transform: translateY(-5px);
}

.pc-stripe {
    height: 4px;
    width: 100%;
    flex-shrink: 0
}

.stripe-blue {
    background: linear-gradient(90deg, #0052e0, #6366f1)
}

.stripe-teal {
    background: linear-gradient(90deg, #0f1430, #0f1433)
}

.stripe-purple {
    background: linear-gradient(90deg, #7c3aed, #6366f1)
}

.stripe-amber {
    background: linear-gradient(90deg, #f59e0b, #ef4444)
}

.stripe-green {
    background: linear-gradient(90deg, #16a34a, #0891b2)
}

.stripe-rose {
    background: linear-gradient(90deg, #e11d48, #7c3aed)
}

.pc-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1
}

.pc-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .875rem
}

.pc-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    border-radius: 100px;
    padding: .2rem .65rem;
    flex-shrink: 0;
}

.pc-time {
    font-size: .66rem;
    font-weight: 600;
    color: var(--subtle);
    font-family: var(--mono);
    display: flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}

.pc-time svg {
    width: 11px;
    height: 11px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2
}

.pc-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.025em;
    color: var(--text);
    margin-bottom: .625rem;
    transition: color .15s;
}

.post-card:hover .pc-title {
    color: var(--blue)
}

.pc-excerpt {
    font-size: .78rem;
    color: var(--muted);
    line-height: 1.72;
    flex: 1;
    margin-bottom: 1rem
}

.pc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: .875rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.pc-date {
    font-size: .65rem;
    color: var(--subtle);
    font-family: var(--mono)
}

.pc-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    flex-shrink: 0;
}

.pc-arrow svg {
    width: 12px;
    height: 12px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 2.5;
    transition: all .15s
}

.post-card:hover .pc-arrow {
    border-color: var(--blue);
    background: var(--blue)
}

.post-card:hover .pc-arrow svg {
    stroke: #fff
}

/* ── Card image (normal cards) ── */
.pc-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.pc-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s var(--ease-out);
}

.post-card:hover .pc-img img {
    transform: scale(1.04);
}

.pc-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-img-placeholder-teal {
    background: linear-gradient(135deg, rgba(0, 191, 168, .12), rgba(8, 145, 178, .08))
}

.pc-img-placeholder-purple {
    background: linear-gradient(135deg, rgba(124, 58, 237, .12), rgba(99, 102, 241, .08))
}

.pc-img-placeholder-blue {
    background: linear-gradient(135deg, rgba(0, 82, 224, .12), rgba(99, 102, 241, .08))
}

.pc-img-placeholder-rose {
    background: linear-gradient(135deg, rgba(225, 29, 72, .1), rgba(124, 58, 237, .08))
}

.pc-img-placeholder-green {
    background: linear-gradient(135deg, rgba(22, 163, 74, .1), rgba(8, 145, 178, .08))
}

.pc-img-placeholder-amber {
    background: linear-gradient(135deg, rgba(245, 158, 11, .12), rgba(239, 68, 68, .08))
}

/* ── Wide card inline image ── */
.pc-wide-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: .875rem;
    flex-shrink: 0;
}

.pc-wide-img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s var(--ease-out);
}

.post-card:hover .pc-wide-img img {
    transform: scale(1.03);
}

/* Wide post */
.post-card.post-wide {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 5px 1fr
}

.post-card.post-wide .pc-stripe {
    width: 5px;
    height: auto
}

.post-card.post-wide .pc-body {
    padding: 1.75rem 2rem
}

.post-card.post-wide .pc-title {
    font-size: 1.25rem
}

.post-card.post-wide .pc-excerpt {
    font-size: .84rem
}

/* Load more */
.load-more-wrap {
    text-align: center;
    padding: 2.5rem 0 0
}

.load-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.lp-line {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: var(--border)
}

.lp-txt {
    font-size: .7rem;
    color: var(--subtle);
    font-family: var(--mono)
}

.load-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-family: var(--font);
    font-size: .85rem;
    font-weight: 700;
    color: var(--text);
    background: var(--off);
    border: 1.5px solid var(--border);
    padding: .8rem 2rem;
    border-radius: 14px;
    cursor: pointer;
    transition: all .15s;
}

.load-btn:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-l)
}

.load-btn svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5
}

/* ── SIDEBAR ── */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 80px;
    align-self: start;
}

.side-widget {
    border: 1.5px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
}

.sw-head {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sw-title {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted)
}

.sw-link {
    font-size: .72rem;
    font-weight: 600;
    color: var(--blue)
}

.sw-body {
    padding: 1.25rem
}

/* Newsletter widget */
.nl-widget {
    background: linear-gradient(150deg, var(--ink), #0d1b30);
    border-color: rgba(255, 255, 255, .08);
}

.nl-widget .sw-head {
    border-bottom-color: rgba(255, 255, 255, .07)
}

.nl-widget .sw-title {
    color: rgba(255, 255, 255, .4)
}

.nl-headline {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.03em;
    line-height: 1.2;
    margin-bottom: .5rem;
}

.nl-sub {
    font-size: .78rem;
    color: rgba(255, 255, 255, .35);
    line-height: 1.65;
    margin-bottom: 1.25rem
}

.nl-form {
    display: flex;
    flex-direction: column;
    gap: .5rem
}

.nl-input {
    font-family: var(--font);
    font-size: .82rem;
    color: var(--text);
    background: rgba(255, 255, 255, .95);
    border: 1.5px solid transparent;
    border-radius: 11px;
    padding: .7rem 1rem;
    outline: none;
    transition: border-color .15s;
}

.nl-input:focus {
    border-color: rgba(0, 82, 224, .5)
}

.nl-btn {
    font-family: var(--font);
    font-size: .84rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0052e0, #4f46e5);
    border: none;
    border-radius: 11px;
    padding: .75rem 1rem;
    cursor: pointer;
    transition: opacity .15s, transform .15s;
}

.nl-btn:hover {
    opacity: .9;
    transform: translateY(-1px)
}

.nl-note {
    font-size: .65rem;
    color: rgba(255, 255, 255, .22);
    text-align: center;
    margin-top: .375rem
}

/* Popular posts widget */
.pop-post {
    display: flex;
    gap: .875rem;
    padding: .875rem 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: opacity .15s;
}

.pop-post:last-child {
    border-bottom: none;
    padding-bottom: 0
}

.pop-post:hover {
    opacity: .7
}

.pop-num {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--mono);
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    width: 28px;
}

.pop-body {
    flex: 1
}

.pop-title {
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: .3rem
}

.pop-meta {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .65rem;
    color: var(--subtle);
    font-family: var(--mono)
}

/* Topics widget */
.topic-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem
}

.topic-chip {
    font-size: .72rem;
    font-weight: 600;
    padding: .35rem .8rem;
    border-radius: 100px;
    border: 1.5px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    transition: all .15s;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

.topic-chip:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-ll)
}

.topic-chip .tc-count {
    font-size: .6rem;
    font-family: var(--mono);
    color: var(--subtle)
}

/* Audit CTA widget */
.audit-widget {
    background: linear-gradient(135deg, var(--blue), #4f46e5);
    border-color: transparent;
}

.audit-widget .sw-head {
    border-bottom-color: rgba(255, 255, 255, .15)
}

.audit-widget .sw-title {
    color: rgba(255, 255, 255, .6)
}

.audit-icon {
    font-size: 2rem;
    margin-bottom: .75rem
}

.audit-headline {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: .4rem
}

.audit-sub {
    font-size: .78rem;
    color: rgba(255, 255, 255, .55);
    line-height: 1.65;
    margin-bottom: 1.1rem
}

.audit-btn {
    display: block;
    text-align: center;
    font-family: var(--font);
    font-size: .84rem;
    font-weight: 700;
    background: #fff;
    color: var(--blue);
    padding: .75rem 1rem;
    border-radius: 11px;
    transition: opacity .15s, transform .15s;
}

.audit-btn:hover {
    opacity: .92;
    transform: translateY(-1px)
}

/* Recent tags */
.recent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem
}

.rtag {
    font-size: .68rem;
    font-weight: 600;
    padding: .25rem .65rem;
    border-radius: 8px;
    background: var(--off);
    border: 1px solid var(--border);
    color: var(--muted);
    cursor: pointer;
    transition: all .12s;
}

.rtag:hover {
    background: var(--blue-l);
    border-color: rgba(0, 82, 224, .2);
    color: var(--blue)
}

/* ── PAGINATION / END ── */
.blog-end {
    background: var(--off);
    border-top: 1px solid var(--border);
    padding: 4rem 0;
    text-align: center;
}

.be-inner {
    max-width: 520px;
    margin: 0 auto
}

.be-icon {
    font-size: 2rem;
    margin-bottom: .875rem
}

.be-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: .5rem
}

.be-sub {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem
}

/* ── RESPONSIVE ── */
@media(max-width:1100px) {
    .main-layout {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr)
    }

    .nl-widget,
    .audit-widget {
        grid-column: span 1
    }
}

@media(max-width:768px) {
    .hero-headline {
        letter-spacing: -.035em
    }

    .featured-post {
        grid-template-columns: 1fr
    }

    .fp-visual {
        min-height: 220px
    }

    .posts-grid {
        grid-template-columns: 1fr
    }

    .post-card.post-wide {
        grid-column: span 1;
        display: flex;
        flex-direction: column
    }

    .post-card.post-wide .pc-stripe {
        width: 100%;
        height: 4px
    }

    .sidebar {
        grid-template-columns: 1fr
    }

    .filter-inner {
        gap: .5rem
    }

    .hero-stats {
        flex-wrap: wrap
    }

    .hs-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
        flex: 0 0 50%
    }

    .hs-item:nth-child(even) {
        border-right: none
    }

    .hero-actions {
        gap: .875rem
    }
}

@media(max-width:520px) {
    .search-input {
        width: 100%
    }

    .filter-inner {
        flex-direction: column;
        align-items: stretch
    }

    .filter-right {
        justify-content: space-between
    }

    .hs-item {
        flex: 0 0 100%
    }
}

/* ══════════════════════════════════════
   MOBILE IMPROVEMENTS
══════════════════════════════════════ */

/* ── Filter bar: column layout from 768px ── */
@media(max-width:768px) {
    .filter-inner {
        flex-direction: column;
        align-items: stretch;
        gap: .55rem
    }

    .search-wrap {
        width: 100%
    }

    .search-input {
        width: 100%;
        font-size: .9rem
    }

    .cats-scroll {
        padding-bottom: 2px;
        gap: .3rem
    }

    .cat-btn {
        padding: .42rem .9rem;
        font-size: .75rem
    }

    .filter-right {
        display: flex;
        align-items: center;
        justify-content: space-between
    }

    .results-txt {
        font-size: .78rem
    }
}

/* ── Hero section ── */
@media(max-width:768px) {
    .hero-top {
        padding: 2.25rem 0 0
    }

    .hero-sub {
        font-size: .92rem;
        padding: 0 .5rem
    }

    .hs-item {
        padding: 1.25rem 1rem 1.5rem
    }

    .hs-label {
        max-width: 100%
    }
}

/* ── Main layout padding ── */
@media(max-width:768px) {
    .main-layout {
        padding: 1.75rem 0 3rem;
        gap: 1.5rem
    }

    .featured-wrap {
        margin-bottom: 1.75rem
    }
}

/* ── Featured post mobile ── */
@media(max-width:768px) {
    .fp-visual {
        padding: 1.5rem;
        min-height: 210px
    }

    .fp-title-bold {
        font-size: clamp(1.05rem, 4vw, 1.4rem)
    }

    .fp-meta-dark {
        margin-top: .875rem;
        flex-wrap: wrap;
        gap: .3rem .6rem
    }

    .fp-data-pills {
        flex-wrap: wrap;
        gap: .4rem;
        margin-top: .75rem
    }

    .fdp {
        padding: .35rem .75rem
    }

    .fdp-val {
        font-size: .78rem
    }

    .fp-content {
        padding: 1.5rem
    }

    .fp-content-title {
        font-size: clamp(1rem, 3.5vw, 1.3rem);
        margin-bottom: .6rem
    }

    .fp-excerpt {
        font-size: .82rem;
        line-height: 1.7;
        margin-bottom: 1rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .fp-tags {
        margin-bottom: 1rem
    }

    .fp-footer {
        flex-wrap: wrap;
        gap: .75rem;
        padding-top: 1rem
    }

    .fp-cta {
        width: 100%;
        justify-content: center;
        padding: .65rem 1rem
    }
}

/* ── Post cards mobile ── */
@media(max-width:768px) {
    .pc-body {
        padding: 1.25rem
    }

    .pc-title {
        font-size: .95rem
    }

    .pc-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden
    }

    .post-card.post-wide .pc-body {
        padding: 1.25rem
    }

    .post-card.post-wide .pc-title {
        font-size: 1.05rem
    }
}

/* ── Sidebar: single column always on mobile ── */
@media(max-width:768px) {
    .sidebar {
        grid-template-columns: 1fr !important;
        gap: 1.25rem
    }

    .nl-widget,
    .audit-widget {
        grid-column: span 1 !important
    }

    .side-widget {
        border-radius: 16px
    }

    .sw-body {
        padding: 1rem
    }
}

/* ── Load more button ── */
@media(max-width:768px) {
    .load-more-wrap {
        padding: 1.75rem 0 0
    }

    .load-btn {
        width: 100%;
        justify-content: center;
        padding: .875rem 1rem
    }
}

/* ── Small phones (< 400px) ── */
@media(max-width:400px) {
    .hero-headline {
        font-size: clamp(2.2rem, 9vw, 3rem)
    }

    .hero-top {
        padding: 1.75rem 0 0
    }

    .hs-val {
        font-size: 1.5rem
    }

    .fp-visual {
        padding: 1.1rem;
        min-height: 185px
    }

    .fp-data-pills {
        display: none
    }

    .pc-body {
        padding: 1rem
    }

    .cat-btn {
        padding: .38rem .75rem;
        font-size: .72rem
    }

    .section-eyebrow-txt {
        font-size: .6rem
    }
}

/* ── UTILITY ── */
.tag-blue {
    background: var(--blue-l);
    color: var(--blue)
}

.tag-teal {
    background: rgba(0, 191, 168, .1);
    color: #007a6e
}

.tag-purple {
    background: rgba(124, 58, 237, .1);
    color: var(--purple)
}

.tag-amber {
    background: rgba(245, 158, 11, .1);
    color: #92400e
}

.tag-green {
    background: rgba(22, 163, 74, .08);
    color: #15803d
}

.tag-rose {
    background: rgba(225, 29, 72, .08);
    color: #be123c
}