/* Monkey Showcase – public Featured Content page */
.mfc {
	--mfc-navy: #1f295c;
	--mfc-gold: #9f7410;
	--mfc-ink: #161a33;
	--mfc-muted: #5e6378;
	--mfc-line: #e6e7ee;
	--mfc-soft: #f4f5f9;
	color: var(--mfc-ink);
	max-width: 1180px;
	margin: 0 auto;
	padding: 8px 16px 48px;
	font-size: 16px;
	line-height: 1.5;
}
.mfc *, .mfc *::before, .mfc *::after { box-sizing: border-box; }
.mfc button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; text-transform: none; letter-spacing: normal; box-shadow: none; border-radius: 0; line-height: inherit; min-height: 0; }
.mfc button:focus-visible, .mfc a:focus-visible { outline: 2px solid var(--mfc-gold); outline-offset: 3px; }

/* ---------- Header ---------- */
.mfc-head { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.mfc-eyebrow { display: inline-block; margin: 0 0 12px; padding: 5px 14px; border-radius: 99px; background: color-mix(in srgb, var(--mfc-gold) 12%, transparent); color: var(--mfc-gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.mfc .mfc-title { margin: 0 0 12px; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; color: var(--mfc-navy); font-weight: 800; letter-spacing: -.01em; }
.mfc-intro { margin: 0; color: var(--mfc-muted); font-size: 16px; }

/* ---------- Month tabs (segmented control) ---------- */
.mfc-tabs { display: flex; justify-content: center; margin: 0 0 28px; }
.mfc-tablist { display: inline-flex; gap: 4px; padding: 5px; border-radius: 16px; background: var(--mfc-soft); border: 1px solid var(--mfc-line); max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.mfc-tablist::-webkit-scrollbar { display: none; }
.mfc .mfc-tab { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 112px; padding: 9px 18px; border-radius: 12px; color: var(--mfc-muted); transition: background .18s, color .18s; }
.mfc .mfc-tab:hover { color: var(--mfc-navy); background: #fff; }
.mfc-tab-name { font-size: 15px; font-weight: 700; line-height: 1.2; }
.mfc-tab-year { font-size: 11px; font-weight: 500; opacity: .75; line-height: 1.2; }
.mfc-tab-icon { color: var(--mfc-gold); font-size: 13px; line-height: 1.1; }
.mfc .mfc-tab.is-active { background: var(--mfc-navy); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--mfc-navy) 30%, transparent); }
.mfc .mfc-tab.is-active .mfc-tab-icon { color: #f2c75c; }

/* ---------- Month summary band ---------- */
.mfc-panel[hidden] { display: none; }
.mfc-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; padding: 22px 28px; margin-bottom: 18px; border-radius: 20px; background: var(--mfc-navy); color: #fff; position: relative; overflow: hidden; }
.mfc-panel-head::after { content: ""; position: absolute; right: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: color-mix(in srgb, var(--mfc-gold) 35%, transparent); filter: blur(40px); pointer-events: none; }
.mfc-kicker { margin: 0 0 2px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #f2c75c; }
.mfc .mfc-month { margin: 0; font-size: 26px; line-height: 1.15; color: #fff; font-weight: 800; }
.mfc-stats { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px 32px; list-style: none; margin: 0; padding: 0; }
.mfc-stats li { display: flex; flex-direction: column; margin: 0; }
.mfc-stats strong { font-size: 22px; line-height: 1.15; color: #fff; font-variant-numeric: tabular-nums; }
.mfc-stats span { font-size: 12px; color: rgba(255,255,255,.7); }

/* ---------- Filters ---------- */
.mfc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.mfc .mfc-filter { padding: 7px 15px; border-radius: 99px; border: 1px solid var(--mfc-line); background: #fff; color: var(--mfc-muted); font-size: 13px; font-weight: 600; transition: border-color .15s, color .15s; }
.mfc .mfc-filter span { opacity: .6; margin-left: 3px; font-weight: 500; }
.mfc .mfc-filter:hover { border-color: var(--mfc-navy); color: var(--mfc-navy); }
.mfc .mfc-filter.is-active { background: color-mix(in srgb, var(--mfc-gold) 12%, #fff); border-color: color-mix(in srgb, var(--mfc-gold) 45%, #fff); color: var(--mfc-gold); }

/* ---------- Grid: 2 cards per row, video on top, details below ---------- */
.mfc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.mfc-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mfc-line); border-radius: 22px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.mfc-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(31, 41, 92, .12); border-color: transparent; }
.mfc-card.is-top { border-color: color-mix(in srgb, var(--mfc-gold) 55%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--mfc-gold) 35%, #fff); }
.mfc-card[hidden] { display: none; }

/* Row 1 – the reel: blurred cover fills the frame, the vertical reel sits in the middle */
.mfc .mfc-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; background: var(--mfc-navy); overflow: hidden; }
.mfc-backdrop { position: absolute; inset: -30px; background-size: 260% auto; background-position: center; background-repeat: no-repeat; background-color: var(--mfc-navy); filter: blur(22px) brightness(.62) saturate(1.15); transform: scale(1.1); }
.mfc-media img { position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; width: auto; aspect-ratio: 9 / 16; transform: translateX(-50%); object-fit: cover; max-width: none; box-shadow: 0 0 40px rgba(0,0,0,.35); transition: transform .45s ease; }
.mfc-card:hover .mfc-media img { transform: translateX(-50%) scale(1.03); }
.mfc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(10,14,40,.45)); pointer-events: none; }
.mfc .mfc-media.is-placeholder { background: radial-gradient(120% 120% at 15% 0%, color-mix(in srgb, var(--mfc-gold) 60%, var(--mfc-navy)) 0%, var(--mfc-navy) 60%); }
.mfc .mfc-media.is-placeholder.is-ig { background: radial-gradient(120% 120% at 12% 0%, #8a3ab9 0%, var(--mfc-navy) 62%); }
.mfc-initials { position: absolute; inset: 18% 0 auto; display: grid; place-items: center; font-size: 56px; font-weight: 800; color: rgba(255,255,255,.92); }
.mfc-play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: var(--mfc-navy); box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: transform .2s ease; }
.mfc-play svg { margin-left: 3px; width: 22px; height: 22px; }
.mfc-media.is-placeholder .mfc-play { top: 64%; }
.mfc-media:hover .mfc-play { transform: scale(1.1); }
.mfc-platform { position: absolute; z-index: 2; right: 14px; bottom: 14px; font-size: 12px; font-weight: 600; color: #fff; padding: 4px 11px; border-radius: 99px; background: rgba(0,0,0,.5); backdrop-filter: blur(4px); }

/* Row 2 – the details */
.mfc-body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 20px 22px 22px; }
.mfc-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.mfc-tag { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; background: var(--mfc-soft); color: var(--mfc-navy); }
.mfc-tag.is-top { background: var(--mfc-gold); color: #fff; }
.mfc .mfc-brand { margin: 0; font-size: 24px; line-height: 1.2; color: var(--mfc-navy); font-weight: 800; }
.mfc-meta { margin: 3px 0 0; font-size: 13px; color: var(--mfc-muted); }

.mfc-numbers { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; margin: 16px 0 18px; }
.mfc-numbers:has(.mfc-metrics > div:only-child) { grid-template-columns: 1.3fr 1fr; }
.mfc-numbers:not(:has(.mfc-metrics)) { grid-template-columns: 1fr; }
.mfc-metrics { display: contents; }
.mfc-hero, .mfc-metrics > div { display: flex; flex-direction: column; justify-content: center; padding: 12px 14px; border-radius: 14px; background: var(--mfc-soft); cursor: help; min-width: 0; }
.mfc-hero { background: color-mix(in srgb, var(--mfc-gold) 10%, #fff); border: 1px solid color-mix(in srgb, var(--mfc-gold) 30%, #fff); }
.mfc-hero-value { font-size: 26px; line-height: 1.1; font-weight: 800; color: var(--mfc-gold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mfc-hero-label { font-size: 12px; color: var(--mfc-muted); font-weight: 600; margin-top: 3px; }
.mfc-metrics > div { flex-direction: column-reverse; }
.mfc-metrics dd { margin: 0; font-size: 19px; line-height: 1.15; font-weight: 700; color: var(--mfc-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mfc-metrics dt { margin: 3px 0 0; font-size: 12px; color: var(--mfc-muted); font-weight: 600; }

.mfc .mfc-cta { margin-top: auto; display: flex; align-items: center; gap: 8px; width: 100%; padding: 13px 16px; border-radius: 12px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.mfc .mfc-cta .mfc-arrow { margin-left: auto; transition: transform .15s; }
.mfc .mfc-cta:hover .mfc-arrow { transform: translateX(3px); }
.mfc .mfc-cta.is-case { background: var(--mfc-navy); color: #fff; }
.mfc .mfc-cta.is-case:hover { background: color-mix(in srgb, var(--mfc-navy) 85%, #000); color: #fff; }
.mfc .mfc-cta.is-wa { background: #fff; color: var(--mfc-navy); border: 1px solid color-mix(in srgb, var(--mfc-navy) 22%, #fff); }
.mfc .mfc-cta.is-wa:hover { border-color: #25d366; color: #128c4b; }
.mfc .mfc-cta.is-wa svg { color: #25d366; flex: none; }

/* ---------- Glossary ---------- */
.mfc-glossary { margin: 36px auto 0; max-width: 760px; border: 1px solid var(--mfc-line); border-radius: 14px; padding: 0 20px; background: #fff; }
.mfc-glossary summary { cursor: pointer; padding: 15px 0; font-weight: 700; color: var(--mfc-navy); }
.mfc-glossary dl { margin: 0 0 18px; display: grid; gap: 10px; }
.mfc-glossary dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.mfc-glossary dt { font-weight: 700; color: var(--mfc-gold); }
.mfc-glossary dd { margin: 0; color: var(--mfc-muted); }

/* ---------- Video modal ---------- */
.mfc-modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: visible; }
.mfc-modal::backdrop { background: rgba(8, 11, 30, .84); backdrop-filter: blur(3px); }
.mfc-modal[open] { display: grid; place-items: center; }
.mfc-modal-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.mfc-frame { width: min(92vw, calc((100vh - 120px) * 9 / 16)); aspect-ratio: 9 / 16; background: #000; border-radius: 16px; overflow: hidden; }
.mfc-frame.is-wide { width: min(92vw, 960px); aspect-ratio: 16 / 9; }
.mfc-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.mfc-frame.is-ig { background: #fff; }
.mfc .mfc-close { position: absolute; top: -6px; right: -52px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--mfc-navy); font-size: 26px; line-height: 1; display: grid; place-items: center; }
.mfc-external { color: #fff; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
.mfc-external:hover { color: #fff; opacity: 1; }

.mfc-admin-hint { padding: 16px; border: 1px dashed #c9a24a; border-radius: 10px; color: #6b4f0b; background: #fdf8ec; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
	.mfc-grid { gap: 20px; }
	.mfc-body { padding: 16px 16px 18px; }
	.mfc .mfc-brand { font-size: 20px; }
	.mfc-hero-value { font-size: 21px; }
	.mfc-metrics dd { font-size: 16px; }
	.mfc-hero, .mfc-metrics > div { padding: 10px 10px; }
}
@media (max-width: 760px) {
	.mfc-grid { grid-template-columns: 1fr; gap: 18px; }
	.mfc-panel-head { padding: 18px 20px; }
}
@media (max-width: 560px) {
	.mfc { padding: 0 12px 32px; }
	.mfc-tablist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; overflow: visible; }
	.mfc .mfc-tab { min-width: 0; padding: 8px 6px; }
	.mfc .mfc-media { aspect-ratio: 4 / 3; }
	.mfc-card { border-radius: 18px; }
	.mfc-numbers { gap: 6px; }
	.mfc-hero-value { font-size: 19px; }
	.mfc-metrics dd { font-size: 15px; }
	.mfc-hero-label, .mfc-metrics dt { font-size: 11px; }
	.mfc .mfc-close { right: 4px; top: -52px; }
	.mfc-glossary dl > div { grid-template-columns: 1fr; gap: 2px; }
	.mfc-stats { gap: 10px 22px; }
	.mfc-stats strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.mfc-card, .mfc-media img, .mfc-play { transition: none; }
	.mfc-card:hover { transform: none; }
}
