/*
Theme Name: Medvyn
Theme URI: https://medvyn.in/
Author: Next Level Ideas Communication
Description: Editorial theme for Medvyn. Doctorpreneur Stories, News, Doctor's Toolkit, Health Insights with specialist, organ and age filters, a monthly hospital Spotlight, plus Medvyn Jobs and NMC Ad Guide highlights.
Version: 1.2.2
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: medvyn
License: GPL-2.0-or-later
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #17171a;
	--ink-2: #212125;
	--ink-line: #2e2e33;
	--paper: #fbfaf8;
	--white: #ffffff;
	--sand: #f3ede5;
	--sand-2: #e9e2d7;
	--stone: #efece6;
	--blush: #f6e4e1;
	--line: #ece9e3;
	--line-2: #dedad3;
	--text: #17171a;
	--muted: #5c5a56;
	--muted-2: #77736c;
	--on-dark: #f2efea;
	--on-dark-muted: #b5b1aa;
	--accent: #c0392b;
	--accent-on-dark: #e5594b;
	--accent-text: #a93226;
	--ok: #1e6b34;
	--serif: 'Fraunces', Georgia, 'Times New Roman', serif;
	--sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--radius: 20px;
	--radius-lg: 28px;
	--wrap: 1240px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .82; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em; line-height: 1.08; }
p { margin: 0; }
button { font: inherit; }
.mv-sr, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mv-skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.mv-skip:focus { top: 12px; }
.mv-icon { flex: 0 0 auto; }

.mv-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mv-wrap--narrow { max-width: 760px; }
.mv-stack { display: flex; flex-direction: column; gap: 14px; }

/* Type */
.mv-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.mv-kicker--line::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.mv-section--dark .mv-kicker, .mv-band .mv-kicker { color: var(--accent-on-dark); }
.mv-h1, .mv-h2, .mv-h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -0.02em; }
.mv-h1 { font-size: clamp(44px, 6vw, 86px); line-height: 1.02; letter-spacing: -0.025em; }
.mv-h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.05; }
.mv-h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 400; }
.mv-h1 em, .mv-h2 em, .mv-h3 em { color: var(--accent); font-style: italic; }
.mv-section--dark .mv-h2 em, .mv-band .mv-h2 em { color: var(--accent-on-dark); }
.mv-lead { font-size: 18px; line-height: 1.65; color: var(--muted); max-width: 52ch; }
.mv-section--dark .mv-lead { color: var(--on-dark-muted); }
.mv-meta { font-size: 14px; color: var(--muted); }
.mv-cat { font-size: 13px; font-weight: 500; color: var(--accent-text); }
.mv-link { font-size: 15px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.mv-link--accent { color: var(--accent-text); }

/* Buttons */
.mv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
	font-size: 14px; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap;
	transition: transform .15s, opacity .2s, background .2s;
}
.mv-btn:hover { opacity: 1; transform: translateY(-1px); }
.mv-btn--lg { min-height: 52px; padding: 0 26px; font-size: 15px; }
.mv-btn--xl { min-height: 56px; padding: 0 28px; font-size: 16px; }
.mv-btn--dark { background: var(--ink); color: #fff; }
.mv-btn--accent { background: var(--accent); color: #fff; }
.mv-btn--light { background: #fff; color: var(--ink); }
.mv-btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.mv-btn--outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.mv-btn--outline-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.mv-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Media boxes */
.mv-media { position: relative; overflow: hidden; background: var(--stone); border-radius: 18px; aspect-ratio: 4 / 3; }
.mv-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a:hover .mv-media img { transform: scale(1.03); }
.mv-media--portrait { aspect-ratio: 4 / 5; }
.mv-media--wide { aspect-ratio: 16 / 9; }
.mv-media--video { aspect-ratio: 16 / 10; }
.mv-media__empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; color: #b9b3a9; letter-spacing: .02em; }
.mv-badge { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; background: #fff; color: var(--ink); border-radius: 999px; font-size: 12px; font-weight: 600; z-index: 1; }
.mv-badge--bottom { top: auto; bottom: 14px; }
.mv-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
.mv-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 999px; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px -14px rgba(0,0,0,.45); z-index: 1; }

/* ==========================================================================
   Live strip and header
   ========================================================================== */
.mv-ticker { background: var(--ink); color: #e9e6e0; font-size: 13px; }
.mv-ticker__inner { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.mv-ticker__label { display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; font-weight: 600; color: #fff; }
.mv-ticker__item { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: none; }
.mv-ticker__item.is-active { display: block; animation: mvFade .5s ease; }
.mv-ticker__time { flex: 0 0 auto; color: #9f9b94; }
.mv-live { width: 7px; height: 7px; border-radius: 999px; background: var(--accent-on-dark); animation: mvPulse 2s infinite; }
@keyframes mvPulse { 0% { box-shadow: 0 0 0 0 rgba(229,89,75,.55); } 70% { box-shadow: 0 0 0 7px rgba(229,89,75,0); } 100% { box-shadow: 0 0 0 0 rgba(229,89,75,0); } }
@keyframes mvFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

.mv-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,248,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.admin-bar .mv-header { top: 32px; }
.mv-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 16px; padding-bottom: 16px; }
.mv-brand { display: flex; flex-direction: column; gap: 2px; }
.mv-brand__name { font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -0.01em; }
.mv-brand__name span { color: var(--accent); }
.mv-brand__tag { white-space: nowrap; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.mv-brand img { max-height: 44px; width: auto; }
.mv-nav .mv-menu, .mv-nav ul { display: flex; flex-wrap: nowrap; white-space: nowrap; gap: 4px 24px; list-style: none; margin: 0; padding: 0; font-size: 15px; color: #3e3d3a; }
.mv-nav a { display: inline-block; padding: 6px 0; }
.mv-nav .current-menu-item > a, .mv-nav .current_page_item > a { color: var(--accent-text); }
.mv-header__actions { display: flex; gap: 10px; align-items: center; }
.mv-nav-toggle { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.mv-nav-toggle .mv-icon--close { display: none; }

@media (max-width: 1240px) {
	.mv-header__actions .mv-btn__label { display: none; }
	.mv-header__actions .mv-btn { padding: 0 14px; }
	.mv-brand__tag { display: none; }
}
@media (max-width: 1100px) {
	.mv-nav-toggle { display: inline-flex; }
	.mv-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
	.mv-nav .mv-menu, .mv-nav ul { flex-direction: column; gap: 0; font-size: 18px; }
	.mv-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
	.mv-header.is-open .mv-nav { display: block; }
	.mv-header.is-open .mv-nav-toggle .mv-icon--menu { display: none; }
	.mv-header.is-open .mv-nav-toggle .mv-icon--close { display: block; }
	.mv-header__inner { position: relative; }
}
@media (max-width: 600px) {
	.admin-bar .mv-header { top: 0; }
	.mv-brand__tag { display: none; }
	.mv-brand__name { font-size: 26px; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.mv-section { padding: 96px 0; }
.mv-section--tight { padding: 72px 0; }
.mv-section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mv-section--dark { background: var(--ink); color: var(--on-dark); }
.mv-section--sand { background: var(--sand); }
.mv-section + .mv-section--white { border-top: 0; }
.mv-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.mv-section__head > div { display: flex; flex-direction: column; gap: 12px; max-width: 700px; }
@media (max-width: 700px) { .mv-section { padding: 64px 0; } .mv-section__head { margin-bottom: 32px; } }

.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 36px 28px; }
.mv-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 32px 24px; }
.mv-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; }
.mv-grid--tools { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.mv-hero { padding: 56px 0 72px; }
.mv-hero__inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.mv-hero__text { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.mv-hero__card { flex: 1 1 420px; min-width: 0; min-height: 520px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; border-radius: 24px; overflow: hidden; background: var(--sand-2); }
.mv-hero__card > .mv-media { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.mv-hero__caption { position: relative; z-index: 1; padding: 24px; background: rgba(251,250,248,.95); border-radius: 18px; display: flex; flex-direction: column; gap: 8px; }
.mv-hero__caption .mv-h3 { font-size: 28px; }
@media (max-width: 600px) { .mv-hero { padding: 36px 0 56px; } .mv-hero__card { min-height: 440px; padding: 16px; } }

/* "Also on Medvyn" tools strip */
.mv-tools { padding-bottom: 88px; }
.mv-tools__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-top: 28px; border-top: 1px solid var(--line); margin-bottom: 24px; }
.mv-tools__head h2 { font-size: 28px; font-weight: 400; }
.mv-tool { display: flex; align-items: center; gap: 18px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, transform .2s; }
.mv-tool:hover { opacity: 1; border-color: var(--line-2); transform: translateY(-2px); }
.mv-tool__icon { flex: 0 0 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--sand); color: var(--ink); }
.mv-tool__icon--accent { background: var(--blush); color: var(--accent); }
.mv-tool__icon--dark { background: var(--ink); color: #fff; }
.mv-tool__body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mv-tool__title { font-size: 17px; font-weight: 600; }
.mv-tool__text { font-size: 14px; color: var(--muted); }
.mv-tool__arrow { color: var(--accent); }
.mv-new { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; color: #fff; background: var(--accent); padding: 3px 7px; border-radius: 999px; vertical-align: middle; margin-left: 4px; }

/* ==========================================================================
   Cards
   ========================================================================== */
.mv-card { display: flex; flex-direction: column; gap: 14px; }
.mv-card__title { font-family: var(--serif); font-size: 23px; line-height: 1.22; font-weight: 400; letter-spacing: -0.01em; }
.mv-card__title--sm { font-size: 20px; }
.mv-card__text { font-size: 15px; color: var(--muted); line-height: 1.55; }
.mv-section--dark .mv-card__text, .mv-section--dark .mv-meta { color: var(--on-dark-muted); }

.mv-row-card { display: flex; gap: 18px; align-items: center; padding: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.mv-row-card .mv-media { flex: 0 0 104px; height: 128px; aspect-ratio: auto; border-radius: 14px; }

/* Share band */
.mv-share-band { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; padding: 36px; margin-top: 56px; background: #f6f2ec; border-radius: 24px; }
.mv-share-band__copy { flex: 1 1 360px; display: flex; flex-direction: column; gap: 14px; }
.mv-phone { flex: 0 0 auto; width: 200px; max-width: 100%; aspect-ratio: 9 / 16; max-height: 300px; background: var(--ink); border-radius: 22px; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; color: #fff; }
.mv-phone__img { flex: 1; background: #2a2a2e; border-radius: 12px; overflow: hidden; }
.mv-phone__img img { width: 100%; height: 100%; object-fit: cover; }
.mv-phone__eyebrow { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-on-dark); }
.mv-phone__brand { font-family: var(--serif); font-size: 20px; line-height: 1; }
.mv-phone__title { font-size: 11px; line-height: 1.35; color: #cfcac2; }

/* ==========================================================================
   News desk
   ========================================================================== */
.mv-desk { display: flex; flex-wrap: wrap; gap: 56px; }
.mv-desk__lead { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.mv-desk__lead .mv-h3 { font-size: clamp(28px, 3vw, 38px); }
.mv-desk__side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; }
.mv-timeline__label { font-size: 13px; font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid var(--ink); display: flex; align-items: center; gap: 8px; }
.mv-timeline__item { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.mv-timeline__time { flex: 0 0 72px; font-size: 13px; color: var(--muted-2); padding-top: 3px; }
.mv-timeline__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mv-timeline__title { font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.mv-timeline__item.is-breaking .mv-timeline__time { color: var(--accent-text); font-weight: 600; }

.mv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mv-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: #3e3d3a; font-size: 14px; cursor: pointer; }
.mv-chip:hover { opacity: 1; border-color: var(--ink); }
.mv-chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.mv-chip--accent.is-active { background: var(--accent); border-color: var(--accent); }

/* ==========================================================================
   Toolkit
   ========================================================================== */
.mv-pillar { display: flex; flex-direction: column; gap: 18px; padding: 28px; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: var(--radius); }
.mv-pillar__num { font-size: 13px; color: var(--on-dark-muted); }
.mv-pillar__name { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.mv-pillar__desc { font-size: 14px; line-height: 1.55; color: var(--on-dark-muted); }
.mv-pillar__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #34343a; }
.mv-pillar__list a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid #34343a; font-size: 15px; line-height: 1.4; }
.mv-pillar__list .mv-icon { color: var(--accent-on-dark); margin-top: 2px; }
.mv-pillar__more { font-size: 14px; font-weight: 600; color: var(--accent-on-dark); }
.mv-cta-line { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; padding: 24px 28px; border: 1px solid var(--ink-line); border-radius: var(--radius); margin-top: 24px; }

/* Toolkit / list rows on light */
.mv-list-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line-2); }
.mv-list-row:last-child { border-bottom: 1px solid var(--line-2); }
.mv-list-row__title { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.mv-list-row__meta { flex: 0 0 auto; font-size: 13px; font-weight: 600; color: var(--muted-2); text-align: right; }

/* ==========================================================================
   Feature cards: Jobs and NMC
   ========================================================================== */
.mv-feature { padding: 44px; border-radius: 26px; display: flex; flex-direction: column; gap: 20px; }
.mv-feature h2 { font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.mv-feature--accent { background: var(--accent); color: #fff; }
.mv-feature--accent .mv-kicker { color: #fbe1dd; }
.mv-feature--light { background: var(--white); border: 1px solid var(--line); }
.mv-feature__links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 600; }
.mv-pill-form { display: flex; gap: 6px; padding: 6px; background: #fff; border-radius: 999px; border: 1px solid var(--line-2); }
.mv-pill-form input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 18px; border: 0; outline: none; background: transparent; font: inherit; font-size: 15px; color: var(--ink); }
.mv-feature--accent .mv-pill-form { border-color: #fff; }
.mv-form--dark .mv-pill-form, .mv-band .mv-pill-form { background: #232327; border-color: #232327; }
.mv-form--dark .mv-pill-form input, .mv-band .mv-pill-form input { color: var(--on-dark); }
.mv-score { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #f8f6f2; border-radius: 16px; }
.mv-score__num { font-family: var(--serif); font-size: 40px; line-height: 1; }
.mv-score__num small { font-family: var(--sans); font-size: 14px; color: var(--muted-2); }
.mv-score__text { font-size: 14px; line-height: 1.5; color: #3e3d3a; }
.mv-mark { background: #f4d3ce; padding: 0 3px; border-radius: 3px; }
.mv-fine { font-size: 12px; color: var(--muted-2); }
.mv-feature--accent .mv-fine { color: #fbe1dd; }
@media (max-width: 600px) { .mv-feature { padding: 28px; } .mv-share-band { padding: 24px; } }

/* ==========================================================================
   Health Insights filter
   ========================================================================== */
.mv-filter { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 24px; }
.mv-tabs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.mv-tabs__label { font-size: 13px; color: var(--muted-2); margin-right: 8px; }
.mv-tab { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: #3e3d3a; font-size: 14px; font-weight: 600; cursor: pointer; }
.mv-tab.is-active, .mv-tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.mv-chipset[hidden] { display: none; }
.mv-count { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.mv-empty { padding: 40px; text-align: center; background: var(--white); border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
[data-mv-item][hidden] { display: none; }

.mv-filter-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; align-items: end; }
.mv-filter-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.mv-select { min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); }

/* ==========================================================================
   Spotlight
   ========================================================================== */
.mv-spotlight { background: var(--sand); border-radius: 30px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 36px; }
.mv-spotlight__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.mv-spotlight__label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.mv-spotlight__label .mv-icon { color: var(--accent); }
.mv-partner { font-size: 12px; font-weight: 600; color: var(--muted); padding: 6px 12px; border: 1px solid #d6cec2; border-radius: 999px; }
.mv-spotlight__body { display: flex; flex-wrap: wrap; gap: 40px; }
.mv-spotlight__media { flex: 999 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: 220px 160px; gap: 10px; }
.mv-spotlight__media > *:first-child { grid-column: span 2; grid-row: span 2; }
.mv-spotlight__media .mv-media { aspect-ratio: auto; height: 100%; background: #e3dbcf; border-radius: 18px; }
.mv-spotlight__info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.mv-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.mv-tag { font-size: 13px; padding: 7px 12px; background: #fff; border-radius: 999px; }
@media (max-width: 600px) { .mv-spotlight__media { grid-template-rows: 160px 110px; } }

/* ==========================================================================
   Final band and footer
   ========================================================================== */
.mv-band { background: var(--ink); color: var(--on-dark); padding: 96px 0; }
.mv-band__top { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-end; }
.mv-band__top .mv-h2 { font-size: clamp(38px, 5vw, 66px); line-height: 1.02; }
.mv-band__news { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; padding-top: 40px; margin-top: 56px; border-top: 1px solid var(--ink-line); }
.mv-band__news > div { min-width: 0; flex: 1 1 min(100%, 360px); display: flex; flex-direction: column; gap: 8px; }
.mv-band__news > div:last-child { flex: 1 1 min(100%, 380px); }

.mv-footer { background: var(--ink); color: #9f9b94; border-top: 1px solid var(--ink-line); padding: 48px 0 36px; font-size: 14px; }
.mv-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; }
.mv-footer__about { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.mv-footer__about .mv-brand__name { color: var(--on-dark); font-size: 28px; }
.mv-footer__about .mv-brand__name span { color: var(--accent-on-dark); }
.mv-footer__col { flex: 0 1 180px; display: flex; flex-direction: column; gap: 12px; }
.mv-footer__col h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); }
.mv-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mv-footer__base { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; padding-top: 22px; margin-top: 36px; border-top: 1px solid var(--ink-line); font-size: 12px; }
.mv-social { display: flex; gap: 10px; }
.mv-social a { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--ink-line); display: flex; align-items: center; justify-content: center; color: var(--on-dark); }

/* ==========================================================================
   Archive headers
   ========================================================================== */
.mv-archive-head { padding: 64px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.mv-archive-head__inner { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.mv-archive-head--dark { background: var(--ink); color: var(--on-dark); border-bottom: 0; padding: 72px 0 56px; }
.mv-archive-head--dark .mv-lead { color: var(--on-dark-muted); }
.mv-archive-head--dark .mv-kicker { color: var(--accent-on-dark); }
.mv-archive-body { padding-bottom: 96px; }

.mv-pagination { margin-top: 56px; }
.mv-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; justify-content: center; }
.mv-pagination a, .mv-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; }
.mv-pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ==========================================================================
   Article
   ========================================================================== */
.mv-article__head { padding: 56px 0 40px; }
.mv-article__head-inner { max-width: 860px; display: flex; flex-direction: column; gap: 20px; }
.mv-article__title { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -0.02em; }
.mv-article__dek { font-family: var(--serif); font-size: clamp(19px, 2vw, 23px); line-height: 1.5; color: var(--muted); font-weight: 300; }
.mv-article__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 14px; color: var(--muted); }
.mv-article__meta strong { color: var(--ink); font-weight: 600; }
.mv-article__hero { margin-bottom: 48px; }
.mv-article__hero .mv-media { border-radius: 24px; aspect-ratio: 16 / 8; }
.mv-article__layout { display: flex; flex-wrap: wrap; gap: 56px; padding-bottom: 80px; }
.mv-article__main { flex: 999 1 560px; min-width: 0; max-width: 760px; }
.mv-article__aside { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.mv-sticky { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 20px; }

.mv-prose { font-size: 18px; line-height: 1.8; color: #2a2a2d; }
.mv-prose > * + * { margin-top: 1.25em; }
.mv-prose h2 { font-size: 32px; font-weight: 400; margin-top: 1.8em; color: var(--ink); }
.mv-prose h3 { font-size: 24px; font-weight: 400; margin-top: 1.6em; color: var(--ink); }
.mv-prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.mv-prose blockquote { margin: 1.8em 0; padding: 0 0 0 24px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 26px; line-height: 1.4; font-weight: 300; color: var(--ink); }
.mv-prose blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-size: 14px; font-style: normal; color: var(--muted); }
.mv-prose img, .mv-prose figure { border-radius: 16px; }
.mv-prose figure { margin: 2em 0; }
.mv-prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.mv-prose ul, .mv-prose ol { padding-left: 1.2em; }
.mv-prose li + li { margin-top: .4em; }
.mv-prose > p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 74px; line-height: .9; padding: 6px 10px 0 0; color: var(--accent); }
.mv-prose--plain > p:first-child::first-letter { all: unset; }

.mv-box { padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.mv-box__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.mv-box__name { font-family: var(--serif); font-size: 24px; line-height: 1.2; }
.mv-box--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.mv-box--dark .mv-box__label { color: var(--accent-on-dark); }
.mv-box--dark p { color: var(--on-dark-muted); font-size: 14px; }

.mv-share { display: flex; flex-wrap: wrap; gap: 8px; }
.mv-share a, .mv-share button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; }
.mv-share .mv-share__card { background: var(--ink); color: #fff; border-color: var(--ink); }
.mv-embed { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; margin: 0 0 32px; }
.mv-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mv-disclaimer { margin-top: 40px; padding: 18px 20px; background: #f6f2ec; border-radius: 14px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.mv-reviewed { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ok); font-weight: 600; }
.mv-related { padding: 72px 0 96px; border-top: 1px solid var(--line); }
.mv-source { margin-top: 32px; font-size: 14px; color: var(--muted); }
.mv-source a { color: var(--accent-text); text-decoration: underline; }

/* Gallery on spotlight single */
.mv-gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; margin: 32px 0; }
.mv-gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

/* ==========================================================================
   Forms
   ========================================================================== */
.mv-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px 20px; margin-bottom: 18px; }
.mv-field { display: flex; flex-direction: column; gap: 6px; }
.mv-field--wide { grid-column: 1 / -1; }
.mv-field label { font-size: 14px; font-weight: 600; }
.mv-field label span { color: var(--accent); }
.mv-field input, .mv-field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--ink); }
.mv-field textarea { min-height: 140px; resize: vertical; }
.mv-form__fine { font-size: 13px; color: var(--muted-2); margin-bottom: 18px; }
.mv-form__notice { padding: 14px 18px; border-radius: 12px; font-size: 15px; margin-bottom: 16px; }
.mv-form__notice--ok { background: #e8f2ea; color: var(--ok); }
.mv-form__notice--error { background: #fbe9e7; color: var(--accent-text); }
.mv-form-card { padding: clamp(24px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* About */
.mv-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; }
.mv-principle { padding-top: 18px; border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: 10px; }
.mv-principle h3 { font-size: 22px; font-weight: 400; }
.mv-principle p { font-size: 15px; color: var(--muted); line-height: 1.6; }

/* Search form */
.mv-search { display: flex; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; max-width: 560px; }
.mv-search input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 0 18px; border: 0; outline: none; font: inherit; font-size: 16px; background: transparent; }

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

/* Block editor alignment helpers */
.alignwide { max-width: 1000px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: 16px; }

/* ==========================================================================
   Episodes: player, Health Khabri window, Doctors Ki Kahani strip
   ========================================================================== */
.mv-player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.mv-player--vertical { aspect-ratio: 9 / 16; width: min(100%, 420px, calc(80vh * 9 / 16)); margin: 0 auto; border-radius: 18px; }
.mv-khabri__frame:has(.mv-player--vertical) { background: transparent; box-shadow: none; }
.mv-player__btn { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #1e1e22; color: inherit; cursor: pointer; }
a.mv-player__btn:hover, .mv-player__btn:hover { opacity: 1; }
.mv-player__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mv-player__btn:hover img { transform: scale(1.02); }
.mv-player__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.28) 0, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 72%, rgba(0,0,0,.22) 100%); pointer-events: none; }
.mv-player__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mv-play--lg { width: 76px; height: 76px; }

.mv-khabri { display: flex; flex-direction: column; gap: 20px; }
.mv-khabri__frame { border-radius: 20px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px -42px rgba(0,0,0,.5); }
.mv-khabri__badge { position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; background: #fff; color: var(--ink); border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .03em; }
.mv-khabri__brand { position: absolute; right: 16px; top: 16px; z-index: 2; padding: 6px 13px; background: rgba(23,23,26,.74); color: #fff; border-radius: 999px; font-family: var(--serif); font-size: 15px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.mv-khabri__crawl { display: flex; align-items: stretch; min-height: 50px; color: #f2efea; }
.mv-khabri__label { flex: 0 0 auto; display: flex; align-items: center; padding: 0 18px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mv-khabri__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; align-items: center; container-type: inline-size;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent 100%); }
.mv-khabri__track { display: flex; width: max-content; animation: mvCrawl var(--mv-dur, 40s) linear infinite; }
.mv-khabri__crawl:hover .mv-khabri__track, .mv-khabri__crawl:focus-within .mv-khabri__track { animation-play-state: paused; }
.mv-khabri__group { display: flex; flex: 0 0 auto; min-width: 100cqw; margin: 0; padding: 0 0 0 24px; list-style: none; }
.mv-khabri__item { display: inline-flex; align-items: center; gap: 14px; padding-right: 30px; font-size: 15px; white-space: nowrap; }
.mv-khabri__item::before { content: ""; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 999px; background: var(--accent-on-dark); }
.mv-khabri__item a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
@keyframes mvCrawl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mv-khabri__meta { display: flex; flex-direction: column; gap: 10px; }
.mv-khabri__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.15; font-weight: 400; }
.mv-khabri__links { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 4px; }
@media (max-width: 600px) {
	.mv-khabri__label { padding: 0 12px; font-size: 11px; }
	.mv-khabri__crawl { min-height: 44px; }
	.mv-khabri__item { font-size: 14px; }
	.mv-khabri__brand { display: none; }
	.mv-play--lg { width: 60px; height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
	.mv-khabri__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.mv-khabri__group[aria-hidden] { display: none; }
}
.mv-episode-list { margin: 4px 0 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.5; }

.mv-kahani { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.mv-kahani__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.mv-kahani__head .mv-h3 { font-size: clamp(28px, 3vw, 40px); }
.mv-kahani__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.mv-strip-nav { display: inline-flex; gap: 8px; }
.mv-round { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.mv-round:disabled { opacity: .35; cursor: default; }
.mv-strip { --h: 260px; position: relative; display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.mv-strip > * { scroll-snap-align: start; }
.mv-strip .mv-vcard { flex: 0 0 auto; width: min(calc(var(--h) * 16 / 9), 84vw); }
.mv-strip .mv-vcard--vertical { width: calc(var(--h) * 9 / 16); }
.mv-strip .mv-vcard__media { height: var(--h); aspect-ratio: auto; }
@media (max-width: 600px) { .mv-strip { --h: 190px; gap: 14px; } .mv-strip-nav { display: none; } }

.mv-vcard { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mv-vcard:hover { opacity: 1; }
.mv-vcard__media { position: relative; display: block; overflow: hidden; border-radius: 16px; background: #1e1e22; aspect-ratio: 16 / 9; }
.mv-vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mv-vcard:hover .mv-vcard__media img { transform: scale(1.03); }
.mv-grid .mv-vcard--vertical .mv-vcard__media img { object-fit: contain; }
.mv-vcard .mv-play { width: 48px; height: 48px; }
.mv-vcard__platforms { position: absolute; left: 10px; top: 10px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.mv-pf { font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; background: #fff; color: var(--ink); }
.mv-pf--yt { background: var(--accent); color: #fff; }
.mv-vcard__title { font-family: var(--serif); font-size: 19px; line-height: 1.3; }
.mv-vcard--vertical .mv-vcard__title { font-size: 16px; }
.mv-section--dark .mv-vcard__title { color: var(--on-dark); }

/* ---------- Newsletter popup: a quiet card, never a full-screen wall ---------- */
.mv-pop { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: min(420px, calc(100vw - 32px)); }
.mv-pop[hidden] { display: none; }
.mv-pop__box { position: relative; display: flex; flex-direction: column; gap: 12px; background: var(--paper); border: 1px solid var(--line-2); border-radius: 22px; padding: 28px 26px 18px; box-shadow: 0 30px 70px -30px rgba(0,0,0,.45); transform: translateY(16px); opacity: 0; transition: transform .45s ease, opacity .45s ease; }
.mv-pop.is-open .mv-pop__box { transform: none; opacity: 1; }
.mv-pop__title { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.12; letter-spacing: -.01em; margin: 0; }
.mv-pop__text { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.mv-pop .mv-form { margin-top: 4px; }
.mv-pop .mv-pill-form input { min-width: 0; }
.mv-pop__x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.mv-pop__x:hover { background: var(--stone); }
.mv-pop__wa { justify-content: center; }
.mv-pop__later { align-self: center; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; padding: 8px 12px; cursor: pointer; }
.mv-pop__later:hover { color: var(--ink); }
@media (max-width: 640px) {
	.mv-pop { right: 0; left: 0; bottom: 0; width: auto; }
	.mv-pop__box { border-radius: 22px 22px 0 0; padding: 24px 18px 14px; border-bottom: 0; }
	.mv-pop__title { font-size: 24px; padding-right: 36px; }
}
@media (prefers-reduced-motion: reduce) { .mv-pop__box { transition: none; } }
