/* ==================================================================
   CFC Videos: block styles.
   Colours and fonts come from the theme's theme.json presets, with
   Canaries fallbacks so the blocks still look right in any theme.
   Rule: canary only on black; amber = fills with black text.
   ================================================================== */

:root {
	--cfc-black: var(--wp--preset--color--black, #000);
	--cfc-ink: var(--wp--preset--color--ink, #111);
	--cfc-body: var(--wp--preset--color--body, #2b2b2b);
	--cfc-muted: var(--wp--preset--color--muted, #6f6f6f);
	--cfc-rule: var(--wp--preset--color--rule, #e3e3e3);
	--cfc-soft: var(--wp--preset--color--soft, #f4f4f2);
	--cfc-paper: var(--wp--preset--color--paper, #fff);
	--cfc-canary: var(--wp--preset--color--canary, #fdf705);
	--cfc-amber: var(--wp--preset--color--amber, #fcbb01);
	--cfc-display: var(--wp--preset--font-family--display, "Newsreader", Georgia, serif);
	--cfc-ui: var(--wp--preset--font-family--ui, "Archivo", "Helvetica Neue", Arial, sans-serif);
}

.cfc-i { flex: none; vertical-align: -3px; }
.cfc-hint {
	margin: 0; padding: 12px 14px; border: 1px dashed #c9c9c9; background: repeating-linear-gradient(-45deg, #fafafa 0 8px, #f3f3f3 8px 16px);
	color: var(--cfc-muted); font: 500 13px/1.4 var(--cfc-ui);
}

/* ---------- Section titles: amber rule + tracked caps (Magazilla heading) */
.cfc-section-title {
	margin: 0 0 18px; padding-top: 12px; border-top: 4px solid var(--cfc-amber);
	font: 800 13px/1.2 var(--cfc-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--cfc-ink);
}
.cfc-section-title.is-small { border-top-width: 2px; font-size: 11px; margin-bottom: 12px; }

/* ---------- Thumbnail (shared) --------------------------------------- */
.cfc-thumb {
	position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #111;
}
.cfc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.cfc-thumb-empty { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, #1b1b1b, #000); }
.cfc-thumb.is-short::before {
	content: ""; position: absolute; inset: -40px; background: var(--cfc-img) center / cover;
	filter: blur(var(--cfc-blur, 24px)) brightness(.55) saturate(1.2);
}
.cfc-thumb.is-short img { position: relative; object-fit: contain; }
.cfc-duration {
	position: absolute; right: 8px; bottom: 8px; padding: 2px 6px;
	background: rgba(0,0,0,.86); color: #fff; font: 700 12px/1.3 var(--cfc-ui); letter-spacing: .02em;
	font-variant-numeric: tabular-nums;
}
.cfc-flag {
	position: absolute; left: 8px; bottom: 8px; padding: 2px 7px;
	font: 800 10px/1.4 var(--cfc-ui); letter-spacing: .12em; text-transform: uppercase;
}
.cfc-flag.is-short { background: var(--cfc-amber); color: #000; }
.cfc-flag.is-unavailable { top: 8px; bottom: auto; background: #000; color: var(--cfc-canary); }

/* ---------- Topic chip (amber fill, black text) ---------------------- */
.cfc-topic-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.cfc-chip,
.cfc-topic-chips a {
	display: inline-block; padding: 3px 8px 2px; background: var(--cfc-amber); color: #000 !important;
	font: 800 11px/1.4 var(--cfc-ui); letter-spacing: .12em; text-transform: uppercase; text-decoration: none !important;
	transition: background-color .15s, color .15s;
}
.cfc-card-media .cfc-chip { position: absolute; left: 10px; top: 10px; }
.cfc-topic-chips a:hover, .cfc-topic-chips a:focus-visible { background: #000; color: var(--cfc-canary) !important; }
.cfc-topic-chips .wp-block-post-terms__separator { display: inline-block; width: 6px; font-size: 0; }

/* ---------- Player ---------------------------------------------------- */
.cfc-player { position: relative; }
.cfc-player-frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.cfc-player.is-vertical .cfc-player-frame { aspect-ratio: 9 / 16; max-height: 82vh; margin-inline: auto; }
.cfc-player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cfc-player-facade {
	all: unset; position: absolute; inset: 0; cursor: pointer; display: block;
}
.cfc-player-facade .cfc-thumb { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.cfc-player-facade::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
	transition: background-color .2s;
}
.cfc-play {
	position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%;
	display: grid; place-items: center; width: clamp(64px, 9vw, 96px); aspect-ratio: 1;
	border-radius: 50%; background: var(--cfc-amber); color: #000;
	box-shadow: 0 0 0 0 rgba(252,187,1,.55), 0 10px 30px rgba(0,0,0,.35);
	transition: transform .2s cubic-bezier(.2,.7,.2,1), background-color .2s, box-shadow .3s;
}
.cfc-play .cfc-i { width: 42%; height: 42%; margin-left: 8%; }
.cfc-player-cta {
	position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff;
	font: 800 12px/1 var(--cfc-ui); letter-spacing: .16em; text-transform: uppercase;
}
.cfc-player-facade:hover .cfc-play,
.cfc-player-facade:focus-visible .cfc-play { transform: scale(1.08); background: var(--cfc-canary); box-shadow: 0 0 0 12px rgba(253,247,5,.18), 0 10px 30px rgba(0,0,0,.35); }
.cfc-player-facade:hover .cfc-thumb img { transform: scale(1.02); }
.cfc-player-facade:focus-visible { outline: 3px solid var(--cfc-canary); outline-offset: -3px; }
.cfc-player-notice {
	position: absolute; inset: 0; display: grid; place-content: center; gap: 6px; text-align: center;
	background: rgba(0,0,0,.72); color: #fff; font: 500 15px/1.4 var(--cfc-ui);
}
.cfc-player-notice strong { color: var(--cfc-canary); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; }
.cfc-player-noscript { position: absolute; inset: auto 0 0 0; padding: 10px; background: #000; color: #fff; text-align: center; }

/* ---------- Byline ---------------------------------------------------- */
.cfc-byline {
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px;
	font: 500 13px/1.4 var(--cfc-ui); color: var(--cfc-muted);
}
.cfc-byline-channel { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.cfc-avatar { display: block; border-radius: 50%; object-fit: cover; background: #222; }
.cfc-avatar.is-empty { display: grid; place-items: center; color: var(--cfc-canary); font-weight: 800; }
.cfc-byline-who { display: flex; flex-direction: column; }
.cfc-byline-name { color: var(--cfc-ink); font-weight: 800; font-size: 15px; text-decoration: none; }
.cfc-byline-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.cfc-byline-subs { font-size: 12px; }
.cfc-byline-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.cfc-byline-meta li { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; color: var(--cfc-body); }
.cfc-byline-meta .cfc-i { color: var(--cfc-muted); }
.cfc-meta-label { color: var(--cfc-muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.cfc-byline-badges { display: inline-flex; gap: 4px; }
.cfc-tag-badge { padding: 1px 5px; border: 1.5px solid currentColor; color: var(--cfc-ink); font: 800 10px/1.3 var(--cfc-ui); letter-spacing: .08em; }

/* On black (Theatre band) */
.is-dark .cfc-byline, .is-dark .cfc-byline-meta li { color: #cfcfcf; }
.is-dark .cfc-byline-name, .is-dark .cfc-tag-badge { color: #fff; }
.is-dark .cfc-byline-name:hover { color: var(--cfc-canary); }
.is-dark .cfc-meta-label, .is-dark .cfc-byline-meta .cfc-i, .is-dark .cfc-byline-subs { color: #9a9a9a; }

/* ---------- Personal (rating / flags / notes) ------------------------ */
.cfc-personal-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.cfc-stars { display: inline-flex; gap: 1px; font-size: 20px; line-height: 1; color: #d6d6d6; letter-spacing: 0; }
.cfc-stars .on { color: var(--cfc-amber); -webkit-text-stroke: .6px #000; }
.cfc-flag-pill {
	padding: 4px 9px 3px; background: #000; color: #fff;
	font: 800 10px/1.3 var(--cfc-ui); letter-spacing: .14em; text-transform: uppercase;
}
.cfc-flag-pill.is-featured { background: var(--cfc-amber); color: #000; }
.cfc-flag-pill.is-later { background: transparent; color: #000; box-shadow: inset 0 0 0 1.5px #000; }
.cfc-notes { margin: 16px 0 0; padding: 14px 18px; border-left: 4px solid var(--cfc-amber); background: var(--cfc-soft); font: italic 400 18px/1.55 var(--cfc-display); color: var(--cfc-ink); }
.cfc-notes p { margin: 0 0 .5em; } .cfc-notes p:last-child { margin: 0; }
.cfc-notes-label { display: block; margin-bottom: 4px; font: 800 10px/1.3 var(--cfc-ui); font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: var(--cfc-muted); }

/* ---------- Description ---------------------------------------------- */
.cfc-desc-body { font: 400 16px/1.7 var(--cfc-ui); color: var(--cfc-body); overflow-wrap: anywhere; }
.cfc-desc-body p { margin: 0 0 1em; }
.cfc-desc-body a { color: var(--cfc-ink); text-decoration: underline; text-decoration-color: var(--cfc-amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cfc-desc-body a:hover { background: var(--cfc-amber); text-decoration-color: transparent; }
.cfc-desc-body.is-collapsed {
	max-height: 11.5em; overflow: hidden;
	-webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent);
}
.cfc-desc-toggle {
	display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 10px 0; border: 0; background: none; cursor: pointer;
	color: var(--cfc-ink); font: 800 12px/1 var(--cfc-ui); letter-spacing: .16em; text-transform: uppercase;
	border-bottom: 2px solid var(--cfc-amber);
}
.cfc-desc-toggle .cfc-i { rotate: 90deg; transition: rotate .2s; }
.cfc-desc-toggle[aria-expanded="true"] .cfc-i { rotate: -90deg; }
.cfc-desc-toggle:hover { border-bottom-color: #000; }

/* ---------- YouTube tags --------------------------------------------- */
.cfc-yt-category { margin: 0 0 10px; font: 500 14px/1.4 var(--cfc-ui); }
.cfc-yt-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cfc-yt-tags li { padding: 3px 8px; border: 1px solid var(--cfc-rule); color: var(--cfc-muted); font: 500 12px/1.4 var(--cfc-ui); }

/* ---------- Share ----------------------------------------------------- */
.cfc-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.cfc-share-label { font: 800 11px/1 var(--cfc-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--cfc-muted); }
.cfc-share-list { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cfc-share-btn {
	display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 0; cursor: pointer;
	background: #000; color: #fff; font: 700 12px/1 var(--cfc-ui); letter-spacing: .04em; text-decoration: none;
	transition: color .15s;
}
.cfc-share-btn:hover, .cfc-share-btn:focus-visible { color: var(--cfc-canary); }
.cfc-share-btn:focus-visible { outline: 2px solid var(--cfc-amber); outline-offset: 2px; }
.cfc-watch-yt {
	display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 16px; margin-left: auto;
	background: var(--cfc-amber); color: #000; text-decoration: none;
	font: 800 12px/1 var(--cfc-ui); letter-spacing: .14em; text-transform: uppercase; transition: background-color .15s, color .15s;
}
.cfc-watch-yt:hover, .cfc-watch-yt:focus-visible { background: #000; color: var(--cfc-canary); }
@media (max-width: 600px) { .cfc-share-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .cfc-share-btn { width: 40px; padding: 0; justify-content: center; } .cfc-watch-yt { margin-left: 0; } }

/* ---------- Prev / next (Magazilla-style black edge rules) ---------- */
.cfc-video-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cfc-nav-cell { display: flex; flex-direction: column; gap: 6px; padding: 4px 18px; text-decoration: none; color: var(--cfc-ink); }
.cfc-nav-cell.is-prev { border-left: 3px solid #000; }
.cfc-nav-cell.is-next { border-right: 3px solid #000; text-align: right; }
.cfc-nav-cell.is-none { border: 0; }
.cfc-nav-label { font: 700 12px/1 var(--cfc-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--cfc-muted); }
.cfc-nav-title { font: 700 18px/1.3 var(--cfc-display); }
.cfc-nav-cell:hover .cfc-nav-title { text-decoration: underline; text-decoration-color: var(--cfc-amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.cfc-video-nav.is-empty { display: block; }

/* ---------- Cards ----------------------------------------------------- */
.cfc-cards { display: grid; grid-template-columns: repeat(var(--cfc-cols, 3), minmax(0, 1fr)); gap: 28px 24px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 900px) { .cfc-cards.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cfc-cards.is-grid { grid-template-columns: 1fr; } }
.cfc-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.cfc-card-media { position: relative; display: block; }
.cfc-card:hover .cfc-thumb img { transform: scale(1.04); }
.cfc-card-body { display: flex; flex-direction: column; gap: 6px; }
.cfc-card-title {
	color: var(--cfc-ink); text-decoration: none;
	font: 700 18px/1.28 var(--cfc-display); letter-spacing: -.005em;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.cfc-card-title:hover { text-decoration: underline; text-decoration-color: var(--cfc-amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cfc-card-meta { display: block; font: 700 11px/1.5 var(--cfc-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--cfc-muted); }
.cfc-card-meta span { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
.cfc-card-meta span + span::before { content: "·"; margin: 0 8px; }
/* List layout (sidebar / "Up next") */
.cfc-cards.is-list { grid-template-columns: 1fr; gap: 0; }
.cfc-card.is-list { flex-direction: row; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--cfc-rule); }
.cfc-card.is-list:first-child { padding-top: 0; }
.cfc-card.is-list:last-child { border-bottom: 0; }
.cfc-card.is-list .cfc-card-media { flex: 0 0 42%; max-width: 168px; }
.cfc-card.is-list .cfc-card-title { font-size: 15px; -webkit-line-clamp: 3; }
.cfc-card.is-list .cfc-duration { font-size: 11px; right: 4px; bottom: 4px; padding: 1px 4px; }

/* ---------- Breadcrumbs ---------------------------------------------- */
.cfc-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; list-style: none; font: 700 11px/1.4 var(--cfc-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--cfc-muted); }
.cfc-breadcrumbs li + li::before { content: "/"; margin: 0 10px; color: #bdbdbd; }
.cfc-breadcrumbs a { color: var(--cfc-muted); text-decoration: none; }
.cfc-breadcrumbs a:hover { color: var(--cfc-ink); text-decoration: underline; text-decoration-color: var(--cfc-amber); text-decoration-thickness: 2px; }
.cfc-breadcrumbs [aria-current] { color: var(--cfc-ink); }

/* ---------- Sidebar lists -------------------------------------------- */
.cfc-side-list ul { margin: 0; padding: 0; list-style: none; }
.cfc-side-list li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--cfc-rule); color: var(--cfc-ink); text-decoration: none; font: 500 15px/1.3 var(--cfc-ui); }
.cfc-side-list li:last-child a { border-bottom: 0; }
.cfc-side-list li a:hover { text-decoration: underline; text-decoration-color: var(--cfc-amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cfc-count { min-width: 26px; padding: 2px 6px; background: #000; color: #fff; text-align: center; font: 800 11px/1.4 var(--cfc-ui); }
.cfc-side-list.is-channels li a { justify-content: flex-start; }
.cfc-side-list.is-topics li.is-parent a { font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; padding-top: 14px; }
.cfc-side-list.is-topics li.is-child a { padding-left: 16px; font-size: 14px; }
.cfc-side-list.is-topics li.is-child a::before { content: ""; width: 6px; height: 6px; background: var(--cfc-amber); margin-right: 10px; flex: none; }
.cfc-side-list.is-topics li.is-child a > span:first-child { margin-right: auto; }
.cfc-ch-text { display: flex; flex-direction: column; }
.cfc-ch-name { font-weight: 800; }
.cfc-ch-sub { color: var(--cfc-muted); font-size: 12px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
	.cfc-thumb img, .cfc-play, .cfc-desc-toggle .cfc-i { transition: none !important; }
}

/* ==================================================================
   M2 shell blocks: mega menu, search overlay, ticker, dark contexts
   ================================================================== */

html.cfc-no-scroll { overflow: hidden; }

/* ---------- Mega menu (desktop) -------------------------------------- */
.cfc-mm { position: static; font-family: var(--cfc-ui); }
.cfc-mm-toggle, .cfc-mm-close { display: none; }
.cfc-mm-list { display: flex; align-items: stretch; gap: 26px; margin: 0; padding: 0; list-style: none; }
.cfc-mm.is-justify-center .cfc-mm-list { justify-content: center; }
.cfc-mm-item { position: static; display: flex; align-items: center; gap: 2px; }
.cfc-mm-link {
	position: relative; display: block; padding: 10px 0; color: #fff; text-decoration: none;
	font: 700 13px/1 var(--cfc-ui); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.cfc-mm-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--cfc-canary); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.cfc-mm-item:hover > .cfc-mm-link, .cfc-mm-link:focus-visible, .cfc-mm-link[aria-current] { color: var(--cfc-canary); }
.cfc-mm-item:hover > .cfc-mm-link::after, .cfc-mm-item.is-open > .cfc-mm-link::after, .cfc-mm-link[aria-current]::after { transform: scaleX(1); }
.cfc-mm-open { display: grid; place-items: center; width: 22px; height: 28px; padding: 0; border: 0; background: none; color: #bdbdbd; cursor: pointer; }
.cfc-mm-open .cfc-i { width: 14px; height: 14px; transition: transform .2s; }
.cfc-mm-item.is-open .cfc-mm-open .cfc-i { transform: rotate(180deg); }
.cfc-mm-open:hover, .cfc-mm-open:focus-visible { color: var(--cfc-canary); }

.cfc-mm-panel {
	position: absolute; left: 0; right: 0; top: 100%; z-index: 60;
	background: #fff; color: var(--cfc-body); border-bottom: 1px solid var(--cfc-rule);
	box-shadow: 0 24px 48px rgba(0,0,0,.18);
	visibility: hidden; opacity: 0; transform: translateY(-6px);
	transition: opacity .16s ease, transform .16s ease, visibility 0s linear .22s;
}
@media (hover: hover) and (min-width: 1001px) {
	.cfc-mm-item.has-panel:hover > .cfc-mm-panel { visibility: visible; opacity: 1; transform: none; transition-delay: .08s, .08s, 0s; }
}
.cfc-mm-item.is-open > .cfc-mm-panel { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.cfc-mm-panel-inner { display: grid; grid-template-columns: 230px 1fr; gap: 40px; max-width: 1240px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 40px) 32px; }
.cfc-mm-heading { margin: 0 0 14px; padding-top: 10px; border-top: 4px solid var(--cfc-amber); font: 800 12px/1.2 var(--cfc-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--cfc-ink); }
.cfc-mm-subs ul { margin: 0; padding: 0; list-style: none; }
.cfc-mm-subs a { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--cfc-rule); color: var(--cfc-ink); text-decoration: none; font: 600 14px/1.3 var(--cfc-ui); }
.cfc-mm-subs a.is-all { font-weight: 800; }
.cfc-mm-subs a:hover { text-decoration: underline; text-decoration-color: var(--cfc-amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cfc-mm-videos .cfc-cards { gap: 20px; }
/* Narrow desktops: tighten the menu so 7–8 items still fit on one line. */
@media (min-width: 1001px) and (max-width: 1240px) {
	.cfc-mm-list { gap: 16px; }
	.cfc-mm-link { font-size: 12px; letter-spacing: .08em; }
	.cfc-mm-open { width: 18px; }
}
/* Small drop-down (a Navigation submenu, or a topic with no videos yet). */
@media (min-width: 1001px) {
	.cfc-mm-item.is-simple { position: relative; }
	.cfc-mm-item.is-simple > .cfc-mm-panel { left: -18px; right: auto; width: 260px; border: 1px solid var(--cfc-rule); border-top: 0; }
	.cfc-mm-item.is-simple .cfc-mm-panel-inner { display: block; padding: 18px 22px 20px; }
	.cfc-mm.is-justify-right .cfc-mm-item.is-simple:last-child > .cfc-mm-panel { left: auto; right: -18px; }
}
.cfc-mm-subs li > a:not([class]) { display: flex; }
.cfc-mm-videos .cfc-card-title { font-size: 15px; }

/* ---------- Mega menu (mobile drawer) -------------------------------- */
@media (max-width: 1000px) {
	.cfc-mm-toggle {
		display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: none; cursor: pointer;
		color: #fff; font: 800 12px/1 var(--cfc-ui); letter-spacing: .14em; text-transform: uppercase;
	}
	.cfc-mm-toggle:hover, .cfc-mm-toggle:focus-visible { color: var(--cfc-canary); }
	.cfc-mm-drawer { display: none; }
	.cfc-mm.is-drawer-open .cfc-mm-drawer {
		display: block; position: fixed; inset: 0; z-index: 1000; overflow-y: auto;
		background: #000; padding: 72px 24px 40px; border-top: 3px solid var(--cfc-canary);
	}
	.cfc-mm-close { display: grid; place-items: center; position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border: 0; background: none; color: #fff; cursor: pointer; }
	.cfc-mm-close .cfc-i { width: 26px; height: 26px; }
	.cfc-mm-list { flex-direction: column; gap: 0; }
	.cfc-mm-item { flex-wrap: wrap; border-bottom: 1px solid #222; }
	.cfc-mm-link { flex: 1; padding: 18px 0; font-size: 18px; }
	.cfc-mm-link::after { display: none; }
	.cfc-mm-open { width: 44px; height: 44px; color: #fff; }
	.cfc-mm-open .cfc-i { width: 20px; height: 20px; }
	.cfc-mm-panel { position: static; flex: 0 0 100%; display: none; visibility: visible; opacity: 1; transform: none; background: transparent; box-shadow: none; border: 0; }
	.cfc-mm-item.is-open > .cfc-mm-panel { display: block; }
	.cfc-mm-panel-inner { display: block; padding: 0 0 16px; }
	.cfc-mm-heading, .cfc-mm-videos { display: none; }
	.cfc-mm-subs a { color: #d6d6d6; border-color: #1c1c1c; padding: 12px 0 12px 14px; }
	.cfc-mm-subs a:hover { color: var(--cfc-canary); }
	.admin-bar .cfc-mm.is-drawer-open .cfc-mm-drawer { top: 46px; }
}

/* ---------- Search overlay ------------------------------------------- */
.cfc-so-wrap { display: flex; align-items: center; }
.cfc-so-btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
.cfc-so-btn:hover, .cfc-so-btn:focus-visible { color: var(--cfc-canary); }
dialog.cfc-so {
	width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
	background: rgba(0,0,0,.94); color: #fff;
}
dialog.cfc-so::backdrop { background: rgba(0,0,0,.6); }
dialog.cfc-so[open] { animation: cfc-fade .18s ease; }
@keyframes cfc-fade { from { opacity: 0; } }
.cfc-so-inner { position: relative; max-width: 860px; margin: 0 auto; padding: clamp(64px, 12vh, 140px) 24px 60px; }
.cfc-so-close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; display: grid; place-items: center; border: 0; background: none; color: #fff; cursor: pointer; }
.cfc-so-close .cfc-i { width: 28px; height: 28px; }
.cfc-so-close:hover { color: var(--cfc-canary); }
.cfc-so-label { display: block; margin-bottom: 14px; font: 800 12px/1 var(--cfc-ui); letter-spacing: .16em; text-transform: uppercase; color: #9a9a9a; }
.cfc-so-field { display: flex; align-items: center; gap: 14px; border-bottom: 3px solid var(--cfc-amber); padding-bottom: 8px; }
.cfc-so-field > .cfc-i { width: 28px; height: 28px; color: #777; flex: none; }
.cfc-so-input {
	flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; outline: none;
	font: 600 clamp(24px, 4vw, 40px)/1.2 var(--cfc-display); letter-spacing: -.01em;
}
.cfc-so-input::placeholder { color: #555; }
.cfc-so-input::-webkit-search-cancel-button { filter: invert(1); }
.cfc-so-submit { padding: 12px 18px; border: 0; background: var(--cfc-amber); color: #000; cursor: pointer; font: 800 12px/1 var(--cfc-ui); letter-spacing: .14em; text-transform: uppercase; }
.cfc-so-submit:hover { background: var(--cfc-canary); }
.cfc-so-results { margin-top: 28px; transition: opacity .15s; }
.cfc-so-results.is-loading { opacity: .5; }
.cfc-so-count, .cfc-so-empty { color: #9a9a9a; font: 600 13px/1.4 var(--cfc-ui); }
.cfc-so-list { margin: 0; padding: 0; list-style: none; }
.cfc-so-list a { display: flex; gap: 18px; align-items: center; padding: 12px 0; border-bottom: 1px solid #222; color: #fff; text-decoration: none; }
.cfc-so-thumb { position: relative; flex: 0 0 136px; aspect-ratio: 16/9; background: #111; overflow: hidden; }
.cfc-so-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cfc-so-thumb .cfc-duration { font-size: 11px; right: 4px; bottom: 4px; padding: 1px 4px; }
.cfc-so-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cfc-so-title { font: 700 18px/1.3 var(--cfc-display); }
.cfc-so-meta { color: #9a9a9a; font: 700 11px/1.3 var(--cfc-ui); letter-spacing: .1em; text-transform: uppercase; }
.cfc-so-list a:hover .cfc-so-title, .cfc-so-list a:focus-visible .cfc-so-title { color: var(--cfc-canary); }
.cfc-so-all { display: inline-block; margin-top: 18px; color: var(--cfc-canary); font: 800 12px/1 var(--cfc-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
@media (max-width: 600px) { .cfc-so-thumb { flex-basis: 104px; } .cfc-so-title { font-size: 16px; } .cfc-so-submit { display: none; } }

/* ---------- Ticker ------------------------------------------------------ */
.cfc-ticker { display: flex; align-items: center; gap: 14px; min-width: 0; font: 600 12px/1 var(--cfc-ui); }
.cfc-ticker-label { flex: none; padding: 5px 8px 4px; background: var(--cfc-amber); color: #000; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: 10px; }
.cfc-ticker-window { position: relative; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.cfc-ticker-track { display: flex; width: max-content; animation: cfc-tick var(--cfc-ticker-time, 60s) linear infinite; }
.cfc-ticker:hover .cfc-ticker-track, .cfc-ticker:focus-within .cfc-ticker-track { animation-play-state: paused; }
.cfc-ticker ul { display: flex; gap: 36px; margin: 0; padding: 0 36px 0 0; list-style: none; }
.cfc-ticker li { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.cfc-ticker li::before { content: ""; width: 5px; height: 5px; background: var(--cfc-canary); flex: none; }
.cfc-ticker a { color: #d0d0d0; text-decoration: none; }
.cfc-ticker a:hover, .cfc-ticker a:focus-visible { color: var(--cfc-canary); }
@keyframes cfc-tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.cfc-ticker-track { animation: none; }
	.cfc-ticker-window { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.cfc-ticker ul[aria-hidden] { display: none; }
	.cfc-mm-panel, .cfc-mm-link::after { transition: none; }
}

/* ---------- Blocks on black (footer, theatre band) -------------------- */
.cfc-footer .cfc-section-title { color: #fff; }
.cfc-footer .cfc-side-list li a { color: #e6e6e6; border-color: #262626; }
.cfc-footer .cfc-side-list li a:hover { color: var(--cfc-canary); text-decoration: none; }
.cfc-footer .cfc-count { background: #1f1f1f; color: #cfcfcf; }
.cfc-footer .cfc-ch-sub, .cfc-footer .cfc-card-meta { color: #8f8f8f; }
.cfc-footer .cfc-card.is-list { border-color: #262626; }
.cfc-footer .cfc-card-title { color: #fff; }
.cfc-footer .cfc-card-title:hover { color: var(--cfc-canary); text-decoration: none; }
.cfc-footer .cfc-side-list.is-topics li.is-parent a { color: #fff; }
.cfc-footer .cfc-hint { background: #111; border-color: #333; color: #888; }

/* ---------- Menu builder item options (icons, badges, styles, visibility) ---------- */
.cfc-mm-link { display: inline-flex; align-items: center; gap: 7px; }
.cfc-mm-link.is-label { cursor: default; }
.cfc-mm-icon { flex: none; }
.cfc-mm-badge { display: inline-block; padding: 3px 5px 2px; font: 800 9px/1 var(--cfc-ui); letter-spacing: .08em; color: #000; background: var(--cfc-amber); transform: translateY(-1px); }
.cfc-mm-badge.is-canary { background: var(--cfc-canary); }
.cfc-mm-badge.is-white { background: #fff; }
.cfc-mm-badge.is-red { background: #e5322d; color: #fff; }
.cfc-mm-item.is-style-accent > .cfc-mm-link { color: var(--cfc-canary); }
.cfc-mm-item.is-style-button > .cfc-mm-link { padding: 9px 13px; background: var(--cfc-amber); color: #000; }
.cfc-mm-item.is-style-button > .cfc-mm-link:hover, .cfc-mm-item.is-style-button > .cfc-mm-link:focus-visible { background: var(--cfc-canary); color: #000; }
.cfc-mm-item.is-style-outline > .cfc-mm-link { padding: 8px 12px; box-shadow: inset 0 0 0 2px var(--cfc-canary); }
.cfc-mm-item.is-style-button > .cfc-mm-link::after, .cfc-mm-item.is-style-outline > .cfc-mm-link::after { display: none; }
.cfc-mm-subs li > a .cfc-mm-label { flex: 1; }
.cfc-mm-subs li > a, .cfc-mm-subs li > span { display: flex; align-items: center; gap: 8px; }
.cfc-mm-subs .cfc-mm-badge { margin-left: 4px; }
@media (min-width: 1001px) { .cfc-mm .is-hide-desktop { display: none !important; } }
@media (max-width: 1000px) {
	.cfc-mm .is-hide-mobile { display: none !important; }
	.cfc-mm-item.is-style-button > .cfc-mm-link, .cfc-mm-item.is-style-outline > .cfc-mm-link { padding: 18px 0; background: none; box-shadow: none; color: var(--cfc-canary); }
}
