/*
 * Media page — Mithila Center USA
 * Prefix: med-
 * Version: 1.0.0
 */

@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');

/* ─── Reset ─── */
.med-page *,
.med-page *::before,
.med-page *::after { box-sizing: border-box; }

.med-page ul  { list-style: none; margin: 0; padding: 0; }
.med-page img { display: block; max-width: 100%; height: auto; }
.med-page a   { text-decoration: none; }
.med-page p   { margin-top: 0; }

/* ─── Container ─── */
.med-container {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(1rem, 4vw, 3rem);
	padding-right: clamp(1rem, 4vw, 3rem);
}

/* ─── Typography ─── */
.med-h2 {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(1.75rem, 3.5vw, 2.75rem);
	line-height: 1.15;
	color: #1a0f08;
	margin: 0 0 .5rem;
}
.med-h2--center { text-align: center; }
.med-h2--light  { color: #fff; }

.med-script-kicker {
	display: block;
	font-family: 'Dancing Script', cursive;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	color: #834d22;
	margin: 0 0 .5rem;
}
.med-script-kicker--center { text-align: center; }
.med-script-kicker--light  { color: #fdf6e3; }

.med-divider {
	width: 3rem;
	height: 3px;
	background: #834d22;
	border-radius: 2px;
	margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}
.med-divider--center {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.med-divider--light { background: rgba(255,255,255,.55); }

/* ─── Buttons ─── */
.med-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .8rem 1.75rem;
	border-radius: var(--wdtRadius_Part, 2.5em);
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .9rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	background: #834d22;
	color: #fff;
	border: 2px solid #834d22;
	cursor: pointer;
	line-height: 1;
	transition: background .22s, border-color .22s, color .22s, transform .15s;
}
.med-btn:hover,
.med-btn:focus-visible {
	background: #6b3d1a;
	border-color: #6b3d1a;
	color: #fff;
	transform: translateY(-2px);
}
.med-btn--ghost {
	background: transparent;
	color: #834d22;
	border-color: #834d22;
}
.med-btn--ghost:hover,
.med-btn--ghost:focus-visible {
	background: #834d22;
	color: #fff;
}
.med-btn--outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255,255,255,.7);
}
.med-btn--outline:hover,
.med-btn--outline:focus-visible {
	background: rgba(255,255,255,.15);
	border-color: #fff;
}

/* ════════════════════════════════════════════════
   1. INTRO
════════════════════════════════════════════════ */
.med-intro {
	background: #fdf6e3;
	padding-top: clamp(4rem, 8vw, 7rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
	position: relative;
	overflow: hidden;
}
.med-intro__pattern {
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(131,77,34,.14) 1.5px, transparent 1.5px);
	background-size: 22px 22px;
	pointer-events: none;
}
.med-intro__inner {
	position: relative;
	z-index: 1;
	text-align: center;
}
.med-intro__lead {
	max-width: 780px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: clamp(2rem, 4vw, 2.75rem);
	font-size: clamp(1rem, 1.8vw, 1.15rem);
	line-height: 1.75;
	color: #1a0f08;
	opacity: .85;
}
.med-intro__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	align-items: center;
}

/* ════════════════════════════════════════════════
   2. FEATURED STORIES
════════════════════════════════════════════════ */
.med-stories {
	background: #fff;
	padding-top: clamp(4rem, 7vw, 6.5rem);
	padding-bottom: clamp(4rem, 7vw, 6.5rem);
}
.med-stories__intro {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
	font-size: clamp(.95rem, 1.6vw, 1.05rem);
	line-height: 1.75;
	color: #1a0f08;
	opacity: .8;
}
/* Carousel shell */
.med-stories__carousel-wrap {
	position: relative;
	display: flex;
	align-items: center;
	gap: 1rem;
}
.med-stories__viewport {
	overflow: hidden;
	flex: 1;
	min-width: 0;
}
.med-stories__track {
	display: flex;
	gap: 1.75rem;
	transition: transform .45s cubic-bezier(.4,0,.2,1);
	will-change: transform;
	list-style: none;
	margin: 0;
	padding: 0;
}
.med-stories__slide {
	flex: 0 0 calc((100% - 2 * 1.75rem) / 3);
	min-width: 0;
	display: flex;
}
.med-stories__slide .med-stories__card { flex: 1; }

@media (max-width: 900px) {
	.med-stories__slide { flex: 0 0 calc((100% - 1.75rem) / 2); }
}
@media (max-width: 580px) {
	.med-stories__slide { flex: 0 0 100%; }
}

/* Nav arrows */
.med-stories__nav {
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid #834d22;
	background: #fff;
	color: #834d22;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background .2s, color .2s;
}
.med-stories__nav:hover:not(:disabled) { background: #834d22; color: #fff; }
.med-stories__nav:disabled { opacity: .35; cursor: default; }

/* Dots */
.med-stories__dots {
	display: flex;
	gap: .5rem;
	justify-content: center;
	margin-top: 1.5rem;
}
.med-stories__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(131,77,34,.25);
	cursor: pointer;
	padding: 0;
	transition: background .25s, transform .25s;
}
.med-stories__dot.is-active { background: #834d22; transform: scale(1.4); }

/* Card */
.med-stories__card {
	border-radius: .75rem;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 24px rgba(26,15,8,.08);
	display: flex;
	flex-direction: column;
	transition: transform .22s, box-shadow .22s;
	width: 100%;
}
.med-stories__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 36px rgba(26,15,8,.14);
}
.med-stories__card-img {
	position: relative;
	overflow: hidden;
}
.med-stories__card-img img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	display: block;
	transition: transform .4s;
}
.med-stories__card-img-ph {
	height: 220px;
	background: rgba(131,77,34,.07);
}
.med-stories__card:hover .med-stories__card-img img { transform: scale(1.04); }
.med-stories__tag {
	position: absolute;
	top: .85rem;
	left: .85rem;
	background: #834d22;
	color: #fff;
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .7rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: .3rem .75rem;
	border-radius: var(--wdtRadius_Part, 2.5em);
}
.med-stories__card-body {
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	display: flex;
	flex-direction: column;
	flex: 1;
}
.med-stories__date {
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #834d22;
	margin-bottom: .5rem;
}
.med-stories__title {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(1.05rem, 1.8vw, 1.2rem);
	line-height: 1.3;
	color: #1a0f08;
	margin: 0 0 .75rem;
}
.med-stories__excerpt {
	font-size: .88rem;
	line-height: 1.65;
	color: #555;
	flex: 1;
	margin-bottom: 1.25rem;
}
.med-stories__read-more {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .82rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #834d22;
	margin-top: auto;
	transition: gap .18s;
}
.med-stories__read-more:hover { gap: .7rem; }

/* ════════════════════════════════════════════════
   3. PRESS COVERAGE
════════════════════════════════════════════════ */
.med-press {
	background: #fdf6e3;
	padding-top: clamp(4rem, 7vw, 6.5rem);
	padding-bottom: clamp(4rem, 7vw, 6.5rem);
}
.med-press__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.25rem, 2.5vw, 1.75rem);
	margin-top: clamp(2rem, 4vw, 3rem);
}
.med-press__item {
	background: #fff;
	border-radius: .75rem;
	padding: clamp(1.5rem, 3vw, 2rem);
	box-shadow: 0 3px 16px rgba(26,15,8,.07);
	border-top: 4px solid #834d22;
	display: flex;
	flex-direction: column;
	gap: .75rem;
}
.med-press__outlet {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #1a0f08;
}
.med-press__quote {
	font-size: .92rem;
	line-height: 1.65;
	color: #555;
	font-style: italic;
	margin: 0;
	padding-left: .85rem;
	border-left: 3px solid rgba(131,77,34,.3);
}

/* ════════════════════════════════════════════════
   4. PHOTO GALLERY
════════════════════════════════════════════════ */
.med-gallery {
	background: #fff;
	padding-top: clamp(4rem, 7vw, 6.5rem);
	padding-bottom: clamp(4rem, 7vw, 6.5rem);
}
.med-gallery__intro {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: clamp(2rem, 4vw, 3rem);
	text-align: center;
	font-size: clamp(.95rem, 1.6vw, 1.05rem);
	line-height: 1.75;
	color: #1a0f08;
	opacity: .8;
}

/* Filter tabs */
.med-gallery__filters {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	justify-content: center;
	margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.med-gallery__filter {
	padding: .5rem 1.35rem;
	border-radius: var(--wdtRadius_Part, 2.5em);
	border: 2px solid rgba(131,77,34,.2);
	background: transparent;
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .82rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #1a0f08;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
.med-gallery__filter:hover,
.med-gallery__filter.is-active {
	background: #834d22;
	border-color: #834d22;
	color: #fff;
}

/* Masonry-like CSS grid */
.med-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 240px;
	gap: clamp(.75rem, 1.5vw, 1rem);
}
.med-gallery__item {
	position: relative;
	overflow: hidden;
	border-radius: .6rem;
}
.med-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .4s;
}
.med-gallery__item:hover img { transform: scale(1.06); }
.med-gallery__item--tall  { grid-row: span 2; }
.med-gallery__item--wide  { grid-column: span 2; }

.med-gallery__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(26,15,8,.72) 0%, transparent 55%);
	display: flex;
	align-items: flex-end;
	padding: 1rem 1.1rem;
	opacity: 0;
	transition: opacity .25s;
}
.med-gallery__item:hover .med-gallery__overlay { opacity: 1; }
.med-gallery__overlay span {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .88rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #fff;
}

/* ════════════════════════════════════════════════
   5. IMPACT STATS — brown band
════════════════════════════════════════════════ */
.med-stats {
	background: #834d22;
	padding-top: clamp(3.5rem, 6vw, 5.5rem);
	padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
	position: relative;
	overflow: hidden;
}
.med-stats::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 24px 24px;
	pointer-events: none;
}
.med-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	position: relative;
}
.med-stats__stat {
	text-align: center;
	padding: clamp(1.5rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem);
	border-right: 1px solid rgba(255,255,255,.1);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .35rem;
}
.med-stats__stat:last-child { border-right: none; }
.med-stats__number {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	font-weight: 700;
	color: #fdf6e3;
	line-height: 1;
}
.med-stats__plus {
	font-size: clamp(1.25rem, 2.5vw, 2rem);
	vertical-align: super;
	line-height: 0;
}
.med-stats__label {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(.88rem, 1.5vw, 1.05rem);
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #fff;
}
.med-stats__sub {
	font-size: .78rem;
	color: rgba(255,255,255,.5);
	margin: 0;
}

/* ════════════════════════════════════════════════
   6. VIDEO HIGHLIGHTS
════════════════════════════════════════════════ */
.med-videos {
	background: #fdf6e3;
	padding-top: clamp(4rem, 7vw, 6.5rem);
	padding-bottom: clamp(4rem, 7vw, 6.5rem);
}
.med-videos__intro {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
	font-size: clamp(.95rem, 1.6vw, 1.05rem);
	line-height: 1.75;
	color: #1a0f08;
	opacity: .8;
}
.med-videos__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 3vw, 2rem);
}
.med-videos__card {
	background: #fff;
	border-radius: .75rem;
	overflow: hidden;
	box-shadow: 0 3px 18px rgba(26,15,8,.08);
	transition: transform .22s, box-shadow .22s;
	display: flex;
	flex-direction: column;
}
.med-videos__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 32px rgba(26,15,8,.14);
}
.med-videos__thumb {
	position: relative;
	overflow: hidden;
}
.med-videos__thumb img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform .4s;
}
.med-videos__card:hover .med-videos__thumb img { transform: scale(1.04); }
.med-videos__thumb::after {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(26,15,8,.38);
	transition: background .22s;
}
.med-videos__card:hover .med-videos__thumb::after { background: rgba(26,15,8,.5); }
.med-videos__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: #834d22;
	border: 3px solid rgba(255,255,255,.8);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform .2s, background .2s;
}
.med-videos__card:hover .med-videos__play {
	transform: translate(-50%, -50%) scale(1.12);
	background: #6b3d1a;
}
.med-videos__info {
	padding: clamp(1.1rem, 2.5vw, 1.5rem);
	display: flex;
	flex-direction: column;
	flex: 1;
}
.med-videos__duration {
	display: inline-block;
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .72rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #834d22;
	background: rgba(131,77,34,.08);
	border: 1px solid rgba(131,77,34,.2);
	border-radius: var(--wdtRadius_Part, 2.5em);
	padding: .2rem .65rem;
	margin-bottom: .65rem;
	align-self: flex-start;
}
.med-videos__title {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(.95rem, 1.8vw, 1.1rem);
	color: #1a0f08;
	line-height: 1.3;
	margin: 0 0 .6rem;
}
.med-videos__desc {
	font-size: .85rem;
	line-height: 1.65;
	color: #666;
	margin: 0;
}

/* ════════════════════════════════════════════════
   7. MEDIA RESOURCES
════════════════════════════════════════════════ */
.med-resources {
	background: #fff;
	padding-top: clamp(4rem, 7vw, 6.5rem);
	padding-bottom: clamp(4rem, 7vw, 6.5rem);
}
.med-resources__intro {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
	text-align: center;
	font-size: clamp(.95rem, 1.6vw, 1.05rem);
	line-height: 1.75;
	color: #1a0f08;
	opacity: .8;
}
.med-resources__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.med-resources__card {
	background: #fff;
	border: 1px solid rgba(26,15,8,.1);
	border-top: 4px solid transparent;
	border-radius: .75rem;
	padding: clamp(1.5rem, 3vw, 2rem);
	display: flex;
	flex-direction: column;
	gap: .75rem;
	transition: border-top-color .2s, box-shadow .2s, transform .2s;
}
.med-resources__card:hover {
	border-top-color: #834d22;
	box-shadow: 0 8px 28px rgba(26,15,8,.1);
	transform: translateY(-3px);
}
.med-resources__icon {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: rgba(131,77,34,.1);
	border: 2px solid rgba(131,77,34,.22);
	color: #834d22;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.med-resources__title {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(1rem, 1.8vw, 1.15rem);
	color: #1a0f08;
	margin: 0;
}
.med-resources__desc {
	font-size: .88rem;
	line-height: 1.65;
	color: #555;
	flex: 1;
	margin: 0;
}
.med-resources__link {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .8rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #834d22;
	border: 1px solid rgba(131,77,34,.35);
	border-radius: var(--wdtRadius_Part, 2.5em);
	padding: .45rem 1rem;
	margin-top: auto;
	align-self: flex-start;
	transition: background .2s, color .2s;
}
.med-resources__link:hover {
	background: #834d22;
	color: #fff;
}

/* ════════════════════════════════════════════════
   8. IN THE NEWS — timeline
════════════════════════════════════════════════ */
.med-news {
	background: #fdf6e3;
	padding-top: clamp(4rem, 7vw, 6.5rem);
	padding-bottom: clamp(4rem, 7vw, 6.5rem);
}
.med-news__list {
	margin-top: clamp(2rem, 4vw, 3rem);
	display: flex;
	flex-direction: column;
	gap: 0;
	position: relative;
}
.med-news__list::before {
	content: '';
	position: absolute;
	left: 120px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(to bottom, #834d22, rgba(131,77,34,.12));
}
.med-news__item {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: clamp(1.5rem, 3vw, 2.5rem);
	padding: clamp(1.5rem, 3vw, 2.25rem) 0;
	border-bottom: 1px solid rgba(26,15,8,.1);
	position: relative;
}
.med-news__item:last-child { border-bottom: none; }
.med-news__item::before {
	content: '';
	position: absolute;
	left: 116px;
	top: clamp(1.75rem, 3.5vw, 2.5rem);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #834d22;
	border: 2px solid #fff;
	box-shadow: 0 0 0 2px #834d22;
}
.med-news__meta {
	display: flex;
	flex-direction: column;
	gap: .35rem;
	padding-top: .15rem;
	text-align: right;
	padding-right: clamp(1.25rem, 2.5vw, 2rem);
}
.med-news__date {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .82rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #834d22;
}
.med-news__source {
	font-size: .75rem;
	color: rgba(26,15,8,.5);
	font-style: italic;
}
.med-news__content {
	padding-left: clamp(1.25rem, 2.5vw, 2rem);
}
.med-news__title {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(1rem, 1.8vw, 1.2rem);
	color: #1a0f08;
	line-height: 1.3;
	margin: 0 0 .6rem;
}
.med-news__excerpt {
	font-size: .88rem;
	line-height: 1.65;
	color: #555;
	margin-bottom: .85rem;
}
.med-news__link {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: .8rem;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: #834d22;
	transition: opacity .18s;
}
.med-news__link:hover { opacity: .7; }
.med-news__footer {
	margin-top: clamp(2rem, 4vw, 3rem);
	text-align: center;
}

/* ════════════════════════════════════════════════
   9. CTA BAND
════════════════════════════════════════════════ */
.med-cta {
	position: relative;
	padding-top: clamp(5rem, 10vw, 8rem);
	padding-bottom: clamp(5rem, 10vw, 8rem);
	overflow: hidden;
}
.med-cta__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.med-cta__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(26,15,8,.88) 0%, rgba(26,15,8,.75) 100%);
}
.med-cta__inner {
	position: relative;
	z-index: 1;
	text-align: center;
}
.med-cta__sub {
	max-width: 680px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: clamp(2rem, 4vw, 2.75rem);
	font-size: clamp(1rem, 1.8vw, 1.1rem);
	line-height: 1.75;
	color: rgba(255,255,255,.8);
}
.med-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	align-items: center;
}

/* ════════════════════════════════════════════════
   10. SUBSCRIBE
════════════════════════════════════════════════ */
.med-subscribe {
	position: relative;
	padding-top: clamp(4rem, 7vw, 6rem);
	padding-bottom: clamp(4rem, 7vw, 6rem);
}
.med-subscribe__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.med-subscribe__overlay {
	position: absolute;
	inset: 0;
	background: rgba(248,234,225,.92);
}
.med-subscribe__inner {
	position: relative;
	z-index: 1;
	text-align: center;
}
.med-subscribe__desc {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem);
	font-size: clamp(.95rem, 1.6vw, 1.05rem);
	line-height: 1.75;
	color: #1a0f08;
	opacity: .8;
}
.med-subscribe__form {
	display: flex;
	gap: .75rem;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
	flex-wrap: wrap;
	justify-content: center;
}
.med-subscribe__input {
	flex: 1;
	min-width: 220px;
	padding: .78rem 1.35rem;
	border: 2px solid rgba(131,77,34,.2);
	border-radius: var(--wdtRadius_Part, 2.5em);
	font-size: 1rem;
	font-family: var(--wdtFontTypo_Base, 'Roboto', sans-serif);
	color: #1a0f08;
	background: rgba(255,255,255,.85);
	outline: none;
	transition: border-color .2s;
}
.med-subscribe__input::placeholder { color: rgba(32,32,32,.45); }
.med-subscribe__input:focus {
	border-color: #834d22;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(131,77,34,.18);
}

/* ════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════ */
@media (max-width: 1024px) {
	.med-stories__grid   { grid-template-columns: 1fr 1fr; }
	.med-press__grid     { grid-template-columns: 1fr 1fr; }
	.med-videos__grid    { grid-template-columns: 1fr 1fr; }
	.med-resources__grid { grid-template-columns: 1fr 1fr; }
	.med-gallery__grid   { grid-template-columns: repeat(2, 1fr); }
	.med-stats__grid     { grid-template-columns: repeat(2, 1fr); }
	.med-stats__stat:nth-child(2n) { border-right: none; }
}

@media (max-width: 768px) {
	.med-stories__grid   { grid-template-columns: 1fr; }
	.med-videos__grid    { grid-template-columns: 1fr; }

	/* Flatten news timeline */
	.med-news__list::before { display: none; }
	.med-news__item { grid-template-columns: 1fr; gap: .5rem; }
	.med-news__item::before { display: none; }
	.med-news__meta { text-align: left; flex-direction: row; align-items: center; padding-right: 0; }
	.med-news__content { padding-left: 0; }

	.med-gallery__grid   { grid-template-columns: 1fr; grid-auto-rows: 220px; }
	.med-gallery__item--tall,
	.med-gallery__item--wide { grid-row: span 1; grid-column: span 1; }
}

@media (max-width: 640px) {
	.med-press__grid     { grid-template-columns: 1fr; }
	.med-resources__grid { grid-template-columns: 1fr; }
	.med-stats__grid     { grid-template-columns: repeat(2, 1fr); }
	.med-stats__stat     { border-right: 1px solid rgba(255,255,255,.1); }
	.med-stats__stat:nth-child(2n) { border-right: none; }

	.med-subscribe__form  { flex-direction: column; align-items: stretch; }
	.med-subscribe__input { min-width: 0; }
	.med-subscribe__form .med-btn { justify-content: center; }

	.med-gallery__filters { gap: .35rem; }
	.med-gallery__filter  { font-size: .75rem; padding: .4rem 1rem; }
}
