/*
Theme Name: Jembatan Qianhai
Theme URI: https://qianhaihk.com/
Author: Qianhai HK Insight
Description: Tema briefing bisnis independen untuk panduan Qianhai, Hong Kong, Greater Bay Area, dan riset lintas batas berbahasa Indonesia.
Version: 1.3.13
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: jembatan-qianhai
*/

:root {
	--navy: #102a43;
	--navy-deep: #081c2e;
	--blue: #d9eaf7;
	--blue-soft: #eef6fb;
	--gold: #c5902e;
	--gold-soft: #f4e7c8;
	--paper: #f7fafc;
	--surface: #ffffff;
	--ink: #152536;
	--muted: #53697b;
	--line: #bed1df;
	--danger: #8c3d2d;
	--white: #ffffff;
	--shadow: 0 22px 58px rgba(8, 28, 46, 0.12);
	--wrap: 1180px;
	--narrow: 790px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 17px;
	line-height: 1.72;
	-webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: #0c557d; text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: #8a5c0d; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap, .wrap-wide, .wrap-narrow { width: min(calc(100% - 40px), var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(calc(100% - 40px), 1360px); }
.wrap-narrow { width: min(calc(100% - 40px), 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 {
	position: fixed !important; inset: 12px auto auto 12px; z-index: 100000;
	width: auto; height: auto; padding: 12px 18px; clip: auto;
	background: var(--surface); color: var(--navy); box-shadow: var(--shadow);
}

.header-note { background: var(--navy-deep); color: #dbeaf4; font-size: .76rem; letter-spacing: .04em; }
.header-note .wrap { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-note a { color: var(--gold-soft); }
.site-header { position: relative; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: grid; grid-template-columns: minmax(250px, 1fr) auto auto; align-items: center; gap: 28px; }
.brand-link, .footer-brand { color: var(--navy); text-decoration: none; }
.brand-link { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 52px; height: 52px; border: 1px solid var(--line); background: var(--navy); overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.25rem; letter-spacing: -.02em; }
.brand-copy small { max-width: 330px; margin-top: 5px; color: var(--muted); font-size: .75rem; line-height: 1.3; }
.primary-navigation .menu { display: flex; align-items: center; gap: 24px; margin: 0; padding: 0; list-style: none; }
.primary-navigation a { color: var(--ink); font-size: .88rem; font-weight: 650; text-decoration: none; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: #8a5c0d; }
.header-library { padding: 9px 14px; border: 1px solid var(--navy); color: var(--navy); font-size: .78rem; font-weight: 750; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--surface); color: var(--navy); padding: 9px 12px; }
.menu-toggle-lines { width: 20px; height: 12px; display: inline-block; margin-right: 8px; border-block: 2px solid currentColor; position: relative; }
.menu-toggle-lines::after { content: ""; position: absolute; top: 4px; left: 0; right: 0; border-top: 2px solid currentColor; }

.eyebrow { margin: 0 0 10px; color: var(--gold); font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, h4 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; line-height: 1.13; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6vw, 5.4rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.8rem); letter-spacing: -.025em; }
h3 { font-size: 1.35rem; }
.button {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 20px;
	border: 1px solid var(--gold); background: var(--gold); color: var(--navy-deep);
	font-size: .84rem; font-weight: 800; letter-spacing: .04em; text-decoration: none;
}
.button:hover { background: #d4a84f; color: var(--navy-deep); transform: translateY(-1px); }
.button-secondary { border-color: rgba(255,255,255,.55); background: transparent; color: var(--white); }
.button-secondary:hover { background: var(--white); color: var(--navy); }
.button-light { border-color: var(--white); background: var(--white); color: var(--navy); }
.text-link { font-size: .85rem; font-weight: 800; }

.qh-hero { overflow: hidden; background: var(--navy); color: var(--white); position: relative; }
.qh-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(118deg, transparent 58%, rgba(217,234,247,.08) 58% 75%, transparent 75%); pointer-events: none; }
.qh-hero-grid { position: relative; display: grid; grid-template-columns: 58px minmax(0, 1.22fr) minmax(330px, .78fr); gap: clamp(28px, 5vw, 70px); align-items: center; min-height: 650px; padding-block: 72px; }
.qh-hero-rail { align-self: stretch; display: flex; flex-direction: column; align-items: center; gap: 12px; padding-block: 8px; border-inline: 1px solid rgba(217,234,247,.25); color: var(--blue); }
.qh-hero-rail span, .qh-hero-rail small { writing-mode: vertical-rl; font-size: .75rem; letter-spacing: .2em; }
.qh-hero-rail strong { font-size: 1.8rem; color: var(--gold); }
.qh-hero-rail i { flex: 1; width: 1px; background: linear-gradient(var(--gold), transparent); }
.qh-hero-copy h1 { max-width: 780px; margin: 8px 0 22px; color: var(--white); }
.hero-intro { max-width: 690px; color: #d8e7f2; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.hero-disclosure { max-width: 700px; padding: 13px 16px; border-left: 3px solid var(--gold); background: rgba(255,255,255,.06); color: #c9dce9; font-size: .84rem; }
.qh-brief-card { position: relative; background: var(--surface); color: var(--ink); box-shadow: 18px 18px 0 rgba(197,144,46,.24); }
.brief-card-head { padding: 17px 20px; display: flex; justify-content: space-between; gap: 16px; background: var(--blue); color: var(--navy); font-size: .75rem; letter-spacing: .08em; }
.brief-steps { margin: 0; padding: 8px 22px; list-style: none; counter-reset: brief; }
.brief-steps li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.brief-steps li > span { color: var(--gold); font-size: .75rem; font-weight: 850; }
.brief-steps div { display: grid; }
.brief-steps strong { color: var(--navy); }
.brief-steps small { color: var(--muted); }
.brief-feature { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding: 18px 22px; background: var(--navy-deep); color: var(--white); text-decoration: none; }
.brief-feature small { grid-column: 1; color: var(--gold-soft); text-transform: uppercase; letter-spacing: .1em; }
.brief-feature strong { grid-column: 1; font-family: Georgia, serif; }
.brief-feature span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--gold); }

.status-strip { background: var(--blue); border-bottom: 1px solid var(--line); }
.status-strip-grid { display: grid; grid-template-columns: repeat(3, .65fr) 1.55fr; align-items: stretch; }
.status-strip-grid > * { margin: 0; padding: 20px 24px; border-left: 1px solid rgba(16,42,67,.18); }
.status-strip-grid span { display: block; color: var(--navy); font-family: Georgia, serif; font-size: 2rem; line-height: 1; }
.status-strip-grid small { color: var(--muted); }
.status-strip-grid p { color: var(--navy); font-size: .82rem; }

.section-heading { display: flex; justify-content: space-between; gap: 44px; align-items: end; margin-bottom: 34px; }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 450px; margin: 0; color: var(--muted); }
.topic-paths { padding-block: 90px; }
.topic-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.topic-grid a { min-height: 225px; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-right: 1px solid var(--line); color: var(--ink); text-decoration: none; background: var(--surface); }
.topic-grid a:last-child { border-right: 0; }
.topic-grid a:hover { background: var(--blue-soft); box-shadow: inset 0 -4px var(--gold); }
.topic-grid span { color: var(--gold); font-weight: 850; }
.topic-grid strong { margin-top: auto; color: var(--navy); font-family: Georgia, serif; font-size: 1.45rem; }
.topic-grid small { color: var(--muted); }

.latest-guides { padding-block: 90px; background: var(--navy-deep); color: var(--white); }
.section-heading-light h2 { color: var(--white); }
.section-heading-light > p { color: #bed4e2; }
.light-link { color: var(--gold-soft); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.guide-card { background: var(--surface); color: var(--ink); border: 1px solid rgba(190,209,223,.8); min-width: 0; }
.card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--blue); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.guide-card:hover .card-image img { transform: scale(1.025); }
.card-body { padding: 24px; }
.card-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--muted); font-size: .75rem; }
.card-kicker { color: #80550b; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.card-title { margin: 15px 0 10px; font-size: 1.45rem; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-body > p { color: var(--muted); font-size: .92rem; }
.image-placeholder { height: 100%; display: grid; place-items: center; }
.image-placeholder i { width: 42%; height: 1px; background: var(--line); }

.editorial-promise { background: var(--gold); }
.promise-grid { min-height: 250px; display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 36px; }
.promise-number { font-family: Georgia, serif; font-size: 4rem; color: var(--navy); border-right: 1px solid rgba(16,42,67,.35); }
.promise-grid h2 { margin: 4px 0 10px; max-width: 760px; }
.promise-grid p { max-width: 760px; }

.breadcrumbs { padding-block: 18px; font-size: .78rem; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.listing-page { padding-block: 56px 90px; }
.archive-header { max-width: 820px; margin-bottom: 48px; padding-left: 26px; border-left: 5px solid var(--gold); }
.archive-header h1 { margin: 4px 0 16px; font-size: clamp(2.3rem, 5vw, 4.4rem); }
.archive-description, .archive-header > p { color: var(--muted); }
.listing-grid { grid-template-columns: repeat(3, 1fr); }
.navigation.pagination { margin-top: 42px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { min-width: 42px; padding: 8px 12px; border: 1px solid var(--line); background: var(--surface); text-align: center; }
.page-numbers.current { background: var(--navy); color: var(--white); }
.empty-state, .error-page { margin-block: 60px 100px; padding: clamp(28px, 7vw, 70px); background: var(--surface); border-top: 5px solid var(--gold); box-shadow: var(--shadow); }

.article-header { padding-block: 48px 38px; }
.article-kicker { color: #80550b; font-size: .75rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.article-header h1 { margin: 12px 0 20px; font-size: clamp(2.35rem, 6vw, 4.7rem); }
.article-deck { color: var(--muted); font-family: Georgia, serif; font-size: 1.2rem; line-height: 1.55; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .78rem; }
.article-hero { margin-bottom: 44px; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
figcaption { padding-top: 9px; color: var(--muted); font-size: .75rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 790px) 260px; justify-content: space-between; gap: 70px; align-items: start; }
.article-content { min-width: 0; padding-bottom: 50px; }
.entry-content > p:first-child { color: var(--navy); font-family: Georgia, serif; font-size: 1.18rem; }
.entry-content h2 { margin: 64px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: clamp(1.65rem, 3vw, 2.35rem); scroll-margin-top: 24px; }
.entry-content h2, .entry-content h3 { overflow-wrap: anywhere; }
.entry-content h3 { margin: 34px 0 12px; }
.entry-content p { margin: 0 0 20px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote { margin: 30px 0; padding: 18px 24px; border-left: 4px solid var(--gold); background: var(--blue-soft); }
.entry-content a { overflow-wrap: anywhere; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; -webkit-overflow-scrolling: touch; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.article-toc { margin: 30px 0 42px; padding: 24px; border: 1px solid var(--line); border-left: 5px solid var(--gold); background: var(--surface); }
.article-toc .toc-title { margin: 0 0 12px; color: var(--navy); font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.article-toc ol { columns: 2; margin: 0; padding-left: 20px; }
.article-toc li { break-inside: avoid; }
.independence-note, .source-caution, .catatan-keamanan, .catatan-praktik { margin: 28px 0; padding: 18px 20px; border-left: 4px solid var(--gold); background: var(--blue-soft); color: var(--navy); }
.source-caution { border-color: var(--danger); background: #fff3ef; }
.decision-notes { display: grid; grid-template-columns: 150px 1fr; border: 1px solid var(--line); }
.decision-notes dt, .decision-notes dd { margin: 0; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.decision-notes dt { color: var(--navy); font-weight: 800; background: var(--blue-soft); }
.wp-block-image { margin: 40px 0; }
.wp-block-image img { width: 100%; }
.article-aside { position: sticky; top: 28px; }
.editorial-card { padding: 24px; border-top: 5px solid var(--gold); background: var(--navy); color: #dceaf3; }
.editorial-card h2 { color: var(--white); font-size: 1.45rem; }
.editorial-card a { color: var(--gold-soft); }
.ledger-tabs { display: flex; gap: 5px; margin-bottom: 22px; }
.ledger-tabs i { width: 28px; height: 4px; background: var(--gold); }
.article-footer { padding-block: 30px 80px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.tag-list a { padding: 5px 10px; border: 1px solid var(--line); background: var(--surface); font-size: .75rem; text-decoration: none; }
.author-note { display: grid; grid-template-columns: 70px 1fr; gap: 22px; padding: 28px; background: var(--blue); }
.author-note h2 { margin: 0 0 8px; font-size: 1.5rem; }
.author-avatar { width: 70px; height: 70px; display: grid; place-items: center; background: var(--navy); color: var(--gold-soft); font-family: Georgia, serif; font-size: 1.5rem; }
.related-guides { padding-block: 70px; background: var(--blue-soft); border-top: 1px solid var(--line); }

.page-main { padding-block: 50px 90px; }
.page-article { padding: clamp(26px, 6vw, 64px); background: var(--surface); border-top: 5px solid var(--gold); box-shadow: 0 16px 40px rgba(8,28,46,.07); }
.page-content h1, .page-header h1 { margin-top: 0; font-size: clamp(2.3rem, 5vw, 4rem); }
.page-content h2 { margin-top: 44px; }
.page-content li { margin-bottom: 8px; }

.search-form { margin-top: 24px; }
.search-form label { display: block; margin-bottom: 8px; color: var(--navy); font-weight: 750; }
.search-fields { display: flex; max-width: 650px; }
.search-field, input[type="text"], input[type="email"], input[type="url"], select, textarea {
	width: 100%; border: 1px solid #91aabd; background: var(--surface); color: var(--ink); padding: 12px 14px; border-radius: 0;
}
.search-fields button, input[type="submit"], button[type="submit"] { border: 1px solid var(--navy); background: var(--navy); color: var(--white); padding: 11px 20px; cursor: pointer; }
textarea { min-height: 180px; resize: vertical; }
.contact-unavailable { padding: 18px; border-left: 4px solid var(--gold); background: var(--blue-soft); }

.site-footer { background: var(--navy-deep); color: #d4e2ec; }
.footer-callout { min-height: 215px; display: flex; justify-content: space-between; align-items: center; gap: 30px; border-bottom: 1px solid rgba(217,234,247,.16); }
.footer-callout h2 { max-width: 760px; margin: 0; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 54px; padding-block: 52px; }
.footer-brand { color: var(--white); font-family: Georgia, serif; font-size: 1.5rem; }
.footer-heading { color: var(--gold-soft); font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-menu { margin: 0; padding: 0; list-style: none; }
.footer-menu li { margin-bottom: 8px; }
.site-footer a { color: #e4edf3; }
.site-footer .button-light {
	border-color: var(--white);
	background: var(--white);
	color: var(--navy-deep);
}
.site-footer .button-light:hover {
	border-color: var(--gold-soft);
	background: var(--gold-soft);
	color: var(--navy-deep);
}
.footer-note { max-width: 470px; color: #9fb6c7; font-size: .82rem; }
.footer-bottom { min-height: 70px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid rgba(217,234,247,.16); font-size: .75rem; }
.footer-utility-links { display: flex; flex-wrap: wrap; gap: 18px; }

.cookie-consent { position: fixed; inset: auto 18px 18px; z-index: 9999; max-width: 760px; margin-inline: auto; padding: 20px; border: 1px solid var(--line); border-top: 5px solid var(--gold); background: var(--surface); box-shadow: var(--shadow); }
.cookie-consent[hidden], .cookie-consent-settings[hidden] { display: none; }
.cookie-consent-main { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: end; }
.cookie-consent-copy h2 { margin: 0 0 8px; font-size: 1.45rem; }
.cookie-consent-copy p { margin: 0 0 8px; font-size: .86rem; }
.cookie-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(92px, 1fr)); gap: 8px; }
.cookie-consent-choice { min-height: 44px; border: 2px solid var(--navy); background: var(--navy); color: var(--white); cursor: pointer; font-weight: 800; }
.cookie-consent-choice + .cookie-consent-choice { background: var(--surface); color: var(--navy); }
.cookie-consent-settings-toggle { grid-column: 1 / -1; border: 0; background: transparent; color: var(--navy); text-decoration: underline; cursor: pointer; }
.cookie-consent-settings { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.cookie-essential-choice { display: flex; gap: 10px; }
.cookie-essential-choice span { display: grid; }

@media (max-width: 1000px) {
	.header-inner { grid-template-columns: 1fr auto auto; }
	.menu-toggle { display: inline-flex; align-items: center; }
	.primary-navigation { display: none; position: absolute; inset: 100% 0 auto; padding: 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
	.primary-navigation.is-open { display: block; }
	.primary-navigation .menu { width: min(100%, var(--wrap)); margin-inline: auto; display: grid; gap: 4px; }
	.primary-navigation a { display: block; padding: 10px; }
	.qh-hero-grid { grid-template-columns: 44px 1fr; }
	.qh-brief-card { grid-column: 2; max-width: 700px; }
	.topic-grid { grid-template-columns: repeat(2, 1fr); }
	.topic-grid a:nth-child(2) { border-right: 0; }
	.topic-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.guide-grid, .listing-grid { grid-template-columns: repeat(2, 1fr); }
	.article-layout { grid-template-columns: minmax(0, 1fr); }
	.article-aside { position: static; }
}

@media (max-width: 700px) {
	body { font-size: 16px; }
	.wrap, .wrap-wide, .wrap-narrow { width: min(calc(100% - 26px), var(--wrap)); }
	.header-note .wrap { justify-content: center; }
	.header-note a { display: none; }
	.header-inner { min-height: 76px; grid-template-columns: 1fr auto; gap: 12px; }
	.brand-mark { width: 44px; height: 44px; }
	.brand-copy small, .header-library { display: none; }
	.qh-hero-grid { grid-template-columns: 1fr; padding-block: 48px; }
	.qh-hero-rail { display: none; }
	.qh-brief-card { grid-column: 1; box-shadow: 9px 9px 0 rgba(197,144,46,.22); }
	.qh-hero-copy h1 { font-size: clamp(2.5rem, 13vw, 4.3rem); }
	.status-strip-grid { grid-template-columns: repeat(3, 1fr); }
	.status-strip-grid > * { padding: 14px 10px; text-align: center; }
	.status-strip-grid p { grid-column: 1 / -1; border-top: 1px solid rgba(16,42,67,.18); }
	.section-heading { display: block; }
	.section-heading > p { margin-top: 16px; }
	.topic-paths, .latest-guides { padding-block: 62px; }
	.topic-grid, .guide-grid, .listing-grid { grid-template-columns: 1fr; }
	.topic-grid a { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
	.promise-grid { grid-template-columns: 64px 1fr; padding-block: 34px; }
	.promise-number { font-size: 2.8rem; }
	.promise-grid .button { grid-column: 2; justify-self: start; }
	.article-toc ol { columns: 1; }
	.article-header { padding-top: 30px; }
	.article-header h1 { font-size: clamp(2.25rem, 11vw, 3.6rem); }
	.author-note { grid-template-columns: 1fr; }
	.footer-callout { display: block; padding-block: 38px; }
	.footer-callout .button { margin-top: 18px; }
	.footer-grid { grid-template-columns: 1fr; gap: 26px; }
	.footer-bottom { display: block; padding-block: 20px; }
	.cookie-consent { inset: auto 8px 8px; }
	.cookie-consent-main { grid-template-columns: 1fr; }
	.search-fields { display: grid; grid-template-columns: 1fr auto; }
}

@media (max-width: 380px) {
	.hero-actions { display: grid; }
	.status-strip-grid span { font-size: 1.55rem; }
	.brief-card-head { display: grid; }
	.promise-grid { grid-template-columns: 1fr; }
	.promise-number { border-right: 0; border-bottom: 1px solid rgba(16,42,67,.35); }
	.promise-grid .button { grid-column: 1; }
}

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

@media print {
	.header-note, .primary-navigation, .menu-toggle, .header-library, .site-footer, .cookie-consent, .article-aside, .breadcrumbs { display: none !important; }
	body { background: #fff; color: #000; font-size: 11pt; }
	.wrap, .wrap-wide, .wrap-narrow, .article-layout { width: 100%; display: block; }
	a { color: #000; text-decoration: underline; }
}

/* v1.3.6: long owner facts (SHA-256, email, policy text) never overflow narrow screens. */
.legal-facts dd, [data-qianhai-fact], .legal-facts a[href^="mailto:"] { overflow-wrap: anywhere; word-break: normal; }

/* v1.3.7: owner-fact lists read as label/value pairs without default dl indentation. */
.legal-facts dl { margin: 0; }
.legal-facts dt { margin-top: .85rem; font-weight: 700; }
.legal-facts dd { margin: .15rem 0 0; }
