/*
Theme Name: Hassan Khan Theme
Description: Lightweight, accessible, mobile-first bilingual (English/Hindi) presentation theme for the Hassan Khan public service platform. Tricolour (saffron, white, green) design. Presentation only: all data and logic live in the Hassan Khan Core plugin.
Version: 0.7.0
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: hassan-khan-theme
*/

/* One font on every device: Poppins, bundled with the theme (no external font service). Covers English and Hindi (Devanagari). */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/poppins-400.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/poppins-500.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/poppins-700.woff") format("woff"); }

:root {
	/* Tricolour palette */
	--hk-saffron: #ff9933;
	--hk-saffron-soft: #fff1e0;
	--hk-saffron-text: #a85200;   /* saffron shade that is readable as text on white */
	--hk-green: #138808;
	--hk-green-dark: #0e6b05;     /* readable as text and as a button background with white text */
	--hk-green-soft: #e8f5e6;
	--hk-chakra: #0b2a5b;         /* Ashoka-chakra navy: headings, text accents */
	--hk-navy: #0b2a5b;
	--hk-navy-dark: #071b3d;

	--hk-bg: #fbfaf7;
	--hk-surface: #ffffff;
	--hk-text: #1a2233;
	--hk-muted: #4a5568;
	--hk-border: #e3e0d8;
	--hk-focus: #1a5fd0;
	--hk-radius: 12px;
	--hk-shadow: 0 1px 2px rgba(11, 42, 91, .06), 0 6px 18px rgba(11, 42, 91, .08);
	--hk-shadow-hover: 0 2px 4px rgba(11, 42, 91, .08), 0 12px 28px rgba(11, 42, 91, .14);
	--hk-tricolour: linear-gradient(90deg, var(--hk-saffron) 0 33.33%, #fff 33.33% 66.66%, var(--hk-green) 66.66% 100%);
	--hk-space: 1rem;
	--hk-font: "Poppins", "Noto Sans Devanagari", "Mukta", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--hk-font-hi: var(--hk-font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; font-family: var(--hk-font); font-size: 1rem; line-height: 1.7; color: var(--hk-text); background: var(--hk-bg); }
img { max-width: 100%; height: auto; }
a { color: var(--hk-chakra); text-underline-offset: 3px; }
a:hover { color: var(--hk-green-dark); }
:focus-visible { outline: 3px solid var(--hk-focus); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.3; color: var(--hk-chakra); }
/* Hindi (secondary language): Devanagari-first font stack and more generous line height. */
:lang(hi) { font-family: var(--hk-font-hi); line-height: 1.8; }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { line-height: 1.45; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--hk-chakra); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 var(--hk-space); }

/* ---------- Header ---------- */
.site-header { position: relative; background: #fff; color: var(--hk-chakra); border-bottom: 1px solid var(--hk-border); box-shadow: 0 2px 10px rgba(11, 42, 91, .06); padding-top: 8px; }
.site-header::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--hk-tricolour); box-shadow: inset 0 -1px 0 rgba(11, 42, 91, .12); }
.site-header a { color: var(--hk-chakra); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; flex-wrap: wrap; }
.site-title { font-size: 1.3rem; font-weight: 700; margin: 0; letter-spacing: .01em; text-transform: capitalize; }
.site-title a { text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.site-title a::before { content: ""; width: 14px; height: 32px; border-radius: 4px; background: linear-gradient(180deg, var(--hk-saffron) 0 33.33%, #fff 33.33% 66.66%, var(--hk-green) 66.66% 100%); border: 1px solid rgba(11, 42, 91, .25); }
.custom-logo-link { display: inline-block; line-height: 0; }
.custom-logo-link img { max-height: 56px; width: auto; }
.nav-toggle { min-height: 44px; min-width: 44px; background: var(--hk-chakra); color: #fff; border: 0; border-radius: 999px; padding: 0 1.1rem; font: inherit; font-weight: 500; cursor: pointer; }
.nav-toggle:hover { background: var(--hk-green-dark); }
.main-nav { width: 100%; display: none; }
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav a { display: block; padding: .75rem 0; min-height: 44px; font-weight: 500; text-decoration: none; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--hk-chakra); border-bottom-color: var(--hk-saffron); }
.lang-switch { list-style: none; display: flex; gap: .5rem; margin: 0; padding: 0; }
.lang-switch a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 .85rem; border: 2px solid var(--hk-chakra); border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; }
.lang-switch .current-lang a { background: var(--hk-chakra); color: #fff; }
.lang-switch a:hover { background: var(--hk-saffron); border-color: var(--hk-saffron); color: var(--hk-navy-dark); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 3.5rem 0 4rem; color: var(--hk-chakra); background: linear-gradient(180deg, var(--hk-saffron-soft) 0%, #ffffff 52%, var(--hk-green-soft) 100%); }
.hero::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--hk-tricolour); box-shadow: inset 0 1px 0 rgba(11, 42, 91, .12); }
/* Decorative 24-spoke wheel (purely visual, ignored by assistive tech) */
.hero::after { content: ""; position: absolute; right: -90px; top: 50%; width: 340px; height: 340px; transform: translateY(-50%); border-radius: 50%; border: 6px solid rgba(11, 42, 91, .13); background: repeating-conic-gradient(rgba(11, 42, 91, .13) 0 1.2deg, transparent 1.2deg 15deg); -webkit-mask: radial-gradient(circle, transparent 0 14%, #000 15% 100%); mask: radial-gradient(circle, transparent 0 14%, #000 15% 100%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--hk-chakra); margin: 0 0 .5rem; font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 700; text-transform: capitalize; }
.hero h1::after { content: ""; display: block; width: 120px; height: 6px; margin-top: .6rem; border-radius: 3px; background: var(--hk-tricolour); box-shadow: 0 0 0 1px rgba(11, 42, 91, .2); }
.hero p { font-size: 1.15rem; max-width: 40rem; color: var(--hk-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Hero photo slot: tricolour frame, portrait crop focused on the face */
.hero-grid { display: block; }
.hero-photo { margin: 2rem auto 0; width: 100%; max-width: 300px; padding: 6px; border-radius: 22px; background: linear-gradient(160deg, var(--hk-saffron) 0 34%, #fff 34% 66%, var(--hk-green) 66% 100%); box-shadow: var(--hk-shadow-hover), 0 0 0 1px rgba(11, 42, 91, .15); }
.hero-photo-img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 16px; background: #fff; }
.hero-photo-empty { display: flex; align-items: center; justify-content: center; text-align: center; aspect-ratio: 4 / 5; padding: 1rem; border-radius: 16px; background: var(--hk-saffron-soft); color: var(--hk-muted); font-size: .95rem; border: 2px dashed var(--hk-saffron); }
@media (min-width: 768px) {
	.hero.has-photo .hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 3rem; }
	.hero-photo { margin: 0 0 0 auto; max-width: 380px; }
	.hero.has-photo::after { right: 4%; width: 420px; height: 420px; }
}

/* ---------- Sections and cards ---------- */
.section { padding: 2.5rem 0; }
.section:nth-of-type(even) { background: #fff; }
.section h2 { margin-top: 0; font-size: clamp(1.4rem, 3.5vw, 1.9rem); }
.section h2::after { content: ""; display: block; width: 72px; height: 5px; margin-top: .5rem; border-radius: 3px; background: var(--hk-tricolour); box-shadow: 0 0 0 1px rgba(11, 42, 91, .18); }
#complaint { background: var(--hk-green-soft); border-top: 4px solid var(--hk-green); border-bottom: 4px solid var(--hk-saffron); }
.card { background: var(--hk-surface); border: 1px solid var(--hk-border); border-top: 4px solid var(--hk-saffron); border-radius: var(--hk-radius); padding: 1.25rem; box-shadow: var(--hk-shadow); transition: box-shadow .2s ease, transform .2s ease; }
.card:nth-child(3n+2) { border-top-color: var(--hk-chakra); }
.card:nth-child(3n) { border-top-color: var(--hk-green); }
.card:hover { box-shadow: var(--hk-shadow-hover); transform: translateY(-2px); }
.card h2::after { display: none; }
.placeholder { border: 2px dashed var(--hk-saffron); border-radius: var(--hk-radius); background: var(--hk-saffron-soft); padding: 1rem; color: var(--hk-muted); }
.meta { color: var(--hk-muted); font-size: .95rem; }
.entry { max-width: 46rem; }

.complaint-cta { background: #fff; border: 1px solid var(--hk-border); border-left: 6px solid var(--hk-green); border-radius: var(--hk-radius); padding: 1.25rem; box-shadow: var(--hk-shadow); margin-bottom: 1.25rem; }
.complaint-lead { margin: 0; font-size: 1.05rem; color: var(--hk-text); }
.complaint-cta .hero-actions { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .65rem 1.6rem; background: var(--hk-saffron); color: var(--hk-navy-dark); font-weight: 700; border: 2px solid var(--hk-saffron); border-radius: 999px; text-decoration: none; box-shadow: 0 3px 10px rgba(255, 153, 51, .4); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button:hover { background: var(--hk-chakra); border-color: var(--hk-chakra); color: #fff; }
.button-green { background: var(--hk-green-dark); border-color: var(--hk-green-dark); color: #fff; box-shadow: 0 3px 10px rgba(19, 136, 8, .35); }
.button-green:hover { background: var(--hk-chakra); border-color: var(--hk-chakra); }
.button-outline { background: transparent; border-color: var(--hk-chakra); color: var(--hk-chakra); box-shadow: none; }
.button-outline:hover { background: var(--hk-chakra); color: #fff; }

/* ---------- Core plugin forms and widgets, restyled to match ---------- */
main .hkc-form input[type="text"], main .hkc-form input[type="tel"], main .hkc-form input[type="email"], main .hkc-form select, main .hkc-form textarea { border: 2px solid #8a93a3; border-radius: 10px; background: #fff; }
main .hkc-form input:focus, main .hkc-form select:focus, main .hkc-form textarea:focus { border-color: var(--hk-green-dark); }
main .hkc-form label { color: var(--hk-chakra); }
main .hkc-button { min-height: 48px; padding: .65rem 1.6rem; background: var(--hk-green-dark); color: #fff; font-weight: 700; border-radius: 999px; box-shadow: 0 3px 10px rgba(19, 136, 8, .3); }
main .hkc-button:hover { background: var(--hk-chakra); }
main .hkc-secondary { background: var(--hk-muted); box-shadow: none; }
main .hkc-box { border-radius: var(--hk-radius); border-left: 5px solid var(--hk-saffron); box-shadow: var(--hk-shadow); }
main .hkc-success { border-color: var(--hk-green); border-left-width: 5px; }
main .hkc-alert { border-left-width: 5px; }
main .hkc-table th { color: var(--hk-chakra); }
main .hkc-gallery img { border-radius: var(--hk-radius); box-shadow: var(--hk-shadow); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--hk-navy-dark); color: #e6e9f0; padding: 2.5rem 0 2rem; margin-top: 2rem; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--hk-tricolour); }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--hk-saffron); }
.site-footer ul { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-footer p { margin: 0; }

@media (min-width: 768px) {
	.nav-toggle { display: none; }
	.main-nav { display: block; width: auto; margin-left: auto; }
	.main-nav ul { display: flex; gap: 1.5rem; }
	.hero { padding: 5rem 0 5.5rem; }
}
@media (max-width: 767px) {
	.hero::after { width: 220px; height: 220px; right: -70px; top: 30%; opacity: .7; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .card:hover { transform: none; } }

/* ---------- Print: clean one-page copy of a complaint receipt ---------- */
.hkc-print { font: inherit; font-weight: 700; cursor: pointer; }
@media print {
	@page { margin: 14mm; }
	html, body { background: #fff !important; color: #000 !important; font-size: 12pt; }
	.skip-link, .nav-toggle, .main-nav, .lang-switch, .site-footer, .no-print, .hkc-print, .hero::after { display: none !important; }
	.site-header { box-shadow: none; border-bottom: 2px solid #000; padding-top: 8px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.site-header::before, .section h2::after, .hero h1::after { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.container { max-width: none; padding: 0; }
	main .hkc-box, main .hkc-success { box-shadow: none; border: 2px solid #000; border-left-width: 6px; break-inside: avoid; }
	main .hkc-box h2 { margin-top: 0; }
	.hkc-code { font-size: 1.4em; letter-spacing: .06em; }
	a { color: #000; text-decoration: none; }
}

/* ======================================================================
   v0.6: fixes and polish
   ====================================================================== */

/* Fix: ".section" reset the container's side padding, so inner pages touched the screen edge. */
.container.section { padding-left: var(--hk-space); padding-right: var(--hk-space); }

/* WordPress core helper (missing before): visually hidden, still read by screen readers. */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* Header: language switch stays beside the title on phones; sticky on larger screens */
.lang-switch { order: 2; margin-left: auto; }
.nav-toggle { order: 3; }
.main-nav { order: 4; }
.main-nav .sub-menu { list-style: none; margin: 0; padding: 0 0 0 1rem; }
@media (min-width: 768px) {
	html { scroll-padding-top: 6rem; }
	.site-header { position: sticky; top: 0; z-index: 50; }
	.admin-bar .site-header { top: 32px; }
	.main-nav { order: 2; margin-left: auto; }
	.lang-switch { order: 3; margin-left: 0; }
	.main-nav li { position: relative; }
	.main-nav .sub-menu { display: none; position: absolute; left: 0; top: 100%; min-width: 230px; flex-direction: column; gap: 0; padding: .25rem 1rem; background: #fff; border: 1px solid var(--hk-border); border-top: 4px solid var(--hk-saffron); border-radius: 0 0 var(--hk-radius) var(--hk-radius); box-shadow: var(--hk-shadow-hover); z-index: 60; }
	.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: flex; }
}

/* Inner page title band */
.page-hero { position: relative; padding: 2.25rem 0 2.5rem; background: linear-gradient(180deg, var(--hk-saffron-soft) 0%, #fff 100%); border-bottom: 1px solid var(--hk-border); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--hk-tricolour); box-shadow: inset 0 1px 0 rgba(11, 42, 91, .12); }
.page-hero h1 { margin: 0; font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 700; }
.page-hero h1::after { content: ""; display: block; width: 90px; height: 5px; margin-top: .6rem; border-radius: 3px; background: var(--hk-tricolour); box-shadow: 0 0 0 1px rgba(11, 42, 91, .2); }
.page-hero .meta { margin: .75rem 0 0; }

/* Readable article typography */
.entry > :first-child { margin-top: 0; }
.entry h2 { margin-top: 2rem; font-size: 1.6rem; }
.entry h3 { margin-top: 1.5rem; font-size: 1.25rem; }
.entry ul, .entry ol { padding-left: 1.4rem; }
.entry li + li { margin-top: .25rem; }
.entry img { border-radius: 10px; }
.entry blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--hk-saffron-soft); border-left: 5px solid var(--hk-saffron); border-radius: 0 var(--hk-radius) var(--hk-radius) 0; }
.entry blockquote p:last-child { margin-bottom: 0; }
.entry table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; display: block; overflow-x: auto; }
.entry th, .entry td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--hk-border); }
.entry th { background: var(--hk-green-soft); color: var(--hk-chakra); }
.entry .alignleft { float: left; margin: .25rem 1.25rem 1rem 0; }
.entry .alignright { float: right; margin: .25rem 0 1rem 1.25rem; }
.entry .aligncenter { display: block; margin: 1rem auto; }
.entry::after { content: ""; display: table; clear: both; }
.entry .wp-block-button__link { background: var(--hk-saffron); color: var(--hk-navy-dark); font-weight: 700; border-radius: 999px; padding: .65rem 1.6rem; text-decoration: none; }
.entry .wp-block-button__link:hover { background: var(--hk-chakra); color: #fff; }
.entry-image { margin: 0 0 1.5rem; max-width: 46rem; }
.entry-image img { width: 100%; border-radius: var(--hk-radius); box-shadow: var(--hk-shadow); }

/* Post list */
.post-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-bottom: 2rem; }
.post-grid .card { display: flex; flex-direction: column; }
.post-grid .card h2 { font-size: 1.2rem; margin: .25rem 0 .5rem; }
.post-grid .card h2 a { text-decoration: none; }
.post-grid .card h2 a:hover { text-decoration: underline; }
.post-grid .card .meta { margin: 0; }
.post-grid .card p:last-child { margin-top: auto; }
.card-thumb { display: block; margin: -.25rem 0 .75rem; line-height: 0; }
.card-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.read-more { font-weight: 700; color: var(--hk-green-dark); text-decoration: none; }
.read-more:hover { text-decoration: underline; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .post-grid { grid-template-columns: repeat(3, 1fr); } }

/* Pagination and post navigation */
.pagination .nav-links, .post-navigation .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .9rem; border: 2px solid var(--hk-chakra); border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--hk-chakra); }
a.page-numbers:hover { background: var(--hk-saffron); border-color: var(--hk-saffron); color: var(--hk-navy-dark); }
.page-numbers.current { background: var(--hk-chakra); color: #fff; }
.page-numbers.dots { border-color: transparent; }
.post-navigation { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hk-border); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { font-weight: 700; text-decoration: none; }

/* Search form and 404 */
.search-form { display: flex; flex-wrap: wrap; gap: .5rem; max-width: 32rem; margin: 1.25rem 0; }
.search-form label { flex: 1 1 200px; }
.search-field { width: 100%; min-height: 48px; padding: .5rem 1.1rem; font: inherit; border: 2px solid #8a93a3; border-radius: 999px; background: #fff; }
.search-field:focus { border-color: var(--hk-green-dark); }
.search-submit { min-height: 48px; padding: 0 1.4rem; font: inherit; font-weight: 700; color: #fff; background: var(--hk-chakra); border: 0; border-radius: 999px; cursor: pointer; }
.search-submit:hover { background: var(--hk-green-dark); }
.not-found { text-align: center; }
.not-found .search-form, .not-found .hero-actions { margin-left: auto; margin-right: auto; justify-content: center; }
.not-found-code { margin: 0; font-size: clamp(4rem, 16vw, 8rem); font-weight: 700; line-height: 1; color: var(--hk-chakra); background: var(--hk-tricolour); -webkit-background-clip: text; background-clip: text; -webkit-text-stroke: 2px var(--hk-chakra); }

/* Footer */
.site-footer { padding-bottom: 5.5rem; }
.footer-grid { display: grid; gap: 1.25rem; }
.footer-name { margin: 0; font-size: 1.25rem; font-weight: 700; color: #fff; text-transform: capitalize; }
.footer-tagline { margin: .25rem 0 0; color: #c5cde0; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .2); }
.to-top { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: none; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr auto; align-items: start; } }

/* Floating "register a complaint" shortcut (appears on every page except the form itself) */
.fab { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: .6rem; min-height: 52px; padding: 0 1.4rem; background: var(--hk-green-dark); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid #fff; border-radius: 999px; box-shadow: 0 6px 20px rgba(11, 42, 91, .35); }
.fab::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--hk-saffron); box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.fab:hover { background: var(--hk-chakra); color: #fff; }

/* Gentle reveal on scroll (modern browsers only; skipped when the visitor prefers reduced motion) */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.card, .complaint-cta { animation: hk-rise linear backwards; animation-timeline: view(); animation-range: entry 0% cover 22%; }
		@keyframes hk-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
	}
}

@media print { .fab, .to-top, .search-form, .post-navigation { display: none !important; } .page-hero { background: #fff; } }

/* ---------- Fonts: the same typeface in every control, and for complaint codes ---------- */
button, input, select, textarea { font-family: inherit; }
main .hkc-code, .hkc-code { font-family: var(--hk-font); font-weight: 700; letter-spacing: .08em; }
main .hkc-form label { font-weight: 500; }
