/* ==========================================================================
   Fanminton v2 — komponen (dipakai di situs DAN di editor blok)
   Palet merah-putih-arang ala papan turnamen + gaya Gen Z
   ========================================================================== */

:root {
	--fm-red: #E0262E;        /* Merah Smash (utama) */
	--fm-red-dark: #B81B22;
	--fm-red-deep: #9E1218;   /* Merah Tua */
	--fm-ink: #161616;        /* Arang */
	--fm-ink-2: #262626;
	--fm-muted: #5F5F5F;
	--fm-line: #E2E2E2;
	--fm-floor: #F4F4F4;
	--fm-white: #FFFFFF;
	--fm-yellow: #FFC531;     /* Kuning Kok (CTA) */
	--fm-green: #22B24C;      /* Hijau Live */
	--fm-pink: #FFE3E4;       /* Merah muda pucat */

	--fm-radius: 20px;
	--fm-radius-sm: 12px;
	--fm-stroke: 2.5px solid var(--fm-ink);
	--fm-shadow: 6px 6px 0 var(--fm-ink);
	--fm-shadow-sm: 3px 3px 0 var(--fm-ink);

	--fm-font-head: "Bricolage Grotesque", "Bricolage Fallback", Arial, sans-serif;
	--fm-font-body: "Plus Jakarta Sans", "Jakarta Fallback", Arial, sans-serif;

	/* nama lama, supaya CSS kustom lama tetap jalan */
	--fm-blue: var(--fm-red);
	--fm-night: var(--fm-ink);
	--fm-cork: var(--fm-yellow);
	--fm-feather: var(--fm-pink);
}

/* ---------- Tipografi ---------- */
body,
.editor-styles-wrapper,
button, input, select, textarea {
	font-family: var(--fm-font-body);
}
body,
.editor-styles-wrapper {
	color: var(--fm-ink);
	font-size: 17px;
	line-height: 1.65;
}
h1, h2, h3, h4, h5, h6,
.editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3,
.editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6,
.editor-post-title__input,
.main-title, .widget-title, .entry-title {
	font-family: var(--fm-font-head);
	font-weight: 700;
	line-height: 1.02;
	color: var(--fm-ink);
}
h1, h2,
.editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-post-title__input {
}
h1, .editor-styles-wrapper h1, .editor-post-title__input { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2, .editor-styles-wrapper h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
h3, .editor-styles-wrapper h3 { font-size: 1.5rem; }
h4, .editor-styles-wrapper h4 { font-size: 1.15rem; letter-spacing: .05em; }

a { color: var(--fm-red); }
a:hover, a:focus { color: var(--fm-red-deep); }
::selection { background: var(--fm-yellow); color: var(--fm-ink); }
:focus-visible { outline: 3px solid var(--fm-yellow); outline-offset: 2px; }

/* ---------- Tombol ---------- */
.wp-block-button__link,
.wp-element-button,
button, input[type="submit"], input[type="button"], .button {
	font-family: var(--fm-font-head);
	font-weight: 700;
	font-size: 1.08rem;
	letter-spacing: .04em;
	line-height: 1.1;
	padding: .72em 1.4em;
	border-radius: 999px;
	border: var(--fm-stroke);
	background: var(--fm-red);
	color: #fff;
	box-shadow: var(--fm-shadow-sm);
	transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.wp-block-button__link:hover, .wp-element-button:hover,
button:hover, input[type="submit"]:hover, .button:hover {
	background: var(--fm-red-dark);
	color: #fff;
	transform: translate(-2px, -2px);
	box-shadow: 5px 5px 0 var(--fm-ink);
}
.wp-block-button__link:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--fm-ink); }

.wp-block-button.is-style-fm-orange .wp-block-button__link,
.wp-block-button.is-style-fm-yellow .wp-block-button__link { background: var(--fm-yellow); color: var(--fm-ink); }
.wp-block-button.is-style-fm-orange .wp-block-button__link:hover,
.wp-block-button.is-style-fm-yellow .wp-block-button__link:hover { background: #FFD45E; color: var(--fm-ink); }

.wp-block-button.is-style-fm-ghost .wp-block-button__link { background: #fff; color: var(--fm-ink); }
.wp-block-button.is-style-fm-ghost .wp-block-button__link:hover { background: var(--fm-pink); color: var(--fm-ink); }

.wp-block-button.is-style-fm-dark .wp-block-button__link { background: var(--fm-ink); color: #fff; }
.wp-block-button.is-style-fm-dark .wp-block-button__link:hover { background: #000; color: #fff; }

.wp-block-button.is-style-fm-green .wp-block-button__link { background: var(--fm-green); color: var(--fm-ink); }
.wp-block-button.is-style-fm-green .wp-block-button__link:hover { background: #2BC85A; color: var(--fm-ink); }

/* ---------- Badge, stiker, stabilo ---------- */
.fm-badge, .fm-cat-badge {
	display: inline-block;
	font-family: var(--fm-font-head);
	font-weight: 700;
	font-size: .82rem;
	line-height: 1;
	letter-spacing: .07em;
	padding: .45em .8em .4em;
	border-radius: 999px;
	border: 2px solid var(--fm-ink);
	background: var(--fm-pink);
	color: var(--fm-ink);
	text-decoration: none;
}
.fm-badge--red, .fm-cat-badge { background: var(--fm-red); color: #fff; }
.fm-badge--green { background: var(--fm-green); color: var(--fm-ink); }
.fm-badge--yellow, .fm-badge--orange { background: var(--fm-yellow); color: var(--fm-ink); }
.fm-badge--dark { background: var(--fm-ink); color: #fff; }
a.fm-cat-badge:hover { background: var(--fm-yellow); color: var(--fm-ink); }
p.fm-badges, .fm-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }

.fm-sticker {
	display: inline-block;
	font-family: var(--fm-font-head);
	font-weight: 700;
	letter-spacing: .05em;
	background: var(--fm-yellow);
	color: var(--fm-ink);
	border: 2px solid var(--fm-ink);
	border-radius: 999px;
	padding: .35em .95em;
	transform: rotate(-4deg);
	box-shadow: 3px 3px 0 var(--fm-ink);
}
.fm-sticker--green { background: var(--fm-green); }
.fm-sticker--white { background: #fff; }

mark.fm-hl, .fm-hl {
	background: var(--fm-yellow);
	color: var(--fm-ink);
	padding: 0 .14em;
	border-radius: 8px;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* ---------- Section full-width ---------- */
.fm-band {
	padding: clamp(2.4rem, 5vw, 4.2rem) clamp(1rem, 4vw, 2rem) !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.fm-band--dark { background: var(--fm-ink); color: #fff; }
.fm-band--dark h2, .fm-band--dark h3, .fm-band--dark p { color: #fff; }
.fm-band--red { background: var(--fm-red); color: #fff; }
.fm-band--red h2, .fm-band--red h3, .fm-band--red p { color: #fff; }
.fm-band--yellow { background: var(--fm-yellow); }
.fm-band--white { background: #fff; border-top: var(--fm-stroke); border-bottom: var(--fm-stroke); }

.fm-section-title {
	font-size: clamp(2.1rem, 4.6vw, 3.2rem) !important;
	margin: 0 0 1.3rem !important;
	line-height: .95;
}
.fm-section-title::before {
	content: "";
	display: inline-block;
	width: .45em;
	height: .45em;
	margin-right: .3em;
	border-radius: 50%;
	background: var(--fm-red);
	border: 2px solid var(--fm-ink);
	vertical-align: .1em;
}
.fm-band--red .fm-section-title::before,
.fm-band--dark .fm-section-title::before { background: var(--fm-yellow); border-color: #fff; }
.fm-kicker {
	font-family: var(--fm-font-head);
	font-weight: 700;
	letter-spacing: .12em;
	font-size: .95rem;
	color: var(--fm-red);
	margin-bottom: .25rem !important;
}
.fm-band--dark .fm-kicker, .fm-band--red .fm-kicker { color: var(--fm-yellow); }

/* ---------- HERO ---------- */
.fm-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--fm-ink);
	background-image:
		linear-gradient(112deg, transparent 0 58%, var(--fm-red) 58% 100%),
		url("../img/court.svg");
	background-repeat: no-repeat;
	background-position: center, left -180px center;
	background-size: cover, auto 125%;
	color: #fff;
	padding: clamp(2.6rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2rem) clamp(6rem, 10vw, 8rem) !important;
	margin: 0 !important;
}
.fm-hero h1, .fm-hero h2, .fm-hero > p, .fm-hero .wp-block-column > p { color: #fff; }
.fm-hero h1 {
	font-size: clamp(3.1rem, 8vw, 6.2rem);
	line-height: .98;
	margin: .35em 0 .3em;
	text-shadow: 5px 5px 0 rgba(0, 0, 0, .4);
}
.fm-hero h1 mark { text-shadow: none; display: inline-block; padding: .02em .14em 0; transform: rotate(-1.5deg); margin-top: .06em; }
.fm-hero .wp-block-column > p:not(.fm-kicker) { font-size: 1.12rem; max-width: 36ch; opacity: .92; }
.fm-hero .wp-block-columns { align-items: center !important; gap: 2.5rem; margin: 0; }
.fm-hero .wp-block-buttons { gap: .6rem; margin-top: 1.4rem; }

/* Kartu "kamu di kota mana?" di hero */
.fm-city-card {
	background: #fff;
	color: var(--fm-ink);
	border: 3px solid var(--fm-ink);
	border-radius: var(--fm-radius);
	box-shadow: 8px 8px 0 var(--fm-ink);
	padding: 1.4rem 1.4rem 1.3rem !important;
	transform: rotate(1.5deg);
}
.fm-city-card h2, .fm-city-card h3, .fm-city-card p { color: var(--fm-ink) !important; text-shadow: none !important; }
.fm-city-card h3 { font-size: 1.9rem; margin: .5rem 0 .8rem; }
.fm-city-card ul {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .5rem;
}
.fm-city-card li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: .55rem .8rem;
	border: 2px solid var(--fm-ink);
	border-radius: var(--fm-radius-sm);
	font-weight: 700;
	color: var(--fm-ink);
	text-decoration: none;
	background: var(--fm-floor);
	transition: background-color .12s ease, transform .12s ease;
}
.fm-city-card li a::after { content: "→"; color: var(--fm-red); }
.fm-city-card li a:hover { background: var(--fm-yellow); transform: translateY(-2px); }
.fm-city-card .wp-block-buttons > .wp-block-button { width: 100%; }
.fm-city-card .wp-block-button__link { display: block; width: 100%; text-align: center; }

/* ---------- Kartu cepat (naik menimpa hero) ---------- */
.fm-quick {
	position: relative;
	z-index: 2;
	margin-top: clamp(-5rem, -7vw, -3.5rem) !important;
	margin-bottom: 0 !important;
	padding: 0 clamp(1rem, 4vw, 2rem) !important;
	gap: 1.2rem !important;
}
.fm-quick > .wp-block-column {
	background: #fff;
	border: var(--fm-stroke);
	border-radius: var(--fm-radius);
	box-shadow: var(--fm-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .12s ease, box-shadow .12s ease;
}
.fm-quick > .wp-block-column:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--fm-ink); }
.fm-quick > .wp-block-column > *:not(.wp-block-buttons) { margin-left: 1.3rem; margin-right: 1.3rem; }
.fm-quick .fm-quick-num {
	font-family: var(--fm-font-head);
	font-weight: 700;
	font-size: 3.4rem;
	line-height: .9;
	margin-top: 1.1rem;
	margin-bottom: .1rem;
	color: var(--fm-red);
}
.fm-quick h3 { font-size: 1.6rem; margin: 0 0 .3rem; }
.fm-quick p:not(.fm-quick-num) { font-size: .95rem; color: var(--fm-muted); margin-bottom: 1rem; flex: 1; }
.fm-quick .wp-block-buttons { margin: auto 0 0 !important; }
.fm-quick .wp-block-buttons > .wp-block-button { width: 100%; margin: 0; }
.fm-quick .wp-block-button__link {
	display: block;
	width: 100%;
	border-radius: 0;
	border: 0;
	border-top: var(--fm-stroke);
	box-shadow: none !important;
	text-align: center;
	padding: 1em;
	transform: none !important;
}
.fm-quick .wp-block-button__link:hover { filter: brightness(.94); }

/* ---------- Ticker ---------- */
.fm-ticker {
	overflow: hidden;
	contain: inline-size;
	max-width: 100%;
	background: var(--fm-yellow);
	border-top: var(--fm-stroke);
	border-bottom: var(--fm-stroke);
	padding: .6rem 0 !important;
	margin: 2.6rem 0 0 !important;
	transform: rotate(-1.2deg);
}
.fm-ticker p {
	margin: 0;
	white-space: nowrap;
	display: inline-block;
	padding-left: 100%;
	font-family: var(--fm-font-head);
	font-weight: 700;
	font-size: 1.45rem;
	letter-spacing: .04em;
	color: var(--fm-ink);
	animation: fm-ticker 28s linear -11s infinite;
}
@keyframes fm-ticker { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.editor-styles-wrapper .fm-ticker p { animation: none; padding-left: 1rem; }

/* ---------- Papan pertandingan ---------- */
.fm-matches { gap: 1rem !important; margin-bottom: 1.4rem !important; }
.fm-match {
	background: var(--fm-ink-2);
	border: 2px solid rgba(255, 255, 255, .16);
	border-radius: var(--fm-radius);
	padding: 1rem 1.1rem !important;
	color: #fff;
}
.fm-match .fm-match-meta {
	font-size: .82rem;
	color: #BDBDBD !important;
	margin-bottom: .6rem;
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
}
.fm-match .fm-match-meta .fm-badge { font-size: .7rem; }
.fm-match p.fm-team {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: .8rem;
	margin: 0;
	padding: .55rem 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-family: var(--fm-font-head);
	font-size: 1.2rem;
	font-weight: 600;
	color: #fff;
}
.fm-match p.fm-team strong { color: var(--fm-yellow); font-weight: 700; }
.fm-match .fm-score { font-variant-numeric: tabular-nums; letter-spacing: .12em; color: #fff; font-weight: 700; white-space: nowrap; }
.fm-match p.fm-team:last-child .fm-score { color: #9A9A9A; }

/* ---------- Grid provinsi + chip kota ---------- */
.fm-province-grid { gap: 1rem !important; margin-bottom: 1rem !important; }
.fm-province-grid > .wp-block-column {
	background: #fff;
	border: var(--fm-stroke);
	border-radius: var(--fm-radius);
	padding: 1.1rem 1.2rem !important;
	box-shadow: var(--fm-shadow-sm);
}
.fm-province-grid h3 { font-size: 1.35rem; margin: 0 0 .7rem; color: var(--fm-red); }

ul.fm-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
ul.fm-chips li { margin: 0; }
ul.fm-chips li a, ul.fm-chips li span {
	display: inline-flex;
	align-items: center;
	padding: .42rem .9rem;
	border: 2px solid var(--fm-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--fm-ink);
	font-weight: 700;
	font-size: .95rem;
	text-decoration: none;
	transition: transform .12s ease, background-color .12s ease;
}
ul.fm-chips li a:hover { background: var(--fm-yellow); transform: translateY(-2px); }
ul.fm-chips li span { opacity: .55; font-weight: 600; border-style: dashed; }

/* ---------- Artikel model majalah (Query Loop) ---------- */
.fm-feature ul.wp-block-post-template, .fm-stack ul.wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.fm-feature .wp-block-post {
	position: relative;
	border: var(--fm-stroke);
	border-radius: var(--fm-radius);
	overflow: hidden;
	box-shadow: var(--fm-shadow);
	background: var(--fm-ink);
	min-height: 420px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.fm-feature .wp-block-post-featured-image { position: absolute; inset: 0; margin: 0; height: 100%; }
.fm-feature .wp-block-post-featured-image a { display: block; height: 100%; }
.fm-feature .wp-block-post-featured-image img { width: 100%; height: 100% !important; object-fit: cover; }
.fm-feature .wp-block-post-featured-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .88) 100%);
	pointer-events: none;
}
.fm-feature .wp-block-post > *:not(.wp-block-post-featured-image) { position: relative; z-index: 1; margin-left: 1.4rem; margin-right: 1.4rem; }
.fm-feature .wp-block-post-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: .95; margin: .5rem 0 .4rem; }
.fm-feature .wp-block-post-title a { color: #fff; text-decoration: none; }
.fm-feature .wp-block-post-date { color: #D6D6D6; font-size: .85rem; margin-bottom: 1.3rem; }

.fm-feature .wp-block-post-terms, .fm-stack .wp-block-post-terms { font-size: 0; }
.fm-feature .wp-block-post-terms a, .fm-stack .wp-block-post-terms a {
	display: inline-block;
	font-family: var(--fm-font-head);
	font-weight: 700;
	font-size: .78rem;
	letter-spacing: .07em;
	padding: .38em .7em .33em;
	border-radius: 999px;
	border: 2px solid var(--fm-ink);
	background: var(--fm-red);
	color: #fff;
	text-decoration: none;
}
.fm-feature .wp-block-post-terms a { background: var(--fm-yellow); color: var(--fm-ink); }
.fm-feature .wp-block-post-terms a ~ a, .fm-stack .wp-block-post-terms a ~ a,
.wp-block-post-terms__separator { display: none; }

.fm-stack ul.wp-block-post-template { display: grid; gap: .8rem; }
.fm-stack .wp-block-post {
	display: grid;
	grid-template-columns: 112px 1fr;
	grid-template-areas: "img terms" "img title" "img date";
	align-content: start;
	column-gap: .9rem;
	background: #fff;
	border: var(--fm-stroke);
	border-radius: var(--fm-radius-sm);
	padding: .65rem;
	margin: 0;
	transition: transform .12s ease, box-shadow .12s ease;
}
.fm-stack .wp-block-post:hover { transform: translate(-2px, -2px); box-shadow: var(--fm-shadow-sm); }
.fm-stack .wp-block-post-featured-image { grid-area: img; margin: 0; }
.fm-stack .wp-block-post-featured-image img { aspect-ratio: 1 / 1; width: 100%; height: auto; object-fit: cover; border-radius: 9px; border: 2px solid var(--fm-ink); }
.fm-stack .wp-block-post-terms { grid-area: terms; margin: 0 0 .3rem; }
.fm-stack .wp-block-post-title { grid-area: title; font-size: 1.22rem; line-height: 1.08; margin: 0; }
.fm-stack .wp-block-post-title a { color: var(--fm-ink); text-decoration: none; }
.fm-stack .wp-block-post-title a:hover { color: var(--fm-red); }
.fm-stack .wp-block-post-date { grid-area: date; font-size: .8rem; color: var(--fm-muted); margin-top: .25rem; }

/* Latest Posts (pattern lama / cadangan) */
.wp-block-latest-posts.fm-latest-list { padding: 0; margin: 0 0 1.5rem; display: grid; gap: .8rem; }
.wp-block-latest-posts.fm-latest-list li {
	display: grid;
	grid-template-columns: 112px 1fr;
	grid-template-areas: "img title" "img meta" "img text";
	align-content: start;
	column-gap: .9rem;
	background: #fff;
	border: var(--fm-stroke);
	border-radius: var(--fm-radius-sm);
	padding: .65rem;
	margin: 0;
}
.fm-latest-list .wp-block-latest-posts__featured-image { grid-area: img; margin: 0 !important; }
.fm-latest-list .wp-block-latest-posts__featured-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 9px; border: 2px solid var(--fm-ink); }
.fm-latest-list .wp-block-latest-posts__post-title { grid-area: title; font-family: var(--fm-font-head); font-weight: 700; font-size: 1.22rem; line-height: 1.08; color: var(--fm-ink); text-decoration: none; }
.fm-latest-list .wp-block-latest-posts__post-date { grid-area: meta; color: var(--fm-muted); font-size: .8rem; margin-top: .25rem; }
.fm-latest-list .wp-block-latest-posts__post-excerpt { grid-area: text; font-size: .92rem; margin: .3rem 0 0; }

/* ---------- Kartu data GOR / PB / Mabar ---------- */
.fm-card {
	background: #fff;
	color: var(--fm-ink);
	border: var(--fm-stroke);
	border-radius: var(--fm-radius);
	box-shadow: var(--fm-shadow);
	padding: 0 !important;
	margin: 0 0 1.6rem;
	overflow: hidden;
}
.fm-band--dark .fm-card h3, .fm-band--dark .fm-card p, .fm-band--red .fm-card h3, .fm-band--red .fm-card p { color: var(--fm-ink); }
.fm-card > * { margin-left: 1.3rem !important; margin-right: 1.3rem !important; }
.fm-card > h3, .fm-card > h4 { font-size: 1.7rem; margin-top: 1.2rem !important; margin-bottom: .2rem; }
.fm-card .fm-loc { color: var(--fm-muted) !important; font-size: .92rem; margin-bottom: .8rem; }
.fm-card ul.fm-facts {
	list-style: none;
	padding: 0;
	margin-bottom: 1rem;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: .5rem;
}
.fm-card ul.fm-facts li { background: var(--fm-floor); border-radius: var(--fm-radius-sm); padding: .5rem .75rem; font-size: .95rem; }
.fm-card ul.fm-facts li strong { display: block; font-family: var(--fm-font-head); letter-spacing: .06em; font-size: .78rem; color: var(--fm-red); }
.fm-card .fm-price { background: var(--fm-yellow); border-radius: 6px; padding: 0 .25em; font-weight: 700; }
.fm-card .wp-block-buttons { gap: .5rem; margin-bottom: 1.1rem; }
.fm-card .fm-checked {
	margin: 0 !important;
	padding: .6rem 1.3rem;
	background: var(--fm-ink);
	color: #D6D6D6 !important;
	font-size: .82rem;
}
.fm-card .fm-checked::before { content: "✓ "; color: var(--fm-green); font-weight: 700; }

/* ---------- Catatan & ajakan ---------- */
.fm-note {
	background: var(--fm-pink);
	border: var(--fm-stroke);
	border-radius: var(--fm-radius);
	padding: 1rem 1.25rem !important;
	margin: 1.6rem 0;
}
.fm-note > *:last-child { margin-bottom: 0; }
.fm-note .fm-note-title { font-family: var(--fm-font-head); font-weight: 700; letter-spacing: .08em; color: var(--fm-red); margin-bottom: .3rem; }

.fm-cta { text-align: center; background: var(--fm-yellow); border-top: var(--fm-stroke); }
.fm-cta h2, .fm-cta h3 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); line-height: .88; margin: .7rem auto .5rem; max-width: 15ch; }
.fm-cta p { max-width: 46ch; margin-left: auto; margin-right: auto; }
.fm-cta .wp-block-buttons { justify-content: center; }
.fm-cta .wp-block-button__link { background: var(--fm-ink); color: #fff; }
.fm-cta .wp-block-button__link:hover { background: var(--fm-red); color: #fff; }

/* ---------- Tabel di konten ---------- */
.entry-content .wp-block-table table,
.editor-styles-wrapper .wp-block-table table {
	width: 100%;
	background: #fff;
	font-size: .95rem;
	border: var(--fm-stroke);
	border-radius: var(--fm-radius-sm);
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
}
.entry-content .wp-block-table th, .entry-content .wp-block-table td { border: 0; border-bottom: 1px solid var(--fm-line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
.entry-content .wp-block-table thead th { background: var(--fm-red); color: #fff; font-family: var(--fm-font-head); letter-spacing: .05em; font-weight: 700; }
.entry-content .wp-block-table tbody tr:nth-child(even) { background: var(--fm-floor); }

.wp-block-quote { border-left: 5px solid var(--fm-red); padding-left: 1.1rem; font-style: normal; font-weight: 600; }
.wp-block-separator { border: 0; border-top: 2.5px dashed var(--fm-ink); opacity: 1; }

/* ==========================================================================
   v2.2 — tipografi tegak & kekinian (Bricolage Grotesque + Plus Jakarta Sans)
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.editor-styles-wrapper h1, .editor-styles-wrapper h2, .editor-styles-wrapper h3,
.editor-styles-wrapper h4, .editor-styles-wrapper h5, .editor-styles-wrapper h6,
.editor-post-title__input, .entry-title, .main-title, .widget-title {
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.05;
	font-variation-settings: "opsz" 48;
}
h1, .editor-styles-wrapper h1, .editor-post-title__input { font-size: clamp(2.2rem, 4.6vw, 3.3rem); }
h2, .editor-styles-wrapper h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3, .editor-styles-wrapper h3 { font-size: 1.35rem; letter-spacing: -.015em; }
h4, .editor-styles-wrapper h4 { font-size: 1.1rem; letter-spacing: -.01em; }

/* Label kecil tetap huruf besar supaya rapi */
.fm-badge, .fm-cat-badge, .fm-sticker, .fm-kicker,
.fm-card ul.fm-facts li strong, .fm-note .fm-note-title,
.entry-content .wp-block-table thead th,
.fm-feature .wp-block-post-terms a, .fm-stack .wp-block-post-terms a {
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: .06em;
}
.fm-badge, .fm-cat-badge, .fm-feature .wp-block-post-terms a, .fm-stack .wp-block-post-terms a { font-size: .72rem; }
.fm-sticker { font-size: .82rem; }
.fm-kicker { font-size: .8rem; letter-spacing: .1em; }

/* Tombol: huruf biasa, tebal */
.wp-block-button__link, .wp-element-button,
button, input[type="submit"], input[type="button"], .button {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -.005em;
	padding: .78em 1.4em;
}

/* Judul besar */
.fm-hero h1 { text-shadow: 3px 3px 0 rgba(0, 0, 0, .45); font-size: clamp(2.6rem, 6.2vw, 4.9rem); line-height: 1; letter-spacing: -.03em; font-variation-settings: "opsz" 96; }
.fm-hero h1 mark { transform: rotate(-1.5deg); }
.fm-section-title { font-size: clamp(1.9rem, 3.8vw, 2.7rem) !important; letter-spacing: -.035em; line-height: 1; }
.fm-city-card h3 { font-size: 1.55rem; }
.fm-quick h3 { font-size: 1.35rem; }
.fm-quick .fm-quick-num { font-size: 2.6rem; letter-spacing: -.04em; font-weight: 800; }
.fm-card > h3, .fm-card > h4 { font-size: 1.35rem; }
.fm-province-grid h3 { font-size: 1.15rem; }
.fm-feature .wp-block-post-title { font-size: clamp(1.6rem, 2.8vw, 2.2rem); line-height: 1.05; letter-spacing: -.03em; }
.fm-stack .wp-block-post-title { font-size: 1.05rem; line-height: 1.2; letter-spacing: -.01em; }
.fm-latest-list .wp-block-latest-posts__post-title { font-size: 1.05rem; line-height: 1.2; }
.fm-cta h2, .fm-cta h3 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1; letter-spacing: -.04em; }
.fm-ticker p { font-size: 1.15rem; font-weight: 800; letter-spacing: -.01em; }
.fm-match p.fm-team { font-family: var(--fm-font-body); font-size: 1rem; }
.fm-match .fm-score { font-family: var(--fm-font-head); font-weight: 800; letter-spacing: .06em; }

@media (max-width: 781px) {
	.fm-city-card { transform: none; }
	.fm-hero { background-image: linear-gradient(160deg, transparent 0 62%, var(--fm-red) 62% 100%), url("../img/court.svg"); }
	.fm-feature .wp-block-post { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.fm-ticker p { padding-left: 1rem; }
}
