/* The Week Ahead is one editorial document shared by the page and email. */
.legal-page { width: min(100%, 860px); padding-top: clamp(24px, 4vw, 44px); }
.week-ahead-post {
  --wa-green: var(--good, #38d39f); --wa-gold: var(--accent, #f5c518); --wa-red: var(--dropped, #ff4d5e); --wa-blue: #6aa3ff;
  padding: clamp(20px, 4vw, 34px); border-color: color-mix(in srgb, var(--border) 72%, var(--wa-green));
  background: radial-gradient(circle at 92% 0, color-mix(in srgb, var(--wa-green) 8%, transparent), transparent 30%), linear-gradient(180deg, color-mix(in srgb, var(--bg-elev) 94%, #071522), var(--bg-elev));
  box-shadow: 0 24px 70px rgb(0 0 0 / 26%);
}
.week-ahead-masthead { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 20px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.week-ahead-brand { display:inline-flex; align-items:center; gap:9px; color:var(--text); font-weight:900; text-decoration:none; }
.week-ahead-brand img { width:30px; height:30px; object-fit:contain; }
.week-ahead-brand span span { color:var(--wa-green); }
.week-ahead-masthead > p { margin:0; color:var(--text-dim); font-size:.66rem; font-weight:800; line-height:1.35; letter-spacing:.08em; text-align:right; text-transform:uppercase; }
.week-ahead-date { margin:0 0 6px; color:var(--text-dim); font-size:.76rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.week-ahead-title { margin:0 0 8px; color:var(--text); font-size:clamp(1.8rem, 4vw, 2.65rem); line-height:1.04; letter-spacing:-.035em; }
.week-ahead-summary { max-width:68ch; margin:0 0 18px; color:var(--text-muted); font-size:.98rem; line-height:1.55; }
.week-ahead-body { min-width:0; }
.week-ahead-body .week-ahead-img { display:block; max-width:100%; height:auto; border-radius:12px; object-fit:cover; }
.week-ahead-body > p:first-child { margin-top:0; }
.week-ahead-body .week-ahead-img--hero, .week-ahead-body > p:first-child > .week-ahead-img:only-child { width:100%; max-height:330px; margin-bottom:4px; aspect-ratio:16/7; object-fit:cover; border:1px solid var(--border); }
.week-ahead-body .week-ahead-icon { width:auto; height:1.1em; margin-right:.3em; border-radius:4px; vertical-align:-.2em; }
.week-ahead-section { margin-top:24px; padding-top:22px; border-top:1px solid var(--border); }
.week-ahead-section > h2 { display:flex; align-items:center; gap:9px; margin:0 0 14px; color:var(--text); font-size:1.3rem; line-height:1.2; }
.week-ahead-section-icon { flex:0 0 auto; width:24px; height:24px; object-fit:contain; }
.week-ahead-section p, .week-ahead-section li { color:var(--text-muted); font-size:.9rem; line-height:1.55; }
.week-ahead-section p { margin:0 0 10px; }
.week-ahead-section a { color:var(--wa-gold); text-underline-offset:3px; }
.week-ahead-section--in-this-issue { margin-top:16px; padding:15px 16px; border:1px solid var(--border); border-radius:12px; background:color-mix(in srgb, var(--bg-elev-2) 80%, transparent); }
.week-ahead-section--in-this-issue > h2 { font-size:1rem; }
.week-ahead-section--in-this-issue ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px 24px; margin:0; padding:0; list-style:none; }
.week-ahead-section--in-this-issue li { margin:0; }
.week-ahead-section--in-this-issue a { font-weight:800; }
.week-ahead-section--in-this-issue a::after { content:' →'; }
.week-ahead-entry { display:flow-root; min-width:0; margin-bottom:12px; padding:14px; border:1px solid var(--border); border-radius:12px; background:color-mix(in srgb, var(--bg-elev-2) 88%, transparent); }
.week-ahead-entry > h3 { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; min-width:0; margin:0 0 7px; color:var(--text); font-size:1rem; line-height:1.25; }
.week-ahead-entry > h3 > span:first-child { min-width:0; }
.week-ahead-entry > p:has(> .week-ahead-img:only-child) { float:left; width:116px; margin:0 16px 8px 0; }
.week-ahead-entry .week-ahead-img--poster, .week-ahead-entry > p:has(> .week-ahead-img:only-child) .week-ahead-img { width:100%; height:150px; border-radius:9px; object-fit:cover; }
.week-ahead-entry .week-ahead-img--feature { width:100%; height:116px; object-fit:cover; }
.week-ahead-status { flex:0 0 auto; display:inline-block; padding:5px 7px; border-radius:5px; color:#07100d; font-size:.61rem; font-weight:950; line-height:1; letter-spacing:.05em; white-space:nowrap; }
.week-ahead-status--danger { color:#fff; background:var(--wa-red); }
.week-ahead-status--good { background:var(--wa-green); }
.week-ahead-status--warning { color:#080b10; background:var(--wa-gold); }
.week-ahead-status--info { color:#06101e; background:var(--wa-blue); }
.week-ahead-entry--cancelled { border-color:color-mix(in srgb,var(--wa-red) 70%,var(--border)); }
.week-ahead-section--pick-of-the-week .week-ahead-entry { border-color:color-mix(in srgb,var(--wa-gold) 55%,var(--border)); }
.week-ahead-section--pick-of-the-week .week-ahead-entry > p:has(> .week-ahead-img:only-child) { width:42%; min-width:180px; }
.week-ahead-section--pick-of-the-week .week-ahead-entry > p:has(> .week-ahead-img:only-child) .week-ahead-img { width:100%; height:190px; }
.week-ahead-section--new-this-week, .week-ahead-section--talking-points, .week-ahead-section--endings-cancellations, .week-ahead-section--coming-up { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.week-ahead-section--new-this-week > h2, .week-ahead-section--new-this-week > p, .week-ahead-section--talking-points > h2, .week-ahead-section--talking-points > p, .week-ahead-section--endings-cancellations > h2, .week-ahead-section--endings-cancellations > p, .week-ahead-section--coming-up > h2, .week-ahead-section--coming-up > p { grid-column:1/-1; }
.week-ahead-section--new-this-week .week-ahead-entry, .week-ahead-section--talking-points .week-ahead-entry, .week-ahead-section--endings-cancellations .week-ahead-entry, .week-ahead-section--coming-up .week-ahead-entry { margin:0; }
.week-ahead-schedule-day { display:block; padding:0; overflow:hidden; border-radius:9px; }
.week-ahead-schedule-day > h3 { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:0; padding:8px 11px; background:color-mix(in srgb,var(--bg-elev-2) 70%,var(--wa-blue) 8%); font-size:.78rem; letter-spacing:.02em; }
.week-ahead-schedule-day > h3 time { color:var(--text-dim); font-size:.72rem; font-weight:750; }
.week-ahead-schedule-list { margin:0; padding:0; list-style:none; }
.week-ahead-schedule-list li { display:grid; grid-template-columns:minmax(0,42%) minmax(0,1fr) 64px; align-items:center; gap:10px; margin:0; padding:8px 11px; border-top:1px solid var(--border); color:var(--text-muted); }
.week-ahead-schedule-list li:nth-child(even) { background:color-mix(in srgb,var(--bg-elev-2) 74%,transparent); }
.week-ahead-schedule-list li strong { color:var(--text); }
.week-ahead-schedule-title { grid-column:1; min-width:0; color:var(--text); font-weight:750; }
.week-ahead-schedule-meta { grid-column:2; min-width:0; color:var(--text-muted); }
.week-ahead-schedule-time { grid-column:3; color:var(--text-dim); font-weight:750; text-align:right; white-space:nowrap; }
.week-ahead-schedule-title .week-ahead-icon, .week-ahead-schedule-meta .week-ahead-icon { margin-right:6px; }
.week-ahead-section--endings-cancellations .week-ahead-entry--cancelled { min-height:184px; }
@media (min-width:721px) {
  .week-ahead-section--endings-cancellations .week-ahead-entry:not(.week-ahead-entry--cancelled) { min-height:92px; padding:10px; }
  .week-ahead-section--endings-cancellations .week-ahead-entry:not(.week-ahead-entry--cancelled) > p:has(> .week-ahead-img:only-child) { width:62px; margin-right:10px; }
  .week-ahead-section--endings-cancellations .week-ahead-entry:not(.week-ahead-entry--cancelled) > p:has(> .week-ahead-img:only-child) .week-ahead-img { width:62px; height:78px; }
  .week-ahead-section--endings-cancellations .week-ahead-entry:not(.week-ahead-entry--cancelled) > h3 { align-items:center; margin-bottom:4px; font-size:.88rem; }
  .week-ahead-section--endings-cancellations .week-ahead-entry:not(.week-ahead-entry--cancelled) > p { margin-bottom:4px; font-size:.74rem; line-height:1.35; }
  .week-ahead-section--endings-cancellations .week-ahead-entry:not(.week-ahead-entry--cancelled) .week-ahead-status { padding:4px 6px; font-size:.52rem; }
  .week-ahead-section--coming-up { grid-template-columns:repeat(6,minmax(0,1fr)); }
  .week-ahead-section--coming-up .week-ahead-entry--new-series { grid-column:span 3; order:1; min-height:184px; }
  .week-ahead-section--coming-up .week-ahead-entry:not(.week-ahead-entry--new-series) { grid-column:span 2; order:2; min-height:108px; padding:10px; }
  .week-ahead-section--coming-up .week-ahead-entry:not(.week-ahead-entry--new-series) > p:has(> .week-ahead-img:only-child) { width:66px; margin-right:9px; }
  .week-ahead-section--coming-up .week-ahead-entry:not(.week-ahead-entry--new-series) > p:has(> .week-ahead-img:only-child) .week-ahead-img { width:66px; height:88px; }
  .week-ahead-section--coming-up .week-ahead-entry:not(.week-ahead-entry--new-series) > h3 { flex-direction:column; gap:5px; margin-bottom:4px; font-size:.82rem; }
  .week-ahead-section--coming-up .week-ahead-entry:not(.week-ahead-entry--new-series) > p { margin-bottom:3px; font-size:.7rem; line-height:1.34; }
  .week-ahead-section--coming-up .week-ahead-entry:not(.week-ahead-entry--new-series) .week-ahead-status { align-self:flex-start; padding:4px 6px; font-size:.5rem; }
}
.week-ahead-signoff { display:grid; gap:5px; margin-top:30px; padding-top:20px; border-top:1px solid var(--border); text-align:center; }
.week-ahead-signoff strong { color:var(--text); font-size:1.08rem; }
.week-ahead-signoff span { color:var(--text-dim); font-size:.84rem; }
.week-ahead-previous { max-width:760px; margin-inline:auto; }
.week-ahead-list { margin:0; padding-left:1.2rem; }
.week-ahead-list li { margin:6px 0; color:var(--text-muted); }
.week-ahead-list a { color:var(--accent); }
@media (max-width:720px) {
  .week-ahead-section--new-this-week, .week-ahead-section--talking-points, .week-ahead-section--endings-cancellations, .week-ahead-section--coming-up { grid-template-columns:1fr; }
  .week-ahead-entry { padding:12px; }
  .week-ahead-entry > p:has(> .week-ahead-img:only-child) { width:92px; margin-right:12px; }
  .week-ahead-entry .week-ahead-img--poster, .week-ahead-entry > p:has(> .week-ahead-img:only-child) .week-ahead-img { width:92px; height:126px; }
  .week-ahead-schedule-list li { grid-template-columns:minmax(0,1fr) auto; gap:4px 10px; }
  .week-ahead-schedule-title { grid-column:1; grid-row:1; }
  .week-ahead-schedule-meta { grid-column:1/-1; grid-row:2; }
  .week-ahead-schedule-time { grid-column:2; grid-row:1; }
}
@media (max-width:480px) {
  .legal-page { padding-inline:max(10px,env(safe-area-inset-left)); }
  .week-ahead-post { padding:16px 13px; }
  .week-ahead-masthead > p { display:none; }
  .week-ahead-section--in-this-issue ul { grid-template-columns:1fr; }
  .week-ahead-entry > p:has(> .week-ahead-img:only-child), .week-ahead-section--pick-of-the-week .week-ahead-entry > p:has(> .week-ahead-img:only-child) { width:76px; min-width:0; margin-right:10px; }
  .week-ahead-entry .week-ahead-img--poster, .week-ahead-entry > p:has(> .week-ahead-img:only-child) .week-ahead-img { width:76px; height:106px; }
  .week-ahead-entry > h3 { flex-direction:column; gap:6px; }
  .week-ahead-section--pick-of-the-week .week-ahead-entry > p:has(> .week-ahead-img:only-child) .week-ahead-img { height:120px; }
}
