:root {
    --bg: #0e1411;
    --bg-2: #0a0f0c;
    --surface: #161d19;
    --surface-2: #1c251f;
    --surface-3: #232e27;
    --line: rgba(255, 255, 255, 0.10);
    --line-2: rgba(255, 255, 255, 0.18);
    --accent: #2dd4a7;
    --accent-soft: rgba(45, 212, 167, 0.14);
    --accent-2: #0f9d6b;
    --accent-3: #6f8a7e;
    --ink: #f1f6f3;
    --text: #c2cdc7;
    --mute: #8a988f;
    --shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
    --shadow-sm: 0 6px 22px rgba(0, 0, 0, 0.45);
    --glow: 0 0 0 1px rgba(45, 212, 167, 0.30), 0 14px 36px rgba(45, 212, 167, 0.18);
    --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --label: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --footer-bg: #0a0f0c;
    --footer-ink: #eaf1ee;
    --footer-text: #9fb0aa;
    --footer-line: rgba(159, 176, 170, 0.22);
    --main-color: var(--accent);
    --main: var(--accent);
    --main-2: var(--accent-2);
    --main-3: var(--accent-3);
    --heading: var(--ink);
    --heading-color: var(--ink);
    --paragraph: var(--text);
    --paragraph-color: var(--text);
    --muted: var(--mute);
    --muted-color: var(--mute);
    --border: var(--line);
    --border-strong: var(--line-2);
    --neon: 0 0 0 1px rgba(45, 212, 167, 0.30), 0 14px 36px rgba(45, 212, 167, 0.18);
    --neon-pink: 0 0 0 1px rgba(20, 32, 26, 0.40), 0 14px 36px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background-color: var(--bg);
    background-image:
        radial-gradient(820px 380px at 10% -6%, rgba(15, 157, 107, 0.06), transparent 60%),
        radial-gradient(760px 380px at 92% -2%, rgba(20, 32, 26, 0.05), transparent 60%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; }
a { color: var(--accent); text-decoration: none; transition: color .25s ease, opacity .25s ease; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif);
    color: var(--ink);
    font-weight: 700;
    line-height: 1.22;
    margin: 0 0 14px;
    letter-spacing: -0.01em;
}
p { margin: 0 0 1rem; }
::selection { background: rgba(15, 157, 107, 0.22); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #33403a; border-radius: 8px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===================== layout helpers (kept from old build) ===================== */
.pd-top-60 { padding-top: 60px; }
.pd-bottom-60 { padding-bottom: 60px; }
.pd-top-100 { padding-top: 84px; }
.pd-bottom-100 { padding-bottom: 84px; }
.pd-top-30 { padding-top: 30px; }
.pd-bottom-30 { padding-bottom: 30px; }
.pd-bottom-40 { padding-bottom: 40px; }
.bg-deep {
    position: relative;
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
    overflow: hidden;
}
.bg-deep::before {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(45deg, rgba(40, 32, 24, 0.05) 0 1px, transparent 1px 22px);
    -webkit-mask-image: radial-gradient(circle at 50% 24%, #000 0%, transparent 72%);
            mask-image: radial-gradient(circle at 50% 24%, #000 0%, transparent 72%);
    pointer-events: none;
}
.bg-ink { background: var(--footer-bg); }

/* ===================== BUTTONS ===================== */
.btn, .btn--ghost, .btn--block, .btn--tag {
    display: inline-block;
    position: relative;
    padding: 12px 26px;
    font-family: var(--label);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease, background .25s ease, color .25s ease;
    box-shadow: var(--shadow-sm);
}
.btn:hover, .btn--ghost:hover, .btn--block:hover, .btn--tag:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--glow);
    filter: brightness(1.05);
}
.btn--ghost {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    box-shadow: none;
}
.btn--ghost:hover { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn--block { width: 100%; text-align: center; }
.btn--tag {
    color: var(--accent);
    border: 1px solid var(--line-2);
    background: var(--surface);
    padding: 9px 18px;
    box-shadow: none;
}
.btn--tag:hover { border-color: var(--accent); color: var(--accent); background: var(--surface-2); }

/* ===================== BADGES / KICKERS ===================== */
.badge {
    display: inline-block;
    position: absolute;
    left: 14px; bottom: 14px;
    z-index: 4;
    padding: 5px 13px;
    font-family: var(--label);
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent);
    border-radius: 3px;
}
.badge--alt { background: var(--accent-2); color: #fff; }

.kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-family: var(--label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}
.kicker--accent { color: var(--accent); }
.kicker--alt { color: var(--accent-2); }

/* ===================== SECTION HEADING ===================== */
.section-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    width: 100%;
}
.section-head__main { flex: 1 1 auto; }
.section-head::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 84px; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.section-head__title {
    position: relative;
    padding-left: 20px;
    font-size: 26px;
    letter-spacing: 0;
    margin: 0;
}
.section-head__title::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 26px;
    background: var(--accent);
    border-radius: 2px;
}
.section-head__desc {
    margin: 6px 0 0;
    font-family: var(--label);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--mute);
}
.section-head__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-left: auto;
    flex-shrink: 0;
    font-family: var(--label);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    border: 1px solid var(--line-2);
    border-radius: 40px;
    white-space: nowrap;
    transition: all .25s ease;
}
.section-head__more:hover { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow-sm); }
.section-head__more .bi { fill: currentColor; }

/* ===================== TOPBAR + NAVBAR ===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(14, 20, 17, 0.82);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease, background .25s ease;
}
.site-header::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    z-index: 1;
}
.navbar {
    position: relative;
    z-index: 2;
    padding: 14px 0;
}
.navbar__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; padding-left: 20px; padding-right: 20px; }
.navbar__bar { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.navbar .navbar__collapse { flex: 1 1 auto; }
/* signature brand mark */
.navbar__brand {
    display: inline-flex; align-items: center; gap: 11px;
    font-family: var(--serif); font-weight: 800; font-size: 21px; line-height: 1;
    color: var(--ink); text-decoration: none; letter-spacing: .3px; white-space: nowrap;
    transition: color .25s ease;
}
.navbar__brand::before {
    content: ""; width: 12px; height: 12px; border-radius: 3px;
    background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
    transition: transform .35s ease, background .35s ease;
}
.navbar__brand:hover { color: var(--accent); }
.navbar__brand:hover::before { transform: rotate(45deg); }
.navbar__toggle {
    display: none;
    width: 44px; height: 44px;
    border: 1px solid var(--line-2);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    position: relative;
}
.navbar__toggle .icon-left,
.navbar__toggle .icon-right {
    position: absolute; left: 50%; top: 50%;
    width: 18px; height: 2px; background: var(--ink);
    transform: translate(-50%, -50%);
    transition: all .3s ease;
}
.navbar__toggle .icon-left { transform: translate(-50%, calc(-50% - 5px)); }
.navbar__toggle .icon-right { transform: translate(-50%, calc(-50% + 5px)); }
.navbar__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0; padding: 0;
    align-items: center;
}
.navbar__list > li { position: relative; }
/* pill-style nav items */
.navbar__list > li > a {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 999px;
    font-family: var(--label);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--text);
    text-decoration: none;
    transition: color .25s ease, background .25s ease;
}
.navbar__list > li > a::after { display: none; }
.navbar__list > li > a:hover { color: var(--accent); background: var(--accent-soft); }
.navbar__list > li.active > a,
.navbar__list > li > a.is-current {
    color: #fff; background: var(--accent);
}
.navbar__search {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    color: var(--text);
    border: 1px solid var(--line-2);
    border-radius: 50%;
    transition: all .25s ease;
}
.navbar__search:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.navbar__actions { display: flex; align-items: center; gap: 10px; }
.site-header--fixed { box-shadow: 0 10px 30px rgba(20, 30, 25, 0.10); }

@media (min-width: 992px) {
    .site-header .navbar__inner .navbar__collapse { display: flex !important; align-items: center !important; flex-wrap: nowrap !important; }
    .site-header .navbar__inner .navbar__collapse .navbar__list { width: auto !important; flex: 0 0 auto !important; }
    .header-actions { margin-left: auto !important; flex: 0 0 auto !important; }
}
.header-actions { display: flex !important; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-left: auto; }

/* user menu / dropdown (auth area) */
.user-menu { position: relative; display: flex; align-items: center; margin-left: auto; }
.user-menu__signin {
    position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: .45rem; height: 40px; line-height: 40px;
    padding: 0 18px; border: 1px solid var(--accent); border-radius: 4px; background: transparent; color: var(--accent);
    font-weight: 600; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; white-space: nowrap;
    transform: perspective(1px) translateZ(0); transition: color .4s ease;
}
.user-menu__signin:before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; bottom: 0; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s ease; }
.user-menu__signin:hover, .user-menu__signin:focus { color: #fff; }
.user-menu__signin:hover:before, .user-menu__signin:focus:before { transform: scaleX(1); }

.user-dropdown { position: relative; }
.user-dropdown__toggle { display: inline-flex; align-items: center; gap: .5rem; padding: .4rem .7rem; border-radius: 4px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9rem; transition: all .25s ease; }
.user-dropdown__toggle:hover { background: var(--surface-2); color: var(--accent); }
.user-dropdown__toggle .bi { color: var(--ink) !important; fill: var(--ink) !important; transition: transform .25s ease, color .25s ease; }
.user-dropdown__menu { display: none; position: absolute; top: 100%; right: 0; min-width: 200px; margin-top: .6rem; padding: .5rem; background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); border-radius: 6px; box-shadow: var(--shadow); list-style: none; z-index: 1060; }
.user-dropdown--open .user-dropdown__menu { display: block; animation: dropIn .22s ease; }
.user-dropdown--open .user-dropdown__toggle .bi:last-child { transform: rotate(180deg); }
.user-dropdown__item { display: flex; align-items: center; gap: .65rem; padding: .6rem .8rem; border-radius: 4px; color: var(--text); font-size: .92rem; font-weight: 500; text-decoration: none; transition: all .2s ease; }
.user-dropdown__item .bi { color: var(--accent); flex: none; transition: color .2s ease; }
.user-dropdown__item:hover { background: var(--surface-2); color: var(--accent); }
.user-dropdown__divider { margin: .4rem .5rem; border: 0; border-top: 1px solid var(--line); }
@keyframes dropIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ===================== CARDS — unified editorial card system ===================== */
.card {
    position: relative;
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.card::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s ease;
    z-index: 6;
}
.card:hover { border-color: var(--line-2); box-shadow: 0 22px 50px rgba(20, 30, 25, 0.12); transform: translateY(-6px); }
.card:hover::before { transform: scaleX(1); }
.card__media { position: relative; margin: 0; overflow: hidden; }
.card__media img { display: block; width: 100%; height: auto !important; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(8, 6, 4, 0.92) 4%, rgba(8, 6, 4, 0.34) 42%, transparent 72%);
    pointer-events: none;
}
.card .badge { position: absolute; z-index: 5; top: 14px; left: 14px; }
.card__body { position: relative; padding: 20px 22px 22px; }
.card__body .kicker { color: var(--accent); }
.card__title { color: var(--ink); font-family: var(--serif); font-size: 20px; line-height: 1.3; font-weight: 700; margin: 6px 0 0; transition: color .3s ease; }
.card__title:hover { color: var(--accent); }
.card__meta { margin-top: 12px; }

/* overlay variant : text sits on the image */
.card--overlay .card__media { height: 100%; }
.card--overlay > .card__body { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; padding: 26px 24px 24px; }
.card--overlay > .card__body .card__title { color: #fff; font-size: 22px; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
.card--overlay > .card__body .kicker { color: #f1b0b5; }
.card--overlay .card__body .card__meta { color: rgba(255,255,255,.8); }
.card--overlay .card__body .card__meta i { color: var(--accent) !important; }

/* homepage hero / feature overlays : larger imagery + title */
.home-hero .card--overlay .card__media img { aspect-ratio: 16 / 11; }
.home-hero .card--overlay > .card__body .card__title { font-size: 27px; }
.feature-feed .card--overlay .card__media img { aspect-ratio: 16 / 9; }
.feature-feed .card--overlay > .card__body .card__title { font-size: 25px; }

/* static grid wrapper (replaces the old carousels) */
.home-grid { display: grid; gap: 30px; }
.home-grid--single { grid-template-columns: 1fr; }
.home-grid--multi { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) { .home-grid--multi { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .home-grid--multi { grid-template-columns: 1fr; } }
.home-grid .item { margin: 0; width: 100%; }

/* ===================== LEAD FEED — text editorial rows ===================== */
.lead-feed { display: flex; flex-direction: column; }
.lead-story {
    display: block;
    position: relative;
    padding: 22px 0 22px 22px;
    border-top: 1px solid var(--line);
    transition: padding-left .3s ease;
}
.lead-story:first-child { border-top: 0; padding-top: 0; }
.lead-story::before {
    content: "";
    position: absolute; left: 0; top: 22px; bottom: 22px;
    width: 3px; border-radius: 3px;
    background: var(--accent);
    transform: scaleY(0); transform-origin: top;
    transition: transform .3s ease;
}
.lead-story:first-child::before { top: 0; }
.lead-story:hover { padding-left: 26px; }
.lead-story:hover::before { transform: scaleY(1); }
.lead-story__title { margin: 0; color: var(--ink); font-family: var(--serif); font-weight: 700; line-height: 1.32; font-size: 20px; }
.lead-story:hover .lead-story__title { color: var(--accent); }
.lead-story__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px; font: 500 12px/1 var(--label); color: var(--mute); }
.lead-story__meta i { color: var(--accent); margin-right: 5px; }

/* ===================== MINI FEED — numbered rows ===================== */
.mini-feed { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 26px; counter-reset: mini; }
@media (max-width: 991px) { .mini-feed { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .mini-feed { grid-template-columns: 1fr; } }
.mini-card {
    display: block; position: relative;
    background: var(--surface);
    border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    counter-increment: mini;
    transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.mini-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 30, 25, 0.12); }
.mini-card__media { position: relative; width: 100%; height: 132px; overflow: hidden; }
.mini-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mini-card:hover .mini-card__media img { transform: scale(1.06); }
.mini-card__index {
    position: absolute; left: 12px; top: 12px; z-index: 1;
    display: flex; align-items: center; justify-content: center;
    min-width: 34px; height: 30px; padding: 0 6px;
    font: 800 14px/1 var(--serif);
    color: transparent;
    -webkit-text-stroke: 1px var(--accent-2);
    background: rgba(8, 6, 4, 0.55); border-radius: 6px;
}
.mini-card__index::before { content: counter(mini, decimal-leading-zero); }
.mini-card:hover .mini-card__index { -webkit-text-stroke: 1px var(--accent); }
.mini-card__body { padding: 14px 16px 16px; }
.mini-card__title { margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.4; }
.mini-card:hover .mini-card__title { color: var(--accent); }
.mini-card__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; font: 500 11px/1 var(--label); color: var(--mute); }
.mini-card__meta i { color: var(--accent); margin-right: 4px; }

/* ===================== FEATURE FEED — full-width list rows ===================== */
.feature-feed { display: flex; flex-direction: column; margin-top: 6px; }
.feature-row {
    display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: center;
    padding: 22px 0; border-top: 1px solid var(--line);
    transition: padding-left .3s ease;
}
.feature-row:first-child { border-top: 0; padding-top: 4px; }
.feature-row:hover { padding-left: 6px; }
.feature-row__media { display: block; width: 280px; height: 180px; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.feature-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.feature-row:hover .feature-row__media img { transform: scale(1.05); }
.feature-row__main { min-width: 0; }
.feature-row__kicker { display: inline-block; margin-bottom: 8px; }
.feature-row__title { margin: 0 0 8px; color: var(--ink); font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.3; }
.feature-row:hover .feature-row__title a { color: var(--accent); }
.feature-row__summary { margin: 0 0 12px; color: var(--mute); font: 400 14px/1.55 var(--sans); }
.feature-row__meta { display: flex; flex-wrap: wrap; gap: 16px; font: 500 12px/1 var(--label); color: var(--mute); }
.feature-row__meta i { color: var(--accent); margin-right: 5px; }
@media (max-width: 767px) {
    .feature-row { grid-template-columns: 1fr; gap: 14px; }
    .feature-row__media { width: 100%; height: 200px; }
    .feature-row__title { font-size: 19px; }
}

/* ===================== HERO STAGE — key 0 ===================== */
.hero-stage { position: relative; width: 100%; }
.hero-stage__feature {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface-2);
    box-shadow: var(--shadow);
}
.hero-stage__feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-stage__feature:hover img { transform: scale(1.04); }
.hero-stage__scrim { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,8,6,0.30) 0%, rgba(12,8,6,0) 30%, rgba(12,8,6,0.82) 100%); pointer-events: none; }
.hero-stage__caption { position: absolute; left: 30px; bottom: 26px; z-index: 2; max-width: 85%; }
.hero-stage__title { font-family: var(--serif); font-size: 30px; line-height: 1.2; color: #fff; margin: 0 0 12px; text-shadow: 0 2px 14px rgba(0,0,0,0.55); }
.hero-stage__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font: 500 12px/1 var(--label); color: rgba(243,236,225,0.92); }
.hero-stage__meta i { color: var(--accent); margin-right: 5px; }

.hero-stage__rail { display: flex; align-items: stretch; gap: 10px; margin-top: 18px; }
.hero-stage__nav {
    flex: 0 0 38px; width: 38px;
    border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
    border-radius: 10px; cursor: pointer;
    display: grid; place-items: center; font-size: 18px;
    transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.hero-stage__nav:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); background: var(--surface-2); }
.hero-stage__nav:disabled { opacity: .3; cursor: default; }
.hero-stage__track {
    display: flex; gap: 12px;
    flex: 1 1 auto; min-width: 0;
    overflow-x: auto; overflow-y: hidden;
    -webkit-overflow-scrolling: touch; scroll-behavior: smooth;
    scrollbar-width: thin; scrollbar-color: var(--surface-3) transparent;
    padding: 4px 2px 8px;
}
.hero-stage__track::-webkit-scrollbar { height: 8px; }
.hero-stage__track::-webkit-scrollbar-track { background: transparent; }
.hero-stage__track::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
.hero-stage__track::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.hero-chip {
    flex: 0 0 148px; width: 148px; min-width: 148px;
    display: block;
    border-radius: 10px; overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, border-color .3s ease;
}
.hero-chip:hover { transform: translateY(-4px); border-color: var(--accent); }
.hero-chip__thumb { display: block; width: 100%; height: 92px; overflow: hidden; background: var(--surface-2); }
.hero-chip__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hero-chip:hover .hero-chip__thumb img { transform: scale(1.07); }
.hero-chip__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; padding: 9px 11px 11px; font-family: var(--serif); font-size: 13px; line-height: 1.35; color: var(--ink); }
.hero-chip:hover .hero-chip__title { color: var(--accent); }
.hero-chip.is-active { border-color: var(--accent); box-shadow: var(--glow); }
.hero-chip.is-active .hero-chip__title { color: var(--accent); }
.hero-chip__meta { display: none; }

@media (max-width: 991px) {
    .hero-stage__feature { aspect-ratio: 16 / 9; }
    .hero-stage__title { font-size: 24px; }
    .hero-stage__caption { max-width: 85%; }
}
@media (max-width: 575px) {
    .hero-stage__feature { aspect-ratio: 4 / 3; }
    .hero-stage__title { font-size: 19px; }
    .hero-stage__caption { left: 18px; bottom: 16px; max-width: 88%; }
    .hero-stage__rail { margin-top: 14px; gap: 6px; }
    .hero-stage__nav { flex: 0 0 32px; width: 32px; font-size: 15px; }
    .hero-chip { flex: 0 0 124px; width: 124px; min-width: 124px; }
    .hero-chip__thumb { height: 76px; }
}

/* ===================== PAGE BANNER (section.page-banner) — for {$PAGE_HERO} ===================== */
.page-banner {
    padding: 64px 0;
    background:
        radial-gradient(780px 340px at 12% 0%, rgba(15, 157, 107, 0.10), transparent 62%),
        radial-gradient(780px 340px at 88% 0%, rgba(20, 32, 26, 0.08), transparent 62%),
        linear-gradient(180deg, var(--bg-2), var(--bg));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.page-banner__inner { position: relative; text-align: center; }
.page-banner__content { max-width: 880px; margin: 0 auto; padding: 8px 0; }
.page-banner__content h1,
.page-banner__content h2 {
    font-family: var(--serif);
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.15;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
}
.page-banner__content h1::after,
.page-banner__content h2::after {
    content: "";
    display: block;
    width: 76px;
    height: 4px;
    margin: 24px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.page-banner__content p { max-width: 640px; margin: 18px auto 0; color: var(--mute); font-size: 17px; }
@media (max-width: 575px) {
    .page-banner { padding: 44px 0; }
    .page-banner__content h1, .page-banner__content h2 { font-size: 26px; }
}

/* ===================== HOMEPAGE MODULE CARDS (key 1 ~ 6) ===================== */
/* Style 1 · Spotlight Stack (key == 1) */
.spotlight { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.spotlight__row {
    position: relative;
    display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center;
    padding: 12px; border-radius: 10px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
    border: 1px solid var(--line); overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.spotlight__row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .35s ease; }
.spotlight__row:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.spotlight__row:hover::before { transform: scaleY(1); }
.spotlight__thumb { width: 92px; height: 92px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.spotlight__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.spotlight__row:hover .spotlight__thumb img { transform: scale(1.06); }
.spotlight__main { min-width: 0; }
.spotlight__title { font-family: var(--serif); font-size: 15px; line-height: 1.4; margin: 0 0 6px; }
.spotlight__title a { color: var(--ink); }
.spotlight__row:hover .spotlight__title a { color: var(--accent); }
.spotlight__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font: 500 12px/1 var(--label); color: var(--mute); }
.spotlight__meta i { color: var(--accent); margin-right: 4px; }

/* Style 2 · Glass Grid (key == 2) */
.glass-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 991px) { .glass-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .glass-grid { grid-template-columns: 1fr; } }
.glass-card {
    position: relative; display: flex; flex-direction: column;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(15, 157, 107, 0.05), rgba(20, 32, 26, 0.04));
    border: 1px solid var(--line); overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.glass-card__thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.glass-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12, 8, 6, 0.55)); pointer-events: none; }
.glass-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.glass-card:hover .glass-card__thumb img { transform: scale(1.06); }
.glass-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 18px; }
.glass-card__body::before { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; margin-bottom: 12px; transition: width .3s ease; }
.glass-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: var(--glow); }
.glass-card:hover .glass-card__body::before { width: 48px; }
.glass-card__title { font-family: var(--serif); font-size: 18px; line-height: 1.4; margin: 0 0 14px; flex: 1 1 auto; }
.glass-card__title a { color: var(--ink); }
.glass-card:hover .glass-card__title a { color: var(--accent); }
.glass-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 12px; border-top: 1px solid var(--line); font: 500 12px/1 var(--label); color: var(--mute); }
.glass-card__meta i { color: var(--accent); margin-right: 4px; }

/* Style 3 · Timeline Feed (key == 3) */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--accent), var(--line-2) 40%, transparent); }
.timeline__item { position: relative; padding: 0 0 22px 18px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
    content: ""; position: absolute; left: -26px; top: 6px; width: 13px; height: 13px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--accent); box-shadow: 0 0 0 4px rgba(15, 157, 107, 0.12);
    transition: background .3s ease, box-shadow .3s ease;
}
.timeline__item:hover::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(15, 157, 107, 0.24); }
.timeline__stamp { display: inline-block; margin-bottom: 8px; font: 600 11px/1 var(--label); letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.timeline__media { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: start; }
.timeline__thumb { width: 104px; height: 78px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.timeline__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.timeline__item:hover .timeline__thumb img { transform: scale(1.06); }
.timeline__main { min-width: 0; }
.timeline__title { font-family: var(--serif); font-size: 18px; line-height: 1.4; margin: 0 0 8px; }
.timeline__title a { color: var(--ink); }
.timeline__item:hover .timeline__title a { color: var(--accent); }
.timeline__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 12px/1 var(--label); color: var(--mute); }
.timeline__meta i { color: var(--accent); margin-right: 4px; }

/* Style 4 · Numbered Magazine List (key == 4) */
.magazine-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 22px; counter-reset: magz; }
@media (max-width: 767px) { .magazine-list { grid-template-columns: 1fr; } }
.magazine-item {
    position: relative; display: grid; grid-template-columns: 56px 84px 1fr; gap: 16px; align-items: center;
    padding: 14px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line);
    counter-increment: magz; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.magazine-item::before { content: counter(magz, decimal-leading-zero); font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 0.9; color: var(--surface-3); transition: color .3s ease; }
.magazine-item:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.magazine-item:hover::before { color: var(--accent); }
.magazine-item__thumb { width: 84px; height: 84px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.magazine-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.magazine-item:hover .magazine-item__thumb img { transform: scale(1.06); }
.magazine-item__body { min-width: 0; }
.magazine-item__title { font-family: var(--serif); font-size: 16px; line-height: 1.4; margin: 0 0 6px; }
.magazine-item__title a { color: var(--ink); }
.magazine-item:hover .magazine-item__title a { color: var(--accent); }
.magazine-item__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font: 500 12px/1 var(--label); color: var(--mute); }
.magazine-item__meta i { color: var(--accent); margin-right: 4px; }

/* Style 5 · Stat Cards (key == 5) */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 991px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-card {
    position: relative; display: flex; flex-direction: column;
    border-radius: 12px; background: var(--surface); border: 1px solid var(--line); overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.stat-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow-sm); }
.stat-card__thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.stat-card__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12, 8, 6, 0.55)); pointer-events: none; }
.stat-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.stat-card:hover .stat-card__thumb img { transform: scale(1.06); }
.stat-card__body { padding: 20px 22px; }
.stat-card__title { font-family: var(--serif); font-size: 18px; line-height: 1.4; margin: 0 0 16px; }
.stat-card__title a { color: var(--ink); }
.stat-card:hover .stat-card__title a { color: var(--accent); }
.stat-card__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-card__stat { text-align: center; }
.stat-card__stat-num { display: block; font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-card__stat-label { display: block; margin-top: 4px; font: 600 10px/1 var(--label); letter-spacing: 1.5px; text-transform: uppercase; color: var(--mute); }
.stat-card__foot { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 500 12px/1 var(--label); color: var(--mute); }
.stat-card__foot i { color: var(--accent); margin-right: 4px; }

/* Style 6 · Minimal Accent List (key == 6) */
.minimal-list { display: flex; flex-direction: column; }
.minimal-item {
    position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: center;
    padding: 16px 0 16px 24px; border-bottom: 1px solid var(--line); transition: padding-left .3s ease;
}
.minimal-item:first-child { padding-top: 0; }
.minimal-item:last-child { border-bottom: 0; padding-bottom: 0; }
.minimal-item::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; background: var(--surface-3); border-radius: 2px; transition: background .3s ease; }
.minimal-item:first-child::before { top: 0; }
.minimal-item:last-child::before { bottom: 0; }
.minimal-item:hover { padding-left: 32px; }
.minimal-item:hover::before { background: var(--accent); }
.minimal-item__thumb { width: 96px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.minimal-item__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.minimal-item:hover .minimal-item__thumb img { transform: scale(1.06); }
.minimal-item__main { min-width: 0; }
.minimal-item__title { font-family: var(--serif); font-size: 17px; line-height: 1.4; margin: 0 0 8px; }
.minimal-item__title a { color: var(--ink); }
.minimal-item:hover .minimal-item__title a { color: var(--accent); }
.minimal-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0; font: 500 12px/1 var(--label); color: var(--mute); }
.minimal-item__meta span { display: inline-flex; align-items: center; }
.minimal-item__meta span + span::before { content: "·"; margin: 0 14px; color: var(--surface-3); }
.minimal-item__meta i { color: var(--accent); margin-right: 4px; }

/* ===================== POST META ===================== */
.meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
    font-size: 13px; color: var(--mute) !important; line-height: 1.6;
}
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta i, .meta .fa { color: var(--accent) !important; }
.meta .meta-author { font-weight: 500; color: var(--text); }

/* ===================== PAGE TITLE / BREADCRUMB ===================== */
.page-header {
    position: relative;
    padding: 66px 0;
    background:
        radial-gradient(560px 280px at 12% 0%, rgba(15, 157, 107, 0.08), transparent 60%),
        linear-gradient(180deg, var(--bg-2), var(--bg));
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.breadcrumb { position: relative; z-index: 2; }
.breadcrumb .page-title { font-size: 42px; letter-spacing: -0.01em; margin-bottom: 12px; color: var(--ink); }
.breadcrumb__list { display: flex; gap: 10px; list-style: none; padding: 0; margin: 0; color: var(--mute); font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.breadcrumb__list li a { color: var(--accent); }
.breadcrumb__list li:not(:last-child)::after { content: "/"; margin-left: 10px; color: var(--line-2); }

/* ===================== BLOG LIST / GRID ===================== */
.page-body { padding: 10px 0; }
.post-list .post-card {
    display: grid; grid-template-columns: 42% 1fr; gap: 0; margin-bottom: 30px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; position: relative;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.post-list .post-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 6; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.post-list .post-card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 22px 50px rgba(20, 30, 25, 0.12); }
.post-list .post-card:hover::before { transform: scaleX(1); }
.post-list .post-card > a { display: block; }
.post-list .post-card .card__media { height: 100%; border-radius: 0; overflow: hidden; }
.post-list .post-card .card__media img { width: 100% !important; height: 100% !important; aspect-ratio: auto !important; min-height: 280px; object-fit: cover; transition: transform .6s ease; }
.post-list .post-card:hover .card__media img { transform: scale(1.05); }
.post-list .post-card .card__body { padding: 30px 32px; align-self: center; }
.post-list .post-card .card__body > span { display: inline-block; font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
.post-list .post-card .card__body h5 a { color: var(--ink); font-size: 24px; }
.post-list .post-card .card__body h5 a:hover { color: var(--accent); }
.post-list .post-card .card__body .clamp-5 { color: var(--text); margin: 12px 0 18px; }

.post-grid .row { --bs-gutter-x: 28px; --bs-gutter-y: 28px; }
.post-grid .post-card {
    position: relative; margin-bottom: 30px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.post-grid .post-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 6; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.post-grid .post-card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: 0 22px 50px rgba(20, 30, 25, 0.12); }
.post-grid .post-card:hover::before { transform: scaleX(1); }
.post-grid .post-card .card__media { position: relative; border-radius: 0; }
.post-grid .post-card .card__media img { width: 100% !important; height: auto !important; aspect-ratio: 16 / 10 !important; object-fit: cover; transition: transform .6s ease; }
.post-grid .post-card:hover .card__media img { transform: scale(1.05); }
.post-grid .post-card .card__media .badge { left: auto; right: 14px; bottom: 14px; }
.post-grid .post-card .card__body { padding: 22px; }
.post-grid .post-card .card__body h2 a { color: var(--ink); font-size: 19px; }
.post-grid .post-card .card__body h2 a:hover { color: var(--accent); }
.post-grid .post-card .card__body .clamp-5 { color: var(--mute); margin: 10px 0 16px; }
.post-card .thumb { position: relative; margin: 0; overflow: hidden; }

/* ===================== CATEGORY PAGE — editorial list ===================== */
.cat-feed {
    display: grid;
    gap: 24px;
    margin-bottom: 8px;
}
.post-card--row {
    position: relative;
    display: grid;
    grid-template-columns: 38% 1fr;
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.post-card--row::before {
    content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 6;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.post-card--row:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card--row:hover::before { transform: scaleX(1); }

.post-card--row > a.card__media { height: 100%; }
.post-card--row .card__media img { width: 100% !important; height: 100%; min-height: 200px; aspect-ratio: auto !important; object-fit: cover; transition: transform .6s ease; }
.post-card--row:hover .card__media img { transform: scale(1.05); }
.post-card--row .card__body { padding: 26px 28px; align-self: center; }
.post-card--row .card__body h3 a { color: var(--ink); font-size: 19px; line-height: 1.32; font-family: var(--serif); font-weight: 700; transition: color .3s ease; }
.post-card--row .card__body h3 a:hover { color: var(--accent); }
.post-card--row .card__body .clamp-3 { color: var(--mute); margin: 12px 0 16px; }
.post-card--row .card__body .meta { margin-bottom: 10px; }

@media (max-width: 991px) {
    .post-card--row { grid-template-columns: 42% 1fr; }
}
@media (max-width: 575px) {
    .post-card--row { grid-template-columns: 1fr; }
    .post-card--row .card__media img { min-height: 210px; }
    .post-card--row .card__body { padding: 22px 22px 26px; }
}

/* ===================== DETAIL PAGE ===================== */
.article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.article__hero { background: transparent; border: 0; border-radius: 0; padding: 0; overflow: hidden; }
.article__hero .card__media { margin: 0; }
.article__hero .card__media img { width: 100%; height: auto !important; aspect-ratio: 21 / 9 !important; object-fit: cover; }
.article__body { padding: 32px 36px; }
.article__meta {
    display: flex; flex-wrap: wrap; gap: 18px;
    padding: 14px 18px; margin-bottom: 22px;
    background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 6px;
    font-family: var(--label); font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--mute);
}
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta i { color: var(--accent); }
.article__body > h1 { font-size: 36px; line-height: 1.2; margin-bottom: 18px; color: var(--ink); }
.article__content p { color: var(--text); margin-bottom: 18px; }
.article__content h3 { font-size: 24px; color: var(--ink); margin-top: 28px; }
.article__content ul { color: var(--text); padding-left: 20px; }
.article__content img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.article__content blockquote {
    margin: 26px 0; padding: 22px 28px;
    background: linear-gradient(120deg, rgba(15, 157, 107, 0.06), rgba(20, 32, 26, 0.05));
    border-left: 3px solid var(--accent); border-radius: 6px;
    color: var(--ink); font-family: var(--serif); font-style: italic; font-size: 18px;
}
.article__content blockquote span { color: var(--ink); }

/* author box */
.author-info { display: flex; gap: 20px; align-items: flex-start; margin-top: 34px; padding: 24px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.author-info .media__thumb { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; border: 2px solid var(--accent); }
.author-info .media__thumb img { width: 80px; height: 80px; object-fit: cover; }
.author-info .media__body h5 { color: var(--ink); margin-bottom: 6px; }
.author-info .media__body p { color: var(--mute); margin: 0; font-size: 14px; }

/* ===================== SIDEBAR WIDGETS ===================== */
.sidebar .widget {
    margin-bottom: 26px; padding: 24px;
    background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.widget__title {
    position: relative; padding-left: 16px; margin-bottom: 20px; font-size: 19px; letter-spacing: 0;
}
.widget__title::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 4px; height: 20px; background: var(--accent); border-radius: 2px; }
.widget--search .form-group { position: relative; margin: 0; }
.widget--search .form-control { width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); padding: 12px 46px 12px 16px; font-size: 14px; }
.widget--search .form-control:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.widget--search .submit-btn { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: transparent; color: var(--accent); cursor: pointer; }

/* recent posts */
.widget--recent .media { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.widget--recent .media:last-child { border-bottom: 0; }
.widget--recent .media__thumb { flex: 0 0 84px; width: 84px; height: 64px; border-radius: 6px; overflow: hidden; }
.widget--recent .media__thumb img { width: 84px; height: 64px; object-fit: cover; transition: transform .5s ease; }
.widget--recent .media:hover .media__thumb img { transform: scale(1.08); }
.widget--recent .media__body .media__title { font-size: 14px; line-height: 1.4; margin: 0 0 4px; }
.widget--recent .media__body .media__title a { color: var(--ink); }
.widget--recent .media__body .media__title a:hover { color: var(--accent); }
.widget--recent .media__body .meta { font-size: 12px; }

/* tags */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-cloud a { display: inline-block; padding: 7px 14px; font-size: 12px; letter-spacing: .5px; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 4px; transition: all .25s ease; }
.tag-cloud a:hover, .tag-cloud a.active { color: #fff; background: var(--accent); border-color: var(--accent); }

/* category page top tags bar */
.cat-tags {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px 8px;
    padding: 6px 0 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
}
.cat-tags__head { flex: 0 0 auto; margin-right: 6px; }
.cat-tags__title { margin: 0; font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--mute); line-height: 1.2; position: relative; padding-left: 14px; }
.cat-tags__title::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 16px; background: var(--accent); border-radius: 2px; }
.cat-tags .tag-cloud { flex: 1 1 auto; gap: 4px 4px; }
.cat-tags .tag-cloud a {
    display: inline-block; padding: 8px 14px; font-size: 13px; font-weight: 600; letter-spacing: .2px;
    color: var(--text); background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
    transition: color .25s ease, border-color .25s ease;
}
.cat-tags .tag-cloud a:hover { color: var(--accent); border-bottom-color: var(--line-2); }
.cat-tags .tag-cloud a.active { color: var(--accent); border-bottom-color: var(--accent); }
@media (max-width: 575px) { .cat-tags { gap: 8px 4px; } .cat-tags__title { font-size: 11px; } }

/* categories list widget */
.widget--categories ul { list-style: none; padding: 0; margin: 0; }
.widget--categories ul li { border-bottom: 1px solid var(--line); }
.widget--categories ul li a { display: flex; justify-content: space-between; padding: 12px 0; color: var(--text); font-size: 14px; }
.widget--categories ul li a:hover { color: var(--accent); padding-left: 6px; }
.widget--categories ul li a span { color: var(--mute); font-family: var(--label); }

/* ===================== PAGINATION ===================== */
.pager { margin-top: 20px; display: flex; justify-content: center; }
.pager__list,
.pagination-list {
    display: flex; gap: 8px; list-style: none; padding: 0; margin: 0; align-items: center;
}
.pager a, .pager .page-link, .pager .page-numbers,
.pagination-link {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 12px;
    color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 6px;
    font-family: var(--label); font-size: 13px; transition: all .25s ease; text-decoration: none;
}
.pager a:hover, .pager .current, .pager .active .page-link,
.pagination-link:hover,
.pagination-link.current,
.pagination-item.active .pagination-link {
    color: #fff; background: var(--accent); border-color: var(--accent); font-weight: 600;
}
.pagination-link.disabled,
.pagination-item.disabled .pagination-link {
    opacity: .45; pointer-events: none; cursor: not-allowed;
}

/* ===================== FOOTER ===================== */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--footer-line); padding: 34px 0 0; }
.site-footer .widget .logo img { max-height: 30px; }
.site-footer .widget .details { color: var(--footer-text); font-size: 13px; }
.site-footer .widget__title { color: var(--footer-ink); font-size: 15px; margin-bottom: 10px; position: relative; padding-left: 14px; }
.site-footer .widget__title::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 14px; background: var(--accent); border-radius: 2px; }
.site-footer .widget .about-list li { color: var(--footer-text); padding: 3px 0; list-style: none; }
.site-footer .widget--nav ul li { padding: 3px 0; }
.site-footer .widget .social-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; padding: 0; list-style: none; }
.site-footer .widget .social-links li { list-style: none; }
.site-footer .widget .social-links li a {
    color: var(--footer-text); width: 32px; height: 32px; font-size: 13px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--footer-line); border-radius: 6px; transition: all .25s ease;
}
.site-footer .widget .social-links li a:hover { color: var(--footer-ink); background: var(--accent); border-color: var(--accent); }
.site-footer .subcribe-form { display: flex; gap: 10px; margin-top: 14px; }
.site-footer .subcribe-form input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); padding: 11px 14px; }
.site-footer .subcribe-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.site-footer .row { row-gap: 22px; }
.site-footer__bottom { border-top: 1px solid var(--footer-line); margin-top: 24px; padding: 14px 0; color: var(--footer-text); font-size: 12px; }
.site-footer__bottom a { color: var(--accent); }
.site-footer__menu { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.site-footer__menu li a { color: var(--footer-text); }
.site-footer__menu li a:hover { color: var(--accent); }

/* footer subscribe strip */
.site-footer__top { margin-bottom: 28px; }
.subscribe { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.subscribe__title { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--footer-ink); margin: 0; letter-spacing: 0.5px; }
.subscribe__inner { display: flex; gap: 10px; width: 100%; }
.subscribe__inner input { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); padding: 11px 14px; font-family: var(--sans); }
.subscribe__inner input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ===================== SEARCH POPUP / OVERLAY / BACK TO TOP ===================== */
.search-popup { position: fixed; inset: 0; z-index: 1200; display: none; }
.search-popup .search-form { position: relative; max-width: 600px; margin: 18vh auto 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px; box-shadow: var(--shadow), var(--glow); }
.search-popup .form-control { width: 100%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; color: var(--ink); padding: 14px 18px; }
.search-popup .submit-btn { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); background: transparent; border: 0; color: var(--accent); cursor: pointer; }
.overlay { position: fixed; inset: 0; background: rgba(20, 30, 25, 0.55); z-index: 1100; display: none; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 1000; cursor: pointer; }
.to-top__btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: var(--accent); color: #fff; border-radius: 8px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.to-top:hover .to-top__btn { transform: translateY(-3px); box-shadow: var(--glow); }

/* ===================== ABOUT / CONTACT / generic text pages ===================== */
.prose { color: var(--text); }
.prose h2 { color: var(--ink); }
.prose h3 { color: var(--ink); margin-top: 28px; }
.prose p { color: var(--text); }
.prose ul { color: var(--text); padding-left: 20px; }
.prose strong { color: var(--ink); }

/* contact page */
.contact__info { padding: 30px 20px; margin-bottom: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; transition: all .3s ease; }
.contact__info:hover { background: var(--accent); color: #fff; transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--accent); }
.contact__info:hover h4, .contact__info:hover p { color: #fff; }
.contact__icon { font-size: 36px; color: var(--accent); margin-bottom: 20px; transition: color .3s ease; }
.contact__info:hover .contact__icon { color: #fff; }
.contact__info h4 { color: var(--ink); font-weight: 600; margin-bottom: 15px; }
.contact__info p { margin: 0; line-height: 1.6; }
.contact-form-wrap { background: var(--surface); padding: 40px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); margin: 40px 0; }
.contact-form .form-group { margin-bottom: 25px; }
.contact-form label { font-weight: 600; color: var(--ink); margin-bottom: 8px; display: block; }
.contact-form .form-control { background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 12px 15px; font-size: 16px; color: var(--ink); transition: border-color .3s ease, box-shadow .3s ease; }
.contact-form .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.contact h2 { color: var(--ink); font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 15px; }
.contact h2:after { content: ''; position: absolute; bottom: 0; left: 0; width: 60px; height: 3px; background: var(--accent); }
.contact h3 { color: var(--ink); font-weight: 600; margin-bottom: 20px; }

/* ===================== EMPTY STATE ===================== */
.empty-state {
    text-align: center !important; padding: 80px 40px !important;
    background: var(--surface) !important; border: 1px solid var(--line) !important;
    border-radius: 14px !important; margin: 0 !important; min-height: 400px !important;
    display: flex !important; flex-direction: column !important; justify-content: center !important; align-items: center !important;
}
.empty-state__icon { font-size: 150px !important; color: var(--accent) !important; margin-bottom: 30px !important; opacity: 0.5 !important; display: block !important; line-height: 1 !important; }
.empty-state__title { font-size: 28px !important; font-weight: 700 !important; color: var(--ink) !important; margin-bottom: 15px !important; margin-top: 0 !important; font-family: var(--serif) !important; }
.empty-state__desc { font-size: 16px !important; color: var(--mute) !important; margin-bottom: 30px !important; max-width: 500px !important; margin-left: auto !important; margin-right: auto !important; line-height: 1.6 !important; padding: 0 !important; }
.empty-state .btn { padding: 12px 30px !important; font-size: 13px !important; font-weight: 600 !important; text-transform: uppercase !important; border-radius: 4px !important; display: inline-block !important; text-decoration: none !important; background: var(--accent) !important; color: #fff !important; border: none !important; box-shadow: var(--shadow-sm) !important; }
.empty-state .btn:hover { background: var(--accent-2) !important; color: #fff !important; }

/* ===================== RESPONSIVE TWEAKS ===================== */
@media (max-width: 1199px) {
    body { font-size: 15px; }
}
@media (max-width: 991px) {
    .navbar__inner { flex-wrap: nowrap; }
    .home-hero .col-lg-6, .home-hero .col-lg-3 { margin-bottom: 26px; }
    .post-list .post-card { grid-template-columns: 1fr; }
    .post-list .post-card .card__media img { min-height: 220px; }

    .navbar__toggle { display: block; }
    .site-header .navbar .navbar__collapse { display: none !important; flex-direction: column; align-items: stretch !important; width: 100%; padding-top: 14px; }
    .site-header .navbar .navbar__collapse.sopen,
    .site-header .navbar .navbar__collapse.menu-open { display: flex !important; }
    .navbar__list { flex-direction: column; align-items: stretch; width: 100% !important; }
    .navbar__list > li > a { padding: 12px 10px; border-radius: 6px; border-bottom: 1px solid var(--line); }
    .navbar__list > li > a::after { display: none; }
    .header-actions { margin: 0 !important; flex: 0 0 auto; }
}
@media (max-width: 575px) {
    .article__body { padding: 24px 18px; }
    .breadcrumb .page-title { font-size: 30px; }
    .subscribe { gap: 14px; }
}

.search-popup.active { display: block; }
.overlay.active { display: block; }
.hero {
    padding: 64px 0;
    background: linear-gradient(180deg, var(--bg-2), var(--bg));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.hero-content { position: relative; text-align: center; max-width: 880px; margin: 0 auto; padding: 8px 0; }
.hero-content h1,
.hero-content h2 {
    font-family: var(--serif);
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.15; font-weight: 800; color: var(--ink);
    letter-spacing: -0.02em; margin: 0; text-wrap: balance;
}
.hero-content h1::after,
.hero-content h2::after {
    content: ""; display: block; width: 76px; height: 4px; margin: 24px auto 0;
    border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.hero-content p { max-width: 640px; margin: 18px auto 0; color: var(--mute); font-size: 17px; }
@media (max-width: 575px) { .hero { padding: 44px 0; } .hero-content h1, .hero-content h2 { font-size: 26px; } }
