/* Episode archive, article and in-browser editor */
.ep-skip{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}.ep-skip:focus{left:12px;top:12px;width:auto;height:auto;z-index:1000;padding:10px;background:white;color:black}
.ep-hero{background:linear-gradient(120deg,#245d96 0%,#4081bd 55%,#2a679e 100%);color:#f8f6f2;padding:clamp(48px,7vw,86px) 0 54px}.ep-hero .wrap{max-width:1000px}.ep-hero h1{font-size:clamp(2.4rem,5vw,4.6rem);line-height:1.08;letter-spacing:-.035em;margin:8px 0 18px;color:white}.ep-hero p{max-width:730px;font-size:1.1rem;line-height:1.6;color:#fff}.ep-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.73rem!important;font-weight:700;color:#a56a45;line-height:1.6}.ep-hero .ep-eyebrow{color:#f4c7a7}.ep-search{margin-top:32px;max-width:810px}.ep-search label{display:block;margin-bottom:9px;font-weight:700;color:white}.ep-search-row{display:flex;gap:9px}.ep-search input{flex:1;width:100%;min-width:0;font:inherit;border:1px solid #9a9ca7;border-radius:6px;padding:14px;background:#fff;color:#15151b}.ep-search button,.ep-empty button,.ep-primary{border:0;border-radius:6px;padding:13px 22px;background:#f0b388;color:#251308;font:inherit;font-weight:750;cursor:pointer}.ep-search button:hover,.ep-primary:hover{background:#ffd4b8}.ep-search input:focus,.ep-search button:focus-visible,.ep-tag-list a:focus-visible{outline:3px solid #a4c5fa;outline-offset:2px}.ep-quick-topics{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:15px;font-size:.84rem;color:#d6d0cb}.ep-quick-topics a{display:inline-block;border:1px solid #777585;border-radius:50px;padding:4px 11px;color:#f2ede8;text-decoration:none}.ep-quick-topics a:hover{border-color:#f0b388}
.ep-archive{padding-top:45px;padding-bottom:85px}.ep-archive-bar{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:24px}.ep-archive-bar h2{margin:0 0 5px;font-size:1.8rem}.ep-archive-bar p{margin:0;color:#fff;font-weight:600}.ep-archive-bar a{font-weight:700}.ep-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:22px}.ep-card{border:1px solid #dcdde2;background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 5px 22px rgba(17,23,36,.055);display:flex;flex-direction:column;min-width:0}.ep-card .ep-image{display:block;aspect-ratio:16/9;background:#15151b;overflow:hidden}.ep-image img{display:block;width:100%;height:100%;object-fit:cover}.ep-image-fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;background:radial-gradient(circle at 38% 28%,#634031,#13131c 70%);color:#fff;font-weight:900;font-size:clamp(2rem,4vw,3.5rem);letter-spacing:.15em}.ep-image-fallback span{font-size:.62rem;letter-spacing:.23em;margin-top:10px;color:#f0bb98}.ep-card-body{padding:22px;display:flex;flex-direction:column;flex:1}.ep-card-body .ep-eyebrow{margin:0 0 7px}.ep-card-body h2{font-size:1.34rem;line-height:1.3;margin:0 0 9px}.ep-card-body h2 a{color:#22232b;text-decoration:none}.ep-card-body h2 a:hover{text-decoration:underline}.ep-card-body>p:not(.ep-eyebrow){color:#50525d;line-height:1.5;font-size:.95rem;margin:0 0 22px}.ep-read-more{margin-top:auto;font-weight:750;text-decoration:none}.ep-empty{text-align:center;margin:20px auto 60px;padding:50px 20px;border:1px dashed #bfc1c9;border-radius:10px;max-width:780px}.ep-empty h3{font-size:1.5rem}.ep-empty button{margin-top:10px}
.ep-page{background:#fbfaf8;min-height:80vh}.ep-body{padding:28px 0 80px;max-width:1130px}.ep-breadcrumb{display:flex;align-items:center;gap:11px;font-size:.85rem;color:#777;margin-bottom:39px}.ep-article-head{max-width:910px;margin-bottom:42px}.ep-article-head h1{font-size:clamp(2.3rem,4.5vw,4.2rem);line-height:1.12;letter-spacing:-.04em;margin:7px 0 14px;color:#181a20}.ep-dek{font-size:1.27rem;line-height:1.5;color:#555763;max-width:770px}.ep-article-layout{display:grid;grid-template-columns:minmax(0,730px) minmax(210px,290px);gap:clamp(28px,4vw,62px);align-items:start}.ep-prose{font-size:1.08rem;line-height:1.78;color:#292a32}.ep-prose p{margin:0 0 1.35em}.ep-prose .ep-lead{font-size:1.25rem;line-height:1.65;font-weight:500;color:#22232b}.ep-player,.ep-panel,.ep-related{margin-top:42px}.ep-player h2,.ep-panel h2,.ep-related h2{font-size:1.5rem;margin:0 0 17px}.ep-embed{position:relative;aspect-ratio:16/9;width:100%;background:#141414;border-radius:9px;overflow:hidden}.ep-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.ep-player-missing{margin:30px 0;padding:17px 19px;border-left:3px solid #e1ae88;background:#f6f1ea;font-size:.95rem;color:#54515c}.ep-player-missing p{margin:0}.ep-panel{border-top:1px solid #dedde0;padding-top:28px}.ep-panel ul{padding-left:22px}.ep-panel li{margin:9px 0;line-height:1.55}.ep-links li span{color:#71707a;margin-left:6px;font-size:.92rem}.ep-related{border-top:1px solid #dedde0;padding-top:30px}.ep-related-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.ep-back{margin-top:45px}.ep-side{position:sticky;top:22px}.ep-side-panel{padding:23px;border:1px solid #e0dfe4;border-radius:9px;background:white}.ep-side-panel h2{margin:0 0 14px;font-size:1.1rem}.ep-tag-list{display:flex;flex-wrap:wrap;gap:7px}.ep-tag-list a{display:inline-block;background:#f3ece5;color:#704327;border-radius:30px;padding:5px 10px;text-decoration:none;font-size:.8rem}.ep-tag-list a:hover{background:#eac7ae}.ep-browse{display:inline-block;margin-top:20px;text-decoration:none;font-size:.88rem;font-weight:700}
/* editor */
.ep-editor-shell{max-width:1300px;margin:auto;padding:35px 22px 95px}.ep-editor-head{display:flex;justify-content:space-between;align-items:start;gap:16px;margin-bottom:22px}.ep-editor-head h1{font-size:clamp(2rem,4vw,3.3rem);margin:4px 0 7px}.ep-editor-head p{max-width:760px;color:#5d5d64}.ep-editor-layout{display:grid;grid-template-columns:270px minmax(0,1fr);gap:22px}.ep-editor-panel{border:1px solid #d7d8de;border-radius:12px;background:white;padding:22px;min-width:0}.ep-editor-sidebar{align-self:start;position:sticky;top:20px}.ep-editor-sidebar input{width:100%}.ep-editor-list{list-style:none;padding:0;max-height:480px;overflow:auto;margin:14px -8px}.ep-editor-list li{margin:0}.ep-editor-list button{display:block;width:100%;text-align:left;cursor:pointer;border:0;border-radius:8px;background:transparent;padding:10px;color:#222;font:inherit}.ep-editor-list button:hover,.ep-editor-list button[aria-current="true"]{background:#f0e8e2}.ep-editor-list small{display:block;color:#777;font-size:.72rem;margin-top:3px}.ep-editor-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.ep-editor-btn{padding:9px 13px;font:inherit;font-weight:650;border:1px solid #b5b7c2;border-radius:7px;background:#fff;color:#333;cursor:pointer}.ep-editor-btn:hover{background:#f5f3f0}.ep-editor-btn-primary{background:#2f3240;color:white;border-color:#2f3240}.ep-editor-btn-primary:hover{background:#1e202c}.ep-editor-field{margin:0 0 18px}.ep-editor-field label{display:block;font-weight:700;font-size:.9rem;margin:0 0 7px;color:#333}.ep-editor-field input,.ep-editor-field textarea,.ep-editor-field select{display:block;width:100%;padding:10px 12px;border:1px solid #b9bac2;border-radius:6px;color:#20222b;background:#fff;font:inherit}.ep-editor-field textarea{resize:vertical;min-height:90px;line-height:1.5}.ep-editor-field .ep-editor-hint{font-size:.81rem;color:#6e6e78;margin:6px 0 0}.ep-editor-grid2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ep-editor-section{padding-top:19px;margin-top:19px;border-top:1px solid #dcdde0}.ep-editor-section h2{font-size:1.32rem;margin:0 0 14px}.ep-editor-line{display:flex;align-items:center;gap:8px;margin-bottom:8px}.ep-editor-line input{min-width:0;flex:1;padding:10px;border:1px solid #b9bac2;border-radius:6px;font:inherit}.ep-editor-line .ep-editor-btn{flex:none}.ep-editor-status{border-radius:8px;background:#f0eee9;padding:13px 16px;margin:15px 0;line-height:1.5}.ep-editor-status[data-error="true"]{background:#fff0ed;color:#922c1c}.ep-editor-details{border:1px solid #d7d8de;border-radius:8px;padding:14px;margin-top:20px}.ep-editor-details summary{cursor:pointer;font-weight:700}.ep-editor-warning{background:#f8f4eb;border-left:3px solid #bb8c45;padding:11px 15px;color:#645236;font-size:.89rem}.ep-editor-preview{padding:16px 21px;background:#fbfaf8;border:1px dashed #c3c3c9;border-radius:7px;line-height:1.7;margin-top:14px}.ep-editor-preview p{margin:0 0 15px}.ep-editor-toolbar{position:sticky;bottom:0;background:#fafafaee;backdrop-filter:blur(8px);padding:12px;border:1px solid #dedee1;border-radius:9px;z-index:5;display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
@media(max-width:820px){.ep-article-layout{grid-template-columns:1fr}.ep-side{position:static;grid-row:1}.ep-article-head{margin-bottom:22px}.ep-editor-layout{grid-template-columns:1fr}.ep-editor-sidebar{position:static}.ep-editor-list{max-height:160px}.ep-editor-grid2{grid-template-columns:1fr}}
@media(max-width:580px){.ep-search-row{flex-direction:column}.ep-search button{width:100%}.ep-archive-bar{align-items:start;flex-direction:column}.ep-hero{padding-top:38px}.ep-editor-shell{padding-left:13px;padding-right:13px}.ep-editor-panel{padding:15px}.ep-editor-head{flex-direction:column}.ep-editor-toolbar{position:static}}

/* Contrast safeguards: primary site uses white text on a blue background. */
.ep-page{color:#252632}
.ep-editor-panel{color:#252632}
.ep-editor-status{color:#252632}
.ep-archive-bar p{color:#fff}
.ep-editor-head p{color:#e5e9f2}
.ep-editor-head a{color:#fff}


/* December 2026 readability refinements: avoid pale text on the article's light page. */
.ep-page .ep-panel h2,
.ep-page .ep-related h2,
.ep-page .ep-player h2,
.ep-page .ep-panel li,
.ep-page .ep-related,
.ep-page .ep-back { color:#252632; }
.ep-page .ep-panel a,
.ep-page .ep-back a,
.ep-page .ep-player a { color:#245c98; font-weight:650; }
.ep-page .ep-links li span { color:#4a4b55; }
.ep-page .ep-panel a:hover,
.ep-page .ep-back a:hover { color:#174472; }
.ep-archive #ep-count { color:#fff; font-weight:700; }
.ep-archive .ep-archive-bar h2,
.ep-archive .ep-archive-bar a { color:#fff; }
.ep-hero .ep-quick-topics,
.ep-hero .ep-quick-topics span,
.ep-hero .ep-quick-topics a { color:#fff; }
.ep-hero .ep-quick-topics a { border-color:rgba(255,255,255,.7); }

/* Latest recap articles on the homepage; source of truth is data/episodes.json. */
.ep-home-section .ep-home-head { margin-bottom:24px; }
.ep-home-section .ep-home-head .section-title,
.ep-home-section .ep-home-view-all { color:#fff; }
.ep-home-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px; }
.ep-home-card { display:flex;flex-direction:column;min-width:0;overflow:hidden;
 border:1px solid rgba(255,255,255,.24);border-radius:22px;
 background:linear-gradient(145deg,rgba(46,105,164,.97),rgba(28,65,113,.98));
 color:#fff;box-shadow:0 17px 40px rgba(16,45,76,.16); }
.ep-home-content { padding:clamp(23px,3vw,34px);display:flex;flex-direction:column;flex:1; }
.ep-home-thumb { display:block;aspect-ratio:16/9;overflow:hidden;background:#122c52; }
.ep-home-thumb img { width:100%;height:100%;object-fit:cover;display:block; }
.ep-home-date { color:#ffe0c6!important;font-size:.78rem;font-weight:850;letter-spacing:.13em;
 text-transform:uppercase;margin:0 0 19px!important;line-height:1.4; }
.ep-home-date time { color:inherit; }
.ep-home-card h3 { font-family:"Guanine",system-ui,sans-serif;font-size:clamp(1.7rem,3vw,2.55rem);
 line-height:1.12;margin:0 0 16px;color:#fff; }
.ep-home-card h3 a { color:#fff;text-decoration:none; }
.ep-home-card h3 a:hover { text-decoration:underline;text-underline-offset:3px; }
.ep-home-summary { color:#fff!important;font-size:1.04rem;line-height:1.65;margin:0 0 28px!important; }
.ep-home-read { color:#fff;text-decoration:none;font-weight:800;font-size:.99rem;margin-top:auto; }
.ep-home-read:hover { text-decoration:underline;text-underline-offset:3px; }
.ep-home-card a:focus-visible { outline:3px solid #ffe0c6;outline-offset:3px; }
@media(min-width:1200px){.ep-home-grid:has(> :nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px){.ep-home-grid{grid-template-columns:1fr}.ep-home-content{padding:24px}.ep-home-card h3{font-size:2rem}}
