/*
Theme Name: This House Divided
Theme URI: https://thishousedivided.com/
Author: This House Divided
Description: Custom sports journalism theme for rival teams under one roof. Includes optional first-story import via Appearance > THD Launch.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: this-house-divided
*/
:root{--navy:#111e2c;--deep:#09141f;--ink:#1e2b37;--gold:#e4b966;--paper:#faf8f3;--cream:#eee8dc;--muted:#667482;--red:#bb3e42;--blue:#80c5e8}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;line-height:1.65}a{color:inherit}a:hover{color:#966d29}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{line-height:1.13;letter-spacing:-.04em}h1,h2{font-weight:900}h1{font-size:clamp(3.5rem,8.7vw,8.1rem)}h2{font-size:clamp(2rem,4vw,3.4rem)}.wrap{max-width:1180px;margin:auto;padding:0 25px}.site-header{background:var(--deep);color:#fff;border-bottom:1px solid #314253}.nav-wrap{max-width:1230px;margin:auto;min-height:87px;padding:13px 25px;display:flex;justify-content:space-between;align-items:center;gap:25px}.brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;line-height:1.05}.brand-mark{display:grid;place-items:center;border:2px solid var(--gold);width:48px;height:48px;transform:rotate(-6deg);font-weight:950;font-size:19px;color:var(--gold)}.brand-title{display:block;font-size:20px;font-weight:950;letter-spacing:-.06em}.brand-title b{color:var(--gold)}.brand-sub{font-size:10px;letter-spacing:.21em;text-transform:uppercase;color:#acb8c2;font-weight:800}.nav-links{display:flex;gap:24px;align-items:center}.nav-links a{font-weight:800;font-size:13px;text-decoration:none;text-transform:uppercase;letter-spacing:.07em;color:#e3e7ec}.nav-links a:hover{color:var(--gold)}.masthead{background:radial-gradient(circle at 85% 35%,#304b62,#111e2c 62%);color:white;overflow:hidden}.masthead-inner{max-width:1180px;padding:85px 25px 100px;margin:auto;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:38px}.eyebrow,.category,.top-label{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:900;color:#9f7d43}.top-label{color:var(--gold)}.masthead h1{margin:19px 0 25px;line-height:.98}.masthead h1 em{font-style:normal;color:var(--gold)}.masthead-copy{max-width:590px;color:#c8d0d9;font-size:17px}.pill{display:inline-flex;background:var(--gold);color:var(--deep);padding:12px 20px;font-weight:900;text-decoration:none;text-transform:uppercase;font-size:12px;letter-spacing:.09em;border-radius:3px}.hero-art{min-height:370px;position:relative;overflow:hidden;transform:rotate(4deg);box-shadow:12px 22px 0 #07111b;border:7px solid #c4a25f;background:linear-gradient(144deg,#9e2834 0 49.7%,#f4e8ce 49.75% 50.25%,#5aaccf 50.3%)}.hero-art span{position:absolute;color:white;text-transform:uppercase;font-weight:950;font-size:clamp(32px,4vw,56px);letter-spacing:-.06em;left:20px}.hero-art .top-team{top:40px}.hero-art .bottom-team{right:18px;left:auto;bottom:30px;text-align:right}.hero-art .versus{top:43%;left:40%;color:#121e2b;background:var(--gold);padding:0px 14px;font-size:31px;transform:rotate(-4deg)}.section{padding-top:77px;padding-bottom:85px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:25px}.section-head h2{margin:10px 0 0}.featured{display:grid;grid-template-columns:1fr 1fr;background:white;box-shadow:0 11px 45px #111e2c13;border:1px solid #eee4d8}.featured-illustration{padding:35px;min-height:345px;background:linear-gradient(135deg,#152a42,#355a78);display:flex;flex-direction:column;justify-content:space-between;color:white}.news-tag{align-self:flex-start;background:var(--gold);color:#0e2030;font-weight:900;text-transform:uppercase;font-size:11px;padding:8px 11px;letter-spacing:.06em}.year{font-weight:1000;font-size:clamp(3rem,6vw,5.7rem);letter-spacing:-.08em;line-height:1}.year span{color:var(--gold)}.featured-detail{padding:45px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.featured-detail h3{font-size:clamp(27px,3vw,41px);margin:14px 0}.featured-detail p{color:#5e6974}.read-link{font-size:12px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#8e642e;text-decoration:none;margin-top:12px}.rivalry-panel{background:var(--cream);padding:75px 0}.rivalry-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.rivalry-grid h2{margin:20px 0}.rivalry-grid p{max-width:510px;color:#4e5a62}.rivalry-plate{background:var(--navy);padding:35px;color:white;border-top:7px solid var(--gold);box-shadow:10px 10px 0 #ded5c6}.plate-eyebrow{color:var(--gold);font-weight:900;letter-spacing:.17em;text-transform:uppercase;font-size:11px}.rivalry-match{display:grid;grid-template-columns:1fr auto 1fr;gap:9px;align-items:center;margin:32px 0 20px}.team{font-size:clamp(18px,2.5vw,30px);font-weight:950;letter-spacing:-.04em;line-height:1.1}.team-a{color:#ec8387}.team-b{color:#96d4f3;text-align:right}.vs{color:var(--gold);font-weight:950}.rivalry-plate p{color:#c6d3df}.rivalry-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:25px}.rivalry-controls button{cursor:pointer;border:1px solid #4e6072;background:transparent;color:#e7edf3;padding:9px 12px;font-size:12px;font-weight:800}.rivalry-controls button.selected,.rivalry-controls button:hover{background:var(--gold);color:var(--navy);border-color:var(--gold)}.about-block{padding:80px 0;max-width:820px}.about-block p{font-size:18px;color:#54616c}.site-footer{background:var(--deep);color:white;padding:36px 0}.footer-content{display:flex;justify-content:space-between;gap:25px}.footer-content strong{font-size:20px}.footer-content small{display:block;color:#a6b5c1}.footer-content a{color:var(--gold)}.article-header{background:#13263a;color:white;padding:74px 0 66px}.article-header .wrap{max-width:960px}.article-header h1{font-size:clamp(2.6rem,6vw,5.7rem);line-height:1.06;margin:18px 0 24px}.article-deck{font-size:clamp(17px,2.4vw,22px);max-width:850px;color:#cfdae4}.article-meta{color:var(--gold);text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:850}.reading-container{max-width:870px;padding:60px 25px 95px;margin:auto}.article-body{font-family:Georgia,'Times New Roman',serif;font-size:19px;line-height:1.82;color:#273543}.article-body h2,.article-body h3{font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;scroll-margin-top:35px}.article-body h2{font-size:32px;margin:57px 0 19px;border-top:1px solid #e0d8cd;padding-top:30px}.article-body h3{font-size:24px;margin:36px 0 15px}.article-body a{color:#8b5927;text-underline-offset:3px}.article-body p{margin-bottom:24px}.article-body hr{border:none;border-top:1px solid #ded3c4;margin:40px 0}.article-body ol{padding-left:27px}.article-body li{margin-bottom:10px}.article-table-wrap{overflow:auto}.article-body table{border-collapse:collapse;font-family:system-ui,Arial,sans-serif;font-size:14px;line-height:1.5;width:100%;min-width:580px}.article-body th,.article-body td{text-align:left;padding:11px 13px;border-bottom:1px solid #ddd8d0}.article-body th{background:#162c40;color:white}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:35px 0}.story-card{background:#fff;border:1px solid #e9e1d6;padding:26px}.story-card h3{font-size:26px}.story-card a{text-decoration:none}.empty-note{margin:30px 0}.page-main{min-height:55vh;padding:70px 0}.page-main h1{font-size:clamp(3rem,6vw,5rem)}.pagination{margin:24px 0}.screen-reader-text{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.skip-link:focus{position:fixed;clip-path:none;width:auto;height:auto;top:10px;left:10px;z-index:1000;background:white;color:black;padding:10px}@media(max-width:800px){.masthead-inner,.featured,.rivalry-grid{grid-template-columns:1fr}.hero-art{min-height:250px;max-width:560px}.archive-grid{grid-template-columns:1fr 1fr}.masthead-inner{padding-top:55px}.featured-illustration{min-height:250px}.nav-wrap{flex-wrap:wrap}.nav-links{gap:16px}.featured-detail{padding:30px}}@media(max-width:520px){.brand-title{font-size:16px}.brand-mark{width:38px;height:38px;font-size:15px}.nav-links a{font-size:11px}.masthead h1{font-size:clamp(3rem,14vw,5rem)}.masthead-inner{padding-bottom:60px}.hero-art{min-height:210px}.rivalry-plate{padding:21px}.archive-grid{grid-template-columns:1fr}.footer-content{flex-direction:column}.article-body{font-size:17px}.article-body h2{font-size:27px}.reading-container{padding-top:38px}}


/* Longform feature article components */
.article-body .thd-feature-hero,.article-body .thd-figure{margin:0 0 2rem 0;border-radius:18px;overflow:hidden;background:#fff;border:1px solid #dde5ee;box-shadow:0 14px 35px rgba(17,30,44,.08)}
.article-body .thd-feature-hero{background:#0b1324}
.article-body .thd-feature-hero img,.article-body .thd-figure img{display:block;width:100%;height:auto}
.article-body .thd-feature-hero figcaption,.article-body .thd-figure figcaption,.article-body figcaption{padding:.95rem 1rem 1rem;font-size:.92rem;line-height:1.55;color:#506071;background:#f6f8fb;font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif}
.article-body .thd-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.4rem 0 1.8rem}
.article-body .thd-grid-2 .thd-figure{margin:0}
.article-body .thd-section-note{margin:-.4rem 0 1.3rem 0;font-size:1rem;color:#445164;font-style:italic;font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif}
.article-body .thd-pullout{margin:2rem 0;padding:1.25rem 1.25rem 1.3rem;border-left:5px solid var(--gold);background:#f8fafc;border-radius:10px;font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;box-shadow:0 6px 18px rgba(17,30,44,.05)}
.article-body .thd-pullout h4{margin:0 0 .65rem 0;font-size:1.15rem;line-height:1.25}
.article-body .thd-pullout p:last-child{margin-bottom:0}
.article-body .thd-credits{font-size:.93rem;color:#617084}
.article-body blockquote{margin:2rem 0;padding:1rem 1.2rem;border-left:4px solid var(--gold);background:#fbf8f0;font-family:Georgia,'Times New Roman',serif;font-size:1.1em;color:#1d2a36}
.article-body .wp-caption,.article-body .wp-block-image{margin:1.6rem 0}
.article-body .wp-block-image figcaption{font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;font-size:.92rem;color:#506071}
@media(max-width:800px){.article-body .thd-grid-2{grid-template-columns:1fr}}
