/* ==========================================================================
   DPMP UPI — theme stylesheet
   ========================================================================== */

:root {
	--red: #890202;
	--red-hover: #ab0303;
	--red-dark: #5c0101;
	--red-deep: #1c0000;
	--gold: #d4ae50;
	--gold-hover: #e8c550;
	--cream: #fafaf8;
	--cream-mid: #f3f0ea;
	--border: #ede9e3;
	--ink: #1c1c1c;
	--gray-100: #dddddd;
	--gray-200: #aaaaaa;
	--gray-300: #999999;
	--gray-400: #888888;
	--gray-500: #777777;
	--gray-600: #666666;
	--gray-700: #555555;

	--font-serif: 'Lora', Georgia, serif;
	--font-sans: 'Inter', system-ui, sans-serif;
	--font-mono: 'DM Mono', monospace;

	--topbar-h: 34px;
	--navbar-h: 60px;
	--header-h: calc(var(--topbar-h) + var(--navbar-h));
}

/* -------------------------------------------------------------------------
   Reset & base
   ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
input, select, textarea { font: inherit; }
table { border-collapse: collapse; width: 100%; }

body {
	font-family: var(--font-sans);
	background: #ffffff;
	color: var(--ink);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(137, 2, 2, 0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

[hidden] { display: none !important; }

/* -------------------------------------------------------------------------
   Top info strip
   ---------------------------------------------------------------------- */
.topbar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 101;
	background: var(--red-dark); height: var(--topbar-h);
	display: flex; align-items: center;
}
.topbar__inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.topbar__location { color: rgba(255,255,255,0.55); font-size: 10.5px; font-family: var(--font-mono); letter-spacing: 0.04em; }
.topbar__meta { display: flex; gap: 18px; align-items: center; color: rgba(255,255,255,0.45); font-size: 10.5px; font-family: var(--font-mono); }
.topbar__divider { width: 1px; height: 12px; background: rgba(255,255,255,0.15); display: inline-block; }

/* -------------------------------------------------------------------------
   Navbar
   ---------------------------------------------------------------------- */
.navbar {
	position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 100;
	height: var(--navbar-h);
	background: transparent;
	transition: background 0.28s ease, box-shadow 0.28s ease;
}
body:not(.is-home) .navbar,
.navbar.is-solid {
	background: rgba(255,255,255,0.97);
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 rgba(0,0,0,0.07), 0 2px 16px rgba(0,0,0,0.05);
}
.navbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-width: 0; }

.navbar__logo { display: flex; align-items: center; gap: 12px; min-width: 0; flex-shrink: 1; }
.navbar__logo-mark {
	width: 38px; height: 38px; border-radius: 5px; flex-shrink: 0;
	background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 2px 8px rgba(137,2,2,0.28);
	color: var(--gold); font-size: 12.5px; font-weight: 700; font-family: var(--font-serif);
}
.navbar__logo-mark--custom { display: flex; align-items: center; height: 48px; }
.navbar__logo-img { display: block; height: 48px; width: auto; max-width: 220px; object-fit: contain; }

/* Two independent logo slots — see dpmp_get_logo_sources() /
   dpmp_render_logo_slot(). Each slot shows its own real logo image
   when uploaded, or the generic "UPI" badge otherwise (never the
   *other* colour variant — a white logo on a white navbar, or vice
   versa, would just be invisible). "light" shows over the transparent
   hero on the homepage; "dark" once the navbar goes solid white —
   same trigger the title/sub text colour swap uses. */
.navbar__logo-slot { display: flex; align-items: center; }
.navbar__logo-slot--dark { display: none; }
.navbar.is-solid .navbar__logo-slot--light { display: none; }
body:not(.is-home) .navbar__logo-slot--light { display: none; }
body:not(.is-home) .navbar__logo-slot--dark,
.navbar.is-solid .navbar__logo-slot--dark { display: flex; }
.navbar__logo-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.navbar__logo-title {
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
	color: white; font-size: 12.5px; font-weight: 700; letter-spacing: -0.01em;
	transition: color 0.28s;
}
body:not(.is-home) .navbar__logo-title,
.navbar.is-solid .navbar__logo-title { color: var(--red); }
.navbar__logo-sub {
	overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
	color: rgba(255,255,255,0.6); font-size: 10px; margin-top: 2px; font-family: var(--font-mono); letter-spacing: 0.03em; transition: color 0.28s;
}
body:not(.is-home) .navbar__logo-sub,
.navbar.is-solid .navbar__logo-sub { color: #888; }

.nav { display: flex; align-items: center; height: 100%; gap: 18px; }
.nav__list { display: flex; align-items: center; height: 100%; }
.nav__item { position: relative; height: 100%; display: flex; align-items: center; }

/* -------------------------------------------------------------------------
   GTranslate language switcher — auto-appended as the last <li> of the
   "primary" menu by the plugin itself (Settings → GTranslate → "Show in
   menu: Primary"). Its own JS injects a late <style> tag with plain,
   unscoped selectors (.gt_float_switcher, .gt-selected, …), so every rule
   here is prefixed with #site-navbar to out-specificity it regardless of
   load order — !important is used only where the plugin sets an inline
   style or a background-image we need to replace outright.
   ---------------------------------------------------------------------- */
#site-navbar .menu-item-gtranslate { display: flex; align-items: center; height: 100%; margin-left: 4px; }
#site-navbar #gt_float_wrapper { display: flex; align-items: center; }

/* .gt_options (the dropdown list) is a DOM sibling of .gt-selected
   INSIDE .gt_float_switcher, laid out in normal flow by the plugin's
   own CSS (position:relative, no absolute positioning for the default
   "top" open-direction) — so a rounded/clipped .gt_float_switcher
   stretches to wrap it too, producing a tall clipped capsule instead
   of a floating panel. Fix: keep the pill radius/clip on .gt_float_switcher
   itself (it now only visually wraps .gt-selected, since .gt_options is
   taken out of flow below), and detach .gt_options as its own
   absolutely-positioned panel so it floats freely instead of being
   squeezed through that same rounded/clipped box. */
#site-navbar .gt_float_switcher {
	position: relative; overflow: visible !important;
	font-family: var(--font-mono); font-size: 12px; line-height: 1;
}
#site-navbar .gt-selected {
	background: rgba(255,255,255,0.94);
	border: 1px solid rgba(212,174,80,0.55);
	border-radius: 999px;
	box-shadow: 0 2px 10px rgba(28,0,0,0.18);
}
#site-navbar .gt_float_switcher:hover .gt-selected { border-color: var(--gold); box-shadow: 0 4px 14px rgba(28,0,0,0.24); }

#site-navbar .gt-selected .gt-current-lang {
	display: flex; align-items: center; gap: 7px;
	padding: 5px 12px 5px 6px !important; color: var(--red-deep);
}
#site-navbar .gt_float_switcher img {
	width: 20px !important; height: 20px; margin: 0 !important;
	border-radius: 50%; object-fit: cover;
	box-shadow: 0 0 0 1px rgba(28,0,0,0.12);
}
#site-navbar .gt-lang-code {
	top: 0 !important; font-weight: 600; letter-spacing: 0.06em;
	text-transform: uppercase; color: var(--red-deep);
}
#site-navbar .gt_float_switcher-arrow { width: 10px !important; height: 10px !important; opacity: 0.55; filter: invert(11%) sepia(84%) saturate(6000%) hue-rotate(357deg); }

#site-navbar .gt_options {
	position: absolute !important; top: calc(100% + 10px) !important;
	right: 0 !important; left: auto !important; bottom: auto !important;
	width: max-content; min-width: 190px; max-height: 260px;
	margin-top: 0 !important; padding: 6px; background: var(--red-deep) !important;
	border: 1px solid rgba(212,174,80,0.35); border-radius: 12px !important;
	box-shadow: 0 12px 28px rgba(28,0,0,0.35); z-index: 300;
}
#site-navbar .gt_options a {
	display: flex !important; align-items: center; gap: 8px;
	padding: 8px 12px !important; border-radius: 8px;
	font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em;
	color: rgba(255,255,255,0.82) !important;
}
#site-navbar .gt_options a:hover { background: rgba(212,174,80,0.16) !important; color: var(--gold) !important; }
#site-navbar .gt_options img { width: 18px !important; height: 18px; border-radius: 50%; object-fit: cover; margin: 0 !important; }
#site-navbar .gt_options::-webkit-scrollbar-thumb { background-color: var(--gold) !important; }
.nav__link {
	display: flex; align-items: center; gap: 3px; height: 100%;
	padding: 0 10px; font-size: 12.5px; font-weight: 450;
	color: rgba(255,255,255,0.92);
	border-bottom: 2px solid transparent;
	transition: color 0.2s, border-color 0.2s;
	white-space: nowrap; letter-spacing: -0.01em;
}
body:not(.is-home) .nav__link,
.navbar.is-solid .nav__link { color: #222; }
.nav__link:hover { color: white; }
body:not(.is-home) .nav__link:hover,
.navbar.is-solid .nav__link:hover { color: var(--red); }
.nav__link.is-active { font-weight: 600; color: var(--gold); border-bottom-color: var(--gold); }
body:not(.is-home) .nav__link.is-active,
.navbar.is-solid .nav__link.is-active { color: var(--red); border-bottom-color: var(--red); }
.nav__caret { opacity: 0.55; margin-left: 1px; flex-shrink: 0; transition: transform 0.2s; }
/* Scoped through .nav__link (only the top-level item's own caret) so
   this doesn't also flip the sub-sub menu's right-pointing carets,
   which sit several levels deeper inside the same hovered .nav__item. */
.nav__item.has-dropdown:hover .nav__link .nav__caret { transform: rotate(180deg); }

.nav__dropdown {
	position: absolute; top: 100%; left: 0; min-width: 240px;
	background: white; border-top: 2px solid var(--red);
	box-shadow: 0 8px 28px rgba(0,0,0,0.10), 0 1px 0 rgba(0,0,0,0.05);
	z-index: 200; opacity: 0; visibility: hidden; transform: translateY(-6px);
	transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s;
}
/* :not(--sub) so hovering the top-level item only opens its own level-1
   dropdown — without it, this also matches the nested .nav__dropdown--sub
   flyouts (they carry the base .nav__dropdown class too), popping open
   every level-3 flyout in the whole branch at once instead of just the
   one under whichever level-2 row is actually hovered. */
.nav__item.has-dropdown:hover .nav__dropdown:not(.nav__dropdown--sub),
.nav__item.has-dropdown:focus-within .nav__dropdown:not(.nav__dropdown--sub) {
	opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__dropdown li { position: relative; }
.nav__dropdown li + li { border-top: 1px solid #f0ede8; }
.nav__dropdown a {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 10px 18px; font-size: 13px; color: #2a2a2a;
	transition: background 0.14s, color 0.14s, padding-left 0.14s;
	line-height: 1.4;
}
.nav__dropdown a:hover { background: #fdf2f2; color: var(--red); padding-left: 22px; }

/* Sub-sub menu: a dropdown row that itself has children flies out a
   second panel to the side on hover, instead of dropping further down. */
.nav__caret--sub { transform: rotate(-90deg); opacity: 0.4; }
.nav__dropdown li.has-submenu:hover > a .nav__caret--sub { opacity: 0.9; }
.nav__dropdown--sub {
	top: -2px; left: 100%;
	transform: translateX(-6px);
}
.nav__dropdown li.has-submenu:hover > .nav__dropdown--sub,
.nav__dropdown li.has-submenu:focus-within > .nav__dropdown--sub {
	opacity: 1; visibility: visible; transform: translateX(0);
}
/* Flipped by main.js when opening rightward would run past the edge
   of the viewport (common at 1280–1366px widths, where the flyout's
   240px width plus the parent's own offset overflows the window). */
.nav__dropdown--sub.nav__dropdown--sub-left {
	left: auto; right: 100%;
	transform: translateX(6px);
}
.nav__dropdown li.has-submenu:hover > .nav__dropdown--sub-left,
.nav__dropdown li.has-submenu:focus-within > .nav__dropdown--sub-left {
	transform: translateX(0);
}

/* See the "is-scrolling" listener in main.js: the nav is fixed, so a
   dropdown opened by :hover can get stuck open while the page scrolls
   under a stationary cursor. Force every dropdown closed for the
   duration of a scroll regardless of hover state. */
.navbar.is-scrolling .nav__dropdown,
.navbar.is-scrolling .nav__dropdown--sub {
	opacity: 0 !important; visibility: hidden !important; pointer-events: none !important;
}

.nav-toggle {
	display: none; position: relative; width: 32px; height: 32px; flex-shrink: 0;
}
.nav-toggle span {
	position: absolute; left: 4px; right: 4px; height: 2px; background: white;
	transition: transform 0.2s, opacity 0.2s;
}
body:not(.is-home) .nav-toggle span,
.navbar.is-solid .nav-toggle span { background: var(--red); }
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
	display: none; position: absolute; top: 100%; left: 0; right: 0;
	background: white; max-height: calc(100vh - var(--header-h));
	overflow-y: auto; box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}
.mobile-nav.is-open { display: block; }
/* Mobile nav reuses the same wp_nav_menu() + DPMP_Nav_Walker markup as
   the desktop dropdown (nav__list/nav__item/nav__link/nav__dropdown) —
   restyled here from hover-popup to a stacked, always-expanded list. */
.mobile-nav .nav__list { display: block; height: auto; }
.mobile-nav .nav__item { display: block; height: auto; border-bottom: 1px solid var(--border); }
.mobile-nav .nav__link {
	display: flex; height: auto; padding: 14px 24px; font-weight: 600;
	color: var(--ink); border-bottom: none;
}
.mobile-nav .nav__caret { margin-left: auto; }
.mobile-nav .nav__dropdown {
	position: static; opacity: 1; visibility: visible; transform: none;
	background: transparent; border-top: none; box-shadow: none; min-width: 0;
	padding: 0 24px 10px 36px;
}
.mobile-nav .nav__dropdown li + li { border-top: none; }
.mobile-nav .nav__dropdown a {
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 8px 0; color: var(--gray-700); font-size: 13.5px;
}
.mobile-nav .nav__dropdown a:hover { background: transparent; padding-left: 0; color: var(--red); }
/* Level 2 rows (direct children, e.g. "Tentang SPMI") read as sub-
   headers — everything's already expanded in mobile (no click-to-open
   here), so the sideways flyout caret would be misleading; point it
   down instead ("more below") and give the row a touch more weight
   than level 3 (e.g. "Kebijakan Mutu"), which sits one indent deeper. */
.mobile-nav .nav__dropdown:not(.nav__dropdown--sub) > li > a { font-weight: 600; color: #444; }
.mobile-nav .nav__caret--sub { transform: none; opacity: 0.45; }
.mobile-nav .nav__dropdown--sub { padding-left: 16px; margin-top: 2px; }
.mobile-nav .nav__dropdown--sub a { font-size: 12.5px; color: var(--gray-500); }

/* -------------------------------------------------------------------------
   Buttons & eyebrow label
   ---------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
	font-size: 12.5px; font-weight: 600; padding: 12px 26px;
	letter-spacing: 0.05em; text-transform: uppercase; transition: all 0.2s;
	border: 1px solid transparent;
}
.btn--primary { background: var(--red); color: white; }
.btn--primary:hover { background: var(--red-hover); }
.btn--outline { border-color: rgba(255,255,255,0.35); color: rgba(255,255,255,0.9); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--outline-red { border: 1.5px solid var(--red); color: var(--red); }
.btn--outline-red:hover { background: #fdf2f2; }
.btn--gold { background: var(--gold); color: var(--red-deep); font-weight: 700; }
.btn--gold:hover { background: var(--gold-hover); }
.btn:disabled { background: #ccc; cursor: default; }

.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow__line { width: 32px; height: 1px; background: var(--gold); }
.eyebrow span:last-child,
.eyebrow > span { color: var(--gold); font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-mono); }

/* -------------------------------------------------------------------------
   Hero slider (Beranda)
   ---------------------------------------------------------------------- */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; }
.hero__slide {
	position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease;
	background: linear-gradient(135deg, var(--red-deep) 0%, var(--red-dark) 100%);
}
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(108deg, rgba(28,0,0,0.88) 0%, rgba(92,1,1,0.75) 50%, rgba(137,2,2,0.4) 100%); }
.hero__grid { position: absolute; inset: 0; opacity: 0.06; background-image: linear-gradient(white 1px, transparent 1px), linear-gradient(90deg, white 1px, transparent 1px); background-size: 48px 48px; }
.hero__accent-line { position: absolute; right: 8%; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, rgba(212,174,80,0.4) 30%, rgba(212,174,80,0.4) 70%, transparent); }

.hero__content { position: absolute; inset: 0; display: flex; align-items: center; padding: 120px 0 140px; }
.hero__panel {
	position: absolute; top: 0; left: 0; right: 0; bottom: 0;
	display: flex; flex-direction: column; justify-content: center;
	max-width: 680px; opacity: 0; visibility: hidden; pointer-events: none;
	transform: translateY(12px);
	transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s linear 0.4s;
}
.hero__panel.is-active { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); transition: opacity 0.4s ease, transform 0.4s ease; }
.hero__title { font-family: var(--font-serif); font-size: clamp(34px, 4.5vw, 64px); font-weight: 600; color: white; line-height: 1.15; margin-bottom: 22px; letter-spacing: -0.02em; }
.hero__desc { color: rgba(255,255,255,0.72); font-size: 17px; line-height: 1.8; max-width: 560px; margin-bottom: 44px; font-weight: 300; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
	width: 46px; height: 46px; border: 1px solid rgba(255,255,255,0.25);
	background: rgba(0,0,0,0.2); backdrop-filter: blur(8px); color: white; font-size: 16px;
	display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hero__arrow--prev { left: 28px; }
.hero__arrow--next { right: 28px; }

.hero__dots { position: absolute; bottom: 108px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.hero__dot { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,0.35); transition: all 0.3s ease; }
.hero__dot.is-active { width: 28px; background: var(--gold); }

.hero__counter { position: absolute; bottom: 108px; right: 36px; font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.35); z-index: 10; }
.hero__counter b { color: var(--gold); font-size: 22px; font-family: var(--font-serif); font-weight: 400; }

.hero__stats { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(28,0,0,0.92); backdrop-filter: blur(20px); border-top: 1px solid rgba(212,174,80,0.2); }
.hero__stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__stat { padding: 22px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.07); }
.hero__stat:last-child { border-right: none; }
.hero__stat-val { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 5px; }
.hero__stat-label { color: rgba(255,255,255,0.45); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-mono); }

/* -------------------------------------------------------------------------
   Sections & generic content blocks
   ---------------------------------------------------------------------- */
.section { padding: 88px 0; }
.section--sm { padding: 52px 0; }
.section--cream { background: var(--cream); }
.section--red { background: var(--red); }
.section--white { background: white; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.section-title { font-family: var(--font-serif); font-size: 36px; font-weight: 600; color: var(--red-deep); letter-spacing: -0.02em; }
.section-link { color: var(--red); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

.quicklinks { background: white; border-bottom: 1px solid var(--border); }
.quicklinks__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.quicklinks__item {
	padding: 22px 16px; text-align: center; border-right: 1px solid var(--border);
	display: flex; flex-direction: column; align-items: center; gap: 6px; transition: background 0.2s;
}
.quicklinks__item:last-child { border-right: none; }
.quicklinks__item:hover { background: #fdf2f2; }
.quicklinks__icon { font-size: 22px; color: var(--red); line-height: 1; }
.quicklinks__title { font-size: 12px; font-weight: 700; color: var(--red); letter-spacing: 0.04em; }
.quicklinks__desc { font-size: 11px; color: var(--gray-400); line-height: 1.4; }

.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
.about-grid h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.2vw, 44px); font-weight: 600; color: var(--red-deep); line-height: 1.2; margin-bottom: 20px; letter-spacing: -0.02em; }
.about-grid p { color: var(--gray-700); font-size: 15.5px; line-height: 1.85; margin-bottom: 14px; }
.about-actions { display: flex; gap: 16px; margin-top: 22px; flex-wrap: wrap; }

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.stat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.stat-box { padding: 32px 28px; background: var(--cream-mid); }
.stat-box--dark { background: var(--red-deep); }
.stat-box__val { font-family: var(--font-serif); font-size: 28px; font-weight: 600; color: var(--red); line-height: 1; margin-bottom: 8px; }
.stat-box--dark .stat-box__val { color: var(--gold); }
.stat-box__label { font-size: 12px; color: #777; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-mono); }
.stat-box--dark .stat-box__label { color: rgba(255,255,255,0.5); }

.rankings-strip__head { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.rankings-strip__head .divider { flex: 1; height: 1px; background: rgba(255,255,255,0.12); }
.rankings-strip__head a { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.rankings-strip__head > span:first-child { color: var(--gold); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-mono); }
.rankings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; }
.rankings-grid__item { background: rgba(255,255,255,0.07); padding: 24px 22px; border-left: 3px solid transparent; transition: background 0.2s; }
.rankings-grid__item:hover { background: rgba(255,255,255,0.12); }
.rankings-grid__item--featured { border-left-color: var(--gold); }
.rankings-grid__year { font-size: 10px; color: rgba(255,255,255,0.45); font-family: var(--font-mono); margin-bottom: 6px; }
.rankings-grid__pos { font-family: var(--font-serif); font-size: 28px; font-weight: 600; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.rankings-grid__name { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.45; }

/* Category tabs above the homepage "Informasi Terkini" news grid —
   same [data-tab-btn]/[data-tab-panel] JS as the interior page
   templates, just restyled from a sticky full-width bar to inline
   pills (reusing .pill from the Berita/Unduhan filter bars). */
.tab-bar--pills {
	position: static; background: none; border-bottom: none; z-index: auto;
	display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px;
}
.news-tab-panel { display: none; }
.news-tab-panel.is-active { display: block; }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; }
.news-card { background: var(--cream); cursor: pointer; transition: box-shadow 0.2s; display: block; }
.news-card:hover { box-shadow: 0 4px 20px rgba(137,2,2,0.08); }
.news-card__media { overflow: hidden; height: 190px; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__body { padding: 24px; border-top: 2px solid var(--red); }
.news-card__meta { display: flex; gap: 10px; align-items: center; margin-bottom: 11px; }
.news-card__cat { background: var(--red); color: white; font-size: 9.5px; font-weight: 700; padding: 3px 8px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-mono); }
.news-card__date { color: var(--gray-200); font-size: 11px; font-family: var(--font-mono); }
.news-card__title { font-family: var(--font-serif); font-size: 16.5px; font-weight: 500; color: var(--red-deep); line-height: 1.45; }

.cta-banner { background: linear-gradient(110deg, var(--red-deep) 0%, var(--red) 100%); padding: 72px 0; position: relative; overflow: hidden; text-align: center; }
.cta-banner__ring { position: absolute; border: 1px solid rgba(212,174,80,0.12); border-radius: 50%; }
.cta-banner__ring--1 { right: -5%; top: -20%; width: 40%; aspect-ratio: 1; }
.cta-banner__ring--2 { right: 0; top: -5%; width: 28%; aspect-ratio: 1; border-color: rgba(212,174,80,0.08); }
.cta-banner__quote { max-width: 760px; margin: 0 auto; position: relative; }
.cta-banner__quote p { font-family: var(--font-serif); font-size: clamp(18px, 2.5vw, 32px); font-weight: 400; font-style: italic; color: white; line-height: 1.6; margin-bottom: 22px; }
.cta-banner__cite { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); font-family: var(--font-mono); margin-bottom: 32px; }

/* -------------------------------------------------------------------------
   Interior page hero + tabs
   ---------------------------------------------------------------------- */
body:not(.is-home) main,
.is-home main { display: block; }
.page-hero { background: var(--red); padding: 48px 0; margin-top: var(--header-h); }
.eyebrow--on-red { margin-bottom: 12px; }
.page-hero__title { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 44px); font-weight: 600; color: white; letter-spacing: -0.02em; }

.tab-bar { background: white; border-bottom: 1px solid var(--border); position: sticky; top: var(--header-h); z-index: 50; }
.tab-bar__inner { display: flex; overflow-x: auto; }
.tab-bar__btn {
	padding: 16px 20px; font-size: 13.5px; font-weight: 400; color: var(--gray-600);
	border-bottom: 2px solid transparent; transition: all 0.2s; white-space: nowrap;
}
.tab-bar__btn.is-active { font-weight: 600; color: var(--red); border-bottom-color: var(--red); }
.tab-bar__btn:hover { color: var(--red); }

.tab-panel { display: none; background: var(--cream); min-height: 60vh; }
.tab-panel.is-active { display: block; }
.tab-panel__inner { max-width: 1280px; margin: 0 auto; padding: 64px 32px; }

.hero-home + .quicklinks,
main.page-body { margin-top: 0; }
.page-body { background: var(--cream); }
.page-body__inner { max-width: 1280px; margin: 0 auto; padding: 64px 32px; }

h2.h-serif { font-family: var(--font-serif); font-size: 32px; font-weight: 600; color: var(--red-deep); margin-bottom: 20px; letter-spacing: -0.02em; }
h3.h-serif { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--red-deep); margin-bottom: 24px; }
.copy p { color: var(--gray-700); font-size: 15.5px; line-height: 1.85; margin-bottom: 14px; }

/* Fact box / stat sidebar */
.fact-box { background: var(--red-deep); padding: 28px; }
.fact-box__title { font-family: var(--font-serif); font-size: 11px; font-weight: 600; color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.fact-box__row { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 10px 0; font-size: 13px; }
.fact-box__row span:first-child { color: rgba(255,255,255,0.5); }
.fact-box__row span:last-child { color: var(--gold); font-weight: 600; font-family: var(--font-mono); }

/* Two-tone panel (Visi/Misi) */
.duo-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-bottom: 2px; }
.duo-panel__cell { padding: 44px 40px; }
.duo-panel__cell--dark { background: var(--red-deep); color: white; }
.duo-panel__cell--light { background: var(--cream-mid); }
.duo-panel__label { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--font-mono); margin-bottom: 16px; }
.duo-panel__cell--dark .duo-panel__label { color: var(--gold); }
.duo-panel__cell--light .duo-panel__label { color: var(--red); }
.duo-panel__quote { font-family: var(--font-serif); font-size: 22px; font-weight: 500; font-style: italic; line-height: 1.65; }
.duo-panel__list li { display: flex; gap: 14px; margin-bottom: 16px; font-size: 14.5px; color: #444; line-height: 1.7; }
.duo-panel__list .num { width: 22px; height: 22px; background: var(--red); color: white; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; font-family: var(--font-mono); }

.goal-panel { background: white; padding: 44px 40px; border-top: 3px solid var(--gold); }
.goal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }
.goal-grid__num { font-family: var(--font-mono); font-size: 32px; color: var(--gold); opacity: 0.4; line-height: 1; margin-bottom: 10px; }
.goal-grid__title { font-family: var(--font-serif); font-size: 16.5px; font-weight: 600; color: var(--red-deep); margin-bottom: 8px; }
.goal-grid__desc { color: var(--gray-600); font-size: 14px; line-height: 1.7; }

/* Tri-card (Tupoksi / PPEPP style blocks) */
.tri-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.tri-card { padding: 36px 32px; border-top: 3px solid var(--red); background: white; }
.tri-card--dark { background: var(--red-deep); border-top-color: var(--gold); color: white; }
.tri-card__icon { font-size: 28px; display: block; margin-bottom: 14px; color: var(--red); }
.tri-card--dark .tri-card__icon { color: var(--gold); }
.tri-card__title { font-family: var(--font-serif); font-size: 17.5px; font-weight: 600; color: var(--red-deep); margin-bottom: 20px; }
.tri-card--dark .tri-card__title { color: white; }
.tri-card__list li { display: flex; gap: 10px; font-size: 13.5px; color: var(--gray-700); line-height: 1.6; margin-bottom: 11px; }
.tri-card--dark .tri-card__list li { color: rgba(255,255,255,0.65); }
.tri-card__list li::before { content: '▸'; color: var(--red); flex-shrink: 0; margin-top: 2px; font-size: 10px; }
.tri-card--dark .tri-card__list li::before { color: var(--gold); }

/* Five-step process (PPEPP / accreditation steps) */
.step-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; }
.step-grid--4 { grid-template-columns: repeat(4, 1fr); }
.step-card { background: white; padding: 28px 24px; border-top: 3px solid var(--red); }
.step-card--featured { background: var(--red); border-top-color: var(--gold); }
.step-card__mark { font-family: var(--font-mono); font-size: 40px; font-weight: 400; color: rgba(137,2,2,0.15); line-height: 1; margin-bottom: 12px; }
.step-card--featured .step-card__mark { color: var(--gold); }
.step-card__title { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--red-deep); margin-bottom: 10px; }
.step-card--featured .step-card__title { color: white; }
.step-card__desc { color: var(--gray-600); font-size: 13px; line-height: 1.65; }
.step-card--featured .step-card__desc { color: rgba(255,255,255,0.7); }

.step-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step-flow__num { font-family: var(--font-mono); font-size: 36px; color: rgba(137,2,2,0.12); line-height: 1; margin-bottom: 8px; }
.step-flow__title { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--red-deep); margin-bottom: 8px; }
.step-flow__desc { color: var(--gray-500); font-size: 13.5px; line-height: 1.65; }

/* Data table */
.data-table-wrap { background: white; overflow-x: auto; }
.data-table { font-size: 14px; min-width: 560px; }
.data-table thead tr { background: var(--red); }
.data-table--dark thead tr { background: var(--red-deep); }
.data-table th { padding: 14px 20px; color: white; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-mono); text-align: left; }
.data-table--dark th { color: rgba(255,255,255,0.7); }
.data-table td { padding: 13px 20px; color: #444; border-bottom: 1px solid var(--border); }
.data-table tbody tr:nth-child(even) { background: var(--cream); }
.data-table tbody tr:nth-child(odd) { background: white; }
.data-table .mono { font-family: var(--font-mono); }
.data-table .strong-red { color: var(--red); font-weight: 600; font-family: var(--font-mono); }
.data-table .tag { font-size: 11px; font-weight: 600; padding: 3px 10px; font-family: var(--font-mono); letter-spacing: 0.06em; display: inline-block; }
.tag--green { background: #e8f5e9; color: #2e7d32; }
.tag--amber { background: #fff8e1; color: #f57f17; }
.tag--gray { background: var(--cream-mid); color: #666; }
.tag--red { background: #fdf2f2; color: var(--red); }
.progress-bar { flex: 1; height: 6px; background: var(--border); }
.progress-bar > span { display: block; height: 100%; background: var(--red); }
.progress-cell { display: flex; align-items: center; gap: 8px; }

/* Ranking cards (Pemeringkatan) */
.ranking-card { background: var(--red-deep); padding: 32px; }
.ranking-card__label { color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--font-mono); margin-bottom: 12px; }
.ranking-card__rank { font-family: var(--font-serif); font-size: 48px; font-weight: 600; color: white; line-height: 1; margin-bottom: 6px; }
.ranking-card__score { color: rgba(255,255,255,0.45); font-size: 13px; font-family: var(--font-mono); margin-bottom: 4px; }
.ranking-card__period { color: var(--gold); font-size: 11px; font-family: var(--font-mono); }

.indicator-bar { margin-bottom: 16px; }
.indicator-bar__head { display: flex; justify-content: space-between; margin-bottom: 6px; }
.indicator-bar__head span:first-child { font-size: 13.5px; color: #444; }
.indicator-bar__score { font-size: 12px; font-family: var(--font-mono); color: var(--red); font-weight: 600; }
.indicator-bar__score b { color: #aaa; font-weight: 400; }
.indicator-bar__track { height: 6px; background: var(--border); }
.indicator-bar__fill { height: 100%; background: linear-gradient(90deg, var(--red), var(--red-hover)); }

.trend-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--border); }
.trend-row__year { font-family: var(--font-mono); color: var(--gray-400); font-size: 13px; }
.trend-row__rank { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--red-deep); }
.trend-row__delta { font-size: 12px; font-weight: 600; color: var(--gray-400); }
.trend-row__delta.is-up { color: #2e7d32; }

.card-white-pad { background: white; padding: 32px; }

/* Org chart */
.org-chart { display: flex; flex-direction: column; align-items: center; }
.org-row { display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; justify-content: center; }
.org-connector { width: 1.5px; height: 32px; background: rgba(137,2,2,0.35); }
.org-connector--short { height: 24px; }
.org-node { border-radius: 6px; overflow: hidden; box-shadow: 0 2px 12px rgba(137,2,2,0.18); width: 250px; flex-shrink: 0; }
.org-node--wide { width: 340px; }
.org-node--small { width: 210px; }
.org-node--compact { width: 160px; }
.org-node__title { padding: 14px 20px; font-weight: 700; font-size: 13px; color: white; line-height: 1.35; text-align: center; }
.org-node--small .org-node__title, .org-node--compact .org-node__title { padding: 10px 16px; font-size: 12px; }
.org-node__name { padding: 9px 20px; border-top: 1px solid rgba(255,255,255,0.15); background: rgba(0,0,0,0.18); font-size: 12px; color: rgba(255,255,255,0.85); text-align: center; font-style: italic; font-family: var(--font-serif); }
.org-node--primary { background: linear-gradient(135deg, var(--red) 0%, #ab0303 100%); }
.org-node--deep { background: linear-gradient(135deg, var(--red-deep) 0%, #5c0101 100%); }
.org-node--muted { background: linear-gradient(135deg, #8b6b6b 0%, #5c0101 100%); }
.org-node--outline { background: white; border: 2px solid var(--red); }
.org-node--outline .org-node__title { color: var(--red-deep); }
.org-node--outline .org-node__name { background: #faf7f2; color: #555; }

/* Documents grid (Dokumen Mutu / Unduhan categories) */
.doc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.doc-card { background: white; padding: 32px; border-top: 3px solid var(--red); }
.doc-card:nth-child(even) { border-top-color: var(--gold); }
.doc-card__title { font-family: var(--font-serif); font-size: 16px; font-weight: 600; color: var(--red-deep); margin-bottom: 20px; }
.doc-card__list li { display: flex; gap: 12px; align-items: center; padding: 10px 14px; background: var(--cream); margin-bottom: 10px; transition: background 0.2s; }
.doc-card__list li:hover { background: #fdf2f2; }
.doc-card__list li::before { content: '↓'; color: var(--red); flex-shrink: 0; }
.doc-card__list span { font-size: 13.5px; color: #444; }

/* -------------------------------------------------------------------------
   Unduhan & Berita: filters
   ---------------------------------------------------------------------- */
.filter-bar { display: flex; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; align-items: center; }
.filter-bar__pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 8px 16px; font-size: 12.5px; font-weight: 600; background: white; color: #555; border: 1px solid var(--gray-100); transition: all 0.2s; letter-spacing: 0.04em; }
.pill.is-active { background: var(--red); color: white; border-color: var(--red); }
.filter-bar__search { flex: 1; min-width: 220px; }
.filter-bar__search input { width: 100%; padding: 9px 16px; font-size: 13.5px; border: 1px solid var(--gray-100); background: white; outline: none; }
.filter-bar__search input:focus { border-color: var(--red); }
.result-count { margin-top: 14px; font-size: 12px; color: var(--gray-200); font-family: var(--font-mono); }
.empty-state { padding: 48px; text-align: center; color: var(--gray-200); font-family: var(--font-mono); font-size: 13px; }

.pagination {
	display: flex; justify-content: center; align-items: center; gap: 8px;
	margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border);
	flex-wrap: wrap;
}
.pagination .page-numbers {
	display: flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 10px;
	font-size: 13px; font-weight: 600; font-family: var(--font-mono); letter-spacing: 0.02em;
	color: var(--gray-700); background: white; border: 1px solid var(--border);
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.pagination a.page-numbers:hover { background: #fdf2f2; border-color: var(--red); color: var(--red); }
.pagination .page-numbers.current {
	background: var(--red); color: white; border-color: var(--red); font-weight: 700;
	box-shadow: 0 2px 8px rgba(137,2,2,0.25);
}
.pagination .page-numbers.dots { border-color: transparent; background: transparent; color: var(--gray-300); min-width: 24px; }
.pagination .prev, .pagination .next {
	color: var(--red); border-color: var(--red);
}
.pagination .prev:hover, .pagination .next:hover { background: var(--red); color: white; }
.pagination .prev svg, .pagination .next svg { display: block; }

/* -------------------------------------------------------------------------
   Data APT — accordion (native <details>/<summary>, no custom JS)
   ---------------------------------------------------------------------- */
.apt-intro { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.apt-intro__title { font-family: var(--font-serif); font-size: 30px; font-weight: 600; color: var(--red-deep); margin-bottom: 10px; letter-spacing: -0.02em; }
.apt-intro__subtitle { color: var(--gray-500); font-size: 14.5px; margin-bottom: 16px; }
.apt-intro__stat {
	display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--red);
	background: #fdf2f2; padding: 7px 18px; letter-spacing: 0.02em;
}

.apt-toc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-bottom: 40px; }
.apt-toc__chip {
	display: flex; align-items: center; gap: 12px; padding: 16px 18px;
	background: white; border: 1px solid var(--border); border-left: 3px solid var(--red);
	transition: background 0.2s, border-color 0.2s;
}
.apt-toc__chip:hover { background: #fdf2f2; border-left-color: var(--gold); }
.apt-toc__icon { font-size: 22px; flex-shrink: 0; }
.apt-toc__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.apt-toc__roman { font-family: var(--font-mono); font-size: 10px; color: var(--gold-hover); font-weight: 700; letter-spacing: 0.1em; }
.apt-toc__title { font-size: 13.5px; font-weight: 600; color: var(--red-deep); line-height: 1.3; }
.apt-toc__fraction { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--red); flex-shrink: 0; }

.apt-groups { display: flex; flex-direction: column; gap: 2px; }
.apt-group { background: white; border: 1px solid var(--border); }
.apt-group + .apt-group { margin-top: 2px; }
.apt-group__summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px;
	padding: 20px 24px; border-left: 4px solid var(--red); transition: background 0.2s;
}
.apt-group__summary::-webkit-details-marker { display: none; }
.apt-group__summary:hover { background: var(--cream); }
.apt-group__icon { font-size: 26px; flex-shrink: 0; }
.apt-group__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.apt-group__heading { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: var(--red-deep); }
.apt-group__count { font-size: 12.5px; color: var(--gray-400); }
.apt-group__progress { display: flex; align-items: center; gap: 10px; width: 160px; flex-shrink: 0; }
.apt-group__bar { flex: 1; }
.apt-group__percent { font-family: var(--font-mono); font-size: 12.5px; font-weight: 700; color: var(--red); width: 36px; text-align: right; flex-shrink: 0; }
.apt-group__chevron { color: var(--gray-300); flex-shrink: 0; transition: transform 0.2s; }
.apt-group[open] .apt-group__chevron { transform: rotate(180deg); }
.apt-group__body { padding: 8px 24px 28px; border-top: 1px solid var(--border); }

.apt-indicator { padding: 22px 0; border-bottom: 1px solid var(--border); }
.apt-indicator:last-child { border-bottom: none; padding-bottom: 4px; }
.apt-indicator__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.apt-indicator__number {
	font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: white;
	background: var(--red); padding: 2px 8px; flex-shrink: 0;
}
.apt-indicator__desc { font-size: 14.5px; font-weight: 600; color: var(--ink); flex: 1; min-width: 200px; line-height: 1.5; }
.apt-indicator__count { font-family: var(--font-mono); font-size: 11px; color: var(--gray-300); flex-shrink: 0; }

.apt-bukti-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.apt-bukti {
	display: flex; align-items: center; gap: 10px; padding: 9px 14px;
	background: var(--cream); font-size: 13px; color: #333;
}
a.apt-bukti--link { transition: background 0.15s; }
a.apt-bukti--link:hover { background: #fdf2f2; }
.apt-bukti--empty { color: var(--gray-300); font-style: italic; }
.apt-bukti__icon { flex-shrink: 0; font-size: 14px; }
.apt-bukti__label { flex: 1; min-width: 0; }
a.apt-bukti--link .apt-bukti__label { color: var(--red); text-decoration: underline; text-decoration-color: rgba(137,2,2,0.25); }
.apt-bukti__badge {
	flex-shrink: 0; font-family: var(--font-mono); font-size: 9.5px; font-weight: 700;
	letter-spacing: 0.06em; color: white; background: var(--gray-400); padding: 3px 8px;
}
a.apt-bukti--link .apt-bukti__badge { background: var(--red); }
.apt-bukti__badge--empty { background: transparent; color: var(--gray-300); }

@media (max-width: 900px) {
	.apt-toc { grid-template-columns: 1fr; }
	.apt-group__progress { width: auto; }
	.apt-group__bar { min-width: 48px; }
	.apt-indicator__desc { min-width: 100%; }
}

/* -------------------------------------------------------------------------
   Berita single article
   ---------------------------------------------------------------------- */
.article-layout { display: grid; grid-template-columns: 3fr 1fr; gap: 64px; }
.article-back { color: rgba(255,255,255,0.65); font-size: 12.5px; font-family: var(--font-mono); letter-spacing: 0.05em; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 8px; }
.article-media { overflow: hidden; margin-bottom: 36px; height: 340px; }
.article-media img { width: 100%; height: 100%; object-fit: cover; }
.article-lede { color: #444; font-size: 16.5px; line-height: 1.85; font-weight: 500; margin-bottom: 28px; font-family: var(--font-serif); font-style: italic; }
.article-body p { color: var(--gray-700); font-size: 15.5px; line-height: 1.85; margin-bottom: 20px; }
.related-box { background: var(--cream); padding: 24px; border-top: 3px solid var(--red); }
.related-box__title { font-family: var(--font-serif); font-size: 14px; font-weight: 600; color: var(--red-deep); margin-bottom: 16px; }
.related-item { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.related-item__meta { font-size: 10px; color: var(--red); font-family: var(--font-mono); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.08em; }
.related-item__title { font-size: 13.5px; color: #333; line-height: 1.5; }
.related-item__title:hover { color: var(--red); }

/* -------------------------------------------------------------------------
   Kontak (contact) page
   ---------------------------------------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 3fr 2fr; gap: 64px; }
.contact-form { background: white; padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #555; margin-bottom: 7px; font-family: var(--font-mono); }
.form-field label .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
	width: 100%; padding: 11px 14px; font-size: 14px; border: 1px solid var(--gray-100);
	background: white; outline: none; transition: border-color 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); }
.form-field textarea { resize: vertical; }
.form-notice { padding: 14px 18px; margin-bottom: 20px; font-size: 13.5px; }
.form-notice--success { background: #e8f5e9; color: #2e7d32; }
.form-notice--error { background: #fdf2f2; color: var(--red); }

.contact-info { display: flex; flex-direction: column; gap: 2px; margin-bottom: 2px; }
.contact-info__item { background: white; padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.contact-info__item--dark { background: var(--red-deep); }
.contact-info__icon { color: var(--red); font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.contact-info__item--dark .contact-info__icon { color: var(--gold); }
.contact-info__label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #999; font-family: var(--font-mono); margin-bottom: 5px; }
.contact-info__item--dark .contact-info__label { color: rgba(255,255,255,0.4); }
.contact-info__val { font-size: 14px; color: #333; line-height: 1.7; white-space: pre-line; }
.contact-info__item--dark .contact-info__val { color: white; }

.hours-box { background: var(--cream-mid); padding: 24px; border-top: 3px solid var(--gold); }
.hours-box__title { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #999; font-family: var(--font-mono); margin-bottom: 14px; }
.hours-box__row { display: flex; justify-content: space-between; border-bottom: 1px solid var(--gray-100); padding: 9px 0; font-size: 13.5px; }
.hours-box__row span:first-child { color: #555; }
.hours-box__row span:last-child { color: var(--red); font-weight: 600; font-family: var(--font-mono); }

.map-banner { height: 240px; overflow: hidden; position: relative; }
.map-banner img { width: 100%; height: 100%; object-fit: cover; }
.map-banner__overlay { position: absolute; inset: 0; background: rgba(28,0,0,0.6); display: flex; align-items: center; justify-content: center; text-align: center; }
.map-banner__title { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: white; margin-bottom: 6px; }
.map-banner__addr { color: var(--gold); font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.1em; }

/* -------------------------------------------------------------------------
   Footer
   ---------------------------------------------------------------------- */
.site-footer { background: var(--red-deep); }
.site-footer__gold-bar { height: 3px; background: linear-gradient(90deg, var(--red), var(--gold), var(--red)); }
.site-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; padding: 64px 32px 52px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-brand__logo { display: flex; gap: 14px; align-items: center; margin-bottom: 22px; }
.footer-brand__title { color: white; font-size: 13px; font-weight: 600; line-height: 1.3; }
.footer-brand__sub { color: rgba(255,255,255,0.4); font-size: 11px; margin-top: 2px; font-family: var(--font-mono); display: block; }
.footer-brand__address { color: rgba(255,255,255,0.45); font-size: 13.5px; line-height: 1.8; max-width: 280px; margin-bottom: 22px; }
.footer-brand__meta div { font-size: 12.5px; color: rgba(255,255,255,0.4); font-family: var(--font-mono); margin-bottom: 6px; }
.footer-brand__meta span { color: var(--gold); margin-right: 8px; }
.footer-col__title { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-family: var(--font-mono); }
.footer-col__list li { margin-bottom: 9px; }
.footer-col__list a { color: rgba(255,255,255,0.45); font-size: 13.5px; line-height: 1.5; transition: color 0.2s; }
.footer-col__list a:hover { color: rgba(255,255,255,0.9); }
.site-footer__bottom { padding: 20px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer__copy { color: rgba(255,255,255,0.25); font-size: 11.5px; font-family: var(--font-mono); }
.site-footer__legal { display: flex; gap: 20px; }
.site-footer__legal span { color: rgba(255,255,255,0.25); font-size: 11.5px; transition: color 0.2s; cursor: default; }
.site-footer__legal span:hover { color: var(--gold); }

/* -------------------------------------------------------------------------
   Responsive
   ---------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.about-grid, .contact-layout, .article-layout { grid-template-columns: 1fr; gap: 40px; }
	.site-footer__top { grid-template-columns: repeat(2, 1fr); }
	.doc-grid, .duo-panel { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
	.nav { display: none; }
	.nav-toggle { display: flex; }
	.navbar__logo-text { max-width: 46vw; }
	.quicklinks__grid { grid-template-columns: repeat(3, 1fr); }
	.quicklinks__item:nth-child(3) { border-right: none; }
	.tri-grid, .step-grid, .step-grid--4, .stat-grid--4, .rankings-grid, .news-grid, .goal-grid, .step-flow { grid-template-columns: repeat(2, 1fr); }
	.hero__stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	:root { --topbar-h: 0px; }
	.topbar { display: none; }
	.container { padding: 0 20px; }
	.quicklinks__grid, .tri-grid, .step-grid, .step-grid--4, .stat-grid--4, .rankings-grid, .news-grid, .goal-grid, .step-flow, .hero__stats-grid { grid-template-columns: 1fr; }
	.quicklinks__item { border-right: none; border-bottom: 1px solid var(--border); }
	.form-row { grid-template-columns: 1fr; }
	.site-footer__top { grid-template-columns: 1fr; }
	.navbar__logo-text { max-width: 52vw; }
}
