/* BBC Academy uses the TALK page layouts and their existing responsive rules. */
:root {
    --bbc-ink: #38282c;
    --bbc-wine: #861e32;
    --bbc-red: #b32038;
    --bbc-line: #e7d5d9;
    --bbc-blush: #fcf6f7;
}
.entry-page.theme-bbc {
    --primary: var(--bbc-red);
    --primary-hover: #94172b;
    --teal: #763b4b;
    --teal-hover: #5d2d3b;
    --white-panel: var(--bbc-blush);
}
.entry-page.theme-bbc.no-bg {
    --text: var(--bbc-ink);
    --muted: #58484d;
    --muted-strong: #46343a;
    --title-shadow: none;
    --copy-shadow: none;
    background: linear-gradient(#fff 12%, #fcf7f8 66%, #fff);
}
.theme-bbc.no-bg .top-bar,
.academy-watch .watch-page.no-bg .bbc-watch-art {
    background: #ac0711 url("stage.webp") center 44% / cover;
}
.bbc-title-art,
.bbc-watch-art {
    position: relative;
    isolation: isolate;
    text-align: center;
}
.bbc-title-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(255px, 22vw, 334px);
    padding: 24px 0;
}
.bbc-title-art::before,
.bbc-watch-art::before {
    content: "";
    position: absolute;
    inset: 12% 0 20%;
    z-index: -1;
    background: #ff302c;
    opacity: .7;
    mask: url("waveform.webp") center / clamp(760px, 94vw, 1320px) auto no-repeat;
}
.bbc-title-art .main-logo { display: block; width: clamp(300px, 29vw, 402px); height: auto; }
.bbc-period { display: block; margin-top: 12px; color: white; font-size: clamp(15px, 1.25vw, 18px); font-weight: 650; letter-spacing: .025em; }
.theme-bbc .sponsor-logo { z-index: 1; }
.theme-bbc .entry-pill, .theme-bbc .closed-pill {
    border-color: #e3c1c8;
    background: linear-gradient(#fff, #fbf1f3);
    color: var(--bbc-wine);
}
.theme-bbc .field { border-color: #d9ccd0; background: white; color: var(--bbc-ink); }
.theme-bbc .field:focus { border-color: var(--bbc-red); box-shadow: 0 0 0 2px #b3203820; }
.theme-bbc .notice-panel { background: #fffdfd; border-color: var(--bbc-line); }
.theme-bbc .notice-title, .theme-bbc .attendance-step-copy strong { color: var(--bbc-wine); }
.theme-bbc .attendance-step-badge { background: linear-gradient(135deg, #8c1a30, #ba2940); box-shadow: 0 10px 20px #7b1e3021; }
.theme-bbc .attendance-step-copy, .theme-bbc .notice-body { color: var(--bbc-ink); }
.theme-bbc .notice-body, .theme-bbc .entry-footer { border-color: var(--bbc-line); }

.reg-modal-head, .academy-registration .head { color: var(--bbc-wine); background: #f4e5e8; border-color: var(--bbc-line); }
.reg-modal-card, .reg-close { border-color: var(--bbc-line); }
.reg-close { color: var(--bbc-wine); background: #fffafa; }
.reg-close:hover { background: #f8ecef; }
.academy-registration { --bg: #fbf7f8; --border: var(--bbc-line); --text: var(--bbc-ink); }
.academy-registration.embed { background: var(--bbc-blush); }
.academy-registration .form-row label, .academy-registration .consent-head { color: var(--bbc-wine); }
.academy-registration .submit-btn { background: var(--bbc-red); border-color: var(--bbc-wine); }
.academy-registration .submit-btn:hover { background: var(--bbc-wine); }
.academy-registration input { accent-color: var(--bbc-red); }
.academy-registration .privacy-box { background: #fdfafb; border-color: var(--bbc-line); }

.academy-watch .bbc-watch-art {
    display: grid;
    place-items: center;
    min-height: clamp(208px, 18vw, 268px);
    padding: 20px 0;
}
.bbc-watch-art::before { inset: 0; }
.academy-watch .bbc-watch-art img { width: clamp(295px, 26vw, 374px); height: auto; max-height: none; }
.academy-watch { --accent: var(--bbc-wine); }
.academy-watch .attendee-welcome::before, .academy-watch .attendee-welcome-badge,
.academy-watch .tab.active, .academy-watch .ask-btn, .academy-watch .btn-blue,
.academy-watch .feedback-action-btn, .academy-watch .poll-submit-btn { background: var(--bbc-red); color: white; }
.academy-watch .btn-orange, .academy-watch .btn-purple, .academy-watch .feedback-modal-head { background: #743344; }
.academy-watch .section-title, .academy-watch .highlight { color: var(--bbc-wine); }
.academy-watch .vod-link.active { color: var(--bbc-wine); background: var(--bbc-blush); border-color: #c8909a; }
.academy-watch .poll-result-bar { background: var(--bbc-red); }
@media (max-width: 920px) {
    .theme-bbc .top-bar:has(.bbc-title-art) { padding-top: 0; }
}
@media (max-width: 640px) {
    .bbc-title-art { min-height: 213px; padding: 56px 0 22px; }
    .bbc-title-art .main-logo { width: min(56%, 270px); }
    .bbc-title-art::before { inset: 52px 0 42px; mask-size: 142% auto; }
    .bbc-period { margin-top: 9px; font-size: 14px; }
    .academy-watch .bbc-watch-art { min-height: 162px; padding: 46px 0 16px; }
    .bbc-watch-art::before { inset: 46px 0 16px; mask-size: 142% auto; }
    .academy-watch .bbc-watch-art img { width: min(54%, 244px); }
}
.bbc-browser-guide, .bbc-client-footer, .bbc-privacy { white-space: normal; }
.bbc-browser-guide > strong { color: var(--bbc-wine); font-size: 18px; }
.bbc-browser-guide > div { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.bbc-browser-guide img { width: 42px; height: 42px; object-fit: contain; }
.bbc-browser-guide a, .bbc-client-footer a { color: var(--bbc-wine); }
