/* Westwood Live — Watch online element. Brand: navy #14293A, blue #2E7DB8, gold #F6C445, cream #F7F3EA. */
.ww-live {
	--wl-navy: #14293A; --wl-deep: #0C1B27; --wl-panel: #0F2233; --wl-blue: #2E7DB8; --wl-gold: #F6C445;
	--wl-red: #E4472E; --wl-cream: #F7F3EA; --wl-line: #F0EBDD; --wl-muted: #48606F; --wl-mist: #B9CBD8;
	color: #fff; font-family: Manrope, system-ui, sans-serif; width: 100%;
	container-type: inline-size;
}
.ww-live *, .ww-live *::before, .ww-live *::after { box-sizing: border-box; }

/* Heading */
.ww-live__head:empty { display: none; }
.ww-live__head { margin-bottom: 28px; }
.ww-live__head:has(> .ww-live__badge:only-child) .ww-live__badge, .ww-live__head > .ww-live__headrow:only-child { margin-bottom: 0; }
.ww-live__head:has(> :only-child) { margin-bottom: 20px; }
.ww-live__headrow { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.ww-live__badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ww-live__badge--red { background: var(--wl-red); color: #fff; }
.ww-live__badge--gold { background: var(--wl-gold); color: var(--wl-navy); margin-bottom: 20px; }
.ww-live__headrow .ww-live__badge--gold { margin-bottom: 0; }
.ww-live__pulse { width: 9px; height: 9px; border-radius: 50%; background: #fff; animation: ww-live-pulse 1.6s ease-in-out infinite; }
@keyframes ww-live-pulse { 50% { opacity: .35; } }
.ww-live__label { font-size: 15px; font-weight: 700; color: var(--wl-mist); }
.ww-live__title { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 0; color: #fff; }
.ww-live__accent { color: var(--wl-gold); }
.ww-live__sub { font-size: 18px; line-height: 1.6; color: var(--wl-mist); margin: 14px 0 0; }

/* Grid */
.ww-live__grid { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 24px; align-items: start; }
.ww-live.is-theatre .ww-live__grid { grid-template-columns: minmax(0, 1fr); }
.ww-live.is-theatre .ww-live__panel { display: none; }
.ww-live__main { display: flex; flex-direction: column; min-width: 0; }
.ww-live__stage { position: relative; }
.ww-live__player { position: relative; aspect-ratio: 16 / 9; background: var(--wl-deep); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 80px rgba(0, 0, 0, .4); }
.ww-live__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ww-live__unmute { position: absolute; left: 14px; bottom: 12px; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(12, 27, 39, .8); font-size: 12px; font-weight: 700; color: #fff; pointer-events: none; animation: ww-live-fade 1s 8s forwards; }
@keyframes ww-live-fade { to { opacity: 0; } }
.ww-live__hold { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(45deg, rgba(46, 125, 184, .1) 0 24px, transparent 24px 48px), var(--wl-deep); }
.ww-live__holdimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ww-live__holdinner { position: relative; padding: 24px; }
.ww-live__holdtitle { font-family: "Bricolage Grotesque", sans-serif; font-size: clamp(20px, 3vw, 30px); font-weight: 800; margin: 0 0 16px; }
.ww-live__holdsub { margin: 14px 0 0; color: var(--wl-mist); font-weight: 700; }
.ww-live__viewers { position: absolute; top: 16px; right: 16px; padding: 8px 16px; border-radius: 999px; background: rgba(12, 27, 39, .85); font-size: 13px; font-weight: 800; pointer-events: none; }
.ww-live__viewers[hidden] { display: none; }

/* Countdown */
.ww-live__count { display: inline-flex; gap: 10px; justify-content: center; }
.ww-live__unit { display: flex; flex-direction: column; align-items: center; min-width: 62px; padding: 10px 8px; border-radius: 14px; background: rgba(255, 255, 255, .1); }
.ww-live__unit b { font-family: "Bricolage Grotesque", sans-serif; font-size: 28px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.ww-live__unit small { margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.ww-live__count--sm .ww-live__unit { min-width: 50px; padding: 8px 6px; background: var(--wl-cream); color: var(--wl-navy); }
.ww-live__count--sm .ww-live__unit b { font-size: 20px; }

/* Actions */
.ww-live__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 20px; }
.ww-live__btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 999px; font: 800 15px/1.2 Manrope, sans-serif; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .15s, color .15s; }
.ww-live__btn[hidden] { display: none; }
.ww-live__btn--ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); }
.ww-live__btn--ghost:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.ww-live__btn--gold { background: var(--wl-gold); color: var(--wl-navy); }
.ww-live__btn--gold:hover { background: #fff; color: var(--wl-navy); }
.ww-live__btn--blue { background: var(--wl-blue); color: #fff; }
.ww-live__btn--blue:hover { background: var(--wl-navy); color: #fff; }
.ww-live__btn:disabled { opacity: .6; cursor: default; }

/* Panel */
.ww-live__panel { display: flex; flex-direction: column; height: min(640px, calc(100vh - 140px)); min-height: 460px; background: var(--wl-panel); border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; overflow: hidden; }
.ww-live__tabs { display: flex; gap: 4px; padding: 10px 10px 0; flex-shrink: 0; overflow-x: auto; scrollbar-width: none; }
.ww-live__tab { flex: 0 0 auto; padding: 11px 18px; border: 0; border-radius: 12px 12px 0 0; background: transparent; color: var(--wl-mist); font: 800 14px/1 Manrope, sans-serif; cursor: pointer; }
.ww-live__tab[aria-selected="true"] { background: #fff; color: var(--wl-navy); }
.ww-live__tab:not([aria-selected="true"]):hover { color: #fff; background: rgba(255, 255, 255, .08); }
.ww-live__body { flex: 1; min-height: 0; overflow-y: auto; background: #fff; color: var(--wl-navy); padding: 18px; }
.ww-live__body[hidden] { display: none; }
.ww-live__body--chat { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.ww-live__body--notes { background: var(--wl-cream); padding: 14px; }
.ww-live__h { font-family: "Bricolage Grotesque", sans-serif; font-size: 20px; font-weight: 800; margin: 0 0 8px; color: var(--wl-navy); }
.ww-live__ver { font-family: Manrope, sans-serif; font-size: 13px; font-weight: 700; color: var(--wl-muted); }
.ww-live__help { font-size: 14px; line-height: 1.5; color: var(--wl-muted); margin: 0 0 12px; }
.ww-live__small { font-size: 12px; margin-top: 14px; }
.ww-live__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wl-blue); margin: 0 0 6px; }

/* Chat */
.ww-live__pinned { flex-shrink: 0; margin: 12px 14px 0; padding: 10px 14px; border-radius: 12px; background: #FFF6D8; color: var(--wl-navy); font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.ww-live__pinned[hidden] { display: none; }
.ww-live__msgs { list-style: none; margin: 0; padding: 16px 16px 8px; flex: 1; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.ww-live__msg { display: flex; gap: 10px; align-items: flex-start; }
.ww-live__avatar { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 800; }
.ww-live__avatar--photo { background: var(--wl-line, #e5e7eb); overflow: hidden; }
.ww-live__avatar--photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.ww-live__msgbody { min-width: 0; }
.ww-live__msgmeta { font-size: 12px; font-weight: 800; color: var(--wl-muted); }
.ww-live__msgmeta time { font-weight: 600; opacity: .7; }
.ww-live__msgbody p { margin: 2px 0 0; font-size: 14px; line-height: 1.45; color: var(--wl-navy); overflow-wrap: anywhere; white-space: pre-wrap; }
.ww-live__msg--host .ww-live__msgbody p { font-weight: 600; }
.ww-live__tag { margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--wl-blue); color: #fff; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.ww-live__chatnote:empty { display: none; }
.ww-live__chatnote { padding: 18px; text-align: center; color: var(--wl-muted); font-weight: 700; }
.ww-live__chatnote p { margin: 0 0 12px; }
.ww-live__composer:empty { display: none; }
.ww-live__composer { flex-shrink: 0; padding: 12px 14px 14px; border-top: 2px solid var(--wl-line); }
.ww-live__sendrow { display: flex; gap: 8px; }
.ww-live__stack { display: flex; flex-direction: column; gap: 10px; }
.ww-live__input { flex: 1; min-width: 0; width: 100%; padding: 12px 16px; border-radius: 999px; border: 2px solid var(--wl-navy); background: #fff; color: var(--wl-navy); font: 600 16px/1.3 Manrope, sans-serif; outline: none; }
.ww-live__input:focus { border-color: var(--wl-blue); box-shadow: 0 0 0 3px rgba(46, 125, 184, .2); }
.ww-live__textarea { border-radius: 16px; resize: vertical; min-height: 52px; }
.ww-live__send { flex-shrink: 0; padding: 0 20px; min-height: 46px; border: 0; border-radius: 999px; background: var(--wl-blue); color: #fff; font: 800 14px/1 Manrope, sans-serif; cursor: pointer; }
.ww-live__send:hover { background: var(--wl-navy); }
.ww-live__send:disabled { opacity: .6; }
.ww-live__as, .ww-live__signin { margin: 8px 2px 0; font-size: 12.5px; color: var(--wl-muted); }
.ww-live__linkbtn { padding: 0; border: 0; background: none; color: var(--wl-blue); font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.ww-live__err:empty { display: none; }
.ww-live__err { margin: 8px 2px 0; font-size: 13px; font-weight: 700; color: #B42318; }
.ww-live__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ww-live__msgs--prayer { padding: 4px 0 12px; max-height: 320px; }
.ww-live__msg--self .ww-live__msgbody { margin-left: auto; text-align: right; }

/* Schedule */
.ww-live__nextcard { padding: 18px; border-radius: 18px; background: var(--wl-navy); color: #fff; text-align: center; margin-bottom: 18px; }
.ww-live__nextcard .ww-live__eyebrow { color: var(--wl-gold); }
.ww-live__nextcard .ww-live__help { color: var(--wl-mist); }
.ww-live__nexttitle { font-family: "Bricolage Grotesque", sans-serif; font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.ww-live__sched { list-style: none; margin: 0; padding: 0; }
.ww-live__schedday { margin-top: 14px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--wl-blue); }
.ww-live__scheditem { padding: 10px 0; border-bottom: 1px solid var(--wl-line); font-size: 15px; }
.ww-live__tz { display: flex; gap: 8px; align-items: center; margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--wl-muted); }

/* Narrow containers (phones, tablets, narrow page columns) */
@container (max-width: 900px) {
	.ww-live__grid { grid-template-columns: minmax(0, 1fr); }
	.ww-live__theatre { display: none; }
	.ww-live__panel { height: 70vh; height: 70svh; min-height: 420px; }
	.ww-live.is-theatre .ww-live__panel { display: flex; }
}
@container (max-width: 640px) {
	.ww-live__player { border-radius: 16px; }
	.ww-live__panel { border-radius: 18px; }
	.ww-live__actions { justify-content: stretch; }
	.ww-live__actions .ww-live__btn { flex: 1 1 calc(50% - 6px); padding: 12px 14px; font-size: 14px; }
	.ww-live__unit { min-width: 52px; }
	.ww-live__unit b { font-size: 22px; }
	.ww-live__tab { padding: 10px 14px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .ww-live__pulse, .ww-live__unmute { animation: none; } }

/* Staff preview bar (?ww_live_preview=…) */
.ww-live__previewbar { position: fixed; left: 16px; bottom: 16px; z-index: 99990; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; max-width: min(360px, calc(100vw - 32px)); padding: 12px 14px; border-radius: 14px; background: #FFF4D6; border: 1px dashed #C99A1E; color: #14293A; font-family: inherit; font-size: 13px; box-shadow: 0 12px 32px rgba(0,0,0,.28); opacity: .92; transition: opacity .2s ease; }
.ww-live__previewbar:hover { opacity: 1; }
.ww-live__previewbar strong { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8A6410; }
.ww-live__previewlinks { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.ww-live__previewlinks a { padding: 4px 10px; font-size: 13px; border-radius: 999px; background: #fff; color: #14293A; font-weight: 700; text-decoration: none; border: 1px solid #E4DCC9; }
.ww-live__previewlinks a.is-on { background: #14293A; color: #fff; border-color: #14293A; }
.ww-live__previewbar small { flex-basis: 100%; color: #6B7C8A; }

.ww-live__previewbar strong { order: 0; }
.ww-live__previewmin { order: 1; margin-left: auto; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid #E4DCC9; border-radius: 50%; background: #fff; color: #14293A; font: inherit; font-size: 15px; font-weight: 800; line-height: 1; cursor: pointer; }
.ww-live__previewmin:hover { background: #14293A; color: #fff; border-color: #14293A; }
.ww-live__previewbar > span:not(.ww-live__previewlinks) { order: 2; flex-basis: 100%; }
.ww-live__previewlinks { order: 3; }
.ww-live__previewbar small { order: 4; }
.ww-live__previewbar.is-min { padding: 6px 6px 6px 14px; gap: 10px; cursor: pointer; opacity: .85; }
.ww-live__previewbar.is-min > :not(strong):not(.ww-live__previewmin) { display: none; }

/* Badge-only heading inside the action bar */
.ww-live__head--bar { margin: 0 auto 0 0 !important; min-width: 0; display: flex; align-items: center; }
.ww-live__head--bar .ww-live__headrow { margin: 0; flex-wrap: nowrap; min-width: 0; }
.ww-live__head--bar .ww-live__badge { flex: none; }
.ww-live__head--bar .ww-live__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ww-live__actions:has(.ww-live__head--bar) { align-items: center; }

/* Bible tab: the passage text inline (styles from the sermons plugin's .ww-psg__text) */
.ww-live__scripture { margin: 4px 0 0; font-size: 17px; line-height: 1.7; color: #1F3344; }
.ww-live__body--bible .ww-psg__copy { white-space: pre-line; margin: 16px 0 0; font-size: 11px; line-height: 1.5; color: var(--wl-muted); }
.ww-live__biblelink { margin-top: 16px; }
.ww-live__ver { font-size: 12px; font-weight: 800; color: var(--wl-blue); }

.ww-live__btn--off { display: none !important; }
