/*
Theme Name: Bengkel Aliran
Theme URI: https://pompaairmodifikasimurah.com/
Description: Tema editorial pompa air yang ringan, aksesibel, mobile-first, dan berfokus pada diagnosis aman.
Version: 3.0.5
Requires at least: 6.6
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: bengkel-aliran
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
	--water: #075985;
	--water-deep: #0c4a6e;
	--water-night: #082f49;
	--water-soft: #38bdf8;
	--mist: #e0f2fe;
	--mist-pale: #f0f9ff;
	--signal: #ea580c;
	--signal-dark: #c2410c;
	--paper: #f8fafc;
	--white: #ffffff;
	--ink: #102a43;
	--muted: #526777;
	--line: #cbdde8;
	--safe: #e8f5ef;
	--shadow: 0 20px 55px rgba(8, 47, 73, 0.14);
	--shadow-small: 0 10px 28px rgba(8, 47, 73, 0.09);
	--radius-small: 8px;
	--radius: 16px;
	--radius-large: 28px;
	--wrap: 1180px;
	--wide: 1380px;
	--narrow: 820px;
	--display: ui-serif, Georgia, Cambria, "Times New Roman", serif;
	--body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.72;
	text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--water); text-decoration-thickness: .09em; text-underline-offset: .18em; }
a:hover { color: var(--signal-dark); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
::selection { background: var(--signal); color: var(--white); }
h1, h2, h3, h4 {
	margin: 0 0 .65em;
	color: var(--water-night);
	font-family: var(--display);
	font-weight: 700;
	letter-spacing: -.025em;
	line-height: 1.08;
}
h1 { font-size: clamp(2.55rem, 6.7vw, 5.55rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3.15rem); }
h3 { font-size: clamp(1.25rem, 2.3vw, 1.72rem); }
p, ul, ol, blockquote { margin-top: 0; margin-bottom: 1.25em; }
.wrap, .wrap-wide, .wrap-narrow { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.wrap-wide { max-width: var(--wide); }
.wrap-narrow { max-width: var(--narrow); }
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
	top: 14px;
	left: 14px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto !important;
	border-radius: var(--radius-small);
	background: var(--white);
	color: var(--water-night);
	font-weight: 800;
}

/* Header: a compact control-panel silhouette, built without external assets. */
.site-header {
	position: relative;
	z-index: 100;
	border-bottom: 4px solid var(--water-soft);
	background: var(--water-night);
	color: var(--white);
}
.site-header::after {
	position: absolute;
	right: 0;
	bottom: -4px;
	width: 24%;
	height: 4px;
	background: var(--signal);
	content: "";
}
.header-inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 28px; }
.brand-link, .footer-brand { text-decoration: none; }
.brand-link { display: inline-flex; align-items: center; gap: 13px; color: var(--white); }
.brand-link:hover { color: var(--white); }
.brand-mark {
	display: block;
	width: 56px;
	height: 56px;
	overflow: hidden;
	flex: 0 0 auto;
	border: 2px solid rgba(255,255,255,.72);
	border-radius: 50% 50% 50% 12px;
	background: var(--mist);
	box-shadow: 0 0 0 5px rgba(56,189,248,.14);
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: grid; gap: 2px; }
.brand-copy strong { font-family: var(--display); font-size: 1.27rem; letter-spacing: -.02em; }
.brand-copy small { max-width: 330px; color: #c8e6f4; font-size: .7rem; line-height: 1.28; }
.custom-logo { width: auto; max-height: 64px; }
.primary-navigation .menu, .footer-menu { display: flex; align-items: center; gap: 22px; padding: 0; margin: 0; list-style: none; }
.primary-navigation .menu a {
	position: relative;
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: #f0f9ff;
	font-size: .82rem;
	font-weight: 780;
	text-decoration: none;
}
.primary-navigation .menu a::after {
	position: absolute;
	right: 0;
	bottom: 4px;
	left: 0;
	height: 3px;
	border-radius: 999px;
	background: var(--water-soft);
	content: "";
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}
.primary-navigation .menu a:hover, .primary-navigation .current-menu-item > a, .primary-navigation .current-menu-ancestor > a { color: #fff; }
.primary-navigation .menu a:hover::after, .primary-navigation .current-menu-item > a::after { transform: scaleX(1); }
.menu-toggle {
	display: none;
	min-height: 46px;
	align-items: center;
	gap: 9px;
	padding: 10px 15px;
	border: 1px solid rgba(255,255,255,.42);
	border-radius: 999px;
	background: transparent;
	color: var(--white);
	font-size: .86rem;
	font-weight: 800;
}
.menu-toggle-lines, .menu-toggle-lines::before, .menu-toggle-lines::after { display: block; width: 19px; height: 2px; background: currentColor; content: ""; }
.menu-toggle-lines::before { transform: translateY(-6px); }
.menu-toggle-lines::after { transform: translateY(4px); }
.breadcrumbs { padding-block: 18px; font-size: .78rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li:not(:last-child)::after { margin-left: 8px; color: var(--water-soft); content: "›"; }
.breadcrumbs a { color: var(--muted); }
.eyebrow, .article-kicker, .card-kicker { color: var(--water); font-size: .74rem; font-weight: 850; letter-spacing: .13em; line-height: 1.35; text-transform: uppercase; }

/* Buttons */
.button, .entry-content .button, button[type="submit"], input[type="submit"] {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 11px 21px;
	border: 2px solid var(--water);
	border-radius: 999px;
	background: var(--water);
	color: var(--white);
	font-size: .9rem;
	font-weight: 850;
	line-height: 1.2;
	text-decoration: none;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.button:hover, .entry-content .button:hover, button[type="submit"]:hover, input[type="submit"]:hover { border-color: var(--signal); background: var(--signal); color: var(--white); transform: translateY(-2px); }
.button-secondary { border-color: rgba(255,255,255,.62); background: transparent; color: var(--white); }
.button-secondary:hover { border-color: var(--white); background: var(--white); color: var(--water-night); }
.button-light { border-color: var(--white); background: var(--white); color: var(--water-night); white-space: nowrap; }
.text-link { font-size: .9rem; font-weight: 850; text-decoration: none; }
.text-link span { display: inline-block; transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }

/* Front page: source-to-decision flow map. */
.flow-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(70px, 9vw, 125px);
	background: radial-gradient(circle at 80% 30%, rgba(56,189,248,.2) 0 2px, transparent 3px), linear-gradient(128deg, var(--water-night) 0%, var(--water-deep) 58%, var(--water) 100%);
	background-size: 34px 34px, auto;
	color: var(--white);
}
.flow-hero::before {
	position: absolute;
	top: -170px;
	right: -150px;
	width: 560px;
	height: 560px;
	border: 72px solid rgba(224,242,254,.07);
	border-radius: 50%;
	content: "";
}
.flow-hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(370px,.95fr); gap: clamp(42px,7vw,90px); align-items: center; }
.flow-hero-copy h1 { max-width: 760px; color: var(--white); }
.flow-hero-copy > p:not(.eyebrow) { max-width: 690px; color: #d8eff9; font-size: clamp(1.05rem,2vw,1.26rem); }
.flow-hero .eyebrow { color: #7dd3fc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 29px 0; }
.hero-principles { display: flex; flex-wrap: wrap; gap: 10px 21px; padding: 0; margin: 29px 0 0; list-style: none; color: #d8eff9; font-size: .78rem; font-weight: 720; }
.hero-principles li::before { margin-right: 8px; color: #7dd3fc; content: "✓"; }
.flow-rig {
	position: relative;
	min-height: 455px;
	padding: 36px;
	border: 1px solid rgba(255,255,255,.28);
	border-radius: var(--radius-large);
	background: rgba(8,47,73,.58);
	box-shadow: 0 32px 80px rgba(3,24,38,.36);
	backdrop-filter: blur(7px);
}
.flow-rig ol { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2,1fr); gap: 17px; padding: 0; margin: 0; list-style: none; }
.flow-rig li { display: flex; min-height: 165px; flex-direction: column; justify-content: flex-end; padding: 21px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(240,249,255,.08); }
.flow-rig li:nth-child(4) { border-color: var(--signal); background: rgba(234,88,12,.16); }
.flow-rig li > span { margin-bottom: auto; color: #7dd3fc; font-size: .73rem; font-weight: 850; }
.flow-rig strong { color: var(--white); font-family: var(--display); font-size: 1.42rem; line-height: 1.2; }
.flow-rig small { color: #c8e6f4; font-size: .75rem; }
.flow-rig-track { position: absolute; inset: 50% 30px auto; z-index: 3; height: 8px; border-radius: 999px; background: var(--water-soft); transform: translateY(-50%); pointer-events: none; }
.flow-rig-track span { position: absolute; top: 50%; width: 18px; height: 18px; border: 4px solid var(--white); border-radius: 50%; background: var(--signal); transform: translate(-50%,-50%); }
.flow-rig-track span:first-child { left: 15%; }
.flow-rig-track span:nth-child(2) { left: 50%; }
.flow-rig-track span:last-child { left: 85%; }
.diagnosis-strip { border-bottom: 1px solid var(--line); background: var(--mist); }
.diagnosis-grid { display: grid; grid-template-columns: minmax(280px,.8fr) minmax(0,1.2fr); gap: clamp(30px,7vw,85px); align-items: center; padding-block: 42px; }
.diagnosis-grid h2 { margin-bottom: 0; font-size: clamp(1.55rem,3vw,2.45rem); }
.diagnosis-grid > p { padding-left: 25px; margin: 0; border-left: 5px solid var(--signal); color: var(--muted); }
.topic-paths { padding-block: clamp(75px,10vw,125px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 40px; }
.section-heading h2 { max-width: 760px; margin-bottom: 0; }
.topic-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; }
.topic-grid a {
	position: relative;
	display: flex;
	min-height: 230px;
	flex-direction: column;
	justify-content: space-between;
	padding: 27px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--white);
	color: var(--water-night);
	text-decoration: none;
	box-shadow: var(--shadow-small);
	transition: border-color 180ms ease, transform 180ms ease;
}
.topic-grid a::after { position: absolute; right: -40px; bottom: -54px; width: 145px; height: 145px; border: 20px solid var(--mist); border-radius: 50%; content: ""; transition: border-color 180ms ease; }
.topic-grid a:nth-child(2n) { background: var(--mist-pale); }
.topic-grid a:hover { border-color: var(--water-soft); transform: translateY(-6px); }
.topic-grid a:hover::after { border-color: #bae6fd; }
.topic-grid span { color: var(--signal); font-size: .78rem; font-weight: 850; }
.topic-grid strong { position: relative; z-index: 2; font-family: var(--display); font-size: 1.55rem; line-height: 1.1; }
.topic-grid small { position: relative; z-index: 2; max-width: 82%; color: var(--muted); line-height: 1.45; }
.start-guide { padding-block: clamp(70px,9vw,112px); background: var(--water-night); color: var(--white); }
.start-guide-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(310px,.9fr); gap: clamp(35px,7vw,75px); align-items: center; }
.start-guide-image { display: block; overflow: hidden; border: 8px solid rgba(255,255,255,.12); border-radius: var(--radius-large); box-shadow: 0 24px 65px rgba(0,0,0,.28); }
.start-guide-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.start-guide h2, .start-guide h2 a { color: var(--white); text-decoration: none; }
.start-guide p:not(.eyebrow) { color: #c8e6f4; }
.start-guide .eyebrow, .start-guide .text-link { color: #7dd3fc; }
.latest-guides, .related-guides { padding-block: clamp(75px,10vw,125px); background: var(--mist-pale); }
.latest-guides { border-block: 1px solid var(--line); }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.guide-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-small); transition: transform 220ms ease, box-shadow 220ms ease; }
.guide-card:nth-child(3n + 2) { border-top: 5px solid var(--water-soft); }
.guide-card:nth-child(3n) { border-top: 5px solid var(--signal); }
.guide-card:hover { box-shadow: var(--shadow); transform: translateY(-6px); }
.card-image { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms ease; }
.guide-card:hover .card-image img { transform: scale(1.035); }
.image-placeholder { display: flex; height: 100%; align-items: center; justify-content: center; color: var(--water); }
.image-placeholder::before { width: 90px; height: 56px; border: 8px solid currentColor; border-radius: 999px 999px 18px 18px; content: ""; }
.image-placeholder i { display: none; }
.card-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; color: var(--muted); font-size: .72rem; }
.card-kicker { display: inline-block; max-width: 68%; text-decoration: none; }
.card-title { margin-bottom: 12px; font-size: clamp(1.25rem,2vw,1.63rem); }
.card-title a { color: var(--water-night); text-decoration: none; }
.card-body > p { color: var(--muted); font-size: .91rem; }
.card-body .text-link { margin-top: auto; }
.editorial-promise { padding-block: 58px; background: var(--water); color: var(--white); }
.promise-grid { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 40px; }
.promise-grid h2 { color: var(--white); font-size: clamp(1.75rem,4vw,3rem); }
.promise-grid p:last-child { max-width: 760px; margin-bottom: 0; color: #d8eff9; }
.promise-grid .eyebrow { color: #bae6fd; }
.promise-mark { position: relative; width: 126px; height: 104px; margin: auto; }
.promise-mark span { position: absolute; inset: 8px 16px; border: 4px solid var(--mist); border-radius: 50% 50% 50% 12px; }
.promise-mark i { position: absolute; left: 38px; width: 50px; height: 6px; border-radius: 999px; background: var(--signal); }
.promise-mark i:nth-child(2) { top: 39px; }
.promise-mark i:nth-child(3) { top: 62px; width: 34px; }

/* Listings */
.listing-page { padding-block: 38px 110px; }
.archive-header { max-width: 870px; padding: clamp(50px,8vw,90px) 0; }
.archive-header h1 { font-size: clamp(2.65rem,7vw,5.15rem); }
.archive-header > p, .archive-description { max-width: 720px; color: var(--muted); font-size: 1.1rem; }
.listing-grid { row-gap: 42px; }
.navigation.pagination { margin-top: 60px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--water); font-weight: 800; text-decoration: none; }
.page-numbers.current, .page-numbers:hover { border-color: var(--water-soft); background: var(--mist); color: var(--water-night); }
.empty-state { padding: clamp(32px,6vw,58px); border: 1px solid var(--line); border-left: 8px solid var(--signal); border-radius: var(--radius); background: var(--mist-pale); }

/* Long guides and permanent pages. */
.single-guide { padding-bottom: 0; }
.article-header { padding-block: clamp(60px,9vw,105px) 48px; }
.article-header h1 { margin-top: 16px; font-size: clamp(2.5rem,6.7vw,5.05rem); }
.article-kicker { text-decoration: none; }
.article-deck { max-width: 770px; color: var(--muted); font-size: clamp(1.12rem,2.3vw,1.4rem); line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 25px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.article-hero { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-large); background: var(--mist); box-shadow: var(--shadow); }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { padding: 11px 18px; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.article-hero figcaption { background: var(--white); }
.article-layout { display: grid; grid-template-columns: minmax(0,800px) minmax(220px,290px); gap: clamp(45px,7vw,90px); align-items: start; padding-block: clamp(65px,9vw,110px); }
.entry-content { min-width: 0; }
.entry-content > * { max-width: 100%; }
.entry-content p, .entry-content li { color: #243f52; }
.entry-content h2 { padding-top: 40px; scroll-margin-top: 30px; }
.entry-content h3 { padding-top: 18px; scroll-margin-top: 30px; }
.entry-content > p:first-of-type { font-size: 1.12rem; line-height: 1.78; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { padding-left: .3em; margin-bottom: .55em; }
.entry-content blockquote, .editorial-note { display: block; padding: 24px 28px; border-left: 7px solid var(--signal); border-radius: 0 var(--radius) var(--radius) 0; background: var(--mist); font-size: 1rem; }
.entry-content code, .entry-content pre { border-radius: var(--radius-small); background: #e8f0f5; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.entry-content code { padding: .15em .35em; }
.entry-content pre { overflow-x: auto; padding: 20px; }
.entry-content table { width: 100%; margin-bottom: 1.5em; border-collapse: collapse; background: var(--white); }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { background: var(--water-deep); color: var(--white); }
.wp-block-table { overflow-x: auto; }
.aliran-secondary-figure { margin: 38px 0 48px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-small); }
.aliran-secondary-image { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-toc { padding: 24px 27px; margin-bottom: 40px; border: 1px solid #a7d8ee; border-radius: var(--radius); background: var(--mist-pale); }
.article-toc .toc-title { margin-bottom: 11px; color: var(--water-night); font-family: var(--display); font-size: 1.08rem; font-weight: 700; }
.article-toc ol { columns: 2; column-gap: 35px; padding-left: 1.25em; margin: 0; }
.article-toc li { break-inside: avoid; margin-bottom: 6px; font-size: .86rem; }
.article-aside { position: sticky; top: 28px; }
.editorial-card { padding: 28px; border-top: 7px solid var(--water-soft); border-radius: var(--radius); background: var(--water-night); color: #c8e6f4; }
.editorial-card h2 { color: var(--white); font-size: 1.35rem; }
.editorial-card p { font-size: .85rem; }
.editorial-card a { color: #7dd3fc; }
.decision-dots { display: flex; gap: 6px; margin-bottom: 22px; }
.decision-dots i { width: 25px; height: 6px; border-radius: 999px; background: var(--water-soft); }
.decision-dots i:nth-child(2), .decision-dots i:nth-child(4) { background: var(--signal); }
.article-footer { padding-bottom: clamp(75px,10vw,120px); }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 30px; border-top: 1px solid var(--line); }
.tag-list a { padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .78rem; text-decoration: none; }
.guide-note { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 32px; margin-top: 42px; border-radius: var(--radius); background: var(--safe); }
.guide-note-icon { display: flex; width: 70px; height: 70px; align-items: center; justify-content: center; border-radius: 50% 50% 50% 12px; background: var(--water); color: var(--white); font-family: var(--display); font-size: 1.25rem; font-weight: 700; }
.guide-note h2 { margin-bottom: 8px; font-size: 1.45rem; }
.guide-note p { margin-bottom: 12px; color: var(--muted); font-size: .9rem; }
.page-main { padding-block: clamp(55px,8vw,100px) 120px; }
.page-article { padding: clamp(26px,5vw,58px); border: 1px solid var(--line); border-top: 8px solid var(--water-soft); border-radius: var(--radius-large); background: var(--white); box-shadow: var(--shadow-small); }
.page-content h1, .page-header h1 { font-size: clamp(2.45rem,6vw,4.6rem); }

/* Forms, search, and errors. */
.search-form label, .wpcf7-form label { display: block; margin-bottom: 8px; color: var(--water-night); font-size: .82rem; font-weight: 800; }
.search-fields { display: flex; max-width: 700px; gap: 10px; }
input[type="text"], input[type="email"], input[type="url"], input[type="tel"], input[type="search"], select, textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #9fb8c7; border-radius: var(--radius-small); background: var(--white); color: var(--ink); }
textarea { min-height: 150px; resize: vertical; }
.wpcf7-form p { margin-bottom: 18px; }
.wpcf7-not-valid-tip, .wpcf7-response-output { font-size: .86rem; }
.wpcf7-response-output, .contact-unavailable { padding: 15px 18px !important; border: 1px solid var(--line) !important; border-left: 6px solid var(--signal) !important; border-radius: var(--radius-small); background: var(--mist-pale); }
.contact-unavailable p { margin: 0; }
.error-page { padding-block: clamp(65px,10vw,130px); text-align: center; }
.error-page > p { max-width: 670px; margin-inline: auto; }
.error-page .search-form { max-width: 680px; margin: 35px auto; text-align: left; }
.error-signal { display: flex; width: min(100%,580px); height: 72px; align-items: center; justify-content: center; gap: 8px; margin: 0 auto 35px; }
.error-signal i { display: block; width: 10px; height: 22px; border-radius: 999px; background: var(--water-soft); }
.error-signal i:nth-child(2n) { height: 48px; background: var(--water); }
.error-signal i:nth-child(5) { height: 70px; background: var(--signal); }

/* Essential-only consent fallback. */
.cookie-consent {
	position: fixed;
	right: 18px;
	bottom: 18px;
	left: 18px;
	z-index: 9999;
	width: min(calc(100% - 36px),980px);
	padding: 25px;
	margin-inline: auto;
	border: 1px solid rgba(255,255,255,.22);
	border-top: 6px solid var(--water-soft);
	border-radius: var(--radius);
	background: var(--water-night);
	box-shadow: 0 25px 90px rgba(3,24,38,.5);
	color: #d8eff9;
}
.cookie-consent[hidden], .cookie-consent-settings[hidden] { display: none; }
.cookie-consent-main { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.cookie-consent h2, .cookie-consent h3 { color: var(--white); }
.cookie-consent h2 { margin-bottom: 8px; font-size: 1.5rem; }
.cookie-consent p { margin-bottom: 8px; font-size: .87rem; }
.cookie-consent a { color: #7dd3fc; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cookie-consent-actions button { min-height: 44px; padding: 9px 15px; border: 1px solid #7dd3fc; border-radius: 999px; background: #7dd3fc; color: var(--water-night); font-weight: 800; }
.cookie-consent-actions .cookie-consent-settings-toggle { background: transparent; color: var(--white); }
.cookie-consent-settings { padding-top: 20px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,.2); }
.cookie-essential-choice { display: flex; gap: 12px; align-items: start; }
.cookie-essential-choice input { width: 20px; height: 20px; margin-top: 3px; }
.cookie-essential-choice span, .cookie-essential-choice small { display: block; }
.cookie-essential-choice small { margin-top: 3px; color: #c8e6f4; }

/* Footer: five-step trail mirrors the diagnosis sequence. */
.site-footer { position: relative; padding-top: 70px; background: #061f30; color: #c8e6f4; }
.footer-trail { position: absolute; top: 0; right: 0; left: 0; display: grid; grid-template-columns: repeat(5,1fr); height: 8px; }
.footer-trail span:nth-child(odd) { background: var(--water-soft); }
.footer-trail span:nth-child(even) { background: var(--signal); }
.footer-grid { display: grid; grid-template-columns: minmax(280px,1.25fr) minmax(210px,.8fr) minmax(210px,.8fr); gap: clamp(35px,7vw,80px); padding-bottom: 55px; }
.footer-brand { color: var(--white); font-family: var(--display); font-size: 1.65rem; font-weight: 700; }
.footer-about > p { max-width: 480px; }
.footer-note { color: #8fb7ca; font-size: .84rem; }
.footer-heading { margin-bottom: 18px; color: #7dd3fc; font-size: .74rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.footer-menu { flex-direction: column; align-items: flex-start; gap: 9px; }
.site-footer a { color: #e0f2fe; }
.footer-discover p { margin-bottom: 8px; }
.footer-bottom { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid rgba(255,255,255,.13); color: #8fb7ca; font-size: .78rem; }
.footer-bottom p { margin: 0; }
.footer-utility-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }

@media (max-width: 1080px) {
	.primary-navigation .menu { gap: 14px; }
	.primary-navigation .menu a { font-size: .76rem; }
	.flow-hero-grid { grid-template-columns: minmax(0,1fr) minmax(340px,.78fr); }
	.article-layout { grid-template-columns: minmax(0,1fr) 250px; gap: 45px; }
}

@media (max-width: 1020px) {
	.menu-toggle { display: inline-flex; }
	.primary-navigation { position: absolute; top: calc(100% + 4px); right: 0; left: 0; display: none; padding: 18px 20px 25px; background: var(--water-night); box-shadow: 0 28px 50px rgba(3,24,38,.34); }
	.primary-navigation.is-open { display: block; }
	.primary-navigation .menu { align-items: stretch; flex-direction: column; gap: 0; }
	.primary-navigation .menu a { min-height: 48px; font-size: .9rem; }
	.primary-navigation .menu a::after { display: none; }
	.flow-hero-grid, .start-guide-grid, .article-layout { grid-template-columns: 1fr; }
	.flow-rig { min-height: 420px; }
	.article-aside { position: static; max-width: 620px; }
	.topic-grid { grid-template-columns: repeat(2,1fr); }
	.guide-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.promise-grid { grid-template-columns: 110px 1fr; }
	.promise-grid .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.wrap, .wrap-wide, .wrap-narrow { width: min(calc(100% - 28px), var(--wrap)); }
	.header-inner { min-height: 80px; }
	.brand-mark { width: 48px; height: 48px; }
	.brand-copy strong { font-size: 1.08rem; }
	.brand-copy small { display: none; }
	.flow-rig { min-height: auto; padding: 22px; }
	.flow-rig ol { grid-template-columns: 1fr; }
	.flow-rig li { min-height: 128px; }
	.flow-rig-track { display: none; }
	.diagnosis-grid, .topic-grid, .guide-grid, .footer-grid { grid-template-columns: 1fr; }
	.diagnosis-grid > p { padding-top: 8px; padding-left: 19px; }
	.topic-grid a { min-height: 205px; }
	.section-heading { align-items: flex-start; flex-direction: column; }
	.promise-grid { grid-template-columns: 1fr; text-align: center; }
	.promise-grid .button { grid-column: auto; justify-self: center; }
	.article-toc ol { columns: 1; }
	.guide-note { grid-template-columns: 1fr; }
	.search-fields { flex-direction: column; }
	.cookie-consent-main { grid-template-columns: 1fr; }
	.cookie-consent-actions { justify-content: flex-start; }
	.footer-bottom { min-height: 0; align-items: flex-start; flex-direction: column; padding-block: 24px; }
	.footer-utility-links { justify-content: flex-start; }
}

@media (max-width: 480px) {
	h1 { font-size: clamp(2.3rem,13vw,3.45rem); }
	.flow-hero { padding-block: 58px; }
	.hero-actions .button, .button-light { width: 100%; }
	.hero-principles { align-items: flex-start; flex-direction: column; }
	.page-article, .cookie-consent { padding: 20px; }
	/* v3.0.3 (audit P2-3): banner ringkas di ponsel, paling tinggi 40% layar; isi panjang dapat digulir. */
	.cookie-consent { right: 10px; bottom: 10px; left: 10px; width: calc(100% - 20px); max-height: 40vh; overflow-y: auto; padding: 16px; }
	.cookie-consent .eyebrow { display: none; }
	.cookie-consent h2 { margin-bottom: 4px; font-size: 1.1rem; }
	.cookie-consent-main { gap: 12px; }
	.cookie-consent-actions button { min-height: 44px; padding: 8px 13px; }
	.card-body { padding: 21px; }
	.article-header { padding-top: 45px; }
	.article-layout { padding-top: 48px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
	.site-header, .site-footer, .breadcrumbs, .article-aside, .related-guides, .cookie-consent, .article-toc { display: none !important; }
	body { background: var(--white); color: #000; font-size: 11pt; }
	.article-layout, .wrap, .wrap-wide, .wrap-narrow { display: block; width: 100%; max-width: none; }
	a { color: #000; text-decoration: underline; }
}

/* v3.0.0: perbaikan dari QA actual-render 320–1440 px (kontras WCAG 2.1 AA dan footer tablet). */
.cookie-consent .eyebrow { color: #7dd3fc; }
.topic-grid span { color: #c2410c; }
@media (min-width: 761px) and (max-width: 1020px) {
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-about { grid-column: 1 / -1; }
}
.legal-facts dl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 18px; }
.legal-facts dd { margin: 0 0 10px; overflow-wrap: anywhere; }

/* v3.0.1: nilai fakta pemilik yang panjang (SHA-256, email, kebijakan) tidak meluber di layar sempit. */
.legal-facts dd, [data-aliran-fact], .legal-facts a[href^="mailto:"] { overflow-wrap: anywhere; word-break: normal; }

/* v3.0.2: daftar fakta pemilik dibaca sebagai pasangan label/nilai tanpa indentasi dl bawaan. */
.legal-facts dl { margin: 0; }
.legal-facts dt { margin-top: .85rem; font-weight: 700; }
.legal-facts dd { margin: .15rem 0 0; }

/* v3.0.4: tautan ke panduan yang belum terbit ditampilkan sebagai teks biasa sampai artikelnya terbit (terbit bertahap). */
.link-pending { color: inherit; text-decoration: none; }
