/* ═══════════════════════════════════════════════════════════
   FLAGSHIP PROGRAMS  (fp-*)
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────
   Programs pages reuse the site-wide page-hero / page-hero-bg /
   page-hero-overlay / page-hero-content classes from _base.css.
   Only the tagline style is added here.
   ─────────────────────────────────────────────────────────── */
.fp-hero-tagline {
	font-size: .95rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, .85);
	font-style: italic;
	font-weight: 600;
	max-width: 620px;
}

/* ── Landing — Flagship Programs card grid ─────────────── */
.fp-landing {
	padding: 4rem 0 5rem;
	background: #fff;
}

.fp-landing-title {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 900;
	text-align: center;
	color: var(--gray-900);
	margin-bottom: 2.5rem;
	letter-spacing: .02em;
}

.fp-card-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	justify-content: center;
}

.fp-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	border: 1.5px solid rgba(0, 0, 0, .08);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
	display: flex;
	flex-direction: column;
	transition: transform .25s ease, box-shadow .25s ease;
	width: calc(33.333% - 1.34rem);
}

.fp-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .10);
}

.fp-card-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
	transition: transform .25s ease;
}

.fp-card:hover .fp-card-img {
	transform: scale(1.05);
}

.fp-card-body {
	padding: 1.25rem 1rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.fp-card-body h3 {
	font-size: 1rem;
	font-weight: 800;
	color: var(--gray-900);
	text-align: center;
	margin-bottom: .75rem;
	line-height: 1.3;
}

.fp-card-body p {
	font-size: .82rem;
	line-height: 1.65;
	color: var(--gray-700);
	text-align: center;
	flex: 1;
	margin-bottom: 1rem;
}

.fp-card-btn {
	display: block;
	text-align: center;
	background: var(--green-900);
	color: #fff;
	padding: .7rem 1.25rem;
	border-radius: 8px;
	font-size: .85rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .06em;
	transition: background .2s ease;
	font-family: "Poppins", system-ui, sans-serif;
}

.fp-card-btn:hover {
	background: var(--green-600);
}

/* ── Section shared ────────────────────────────────────── */
.fp-section {
	padding: 4rem 0;
}

.fp-section-title {
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	font-weight: 800;
	text-align: center;
	color: var(--gray-900);
	margin-bottom: 2rem;
}

/* ── Objectives + Key Highlights cards ─────────────────── */
.fp-info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
}

.fp-info-card {
	background: #fff;
	border-radius: 16px;
	padding: 2rem;
	border: 1.5px solid rgba(0, 0, 0, .07);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
}

.fp-info-card h3 {
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--gray-900);
	margin-bottom: 1rem;
}

.fp-info-card ul {
	padding-left: 1.2rem;
	margin: 0;
}

.fp-info-card li {
	font-size: .92rem;
	line-height: 1.7;
	color: var(--gray-700);
	margin-bottom: .4rem;
}

.fp-info-card p {
	font-size: .92rem;
	line-height: 1.7;
	color: var(--gray-700);
}

/* ── Who Should Attend ─────────────────────────────────── */
.fp-attend {
	text-align: center;
	margin-bottom: 3rem;
}

.fp-attend h3 {
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--gray-900);
	margin-bottom: .5rem;
}

.fp-attend p {
	font-size: .92rem;
	line-height: 1.6;
	color: var(--gray-700);
	max-width: 600px;
	margin: 0 auto;
}

/* ── Host grid (Year on Year Hosts) ────────────────────── */
.fp-hosts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
	margin-bottom: 2.5rem;
}

.fp-host-card {
	text-align: center;
	overflow: hidden;
}

.fp-host-card img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	border-radius: 12px;
	display: block;
	margin-bottom: .75rem;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
	transition: transform .25s ease;
}

.fp-host-card:hover img {
	transform: scale(1.05);
}

.fp-host-card .fp-host-year {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--green-900);
	display: block;
	margin-bottom: .25rem;
	font-family: "Montserrat", serif;
}

.fp-host-card .fp-host-name {
	font-size: .82rem;
	line-height: 1.4;
	color: var(--gray-700);
	display: block;
}

/* ── IWGM timeline grid (compact thumbnail + text) ─────── */
.fp-iwgm-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
	margin-bottom: 2.5rem;
}

.fp-iwgm-item {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.fp-iwgm-item img {
	width: 200px;
	height: 140px;
	object-fit: cover;
	border-radius: 10px;
	flex-shrink: 0;
	transition: transform .25s ease;
}

.fp-iwgm-item:hover img {
	transform: scale(1.05);
}

.fp-iwgm-item .fp-iwgm-year {
	font-size: 2rem;
	font-weight: 800;
	color: var(--green-900);
	display: block;
	line-height: 1.1;
	font-family: "Montserrat", serif;
}

.fp-iwgm-item .fp-iwgm-name {
	font-size: .95rem;
	line-height: 1.45;
	color: var(--gray-700);
	display: block;
	margin-top: .2rem;
}

/* ── IWGM benefit rows (icon + text) ───────────────────── */
.fp-benefits {
	max-width: 100%;
	margin: 0 auto 3rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.fp-benefit-row {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1rem;
	padding: 2rem 1.25rem;
	background: #fff;
	border-radius: 16px;
	border: 1.5px solid rgba(0, 0, 0, .07);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
	transition: transform .25s ease, box-shadow .25s ease;
}

.fp-benefit-row:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .10);
}

.fp-benefit-icon {
	width: 64px;
	height: 64px;
	min-width: 64px;
	border-radius: 50%;
	border: 2px solid var(--green-900);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--green-900);
}

.fp-benefit-icon svg {
	width: 28px;
	height: 28px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.fp-benefit-text h3 {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--green-900);
	margin-bottom: .35rem;
}

.fp-benefit-text p {
	font-size: .9rem;
	line-height: 1.7;
	color: var(--gray-700);
	margin: 0;
}

/* ── ISLM Past Host (large image + text card) ──────────── */
.fp-past-host {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2rem;
	margin-bottom: 3rem;
	align-items: center;
}

.fp-past-host-img img {
	width: 100%;
	border-radius: 14px;
	object-fit: cover;
	aspect-ratio: 4/3;
	display: block;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
	transition: transform .25s ease;
}

.fp-past-host-img {
	overflow: hidden;
}

.fp-past-host-img:hover img {
	transform: scale(1.05);
}

.fp-past-host-info {
	padding: 1rem 0;
}

.fp-past-host-info .fp-host-year {
	font-size: 2.5rem;
	font-weight: 900;
	color: var(--gray-900);
	display: block;
	margin-bottom: .5rem;
	font-family: "Montserrat", serif;
}

.fp-past-host-info h3 {
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--gray-900);
	margin-bottom: 1.25rem;
	line-height: 1.3;
}

.fp-past-host-info h4 {
	font-size: 1rem;
	font-weight: 700;
	color: var(--gray-900);
	margin-bottom: .5rem;
}

.fp-past-host-info p {
	font-size: .92rem;
	line-height: 1.7;
	color: var(--gray-700);
}

/* ── Workshops split hosts (Regional + National) ───────── */
.fp-hosts-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	margin-bottom: 2.5rem;
}

.fp-hosts-split h3 {
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--gray-900);
	margin-bottom: 1.25rem;
}

.fp-hosts-half-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}

/* ── CTA Button ────────────────────────────────────────── */
.fp-cta {
	text-align: center;
	margin: 2rem 0 1rem;
}

.fp-cta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 3rem 0 1rem;
}

.fp-cta-card {
	padding: 2rem;
	border: 1px solid rgba(23, 68, 41, .14);
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 14px 30px rgba(15, 23, 42, .07);
	text-align: left;
}

.fp-cta-card--highlight {
	background: #f8faf7;
}

.fp-cta-card h3 {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--gray-900);
	margin-bottom: .75rem;
}

.fp-cta-card p {
	font-size: .95rem;
	line-height: 1.7;
	color: var(--gray-700);
	margin: 0 0 1.35rem;
}

.fp-cta-btn {
	display: inline-block;
	background: var(--green-900);
	color: #fff;
	padding: .85rem 2.5rem;
	border-radius: 8px;
	font-size: .95rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: .08em;
	border: 2px solid var(--green-900);
	transition: background .2s ease, color .2s ease;
	font-family: "Poppins", system-ui, sans-serif;
}

.fp-cta-btn:hover {
	background: transparent;
	color: var(--green-900);
}

/* ── Who Should Attend card (bordered box) ─────────────── */
.fp-attend-card {
	max-width: 600px;
	margin: 0 auto 3rem;
	text-align: center;
	padding: 1.5rem 2rem;
	border: 1.5px solid rgba(0, 0, 0, .08);
	border-radius: 14px;
	background: #fafbfa;
}

.fp-attend-card h3 {
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--gray-900);
	margin-bottom: .5rem;
}

.fp-attend-card p {
	font-size: .9rem;
	line-height: 1.6;
	color: var(--gray-700);
	margin: 0;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1100px) {
	.fp-card {
		width: calc(50% - 1rem);
	}

	.fp-iwgm-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.fp-info-grid {
		grid-template-columns: 1fr;
	}

	.fp-hosts-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fp-iwgm-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.fp-past-host {
		grid-template-columns: 1fr;
	}

	.fp-hosts-split {
		grid-template-columns: 1fr;
	}

	.fp-card {
		width: 100%;
	}

	.fp-cta-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.fp-card {
		width: 100%;
	}

	.fp-hosts-grid {
		grid-template-columns: 1fr 1fr;
	}

	.fp-iwgm-grid {
		grid-template-columns: 1fr;
	}

	.fp-iwgm-item {
		flex-direction: column;
		text-align: center;
	}

	.fp-benefits {
		grid-template-columns: 1fr;
	}

	.fp-hosts-half-grid {
		grid-template-columns: 1fr;
	}

	.fp-landing-title {
		font-size: 1.6rem;
	}

	.fp-cta-card {
		padding: 1.5rem;
	}

	.fp-cta-card .fp-cta-btn {
		width: 100%;
		text-align: center;
		padding-inline: 1rem;
	}
}
