/* ============================================================
   VOLT — Ghost Theme
   Vogue × Esquire × The Verge editorial aesthetic
   Barlow Condensed display · DM Sans body
   Magenta × Black × White
   ============================================================ */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
    --magenta:        #FF0099;
    --magenta-dark:   #CC007A;
    --magenta-subtle: rgba(255, 0, 153, 0.08);
    --black:          #0A0A0A;
    --off-black:      #111111;
    --white:          #FFFFFF;
    --paper:          #FAFAF8;
    --grey-100:       #F2F2F0;
    --grey-200:       #E4E4E0;
    --grey-400:       #A8A8A4;
    --grey-600:       #5A5A56;
    --font-display:   'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
    --font-body:      'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --container:      1120px;
    --content-max:    680px;
    --transition:     0.2s ease;
    --radius:         8px;
    --shadow-card:    0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.07);
    --shadow-raise:   0 4px 20px rgba(0,0,0,0.12), 0 1px 4px rgba(0,0,0,0.06);
    --nav-h:          56px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: var(--magenta); color: var(--white); }

/* ── Container ───────────────────────────────────────────────── */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 56px);
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--grey-200);
    transition: border-color var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--magenta); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-h);
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 56px);
}
.logo-link { text-decoration: none; flex-shrink: 0; }
.site-logo { max-height: 26px; width: auto; }
.site-title-text {
    font-family: var(--font-display);
    font-size: 1.3rem; font-style: italic; font-weight: 900;
    letter-spacing: 0.06em; color: var(--black); text-transform: uppercase;
}
.site-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 32px; }
.nav-link {
    font-size: 0.65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.18em;
    color: var(--grey-600); text-decoration: none;
    position: relative; padding-bottom: 2px;
    transition: color var(--transition);
}
.nav-link:hover { color: var(--black); }
.nav-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: var(--magenta);
    transition: width var(--transition);
}
.nav-link:hover::after,
.nav-link.nav-current::after { width: 100%; }
.nav-link.nav-current { color: var(--black); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.gh-search-icon { color: var(--grey-600); transition: color var(--transition); }
.gh-search-icon:hover { color: var(--magenta); }
.btn-subscribe {
    display: inline-block; padding: 7px 16px;
    background: var(--black); color: var(--white);
    font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.16em;
    text-decoration: none; border-radius: 5px;
    transition: background var(--transition);
}
.btn-subscribe:hover { background: var(--magenta); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--black); transition: var(--transition); }

/* Mobile Nav overlay */
.mobile-nav {
    position: fixed; inset: 0; background: var(--white); z-index: 2000;
    display: flex; align-items: center; justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}
.mobile-nav.is-open { transform: translateY(0); }
.mobile-nav-inner {
    text-align: center; display: flex; flex-direction: column;
    align-items: center; gap: 2px;
}
.mobile-close { position: fixed; top: 18px; right: 18px; font-size: 1.4rem; color: var(--black); cursor: pointer; }
.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-link {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 8vw, 4.8rem);
    font-style: italic; font-weight: 900; letter-spacing: 0.02em;
    color: var(--black); text-decoration: none; display: block; line-height: 1.1;
    transition: color var(--transition);
}
.mobile-nav-link:hover { color: var(--magenta); }
.mobile-nav-inner .btn-subscribe { margin-top: 28px; }
.nav-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.45);
    z-index: 1999; opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.nav-overlay.is-visible { opacity: 1; pointer-events: all; }

/* Reading progress */
.reading-progress {
    position: fixed; top: 0; left: 0; width: 0%; height: 3px;
    background: var(--magenta); z-index: 9999; transition: width 0.1s linear;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   Desktop: 44/56 split (editorial text | full-bleed carousel)
   ≤ 900px: stacked
═══════════════════════════════════════════════════════════════ */
.site-hero {
    display: grid;
    grid-template-columns: 44% 56%;
    min-height: 90vh;
    margin-top: var(--nav-h);
}

.hero-left {
    display: flex; align-items: flex-end;
    padding: 48px clamp(24px, 4vw, 64px) 56px;
    background: var(--white);
    border-right: 1px solid var(--grey-200);
    position: relative;
}
.hero-left::before {
    content: '';
    position: absolute;
    top: 40px; left: clamp(24px, 4vw, 64px);
    width: 40px; height: 3px;
    background: var(--magenta);
}
.hero-left-inner { width: 100%; }

.site-title-display {
    font-family: var(--font-display);
    font-size: clamp(4rem, 8.5vw, 11rem);
    font-weight: 900; font-style: italic;
    line-height: 0.86; letter-spacing: -0.01em;
    color: var(--black); text-transform: uppercase;
}
.hero-rule { display: none; }
.site-desc {
    font-size: 1rem; color: var(--grey-600);
    line-height: 1.6; margin: 20px 0 28px;
    max-width: 360px;
}
.btn-hero-subscribe {
    display: inline-block; padding: 12px 26px;
    background: var(--magenta); color: var(--white);
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.18em;
    text-decoration: none; border-radius: 5px;
    transition: background var(--transition);
}
.btn-hero-subscribe:hover { background: var(--magenta-dark); }

.hero-right {
    position: relative; overflow: hidden;
    background: var(--black);
}
.hero-slides {
    display: flex; height: 100%;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.hero-slide { flex: 0 0 100%; position: relative; }
.hero-post-link { display: block; height: 100%; position: relative; overflow: hidden; }
.hero-post-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; opacity: 0.85; }
.hero-post-link:hover .hero-post-image { transform: scale(1.04); opacity: 1; }
.hero-post-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.1) 55%, transparent 100%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: clamp(24px, 4vw, 52px);
}
.hero-post-tag {
    display: inline-block;
    background: var(--magenta); color: var(--white);
    font-size: 0.6rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.18em;
    padding: 4px 12px; margin-bottom: 12px; border-radius: 3px;
}
.hero-post-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 4rem);
    font-weight: 900; font-style: italic;
    color: var(--white); line-height: 1.0;
    text-transform: uppercase;
}
.hero-dots {
    position: absolute; bottom: 20px; right: 20px;
    display: flex; gap: 8px; z-index: 2;
}
.hero-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255,255,255,0.35); border: none; cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.hero-dot.active { background: var(--white); transform: scale(1.3); }

/* ── Home Latest ─────────────────────────────────────────────── */
.home-latest { padding: 72px 0; }
.section-label-row {
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 2px solid var(--black);
    padding-bottom: 12px; margin-bottom: 40px;
}
.section-label {
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 900; font-style: italic;
    text-transform: uppercase; letter-spacing: 0.08em; color: var(--black);
}
.section-view-all {
    font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--grey-600); text-decoration: none;
    transition: color var(--transition);
}
.section-view-all:hover { color: var(--magenta); }

.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* ── Post Card ───────────────────────────────────────────────── */
.post-card { }
.post-card-link { display: block; text-decoration: none; color: inherit; }
.post-card-image-wrap {
    position: relative; overflow: hidden;
    aspect-ratio: 16 / 10; background: var(--grey-100);
    margin-bottom: 16px; border-radius: var(--radius);
}
.post-card-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s ease; }
.post-card:hover .post-card-image { transform: scale(1.05); }
.post-card-no-image { width: 100%; height: 100%; background: var(--grey-100); }
.post-card-tag {
    position: absolute; top: 12px; left: 12px;
    background: var(--magenta); color: var(--white);
    font-size: 0.58rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.18em;
    padding: 4px 10px; z-index: 1; border-radius: 3px;
}
.post-card-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 1.8vw, 1.5rem);
    font-weight: 900; font-style: italic;
    letter-spacing: 0.01em; line-height: 1.1;
    color: var(--black); margin-bottom: 8px;
    text-transform: uppercase;
    transition: color var(--transition);
}
.post-card:hover .post-card-title { color: var(--magenta); }
.post-card-excerpt {
    font-size: 0.875rem; color: var(--grey-600);
    line-height: 1.65; margin-bottom: 12px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.post-card-meta {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.72rem; color: var(--grey-400); font-weight: 500;
}
.post-card-meta span { color: var(--grey-200); }

/* ── Featured ────────────────────────────────────────────────── */
.home-featured {
    border-top: 1px solid var(--grey-100);
    padding: 56px 0 72px;
}
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.featured-card-link { display: block; text-decoration: none; color: inherit; }
.featured-card-image { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grey-100); margin-bottom: 14px; border-radius: var(--radius); }
.featured-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.featured-card:hover .featured-card-image img { transform: scale(1.04); }
.post-tag { display: inline-block; font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--magenta); margin-bottom: 6px; }
.featured-card-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; font-style: italic; color: var(--black); line-height: 1.1; text-transform: uppercase; margin-bottom: 6px; transition: color var(--transition); }
.featured-card:hover .featured-card-title { color: var(--magenta); }
.featured-card-meta { font-size: 0.72rem; color: var(--grey-400); font-weight: 500; }

/* ── Newsletter ──────────────────────────────────────────────── */
.home-newsletter { background: var(--black); padding: 80px 0; }
.newsletter-block { max-width: 540px; margin: 0 auto; text-align: center; }
.newsletter-heading { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 900; font-style: italic; color: var(--white); text-transform: uppercase; line-height: 1.0; margin-bottom: 28px; }
.newsletter-sub { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.newsletter-form { display: flex; gap: 0; }
.newsletter-input { flex: 1; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); border-right: none; color: var(--white); padding: 13px 18px; font-size: 0.9rem; font-family: var(--font-body); border-radius: 5px 0 0 5px; outline: none; transition: border-color var(--transition); }
.newsletter-input:focus { border-color: var(--magenta); }
.newsletter-input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-btn { background: var(--magenta); color: var(--white); padding: 13px 22px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; border-radius: 0 5px 5px 0; border: none; cursor: pointer; font-family: var(--font-body); white-space: nowrap; transition: background var(--transition); }
.newsletter-btn:hover { background: var(--magenta-dark); }
.newsletter-error { font-size: 0.78rem; color: #f87171; margin-top: 8px; }

/* ── Archive ─────────────────────────────────────────────────── */
.archive-header { padding: clamp(56px, 9vw, 112px) 0 clamp(36px, 5vw, 56px); border-bottom: 2px solid var(--black); margin-bottom: 56px; }
.archive-label { display: block; font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--magenta); margin-bottom: 10px; }
.archive-title { font-family: var(--font-display); font-size: clamp(2.8rem, 6vw, 7rem); font-weight: 900; font-style: italic; color: var(--black); line-height: 0.95; text-transform: uppercase; margin-bottom: 12px; }
.archive-desc { font-size: 1rem; color: var(--grey-600); max-width: 520px; margin-bottom: 10px; }
.archive-count { font-size: 0.75rem; color: var(--grey-400); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }
.archive-avatar { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 20px; }
.post-feed-section { padding-bottom: 80px; }
.post-grid { display: grid; }
.post-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 32px; }
.paged-header { padding: 28px 0 8px; }
.paged-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--grey-400); }

/* ── POST PAGE ───────────────────────────────────────────────── */
.post-header { padding: clamp(48px, 8vw, 96px) 0 40px; border-bottom: 1px solid var(--grey-200); }
.post-header-inner { max-width: var(--content-max); }
.post-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--grey-400); margin-bottom: 18px; font-weight: 500; }
.post-breadcrumb a { color: var(--grey-600); text-decoration: none; transition: color var(--transition); }
.post-breadcrumb a:hover { color: var(--magenta); }
.post-breadcrumb span { color: var(--grey-200); }
.post-primary-tag { display: inline-block; background: var(--magenta); color: var(--white); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; padding: 4px 12px; border-radius: 3px; margin-bottom: 18px; }
.post-title { font-family: var(--font-display); font-size: clamp(2.4rem, 5.5vw, 6rem); font-weight: 900; font-style: italic; color: var(--black); line-height: 0.92; text-transform: uppercase; margin-bottom: 28px; }
.post-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.post-author-info { display: flex; align-items: center; gap: 10px; }
.post-author-avatar { width: 32px; height: 32px; border-radius: 50%; }
.post-author-name { font-size: 0.82rem; font-weight: 600; color: var(--black); text-decoration: none; transition: color var(--transition); }
.post-author-name:hover { color: var(--magenta); }
.post-meta-date, .post-meta-time { font-size: 0.78rem; color: var(--grey-400); font-weight: 500; }

.post-feature-wrap { max-height: 60vh; overflow: hidden; }
.post-feature-image { width: 100%; max-height: 60vh; object-fit: cover; }
.post-feature-caption { font-size: 0.78rem; color: var(--grey-400); text-align: center; padding: 10px 20px; background: var(--grey-100); border-bottom: 1px solid var(--grey-200); }

.post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 56px; padding-top: 52px; padding-bottom: 80px; align-items: start; }
.post-content.gh-content { color: var(--off-black); font-size: 1.05rem; line-height: 1.8; max-width: var(--content-max); }
.post-content.gh-content h1, .post-content.gh-content h2, .post-content.gh-content h3, .post-content.gh-content h4 { font-family: var(--font-display); color: var(--black); font-weight: 900; font-style: italic; text-transform: uppercase; margin: 2em 0 0.75em; line-height: 1.05; }
.post-content.gh-content h2 { font-size: 2rem; }
.post-content.gh-content h3 { font-size: 1.5rem; }
.post-content.gh-content p { margin-bottom: 1.6em; }
.post-content.gh-content a { color: var(--magenta); text-decoration: underline; text-underline-offset: 2px; transition: opacity var(--transition); }
.post-content.gh-content a:hover { opacity: 0.75; }
.post-content.gh-content blockquote { border-left: 3px solid var(--magenta); padding: 12px 24px; margin: 2em 0; background: var(--magenta-subtle); color: var(--black); font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.4; text-transform: uppercase; }
.post-content.gh-content code { background: var(--grey-100); border: 1px solid var(--grey-200); padding: 2px 6px; border-radius: 3px; font-size: 0.88em; color: var(--black); font-family: 'Courier New', monospace; }
.post-content.gh-content pre { background: var(--off-black); padding: 24px; overflow-x: auto; border-radius: var(--radius); margin: 2em 0; }
.post-content.gh-content pre code { background: none; border: none; padding: 0; color: #e2e8f0; font-size: 0.9rem; }
.post-content.gh-content img { border-radius: var(--radius); }
.post-content.gh-content ul, .post-content.gh-content ol { padding-left: 1.5em; margin-bottom: 1.6em; }
.post-content.gh-content li { margin-bottom: 0.5em; }
.post-content.gh-content hr { border: none; border-top: 1px solid var(--grey-200); margin: 2.5em 0; }

.post-tags-wrap { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--grey-200); }
.post-tags-wrap .tags { font-size: 0.8rem; color: var(--grey-400); }
.post-tags-wrap .tags a { color: var(--magenta); text-decoration: none; transition: opacity var(--transition); }
.post-tags-wrap .tags a:hover { opacity: 0.75; }

.post-sidebar { position: sticky; top: 72px; display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget-title { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--grey-400); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--grey-200); }
.sidebar-author { display: flex; flex-direction: column; gap: 8px; }
.sidebar-author-img { width: 52px; height: 52px; border-radius: 50%; margin-bottom: 4px; }
.sidebar-author-name { font-size: 0.9rem; font-weight: 700; color: var(--black); text-decoration: none; transition: color var(--transition); }
.sidebar-author-name:hover { color: var(--magenta); }
.sidebar-author-bio { font-size: 0.82rem; color: var(--grey-600); line-height: 1.6; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-tag { display: inline-block; padding: 4px 10px; background: var(--grey-100); border: 1px solid var(--grey-200); color: var(--grey-600); font-size: 0.72rem; font-weight: 600; text-decoration: none; border-radius: 3px; transition: background var(--transition), color var(--transition); }
.sidebar-tag:hover { background: var(--magenta-subtle); color: var(--magenta); }
.sidebar-post { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--grey-100); }
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post-img { width: 52px; height: 52px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.sidebar-post-info { display: flex; flex-direction: column; gap: 4px; }
.sidebar-post-title { font-size: 0.82rem; font-weight: 600; color: var(--black); text-decoration: none; line-height: 1.35; transition: color var(--transition); }
.sidebar-post-title:hover { color: var(--magenta); }
.sidebar-post-date { font-size: 0.7rem; color: var(--grey-400); }

.post-footer-sections { padding: 48px 0 80px; }
.author-box { display: flex; gap: 20px; align-items: flex-start; padding: 28px; background: var(--paper); border: 1px solid var(--grey-200); border-radius: var(--radius); margin-bottom: 56px; }
.author-box-avatar { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.author-box-label { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--grey-400); font-weight: 700; display: block; margin-bottom: 2px; }
.author-box-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--black); text-decoration: none; display: block; margin-bottom: 8px; }
.author-box-bio { font-size: 0.88rem; color: var(--grey-600); line-height: 1.65; }
.related-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 900; font-style: italic; color: var(--black); text-transform: uppercase; margin-bottom: 28px; padding-bottom: 12px; border-bottom: 2px solid var(--black); }
.related-posts { margin-bottom: 56px; }
.post-nav { display: flex; gap: 1px; background: var(--grey-200); border-radius: var(--radius); overflow: hidden; }
.post-nav-prev, .post-nav-next { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; background: var(--paper); text-decoration: none; transition: background var(--transition); }
.post-nav-prev:hover, .post-nav-next:hover { background: var(--magenta-subtle); }
.post-nav-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--grey-400); font-weight: 700; }
.post-nav-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 900; font-style: italic; color: var(--black); text-transform: uppercase; line-height: 1.2; }
.post-nav-next { text-align: right; }
.post-comments { padding: 0 0 80px; }

/* ── Pagination ──────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 48px 0 0; }
.older-posts, .newer-posts { display: inline-flex; align-items: center; padding: 9px 22px; background: var(--paper); border: 1px solid var(--grey-200); color: var(--black); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; border-radius: 5px; text-decoration: none; transition: background var(--transition), border-color var(--transition); }
.older-posts:hover, .newer-posts:hover { background: var(--magenta); border-color: var(--magenta); color: var(--white); }
.page-number { font-size: 0.78rem; color: var(--grey-400); font-weight: 500; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--grey-200); padding: 24px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-title a { font-family: var(--font-display); font-size: 1rem; font-weight: 900; font-style: italic; text-transform: uppercase; color: var(--black); text-decoration: none; }
.footer-copy, .footer-credit { font-size: 0.78rem; color: var(--grey-400); }
.footer-credit a { color: var(--grey-600); text-decoration: none; transition: color var(--transition); }
.footer-credit a:hover { color: var(--magenta); }

/* ── Error / Page ────────────────────────────────────────────── */
.error-template { min-height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 20px; }
.error-code { font-family: var(--font-display); font-size: 10rem; font-weight: 900; font-style: italic; color: var(--magenta); line-height: 1; margin-bottom: 16px; text-transform: uppercase; }
.error-description { font-size: 1.1rem; color: var(--grey-600); margin-bottom: 32px; }
.error-link { display: inline-block; padding: 12px 28px; background: var(--black); color: var(--white); font-weight: 700; border-radius: 5px; text-decoration: none; }
.page-template .post-layout { grid-template-columns: 1fr; max-width: 720px; }

/* ── Ghost Card Width Classes (required) ─────────────────────── */
.kg-width-wide {
    position: relative;
    width: 85vw;
    min-width: 100%;
    margin: auto calc(50% - 50vw * 0.85);
}
.kg-width-full {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .post-layout { grid-template-columns: 1fr; }
    .post-sidebar { position: relative; top: auto; }
    .post-list, .post-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .newsletter-form { flex-direction: column; }
    .newsletter-input { border-right: 1px solid rgba(255,255,255,0.15); border-radius: 5px; }
    .newsletter-btn { border-radius: 5px; }
}
@media (max-width: 900px) {
    .site-hero { grid-template-columns: 1fr; min-height: auto; }
    .hero-left { border-right: none; border-bottom: 1px solid var(--grey-200); padding-bottom: 48px; }
    .hero-right { min-height: 60vw; max-height: 70vh; }
    .hero-left::before { display: none; }
}
@media (max-width: 768px) {
    .site-nav { display: none; }
    .hamburger { display: flex; }
    .post-list, .post-grid-3 { grid-template-columns: 1fr; }
    .featured-grid { grid-template-columns: 1fr; }
    .post-nav { flex-direction: column; }
    .post-nav-next { text-align: left; }
    .author-box { flex-direction: column; }
    .post-title { font-size: clamp(2.2rem, 8vw, 3.5rem); }
    .footer-inner { justify-content: center; text-align: center; }
}
