/* ==========================================================================
   The Announcer GH — main stylesheet
   ========================================================================== */

:root {
	--navy: #141f3b;
	--navy-2: #1d2b4f;
	--gold: #9a6b43;
	--gold-soft: #f6efe7;
	--red: #c8102e;
	--ink: #16181d;
	--ink-2: #3d4250;
	--muted: #6b7180;
	--line: #e6e7ea;
	--bg: #ffffff;
	--bg-soft: #f5f6f8;
	--radius: 10px;
	--shadow: 0 1px 2px rgba(20, 31, 59, .06), 0 6px 20px rgba(20, 31, 59, .06);
	--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
	--sans: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--container: 1240px;
	--gutter: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.22; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 900px) { :root { --gutter: 24px; } }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---------- Icons & buttons ---------- */
.icon { flex: none; }
.icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px;
	background: transparent; border: 0; border-radius: 8px; color: inherit;
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); color: inherit; }
.icon-btn .icon { width: 22px; height: 22px; }
.button, .comment-form input[type="submit"] {
	display: inline-block; background: var(--navy); color: #fff; border: 0;
	padding: 12px 22px; border-radius: 8px; font-weight: 600;
}
.button:hover, .comment-form input[type="submit"]:hover { background: var(--gold); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
.topbar-inner { display: flex; align-items: center; gap: 20px; min-height: 38px; }
.topbar-date { font-weight: 500; white-space: nowrap; }
.topbar-nav { margin-right: auto; }
.topbar-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.topbar-social { margin-left: auto; }
.topbar-nav + .topbar-social { margin-left: 0; }

.social-links { display: flex; gap: 6px; align-items: center; }
.social-links a { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--ink-2); }
.social-links a:hover { background: var(--navy); color: #fff; }
.social-links .icon { width: 15px; height: 15px; }

/* ---------- Header ---------- */
.site-header { background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.site-branding { flex: 0 1 420px; min-width: 0; }
.custom-logo-link { display: block; }
.custom-logo { width: 100%; max-width: 420px; height: auto; }
.header-ad { flex: 0 1 728px; min-width: 0; }
.header-ad .ad-unit { margin: 0; }

/* ---------- Primary nav ---------- */
.nav-wrap { position: sticky; top: 0; z-index: 90; background: var(--navy); color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.admin-bar .nav-wrap { top: 32px; }
@media (max-width: 782px) { .admin-bar .nav-wrap { top: 0; } }
.nav-inner { display: flex; align-items: center; gap: 8px; min-height: 52px; }
.nav-toggle { display: none; }
.nav-logo { display: none; flex: none; }
.nav-logo img { height: 30px; width: auto; }
.nav-wrap.is-stuck .nav-logo { display: block; }
.primary-nav { flex: 1; min-width: 0; }
.nav-menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
	display: block; padding: 15px 13px; font-size: 14px; font-weight: 600;
	text-transform: uppercase; letter-spacing: .04em; color: #fff; position: relative;
}
.nav-menu > li > a::after {
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 8px; height: 2px;
	background: var(--gold); transform: scaleX(0); transition: transform .2s ease;
}
.nav-menu > li > a:hover::after,
.nav-menu > .current-menu-item > a::after,
.nav-menu > .current-cat > a::after,
.nav-menu > .current-menu-ancestor > a::after { transform: scaleX(1); }
.nav-menu > li > a:hover { color: #fff; }
.nav-menu .sub-menu, .nav-menu .children {
	position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; color: var(--ink);
	list-style: none; margin: 0; padding: 8px 0; border-radius: 0 0 8px 8px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease; z-index: 5;
}
.nav-menu li:hover > .sub-menu, .nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub-menu a { display: block; padding: 9px 18px; font-size: 14px; }
.search-toggle { margin-left: auto; }
.search-panel { background: var(--navy-2); padding: 14px 0; }
.search-panel .search-form { max-width: 640px; margin: 0 auto; }

/* ---------- Search form ---------- */
.search-form { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.search-field { flex: 1; min-width: 0; border: 0; padding: 12px 18px; font: inherit; font-size: 15px; background: transparent; color: var(--ink); }
.search-field:focus { outline: none; }
.search-form:focus-within { box-shadow: 0 0 0 3px rgba(154, 107, 67, .35); }
.search-submit { border: 0; background: var(--gold); color: #fff; width: 52px; display: grid; place-items: center; }
.search-submit:hover { background: var(--navy); }

/* ---------- Ticker ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-inner { display: flex; align-items: center; gap: 14px; height: 44px; overflow: hidden; }
.ticker-label {
	flex: none; display: inline-flex; align-items: center; gap: 8px; background: var(--red); color: #fff;
	font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 6px 12px; border-radius: 4px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); } 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-list { display: flex; gap: 48px; list-style: none; margin: 0; padding: 0; white-space: nowrap; width: max-content; animation: ticker 60s linear infinite; }
.ticker-list li { font-size: 14px; font-weight: 500; position: relative; }
.ticker-list li + li::before { content: "•"; position: absolute; left: -28px; color: var(--gold); }
.ticker:hover .ticker-list, .ticker:focus-within .ticker-list { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-list { animation: none; } .pulse { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Common blocks ---------- */
.site-main { padding-bottom: 40px; }
.section-title {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	font-family: var(--sans); font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
	border-bottom: 2px solid var(--line); margin: 0 0 18px; color: var(--navy);
}
.section-title > span { position: relative; padding: 0 0 10px; }
.section-title > span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); }
.see-all { font-size: 12px; font-weight: 700; color: var(--gold); padding-bottom: 10px; letter-spacing: .04em; }
.block { margin-bottom: 40px; }

.cat-badge {
	display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
	color: var(--gold); margin-bottom: 8px;
}
a.cat-badge:hover { color: var(--navy); }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.meta-author { font-weight: 600; color: var(--ink-2); }

.thumb-placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy), var(--navy-2) 60%, var(--gold)); }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.sidebar-sticky { position: sticky; top: 72px; display: grid; gap: 28px; }
.sidebar .ad-unit { margin: 0; }
.widget { margin: 0; }
.widget ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 14px; margin-top: 24px; margin-bottom: 40px; }
.hero-side { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.overlay { position: relative; display: flex; border-radius: var(--radius); overflow: hidden; background: var(--navy); min-height: 200px; }
.overlay-link { display: flex; flex: 1; width: 100%; color: #fff; }
.overlay-link:hover { color: #fff; }
.overlay img, .overlay .thumb-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.overlay:hover img { transform: scale(1.04); }
.overlay-body {
	position: relative; flex: 1; display: flex; flex-direction: column; justify-content: flex-end; width: 100%;
	padding: 18px; background: linear-gradient(180deg, rgba(10, 14, 28, 0) 25%, rgba(10, 14, 28, .88) 100%);
}
.overlay .cat-badge { color: #fff; background: var(--gold); padding: 3px 8px; border-radius: 3px; align-self: flex-start; }
.overlay-title { color: #fff; font-size: 17px; margin: 0 0 6px; }
.overlay .entry-meta { color: rgba(255, 255, 255, .8); }
.overlay .meta-author { color: #fff; }
.overlay-main { min-height: 480px; }
.hero-side .meta-author, .hero-side .sep { display: none; }
.grid-4 .entry-meta .meta-author, .grid-4 .entry-meta .sep { display: none; }
.overlay-main .overlay-body { padding: 28px; }
.overlay-main .overlay-title { font-size: clamp(24px, 3vw, 36px); margin-bottom: 10px; }
.overlay-excerpt { color: rgba(255, 255, 255, .88); font-size: 15.5px; margin: 0 0 10px; max-width: 60ch; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; min-width: 0; }
.card-media { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); margin-bottom: 12px; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-title { font-size: 18px; margin: 0 0 8px; }
.card-title a:hover { color: var(--gold); }
.card-excerpt { color: var(--ink-2); font-size: 15px; margin: 0 0 10px; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
.split > .card .card-title { font-size: 24px; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; align-content: start; }
.mini { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
.mini + .mini { padding-top: 16px; border-top: 1px solid var(--line); }
.mini-media { display: block; aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden; background: var(--bg-soft); }
.mini-media img { width: 100%; height: 100%; object-fit: cover; }
.mini-title { font-size: 15.5px; margin: 0 0 4px; line-height: 1.3; }

/* List cards (archive) */
.list { display: grid; gap: 24px; }
.card-row { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.card-row .card-media { margin: 0; }
.card-row .card-title { font-size: 21px; }

/* Ranked list */
.ranked-list { list-style: none; margin: 0; padding: 0; counter-reset: rank; }
.ranked-list li { counter-increment: rank; position: relative; padding: 12px 0 12px 46px; border-bottom: 1px solid var(--line); }
.ranked-list li::before {
	content: counter(rank); position: absolute; left: 0; top: 8px; font-family: var(--serif);
	font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1;
}
.ranked-list a { font-family: var(--serif); font-weight: 600; font-size: 16px; line-height: 1.3; display: block; margin-bottom: 4px; }

/* Tabs */
.tab-list { display: flex; border-bottom: 2px solid var(--line); margin-bottom: 8px; }
.tab-list button {
	flex: 1; background: none; border: 0; padding: 10px 8px; font-size: 13px; font-weight: 800;
	text-transform: uppercase; letter-spacing: .06em; color: var(--muted); position: relative;
}
.tab-list button[aria-selected="true"] { color: var(--navy); }
.tab-list button[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); }
.tabs .mini-list { padding-top: 10px; }

.follow-box { background: var(--navy); color: #fff; padding: 22px; border-radius: var(--radius); }
.follow-box .section-title { color: #fff; border-color: rgba(255, 255, 255, .15); }
.follow-box p { color: rgba(255, 255, 255, .8); font-size: 14px; margin: 0 0 14px; }
.social-big a { width: 40px; height: 40px; background: rgba(255, 255, 255, .1); color: #fff; }
.social-big a:hover { background: var(--gold); }
.social-big .icon { width: 18px; height: 18px; }
.follow-box .social-links:empty, .follow-box:not(:has(.social-links)) { display: none; }

/* ---------- Ads ---------- */
.ad-unit { margin: 28px auto; text-align: center; overflow: hidden; max-width: 100%; }
.ad-label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 6px; }
.ad-placeholder {
	border: 2px dashed #c9ccd3; border-radius: 8px; padding: 22px 16px; color: var(--muted);
	font-size: 13px; font-weight: 600; background: repeating-linear-gradient(45deg, #fafafa, #fafafa 10px, #f3f4f6 10px, #f3f4f6 20px);
}
.ad-placeholder small { font-weight: 400; }
.ad-header .ad-placeholder { min-height: 90px; display: grid; place-content: center; }
.ad-sidebar .ad-placeholder { min-height: 250px; display: grid; place-content: center; }
.ad-in_article, .ad-article_top { margin: 24px 0; }
.ad-footer { margin-top: 0; }

/* ---------- Breadcrumbs & archives ---------- */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 20px 0 0; padding: 0; font-size: 13px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #b5b8c0; }
.breadcrumbs a:hover { color: var(--gold); }
.archive-header { padding: 18px 0 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.archive-kicker { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 4px; }
.archive-title { font-size: clamp(30px, 4vw, 44px); margin: 0; }
.archive-desc { color: var(--ink-2); max-width: 70ch; margin-top: 8px; }
.archive-desc p { margin: 0; }
.archive-lead { margin-bottom: 28px; }
.archive-lead .overlay-main { min-height: 400px; }
.author-head { display: flex; align-items: center; gap: 16px; }
.author-head img { border-radius: 50%; }
.search-page-form { max-width: 560px; margin-top: 16px; }

.pagination { margin-top: 36px; }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.pagination a, .pagination span {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 8px; font-weight: 600; font-size: 14px;
}
.pagination .current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination a:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Single article ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .1s linear; }
.admin-bar .read-progress { top: 32px; }

.article { min-width: 0; }
.article-header { padding-top: 18px; }
.article .entry-title { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.15; margin-bottom: 14px; }
.standfirst { font-family: var(--serif); font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); line-height: 1.5; margin: 0 0 20px; }
.byline { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.byline-avatar img { border-radius: 50%; width: 44px; height: 44px; }
.byline-text { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.byline-author { font-weight: 600; }
.byline-author a { color: var(--navy); }
.byline-date { color: var(--muted); display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.byline-date .icon { width: 14px; height: 14px; }

.entry-figure { margin: 22px 0; }
.entry-figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.entry-figure figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.article-body { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 28px; }
.entry-content { font-family: var(--serif); font-size: 19px; line-height: 1.75; color: #1f2229; min-width: 0; }
.entry-content > * { margin-top: 0; margin-bottom: 1.15em; }
.entry-content h2 { font-size: 27px; margin-top: 1.6em; }
.entry-content h3 { font-size: 22px; margin-top: 1.4em; }
.entry-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { color: var(--navy); }
.entry-content blockquote {
	margin-left: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--gold);
	font-size: 22px; font-style: italic; color: var(--navy);
}
.entry-content img, .entry-content figure { border-radius: 8px; max-width: 100%; }
.entry-content figcaption { font-family: var(--sans); font-size: 13px; color: var(--muted); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px; text-align: left; }
.entry-content .demo-note { font-family: var(--sans); font-size: 14px; color: var(--muted); background: var(--bg-soft); padding: 10px 14px; border-radius: 8px; }
.entry-content .ad-unit { font-family: var(--sans); }
.alignwide { margin-left: -40px; margin-right: -40px; max-width: none; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.page-article .entry-title { font-size: clamp(30px, 4vw, 42px); margin-top: 18px; }
.page-article .entry-content { font-size: 18px; }

/* Share */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-inline { margin: 16px 0 0; }
.share-label { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 4px; }
.share-btn {
	display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 0; border-radius: 999px;
	font-size: 13.5px; font-weight: 600; color: #fff; transition: transform .15s ease, filter .15s ease;
}
.share-btn:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.08); }
.share-btn .icon { width: 17px; height: 17px; }
.share-whatsapp { background: #25d366; }
.share-facebook { background: #1877f2; }
.share-x { background: #0f1419; }
.share-instagram { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.share-email { background: #5f6673; }
.share-copy { background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.share-copy:hover { color: var(--ink); }

.share-sticky { flex-direction: column; align-self: start; position: sticky; top: 84px; gap: 10px; }
.share-sticky .share-btn { width: 44px; height: 44px; padding: 0; justify-content: center; }
.share-sticky .share-btn span { display: none; }

.share-cta { background: var(--gold-soft); border-radius: var(--radius); padding: 20px; margin: 28px 0; text-align: center; }
.share-cta p { margin: 0 0 4px; font-weight: 600; color: var(--navy); }
.share-cta .share { justify-content: center; }
.share-cta .share-label { display: none; }

/* Article footer */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.tag-list a { font-size: 13px; font-weight: 600; background: var(--bg-soft); padding: 6px 12px; border-radius: 999px; color: var(--ink-2); }
.tag-list a:hover { background: var(--navy); color: #fff; }
.author-box { display: flex; gap: 18px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 28px 0; }
.author-box img { border-radius: 50%; flex: none; }
.author-box h3 { font-size: 20px; margin: 0 0 6px; }
.author-box p { margin: 0; color: var(--ink-2); font-size: 15px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.post-nav a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--serif); font-weight: 600; line-height: 1.35; }
.post-nav a span { display: block; font-family: var(--sans); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: 6px; }
.post-nav-next { text-align: right; grid-column: 2; }
.post-nav a:hover { border-color: var(--gold); }
.related { margin: 40px 0; }

/* Comments */
.comments { margin-top: 40px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 28px; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px; font: inherit; background: #fff;
}
.comment-form textarea:focus, .comment-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(154, 107, 67, .2); }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding-top: 50px; }
.error-404 .search-form { max-width: 520px; margin: 22px auto 44px; }
.error-code { font-family: var(--serif); font-size: 110px; font-weight: 700; line-height: 1; margin: 0; color: var(--gold); }
.error-latest { text-align: left; }
.no-results { padding: 30px; background: var(--bg-soft); border-radius: var(--radius); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .78); margin-top: 20px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 40px; }
.footer-logo img { width: 260px; height: auto; margin-bottom: 16px; }
.footer-about p { margin: 0 0 16px; max-width: 42ch; }
.footer-title, .site-footer .section-title { font-family: var(--sans); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; border: 0; }
.site-footer .section-title > span::after { display: none; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #d8b48f; }
.footer-latest a { font-family: var(--serif); color: #fff; line-height: 1.35; }
.footer-contact { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-social a { background: rgba(255, 255, 255, .08); color: #fff; width: 36px; height: 36px; }
.footer-social a:hover { background: var(--gold); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 18px; font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 300; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(10, 14, 28, .55); animation: fade .2s ease; }
.drawer-panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 360px); background: #fff; overflow-y: auto;
	padding: 18px; display: flex; flex-direction: column; gap: 18px; animation: slide .25s ease;
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.drawer-head .custom-logo { max-width: 220px; }
.drawer-head .icon-btn:hover { background: var(--bg-soft); }
.drawer-menu { list-style: none; margin: 0; padding: 0; }
.drawer-menu a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 16px; }
.drawer-menu .sub-menu, .drawer-menu .children { list-style: none; padding-left: 14px; margin: 0; }
.drawer-menu .sub-menu a { font-weight: 500; font-size: 15px; }
.drawer-menu-small a { font-size: 14px; font-weight: 500; color: var(--ink-2); border: 0; padding: 8px 4px; }
.drawer-social a { background: var(--bg-soft); width: 38px; height: 38px; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(-100%); } }
body.drawer-open { overflow: hidden; }

/* ---------- Misc ---------- */
.back-to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 46px; height: 46px; border-radius: 50%; border: 0;
	background: var(--navy); color: #fff; font-size: 20px; box-shadow: var(--shadow);
}
.back-to-top:hover { background: var(--gold); }
.toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 400; background: var(--ink); color: #fff;
	padding: 12px 20px; border-radius: 10px; font-size: 14px; box-shadow: var(--shadow); max-width: calc(100vw - 32px); text-align: center;
}
.wp-caption, .gallery-caption { max-width: 100%; }
.sticky .card-title::before { content: none; }
.bypostauthor > .comment-body .fn::after { content: " ✓"; color: var(--gold); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
	.nav-menu > li > a { padding: 15px 10px; font-size: 13px; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar-sticky { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.hero { grid-template-columns: 1fr; }
	.overlay-main { min-height: 420px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.topbar-nav { display: none; }
	.header-inner { padding-top: 12px; padding-bottom: 12px; }
	.site-branding { flex-basis: 100%; }
	.custom-logo { max-width: 300px; margin: 0 auto; }
	.header-ad { display: none; }
	.nav-toggle { display: inline-grid; }
	.primary-nav { display: none; }
	.nav-logo { display: block; opacity: 0; transition: opacity .2s; }
	.nav-wrap.is-stuck .nav-logo { opacity: 1; }
	.nav-inner { justify-content: space-between; min-height: 50px; }
	.search-toggle { margin-left: 0; }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.split { grid-template-columns: 1fr; }
	.card-row { grid-template-columns: 220px minmax(0, 1fr); }
	.article-body { grid-template-columns: minmax(0, 1fr); }
	.share-sticky {
		position: fixed; top: auto; bottom: 0; left: 0; right: 0; z-index: 85; flex-direction: row; justify-content: space-around;
		gap: 0; background: #fff; border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .06); transform: translateY(110%); transition: transform .25s ease;
	}
	.share-sticky.is-visible { transform: none; }
	.share-sticky .share-btn { width: 42px; height: 42px; }
	.single .back-to-top { bottom: 76px; }
	.alignwide { margin-left: 0; margin-right: 0; }
}

@media (max-width: 640px) {
	body { font-size: 15.5px; }
	.topbar-date { font-size: 12px; }
	.topbar-social { gap: 2px; }
	.topbar-social a { width: 26px; height: 26px; }
	.custom-logo { max-width: 260px; }
	.hero { margin-top: 14px; gap: 10px; }
	.hero-side { grid-template-columns: 1fr; gap: 0; border-top: 0; }
	.hero-side .overlay { min-height: 0; background: none; border-radius: 0; border-bottom: 1px solid var(--line); }
	.hero-side .overlay-link { display: grid; flex: none; grid-template-columns: minmax(0, 1fr) 104px; gap: 12px; color: var(--ink); padding: 12px 0; }
	.hero-side .overlay img, .hero-side .overlay .thumb-placeholder { position: static; grid-column: 2; grid-row: 1; aspect-ratio: 1; border-radius: 8px; height: auto; }
	.hero-side .overlay-body { grid-column: 1; grid-row: 1; padding: 0; background: none; justify-content: flex-start; }
	.hero-side .overlay .cat-badge { background: none; color: var(--gold); padding: 0; }
	.hero-side .overlay-title { color: var(--ink); font-size: 16px; }
	.hero-side .overlay .entry-meta { color: var(--muted); }
	.hero-side .overlay .meta-author { color: var(--ink-2); }
	.overlay-main { min-height: 360px; border-radius: var(--radius); }
	.overlay-main .overlay-body { padding: 18px; }
	.overlay-excerpt { display: none; }
	.grid-3, .grid-4 { grid-template-columns: 1fr; }
	.grid-3 .card, .grid-4 .card { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
	.grid-3 .card-media, .grid-4 .card-media { grid-column: 2; grid-row: 1; aspect-ratio: 1; margin: 0; border-radius: 8px; }
	.grid-3 .card-body, .grid-4 .card-body { grid-column: 1; grid-row: 1; }
	.grid-3 .card-title, .grid-4 .card-title { font-size: 16.5px; }
	.grid { gap: 16px; }
	.split > .card .card-title { font-size: 21px; }
	.card-row { grid-template-columns: minmax(0, 1fr) 110px; gap: 12px; padding-bottom: 16px; }
	.card-row .card-media { grid-column: 2; grid-row: 1; aspect-ratio: 1; border-radius: 8px; }
	.card-row .card-body { grid-column: 1; grid-row: 1; }
	.card-row .card-title { font-size: 17px; }
	.card-row .card-excerpt { display: none; }
	.list { gap: 16px; }
	.sidebar-sticky { grid-template-columns: 1fr; }
	.entry-content { font-size: 18px; line-height: 1.7; }
	.entry-figure { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
	.entry-figure img { border-radius: 0; }
	.entry-figure figcaption { padding: 0 var(--gutter); }
	.share-inline .share-btn span { display: none; }
	.share-inline .share-btn { width: 40px; padding: 0; justify-content: center; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav-next { grid-column: auto; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
	.footer-bottom-inner { flex-direction: column; text-align: center; }
	.author-box { flex-direction: column; }
	.block { margin-bottom: 32px; }
}

@media print {
	.topbar, .nav-wrap, .ticker, .sidebar, .share, .ad-unit, .site-footer, .related, .comments, .back-to-top, .post-nav, .share-cta { display: none !important; }
	.layout, .article-body { display: block; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-page { padding-bottom: 20px; }
.contact-hero { padding: 18px 0 28px; max-width: 760px; }
.contact-intro { font-size: 17px; color: var(--ink-2); margin-top: 10px; }
.contact-intro p { margin: 0 0 .6em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px; box-shadow: var(--shadow); }
.contact-form-card { padding: 28px; scroll-margin-top: 80px; }
.contact-card-title { font-size: 24px; margin-bottom: 18px; }
.contact-form .field { margin: 0 0 16px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.contact-form .req { color: var(--red); }
.contact-form .opt { font-weight: 400; color: var(--muted); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form select, .contact-form textarea {
	width: 100%; border: 1px solid #d7d9de; border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15.5px;
	background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(154, 107, 67, .2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-check { display: flex; gap: 10px; align-items: flex-start; }
.field-check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--navy); }
.field-check label { font-weight: 400; color: var(--ink-2); margin: 0; }
.field-check a { color: var(--gold); text-decoration: underline; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.button-lg { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; font-size: 16px; }
.button[disabled] { opacity: .7; cursor: wait; }
.form-notice { border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; font-size: 15px; }
.form-notice.is-success { background: #e9f7ef; color: #14532d; border: 1px solid #b7e4c7; }
.form-notice.is-error { background: #fdecee; color: #7f1d1d; border: 1px solid #f5c2c7; }
.form-notice strong { display: block; }
.contact-info { display: grid; gap: 14px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; }
.info-item h3 { font-family: var(--sans); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin: 2px 0 4px; }
.info-item a { font-weight: 600; color: var(--navy); word-break: break-word; }
.info-item a:hover { color: var(--gold); }
.info-item p { margin: 0; color: var(--ink-2); }
.info-hours { margin-top: 6px !important; font-size: 14px; color: var(--muted) !important; }
.info-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); }
.info-icon .icon { width: 20px; height: 20px; }
.info-icon.is-wa { background: #e7f9ee; color: #1da851; }
.contact-follow { background: var(--navy); border-color: var(--navy); color: #fff; }
.contact-follow h3 { font-family: var(--sans); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: #fff; margin: 0 0 12px; }
.contact-follow:not(:has(.social-links)) { display: none; }
.contact-map { margin-top: 32px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 380px; border: 0; display: block; }

@media (max-width: 900px) {
	.contact-grid { grid-template-columns: 1fr; }
	.contact-info { grid-template-columns: 1fr 1fr; }
	.contact-follow { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.field-row { grid-template-columns: 1fr; gap: 0; }
	.contact-form-card { padding: 20px; }
	.contact-info { grid-template-columns: 1fr; }
	.contact-map iframe { height: 280px; }
	.button-lg { width: 100%; justify-content: center; }
}
