/* Detail-only covers. Text stays in the document at both breakpoints. */
.detail-cover {
  --ink:#102b51; --accent:#ff9479; --focus:60% 45%;
  position:relative; isolation:isolate; overflow:hidden; display:grid;
  align-items:end; min-height:clamp(430px,36vw,610px); color:white; background:var(--ink);
}
.detail-cover .bb-window {position:absolute;z-index:-2;inset:0 0 0 21%;overflow:hidden;margin:0;border:0;border-radius:0;clip-path:none}
.detail-cover .bb-window img {width:100%;height:100%;display:block;object-fit:cover;object-position:var(--focus);filter:none}
.detail-cover .bb-window::after {display:none}
.detail-cover::before {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--ink) 8%,color-mix(in srgb,var(--ink) 94%,transparent) 28%,color-mix(in srgb,var(--ink) 68%,transparent) 45%,transparent 73%)}
.detail-cover .bb-inner {display:block;width:min(49%,670px);margin:0 0 0 max(5vw,calc((100% - 1280px)/2));padding:54px 16px 48px 0;background:none}
.detail-cover .bb-channel {align-items:center;gap:12px;margin:0 0 24px;font-weight:650;font-size:13px;color:white}
.detail-cover .bb-channel span {display:inline-block;color:var(--accent);font:700 12px/1.3 Arial,sans-serif;letter-spacing:.14em;border-top:2px solid currentColor;border-bottom:1px solid currentColor;background:none;padding:6px 0}
.detail-cover .bb-inner h1 {margin:0 0 16px;color:white;font:850 clamp(46px,4.1vw,70px)/1.12 EventDisplay,sans-serif;letter-spacing:-.055em;word-break:keep-all}
.detail-cover .bb-lead {max-width:36ch;color:#f2f5fa;font-size:clamp(15px,1.24vw,19px);line-height:1.65;margin:0 0 24px}
.detail-cover .bb-actions {display:flex;flex-wrap:wrap;gap:8px}
.detail-cover .bb-actions a {display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid #b8c7d8;border-radius:6px;background:var(--ink);color:white;padding:9px 14px;font-size:14px;font-weight:750}
.detail-cover .bb-actions a:first-child {background:white;color:var(--ink);border-color:white}
.detail-cover a:focus-visible {outline:3px solid var(--accent);outline-offset:3px}
.detail-cover.theme-school {--ink:#102f59;--accent:#ffbe82;--focus:57% 52%}
.detail-cover.theme-church {--ink:#203f40;--accent:#f3d895;--focus:52% 45%}
.detail-cover.theme-esports {--ink:#161b37;--accent:#b6d8ff}
.detail-cover.theme-esports .bb-window {inset:0 0 0 30%;clip-path:polygon(11% 0,100% 0,100% 100%,0 100%)}
.detail-cover.theme-rental {--ink:#211c29;--accent:#f6c297;--focus:55% 48%}
.detail-cover.theme-domino {--ink:#402e30;--accent:#ffd093}
.detail-cover.theme-corporate {--ink:#122e43;--accent:#9edcce}
.detail-cover.theme-airbounce,.detail-cover.theme-graduation {color:var(--ink);background:#f5f3ed;align-items:center}
.detail-cover.theme-airbounce {--ink:#134c51;--accent:#276969}
.detail-cover.theme-graduation {--ink:#532e40;--accent:#935e6c;background:#f7f1ed}
.detail-cover:is(.theme-airbounce,.theme-graduation)::before {display:none}
.detail-cover:is(.theme-airbounce,.theme-graduation) .bb-window {inset:8% 5% 8% 52%;background:#fff;box-shadow:0 10px 34px #1d26341a}
.detail-cover:is(.theme-airbounce,.theme-graduation) .bb-window img {object-fit:contain}
.detail-cover.theme-graduation .bb-window {border:10px solid white;transform:rotate(1deg)}
.detail-cover:is(.theme-airbounce,.theme-graduation) :is(.bb-inner h1,.bb-channel,.bb-lead) {color:var(--ink)}
.detail-cover.theme-graduation .bb-inner h1 {font-family:GraduationTitle,serif}
.detail-cover:is(.theme-airbounce,.theme-graduation) .bb-actions a:first-child {background:var(--ink);color:white}
.detail-cover:is(.theme-airbounce,.theme-graduation) .bb-actions a:not(:first-child) {background:white;color:var(--ink);border-color:#b6aeaa}
.program-card .restored-poster,.program-card[data-cat="middle"] .card-img,.program-card[data-cat="special"] .card-img {background:#f4f6fa;width:100%;height:auto;aspect-ratio:16/9;overflow:hidden}
.program-card .restored-poster img,.program-card[data-cat="middle"] .card-img img,.program-card[data-cat="special"] .card-img img {width:100%;height:100%;object-fit:contain;display:block}
.ch-feature {margin:0;align-self:center;background:#183c42;color:white;border-radius:12px;overflow:hidden}
.ch-feature img {display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.ch-feature figcaption {padding:14px 20px;color:white;font-size:1rem;letter-spacing:-.02em;font-weight:750}
@media(max-width:760px){
 .detail-cover {display:flex;align-items:flex-end;min-height:540px}
 .detail-cover .bb-window,.detail-cover.theme-esports .bb-window {inset:0 0 auto;height:64%;clip-path:none}
 .detail-cover::before {background:linear-gradient(0deg,var(--ink) 0 33%,color-mix(in srgb,var(--ink) 94%,transparent) 44%,color-mix(in srgb,var(--ink) 54%,transparent) 60%,transparent 77%)}
 .detail-cover .bb-inner {width:100%;max-width:540px;margin:0;padding:160px 22px 28px}
 .detail-cover .bb-channel {margin:0 0 12px}
 .detail-cover .bb-inner h1 {font-size:clamp(35px,9vw,54px);line-height:1.13;margin:0 0 12px}
 .detail-cover .bb-lead {font-size:15px;max-width:38ch;margin:0 0 18px}
 .detail-cover .bb-actions a {font-size:13px;padding:8px 11px}
 .detail-cover:is(.theme-airbounce,.theme-graduation) {display:grid;min-height:0;padding:22px;gap:20px}
 .detail-cover:is(.theme-airbounce,.theme-graduation) .bb-window {position:relative;inset:auto;z-index:0;width:100%;height:auto;aspect-ratio:16/9;box-sizing:border-box}
 .detail-cover:is(.theme-airbounce,.theme-graduation) .bb-window img {position:absolute;inset:0}
 .detail-cover:is(.theme-airbounce,.theme-graduation) .bb-inner {padding:0;margin:0}
}

/* Keep the two-column church spreads only where both columns have content. */
.edition-church .ch-two:has(> :only-child) {grid-template-columns:1fr}
.edition-church .ch-img-wrap:has(> .ch-img-cap:only-child) .ch-img-cap {position:static;color:#31435a;background:#eef2f6;padding:12px 16px}
.rental-print {align-self:stretch;display:grid;align-content:center;gap:30px;min-height:240px;border-radius:12px;padding:clamp(24px,4vw,54px);color:#fff;background:linear-gradient(115deg,#16403e 65%,#285953 65% 74%,#31665f 74% 84%,#477a70 84%)}
.rental-print strong {font-size:clamp(26px,3vw,46px);letter-spacing:-.055em;line-height:1.23}
.rental-print span {display:inline-block;margin:0 10px 4px 0;border-top:1px solid #adcfc7;padding-top:8px;color:#edf6ef;font-weight:650}
.edition-domino .op-card:nth-child(2) .pt-window:empty {background:repeating-linear-gradient(130deg,#a34a32 0 8px,#f9d696 8px 11px,#473330 11px 22px)}

.domino-print {align-self:stretch;display:flex;flex-direction:column;justify-content:flex-end;gap:12px;min-height:250px;padding:clamp(24px,4vw,48px);border-radius:12px;color:#fff6e7;background:linear-gradient(23deg,#49352e 45%,transparent 75%),repeating-linear-gradient(115deg,#75523f 0 15px,#dda970 15px 28px,#513d35 28px 34px)}
.domino-print strong {font-size:clamp(32px,3.5vw,52px);line-height:1.12;letter-spacing:-.055em}
.domino-print span {color:#ffdfad;font-size:15px}
.sound-levels {position:absolute;inset:15% 0 15% 60%;z-index:-1;background:repeating-linear-gradient(90deg,#c29b7f 0 4px,transparent 4px 11px);opacity:.7;clip-path:polygon(0 42%,8% 34%,16% 46%,24% 24%,32% 32%,40% 9%,48% 26%,56% 0,64% 31%,72% 18%,80% 37%,88% 30%,100% 45%,100% 55%,88% 70%,80% 63%,72% 82%,64% 69%,56% 100%,48% 74%,40% 91%,32% 68%,24% 76%,16% 54%,8% 66%,0 58%)}
