/**
 * DentaVacation — Podcast archive styles
 * Layout and proportions follow the MTC podcast page; colours use the DentaVacation theme
 * palette (primary #0a4a94, same as assets/lcss/clinic.css). Change --dvp-primary to retune.
 */

.dv-podcast-archive {
	--dvp-primary: #0a4a94;
	--dvp-dark: #073a72;
	--dvp-on-primary: #fff;
	--dvp-error: #ba1a1a;
	--dvp-accent: #f31c1c;
	--dvp-surface: #f9f9ff;
	--dvp-low: #f1f3fc;
	--dvp-container: #ebedf7;
	--dvp-high: #e6e8f1;
	--dvp-highest: #e0e2eb;
	--dvp-ink: #181c22;
	--dvp-muted: #414753;
	--dvp-line: rgba(10, 74, 148, .08);
	--dvp-sec-container: #b6d0ff;
	--dvp-sec-on: #3f5881;
	grid-area: contentarea;
	width: 100%;
	overflow-x: hidden;
	background: var(--dvp-surface);
	color: var(--dvp-ink);
	font-size: 16px;
	line-height: 1.5;
}
.dv-podcast-archive *,
.dv-podcast-archive *::before,
.dv-podcast-archive *::after { box-sizing: border-box; }
.dv-podcast-archive h1,
.dv-podcast-archive h2,
.dv-podcast-archive h3,
.dv-podcast-archive h4,
.dv-podcast-archive p { margin: 0; text-transform: none; }
.dv-podcast-archive button { font-family: inherit; }
.dv-podcast-archive [hidden] { display: none !important; }
.dvp-i { width: 1em; height: 1em; fill: currentColor; flex: 0 0 auto; vertical-align: middle; }

/* 1160px content column, like the MTC page */
.dvp-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; position: relative; }
.dvp-wrap--narrow { max-width: 860px; }
@media (min-width: 1024px) { .dvp-wrap { padding: 0 40px; } }

/* ---------- Hero ---------- */
.dvp-hero {
	position: relative; overflow: hidden;
	background: #e6f1fd center / cover no-repeat;
	padding: 40px 0 48px;
	text-align: center;
}
.dvp-hero__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.dvp-hero__top { display: flex; flex-direction: column; align-items: center; gap: 20px; width: 100%; max-width: 700px; }
@media (min-width: 768px) {
	.dvp-hero__top { flex-direction: row; justify-content: center; gap: 24px; }
	.dvp-hero__titlebox { flex: 1 1 auto; }
}
/* The span (not the img) is the circle: image-optimisation plugins wrap <img> in <picture>,
   so the photo is sized relative to this wrapper. */
.dv-podcast-archive .dvp-hero__photo {
	display: block; flex: 0 0 auto; width: 220px; height: 220px; border-radius: 50%; overflow: hidden;
	background: #fff; box-shadow: 0 8px 28px rgba(24, 24, 27, .1), 0 2px 4px rgba(24, 24, 27, .05);
}
.dv-podcast-archive .dvp-hero__photo picture { display: block; width: 100%; height: 100%; }
.dv-podcast-archive .dvp-hero__photo img {
	display: block; width: 100% !important; height: 100% !important; max-width: none !important;
	object-fit: cover !important; object-position: center top !important;
}
.dvp-hero__titlebox { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.dvp-badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 16px; border-radius: 999px;
	background: #fff; border: 1px solid rgba(224, 226, 235, .6);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
	color: var(--dvp-primary); font-size: 12px; font-weight: 600;
	letter-spacing: .08em; text-transform: uppercase;
}
.dvp-badge .dvp-i { font-size: 16px; }
.dvp-ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--dvp-error); }
.dvp-ping::after {
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--dvp-error);
	animation: dvp-ping 1.4s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes dvp-ping { 75%, 100% { transform: scale(2.4); opacity: 0; } }
.dvp-hero h1 { font-size: 30px; font-weight: 900; line-height: 1.3; color: #18181b; }
@media (min-width: 768px) { .dvp-hero h1 { font-size: 42px; } }
.dvp-hero h1 span { display: block; color: var(--dvp-primary); }
.dvp-hero__host-name { font-size: 18px; line-height: 1.4; color: var(--dvp-dark); }
.dvp-hero__host-name span { color: #52525b; }
.dvp-hero__host-name strong { font-weight: 700; }

.dvp-stream { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 6px; }
.dvp-pill-link {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 148px; height: 40px; padding: 0 18px; border-radius: 999px;
	background: #f7f7f5; border: .8px solid rgba(24, 24, 27, .18); color: var(--dvp-ink);
	font-size: 13px; font-weight: 600; text-decoration: none;
	transition: background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.dvp-pill-link:hover { background: #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .1); transform: translateY(-1px); color: var(--dvp-ink); }
.dvp-pill-link .dvp-i { font-size: 20px; color: var(--dvp-primary); }
.dvp-pill-link img { width: 110px; height: auto; max-width: none; display: block; }
.dvp-hero__desc { max-width: 700px; font-size: 15px; line-height: 1.78; color: #52525b; }
.dvp-hero__desc p { color: inherit; margin: 0 0 8px; }
.dvp-hero__desc p:last-child { margin-bottom: 0; }

/* Hero subscribe card: Name + Email with floating labels */
.dvp-subscribe {
	width: 100%; max-width: 652px; margin-top: 4px; background: #fff;
	border: .8px solid #e5e7eb; border-radius: 16px;
	padding: 40px 36px 32px; box-shadow: 0 4px 20px rgba(10, 74, 148, .06);
}
.dvp-subscribe__badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--dvp-primary); }
.dvp-subscribe__badge svg { width: 18px; height: 18px; }
.dvp-subscribe h2 { font-size: 28px; font-weight: 700; color: #111827; margin-bottom: 12px; line-height: 1.25; }
.dvp-subscribe__text { font-size: 16px; color: #6b7280; margin-bottom: 26px; line-height: 1.5; }
.dvp-sub-fields { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: stretch; }
.dvp-field { position: relative; }
.dvp-field input {
	width: 100%; height: 51px; padding: 17px 12px 5px 14px; font-size: 15px; color: #151515;
	background: #fff; border: .8px solid #d5d9df; border-radius: 10px; outline: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.dvp-field input:focus { border-color: var(--dvp-primary); box-shadow: 0 0 0 3px rgba(10, 74, 148, .12); }
.dvp-field label {
	position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
	font-size: 15px; color: #9ca3af; pointer-events: none;
	transition: top .15s ease, transform .15s ease, font-size .15s ease, color .15s ease;
}
/* label floats up while focused or once the field has a value */
.dvp-field input:focus + label,
.dvp-field input:not(:placeholder-shown) + label { top: 9px; transform: none; font-size: 11px; color: var(--dvp-primary); font-weight: 600; }
.dvp-sub-btn {
	height: 51px; padding: 15px 28px; border: 0; border-radius: 10px; cursor: pointer;
	background: var(--dvp-accent); color: #fff; font-size: 15px; font-weight: 600;
	box-shadow: 0 2px 8px rgba(243, 28, 28, .3); transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.dvp-sub-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(243, 28, 28, .4); }
.dvp-sub-btn:disabled { opacity: .6; cursor: wait; transform: none; }
.dvp-sub-form .cf-turnstile { display: flex; justify-content: center; margin-top: 14px; }
.dvp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.dvp-sub-error { margin-top: 12px; color: #b91c1c; font-size: 14px; }
.dvp-sub-success { margin-top: 4px; color: var(--dvp-primary); font-size: 18px; font-weight: 600; padding: 12px 0; }
.dvp-subscribe__footer { margin-top: 20px; font-size: 13px; color: #9ca3af; }
@media (max-width: 720px) {
	.dvp-subscribe { padding: 28px 20px 24px; }
	.dvp-sub-fields { grid-template-columns: 1fr; }
	.dvp-sub-btn { width: 100%; }
}

/* ---------- Filter bar ---------- */
.dvp-filter { background: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 4px rgba(0, 0, 0, .06); }
.dvp-filter__inner { display: flex; align-items: center; gap: 8px; padding-top: 14px; padding-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.dvp-filter__inner::-webkit-scrollbar { display: none; }
.dvp-filter__label { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; margin-right: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--dvp-muted); }
.dvp-filter__label .dvp-i { font-size: 16px; }
.dvp-cat {
	flex: 0 0 auto; border: 0; cursor: pointer; border-radius: 999px;
	padding: 6px 16px; font-size: 12px; font-weight: 500; line-height: 1.5;
	background: var(--dvp-container); color: var(--dvp-ink);
	transition: background .15s ease, color .15s ease;
}
.dvp-cat:hover { background: var(--dvp-high); }
.dvp-cat.is-active { background: var(--dvp-primary); color: var(--dvp-on-primary); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .12); }

/* ---------- Sections (centred headings with a short bar, like MTC) ---------- */
.dvp-section { padding: 48px 0; }
.dvp-section--surface { background: var(--dvp-surface); }
.dvp-section--low { background: var(--dvp-low); }
.dvp-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-bottom: 36px; }
.dvp-head h2 { font-size: 28px; font-weight: 700; letter-spacing: -.02em; color: #222; line-height: 1.25; }
.dvp-head h2::after { content: ""; display: block; width: 60px; height: 3px; margin: 10px auto 0; border-radius: 4px; background: #222; }
.dvp-head > p { max-width: 560px; font-size: 14px; color: var(--dvp-muted); }
.dvp-head__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--dvp-accent); text-decoration: none; }
.dvp-head__link:hover { text-decoration: underline; color: var(--dvp-accent); }
.dvp-eyebrow { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--dvp-primary); }
.dvp-eyebrow .dvp-i { font-size: 18px; }
.dvp-eyebrow--red { color: var(--dvp-accent); }
.dvp-eyebrow--light { color: rgba(255, 255, 255, .8); }
.dvp-empty { text-align: center; padding: 64px 0; color: var(--dvp-muted); }

/* ---------- YouTube grid: 2 columns, solid brand tiles ---------- */
.dvp-videos { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .dvp-videos { grid-template-columns: repeat(2, 1fr); } }
.dvp-video {
	display: flex; flex-direction: column; background: var(--dvp-primary); border-radius: 16px; overflow: hidden;
	box-shadow: 0 4px 16px rgba(10, 74, 148, .12); transition: transform .2s ease, box-shadow .2s ease;
}
.dvp-video:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(10, 74, 148, .2); }
.dvp-video.dv-yt-hidden,
.dvp-video.is-filtered,
.dvp-row.is-filtered { display: none; }
.dvp-video__thumb { position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.dvp-video__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dvp-video__play {
	position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 64px; height: 64px; border-radius: 50%; background: var(--dvp-accent); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 26px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35); transition: transform .15s ease;
}
.dvp-video__play .dvp-i { margin-left: 3px; }
.dvp-video__thumb:hover .dvp-video__play { transform: translate(-50%, -50%) scale(1.08); }
.dvp-video__dur { position: absolute; z-index: 1; right: 12px; bottom: 12px; padding: 3px 8px; border-radius: 4px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 11px; font-family: ui-monospace, Menlo, monospace; }
.dvp-video__body { display: flex; flex-direction: column; flex: 1; justify-content: space-between; gap: 12px; padding: 16px 18px 18px; }
.dvp-video__meta { display: flex; gap: 8px; margin-bottom: 8px; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .75); }
.dvp-video__meta strong { color: #fff; font-weight: 600; }
.dvp-video h3 { font-size: 16px; font-weight: 700; line-height: 1.3; color: #fff; }
.dvp-video__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: rgba(255, 255, 255, .8); }
.dvp-video__foot > span { display: flex; align-items: center; gap: 4px; }
.dvp-video__foot .dvp-i { font-size: 16px; color: #fff; }
.dvp-video__watch { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; cursor: pointer; font-size: 12px; font-weight: 700; color: #fff; }
.dvp-video__watch .dvp-i { font-size: 14px; color: inherit; }
.dvp-video__watch:hover { text-decoration: underline; }
.dvp-more { text-align: center; margin-top: 32px; }
.dvp-btn-outline {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
	background: #fff; border: 2px solid var(--dvp-primary); color: var(--dvp-primary);
	font-size: 14px; font-weight: 700; padding: 12px 26px; border-radius: 999px;
	transition: background .15s ease, color .15s ease;
}
.dvp-btn-outline:hover { background: var(--dvp-primary); color: #fff; }
.dvp-btn-outline .dvp-i { font-size: 16px; transition: transform .2s ease; }
.dvp-btn-outline[aria-expanded="true"] .dvp-i { transform: rotate(180deg); }

/* ---------- Episodes: player card + highlights ---------- */
.dvp-player-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .dvp-player-grid { grid-template-columns: 1.3fr 1fr; } }
.dvp-player { background: #fff; border: 1px solid var(--dvp-line); border-radius: 18px; overflow: hidden; box-shadow: 0 6px 20px rgba(10, 74, 148, .1); }
.dvp-player__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px 12px 20px; background: var(--dvp-dark); color: #fff; }
.dvp-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--dvp-accent); box-shadow: 0 0 0 3px rgba(243, 28, 28, .25); }
.dvp-player__bar-label { flex: 0 0 auto; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.dvp-player__bar-title { flex: 1 1 auto; min-width: 0; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dvp-circle-btn {
	flex: 0 0 auto; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255, 255, 255, .15); color: #fff; font-size: 16px;
	transition: background .15s ease, opacity .15s ease;
}
.dvp-circle-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .28); }
.dvp-circle-btn:disabled { opacity: .3; cursor: not-allowed; }
.dvp-player__embed { padding: 14px; background: #fff; }
.dvp-player__embed iframe { width: 100%; display: block; border: 0; border-radius: 12px; }
.dvp-player__links { padding: 0 20px 12px; text-align: right; }
.dvp-player__audible { font-size: 12px; font-weight: 600; color: var(--dvp-primary); text-decoration: none; }
.dvp-player__audible:hover { text-decoration: underline; color: var(--dvp-primary); }

.dvp-queue__label { padding: 14px 20px 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #6b7c99; }
.dvp-queue__list { max-height: 380px; overflow-y: auto; border-top: 1px solid var(--dvp-line); }
.dvp-row {
	display: flex; align-items: center; gap: 14px; padding: 14px 20px; cursor: pointer;
	border-bottom: 1px solid rgba(10, 74, 148, .06); border-left: 3px solid transparent;
	transition: background .15s ease;
}
.dvp-row:hover { background: rgba(10, 74, 148, .05); }
.dvp-row.is-active { background: rgba(243, 28, 28, .06); border-left-color: var(--dvp-accent); }
.dvp-row__play {
	flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; background: var(--dvp-primary); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 12px;
}
.dvp-row__play .dvp-i { margin-left: 1px; }
.dvp-row__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.dvp-row__title { font-size: 14px; font-weight: 600; color: var(--dvp-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dvp-row__sub { font-size: 12px; color: #6b7c99; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dvp-row__dur { flex: 0 0 auto; margin-left: 8px; font-size: 12px; color: #6b7c99; }

/* Recent episodes (right column) — embed cards with a small Spotify / Apple switch */
.dvp-listen { display: flex; flex-direction: column; gap: 16px; }
.dvp-listen__heading { font-size: 15px; font-weight: 700; color: var(--dvp-dark); }
.dvp-listen-card { background: #fff; border: 1px solid var(--dvp-line); border-radius: 14px; padding: 10px; box-shadow: 0 2px 10px rgba(10, 74, 148, .06); }
.dvp-listen-card iframe { width: 100%; display: block; border: 0; border-radius: 10px; }
.dvp-listen-toggle { display: flex; justify-content: flex-end; gap: 6px; padding: 0 2px 8px; }
.dvp-platform-btn {
	display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0;
	border: 0; border-radius: 50%; cursor: pointer; background: rgba(10, 74, 148, .08); color: var(--dvp-primary); font-size: 15px;
	transition: background .15s ease, color .15s ease;
}
.dvp-platform-btn.is-active { background: var(--dvp-primary); color: #fff; }

/* ---------- Newsletter banner ---------- */
.dvp-passport {
	padding: 48px 32px; text-align: center; color: #fff;
	border-radius: 24px;
	background: linear-gradient(135deg, var(--dvp-dark), var(--dvp-primary));
	box-shadow: 0 20px 40px rgba(10, 74, 148, .25);
}
.dvp-passport .dvp-eyebrow { justify-content: center; margin-bottom: 8px; }
.dvp-passport h2 { font-size: clamp(28px, 4vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -.015em; color: #fff; margin-bottom: 12px; }
.dvp-passport__copy p { color: rgba(255, 255, 255, .85); font-size: 16px; line-height: 1.6; max-width: 560px; margin: 0 auto; }
.dvp-passport__btn {
	display: inline-block; margin-top: 24px; padding: 13px 30px; border-radius: 999px;
	background: #fff; color: var(--dvp-primary); font-weight: 700; font-size: 15px; text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}
.dvp-passport__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .2); color: var(--dvp-primary); }

/* ---------- FAQ ---------- */
.dvp-faq { display: flex; flex-direction: column; gap: 12px; }
.dvp-faq__item { background: #fff; border: 1px solid var(--dvp-line); border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); overflow: hidden; }
.dvp-faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 22px; cursor: pointer; list-style: none;
	font-size: 15px; font-weight: 600; color: var(--dvp-dark);
}
.dvp-faq__item summary::-webkit-details-marker { display: none; }
.dvp-faq__item summary .dvp-i { font-size: 24px; color: var(--dvp-primary); transition: transform .2s ease; }
.dvp-faq__item[open] summary .dvp-i { transform: rotate(180deg); }
.dvp-faq__item p { padding: 0 22px 20px; font-size: 14px; line-height: 1.65; color: var(--dvp-muted); }

/* ---------- Video modal ---------- */
.dvp-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(10, 14, 22, .8); }
.dvp-modal__dialog { position: relative; width: 100%; max-width: 960px; }
.dvp-modal__frame { aspect-ratio: 16 / 9; background: #000; border-radius: 12px; overflow: hidden; }
.dvp-modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.dvp-modal__close { position: absolute; top: -44px; right: 0; width: 36px; height: 36px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(255, 255, 255, .15); color: #fff; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.dvp-modal__close:hover { background: rgba(255, 255, 255, .3); }

@media (max-width: 600px) {
	.dvp-section { padding: 40px 0; }
	.dvp-player__meta { padding: 16px 14px 4px; }
	.dvp-player__bar { padding: 12px 14px; }
	.dvp-player__bar-label { display: none; }
	.dvp-row { padding: 12px 14px; }
}

/* While a topic filter is active, show every matching video (view-more is bypassed). */
.dvp-videos.is-filtering .dvp-video.dv-yt-hidden:not(.is-filtered) { display: flex; }
.dvp-more.is-hidden { display: none; }
