/* ═══════════════════════════════════════════════
   THE DEEP HOURS — Main Stylesheet
   ═══════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --tdh-black: #0a0a0a;
    --tdh-black-light: #111111;
    --tdh-dark: #1a1a1a;
    --tdh-dark-mid: #222222;
    --tdh-grey-dark: #333333;
    --tdh-grey: #666666;
    --tdh-grey-light: #999999;
    --tdh-grey-pale: #cccccc;
    --tdh-white: #f0ece4;
    --tdh-white-dim: #c8c4bc;
    --tdh-red: #8b1a1a;
    --tdh-red-bright: #c41e1e;
    --tdh-red-glow: #ff2020;
    --tdh-red-dark: #4a0e0e;
    --tdh-font-display: 'Playfair Display', Georgia, serif;
    --tdh-font-body: 'Crimson Pro', Georgia, serif;
    --tdh-font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --tdh-content-width: 680px;
    --tdh-wide-width: 1200px;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    background: var(--tdh-black);
    color: var(--tdh-white);
    font-family: var(--tdh-font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--tdh-red-bright); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--tdh-white); }

img { max-width: 100%; height: auto; display: block; }

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px); position: absolute; height: 1px;
    width: 1px; overflow: hidden; word-wrap: normal;
}
.screen-reader-text:focus {
    clip: auto; height: auto; width: auto;
    background: var(--tdh-dark); color: var(--tdh-white);
    padding: 12px; z-index: 100000;
}


/* ─── Site Header ─── */
.tdh-site-header {
    padding: 20px 40px;
    display: flex; align-items: center; justify-content: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative; z-index: 100;
    background: var(--tdh-black);
}
.tdh-site-header.tdh-header-overlay {
    position: absolute; top: 0; left: 0; right: 0;
    background: transparent; border-bottom: none;
}
.tdh-header-inner {
    width: 100%; max-width: var(--tdh-wide-width);
    display: flex; align-items: center; justify-content: space-between;
}
.tdh-site-logo {
    font-family: var(--tdh-font-display); font-size: 2rem; font-weight: 700;
    color: var(--tdh-white); text-decoration: none; letter-spacing: 0.02em;
}
.tdh-site-logo span { color: var(--tdh-red-bright); }
.tdh-site-logo img { max-height: 40px; width: auto; }

.tdh-nav { display: flex; gap: 32px; align-items: center; }
.tdh-nav a, .tdh-nav .menu-item a {
    font-family: var(--tdh-font-ui); font-size: 0.75rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--tdh-grey-light); text-decoration: none;
    transition: color 0.3s;
}
.tdh-nav a:hover, .tdh-nav .menu-item a:hover { color: var(--tdh-white); }
.tdh-nav .current-menu-item a { color: var(--tdh-red-bright); }

/* Mobile menu toggle */
.tdh-menu-toggle {
    display: none; background: none; border: none; cursor: pointer;
    width: 28px; height: 20px; position: relative;
}
.tdh-hamburger, .tdh-hamburger::before, .tdh-hamburger::after {
    display: block; width: 100%; height: 2px; background: var(--tdh-white);
    transition: all 0.3s;
}
.tdh-hamburger { position: relative; }
.tdh-hamburger::before { content: ''; position: absolute; top: -8px; }
.tdh-hamburger::after { content: ''; position: absolute; bottom: -8px; }


/* ─── Homepage Hero ─── */
.tdh-hero {
    position: relative; height: 85vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.tdh-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0505 30%, #4a0e0e 60%, #8b1a1a 80%, #2a0808 100%);
    background-size: cover; background-position: center;
}
.tdh-hero-rain {
    position: absolute; inset: 0; opacity: 0.12;
    background-image: repeating-linear-gradient(
        transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px
    );
    animation: tdh-rain 0.5s linear infinite;
}
@keyframes tdh-rain { from { transform: translateY(-4px); } to { transform: translateY(0); } }

.tdh-hero-glow {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 80%, rgba(139,26,26,0.4) 0%, transparent 60%);
}
.tdh-hero-vignette {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(10,10,10,0.8) 100%);
}
.tdh-hero-bottom-fade {
    position: absolute; bottom: 0; left: 0; right: 0; height: 250px;
    background: linear-gradient(to top, var(--tdh-black) 0%, transparent 100%);
}
.tdh-hero-content {
    position: relative; z-index: 5; text-align: center; padding: 40px 20px;
    max-width: 700px;
}
.tdh-hero-tagline {
    font-family: var(--tdh-font-ui); font-size: 0.7rem; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--tdh-white-dim); margin-bottom: 20px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.tdh-hero-title {
    font-family: var(--tdh-font-display); font-size: 4rem; font-weight: 900;
    line-height: 1.05; margin-bottom: 16px; color: var(--tdh-white);
    text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.tdh-hero-subtitle {
    font-family: var(--tdh-font-body); font-size: 1.15rem; font-weight: 300;
    color: var(--tdh-white-dim); line-height: 1.6; margin-bottom: 32px;
    font-style: italic;
}
.tdh-hero-cta {
    display: inline-block; padding: 12px 36px;
    font-family: var(--tdh-font-ui); font-size: 0.75rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--tdh-white);
    background: transparent; border: 1px solid var(--tdh-red);
    text-decoration: none; transition: all 0.3s;
}
.tdh-hero-cta:hover { background: var(--tdh-red); border-color: var(--tdh-red-bright); color: var(--tdh-white); }


/* ─── Section Labels ─── */
.tdh-section-label {
    font-family: var(--tdh-font-ui); font-size: 0.7rem; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--tdh-red-bright); margin-bottom: 32px;
    display: flex; align-items: center; gap: 16px;
}
.tdh-section-label::after {
    content: ''; flex: 1; height: 1px;
    background: linear-gradient(to right, var(--tdh-red-dark), transparent);
}


/* ─── Featured Story Card ─── */
.tdh-featured-section {
    padding: 80px 40px;
    max-width: var(--tdh-wide-width); margin: 0 auto;
}
.tdh-featured-card {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
    background: var(--tdh-black-light); border: 1px solid rgba(255,255,255,0.05);
    overflow: hidden; transition: border-color 0.3s; text-decoration: none;
}
.tdh-featured-card:hover { border-color: rgba(139,26,26,0.3); }
.tdh-featured-image {
    position: relative; overflow: hidden;
}
.tdh-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.tdh-featured-image::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to right, transparent 60%, var(--tdh-black-light) 100%);
}
.tdh-featured-badge {
    position: absolute; top: 16px; left: 16px; z-index: 2;
    font-family: var(--tdh-font-ui); font-size: 0.6rem; letter-spacing: 0.15em;
    text-transform: uppercase; color: var(--tdh-red-bright);
    background: rgba(10,10,10,0.8); padding: 4px 10px; border: 1px solid var(--tdh-red-dark);
}
.tdh-featured-body { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; }
.tdh-featured-genre {
    font-family: var(--tdh-font-ui); font-size: 0.65rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--tdh-red-bright); margin-bottom: 16px;
}
.tdh-featured-title {
    font-family: var(--tdh-font-display); font-size: 2.2rem; font-weight: 700;
    line-height: 1.15; margin-bottom: 16px; color: var(--tdh-white);
}
.tdh-featured-excerpt {
    font-size: 1.05rem; font-weight: 300; color: var(--tdh-grey-light);
    line-height: 1.7; margin-bottom: 24px; font-style: italic;
}
.tdh-featured-meta {
    font-family: var(--tdh-font-ui); font-size: 0.7rem; color: var(--tdh-grey);
    letter-spacing: 0.05em;
}
.tdh-featured-meta span { color: var(--tdh-grey-light); }


/* ─── Story Card Grid ─── */
.tdh-stories-grid-section {
    padding: 0 40px 80px;
    max-width: var(--tdh-wide-width); margin: 0 auto;
}
.tdh-stories-grid, .tdh-archive-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.tdh-archive-grid {
    padding: 32px 40px 80px;
    max-width: var(--tdh-wide-width); margin: 0 auto;
}
.tdh-story-card {
    display: block; text-decoration: none;
    background: var(--tdh-black-light); border: 1px solid rgba(255,255,255,0.04);
    overflow: hidden; transition: all 0.3s;
}
.tdh-story-card:hover { border-color: rgba(139,26,26,0.3); transform: translateY(-2px); }
.tdh-card-image {
    position: relative; overflow: hidden; aspect-ratio: 16/9;
}
.tdh-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tdh-story-card:hover .tdh-card-image img { transform: scale(1.03); }
.tdh-card-gradient {
    position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
    background: linear-gradient(to top, var(--tdh-black-light) 0%, transparent 100%);
    pointer-events: none;
}
.tdh-card-body { padding: 20px 24px 24px; }
.tdh-card-genre {
    font-family: var(--tdh-font-ui); font-size: 0.6rem; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--tdh-red-bright); margin-bottom: 10px;
}
.tdh-card-title {
    font-family: var(--tdh-font-display); font-size: 1.25rem; font-weight: 700;
    line-height: 1.25; color: var(--tdh-white); margin-bottom: 10px;
}
.tdh-card-excerpt {
    font-size: 0.9rem; color: var(--tdh-grey-light); font-weight: 300;
    line-height: 1.6; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.tdh-card-meta {
    font-family: var(--tdh-font-ui); font-size: 0.65rem; color: var(--tdh-grey);
    letter-spacing: 0.05em;
}

/* Placeholder for posts without images */
.tdh-placeholder-image {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a0505, #4a0e0e 50%, #2a0808);
}


/* ─── Archive Page ─── */
.tdh-archive-hero {
    padding: 80px 40px 40px; text-align: center; position: relative;
}
.tdh-archive-hero::after {
    content: ''; position: absolute; bottom: 0; left: 10%; right: 10%;
    height: 1px; background: linear-gradient(to right, transparent, var(--tdh-red-dark), transparent);
}
.tdh-archive-title {
    font-family: var(--tdh-font-display); font-size: 3rem; font-weight: 900;
    margin-bottom: 12px;
}
.tdh-archive-count {
    font-family: var(--tdh-font-ui); font-size: 0.75rem; color: var(--tdh-grey);
    letter-spacing: 0.1em; text-transform: uppercase;
}
.tdh-archive-filters {
    padding: 32px 40px; max-width: var(--tdh-wide-width); margin: 0 auto;
    display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.tdh-filter-btn {
    display: inline-block; padding: 8px 20px;
    background: transparent; border: 1px solid var(--tdh-grey-dark);
    color: var(--tdh-grey-light); font-family: var(--tdh-font-ui); font-size: 0.7rem;
    letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
    transition: all 0.3s;
}
.tdh-filter-btn:hover { border-color: var(--tdh-red); color: var(--tdh-white); }
.tdh-filter-active { background: var(--tdh-red-dark); border-color: var(--tdh-red); color: var(--tdh-white); }

.tdh-pagination {
    padding: 0 40px 80px; text-align: center;
}
.tdh-pagination .nav-links { display: flex; justify-content: center; gap: 8px; }
.tdh-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 1px solid var(--tdh-grey-dark);
    color: var(--tdh-grey-light); font-family: var(--tdh-font-ui); font-size: 0.8rem;
    text-decoration: none; transition: all 0.3s;
}
.tdh-pagination .page-numbers:hover { border-color: var(--tdh-red); color: var(--tdh-white); }
.tdh-pagination .page-numbers.current { background: var(--tdh-red-dark); border-color: var(--tdh-red); color: var(--tdh-white); }

.tdh-no-stories {
    text-align: center; padding: 120px 40px;
    font-style: italic; color: var(--tdh-grey);
}


/* ─── Single Story Hero ─── */
.tdh-single-hero {
    position: relative; height: 70vh; min-height: 500px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.tdh-single-hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0808 40%, #3a0e0e 70%, #1a0505 100%);
}
.tdh-single-hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.5;
}
.tdh-single-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, var(--tdh-black) 0%, rgba(10,10,10,0.3) 50%, rgba(10,10,10,0.6) 100%);
}
.tdh-single-hero-content {
    position: relative; z-index: 5; padding: 0 40px 60px;
    max-width: 800px; text-align: center;
}
.tdh-single-genre {
    font-family: var(--tdh-font-ui); font-size: 0.65rem; letter-spacing: 0.25em;
    text-transform: uppercase; color: var(--tdh-red-bright); margin-bottom: 16px;
    display: inline-block; padding: 4px 12px; border: 1px solid var(--tdh-red-dark);
}
.tdh-single-title {
    font-family: var(--tdh-font-display); font-size: 3.5rem; font-weight: 900;
    line-height: 1.08; margin-bottom: 16px;
}
.tdh-single-subtitle {
    font-family: var(--tdh-font-body); font-size: 1.2rem; font-weight: 300;
    color: var(--tdh-white-dim); font-style: italic; margin-bottom: 24px;
}
.tdh-single-meta {
    font-family: var(--tdh-font-ui); font-size: 0.75rem; color: var(--tdh-grey-light);
    display: flex; gap: 24px; letter-spacing: 0.03em;
}
.tdh-single-meta strong { color: var(--tdh-white); font-weight: 500; }


/* ─── Story Content ─── */
.tdh-story-content {
    max-width: var(--tdh-content-width); margin: 0 auto; padding: 64px 24px 48px;
}
.tdh-story-content > p,
.tdh-story-content > .wp-block-paragraph {
    font-size: 1.15rem; line-height: 1.85; color: var(--tdh-white-dim);
    margin-bottom: 28px; font-weight: 300;
}

/* Drop cap on first paragraph */
.tdh-story-content > p:first-of-type::first-letter,
.tdh-story-content > .wp-block-paragraph:first-of-type::first-letter {
    font-family: var(--tdh-font-display); font-size: 4.5rem; float: left;
    line-height: 0.8; padding-right: 12px; padding-top: 6px;
    color: var(--tdh-red-bright); font-weight: 900;
}

/* Headings in story */
.tdh-story-content > h2,
.tdh-story-content > .wp-block-heading {
    font-family: var(--tdh-font-display); font-size: 1.8rem; font-weight: 700;
    color: var(--tdh-white); margin: 48px 0 24px; padding-top: 32px;
    border-top: 1px solid rgba(139,26,26,0.2);
}
.tdh-story-content > h3 {
    font-family: var(--tdh-font-display); font-size: 1.3rem; font-weight: 600;
    color: var(--tdh-white); margin: 32px 0 16px;
}

/* Blockquotes */
.tdh-story-content > blockquote,
.tdh-story-content > .wp-block-quote {
    margin: 32px 0; padding: 24px 28px;
    border-left: 3px solid var(--tdh-red); border-top: none; border-right: none; border-bottom: none;
    background: rgba(139,26,26,0.06);
    font-style: italic; color: var(--tdh-white);
}
.tdh-story-content > blockquote cite,
.tdh-story-content > .wp-block-quote cite {
    display: block; margin-top: 8px; font-style: normal;
    font-family: var(--tdh-font-ui); font-size: 0.75rem; color: var(--tdh-grey-light);
    letter-spacing: 0.05em;
}

/* Pull quotes */
.tdh-story-content > .wp-block-pullquote {
    margin: 48px -40px; padding: 32px 40px;
    border-top: 2px solid var(--tdh-red-dark); border-bottom: 2px solid var(--tdh-red-dark);
    border-left: none; border-right: none;
    text-align: center;
}
.tdh-story-content > .wp-block-pullquote blockquote p {
    font-family: var(--tdh-font-display); font-size: 1.6rem; font-weight: 400;
    font-style: italic; color: var(--tdh-white); line-height: 1.4;
}

/* Images in story */
.tdh-story-content > figure,
.tdh-story-content > .wp-block-image {
    margin: 40px -60px;
}
.tdh-story-content > figure img,
.tdh-story-content > .wp-block-image img {
    width: 100%; height: auto;
}
.tdh-story-content > figure figcaption,
.tdh-story-content > .wp-block-image figcaption {
    font-family: var(--tdh-font-ui); font-size: 0.7rem; color: var(--tdh-grey);
    text-align: center; padding: 12px 60px 0; letter-spacing: 0.03em;
}

/* Separators */
.tdh-story-content > hr,
.tdh-story-content > .wp-block-separator {
    border: none; height: 1px; margin: 48px auto;
    background: linear-gradient(to right, transparent, var(--tdh-red-dark), transparent);
    max-width: 200px;
}

/* Preformatted (documents, logs) */
.tdh-story-content > pre,
.tdh-story-content > .wp-block-preformatted {
    background: var(--tdh-dark); border: 1px solid var(--tdh-grey-dark);
    padding: 24px; margin: 32px 0; font-size: 0.9rem;
    font-family: 'Courier New', monospace; color: var(--tdh-grey-pale);
    line-height: 1.6; overflow-x: auto;
}

/* Lists in story */
.tdh-story-content > ul, .tdh-story-content > ol,
.tdh-story-content > .wp-block-list {
    margin: 0 0 28px 24px; color: var(--tdh-white-dim);
}
.tdh-story-content > ul li, .tdh-story-content > ol li {
    margin-bottom: 8px; font-weight: 300;
}

/* Glossary styling */
.tdh-story-content .tdh-glossary-heading {
    font-size: 1.5rem; color: var(--tdh-grey-light);
}
.tdh-story-content .tdh-glossary-term {
    font-family: var(--tdh-font-display); font-size: 0.95rem; font-weight: 600;
    color: var(--tdh-red-bright); margin-bottom: 4px;
    border-top: none; padding-top: 0;
}
.tdh-story-content .tdh-glossary-definition {
    font-size: 0.85rem; color: var(--tdh-grey-light); font-weight: 300; line-height: 1.5;
}


/* ─── Post Navigation ─── */
.tdh-post-nav {
    max-width: var(--tdh-content-width); margin: 0 auto; padding: 0 24px 64px;
    border-top: 1px solid rgba(255,255,255,0.05); padding-top: 32px;
}
.tdh-post-nav-inner {
    display: flex; justify-content: space-between;
}
.tdh-post-nav-link {
    text-decoration: none; display: block;
}
.tdh-post-nav-next { text-align: right; }
.tdh-post-nav-label {
    font-family: var(--tdh-font-ui); font-size: 0.7rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--tdh-grey); display: block;
    transition: color 0.3s;
}
.tdh-post-nav-link:hover .tdh-post-nav-label { color: var(--tdh-red-bright); }
.tdh-post-nav-title {
    font-family: var(--tdh-font-display); font-size: 1rem; color: var(--tdh-white-dim);
    margin-top: 6px;
}


/* ─── Newsletter Section ─── */
.tdh-newsletter {
    padding: 80px 40px; text-align: center; position: relative;
    background: linear-gradient(to bottom, var(--tdh-black), var(--tdh-dark), var(--tdh-black));
}
.tdh-newsletter::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0;
    height: 1px; background: linear-gradient(to right, transparent, var(--tdh-red-dark), transparent);
}
.tdh-newsletter-title {
    font-family: var(--tdh-font-display); font-size: 2rem; font-weight: 700;
    margin-bottom: 12px;
}
.tdh-newsletter-sub {
    font-size: 1rem; color: var(--tdh-grey-light); font-weight: 300;
    font-style: italic; margin-bottom: 32px;
}
.tdh-newsletter-form {
    display: flex; gap: 0; max-width: 460px; margin: 0 auto;
}
.tdh-newsletter-form input {
    flex: 1; padding: 12px 18px; background: var(--tdh-dark-mid);
    border: 1px solid var(--tdh-grey-dark); border-right: none; color: var(--tdh-white);
    font-family: var(--tdh-font-ui); font-size: 0.8rem; outline: none;
}
.tdh-newsletter-form input::placeholder { color: var(--tdh-grey); }
.tdh-newsletter-form input:focus { border-color: var(--tdh-red); }
.tdh-newsletter-form button {
    padding: 12px 28px; background: var(--tdh-red); border: 1px solid var(--tdh-red);
    color: var(--tdh-white); font-family: var(--tdh-font-ui); font-size: 0.7rem;
    letter-spacing: 0.15em; text-transform: uppercase; cursor: pointer;
    transition: background 0.3s;
}
.tdh-newsletter-form button:hover { background: var(--tdh-red-bright); }


/* ─── Footer ─── */
.tdh-site-footer {
    padding: 48px 40px 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.tdh-footer-inner {
    max-width: var(--tdh-wide-width); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: flex-end;
}
.tdh-footer-logo {
    font-family: var(--tdh-font-display); font-size: 1.1rem; color: var(--tdh-grey-light);
}
.tdh-footer-logo span { color: var(--tdh-red); }
.tdh-footer-tagline { font-size: 0.85rem; color: var(--tdh-grey); font-style: italic; margin-top: 4px; }
.tdh-footer-nav { display: flex; gap: 24px; }
.tdh-footer-nav a, .tdh-footer-nav .menu-item a {
    font-family: var(--tdh-font-ui); font-size: 0.7rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--tdh-grey); text-decoration: none;
    transition: color 0.3s;
}
.tdh-footer-nav a:hover { color: var(--tdh-white); }
.tdh-footer-copy {
    text-align: center; padding: 24px 40px;
    font-family: var(--tdh-font-ui); font-size: 0.65rem; color: var(--tdh-grey-dark);
    letter-spacing: 0.05em;
}


/* ─── Page Template ─── */
.tdh-page-header {
    padding: 80px 40px 40px; text-align: center;
    border-bottom: 1px solid rgba(139,26,26,0.15);
}
.tdh-page-title {
    font-family: var(--tdh-font-display); font-size: 3rem; font-weight: 900;
}
.tdh-page-content {
    max-width: var(--tdh-content-width); margin: 0 auto; padding: 48px 24px;
}
.tdh-page-content p { margin-bottom: 24px; color: var(--tdh-white-dim); font-weight: 300; line-height: 1.8; }
.tdh-page-content h2 { font-family: var(--tdh-font-display); margin: 40px 0 16px; }


/* ─── 404 ─── */
.tdh-404 {
    text-align: center; padding: 160px 40px;
}
.tdh-404-title {
    font-family: var(--tdh-font-display); font-size: 3.5rem; font-weight: 900;
    margin-bottom: 16px;
}
.tdh-404-text {
    font-size: 1.1rem; color: var(--tdh-grey-light); font-style: italic;
    margin-bottom: 40px;
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .tdh-featured-card { grid-template-columns: 1fr; }
    .tdh-featured-image { aspect-ratio: 16/9; }
    .tdh-featured-image::after {
        background: linear-gradient(to bottom, transparent 60%, var(--tdh-black-light) 100%);
    }
    .tdh-stories-grid, .tdh-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .tdh-site-header { padding: 16px 20px; }
    .tdh-menu-toggle { display: block; }
    .tdh-nav {
        display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(10,10,10,0.97); flex-direction: column;
        align-items: center; justify-content: center; gap: 24px; z-index: 99;
    }
    .tdh-nav.tdh-nav-open { display: flex; }
    .tdh-nav a, .tdh-nav .menu-item a { font-size: 1rem; letter-spacing: 0.15em; }

    .tdh-hero { height: 75vh; min-height: 500px; }
    .tdh-hero-title { font-size: 2.8rem; }
    .tdh-hero-content { padding: 0 20px 40px; }

    .tdh-featured-section { padding: 48px 20px; }
    .tdh-featured-body { padding: 24px 20px 28px; }
    .tdh-featured-title { font-size: 1.6rem; }

    .tdh-stories-grid, .tdh-archive-grid { grid-template-columns: 1fr; }
    .tdh-stories-grid-section { padding: 0 20px 48px; }
    .tdh-archive-grid { padding: 24px 20px 48px; }

    .tdh-single-hero { height: 60vh; }
    .tdh-single-title { font-size: 2.4rem; }
    .tdh-single-hero-content { padding: 0 20px 40px; }
    .tdh-single-meta { flex-direction: column; gap: 4px; }

    .tdh-story-content { padding: 40px 20px 48px; }
    .tdh-story-content > figure,
    .tdh-story-content > .wp-block-image { margin-left: -20px; margin-right: -20px; }
    .tdh-story-content > .wp-block-pullquote { margin-left: -20px; margin-right: -20px; padding: 24px 20px; }

    .tdh-story-content > p:first-of-type::first-letter,
    .tdh-story-content > .wp-block-paragraph:first-of-type::first-letter {
        font-size: 3.5rem;
    }

    .tdh-post-nav-inner { flex-direction: column; gap: 24px; }
    .tdh-post-nav-next { text-align: left; }

    .tdh-newsletter { padding: 48px 20px; }
    .tdh-newsletter-form { flex-direction: column; }
    .tdh-newsletter-form input { border-right: 1px solid var(--tdh-grey-dark); }

    .tdh-footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
    .tdh-footer-nav { flex-wrap: wrap; }

    .tdh-archive-hero { padding: 60px 20px 32px; }
    .tdh-archive-title { font-size: 2.2rem; }
    .tdh-archive-filters { padding: 24px 20px; }

    .tdh-page-header { padding: 60px 20px 32px; }
    .tdh-page-title { font-size: 2.2rem; }
    .tdh-page-content { padding: 32px 20px; }

    .tdh-404 { padding: 100px 20px; }
    .tdh-404-title { font-size: 2.5rem; }
}

/* Hide outline and title-page blocks from story content
   (outline is admin-only metadata; title page duplicates the hero section) */
.tdh-story-content .tdh-outline-heading,
.tdh-story-content .tdh-outline-list,
.tdh-story-content .tdh-title-page {
    display: none !important;
}

@media (max-width: 480px) {
    .tdh-hero-title { font-size: 2.2rem; }
    .tdh-single-title { font-size: 2rem; }
  