/* =============================================================
   Mithila Leadership Page — leadership.css  v1.0
   Sections: hero · intro · team-grid · pillars · subscribe
   Colour scheme: Creedy theme CSS variables
   ============================================================= */

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

/* ── Reset ───────────────────────────────────────────────── */
.ldr-page *,
.ldr-page *::before,
.ldr-page *::after { box-sizing: border-box; }
.ldr-page img     { max-width: 100%; height: auto; display: block; }
.ldr-page ul,
.ldr-page ol      { list-style: none; margin: 0; padding: 0; }
.ldr-page figure  { margin: 0; }
.ldr-page p       { margin-top: 0; }

.ldr-page {
	width: 100%;
	font-family: var(--wdtFontTypo_Base, 'Roboto', sans-serif);
	color: var(--wdtBodyTxtColor, #202020);
	background: var(--wdtBodyBGColor, #fff);
}
.ldr-page section { display: block; width: 100%; position: relative; }

/* ── Container ───────────────────────────────────────────── */
.ldr-container {
	width: 100%;
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 3rem);
}

/* ── Shared typography ──────────────────────────────────── */
.ldr-h1 {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(2.8rem, 6vw, 4.5rem);
	font-weight: var(--wdtFontWeight_Alt, 700);
	color: var(--wdtHeadAltColor, #202020);
	line-height: 1.1;
	margin: 0 0 1rem;
}
.ldr-h1--center { text-align: center; }
.ldr-h1--light  { color: #fff; }

.ldr-h2 {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: clamp(1.9rem, 3.8vw, 2.8rem);
	font-weight: var(--wdtFontWeight_Alt, 700);
	color: var(--wdtHeadAltColor, #202020);
	line-height: 1.2;
	margin: 0 0 1.1rem;
}
.ldr-h2--center { text-align: center; }
.ldr-h2--light  { color: #fff; }

.ldr-script-kicker {
	display: block;
	font-family: 'Dancing Script', cursive;
	font-size: 1.5rem;
	font-weight: 600;
	color: #9b2335;
	margin-bottom: .6rem;
	line-height: 1.3;
}
.ldr-script-kicker--center { text-align: center; }
.ldr-script-kicker--light  { color: rgba(255,255,255,.85); }

.ldr-divider {
	width: 52px; height: 4px;
	background: var(--wdtPrimaryColor, #d88e7d);
	border-radius: 2px;
	margin-bottom: 1.5rem;
}
.ldr-divider--center { margin-inline: auto; }
.ldr-divider--light  { background: rgba(255,255,255,.55); }

/* ── Buttons ─────────────────────────────────────────────── */
.ldr-btn {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .72rem 1.75rem;
	background: var(--wdtPrimaryColor, #d88e7d);
	color: #fff;
	border: 2px solid var(--wdtPrimaryColor, #d88e7d);
	border-radius: var(--wdtRadius_Part, 2.5em);
	font-size: .9375rem;
	font-weight: 600;
	font-family: var(--wdtFontTypo_Base, 'Roboto', sans-serif);
	text-decoration: none;
	transition: var(--wdtBaseTransition, all .3s linear);
	cursor: pointer;
	line-height: 1;
}
.ldr-btn:hover {
	background: var(--wdtSecondaryColor, #363e5a);
	border-color: var(--wdtSecondaryColor, #363e5a);
	color: #fff;
}
.ldr-btn--ghost {
	background: transparent;
	color: var(--wdtPrimaryColor, #d88e7d);
	border-color: var(--wdtPrimaryColor, #d88e7d);
}
.ldr-btn--ghost:hover {
	background: var(--wdtPrimaryColor, #d88e7d);
	color: #fff;
}

/* =============================================================
   1. HERO — full-bleed, 72 vh
   ============================================================= */
.ldr-hero {
	position: relative;
	overflow: hidden;
	min-height: 72vh;
	display: flex;
	align-items: center;
	padding-block: 0 !important;
}

.ldr-hero__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center 30%;
	transform: scale(1.04);
	transition: transform 10s ease;
}
.ldr-hero:hover .ldr-hero__bg { transform: scale(1); }

.ldr-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		160deg,
		rgba(54,62,90,.92) 0%,
		rgba(54,62,90,.68) 55%,
		rgba(216,142,125,.35) 100%
	);
}

.ldr-hero__inner {
	position: relative;
	z-index: 1;
	padding-top: clamp(6rem, 12vw, 10rem);
	padding-bottom: clamp(4rem, 8vw, 7rem);
	text-align: center;
}

.ldr-hero__sub {
	font-size: clamp(1rem, 2vw, 1.15rem);
	line-height: 1.75;
	color: rgba(255,255,255,.85);
	max-width: 62ch;
	margin: 0 auto;
}

/* Decorative Mithila fish motif strip at the bottom of hero */
.ldr-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(
		90deg,
		var(--wdtPrimaryColor, #d88e7d) 0%,
		var(--wdtSecondaryColor, #363e5a) 50%,
		var(--wdtPrimaryColor, #d88e7d) 100%
	);
}

/* =============================================================
   2. INTRO — cream with Mithila pattern
   ============================================================= */
.ldr-intro {
	background: var(--wdtTertiaryColor, #f8eae1);
	padding-block: clamp(4rem, 7vw, 6.5rem);
	overflow: hidden;
}

.ldr-intro__pattern {
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg stroke='%23d88e7d' stroke-width='0.5' opacity='0.18'%3E%3Ccircle cx='30' cy='30' r='25'/%3E%3Ccircle cx='30' cy='30' r='15'/%3E%3Ccircle cx='30' cy='30' r='5'/%3E%3Cline x1='5' y1='30' x2='55' y2='30'/%3E%3Cline x1='30' y1='5' x2='30' y2='55'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
	background-size: 60px 60px;
	pointer-events: none;
	z-index: 0;
}

.ldr-intro__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}

.ldr-intro__body p {
	font-size: 1rem;
	line-height: 1.82;
	color: var(--wdtBodyTxtColor, #202020);
	opacity: .82;
	margin-bottom: 1rem;
}
.ldr-intro__body p:last-of-type { margin-bottom: 0; }

.ldr-intro__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin-top: 1.75rem;
}

.ldr-intro__figure {
	position: relative;
}
.ldr-intro__figure img {
	width: 100%;
	aspect-ratio: 5/4;
	object-fit: cover;
	border-radius: var(--wdtRadius_3X, 10px);
	box-shadow: 0 8px 36px rgba(54,62,90,.16);
	outline: 6px solid var(--wdtPrimaryColor, #d88e7d);
	outline-offset: 8px;
}

@media (max-width: 860px) {
	.ldr-intro__grid { grid-template-columns: 1fr; }
	.ldr-intro__figure { order: -1; }
	.ldr-intro__figure img { max-width: 480px; margin-inline: auto; outline: none; }
}

/* =============================================================
   3. TEAM GRID — shortcode wrapper
   ============================================================= */
.ldr-team {
	background: var(--wdtBodyBGColor, #fff);
	padding-block: clamp(4rem, 7vw, 6.5rem);
}

.ldr-team__intro {
	text-align: center;
	max-width: 60ch;
	margin-inline: auto;
	margin-bottom: 2.5rem;
	font-size: 1rem;
	line-height: 1.75;
	color: var(--wdtBodyTxtColor, #202020);
	opacity: .78;
}

/* ── Adapt plugin card grid to match page design ─────────── */
.ldr-team__shortcode-wrap .mae-cpt-wrap { margin: 0; }

.ldr-team__shortcode-wrap .mae-cpt-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 3vw, 2rem);
}

.ldr-team__shortcode-wrap .mae-cpt-card {
	border-radius: var(--wdtRadius_3X, 10px);
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(54,62,90,.09);
	background: var(--wdtBodyBGColor, #fff);
	border: 1px solid rgba(54,62,90,.07);
	display: flex;
	flex-direction: column;
	transition: transform .3s ease, box-shadow .3s ease;
}
.ldr-team__shortcode-wrap .mae-cpt-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 36px rgba(54,62,90,.15);
}

/* Image / placeholder */
.ldr-team__shortcode-wrap .mae-cpt-card-img-link {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 4/3;
}
.ldr-team__shortcode-wrap .mae-cpt-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform .45s ease;
	display: block;
}
.ldr-team__shortcode-wrap .mae-cpt-card:hover .mae-cpt-card-img {
	transform: scale(1.05);
}
.ldr-team__shortcode-wrap .mae-cpt-ph-img {
	width: 100%;
	aspect-ratio: 4/3;
	background: var(--wdtTertiaryColor, #f8eae1);
	display: flex;
	align-items: center;
	justify-content: center;
}
.ldr-team__shortcode-wrap .mae-ph-icon svg {
	width: 64px;
	height: 64px;
	color: var(--wdtPrimaryColor, #d88e7d);
	opacity: .6;
}

/* Badge */
.ldr-team__shortcode-wrap .mae-cpt-type-badge {
	position: absolute;
	top: .85rem;
	left: .85rem;
	background: var(--wdtPrimaryColor, #d88e7d);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	padding: .3rem .85rem;
	border-radius: var(--wdtRadius_Part, 2.5em);
}

/* Card body */
.ldr-team__shortcode-wrap .mae-cpt-card-body {
	padding: 1.5rem 1.75rem 1.75rem;
	display: flex;
	flex-direction: column;
	gap: .5rem;
	flex: 1;
}
.ldr-team__shortcode-wrap .mae-cpt-card-title {
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--wdtSecondaryColor, #363e5a);
	margin: 0;
	line-height: 1.3;
}
.ldr-team__shortcode-wrap .mae-cpt-card-title a {
	color: inherit;
	text-decoration: none;
	transition: color .25s ease;
}
.ldr-team__shortcode-wrap .mae-cpt-card-title a:hover {
	color: var(--wdtPrimaryColor, #d88e7d);
}

/* Position meta tag */
.ldr-team__shortcode-wrap .mae-cpt-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}
.ldr-team__shortcode-wrap .mae-cpt-meta-tag {
	display: inline-block;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--wdtPrimaryColor, #d88e7d);
	background: rgba(216,142,125,.1);
	border: 1px solid rgba(216,142,125,.25);
	border-radius: var(--wdtRadius_Part, 2.5em);
	padding: .2rem .75rem;
}

/* Excerpt */
.ldr-team__shortcode-wrap .mae-cpt-card-excerpt {
	font-size: .9375rem;
	line-height: 1.68;
	color: var(--wdtBodyTxtColor, #202020);
	opacity: .72;
	margin: 0;
	flex: 1;
}

/* Read More button */
.ldr-team__shortcode-wrap .mae-cpt-card-footer {
	margin-top: .5rem;
}
.ldr-team__shortcode-wrap .mae-cpt-card-btn {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
	font-size: .875rem;
	font-weight: 700;
	font-family: var(--wdtFontTypo_Alt, 'Oswald', sans-serif);
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--wdtSecondaryColor, #363e5a);
	text-decoration: none;
	border-bottom: 2px solid var(--wdtPrimaryColor, #d88e7d);
	padding-bottom: .15rem;
	transition: color .25s ease, border-color .25s ease;
}
.ldr-team__shortcode-wrap .mae-cpt-card-btn:hover {
	color: var(--wdtPrimaryColor, #d88e7d);
}

/* Empty state */
.ldr-team__shortcode-wrap .mae-no-events {
	text-align: center;
	font-style: italic;
	color: rgba(32,32,32,.45);
	padding: 3rem 0;
}

@media (max-width: 900px) {
	.ldr-team__shortcode-wrap .mae-cpt-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
	.ldr-team__shortcode-wrap .mae-cpt-grid { grid-template-columns: 1fr; }
}

/* =============================================================
   4. LEADERSHIP PILLARS — Mithila brown band
   ============================================================= */
.ldr-pillars {
	background: #834d22;
	padding-block: clamp(4rem, 7vw, 6.5rem);
	position: relative;
	overflow: hidden;
}

.ldr-pillars::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 4L56 30L30 56L4 30Z' fill='none' stroke='rgba(255,255,255,.07)' stroke-width='1'/%3E%3Ccircle cx='30' cy='30' r='3' fill='rgba(255,255,255,.04)'/%3E%3C/svg%3E");
	background-size: 60px 60px;
	pointer-events: none;
	z-index: 0;
}

.ldr-pillars .ldr-container {
	position: relative;
	z-index: 1;
}

.ldr-pillars__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin-top: clamp(2.5rem, 4vw, 3.5rem);
}

.ldr-pillars__item {
	background: #fdf6e3;
	border: none;
	border-radius: 16px;
	padding: 2.25rem 2rem;
	text-align: center;
	box-shadow: 0 4px 24px rgba(26,15,8,.20);
	transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}
.ldr-pillars__item:hover {
	background: #fff;
	transform: translateY(-4px);
	box-shadow: 0 14px 40px rgba(26,15,8,.28);
}

.ldr-pillars__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	background: rgba(155,35,53,.12);
	border: 2px solid rgba(155,35,53,.25);
	border-radius: 50%;
	color: #9b2335;
	margin: 0 auto 1.25rem;
}

.ldr-pillars__title {
	font-family: var(--wdtFontTypo_Alt, 'Playfair Display', serif);
	font-size: 1.2rem;
	font-weight: 700;
	color: #1a0f08;
	margin: 0 0 .75rem;
	line-height: 1.3;
}

.ldr-pillars__desc {
	font-size: .9375rem;
	line-height: 1.72;
	color: rgba(26,15,8,.68);
	margin: 0;
}

@media (max-width: 820px) {
	.ldr-pillars__list { grid-template-columns: 1fr; }
}
@media (min-width: 560px) and (max-width: 820px) {
	.ldr-pillars__list { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================================
   5. SUBSCRIBE
   ============================================================= */
.ldr-subscribe {
	position: relative;
	overflow: hidden;
	padding-block: clamp(4.5rem, 8vw, 7rem);
}

.ldr-subscribe__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.ldr-subscribe__overlay {
	position: absolute;
	inset: 0;
	background: rgba(248,234,225,.9);
}

.ldr-subscribe__inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.ldr-subscribe__desc {
	max-width: 52ch;
	margin: 0 auto 1.75rem;
	font-size: 1rem;
	line-height: 1.72;
	color: var(--wdtBodyTxtColor, #202020);
	opacity: .78;
}

.ldr-subscribe__form {
	display: flex;
	gap: .75rem;
	max-width: 500px;
	margin-inline: auto;
	flex-wrap: wrap;
	justify-content: center;
}

.ldr-subscribe__input {
	flex: 1;
	min-width: 220px;
	padding: .78rem 1.35rem;
	border: 2px solid rgba(54,62,90,.22);
	border-radius: var(--wdtRadius_Part, 2.5em);
	font-size: 1rem;
	font-family: var(--wdtFontTypo_Base, 'Roboto', sans-serif);
	color: var(--wdtBodyTxtColor, #202020);
	background: rgba(255,255,255,.85);
	outline: none;
	transition: var(--wdtBaseTransition, all .3s linear);
}
.ldr-subscribe__input::placeholder { color: rgba(32,32,32,.45); }
.ldr-subscribe__input:focus {
	border-color: var(--wdtPrimaryColor, #d88e7d);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(216,142,125,.2);
}
