/*
Theme Name: LedgerAsia
Theme URI: https://ledgerasia.local
Author: LedgerAsia Design
Author URI: https://ledgerasia.local
Description: Editorial theme for a pan-Asian financial publication. Golden-ratio type scale (Spectral / Hanken Grotesk / IBM Plex Mono), a live ledger ticker, the "ledger line" citation motif, and a built-in dark mode. Classic PHP theme — all CSS lives in this single stylesheet, all JS in assets/js/ledgerasia.js.
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ledgerasia
Domain Path: /languages
Tags: news, editorial, finance, two-columns, custom-logo, custom-menu, featured-images, dark-mode, translation-ready
*/

/* =================================================================
   1. DESIGN TOKENS  (README §Colour / §Dark mode / §Type)
   ================================================================= */
:root {
	/* Light palette */
	--page:        #F2EEE3;
	--paper:       #F6F2E8;
	--card:        #FFFDF7;
	--card-hover:  #FBF6EA;
	--sunk:        #ECE6D6;
	--ink:         #0A1F44;
	--text-2:      rgba(10, 31, 68, .62);
	--text-3:      rgba(10, 31, 68, .45);
	--border:      rgba(10, 31, 68, .12);
	--border-2:    rgba(10, 31, 68, .20);

	/* Brand */
	--indigo:      #2B47C9;
	--azure:       #1E86E0;
	--teal:        #15B9C6;
	--gold:        #F2A93C;
	--accent:      var(--azure);   /* link / kicker accent */
	--footer-bg:   #071530;

	/* Semantic */
	--up:          #15808C;
	--down:        #C0392B;

	/* Ledger-line gradient (rules, data-viz, mark, CTAs) */
	--flow: linear-gradient(90deg, #0A1F44 0%, #2B47C9 30%, #1E86E0 52%, #15B9C6 78%, #F2A93C 100%);

	/* Type families */
	--serif: "Spectral", Georgia, "Times New Roman", serif;
	--sans:  "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--mono:  "IBM Plex Mono", "SFMono-Regular", Menlo, Consolas, monospace;

	/* Golden-ratio scale (φ = 1.618), base 16 */
	--fs-micro:   11px;
	--fs-meta:    12px;
	--fs-ui:      15px;
	--fs-body:    16px;
	--fs-body-lg: 20px;
	--fs-h2:      26px;
	--fs-feature: 33px;
	--fs-h1:      42px;
	--fs-display: 68px;

	/* Layout */
	--wrap:   1240px;
	--read:   720px;
	--radius: 11px;
	--gap:    24px;
}

html[data-theme="dark"] {
	--page:        #0B1A2E;
	--paper:       #0E2138;
	--card:        #12263F;
	--card-hover:  #16304E;
	--sunk:        #05101D;
	--ink:         #ECE6D8;
	--text-2:      rgba(236, 230, 216, .62);
	--text-3:      rgba(236, 230, 216, .42);
	--border:      rgba(255, 255, 255, .08);
	--border-2:    rgba(255, 255, 255, .16);

	--accent:      #6FC3E8;
	--teal:        #54C2D4;
	--gold:        #F2A93C;
	--footer-bg:   #05101D;

	--up:          #3FCF8E;
	--down:        #FF6B6B;

	--flow: linear-gradient(90deg, #6FC3E8 0%, #2B47C9 30%, #1E86E0 52%, #54C2D4 78%, #F2A93C 100%);
}

/* =================================================================
   2. RESET / BASE
   ================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--fs-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	transition: background-color .25s ease, color .25s ease;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
footer h1, footer h2, footer h3, footer h4 { color: #ECE6D8; }
footer .la-meta { color: #ECE6D8; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-body-lg); }

p { margin: 0 0 1em; }

hr { border: 0; height: 1px; background: var(--border); margin: 2rem 0; }

.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;
}

.skip-link {
	position: absolute; left: -9999px; top: 0;
	background: var(--ink); color: var(--page);
	padding: 10px 16px; z-index: 1000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Shared wrappers */
.la-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.la-read { max-width: var(--read); margin: 0 auto; padding: 0 24px; }
main.la-main { display: block; min-height: 50vh; padding-bottom: 56px; }

.la-kicker {
	font-family: var(--mono);
	font-size: var(--fs-micro);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 600;
}
.la-meta {
	font-family: var(--mono);
	font-size: var(--fs-meta);
	letter-spacing: .04em;
	color: var(--text-2);
}

.la-rule { height: 3px; border: 0; margin: 0; background: var(--flow); }

/* "Ledger line" citation motif: hairline + gold tick + kicker */
.la-ledger-line {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--mono); font-size: var(--fs-micro);
	letter-spacing: .1em; text-transform: uppercase;
	color: var(--text-2);
	padding: 10px 0;
	border-top: 1px solid var(--border);
}
.la-ledger-line::before {
	content: ""; width: 18px; height: 3px; background: var(--gold); flex: none; border-radius: 2px;
}

/* =================================================================
   3. TICKER (CSS marquee — duplicated track, translateX 0 → -50%)
   ================================================================= */
.la-ticker {
	background: var(--ink);
	color: #ECE6D8;
	overflow: hidden;
	white-space: nowrap;
	border-bottom: 1px solid rgba(255,255,255,.08);
}
html[data-theme="dark"] .la-ticker { background: var(--sunk); }

.la-ticker__track {
	display: inline-flex;
	align-items: center;
	height: 38px;
	animation: tickerScroll 48s linear infinite;
	will-change: transform;
}
.la-ticker:hover .la-ticker__track { animation-play-state: paused; }

.la-ticker__item {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 0 18px;
	font-family: var(--mono); font-size: var(--fs-meta);
	letter-spacing: .03em; color: #ECE6D8;
}
.la-ticker__sym  { color: rgba(236,230,216,.7); }
.la-ticker__up   { color: var(--up); }
.la-ticker__down { color: var(--down); }

.la-ticker__live {
	display: inline-flex; align-items: center; gap: 7px;
	padding: 0 18px 0 20px;
	font-family: var(--mono); font-size: var(--fs-micro);
	letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}
.la-ticker__live::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%;
	background: var(--up); animation: pulse 1.6s ease-in-out infinite;
}

@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
	.la-ticker__track { animation: none; }
	.la-ticker__live::before { animation: none; }
}

/* =================================================================
   4. MASTHEAD
   ================================================================= */
.la-masthead { background: var(--paper); border-bottom: 1px solid var(--border); }
.la-masthead__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 22px 32px;
	max-width: var(--wrap); margin: 0 auto;
}
.la-brand { display: flex; align-items: center; gap: 10px; }
.la-brand__mark { width: 34px; height: 34px; flex: none; }
.la-wordmark {
	font-family: var(--serif); font-weight: 600; font-size: var(--fs-feature);
	letter-spacing: -.015em; color: var(--ink); line-height: 1; text-decoration: none;
}
.la-wordmark b { color: var(--indigo); font-weight: 600; }
html[data-theme="dark"] .la-wordmark b { color: var(--accent); }
.custom-logo-link img { max-height: 44px; width: auto; }

/* Default (theme) horizontal logo image, with light/dark variant swap */
.la-logo { display: inline-flex; align-items: center; }
.la-logo__img { height: 40px; width: auto; display: block; }
.la-logo__img--dark { display: none; }
html[data-theme="dark"] .la-logo__img--light { display: none; }
html[data-theme="dark"] .la-logo__img--dark { display: block; }

.la-masthead__tools { display: flex; align-items: center; gap: 14px; }

.la-clock {
	font-family: var(--mono); font-size: var(--fs-meta); font-weight: 500;
	color: var(--text-2); letter-spacing: .06em; white-space: nowrap;
}
.la-clock span { color: var(--ink); }

/* search */
.la-search { position: relative; }
.la-search input[type="search"] {
	font-family: var(--sans); font-size: var(--fs-ui);
	background: var(--card); color: var(--ink);
	border: 1px solid var(--border); border-radius: 999px;
	padding: 8px 16px; width: 190px; max-width: 40vw;
}
.la-search input::placeholder { color: var(--text-3); }
.la-search input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

/* theme toggle */
.la-theme-toggle {
	width: 40px; height: 40px; flex: none;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--card); color: var(--ink);
	border: 1px solid var(--border); border-radius: 999px; cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}
.la-theme-toggle:hover { background: var(--card-hover); border-color: var(--border-2); }
.la-theme-toggle svg { width: 18px; height: 18px; }
.la-theme-toggle .icon-moon { display: block; }
.la-theme-toggle .icon-sun  { display: none; }
html[data-theme="dark"] .la-theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .la-theme-toggle .icon-sun  { display: block; }

.la-cta {
	font-family: var(--sans); font-size: var(--fs-ui); font-weight: 600;
	color: #fff; background: var(--ink);
	padding: 9px 18px; border-radius: 999px; white-space: nowrap;
}
.la-cta:hover { text-decoration: none; opacity: .92; }
html[data-theme="dark"] .la-cta { background: var(--accent); color: var(--sunk); }

/* hamburger */
.la-hamburger {
	display: none; flex-direction: column; gap: 4px; width: 40px; height: 40px;
	align-items: center; justify-content: center;
	background: var(--card); border: 1px solid var(--border); border-radius: 10px; cursor: pointer;
}
.la-hamburger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }

/* =================================================================
   5. PRIMARY NAV
   ================================================================= */
.la-nav { background: var(--paper); border-bottom: 1px solid var(--border); }
.la-nav__inner {
	display: flex; align-items: center; gap: 28px;
	max-width: var(--wrap); margin: 0 auto; padding: 0 32px;
	height: 50px;
}
.la-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; height: 50px; }
.la-nav li { height: 50px; }
.la-nav a {
	display: flex; align-items: center; height: 50px;
	font-family: var(--sans); font-size: var(--fs-ui); font-weight: 600;
	color: var(--text-2); text-decoration: none; border-bottom: 2px solid transparent;
	white-space: nowrap;
}
.la-nav a:hover { color: var(--ink); }
.la-nav .current-menu-item > a,
.la-nav .current_page_item > a,
.la-nav .current-menu-parent > a { color: var(--ink); border-bottom-color: var(--gold); }

/* submenu cấp 2 (hiện khi hover item cấp 1) */
.la-nav__primary > li { position: relative; }
.la-nav__primary .menu-item-has-children > a::after { content: " ▾"; font-size: .8em; }
.la-nav__primary .sub-menu {
	position: absolute; left: 0; top: 50px; height: auto;
	flex-direction: column; gap: 0; min-width: 200px;
	background: var(--card); border: 1px solid var(--border); border-radius: 10px;
	padding: 8px 0; box-shadow: 0 24px 60px -28px rgba(10,31,68,.5); display: none; z-index: 60;
}
.la-nav__primary > li:hover > .sub-menu,
.la-nav__primary > li:focus-within > .sub-menu { display: flex; }
.la-nav__primary .sub-menu li { height: auto; }
.la-nav__primary .sub-menu a { height: auto; padding: 8px 18px; border: 0; white-space: nowrap; }

.la-nav__more { margin-left: auto; position: relative; }
.la-nav__more-toggle {
	display: none; align-items: center; gap: 6px;
	font-family: var(--mono); font-size: var(--fs-meta); font-weight: 500;
	color: var(--text-2); background: none; border: 0; cursor: pointer; height: 50px;
}
.la-nav__more ul {
	position: absolute; right: 0; top: 50px; height: auto;
	flex-direction: column; gap: 0; min-width: 200px;
	background: var(--card); border: 1px solid var(--border); border-radius: 10px;
	padding: 8px 0; box-shadow: 0 24px 60px -28px rgba(10,31,68,.5); display: none; z-index: 60;
}
.la-nav__more.is-open ul { display: flex; }
.la-nav__more li, .la-nav__more a { height: auto; }
.la-nav__more a { padding: 8px 18px; border: 0; }

/* gradient divider under nav */
.la-divider { height: 3px; background: var(--flow); }

/* =================================================================
   6. CONTENT GRIDS & CARDS
   ================================================================= */
.la-section { padding: 36px 0 0; }
.la-section__head {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
	border-bottom: 1px solid var(--border); padding-bottom: 10px; margin-bottom: 20px;
}
.la-section__title { font-size: var(--fs-h2); margin: 0; }

.la-grid-3 { display: grid; grid-template-columns: 1.62fr 1fr .92fr; gap: 40px; }
.la-grid-3 > * { min-width: 0; }
.la-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.la-grid-3up { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.la-grid-2 { display: grid; grid-template-columns: 1.5fr 1fr; gap: var(--gap); }

.la-col + .la-col { border-left: 1px solid var(--border); padding-left: 40px; }

/* Article card */
.la-card { background: transparent; }
.la-card__thumb {
	display: block; border-radius: var(--radius); overflow: hidden; margin-bottom: 12px;
	aspect-ratio: 16 / 9; background: var(--flow);
}
.la-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.la-card__title { font-size: var(--fs-body-lg); margin: 0 0 6px; }
.la-card__title a { color: var(--ink); }
.la-card__title a:hover { color: var(--accent); text-decoration: none; }
.la-card__excerpt { color: var(--text-2); font-size: var(--fs-body); margin: 0 0 8px; }

.la-card--lead .la-card__title { font-size: var(--fs-h1); line-height: 1.08; }
.la-card--lead .la-card__excerpt { font-size: var(--fs-body-lg); font-family: var(--serif); }

/* compact list item (sidebar) */
.la-list { list-style: none; margin: 0; padding: 0; }
.la-list li { padding: 14px 0; border-top: 1px solid var(--border); }
.la-list li:first-child { border-top: 0; }
.la-list__title { font-family: var(--serif); font-size: var(--fs-body); font-weight: 600; }
.la-list__title a { color: var(--ink); }
.la-list__rank { font-family: var(--mono); font-size: var(--fs-h2); color: var(--text-3); margin-right: 10px; }

/* =================================================================
   7. INDEX BOARD (Markets) + sparklines
   ================================================================= */
.la-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 28px; }
.la-board__card {
	background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 16px 18px; display: flex; flex-direction: column; gap: 8px;
}
.la-board__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.la-board__name { font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.la-board__val  { font-family: var(--serif); font-size: var(--fs-body-lg); font-weight: 600; }
.la-board__chg  { font-family: var(--mono); font-size: var(--fs-meta); }
.la-board__chg.is-up   { color: var(--up); }
.la-board__chg.is-down { color: var(--down); }
.la-board__spark { width: 64px; height: 28px; flex: none; }

/* =================================================================
   8. SINGLE / ARTICLE
   ================================================================= */
.la-article { padding: 40px 0 0; }
.la-breadcrumb { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.la-breadcrumb a { color: var(--indigo); }
html[data-theme="dark"] .la-breadcrumb a { color: var(--accent); }

.la-article__title { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 18px; }
.la-article__dek { font-family: var(--serif); font-size: var(--fs-body-lg); line-height: 1.5; color: var(--text-2); margin: 0 0 24px; }

.la-byline {
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
	padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 8px;
}
.la-byline__id { display: flex; align-items: center; gap: 12px; }
.la-byline__avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #0A1F44, #2B47C9); flex: none; overflow: hidden; }
.la-byline__avatar img { width: 100%; height: 100%; object-fit: cover; }
.la-byline__name { font-weight: 700; font-size: 14px; }

.la-figure { margin: 24px 0; }
.la-figure img { border-radius: var(--radius); width: 100%; }
.la-figure figcaption { font-family: var(--mono); font-size: var(--fs-micro); color: var(--text-3); margin-top: 8px; }

/* article body typography */
.la-content { font-size: var(--fs-body); line-height: 1.75; }
.la-content > p { font-family: var(--serif); font-size: 18px; line-height: 1.8; margin: 0 0 1.2em; }
.la-content h2 { font-size: var(--fs-h2); margin: 1.6em 0 .5em; }
.la-content h3 { font-size: var(--fs-body-lg); margin: 1.4em 0 .4em; }
.la-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.la-content blockquote {
	margin: 1.5em 0; padding: 8px 0 8px 22px; border-left: 3px solid var(--gold);
	font-family: var(--serif); font-size: var(--fs-body-lg); color: var(--ink);
}
.la-content figure { margin: 24px 0; }
.la-content img { border-radius: var(--radius); }
.la-content ul, .la-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.la-content code { font-family: var(--mono); font-size: .9em; background: var(--sunk); padding: 2px 6px; border-radius: 4px; }

/* data callout (article hero figure) */
.la-display {
	font-family: var(--serif); font-size: var(--fs-display); line-height: 1; font-weight: 600;
	background: var(--flow); -webkit-background-clip: text; background-clip: text; color: transparent;
	margin: .2em 0;
}

.la-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; }
.la-tags a {
	font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .06em;
	color: var(--text-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px;
}
.la-tags a:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }

.la-related { border-top: 1px solid var(--border); margin-top: 46px; padding-top: 30px; }

/* =================================================================
   9. FORMS
   ================================================================= */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
	font-family: var(--sans); font-size: var(--fs-body); color: var(--ink);
	background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; width: 100%;
}
textarea { min-height: 140px; }
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.la-btn, input[type="submit"], button.submit {
	font-family: var(--sans); font-size: var(--fs-ui); font-weight: 600;
	background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 11px 22px; cursor: pointer;
}
html[data-theme="dark"] .la-btn, html[data-theme="dark"] input[type="submit"] { background: var(--accent); color: var(--sunk); }

/* =================================================================
   10. PAGINATION
   ================================================================= */
.la-pagination { margin: 40px 0; display: flex; gap: 8px; flex-wrap: wrap; }
.la-pagination .page-numbers {
	font-family: var(--mono); font-size: var(--fs-meta);
	border: 1px solid var(--border); border-radius: 8px; padding: 8px 14px; color: var(--text-2);
}
.la-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.la-pagination a.page-numbers:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }

/* =================================================================
   11. NEWSLETTER + FOOTER
   ================================================================= */
.la-newsletter { background: var(--paper); border-top: 1px solid var(--border); margin-top: 56px; }
.la-newsletter__inner {
	max-width: var(--wrap); margin: 0 auto; padding: 36px 32px;
	display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.la-newsletter h2 { margin: 0 0 4px; }
.la-newsletter form { display: flex; gap: 10px; flex: 1; max-width: 460px; min-width: 260px; }
.la-newsletter input { flex: 1; }

.la-footer { background: var(--footer-bg); color: rgba(236,230,216,.78); }
.la-footer a { color: rgba(236,230,216,.78); }
.la-footer a:hover { color: #fff; text-decoration: none; }
.la-footer__top { height: 3px; background: var(--flow); }
.la-footer__inner { max-width: var(--wrap); margin: 0 auto; padding: 48px 32px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.la-footer__brand .la-wordmark { color: #ECE6D8; }
.la-footer__brand .la-wordmark b { color: var(--gold); }
.la-footer ul { list-style: none; margin: 0; padding: 0; }
.la-footer li { padding: 6px 0; font-size: var(--fs-ui); }
.la-footer__col h4 { color: #ECE6D8; font-family: var(--mono); font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.la-footer__legal { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 32px; max-width: var(--wrap); margin: 0 auto; font-family: var(--mono); font-size: var(--fs-micro); color: rgba(236,230,216,.5); letter-spacing: .04em; }

/* =================================================================
   12. MOBILE BOTTOM TAB BAR (≤480px)
   ================================================================= */
.la-tabbar {
	display: none;
	position: sticky; bottom: 0; z-index: 80;
	background: color-mix(in srgb, var(--paper) 96%, transparent);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	border-top: 1px solid var(--border);
}
.la-tabbar ul { display: flex; justify-content: space-around; list-style: none; margin: 0; padding: 9px 6px 12px; }
.la-tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--text-2); font-family: var(--mono); font-size: 9px; font-weight: 600; text-decoration: none; letter-spacing: .04em; text-transform: uppercase; }
.la-tabbar .current-menu-item a { color: var(--ink); }
.la-tabbar svg, .la-tabbar .dashicons { width: 20px; height: 20px; font-size: 20px; }

/* =================================================================
   13. RESPONSIVE — tablet (≤1023) then mobile (≤480)
   ================================================================= */
@media (max-width: 1023px) {
	:root { --fs-h1: 34px; --fs-display: 52px; }
	.la-wrap, .la-masthead__inner, .la-nav__inner, .la-newsletter__inner { padding-left: 24px; padding-right: 24px; }
	.la-grid-3 { grid-template-columns: 1.5fr 1fr; gap: 28px; }
	.la-grid-3 .la-col--aside { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
	.la-grid-4 { grid-template-columns: repeat(2, 1fr); }
	.la-board { grid-template-columns: repeat(2, 1fr); }
	.la-nav ul.la-nav__primary > li:nth-child(n+5) { display: none; }
	.la-nav__more-toggle { display: inline-flex; }
	.la-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
	:root { --fs-h1: 28px; --fs-h2: 20px; --fs-body-lg: 17px; --fs-feature: 24px; --fs-display: 40px; }
	.la-masthead__inner { padding: 14px 16px; flex-wrap: wrap; }
	.la-wrap, .la-newsletter__inner { padding-left: 16px; padding-right: 16px; }
	.la-read { padding-left: 16px; padding-right: 16px; }
	.la-search, .la-cta, .la-clock { display: none; }
	.la-hamburger { display: flex; }
	.la-nav { display: none; }
	.la-nav.is-open { display: block; }
	.la-nav__inner { flex-direction: column; align-items: stretch; height: auto; padding: 8px 16px; }
	.la-nav ul, .la-nav__primary { flex-direction: column; align-items: stretch; height: auto; gap: 0; }
	.la-nav li, .la-nav a { height: auto; }
	.la-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
	.la-nav__primary .sub-menu {
		position: static; display: flex; box-shadow: none; border: 0;
		border-radius: 0; padding: 0; min-width: 0; background: transparent;
	}
	.la-nav__primary .sub-menu a { padding-left: 16px; }
	.la-nav__more-toggle { display: none; }
	.la-grid-3, .la-grid-4, .la-grid-3up, .la-grid-2 { grid-template-columns: 1fr; gap: 22px; }
	.la-board { grid-template-columns: 1fr 1fr; }
	.la-col + .la-col { border-left: 0; padding-left: 0; }
	.la-footer__inner { grid-template-columns: 1fr; gap: 28px; }
	.la-newsletter__inner { flex-direction: column; align-items: stretch; }
	.la-newsletter form { max-width: none; }
	.la-tabbar { display: block; }
	main.la-main { padding-bottom: 24px; }
}
