/**
 * Scholar Theme — the complete presentation layer ("Institute" direction).
 *
 * Light, modern and product-grade: white ground, slate blue with plum and coral accents,
 * Plus Jakarta Sans with real weight contrast, rounded cards with soft elevation, pill buttons,
 * and controls drawn as proper components (segmented filters, fields, a drawn audio player).
 * Light is the design; dark is a complete second setting of the same tokens.
 *
 * Markup comes from the Scholar Content Hub (.sch-*) and Scholar Classroom (.scc-*) blocks.
 * Theme-level structure uses .sp-*.
 */

/* ------------------------------------------------------------------ Tokens */

:root {
	--c-bg: #ffffff;
	--c-bg-2: #f5f7fa;
	--c-field: #f1f4f8;
	--c-card: #ffffff;
	--c-line: #e0e6ed;
	--c-line-2: #cbd5e0;
	--c-ink: #192a3b;
	--c-ink-2: #46576b;
	--c-mute: #627185;
	--c-brand: #355d78;
	--c-brand-2: #28485e;
	--c-brand-text: #355d78;
	--c-brand-soft: #eaf0f6;
	--c-on-brand: #ffffff;
	--c-gold: #b8923f;
	--c-gold-soft: #f6ebd0;
	--c-live: #b3261e;
	--c-live-soft: #fde8e6;
	--c-band: linear-gradient(135deg, #355d78 0%, #28485e 100%);
	--sh-s: 0 1px 2px rgba(11, 31, 36, .05), 0 6px 20px rgba(11, 31, 36, .06);
	--sh-m: 0 16px 40px rgba(11, 31, 36, .14);
	--sh-l: 0 30px 80px rgba(11, 31, 36, .18);
	--ring: 0 0 0 3px var(--c-brand-soft);

	--font: var(--wp--preset--font-family--heading, "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif);
	--font-arabic: var(--wp--preset--font-family--arabic, "Noto Naskh Arabic", serif);

	--r-ctl: 12px;
	--r-card: 16px;
	--r-media: 24px;
	--r-pill: 999px;
	--ease: cubic-bezier(.2, .6, .2, 1);
	--header-h: 4.5rem;
	--gutter: var(--wp--style--root--padding-left, 1rem);
	--wide: var(--wp--style--global--wide-size, 1240px);
	--gap: clamp(1rem, 2vw, 1.5rem);
	--section: clamp(2.75rem, 5.5vw, 4.5rem);
	color-scheme: light;

	/* Names the classroom plugin's own stylesheet reads. */
	--wp--preset--color--paper: var(--c-bg); --wp--preset--color--paper-alt: var(--c-bg-2); --wp--preset--color--surface: var(--c-card);
	--wp--preset--color--hairline: var(--c-line); --wp--preset--color--ink: var(--c-ink); --wp--preset--color--ink-soft: var(--c-ink-2); --wp--preset--color--muted: var(--c-mute);
	--wp--preset--color--accent: var(--c-brand); --wp--preset--color--accent-strong: var(--c-brand-2); --wp--preset--color--accent-soft: var(--c-brand-soft);
	--wp--preset--color--highlight: var(--c-gold); --wp--preset--color--live: var(--c-live);
	/* Legacy aliases. */
	--sp-paper: var(--c-bg); --sp-surface: var(--c-card); --sp-alt: var(--c-bg-2); --sp-ink: var(--c-ink); --sp-ink-soft: var(--c-ink-2); --sp-muted: var(--c-mute);
	--sp-hairline: var(--c-line); --sp-accent: var(--c-brand); --sp-accent-strong: var(--c-brand-2); --sp-hl: var(--c-gold); --sp-live: var(--c-live);
	--sp-serif: var(--font); --sp-sans: var(--font); --sp-arabic: var(--font-arabic); --sp-rule: 1px solid var(--c-line); --sp-radius: var(--r-ctl);
}
:root[data-theme="dark"] {
	--c-bg: #111821;
	--c-bg-2: #161f2a;
	--c-field: #202c3a;
	--c-card: #1a2531;
	--c-line: #304052;
	--c-line-2: #45566a;
	--c-ink: #eceff0;
	--c-ink-2: #c6d1dd;
	--c-mute: #a0b1c4;
	--c-brand: #a1c5e1;
	--c-brand-2: #bbd7eb;
	--c-brand-text: #b4d2e8;
	--c-brand-soft: rgba(161, 197, 225, .14);
	--c-on-brand: #152b3d;
	--c-gold: #d4b06a;
	--c-gold-soft: rgba(212, 176, 106, .16);
	--c-live: #ff7b70;
	--c-live-soft: rgba(255, 99, 88, .16);
	--c-band: linear-gradient(135deg, #12323a 0%, #0c262c 100%);
	--sh-s: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .3);
	--sh-m: 0 16px 40px rgba(0, 0, 0, .5);
	--sh-l: 0 30px 80px rgba(0, 0, 0, .6);
	color-scheme: dark;
}
:root[data-theme="dark"] body { background: var(--c-bg); color: var(--c-ink); }

/* ------------------------------------------------------------------ Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { background: var(--c-bg); color: var(--c-ink); font-family: var(--font); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
::selection { background: var(--c-brand-soft); color: var(--c-ink); }
img { height: auto; max-width: 100%; }
[hidden] { display: none !important; }
.wp-site-blocks { overflow-x: clip; }
.wp-site-blocks > * { margin-block-start: 0; }
:where(.sp-main) > * + * { margin-block-start: 0; }
a { color: inherit; text-underline-offset: .15em; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--c-brand); outline-offset: 3px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.screen-reader-text:focus { clip: auto !important; clip-path: none !important; width: auto; height: auto; overflow: visible; white-space: normal; }
.skip-link.screen-reader-text:focus { top: .5rem; left: .5rem; padding: .75rem 1.25rem; background: var(--c-brand); color: #fff; border-radius: var(--r-pill); z-index: 100000; text-decoration: none; font-weight: 600; }
h1, h2, h3, h4, .wp-block-post-title { font-family: var(--font); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; text-wrap: balance; overflow-wrap: break-word; color: var(--c-ink); }
p { overflow-wrap: break-word; }
time, .sch-entry__meta, .sch-episode__meta, .sch-meta__duration, .sp-audio__time { font-variant-numeric: tabular-nums; }
.sch-ar { font-family: var(--font-arabic); font-size: 1.08em; line-height: inherit; unicode-bidi: isolate; }
.is-style-arabic, [lang="ar"]:not(.sch-ar) { font-family: var(--font-arabic); font-size: 1.35em; line-height: 1.9; direction: rtl; text-align: right; }
.is-style-lede { font-size: 1.15rem; line-height: 1.6; color: var(--c-mute); }

/* Meta: the secondary voice. */
.sch-entry__meta, .sch-episode__meta, .sch-series__count, .sch-topic__count, .sch-scholar__tagline, .sch-series-head__facts, .sch-topic-head__facts, .sch-library__count, .sch-series-list__count, .sch-contact__note, .scc-muted, .scc-class__course, .scc-class__dates, .scc-session__cohort, .scc-session__meta, .scc-announcement__meta, .scc-resource__meta, .wp-block-post-date, .sch-coming__meta, .sch-channels__detail, .sch-channels__count {
	font-size: .82rem; color: var(--c-mute);
}
/* Eyebrows: sentence case, brand colour, a dot. */
.sp-eyebrow, .sp-page-head__eyebrow, .sch-series-head__eyebrow, .sch-topic-head__eyebrow, .sch-series-nav__eyebrow, .sch-featured__eyebrow, .scc-eyebrow {
	display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-size: .85rem; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--c-brand-text);
}
.sp-eyebrow::before, .sp-page-head__eyebrow::before, .sch-series-head__eyebrow::before, .sch-topic-head__eyebrow::before, .sch-series-nav__eyebrow::before, .sch-featured__eyebrow::before, .scc-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.sp-page-head__eyebrow a, .sch-topic-head__eyebrow a { color: inherit; text-decoration: none; }
/* Small labels: the one place uppercase remains. */
.sp-footer__label, .sch-now__heading, .sch-live__heading, .sch-series-nav__label, .sch-series-episodes__heading, .sch-coming .sch-now__heading, .sch-filters label, .sch-item-meta dt {
	margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mute);
}

/* ------------------------------------------------------------------ Sections */

.sp-main { padding-bottom: var(--section); }
.sp-home { padding-bottom: 0; }
.sp-section { position: relative; padding-block: var(--section); margin-block: 0 !important; }
.sp-section--alt { background: var(--c-bg-2); }
.sp-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .75rem 2rem; margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem) !important; }
.sp-section__head > * { margin: 0 !important; }
.sp-section__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; letter-spacing: -.025em; }
.sp-section__kicker { margin-top: .4rem !important; color: var(--c-mute); font-size: .98rem; max-width: 56ch; }
.sp-section__link a, .sch-more__link, .sp-link { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--c-brand-text); text-decoration: none; white-space: nowrap; }
.sp-section__link a::after, .sch-more__link::after { content: "→"; transition: transform .2s var(--ease); }
.sp-section__link a:hover::after, .sch-more__link:hover::after { transform: translateX(3px); }
.sp-section__link a:hover, .sch-more__link:hover { text-decoration: underline; }
.sch-more { margin: 1.5rem 0 0; }
.sp-split__grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .sp-split__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; } }
.sp-split__intro > * { margin: 0 !important; }
.sp-split__intro .sp-eyebrow { margin-bottom: .75rem !important; }
.sp-split__text { margin-top: .9rem !important; color: var(--c-mute); font-size: 1.02rem; max-width: 38ch; }
.sp-split__intro .wp-block-buttons, .sp-split__intro .sp-section__link { margin-top: 1.5rem !important; }

/* ------------------------------------------------------------------ Header */

.sp-site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar .sp-site-header { top: var(--wp-admin--admin-bar--height, 32px); }
/* The blur lives on a pseudo-element: a backdrop-filter on the header itself would trap the navigation's full-screen overlay inside it. */
.sp-header { position: relative; isolation: isolate; border-bottom: 1px solid transparent; transition: border-color .2s; padding-block: 0 !important; }
.sp-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--c-bg) 86%, transparent); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.sp-site-header.is-scrolled .sp-header { border-bottom-color: var(--c-line); }
.sp-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: var(--header-h); }
.sp-brand { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.sp-brand__mark { position: relative; display: block; flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--c-brand); }
.sp-brand__mark::before { content: ""; position: absolute; inset: 8px; background: var(--c-on-brand); -webkit-mask: var(--sp-star-fill) center / contain no-repeat; mask: var(--sp-star-fill) center / contain no-repeat; }
.sp-brand__title { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-brand__title a { color: var(--c-ink); text-decoration: none; }
.sp-nav { flex: 1 1 auto; min-width: 0; }
.sp-nav .wp-block-navigation__container { gap: .15rem !important; flex-wrap: nowrap; }
.sp-nav .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .5rem .55rem; border-radius: var(--r-pill); font-weight: 500; font-size: .92rem; color: var(--c-mute); text-decoration: none; transition: background .15s, color .15s; white-space: nowrap; }
.sp-nav .wp-block-navigation-item__content:hover { background: var(--c-field); color: var(--c-ink); }
.sp-nav .current-menu-item > .wp-block-navigation-item__content, .sp-nav [aria-current="page"] { background: var(--c-brand-soft); color: var(--c-brand-text); font-weight: 600; }
.sp-nav .wp-block-navigation__responsive-container-open, .sp-nav .wp-block-navigation__responsive-container-close { width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: var(--r-ctl); color: var(--c-ink); }
.sp-nav .wp-block-navigation__responsive-container-open:hover { background: var(--c-field); }
.sp-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--c-bg); color: var(--c-ink); padding: 1rem; }
.sp-nav.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay),
.sp-nav.wp-block-navigation:not(.has-text-color) .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) { background-color: var(--c-bg); color: var(--c-ink); }
.sp-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.75rem; align-items: stretch; }
.sp-nav .is-menu-open .wp-block-navigation__container { flex-direction: column; gap: .35rem !important; width: 100%; }
.sp-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.sp-nav .is-menu-open .wp-block-navigation-item__content { width: 100%; padding: 1rem 1.1rem; border-radius: 14px; font-size: 1.3rem; font-weight: 600; color: var(--c-ink); background: var(--c-field); }
.sp-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { background: var(--c-brand-soft); color: var(--c-brand-text); }
.sp-header__tools { display: flex; align-items: center; gap: .5rem; flex: none; }

/* Search: a field on wide screens, an icon with a panel below 1500px. */
.sch-search { position: relative; display: flex; align-items: center; }
.sch-search__icon { display: inline-block; width: 1.05rem; height: 1.05rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E") center / contain no-repeat; }
.sch-search__form { display: flex; flex-direction: row-reverse; align-items: center; height: 40px; padding: 0 .35rem 0 .25rem; border-radius: var(--r-ctl); background: var(--c-field); border: 1px solid var(--c-line); transition: border-color .15s, box-shadow .15s, background .15s; }
.sch-search__form:focus-within { border-color: var(--c-brand); box-shadow: var(--ring); background: var(--c-card); }
.sch-search__form input[type="search"] { border: 0; background: transparent; font: 500 .9rem var(--font); width: clamp(9rem, 14vw, 13rem); min-height: 36px; color: var(--c-ink); outline: none; padding: 0 .5rem 0 0; box-shadow: none; }
.sch-search__form input[type="search"]:focus { box-shadow: none; border: 0; background: transparent; }
.sch-search__form input::placeholder { color: var(--c-mute); opacity: 1; }
.sch-search__submit, .sch-search__toggle, .sp-mode { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 1px solid transparent; border-radius: var(--r-ctl); background: transparent; color: var(--c-mute); cursor: pointer; transition: background .15s, color .15s; }
.sch-search__submit { width: 34px; height: 34px; border-radius: 9px; }
.sch-search__submit:hover, .sch-search__toggle:hover, .sp-mode:hover { background: var(--c-brand-soft); color: var(--c-brand-text); }
.sch-search .sch-search__toggle { display: none; }
.sch-search__toggle-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.sp-mode { border-color: var(--c-line); background: var(--c-field); color: var(--c-ink); }
.sp-mode__icon { width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8.5 8.5 0 1 1 9.5 4a7 7 0 0 0 10.5 10.5Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8.5 8.5 0 1 1 9.5 4a7 7 0 0 0 10.5 10.5Z'/%3E%3C/svg%3E") center / contain no-repeat; }
:root[data-theme="dark"] .sp-mode__icon { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.sp-app { display: inline-flex; align-items: center; gap: .5rem; height: 40px; padding: 0 1rem 0 .85rem; border-radius: var(--r-pill); background: var(--c-brand); color: var(--c-on-brand) !important; font-weight: 600; font-size: .88rem; text-decoration: none !important; white-space: nowrap; transition: background .15s; }
.sp-app:hover { background: var(--c-brand-2); }
.sp-app__icon { width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/svg%3E") center / contain no-repeat; }

@media (max-width: 1499px) {
	.sch-search .sch-search__toggle { display: inline-flex; }
	.sch-search__form { display: none; position: absolute; right: 0; top: calc(100% + .5rem); z-index: 60; width: min(100vw - 2 * var(--gutter), 26rem); height: 48px; background: var(--c-card); border-color: var(--c-line); box-shadow: var(--sh-m); }
	.sch-search.is-open .sch-search__form { display: flex; }
	.sch-search__form input[type="search"] { width: 100%; font-size: 16px; }
	.sp-header__tools { position: relative; }
}
@media (max-width: 899px) {
	.sp-app .sp-app__label { display: none; }
	.sp-app { padding: 0; width: 40px; justify-content: center; }
}
@media (max-width: 781px) {
	:root { --header-h: 4rem; }
	.sp-header__inner { gap: .5rem; }
	.sp-brand__mark { width: 32px; height: 32px; border-radius: 9px; }
	.sp-brand__mark::before { inset: 7px; }
	.sp-brand__title { font-size: .98rem; }
	.sp-nav { flex: none; order: 3; }
	.sp-header__tools { order: 2; margin-left: auto; }
	.sp-app { display: none; }
}

/* ------------------------------------------------------------------ Buttons, chips, tabs, fields */

.sch-button, .scc-button, .sch-filters button[type="submit"], .wp-block-button__link, .sch-pagination__more {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 2.75rem; padding: .65rem 1.3rem;
	border: 1px solid transparent; border-radius: var(--r-pill);
	background: var(--c-brand); color: var(--c-on-brand) !important;
	font: 600 .92rem/1.2 var(--font); letter-spacing: 0; text-transform: none; text-decoration: none !important; cursor: pointer;
	transition: background .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.sch-button:hover, .scc-button:hover, .wp-block-button__link:hover, .sch-pagination__more:hover { background: var(--c-brand-2); color: var(--c-on-brand) !important; }
.sch-button:active, .wp-block-button__link:active { transform: translateY(1px); }
.sch-button--ghost, .scc-button--quiet, .is-style-quiet .wp-block-button__link { background: transparent; border-color: var(--c-line-2); color: var(--c-ink) !important; }
.sch-button--ghost:hover, .scc-button--quiet:hover, .is-style-quiet .wp-block-button__link:hover { background: var(--c-field); border-color: var(--c-line-2); color: var(--c-ink) !important; }
.sch-button--play { background: var(--c-brand-soft); border-color: transparent; color: var(--c-brand-text) !important; }
.sch-button--play:hover { background: var(--c-brand); color: var(--c-on-brand) !important; }
.is-style-light .wp-block-button__link { background: #fff; color: #355d78 !important; }
.is-style-light .wp-block-button__link:hover { background: #eaf0f6; color: #28485e !important; }
.sch-button--icon { width: 2.75rem; padding: 0; }
.sch-button__icon { width: .85rem; height: .85rem; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5v11l9.5-5.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5v11l9.5-5.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sch-button.is-playing .sch-button__icon { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5h3v11H4zM9 2.5h3v11H9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5h3v11H4zM9 2.5h3v11H9z'/%3E%3C/svg%3E"); }
.wp-block-buttons { gap: .6rem; }

.sch-chip { display: inline-flex; align-items: center; gap: .4rem; height: 1.7rem; padding: 0 .7rem; border-radius: var(--r-pill); font: 600 .76rem/1 var(--font); letter-spacing: 0; text-transform: none; background: var(--c-brand-soft); color: var(--c-brand-text); white-space: nowrap; }
.sch-chip--live { background: var(--c-live-soft); color: var(--c-live); }
.sch-chip--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: sp-pulse 1.6s ease-in-out infinite; }
.sch-chip--new { background: var(--c-gold-soft); color: #7a5d1f; }
:root[data-theme="dark"] .sch-chip--new { color: var(--c-gold); }
.sch-chip--editorial { background: var(--c-ink); color: var(--c-bg); }
.sch-chip--upcoming, .sch-chip--unconfirmed, .sch-chip--seen { background: var(--c-field); color: var(--c-mute); border: 1px solid var(--c-line); }
.sch-chip--link { text-decoration: none !important; background: var(--c-field); color: var(--c-ink); border: 1px solid var(--c-line); height: 2rem; padding: 0 .85rem; font-size: .82rem; font-weight: 500; }
.sch-chip--link:hover { border-color: var(--c-brand); color: var(--c-brand-text); }
@keyframes sp-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* Kind chips ("Watch", "Listen") only where formats mix; elsewhere they are noise. */
.sch-latest--video .sch-chip--watch, .sch-latest--audio .sch-chip--listen, .sch-library--video .sch-chip--watch, .sch-library--audio .sch-chip--listen, .sch-library--livestream .sch-chip--watch, .sch-now__side .sch-chip--watch, .sch-now__side .sch-chip--listen, .sch-related .sch-chip--watch, .sch-live .sch-chip--watch, .sch-episodes .sch-chip--watch, .sch-episodes .sch-chip--listen { display: none; }
.sch-entry__chips:not(:has(.sch-chip:not(.sch-chip--watch):not(.sch-chip--listen))) { display: none; }
.sch-now__lead .sch-entry__chips, .sch-library--all .sch-entry__chips, .sch-activity .sch-entry__chips, .sch-latest--all .sch-entry__chips { display: flex !important; }
.sch-badge--demo { display: inline-flex; align-items: center; height: 1.6rem; margin-top: .4rem; padding: 0 .55rem; border: 1px dashed var(--c-line-2); border-radius: 6px; font: 600 .68rem/1 var(--font); color: var(--c-mute); position: relative; z-index: 1; align-self: flex-start; }
.sch-badge--unconfirmed { margin-top: .5rem; padding: .5rem .75rem; border-radius: 10px; background: var(--c-field); font: 500 .85rem/1.45 var(--font); color: var(--c-ink-2); }

/* Tabs (series filters) as pills; format toggles as a segmented control. */
.sch-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.sch-tab { display: inline-flex; align-items: center; gap: .4rem; height: 2.25rem; padding: 0 .9rem; border-radius: var(--r-pill); border: 1px solid var(--c-line); background: var(--c-field); font: 500 .85rem/1 var(--font); color: var(--c-ink-2); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.sch-tab:hover { border-color: var(--c-line-2); color: var(--c-ink); }
.sch-tab[aria-pressed="true"], .sch-tab[aria-current], .sch-tab.is-active { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); font-weight: 600; }
.sch-series-filters__n { opacity: .7; font-weight: 500; }
.sch-filters__formats { padding: 3px; margin: 0; display: inline-flex; gap: 2px; border-radius: var(--r-ctl); background: var(--c-field); border: 1px solid var(--c-line); width: max-content; max-width: 100%; }
.sch-filters__formats label { margin: 0; font-size: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
.sch-filters__formats input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sch-filters__formats span { display: inline-flex; align-items: center; height: 34px; padding: 0 1rem; border: 0; border-radius: 9px; font: 500 .88rem/1 var(--font); color: var(--c-mute); cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.sch-filters__formats label:hover span { color: var(--c-ink); }
.sch-filters__formats input:checked + span { background: var(--c-card); color: var(--c-ink); font-weight: 600; box-shadow: 0 1px 3px rgba(11, 31, 36, .14); }
.sch-filters__formats input:focus-visible + span { outline: 2px solid var(--c-brand); outline-offset: 1px; }

input[type="search"], input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], select, textarea {
	width: 100%; min-height: 2.75rem; padding: .6rem .95rem; border: 1px solid var(--c-line); border-radius: var(--r-ctl); background: var(--c-field); color: var(--c-ink); font: 500 .92rem/1.4 var(--font); transition: border-color .15s, box-shadow .15s, background .15s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f6f73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 1rem; }
:where(input, select, textarea):focus { border-color: var(--c-brand); outline: none; box-shadow: var(--ring); background: var(--c-card); }
::placeholder { color: var(--c-mute); opacity: 1; }

/* ------------------------------------------------------------------ Hero */

.sp-hero { padding-block: clamp(1.75rem, 4vw, 3.5rem) clamp(2.25rem, 4vw, 3.5rem); background: linear-gradient(180deg, var(--c-bg-2) 0%, var(--c-bg) 100%); }
.sp-hero__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem) var(--gap); grid-template-columns: minmax(0, 1fr); grid-template-areas: "lead" "text" "side"; align-items: center; }
@media (min-width: 1000px) { .sp-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-areas: "text lead" "side side"; column-gap: clamp(2rem, 4vw, 4rem); } }
.sp-hero__grid > * { margin: 0 !important; }
.sp-hero__text { grid-area: text; display: flex; flex-direction: column; gap: 1.1rem; }
.sp-hero__text > * { margin: 0 !important; }
.sch-identity { display: flex; flex-direction: column; gap: 1rem; }
.sch-identity > * { margin: 0; }
.sch-identity__name { font-size: clamp(2.3rem, 1.4rem + 2.8vw, 3.6rem); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; }
.sch-identity__topics { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.sch-identity__label { width: 100%; font-size: .78rem; font-weight: 600; color: var(--c-mute); }
.sch-identity__topics a { display: inline-flex; align-items: center; height: 2rem; padding: 0 .85rem; border-radius: var(--r-pill); background: var(--c-brand-soft); color: var(--c-brand-text); font-size: .85rem; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.sch-identity__topics a:hover { background: var(--c-brand); color: var(--c-on-brand); }
.sch-identity__about { display: none; }
.sch-identity__stats { display: flex; flex-wrap: wrap; gap: 1.25rem 2.25rem; margin: .5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--c-line); }
.sch-identity__stat { display: flex; flex-direction: column-reverse; gap: .1rem; }
.sch-identity__stat dd { margin: 0; font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.sch-identity__stat dt { font-size: .82rem; color: var(--c-mute); }
.sp-hero__lede { font-size: 1.08rem; line-height: 1.6; color: var(--c-mute); max-width: 48ch; }
.sp-hero__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.sp-hero__text .sch-identity__stats { order: 10; }

/* The newest lecture as a plate: media with the caption over it. */
.sp-hero__now.sch-now { display: contents; }
.sch-now__lead { grid-area: lead; }
.sch-now__lead > .sch-entry--lead { position: relative; display: block; border-radius: var(--r-media); overflow: hidden; box-shadow: var(--sh-l); background: #000; }
.sch-now__lead .sch-entry__media { aspect-ratio: 16 / 10; border-radius: 0; display: block; }
.sch-now__lead .sch-entry__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, .78) 100%); pointer-events: none; }
.sch-now__lead .sch-entry__duration { display: none; }
.sch-now__lead .sch-entry__body { position: absolute; left: clamp(1rem, 3vw, 1.5rem); right: clamp(1rem, 3vw, 1.5rem); bottom: clamp(1rem, 3vw, 1.5rem); z-index: 2; display: flex; flex-direction: column; gap: .5rem; padding: 0; color: #fff; pointer-events: none; }
/* Only the links and buttons in the caption take clicks; the rest lets taps reach the play facade beneath. */
.sch-now__lead .sch-entry__body > * { pointer-events: none; }
.sch-now__lead .sch-entry__body a, .sch-now__lead .sch-entry__body button { pointer-events: auto; }
.sch-now__lead .sch-entry__chips { gap: .4rem; }
.sch-now__lead .sch-entry__chips::before { content: "Latest lecture"; display: inline-flex; align-items: center; height: 1.7rem; padding: 0 .7rem; border-radius: var(--r-pill); background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 .76rem/1 var(--font); color: #fff; }
.sch-now__lead .sch-entry--listen .sch-entry__chips::before { content: "Latest recording"; }
.sch-now__lead .sch-entry--live .sch-entry__chips::before { content: "On air"; background: var(--c-live); }
.sch-now__lead .sch-chip, :root[data-theme="dark"] .sch-now__lead .sch-chip { background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; }
.sch-now__lead .sch-chip--live { background: #d93025; }
.sch-now__lead .sch-entry__title { font-size: clamp(1.15rem, 1rem + .8vw, 1.5rem); line-height: 1.25; font-weight: 700; letter-spacing: -.02em; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.sch-now__lead .sch-entry__title a { color: inherit; }
.sch-now__lead .sch-entry__title a::after { display: none; }
.sch-now__lead .sch-entry__excerpt { display: none; }
.sch-now__lead .sch-entry__meta { color: rgba(255, 255, 255, .82); font-weight: 500; }
.sch-now__lead .sch-meta__series { color: rgba(255, 255, 255, .82); }
.sch-now__lead .sch-entry__actions { gap: .5rem; margin-top: .25rem; }
.sch-now__lead .sch-entry__actions .sch-button { min-height: 2.4rem; padding: .4rem 1.05rem; font-size: .85rem; background: #fff; color: var(--c-brand) !important; border-color: #fff; }
.sch-now__lead .sch-entry__actions .sch-button:hover { background: #eaf0f6; }
.sch-now__lead .sch-entry__actions .sch-button--ghost { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .25); color: #fff !important; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sch-now__lead .sch-entry__series-link { font-size: .85rem; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(255, 255, 255, .5); align-self: center; }
.sch-now__lead .sch-entry__play { left: 50%; top: 40%; bottom: auto; transform: translate(-50%, -50%); width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--c-brand); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); opacity: 1; transition: transform .2s var(--ease), background .15s; }
.sch-now__lead .sch-entry__play::before { width: 26px; height: 26px; margin-left: 4px; }
.sch-now__lead .sch-entry--lead:hover .sch-entry__play { transform: translate(-50%, -50%) scale(1.06); background: #fff; }
.sch-now__lead .sch-entry--lead.sch-entry--listen .sch-entry__play, .sch-now__lead .sch-entry--lead.sch-entry--announcement .sch-entry__play { display: none; }
.sch-now__lead .sch-entry--lead .sch-player__frame { aspect-ratio: 16 / 10; width: 100%; border: 0; background: #000; display: block; }
@media (max-width: 599px) {
	.sch-now__lead .sch-entry__media { aspect-ratio: 16 / 9; }
	.sch-now__lead .sch-entry__media::after { display: none; }
	.sch-now__lead > .sch-entry--lead { background: var(--c-card); border: 1px solid var(--c-line); box-shadow: var(--sh-s); border-radius: var(--r-card); }
	.sch-now__lead .sch-entry__body { position: static; color: var(--c-ink); padding: 1rem 1rem 1.1rem; }
	.sch-now__lead .sch-entry__chips::before { background: var(--c-brand-soft); color: var(--c-brand-text); }
	.sch-now__lead .sch-chip { background: var(--c-brand-soft); color: var(--c-brand-text); }
	.sch-now__lead .sch-entry__title, .sch-now__lead .sch-entry__title a { color: var(--c-ink); text-shadow: none; }
	.sch-now__lead .sch-entry__meta, .sch-now__lead .sch-meta__series { color: var(--c-mute); }
	.sch-now__lead .sch-entry__actions .sch-button { background: var(--c-brand); color: var(--c-on-brand) !important; border-color: var(--c-brand); }
	.sch-now__lead .sch-entry__actions .sch-button--ghost { background: transparent; border-color: var(--c-line-2); color: var(--c-ink) !important; }
	.sch-now__lead .sch-entry__series-link { color: var(--c-brand-text); text-decoration-color: currentColor; }
	.sch-now__lead .sch-entry__play { top: 50%; width: 56px; height: 56px; }
}

/* Also recent: four compact rows. */
.sch-now__side { grid-area: side; display: grid; gap: .9rem; }
.sch-now__side > .sch-list { display: grid; gap: .75rem var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .sch-now__side > .sch-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sch-now__side > .sch-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sch-now__side .sch-entry--row .sch-entry__kicker { display: none; }
.sch-now__side .sch-entry--row { grid-template-columns: 7rem minmax(0, 1fr); gap: .85rem; padding: .6rem; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-card); transition: box-shadow .2s, transform .2s var(--ease); }
.sch-now__side .sch-entry--row:hover { box-shadow: var(--sh-s); transform: translateY(-2px); }
.sch-now__side .sch-entry--row .sch-entry__media { border-radius: 9px; }
.sch-now__side .sch-entry--row .sch-entry__title { font-size: .92rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sch-now__side .sch-entry--row .sch-meta__series, .sch-now__side .sch-entry--row .sch-meta__series + .sch-meta__sep, .sch-now__side .sch-entry--row .sch-meta__sep:has(+ .sch-meta__series) { display: none; }
.sch-now__side .sch-more { margin: 0; }
.sch-now__side > .sch-list > .sch-entry--row:nth-child(n+5) { display: none; }
.sch-coming { display: grid; gap: .75rem; }
.sch-coming__list { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); list-style: none; margin: 0; padding: 0; }
.sch-coming__item { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: .85rem; align-items: start; padding: .75rem; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-card); }
.sch-coming__date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: .4rem 0; border-radius: 10px; background: var(--c-brand-soft); color: var(--c-brand-text); line-height: 1; }
.sch-coming__day { font-size: 1.3rem; font-weight: 700; }
.sch-coming__month { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.sch-coming__body { display: flex; flex-direction: column; gap: .2rem; }
.sch-coming__title { font-size: .98rem; font-weight: 600; color: var(--c-ink); text-decoration: none; }
.sch-coming__title:hover { color: var(--c-brand-text); }

/* ------------------------------------------------------------------ Entries */

.sch-entry { position: relative; display: flex; flex-direction: column; gap: 0; min-width: 0; }
.sch-entry > * { margin: 0; }
.sch-entry__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-field); border-radius: var(--r-ctl); }
.sch-entry__image, .sch-entry__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sch-entry:hover .sch-entry__media img { transform: scale(1.04); }
.sch-entry__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.9); width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--c-brand); box-shadow: 0 6px 20px rgba(0, 0, 0, .3); opacity: 0; transition: opacity .2s, transform .2s var(--ease); }
.sch-entry__play::before { content: ""; width: 18px; height: 18px; margin-left: 3px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5v11l9.5-5.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5v11l9.5-5.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sch-entry:hover .sch-entry__play, .sch-entry:focus-within .sch-entry__play { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sch-entry--listen .sch-entry__play::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 4v16M8 8v8M16 8v8M4 11v2M20 11v2'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 4v16M8 8v8M16 8v8M4 11v2M20 11v2'/%3E%3C/svg%3E"); margin-left: 0; }
.sch-entry--announcement .sch-entry__play { display: none; }
.sch-entry__duration { position: absolute; right: .6rem; bottom: .6rem; padding: .2rem .5rem; border-radius: 6px; font: 600 .72rem/1.3 var(--font); background: rgba(0, 0, 0, .72); color: #fff; }
.sch-entry__body { display: flex; flex-direction: column; gap: .4rem; min-width: 0; padding: .9rem 1rem 1.05rem; }
.sch-entry__body > * { margin: 0; }
.sch-entry__chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.sch-entry__kicker { font-size: .78rem; font-weight: 600; color: var(--c-brand-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sch-entry__title { font-size: .98rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.sch-entry--card .sch-entry__title, .sch-entry--row .sch-entry__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sch-entry--card .sch-entry__title { min-height: calc(2 * 1.3em); }
.sch-entry--card .sch-entry__meta, .sch-entry--row .sch-entry__meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.sch-entry--card .sch-entry__meta > *, .sch-entry--row .sch-entry__meta > * { display: inline; }
.sch-entry__title a { color: inherit; text-decoration: none; }
.sch-entry__title a::after { content: ""; position: absolute; inset: 0; }
.sch-entry:hover .sch-entry__title a { color: var(--c-brand-text); }
.sch-entry__excerpt { color: var(--c-mute); font-size: .92rem; line-height: 1.5; }
.sch-entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .4rem; }
.sch-meta__sep { opacity: .5; }
.sch-entry__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .25rem; }
.sch-entry .sch-button, .sch-entry a.sch-entry__series-link, .sch-entry .sch-badge { position: relative; z-index: 1; }
.sch-entry--card .sch-entry__actions .sch-button, .sch-entry--row .sch-entry__actions .sch-button { min-height: 2.25rem; padding: .35rem .9rem; font-size: .82rem; }
.sch-entry--card { height: 100%; background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.sch-entry--card > .sch-entry__chips, .sch-entry--card .sch-entry__body > .sch-entry__chips { position: absolute; top: .6rem; left: .6rem; z-index: 2; margin: 0; }
.sch-entry--card .sch-chip { box-shadow: 0 1px 4px rgba(0, 0, 0, .25); background: rgba(255, 255, 255, .92); color: var(--c-brand-text); }
.sch-entry--card .sch-chip--new, :root[data-theme="dark"] .sch-entry--card .sch-chip--new { background: var(--c-gold); color: #fff; }
.sch-entry--card .sch-chip--live { background: var(--c-live); color: #fff; }
.sch-entry--card .sch-chip--editorial { background: var(--c-ink); color: var(--c-bg); }
.sch-entry--card:hover { transform: translateY(-4px); box-shadow: var(--sh-m); border-color: var(--c-line-2); }
.sch-entry--card .sch-entry__media { border-radius: 0; }
.sch-entry--row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; align-items: center; }
.sch-entry--row .sch-entry__body { padding: 0; }
.sch-entry--row .sch-entry__title { font-size: 1rem; }
.sch-entry--row .sch-entry__play { display: none; }
.sch-entry--row .sch-entry__duration { display: none; }
.sch-entry--announcement.no-image .sch-entry__media { display: none; }
.sch-entry.is-new { animation: sch-fade-in .8s ease both; }
@keyframes sch-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Podcast covers are square: show them whole on a blurred field of themselves instead of cropping. */
.sch-card--audio .sch-entry__media, .sch-entry--listen.sch-entry--row .sch-entry__media { background: var(--c-brand-soft); }
.sch-card--audio .sch-entry__media[style*="--sch-art"]::before, .sch-entry--listen.sch-entry--row .sch-entry__media[style*="--sch-art"]::before { content: ""; position: absolute; inset: -12%; background: var(--sch-art) center / cover no-repeat; filter: blur(22px) saturate(1.15); opacity: .75; }
.sch-card--audio .sch-entry__media[style*="--sch-art"] img, .sch-entry--listen.sch-entry--row .sch-entry__media[style*="--sch-art"] img { object-fit: contain; width: auto; height: 100%; left: 50%; transform: translateX(-50%); right: auto; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .3)); }
.sch-card--audio:hover .sch-entry__media[style*="--sch-art"] img { transform: translateX(-50%) scale(1.03); }

/* Generated art for items without a still. */
.sch-card__art { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: .9rem; background: var(--c-band); color: #fff; }
.sch-card__art::before { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: var(--sp-star-tile) 0 0 / 64px 64px repeat; mask: var(--sp-star-tile) 0 0 / 64px 64px repeat; opacity: .12; }
.sch-card__art-title { position: relative; font-size: .92rem; font-weight: 600; line-height: 1.3; }
.sch-entry--row .sch-card__art-title, .sch-episode__media .sch-card__art-title, .sch-series__media .sch-card__art-title, .sch-now__side .sch-card__art-title { font-size: .72rem; }

/* ------------------------------------------------------------------ Grids & lists */

.sch-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
@media (min-width: 1000px) { .sch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .sch-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sch-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sch-grid--cols-1 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) {
	.sch-grid { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
	.sch-grid > .sch-entry--card { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: .85rem; align-items: center; padding: .6rem; border-radius: 14px; }
	.sch-grid > .sch-entry--card .sch-entry__media { border-radius: 9px; }
	.sch-grid > .sch-entry--card .sch-entry__body { padding: 0; }
	.sch-grid > .sch-entry--card .sch-entry__play, .sch-grid > .sch-entry--card .sch-entry__actions { display: none; }
	.sch-grid > .sch-entry--card .sch-entry__title { font-size: .92rem; }
	.sch-grid > .sch-entry--card:hover { transform: none; box-shadow: var(--sh-s); }
}
.sch-list { display: flex; flex-direction: column; gap: .75rem; }

/* Audio section: rows with a round play button beside the title (the plugin nests the actions inside the body). */
.sp-audio-section .sch-list { display: grid; gap: .75rem var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .sp-audio-section .sch-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sp-audio-section .sch-entry--row { display: block; padding: .85rem 1rem; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-card); transition: box-shadow .2s, border-color .2s; }
.sp-audio-section .sch-entry--row:hover { box-shadow: var(--sh-s); border-color: var(--c-line-2); }
.sp-audio-section .sch-entry--row .sch-entry__media, .sp-audio-section .sch-entry--row .sch-entry__chips, .sp-audio-section .sch-entry--row .sch-entry__excerpt, .sp-audio-section .sch-entry--row .sch-badge--demo { display: none; }
.sp-audio-section .sch-entry--row .sch-entry__body { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); grid-template-areas: "play kicker" "play title" "play meta"; column-gap: 1rem; row-gap: .15rem; align-items: center; }
.sp-audio-section .sch-entry--row .sch-entry__kicker { grid-area: kicker; align-self: end; }
.sp-audio-section .sch-entry--row .sch-entry__title { grid-area: title; align-self: end; }
.sp-audio-section .sch-entry--row .sch-entry__meta { grid-area: meta; align-self: start; }
.sp-audio-section .sch-entry--row .sch-entry__actions { grid-area: play; margin: 0; align-self: center; }
.sp-audio-section .sch-entry--row .sch-entry__actions .sch-button--play { width: 2.75rem; min-height: 2.75rem; padding: 0; border-radius: 50%; background: var(--c-brand); color: var(--c-on-brand) !important; }
.sp-audio-section .sch-entry--row .sch-entry__actions .sch-button--play:hover { background: var(--c-brand-2); }
.sp-audio-section .sch-entry--row .sch-entry__actions .sch-button__label { display: none; }
.sp-audio-section .sch-entry--row .sch-entry__actions .sch-button:not(.sch-button--play) { display: none; }

/* The lead entry when it stands alone (live page). */
.sch-live__now .sch-entry--lead { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .sch-live__now .sch-entry--lead { grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; } }
.sch-live__now .sch-entry__media { border-radius: var(--r-card); }
.sch-live__now .sch-entry__body { padding: 0; gap: .6rem; }
.sch-live__now .sch-entry__title { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); font-weight: 700; }
.sch-live__now .sch-entry__play { opacity: 1; transform: translate(-50%, -50%); width: 68px; height: 68px; }
.sch-live__now .sch-entry__play::before { width: 26px; height: 26px; margin-left: 4px; }
.sch-live__now .sch-entry__title a::after { display: none; }

/* ------------------------------------------------------------------ Series */

.sch-series-list__items { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .sch-series-list__items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sch-series-list__items { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sch-series { min-width: 0; }
.sch-series__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.sch-series__link:hover { transform: translateY(-4px); box-shadow: var(--sh-m); border-color: var(--c-line-2); }
.sch-series__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-field); }
.sch-series__media img, .sch-series__media .sch-card__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sch-series__link:hover .sch-series__media img { transform: scale(1.04); }
.sch-series__stack { display: none; }
.sch-series__body { display: flex; flex-direction: column; gap: .35rem; padding: .95rem 1rem 1.1rem; }
.sch-series__link { position: relative; }
.sch-series__body .sch-chip, :root[data-theme="dark"] .sch-series__body .sch-chip { position: absolute; top: .6rem; left: .6rem; z-index: 2; background: var(--c-gold); color: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.sch-series__name { font-size: 1.05rem; font-weight: 600; line-height: 1.3; letter-spacing: -.01em; color: var(--c-ink); }
.sch-series__link:hover .sch-series__name { color: var(--c-brand-text); }
.sch-series__desc { color: var(--c-mute); font-size: .9rem; line-height: 1.5; }
.sch-series-filters { display: grid; gap: .5rem; margin-bottom: 1.5rem; }
.sch-series-filters ul { list-style: none; margin: 0; padding: 0; }
.sch-series-list__count, .sch-library__count { margin: 0 0 1rem; }
.sch-series-list__empty, .sch-empty { padding: 1.5rem 0; color: var(--c-mute); }
.sp-topic-series .sch-series-list { margin-bottom: var(--section); }
.sp-topic-series .sp-section__title { margin-bottom: 1rem; }

/* ------------------------------------------------------------------ Subjects */

.sch-topics__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .sch-topics__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sch-topics__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sch-topic__link { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.25rem 1.3rem; background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-card); text-decoration: none; color: inherit; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.sch-topic__link:hover { transform: translateY(-3px); box-shadow: var(--sh-s); border-color: var(--c-line-2); }
.sch-topic__name { font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }
.sch-topic__link:hover .sch-topic__name { color: var(--c-brand-text); }
.sch-topic__series { color: var(--c-mute); font-size: .88rem; line-height: 1.5; }
/* Compact subject strip above the library. */
.sp-topics-compact .sch-topics__list { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.sp-topics-compact .sch-topic__link { display: inline-flex; flex-direction: row; align-items: baseline; gap: .5rem; height: auto; padding: .55rem .95rem; border-radius: var(--r-pill); background: var(--c-field); }
.sp-topics-compact .sch-topic__link:hover { transform: none; box-shadow: none; border-color: var(--c-brand); }
.sp-topics-compact .sch-topic__name { font-size: .88rem; font-weight: 600; }
.sp-topics-compact .sch-topic__count { font-size: .76rem; }
.sp-topics-compact .sch-topic__series { display: none; }
@media (max-width: 599px) { .sp-topics-compact .sch-topics__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); } .sp-topics-compact .sch-topics__list::-webkit-scrollbar { display: none; } .sp-topics-compact .sch-topic__link { white-space: nowrap; } }

/* ------------------------------------------------------------------ Channels */

.sch-channels__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.sch-channels__list a { display: inline-flex; align-items: center; gap: .5rem; height: 2.25rem; padding: 0 .95rem; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-field); font-size: .88rem; font-weight: 500; color: var(--c-ink); text-decoration: none; transition: border-color .15s, color .15s; }
.sch-channels__list a:hover { border-color: var(--c-brand); color: var(--c-brand-text); }
.sch-channels--cards .sch-channels__list { display: grid; gap: .75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .sch-channels--cards .sch-channels__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sch-channels--cards .sch-channels__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sch-channels--cards .sch-channels__item a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon label count" "icon detail count"; align-items: center; column-gap: .9rem; height: auto; padding: .9rem 1rem; border-radius: 14px; background: var(--c-card); }
.sch-channels__icon { grid-area: icon; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 10px; background: var(--c-brand-soft); color: var(--c-brand-text); }
.sch-channels__icon svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.sch-channels__label { grid-area: label; font-weight: 600; }
.sch-channels__detail { grid-area: detail; }
.sch-channels__count { grid-area: count; color: var(--c-ink); font-weight: 600; }

/* ------------------------------------------------------------------ Live band */

.sp-band { background: var(--c-band); color: #fff; }
.sp-band::before { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: var(--sp-star-tile) 0 0 / 96px 96px repeat; mask: var(--sp-star-tile) 0 0 / 96px 96px repeat; opacity: .07; pointer-events: none; }
.sp-band > * { position: relative; }
.sp-band h2, .sp-band h3, .sp-band .sch-entry__title, .sp-band .sch-entry__title a { color: #fff; }
.sp-band .sp-eyebrow, .sp-band .sch-live__heading { color: #d9c48a; }
.sp-band .sp-split__text, .sp-band .sch-entry__meta, .sp-band .sch-entry__excerpt, .sp-band .sch-meta__series { color: rgba(255, 255, 255, .78); }
.sp-band .sch-entry:hover .sch-entry__title a { color: #d9c48a; }
.sp-band .sch-entry--card, .sp-band .sch-entry--row { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.sp-band .sch-entry--card:hover { box-shadow: 0 16px 40px rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .25); }
.sp-band .sch-chip { background: rgba(255, 255, 255, .14); color: #fff; }
.sp-band .sch-chip--live { background: rgba(255, 99, 88, .25); color: #ffb3ab; }
.sp-band .sch-button--ghost { border-color: rgba(255, 255, 255, .3); color: #fff !important; }
.sp-band .sch-button--ghost:hover { background: rgba(255, 255, 255, .1); }
.sp-band .sch-button:not(.sch-button--ghost) { background: #fff; color: #355d78 !important; }
.sp-band .sch-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 899px) { .sp-band .sch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .sp-band .sch-grid { grid-template-columns: minmax(0, 1fr); } }
.sch-live { display: grid; gap: 1.75rem; }
.sch-live__group { display: grid; gap: .9rem; }
.sch-live__heading { margin: 0; }

/* ------------------------------------------------------------------ Books */

.sp-books { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .sp-books { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sp-book { display: grid; grid-template-columns: clamp(6.5rem, 28%, 9.5rem) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); align-items: start; padding: clamp(1rem, 2.5vw, 1.5rem); background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-card); transition: box-shadow .25s, transform .25s var(--ease); }
.sp-book:hover { box-shadow: var(--sh-m); transform: translateY(-3px); }
.sp-book__cover { position: relative; aspect-ratio: 1 / 1.06; overflow: hidden; background: var(--c-field); border-radius: 12px; box-shadow: var(--sh-s); }
.sp-book__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sp-book__body { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.sp-book__body > * { margin: 0; }
.sp-book__title { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; }
.sp-book__desc { color: var(--c-mute); font-size: .95rem; line-height: 1.55; }
.sp-book__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .35rem; }
.sp-book__actions .sch-button { min-height: 2.4rem; padding: .4rem 1.1rem; font-size: .85rem; }
.sp-books--page .sp-book { grid-template-columns: clamp(8rem, 30%, 12rem) minmax(0, 1fr); }
.sp-books--page .sp-book__title { font-size: 1.4rem; }
.sp-books--page .sp-book__desc { font-size: 1rem; }

/* ------------------------------------------------------------------ Scholar card / About */

.sch-scholar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem 1.25rem; align-items: center; }
.sch-scholar__portrait { width: 4rem; height: 4rem; border-radius: 50%; overflow: hidden; background: var(--c-field); display: flex; align-items: center; justify-content: center; border: 1px solid var(--c-line); }
.sch-scholar__portrait img, .sch-portrait__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.sch-portrait--monogram .sch-portrait__monogram { font-size: 1.4rem; font-weight: 700; color: var(--c-brand-text); }
.sch-portrait--arch, .sch-portrait--rect { aspect-ratio: 4 / 5; border-radius: var(--r-media); overflow: hidden; background: var(--c-field); box-shadow: var(--sh-m); }
.sch-portrait--arch { border-radius: 50% 50% var(--r-media) var(--r-media) / 36% 36% var(--r-media) var(--r-media); }
.sch-portrait--monogram { display: grid; place-items: center; }
.sch-scholar__body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.sch-scholar__body > * { margin: 0; }
.sch-scholar__name { font-size: 1.15rem; font-weight: 700; letter-spacing: -.015em; }
.sch-scholar__bio { color: var(--c-ink-2); max-width: 64ch; line-height: 1.6; }
.sch-scholar__links { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem !important; }
.sch-scholar__links a { display: inline-flex; align-items: center; gap: .45rem; height: 2.1rem; padding: 0 .85rem; border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-field); font-size: .82rem; font-weight: 600; color: var(--c-ink); text-decoration: none; transition: border-color .15s, color .15s; }
.sch-scholar__links a:hover { border-color: var(--c-brand); color: var(--c-brand-text); }
.sp-section--about .sch-scholar { padding: clamp(1.25rem, 3vw, 2rem); background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-media); gap: 1.25rem 2rem; }
.sp-section--about .sch-scholar__portrait { width: clamp(5rem, 10vw, 7rem); height: clamp(5rem, 10vw, 7rem); }
.sp-section--about .sch-scholar__name { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.8rem); }
.sp-section--about .sch-scholar__bio { font-size: 1.02rem; }
@media (max-width: 599px) { .sp-section--about .sch-scholar { grid-template-columns: minmax(0, 1fr); } }
.sp-about__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .sp-about__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.sp-about__bio p { font-size: 1.1rem; line-height: 1.7; color: var(--c-ink-2); }
.sp-about__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem !important; }
.sp-about__aside { display: grid; gap: var(--gap); }
.sp-about__aside > .sch-portrait { max-width: 18rem; }
.sp-panel { padding: clamp(1.1rem, 3vw, 1.5rem); border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-card); }
.sp-panel > * { margin: 0 0 .85rem; }
.sp-panel > :last-child { margin-bottom: 0; }
.is-style-hairline li, .sp-apps li { padding: .6rem 0; border-top: 1px solid var(--c-line); }
.is-style-hairline li:first-child, .sp-apps li:first-child { border-top: 0; }
.sp-apps { list-style: none; margin: 0; padding: 0; }
.sp-apps a { font-weight: 600; color: var(--c-ink); text-decoration: none; }
.sp-apps a:hover { color: var(--c-brand-text); }

/* ------------------------------------------------------------------ Page heads, library, pagination */

.sp-page-head { padding: clamp(2rem, 4.5vw, 3.5rem) 0 clamp(1.25rem, 2.5vw, 2rem); margin-bottom: clamp(1.25rem, 2.5vw, 2rem) !important; display: grid; gap: .75rem; }
.sp-page-head > * { margin: 0 !important; }
.sp-page-head__title, h1.sch-topic-head__title, h1.sch-series-head__title { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.sp-page-head__lede { font-size: 1.12rem; line-height: 1.55; color: var(--c-mute); max-width: 58ch; }
.sp-page-content > :where(:not(.alignwide):not(.alignfull)) { margin-left: 0 !important; }
.sp-page-content > .sp-page-head__lede { margin: calc(-1 * clamp(1.25rem, 2.5vw, 2rem)) 0 clamp(1.5rem, 3vw, 2.5rem) !important; }
.sp-page-content > .sp-section__title { margin: var(--section) 0 1.25rem !important; }
.sch-topic-head { padding: clamp(2rem, 4.5vw, 3.5rem) 0 clamp(1.25rem, 2.5vw, 2rem); margin-bottom: clamp(1.25rem, 2.5vw, 2rem) !important; display: grid; gap: .75rem; }
.sch-topic-head > * { margin: 0; }
.sch-topic-head__desc { color: var(--c-mute); font-size: 1.12rem; max-width: 58ch; }

.sch-filters { display: grid; gap: 1rem; margin: 0 0 1.5rem; padding: 1.1rem; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-bg-2); }
.sch-filters__search { display: flex; gap: .5rem; }
.sch-filters__search input { flex: 1; background: var(--c-card); }
.sch-filters__search .sch-button { flex: none; }
.sch-filters__refine { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.sch-filters__field { display: grid; gap: .4rem; }
.sch-filters__field select { background-color: var(--c-card); }
.sch-filters__formats { background: var(--c-card); }
.sch-filters__formats input:checked + span { background: var(--c-brand); color: var(--c-on-brand); box-shadow: none; }
.sch-library__results { min-height: 10rem; }
@media (min-width: 1200px) { .sch-library .sch-grid, .sch-activity .sch-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sch-pagination { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1rem; justify-items: center; }
.sch-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; justify-content: center; }
.sch-pagination ul[hidden], .sch-pagination__more[hidden] { display: none; }
.sch-pagination li a, .sch-pagination li span, .wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem; border-radius: var(--r-pill); font-size: .88rem; font-weight: 600; color: var(--c-ink); text-decoration: none; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.sch-pagination li a:hover, .wp-block-query-pagination a:hover { background: var(--c-field); }
.sch-pagination li [aria-current], .sch-pagination li .is-current, .wp-block-query-pagination .current { background: var(--c-brand); color: var(--c-on-brand); }
.sch-pagination__gap { color: var(--c-mute); }
.sch-pagination__more { background: transparent; border-color: var(--c-line-2); color: var(--c-ink) !important; }
.sch-pagination__more:hover { background: var(--c-field); color: var(--c-ink) !important; }

/* ------------------------------------------------------------------ Teaching page & players */

.sp-teaching-page .sch-crumbs { padding: 1.1rem 0 0; }
.sch-crumbs ol, .sch-crumbs ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem .5rem; font-size: .85rem; font-weight: 500; color: var(--c-mute); }
.sch-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.sch-crumbs a { color: var(--c-ink-2); text-decoration: none; }
.sch-crumbs a:hover { color: var(--c-brand-text); }
.sp-teaching__player { margin-top: 1.1rem !important; }
.sch-player { position: relative; }
.sch-player--youtube .sch-player__facade, .sch-player__frame { display: block; position: relative; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; overflow: hidden; border-radius: var(--r-card); box-shadow: var(--sh-m); }
.sch-player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sch-player__button { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--c-brand); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .2s var(--ease); }
.sch-player__button::before { content: ""; width: 26px; height: 26px; margin-left: 4px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5v11l9.5-5.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5v11l9.5-5.5z'/%3E%3C/svg%3E") center / contain no-repeat; position: static; border: 0; transform: none; }
.sch-player__facade:hover .sch-player__button { transform: translate(-50%, -50%) scale(1.06); }
.sch-player__live { position: absolute; left: 1rem; top: 1rem; }
.sch-player--audio { display: grid; gap: 1.25rem; grid-template-columns: 6rem minmax(0, 1fr); align-items: center; padding: 1.1rem; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-card); box-shadow: var(--sh-s); }
.sch-player__art { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--c-field); border-radius: 12px; }
.sch-player__art img { width: 100%; height: 100%; object-fit: cover; }
.sch-player__controls { position: relative; display: grid; gap: .85rem; min-width: 0; }
.sch-player__audio { width: 100%; }
.sch-player__speed { display: flex; flex-wrap: wrap; gap: .35rem; }
.sch-player__speed[hidden] { display: none; }
.sch-player__rate, .sch-mini__rate { min-width: 2.75rem; height: 2rem; padding: 0 .65rem; border: 1px solid var(--c-line-2); border-radius: var(--r-pill); background: transparent; color: var(--c-ink); font: 600 .78rem/1 var(--font); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.sch-player__rate:hover, .sch-mini__rate:hover { background: var(--c-field); }
.sch-player__rate[aria-pressed="true"] { background: var(--c-brand); color: var(--c-on-brand); border-color: var(--c-brand); }
.sch-player--soundcloud .sch-player__frame { aspect-ratio: auto; height: 166px; }
.sch-player--publisher { padding: 1.25rem; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-card); display: grid; gap: .75rem; }
@media (max-width: 599px) { .sch-player--audio { grid-template-columns: minmax(0, 1fr); } .sch-player__art { max-width: 8rem; } }

/* The drawn audio player (theme.js). The native element stays in the document for assistive tech and tests. */
.sp-audio__native { position: absolute !important; left: 0; bottom: 0; width: 100%; height: 2px; opacity: 0; pointer-events: none; }
.sp-audio { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .9rem; align-items: center; min-width: 0; }
.sp-audio__toggle { width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: var(--c-brand); color: var(--c-on-brand); display: grid; place-items: center; cursor: pointer; transition: background .15s, transform .15s; flex: none; padding: 0; }
.sp-audio__toggle:hover { background: var(--c-brand-2); }
.sp-audio__toggle:active { transform: scale(.96); }
.sp-audio__icon { width: 1rem; height: 1rem; margin-left: 2px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5v11l9.5-5.5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5v11l9.5-5.5z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sp-audio.is-playing .sp-audio__icon { margin-left: 0; -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5h3v11H4zM9 2.5h3v11H9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 2.5h3v11H4zM9 2.5h3v11H9z'/%3E%3C/svg%3E"); }
.sp-audio.is-loading .sp-audio__icon { animation: sp-pulse 1s ease-in-out infinite; }
.sp-audio__body { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.sp-audio__time { font-size: .78rem; font-weight: 500; color: var(--c-mute); min-width: 2.6rem; }
.sp-audio__time[data-sp-cur] { text-align: right; }
.sp-audio__seek { -webkit-appearance: none; appearance: none; flex: 1; min-width: 4rem; height: 4px; margin: 0; padding: 0; border: 0; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--c-brand) var(--p, 0%), var(--c-line-2) var(--p, 0%)); cursor: pointer; }
.sp-audio__seek::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c-brand); border: 3px solid var(--c-card); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); transition: transform .15s; }
.sp-audio__seek::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--c-brand); border: 3px solid var(--c-card); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
.sp-audio__seek:hover::-webkit-slider-thumb { transform: scale(1.15); }
.sp-audio__seek:focus-visible { outline: 2px solid var(--c-brand); outline-offset: 6px; border-radius: var(--r-pill); }

.sp-teaching { margin-top: clamp(1.5rem, 3.5vw, 2.5rem) !important; gap: clamp(1.5rem, 4vw, 4rem); }
.sp-teaching__title { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem); margin: 0 0 1.1rem !important; }
.sch-item-meta { margin: 0 0 1.5rem; display: grid; gap: .25rem; }
.sch-item-meta__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: .55rem .9rem; border-radius: 10px; background: var(--c-bg-2); }
.sch-item-meta dt { line-height: 1.6; }
.sch-item-meta dd { margin: 0; font-size: .95rem; font-weight: 500; }
.sch-item-meta dd a { color: var(--c-brand-text); text-decoration: none; }
.sch-item-meta dd a:hover { text-decoration: underline; }
.sp-teaching__description { font-size: 1.05rem; line-height: 1.7; color: var(--c-ink-2); max-width: 66ch; }
.sp-teaching__description > * { margin-left: 0 !important; }
.sp-teaching__aside { display: grid; gap: var(--gap); align-content: start; }
.sp-teaching__aside > * { margin: 0 !important; }
.sp-teaching__aside .sch-scholar { padding: 1.1rem; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-card); }
@media (max-width: 781px) { .sp-teaching .wp-block-column { flex-basis: 100% !important; } }
.sch-series-nav { display: grid; gap: .75rem; padding: clamp(1.1rem, 3vw, 1.5rem); border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-card); box-shadow: var(--sh-s); }
.sch-series-nav > * { margin: 0; }
.sch-series-nav__series { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
.sch-series-nav__series a { color: var(--c-ink); text-decoration: none; }
.sch-series-nav__series a:hover { color: var(--c-brand-text); }
.sch-series-nav__progress { font-size: .82rem; font-weight: 500; color: var(--c-mute); }
.sch-series-nav__bar { height: 6px; border-radius: var(--r-pill); background: var(--c-field); overflow: hidden; }
.sch-series-nav__bar span { display: block; height: 100%; border-radius: var(--r-pill); background: var(--c-brand); }
.sch-series-nav__label { margin-top: .5rem; }
.sch-series-nav__next .sch-entry--row { grid-template-columns: 6rem minmax(0, 1fr); padding: .5rem 0 0; }
.sch-series-nav__next .sch-entry__title { font-size: .95rem; }
.sch-series-nav__done { font-size: .9rem; color: var(--c-mute); }
.sch-series-nav__all summary { cursor: pointer; font-size: .88rem; font-weight: 600; padding: .5rem 0; color: var(--c-ink); }
.sch-episodes { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.sch-episodes--compact { max-height: 22rem; overflow: auto; gap: .15rem; }
.sch-episodes--compact .sch-episode { grid-template-columns: 1.75rem minmax(0, 1fr); gap: .6rem; padding: .45rem .5rem; align-items: baseline; border: 0; background: transparent; box-shadow: none; }
.sch-episodes--compact .sch-episode__num { font-size: .8rem; width: auto; height: auto; background: transparent; color: var(--c-mute); }
.sch-episodes--compact .sch-episode__title { font-size: .92rem; }
.sch-episodes--compact .is-current { background: var(--c-brand-soft); border-radius: 8px; box-shadow: none; }
.sch-series-nav__prev a { font-size: .88rem; font-weight: 600; color: var(--c-ink-2); text-decoration: none; }
.sch-series-nav__prev a::before { content: "← "; }
.sch-related { margin-top: var(--section) !important; padding-top: clamp(1.5rem, 4vw, 2.5rem); border-top: 1px solid var(--c-line); }
.sch-related__heading { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin: 0 0 1.25rem; }

/* ------------------------------------------------------------------ Series page */

.sp-series-page .sch-series-head { display: grid; gap: var(--gap); padding: clamp(2rem, 4.5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 3rem); margin-bottom: clamp(1.25rem, 2.5vw, 2rem) !important; }
@media (min-width: 900px) { .sp-series-page .sch-series-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; } }
.sch-series-head__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-field); border-radius: var(--r-media); box-shadow: var(--sh-l); }
.sch-series-head__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sch-series-head__body { display: grid; gap: .9rem; }
.sch-series-head__body > * { margin: 0; }
.sch-series-head__desc { color: var(--c-mute); font-size: 1.08rem; line-height: 1.6; max-width: 58ch; }
.sch-series-head__desc p { margin: 0 0 .75rem; }
.sch-series-head__topics { display: flex; flex-wrap: wrap; gap: .5rem; }
.sch-series-head__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .25rem; }
.sch-series-episodes { display: grid; gap: 1rem; }
.sch-episode { display: grid; grid-template-columns: 2.5rem minmax(6rem, 9rem) minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: .75rem; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-card); transition: box-shadow .2s, border-color .2s; }
.sch-episode:hover { box-shadow: var(--sh-s); border-color: var(--c-line-2); }
.sch-episode__num { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--c-brand-soft); color: var(--c-brand-text); font-size: .95rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.sch-episode__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-field); border-radius: 9px; }
.sch-episode__media img, .sch-episode__media .sch-card__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sch-episode__body { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.sch-episode__title { font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--c-ink); text-decoration: none; }
.sch-episode__title:hover { color: var(--c-brand-text); }
.sch-episode__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
.sch-episode .sch-button--icon { width: 2.5rem; min-height: 2.5rem; padding: 0; border-radius: 50%; }
.sch-episode.is-current { border-color: var(--c-brand); box-shadow: var(--ring); }
@media (max-width: 599px) { .sch-episode { grid-template-columns: 2.25rem minmax(0, 1fr) auto; } .sch-episode__media { display: none; } }

/* ------------------------------------------------------------------ Updates (X) */

/* Updates: Facebook Page posts (fetched in the background) and channel cards. */
.sch-updates { display: grid; gap: var(--gap); }
.sch-updates__posts { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
@media (min-width: 900px) { .sch-updates__posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sch-update { position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr); background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-s); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), translate .2s var(--ease); }
.sch-update:hover { border-color: var(--c-line-2); box-shadow: var(--sh-m); translate: 0 -2px; }
.sch-update__media { position: relative; z-index: 1; display: block; aspect-ratio: 16 / 10; background: var(--c-bg-2); overflow: hidden; }
.sch-update__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sch-update__body { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; align-content: start; gap: .6rem; padding: 1.1rem 1.25rem 1.2rem; min-height: 11rem; }
.sch-update__kicker { margin: 0; display: flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mute); }
.sch-update__kicker::before { content: ""; width: 1rem; height: 1rem; flex: none; background: var(--c-brand-text); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v3H7v4h3v6h4v-6h3l1-4h-4V8a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v3H7v4h3v6h4v-6h3l1-4h-4V8a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E") center / contain no-repeat; }
.sch-update__kicker time::before { content: "·"; margin-right: .45rem; }
.sch-update__text { margin: 0; color: var(--c-ink); font-size: .97rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.sch-update--has-media .sch-update__text { -webkit-line-clamp: 4; }
.sch-update__text a { position: relative; z-index: 1; color: var(--c-brand-text); text-decoration: underline; text-decoration-color: var(--c-line-2); text-underline-offset: 2px; }
.sch-update__link { align-self: end; justify-self: start; font-size: .9rem; font-weight: 600; color: var(--c-brand-text); text-decoration: none; }
.sch-update__link::after { content: ""; position: absolute; inset: 0; }
.sch-update:hover .sch-update__link { text-decoration: underline; text-underline-offset: 3px; }
.sch-update:focus-within { box-shadow: var(--ring); }
.sch-updates__channels { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.sch-updates__channel a { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "icon name cta" "icon text cta"; column-gap: 1rem; row-gap: .1rem; align-items: center; padding: .9rem 1rem; background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-card); color: inherit; text-decoration: none; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.sch-updates__channel a:hover { border-color: var(--c-line-2); box-shadow: var(--sh-s); }
.sch-updates__channel a:focus-visible { outline: none; box-shadow: var(--ring); }
.sch-updates__channel a::before { content: ""; grid-area: icon; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--c-brand-soft); }
.sch-updates__channel a::after { content: ""; position: absolute; left: calc(1rem + .75rem); top: 50%; translate: 0 -50%; width: 1.25rem; height: 1.25rem; background: var(--c-brand-text); -webkit-mask: var(--i, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E")) center / contain no-repeat; mask: var(--i, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E")) center / contain no-repeat; }
.sch-updates__channel--facebook a { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v3H7v4h3v6h4v-6h3l1-4h-4V8a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E"); }
.sch-updates__channel--x a { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l16 16M20 4 4 20'/%3E%3C/svg%3E"); }
.sch-updates__channel--whatsapp a { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 0 0-7.8 13.5L3 21l4.6-1.2A9 9 0 1 0 12 3Z'/%3E%3Cpath d='M9.2 8.6c.2 3.2 3 6 6.2 6.2l1.2-1.4-2-1.2-1 .9a4.5 4.5 0 0 1-2.6-2.6l.9-1-1.2-2z'/%3E%3C/svg%3E"); }
.sch-updates__channel-name { grid-area: name; font-weight: 700; color: var(--c-ink); }
.sch-updates__channel-text { grid-area: text; font-size: .86rem; color: var(--c-mute); overflow-wrap: anywhere; }
.sch-updates__channel-cta { grid-area: cta; padding: .45rem .95rem; border: 1px solid var(--c-line-2); border-radius: var(--r-pill); font-size: .84rem; font-weight: 600; color: var(--c-brand-text); white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.sch-updates__channel a:hover .sch-updates__channel-cta { background: var(--c-brand); border-color: var(--c-brand); color: var(--c-on-brand); }
@media (max-width: 599px) { .sch-updates__channel a { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon name" "icon text"; } .sch-updates__channel-cta { display: none; } }
.sch-updates__sample { margin: 0; padding: .6rem .9rem; border-radius: var(--r-ctl); background: var(--c-gold-soft); color: var(--c-ink); font-size: .85rem; }
.sch-updates--sample .sch-update::after { content: "Sample"; position: absolute; top: .75rem; right: .75rem; z-index: 2; padding: .2rem .6rem; border-radius: var(--r-pill); background: var(--c-gold); color: #fff; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }

/* ------------------------------------------------------------------ Articles, forms, contact */

.sp-article { padding-top: clamp(1.75rem, 4.5vw, 3.5rem); }
.sp-article .wp-block-post-title { margin-bottom: 1rem !important; }
.sp-article .wp-block-post-date { display: block; margin-bottom: 1.5rem; }
.sp-article__image img { border-radius: var(--r-card); }
.sp-article .sch-scholar { margin-top: 3rem; padding: 1.1rem; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-card); }
.sp-article .wp-block-post-content > p { font-size: 1.08rem; line-height: 1.72; color: var(--c-ink-2); }
.sp-page-title { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; }
.sp-post-row { padding: 1.25rem 0; border-bottom: 1px solid var(--c-line); }
.sp-post-row > * { margin: 0 0 .4rem !important; }
.sp-post-row .wp-block-post-title a { color: var(--c-ink); text-decoration: none; }
.sp-post-row .wp-block-post-title a:hover { color: var(--c-brand-text); }
.sch-contact__form, .scc-form { display: grid; gap: 1rem; max-width: 40rem; }
.sch-contact__form p, .scc-form p { margin: 0; }
.sch-contact__row { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.sch-contact label, .scc-form label, .scc-field label { display: block; font-size: .85rem; font-weight: 600; color: var(--c-ink-2); margin-bottom: .4rem; }
.sch-contact__req { color: var(--c-live); margin-left: .15rem; }
.sch-contact__notice, .scc-notice { padding: .9rem 1.1rem; border-radius: var(--r-ctl); background: var(--c-brand-soft); color: var(--c-brand-text); font-size: .95rem; font-weight: 500; }
.sch-contact__notice--error, .scc-notice--error { background: var(--c-live-soft); color: var(--c-live); }
.scc-notice--success { background: var(--c-brand-soft); color: var(--c-brand-text); }

/* ------------------------------------------------------------------ Classroom (.scc-*) */

.sp-classroom-page .sp-page-head { padding-bottom: .75rem; }
.scc-dashboard, .scc-classroom { display: grid; gap: clamp(1.5rem, 4vw, 2.5rem); }
.scc-dashboard__header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--c-line); }
.scc-dashboard__title { margin: 0; font: 700 clamp(1.4rem, 1.2rem + 1vw, 2rem)/1.15 var(--font) !important; letter-spacing: -.025em; text-transform: none !important; color: var(--c-ink) !important; }
.scc-dashboard__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
.scc-panel, .scc-section { background: var(--c-card); border: 1px solid var(--c-line); border-top: 1px solid var(--c-line); border-radius: var(--r-card); padding: clamp(1.1rem, 3vw, 1.5rem); display: flex; flex-direction: column; gap: 1rem; margin: 0; box-shadow: var(--sh-s); }
.scc-section__title, .scc-panel__title { margin: 0 0 .15rem; font: 700 1.15rem/1.25 var(--font) !important; letter-spacing: -.015em; text-transform: none !important; color: var(--c-ink) !important; }
.scc-panel__text { color: var(--c-ink-2); margin: 0; }
.scc-actions { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.scc-link { color: var(--c-brand-text); font-weight: 600; }
.scc-class, .scc-session, .scc-announcement, .scc-resource, .scc-recording-item, .scc-quiz-item, .scc-list__item { padding: .9rem 0; border-top: 1px solid var(--c-line); }
.scc-class:first-child, .scc-session:first-child, .scc-announcement:first-child, .scc-resource:first-child, .scc-recording-item:first-child, .scc-quiz-item:first-child, .scc-list__item:first-child { border-top: 0; padding-top: 0; }
.scc-class__title, .scc-session__title, .scc-announcement__title, .scc-session-detail__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; color: var(--c-ink); margin: 0 0 .3rem; }
.scc-class__title a, .scc-session__title a { color: inherit; text-decoration: none; }
.scc-class__title a:hover, .scc-session__title a:hover { color: var(--c-brand-text); }
.scc-session { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; align-items: start; }
.scc-session__date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 3.5rem; border-radius: 12px; background: var(--c-brand-soft); color: var(--c-brand-text); line-height: 1; }
.scc-session__day { font-size: 1.3rem; font-weight: 700; }
.scc-session__month { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.scc-session.is-live .scc-session__date { background: var(--c-live); color: #fff; }
.scc-session__actions { margin: .5rem 0 0; }
.scc-meeting__caution { font-size: .85rem; color: var(--c-mute); }
.scc-badge, .scc-status { display: inline-flex; align-items: center; height: 1.6rem; padding: 0 .6rem; border-radius: var(--r-pill); font-size: .74rem; font-weight: 600; background: var(--c-field); color: var(--c-ink-2); border: 1px solid var(--c-line); }
.scc-status--pending { background: var(--c-gold-soft); color: #7a5d1f; border-color: transparent; }
.scc-field { margin: 0; }
.scc-field__help { font-size: .82rem; color: var(--c-mute); margin: .35rem 0 0; }
.scc-field--cohorts fieldset { border: 0; padding: 0; margin: 0; }
.scc-field--cohorts legend { font-size: .85rem; font-weight: 600; color: var(--c-ink-2); margin-bottom: .4rem; }
.scc-field--cohorts label { display: flex; gap: .6rem; align-items: center; font-size: .98rem; font-weight: 500; color: var(--c-ink); padding: .5rem 0; border-top: 1px solid var(--c-line); margin: 0; }
.scc-field--cohorts label:first-of-type { border-top: 0; }
.scc-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.scc-upcoming { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: var(--gap); }
.scc-upcoming__item { display: flex; flex-direction: column; gap: .5rem; padding: 1.25rem; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-card); box-shadow: var(--sh-s); }
.scc-upcoming__item > * { margin: 0; }
.scc-upcoming__date { font-size: .82rem; font-weight: 600; color: var(--c-brand-text); }
.scc-upcoming__title { font-size: 1.1rem; font-weight: 700; letter-spacing: -.015em; color: var(--c-ink); }
.scc-upcoming__cohort, .scc-upcoming__next { font-size: .85rem; color: var(--c-mute); }
.scc-upcoming__desc { color: var(--c-ink-2); font-size: .95rem; }
.scc-upcoming__cta a { font-size: .9rem; font-weight: 600; color: var(--c-brand-text); text-decoration: none; }
.scc-upcoming__cta a:hover { text-decoration: underline; }
.scc-upcoming--empty { display: block; }
.scc-quiz__q { padding: 1rem 0; border-top: 1px solid var(--c-line); }
.scc-quiz__q legend, .scc-q { font-weight: 600; margin-bottom: .5rem; font-size: 1.02rem; }
.scc-quiz__q label { display: flex; gap: .6rem; align-items: center; padding: .4rem 0; font-size: .98rem; font-weight: 500; color: var(--c-ink); margin: 0; }
.scc-quiz__score { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; }
.scc-quiz__result, .scc-quiz__review { display: flex; flex-direction: column; gap: .5rem; }
.scc-back { margin: 0 0 1rem; }
.scc-empty { color: var(--c-mute); }
@media (max-width: 781px) { .scc-dashboard__grid { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------------ Live page panel */

.sp-live-panel { display: grid; gap: .75rem; padding: clamp(1.5rem, 4vw, 2.5rem); margin: 0 0 clamp(1.5rem, 3vw, 2.5rem) !important; background: var(--c-band); color: #fff; border-radius: var(--r-media); position: relative; overflow: hidden; box-shadow: var(--sh-m); }
.sp-live-panel::before { content: ""; position: absolute; inset: 0; background: #fff; -webkit-mask: var(--sp-star-tile) 0 0 / 96px 96px repeat; mask: var(--sp-star-tile) 0 0 / 96px 96px repeat; opacity: .07; pointer-events: none; }
.sp-live-panel > * { margin: 0 !important; position: relative; }
.sp-live-panel .sp-eyebrow { color: #d9c48a; }
.sp-live-panel__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); color: #fff; }
.sp-live-panel__text { color: rgba(255, 255, 255, .8); max-width: 60ch; font-size: 1.02rem; }
.sp-live-panel .sp-live__actions { margin-top: .75rem !important; display: flex; flex-wrap: wrap; gap: .6rem; }
.sp-live-panel .wp-block-button__link { background: #fff; color: #355d78 !important; }
.sp-live-panel .wp-block-button__link:hover { background: #eaf0f6; }
.sp-live-panel .is-style-quiet .wp-block-button__link { background: transparent; border-color: rgba(255, 255, 255, .3); color: #fff !important; }
.sp-live-panel .is-style-quiet .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); }
.sp-live-embed { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: var(--r-card); margin: 0 0 1.5rem !important; }
.sp-live-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sp-page-content .sch-live { margin-bottom: var(--section); }

/* ------------------------------------------------------------------ Footer */

.sp-site-footer { margin-top: 0 !important; }
.sp-footer { background: var(--c-bg-2); border-top: 1px solid var(--c-line); padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2rem) !important; color: var(--c-ink); }
.sp-footer__inner { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 782px) { .sp-footer__inner { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; } }
.sp-footer__inner > * { margin: 0 !important; }
.sp-footer__brand-row { display: flex; align-items: center; gap: .7rem; }
.sp-footer__title { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.sp-footer__title a { color: var(--c-ink); text-decoration: none; }
.sp-footer .wp-block-site-tagline { margin-top: .75rem; }
.sp-footer__brand p { margin: .75rem 0 0; color: var(--c-mute); max-width: 38ch; font-size: .95rem; line-height: 1.6; }
.sp-footer__label { margin: 0 0 .9rem !important; }
.sp-footer__nav .wp-block-navigation__container { gap: .4rem !important; }
.sp-footer__nav .wp-block-navigation-item__content { padding: .1rem 0; font-size: .95rem; font-weight: 500; color: var(--c-ink-2); text-decoration: none; }
.sp-footer__nav .wp-block-navigation-item__content:hover { color: var(--c-brand-text); }
.sp-footer .sch-channels__list { flex-direction: column; gap: .4rem; }
.sp-footer .sch-channels__list a { border: 0; padding: .1rem 0; height: auto; background: transparent; color: var(--c-ink-2); font-size: .95rem; border-radius: 0; gap: .6rem; }
.sp-footer .sch-channels__list a:hover { color: var(--c-brand-text); }
.sp-footer__apps { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem !important; }
.sp-footer__apps .sch-button { min-height: 2.4rem; padding: .4rem 1.05rem; font-size: .85rem; }
.sp-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: clamp(2rem, 4vw, 3rem) !important; padding-top: 1.25rem; border-top: 1px solid var(--c-line); font-size: .85rem; color: var(--c-mute); gap: .5rem 1.5rem; }
.sp-footer__base p { margin: 0; }
.sp-footer .scc-account { display: flex; gap: 1.25rem; }
.sp-footer .scc-account a { color: var(--c-ink); font-weight: 600; text-decoration: none; }
.sp-footer .scc-account a:hover { color: var(--c-brand-text); }

/* ------------------------------------------------------------------ Mini player & toast */

.sch-mini { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; transform: translateY(110%); transition: transform .3s var(--ease); background: color-mix(in srgb, var(--c-card) 92%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: var(--c-ink); border-top: 1px solid var(--c-line); box-shadow: 0 -12px 40px rgba(11, 31, 36, .12); }
:root[data-theme="dark"] .sch-mini { box-shadow: 0 -12px 40px rgba(0, 0, 0, .5); }
.sch-mini.is-open { transform: none; }
.sch-mini__inner { position: relative; max-width: var(--wide); margin: 0 auto; padding: .7rem var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto auto; gap: 1rem; align-items: center; }
.sch-mini__text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.sch-mini__label { font-size: .74rem; font-weight: 600; color: var(--c-brand-text); }
.sch-mini__title { color: var(--c-ink); font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.sch-mini__title:hover { color: var(--c-brand-text); }
.sch-mini__audio:not(.sp-audio__native) { width: 100%; height: 2.5rem; }
.sch-mini__rate { height: 2.25rem; }
.sch-mini__close { width: 2.25rem; height: 2.25rem; border: 0; border-radius: 50%; background: transparent; color: var(--c-mute); font-size: 1.3rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.sch-mini__close:hover { background: var(--c-field); color: var(--c-ink); }
body.has-mini-player { padding-bottom: 5.5rem; }
@media (max-width: 699px) {
	.sch-mini__inner { grid-template-columns: minmax(0, 1fr) auto auto; row-gap: .5rem; }
	.sch-mini__audio:not(.sp-audio__native), .sch-mini .sp-audio { grid-column: 1 / -1; grid-row: 2; }
	body.has-mini-player { padding-bottom: 8rem; }
}
.sch-fresh-notice { position: fixed; z-index: 90; left: 50%; bottom: 1.25rem; transform: translate(-50%, 160%); padding: .8rem 1.25rem; border-radius: var(--r-pill); background: var(--c-ink); color: var(--c-bg); font-size: .9rem; font-weight: 600; box-shadow: var(--sh-m); transition: transform .35s var(--ease); }
.sch-fresh-notice.is-visible { transform: translate(-50%, 0); }
body.has-mini-player .sch-fresh-notice { bottom: 6.5rem; }

/* ------------------------------------------------------------------ 404 / search */

.sp-404 { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 5vw, 3rem); text-align: center; }
.sp-404 h1 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.2rem); font-weight: 800; letter-spacing: -.035em; }
.sp-404 p { color: var(--c-mute); max-width: 48ch; margin-inline: auto; font-size: 1.08rem; }
.sp-404__search { justify-content: center; margin-top: 1.5rem; }
.sp-404__search .sch-search__form { display: flex; height: 48px; width: min(100%, 24rem); }
.sp-404__search .sch-search__form input { width: 100%; }
.sp-404__search .sch-search__toggle { display: none; }

/* ------------------------------------------------------------------ Icons (CSS masks, currentColor) */
.sp-i { display: inline-block; width: 1.1em; height: 1.1em; flex: none; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; vertical-align: -.15em; }
.sp-i--video { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Zm14 4 4-2v8l-4-2'/%3E%3C/svg%3E"); }
.sp-i--khutbah { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4M8 7h8l1 4H7l1-4ZM6 11h12v10H6zM10 15h4'/%3E%3C/svg%3E"); }
.sp-i--series { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h12a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7Zm3-3h11a2 2 0 0 1 2 2v9'/%3E%3C/svg%3E"); }
.sp-i--audio { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M8 8v8M16 8v8M4 11v2M20 11v2'/%3E%3C/svg%3E"); }
.sp-i--live { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M7.5 7.5a6.5 6.5 0 0 0 0 9M16.5 7.5a6.5 6.5 0 0 1 0 9M4.6 4.6a10.5 10.5 0 0 0 0 14.8M19.4 4.6a10.5 10.5 0 0 1 0 14.8'/%3E%3C/svg%3E"); }
.sp-i--book { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h6a3 3 0 0 1 3 3v13a2 2 0 0 0-2-2H4zM20 4h-6a3 3 0 0 0-3 3v13a2 2 0 0 1 2-2h7z'/%3E%3C/svg%3E"); }
.sp-i--grid { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E"); }
.sp-i--bell { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16V11a6 6 0 1 1 12 0v5l2 2H4zM10 20a2 2 0 0 0 4 0'/%3E%3C/svg%3E"); }
.sp-i--cap { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2 9 10-5 10 5-10 5zM6 11v5c0 1.5 3 3 6 3s6-1.5 6-3v-5M22 9v6'/%3E%3C/svg%3E"); }
.sp-i--user { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.sp-i--clock { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.sp-i--calendar { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.sp-i--youtube { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 8.5a3 3 0 0 0-2-2C18 6 12 6 12 6s-6 0-8 .5a3 3 0 0 0-2 2A31 31 0 0 0 2 12a31 31 0 0 0 0 3.5 3 3 0 0 0 2 2c2 .5 8 .5 8 .5s6 0 8-.5a3 3 0 0 0 2-2A31 31 0 0 0 22 12a31 31 0 0 0 0-3.5Z'/%3E%3Cpath d='m10 9.5 5 2.5-5 2.5z' fill='currentColor' stroke='none'/%3E%3C/svg%3E"); }
.sp-i--x { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l16 16M20 4 4 20'/%3E%3C/svg%3E"); }
.sp-i--facebook { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v3H7v4h3v6h4v-6h3l1-4h-4V8a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E"); }
.sp-i--whatsapp { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 0 0-7.8 13.5L3 21l4.6-1.2A9 9 0 1 0 12 3Z'/%3E%3Cpath d='M9.2 8.6c.2 3.2 3 6 6.2 6.2l1.2-1.4-2-1.2-1 .9a4.5 4.5 0 0 1-2.6-2.6l.9-1-1.2-2z'/%3E%3C/svg%3E"); }
.sp-i--instagram { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='currentColor' stroke='none'/%3E%3C/svg%3E"); }
.sp-i--podcast { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='11' r='3'/%3E%3Cpath d='M8 15.5a6 6 0 1 1 8 0M5.5 18a10 10 0 1 1 13 0M12 14v7'/%3E%3C/svg%3E"); }
.sp-i--app { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/svg%3E"); }
.sp-i--mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.sp-i--search { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E"); }
.sp-i--heart { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.5-7-10a4 4 0 0 1 7-2.5A4 4 0 0 1 19 10c0 5.5-7 10-7 10Z'/%3E%3C/svg%3E"); }
.sp-i--scroll { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4h12v16H6zM9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E"); }
.sp-i--shield { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3C/svg%3E"); }
.sp-i--scale { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M5 21h14M3 8l4-4h10l4 4M3 8l3 6a3 3 0 0 0 6 0L9 8M15 8l3 6a3 3 0 0 0 6 0l-3-6'/%3E%3C/svg%3E"); }
.sp-i--footprints { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4c2 0 3 2 3 4.5S8 13 6 13s-3-2-3-4.5S4 4 6 4ZM18 9c2 0 3 2 3 4.5S20 18 18 18s-3-2-3-4.5S16 9 18 9ZM5 15h2v3H5zM17 20h2v2h-2z'/%3E%3C/svg%3E"); }
.sp-i--landmark { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10M9 21V10M15 21V10M19 21V10M2 10l10-6 10 6z'/%3E%3C/svg%3E"); }
.sp-i--users { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2 20a7 7 0 0 1 14 0M16 5a3.5 3.5 0 0 1 0 7M22 20a7 7 0 0 0-5-6.7'/%3E%3C/svg%3E"); }
.sp-i--globe { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.sp-i--mic { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3M8 21h8'/%3E%3C/svg%3E"); }
.sp-i--moon { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 14.5A8.5 8.5 0 1 1 9.5 4a7 7 0 0 0 10.5 10.5Z'/%3E%3C/svg%3E"); }
.sp-i--sun { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E"); }
.sp-i--play { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4.5v15l12-7.5z' fill='currentColor' stroke='none'/%3E%3C/svg%3E"); }

/* Section heads: a tinted icon tile before the title. */
.sp-section__head .sp-section__icon { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 12px; background: var(--c-brand-soft); color: var(--c-brand-text); margin-bottom: .75rem; }
.sp-section__head .sp-section__icon .sp-i { width: 1.25rem; height: 1.25rem; }
.sp-band .sp-section__icon, .sp-band .sp-eyebrow .sp-i { background: rgba(255, 255, 255, .14); color: #fff; }
.sp-eyebrow .sp-i { width: 1em; height: 1em; margin-right: .1rem; }
.sp-eyebrow:has(.sp-i)::before { display: none; }
/* Hero statistics and the identity's subject pills. */
.sch-identity__stat dd { display: flex; align-items: center; gap: .45rem; }
.sch-identity__stat dd::before { content: ""; width: 1.1rem; height: 1.1rem; background: var(--c-brand-text); -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.sch-identity__stat:nth-child(1) dd::before { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h12a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2Zm14 4 4-2v8l-4-2'/%3E%3C/svg%3E"); }
.sch-identity__stat:nth-child(2) dd::before { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M8 8v8M16 8v8M4 11v2M20 11v2'/%3E%3C/svg%3E"); }
.sch-identity__stat:nth-child(3) dd::before { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h12a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7Zm3-3h11a2 2 0 0 1 2 2v9'/%3E%3C/svg%3E"); }
/* Hero buttons. */
.sp-hero__actions .wp-block-button:first-child .wp-block-button__link::before, .sp-hero__actions .wp-block-button:nth-child(2) .wp-block-button__link::before { content: ""; width: 1rem; height: 1rem; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.sp-hero__actions .wp-block-button:first-child .wp-block-button__link::before { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 4.5v15l12-7.5z' fill='currentColor' stroke='none'/%3E%3C/svg%3E"); }
.sp-hero__actions .wp-block-button:nth-child(2) .wp-block-button__link::before { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h12a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7Zm3-3h11a2 2 0 0 1 2 2v9'/%3E%3C/svg%3E"); }
.wp-block-button__link { display: inline-flex; align-items: center; gap: .5rem; }
/* Channel links (footer, about, scholar card): a glyph per network. */
.sch-channels__list a::before, .sch-scholar__links a::before { content: ""; width: 1rem; height: 1rem; flex: none; background: currentColor; -webkit-mask: var(--i, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E")) center / contain no-repeat; mask: var(--i, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'/%3E")) center / contain no-repeat; }
.sch-channels__item--youtube a, .sch-scholar__links a[href*="youtube."] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 8.5a3 3 0 0 0-2-2C18 6 12 6 12 6s-6 0-8 .5a3 3 0 0 0-2 2A31 31 0 0 0 2 12a31 31 0 0 0 0 3.5 3 3 0 0 0 2 2c2 .5 8 .5 8 .5s6 0 8-.5a3 3 0 0 0 2-2A31 31 0 0 0 22 12a31 31 0 0 0 0-3.5Z'/%3E%3Cpath d='m10 9.5 5 2.5-5 2.5z' fill='currentColor' stroke='none'/%3E%3C/svg%3E"); }
.sch-channels__item--x a, .sch-scholar__links a[href*="x.com"], .sch-scholar__links a[href*="twitter.com"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4l16 16M20 4 4 20'/%3E%3C/svg%3E"); }
.sch-channels__item--facebook a, .sch-scholar__links a[href*="facebook."] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 8h3V4h-3a4 4 0 0 0-4 4v3H7v4h3v6h4v-6h3l1-4h-4V8a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E"); }
.sch-channels__item--instagram a, .sch-scholar__links a[href*="instagram."] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='currentColor' stroke='none'/%3E%3C/svg%3E"); }
.sch-channels__item--podcast a, .sch-channels__item--soundcloud a, .sch-scholar__links a[href*="spreaker."], .sch-scholar__links a[href*="soundcloud."] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='11' r='3'/%3E%3Cpath d='M8 15.5a6 6 0 1 1 8 0M5.5 18a10 10 0 1 1 13 0M12 14v7'/%3E%3C/svg%3E"); }
.sch-channels__item--telegram a { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.sch-channels__item--whatsapp a, .sch-scholar__links a[href*="whatsapp."], .sch-scholar__links a[href*="wa.me"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 0 0-7.8 13.5L3 21l4.6-1.2A9 9 0 1 0 12 3Z'/%3E%3Cpath d='M9.2 8.6c.2 3.2 3 6 6.2 6.2l1.2-1.4-2-1.2-1 .9a4.5 4.5 0 0 1-2.6-2.6l.9-1-1.2-2z'/%3E%3C/svg%3E"); }
.sch-channels__item--app a { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='2.5' width='12' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3C/svg%3E"); }
.sch-scholar__links a[href*="/about"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E"); }
.sch-scholar__links a[href*="/contact"] { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
/* Subject cards: a glyph per subject slug. */
.sch-topic__link::before { content: ""; width: 2.25rem; height: 2.25rem; border-radius: 10px; background: var(--c-brand-soft); margin-bottom: .35rem; -webkit-mask: none; mask: none; position: relative; }
.sch-topic__link::after { content: ""; position: absolute; left: 1.3rem; top: 1.25rem; width: 2.25rem; height: 2.25rem; background: var(--c-brand-text); -webkit-mask: var(--i, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E")) center / 1.2rem no-repeat; mask: var(--i, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1.5'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1.5'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1.5'/%3E%3C/svg%3E")) center / 1.2rem no-repeat; pointer-events: none; }
.sch-topic__link { position: relative; }
.sch-topic--quran-tafsir .sch-topic__link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h6a3 3 0 0 1 3 3v13a2 2 0 0 0-2-2H4zM20 4h-6a3 3 0 0 0-3 3v13a2 2 0 0 1 2-2h7z'/%3E%3C/svg%3E"); }
.sch-topic--hadith .sch-topic__link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4h12v16H6zM9 8h6M9 12h6M9 16h4'/%3E%3C/svg%3E"); }
.sch-topic--aqeedah .sch-topic__link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3C/svg%3E"); }
.sch-topic--fiqh .sch-topic__link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M5 21h14M3 8l4-4h10l4 4M3 8l3 6a3 3 0 0 0 6 0L9 8M15 8l3 6a3 3 0 0 0 6 0l-3-6'/%3E%3C/svg%3E"); }
.sch-topic--seerah .sch-topic__link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 4c2 0 3 2 3 4.5S8 13 6 13s-3-2-3-4.5S4 4 6 4ZM18 9c2 0 3 2 3 4.5S20 18 18 18s-3-2-3-4.5S16 9 18 9ZM5 15h2v3H5zM17 20h2v2h-2z'/%3E%3C/svg%3E"); }
.sch-topic--islamic-history .sch-topic__link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10M9 21V10M15 21V10M19 21V10M2 10l10-6 10 6z'/%3E%3C/svg%3E"); }
.sch-topic--tazkiyah .sch-topic__link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.5-7-10a4 4 0 0 1 7-2.5A4 4 0 0 1 19 10c0 5.5-7 10-7 10Z'/%3E%3C/svg%3E"); }
.sch-topic--family-society .sch-topic__link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2 20a7 7 0 0 1 14 0M16 5a3.5 3.5 0 0 1 0 7M22 20a7 7 0 0 0-5-6.7'/%3E%3C/svg%3E"); }
.sch-topic--contemporary-issues .sch-topic__link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
.sch-topic--general-lectures .sch-topic__link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3M8 21h8'/%3E%3C/svg%3E"); }
.sch-topic--khutbah .sch-topic__link { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v4M8 7h8l1 4H7l1-4ZM6 11h12v10H6zM10 15h4'/%3E%3C/svg%3E"); }
.sp-topics-compact .sch-topic__link::before, .sp-topics-compact .sch-topic__link::after { display: none; }
/* Page heads and meta rows. */
.sp-page-head__eyebrow .sp-i, .sch-topic-head__eyebrow .sp-i { width: 1em; height: 1em; }
.sch-entry__meta time::before, .sch-episode__meta time::before { content: ""; display: inline-block; width: .85em; height: .85em; margin-right: .3em; vertical-align: -.1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .8; }
.sch-meta__duration::before { content: ""; display: inline-block; width: .85em; height: .85em; margin-right: .3em; vertical-align: -.1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .8; }
.sch-now__lead .sch-entry__meta time::before, .sch-now__lead .sch-meta__duration::before { opacity: .9; }
/* Mini player label. */
.sch-mini__label::before { content: ""; display: inline-block; width: .9em; height: .9em; margin-right: .3em; vertical-align: -.1em; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M8 8v8M16 8v8M4 11v2M20 11v2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M8 8v8M16 8v8M4 11v2M20 11v2'/%3E%3C/svg%3E") center / contain no-repeat; }
.sp-announcements { margin-bottom: var(--gap) !important; }
.sp-announcement { padding: 1.25rem 1.3rem; background: var(--c-card); border: 1px solid var(--c-line); border-radius: var(--r-card); display: grid; gap: .4rem; height: 100%; }
.sp-announcement > * { margin: 0 !important; }
.sp-announcement__title { font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; }
.sp-announcement__title a { color: var(--c-ink); text-decoration: none; }
.sp-announcement__title a:hover { color: var(--c-brand-text); }
.sp-announcement .wp-block-post-excerpt { color: var(--c-mute); font-size: .92rem; }
.sp-announcement .wp-block-post-excerpt p { margin: 0; }


@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Classroom welcome and management states. */
.sp-classroom-page .scc-dashboard { width: 100%; max-width: var(--wp--style--global--wide-size, 1240px); }
.sp-classroom-page .sp-page-content:empty { display: none; }
.sp-classroom-intro { max-width: 44rem; color: var(--c-ink-2); font-size: 1.05rem; line-height: 1.65; margin: 1rem 0 0; }
.scc-welcome-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.scc-dashboard__header { margin-bottom: 0; }
.scc-manager { border: 1px solid var(--c-line); border-radius: var(--r-card); overflow: hidden; background: var(--c-card); box-shadow: var(--sh-s); }
.scc-manager__intro { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--c-brand-soft); }
.scc-manager__intro > div { max-width: 43rem; }
.scc-manager__intro h3, .scc-start-card h3 { margin: .5rem 0 .75rem; font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.25; letter-spacing: -.025em; color: var(--c-ink); }
.scc-manager__intro p:last-child, .scc-start-card p { color: var(--c-ink-2); line-height: 1.7; margin: 0; }
.scc-manager__intro .scc-button { flex-shrink: 0; }
.scc-setup-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.scc-setup-step { padding: 1.75rem; color: var(--c-ink); text-decoration: none; transition: background .15s; }
.scc-setup-step + .scc-setup-step { border-left: 1px solid var(--c-line); }
.scc-setup-step:hover { background: var(--c-field); }
.scc-setup-step__number { color: var(--c-brand-text); font-size: .78rem; font-weight: 700; letter-spacing: .1em; }
.scc-setup-step h4 { margin: 1rem 0 .5rem; font-size: 1.05rem; }
.scc-setup-step h4 span { float: right; color: var(--c-brand-text); }
.scc-setup-step p { margin: 0; color: var(--c-ink-2); font-size: .92rem; line-height: 1.65; }
.scc-start-card { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--c-brand-soft); border-radius: var(--r-card); display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.scc-start-card h3 { margin: 0; }
.scc-start-card__icon { width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; background: var(--c-card); color: var(--c-brand-text); font-size: 1.5rem; }
.scc-start-card .scc-button { margin-top: .5rem; }
.scc-catalog > h2 { margin-bottom: .5rem; }
@media (max-width: 781px) {
 .scc-welcome-grid, .scc-setup-steps { grid-template-columns: minmax(0, 1fr); }
 .scc-manager__intro { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
 .scc-setup-step + .scc-setup-step { border-left: 0; border-top: 1px solid var(--c-line); }
 .scc-setup-step { padding: 1.25rem; }
}

/* Course artwork and a clear next step in the student dashboard. */
.scc-course-cover { width:100%; overflow:hidden; border-radius:12px; background:var(--c-brand-soft); color:var(--c-brand-text); aspect-ratio: 16 / 7; }
.scc-course-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.scc-course-cover svg { display:block; width:100%; height:100%; }
.scc-course-cover--art { background:linear-gradient(130deg,var(--c-brand-soft),var(--c-field)); }
.scc-course-content { padding:1.25rem; display:flex; flex-direction:column; align-items:flex-start; gap:.75rem; }
.scc-course-content > * { margin:0; }
.scc-course-content h4 { font-size:1.15rem; line-height:1.4; }
.scc-course-content p { color:var(--c-ink-2); font-size:.95rem; line-height:1.65; }
.scc-section--classes .scc-classes { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); gap:1.25rem; list-style:none; margin:0; padding:0; }
.scc-section--classes .scc-class, .scc-section--pending .scc-pending { padding:0; border:1px solid var(--c-line); border-radius:12px; overflow:hidden; }
.scc-section--classes .scc-course-cover, .scc-pending .scc-course-cover { border-radius:0; }
.scc-section--pending .scc-list { display:grid; gap:1.25rem; }
.scc-section--open .scc-list, .scc-section--paid .scc-list { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr)); gap:1.25rem; }
.scc-section--open .scc-list__item, .scc-section--paid .scc-list__item { border:1px solid var(--c-line); border-radius:12px; padding:1rem; }
.scc-section--open .scc-form, .scc-section--paid .scc-form { display:flex; flex-direction:column; align-items:stretch; max-width:none; }
.scc-offline { width:100%; }
.scc-offline .scc-form { max-width:none; }

/* App artwork remains unchanged; a site icon replaces the generic mark. */
.sp-brand__mark--image {width:56px;height:56px;border-radius:12px;overflow:hidden;background:none;}
.sp-brand__mark--image::before {display:none;}
.sp-brand__mark--image img {display:block;width:100%;height:100%;object-fit:contain;}
:root {--c-gold:#a6425f;--c-gold-soft:#fcebed;--c-band:linear-gradient(130deg,#355d78,#6c5d7a);}
:root[data-theme="dark"] {--c-gold:#efadbd;--c-gold-soft:#3a2935;}
.sp-footer {background:linear-gradient(150deg,var(--c-bg-2),var(--c-brand-soft));}
.scc-course-cover--art {background:linear-gradient(120deg,var(--c-brand-soft),var(--c-gold-soft));}
@media(max-width:600px){.sp-brand__mark--image{width:44px;height:44px;}}
@media(min-width:782px){
 .scc-section--classes .scc-classes {grid-template-columns:repeat(auto-fill,minmax(290px,1fr));}
 .scc-section--pending .scc-pending {display:grid;grid-template-columns:220px minmax(0,1fr);}
 .scc-pending .scc-course-cover {height:100%;min-height:220px;aspect-ratio:auto;}
}
@media(min-width:782px){.scc-section--open .scc-list,.scc-section--paid .scc-list{grid-template-columns:repeat(auto-fill,minmax(290px,1fr));}}
@media(min-width:1100px) and (max-width:1380px){.sp-header .sp-brand__title{font-size:.95rem}.sp-header .sp-brand{gap:.5rem}.sp-header .sp-brand__mark--image{width:44px;height:44px}}

/* Public calendar: feed and scheduling logic live in Scholar Classroom. */
.sp-calendar nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin:2rem 0}.sp-calendar nav h2{margin:0}.sp-calendar details{padding:1rem;border:1px solid var(--c-border,#ccd2d9);border-radius:12px}.sp-calendar summary{cursor:pointer;font-weight:700}.sp-calendar input{padding:.75rem;border:1px solid var(--c-border,#ccd2d9);border-radius:8px;font:inherit;width:100%;box-sizing:border-box;color:var(--c-ink,#17212b);background:var(--c-bg,#fff)}.sp-calendar__grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;border:1px solid var(--c-border,#ccd2d9)}.sp-calendar__grid>div{min-height:90px;padding:.5rem;border:1px solid var(--c-border,#ccd2d9);overflow-wrap:anywhere}.sp-calendar__grid>strong{padding:.5rem;text-align:center}.sp-calendar__grid span{display:block;font-size:.75rem;line-height:1.3;margin-top:.5rem;color:var(--c-brand,#305d79)}.sp-calendar__event{padding:1.25rem 0;border-bottom:1px solid var(--c-border,#ccd2d9);overflow-wrap:anywhere}.sp-calendar__event h3{margin-bottom:.5rem}@media(max-width:640px){.sp-calendar__grid{display:none}.sp-calendar nav{gap:.5rem}.sp-calendar nav h2{font-size:1.25rem}}

/* Keep the expanded navigation clear of search and branding. */
@media(max-width:1199px){.sp-header .sp-nav{flex:none;order:3}.sp-header .sp-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}.sp-header .sp-nav .wp-block-navigation__responsive-container-open{display:flex!important}.sp-header__tools{margin-left:auto}}

/* Prominent, compact announcements with accessible in-place reading. */
#updates{scroll-margin-top:calc(var(--header-h,5rem) + 1rem);background:var(--c-bg-2);border-block:1px solid var(--c-line)}
.sp-hero__updates{margin-top:1rem!important;font-size:.95rem;font-weight:650}.sp-hero__updates a{color:var(--c-brand-text);text-underline-offset:.25em}
.sch-updates__posts{align-items:start;gap:1rem}.sch-update{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto;align-items:start;box-shadow:none}.sch-update__body{grid-column:1;grid-row:1;min-height:0;display:flex;flex-direction:column;gap:.85rem;padding:1.35rem}.sch-update__media{grid-column:2;grid-row:1;width:5rem;height:5rem;aspect-ratio:1;margin:1.35rem 1.35rem 1.35rem 0;border-radius:8px;background:var(--c-field)}.sch-update__media[hidden]{display:none}.sch-update__media img{object-fit:contain}.sch-update__kicker{flex-wrap:wrap;font-size:.75rem;line-height:1.5;letter-spacing:.025em;color:var(--c-ink-2)}.sch-update__text,.sch-update--has-media .sch-update__text{font-size:1rem;line-height:1.65;-webkit-line-clamp:6}.sch-update__text.is-expanded{display:block;overflow:visible}.sch-update__link{align-self:flex-start;margin-top:.25rem;text-decoration:underline;text-underline-offset:.2em}.sch-update__link::after{content:none}.sch-update__expand{align-self:flex-start;padding:0;border:0;background:none;color:var(--c-brand-text);font:600 .9rem var(--font);text-decoration:underline;text-underline-offset:.2em;cursor:pointer}.sch-update__expand:focus-visible{outline:2px solid var(--c-brand);outline-offset:4px}.sch-update__fallback{margin:0;color:var(--c-ink);font-size:1rem}.sch-updates__channel a{background:transparent;border-radius:10px}.sch-updates__channels{margin-top:.5rem}.sch-updates__channel-text{color:var(--c-ink-2)}
@media(min-width:900px){.sch-update__body{min-height:15rem}.sch-update--has-media .sch-update__body{min-height:15rem}}@media(max-width:599px){.sch-update__media{width:4rem;height:4rem;margin-right:1rem}.sch-update__body{padding:1.1rem}.sch-updates__channel-cta{display:inline-block;grid-area:auto;justify-self:start;margin-top:.5rem}.sch-updates__channel a{grid-template-areas:"icon name" "icon text" "icon cta"}}

/* Persistent classroom access and clearly visible current navigation. */
.sp-classes{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:.55rem .95rem;border:2px solid var(--c-brand);border-radius:var(--r-pill);background:var(--c-brand);color:var(--c-on-brand);font-weight:700;text-decoration:none;white-space:nowrap}
.sp-classes:hover{background:var(--c-ink);border-color:var(--c-ink);color:var(--c-bg)}
.sp-nav .wp-block-navigation-item__content.sp-current,.sp-nav .current-menu-item>.wp-block-navigation-item__content,.sp-nav .wp-block-navigation-item__content[aria-current="page"]{background:var(--c-brand);color:var(--c-on-brand);font-weight:700;box-shadow:inset 0 -3px 0 currentColor}
.sp-classes[aria-current]{outline:2px solid var(--c-ink);outline-offset:3px}
.sp-nav a:focus-visible,.sp-classes:focus-visible{outline:3px solid var(--c-brand-text);outline-offset:3px}

@media(max-width:599px){.sp-header__inner{flex-wrap:wrap!important;padding-block:.5rem}.sp-header .sp-brand{flex:1 1 calc(100% - 56px)}.sp-header .sp-nav{order:1}.sp-header .sp-header__tools{order:2;width:100%;justify-content:flex-end}.sp-header .sp-classes{margin-right:auto}.sp-header .sp-brand__title{font-size:1rem}}

/* Instant search: a compact, keyboard-accessible preview without page navigation. */
.sch-search__form{position:relative}
.sch-search-results{position:absolute;top:calc(100% + .5rem);right:0;width:min(32rem,calc(100vw - 2rem));max-height:65vh;overflow:auto;padding:.75rem;background:var(--c-card);color:var(--c-ink);border:1px solid var(--c-line);border-radius:14px;box-shadow:var(--sh-m);z-index:65;text-align:left}
.sch-search-results[hidden]{display:none}
.sch-search-results p{font-size:.85rem;margin:0 0 .5rem}
.sch-search-results__item{display:flex;align-items:center;gap:.75rem;padding:.65rem;border-radius:9px;text-decoration:none;color:var(--c-ink)}
.sch-search-results__item:hover,.sch-search-results__item:focus-visible{background:var(--c-brand-soft);outline:2px solid var(--c-brand)}
.sch-search-results__item img{width:80px;height:48px;object-fit:cover;border-radius:5px;flex:none}
.sch-search-results__item strong{display:block;font-size:.92rem;line-height:1.4}
.sch-search-results__item small{display:block;color:var(--c-mute);margin-top:.2rem}
.sch-search-results__all{display:block;padding:.75rem;font-weight:700;color:var(--c-brand-text);border-top:1px solid var(--c-line)}
@media(max-width:1499px){.sp-header .sch-search{position:static}.sch-search__form{position:absolute}.sch-search-results{width:100%;box-sizing:border-box}}
.sch-search-results__all{position:sticky;bottom:-.75rem;background:var(--c-card);box-shadow:0 -6px 12px var(--c-card)}
/* Header capacity: one Classes action; search opens beneath, never in the menu row. */

.sp-header .sp-brand{flex-shrink:0}
.sp-header .sp-brand__title{overflow:visible;text-overflow:clip}
.sp-header .sp-header__tools{position:relative;flex-shrink:0}
.sp-header .sch-search{position:static}
.sp-header .sch-search__toggle{display:inline-flex}
.sp-header .sch-search__form{display:none;position:absolute;right:0;top:calc(100% + .75rem);width:min(26rem,calc(100vw - 2 * var(--gutter)));height:48px;background:var(--c-card);z-index:60;box-sizing:border-box;box-shadow:var(--sh-m)}
.sp-header .sch-search.is-open .sch-search__form{display:flex}
.sp-header .sch-search__form input[type=search]{width:100%;min-width:0;font-size:16px}
.sp-header .sch-search-results{width:100%;box-sizing:border-box}
@media(min-width:1200px) and (max-width:1279px){.sp-header .sp-nav{flex:none;order:3}.sp-header .sp-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}.sp-header .sp-nav .wp-block-navigation__responsive-container-open{display:flex!important}.sp-header__tools{margin-left:auto}}

/* Keep app access visible without squeezing navigation or hiding the label. */
.sp-header .sp-app:not([hidden]){display:inline-flex!important;width:auto;padding:0 .85rem;height:42px}
.sp-header .sp-app .sp-app__label{display:inline}
@media(min-width:600px) and (max-width:1399px){.sp-header .sp-nav{flex:none;order:3}.sp-header .sp-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}.sp-header .sp-nav .wp-block-navigation__responsive-container-open{display:flex!important}.sp-header__tools{margin-left:auto}}
@media(max-width:599px){.sp-header .sp-header__tools{gap:.35rem}.sp-header .sp-classes{padding:.5rem .7rem}.sp-header .sp-app:not([hidden]){padding:0 .65rem;font-size:.82rem}}
/* Results scroll independently; View all results remains a stable click target. */
.sp-header .sch-search-results:not([hidden]){display:flex;flex-direction:column;overflow:hidden}
.sch-search-results__list{overflow:auto;min-height:0;overscroll-behavior:contain}
.sch-search-results>p,.sch-search-results__all{flex:none}
.sch-search-results__all{position:relative;bottom:auto;min-height:44px;box-sizing:border-box;z-index:1;box-shadow:none}
