/*
Theme Name: Horn Globe
Theme URI: https://hornglobe.news
Author: Horn Globe
Description: Block theme for Horn Globe -- independent news and analysis on the Horn of Africa. Brand-kit tokens live in theme.json.
Template: twentytwentyfive
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
Version: 2.5.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hornglobe
*/

/* ---------- Lockup ---------- */
.hg-lockup { display: inline-flex; align-items: center; text-decoration: none !important; line-height: 1; }
.hg-lockup__mark { display: inline-flex; line-height: 0; }
.hg-lockup__word { font-family: var(--wp--preset--font-family--label); font-weight: 800; letter-spacing: -0.035em; white-space: nowrap; }

/* ---------- Header ---------- */
.hg-topbar { font-family: var(--wp--preset--font-family--label); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hg-topbar a { color: inherit; text-decoration: none; }
.hg-topbar a:hover { text-decoration: underline; }
.hg-masthead { border-bottom: 3px solid var(--wp--preset--color--frankincense); }
.hg-masthead .wp-block-navigation a { color: var(--wp--preset--color--contrast); }
.hg-masthead .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--ink); }

/* ---------- Labels and text styles ---------- */
.is-style-kicker,
.hg-kicker { font-family: var(--wp--preset--font-family--label); font-size: var(--wp--preset--font-size--x-small); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--ink); margin-bottom: 0.25rem; }
.is-style-standfirst { font-family: var(--wp--preset--font-family--headline); font-size: var(--wp--preset--font-size--large); line-height: 1.4; color: var(--wp--preset--color--muted); }
.wp-block-post-excerpt.hg-standfirst .wp-block-post-excerpt__excerpt { font-family: var(--wp--preset--font-family--headline); font-size: var(--wp--preset--font-size--large); line-height: 1.4; color: var(--wp--preset--color--muted); }
.taxonomy-hg_type.wp-block-post-terms a { color: var(--wp--preset--color--muted); }
.hg-type-analysis .taxonomy-hg_type a,
.taxonomy-hg_type a[href*="/type/analysis"] { color: var(--wp--preset--color--sea-glass); }
.taxonomy-hg_type a[href*="/type/opinion"] { color: var(--wp--preset--color--coral); }

/* Section heading with gold rule */
.is-style-section-rule { display: flex; align-items: center; gap: 1rem; font-family: var(--wp--preset--font-family--label) !important; font-size: var(--wp--preset--font-size--x-small) !important; font-weight: 800 !important; letter-spacing: 0.14em !important; text-transform: uppercase; color: var(--wp--preset--color--contrast); }
.is-style-section-rule::after { content: ""; flex: 1; height: 1px; background: var(--wp--preset--color--line); }
.is-style-section-rule a { color: inherit; text-decoration: none; }
.is-style-section-rule::before { content: ""; width: 10px; height: 10px; background: var(--wp--preset--color--frankincense); clip-path: polygon(0 0, 100% 0, 100% 100%); flex: none; }

/* ---------- Story cards ---------- */
.hg-card .wp-block-post-title { margin-top: 0.35rem; }
.hg-card .wp-block-post-featured-image { margin-bottom: 0.75rem; }
.hg-card .wp-block-post-featured-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.hg-lead .wp-block-post-featured-image img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.hg-rail-list .wp-block-post { padding-block: 0.9rem; border-top: 1px solid var(--wp--preset--color--line); }
.hg-rail-list .wp-block-post:first-child { border-top: 0; padding-top: 0; }
.hg-briefing-list { counter-reset: brief; }
.hg-briefing-list .wp-block-post { counter-increment: brief; display: grid; grid-template-columns: 2.2rem 1fr; padding-block: 0.85rem; border-top: 1px solid rgba(247, 250, 252, 0.14); }
.hg-briefing-list .wp-block-post:first-child { border-top: 0; }
.hg-briefing-list .wp-block-post::before { content: counter(brief, decimal-leading-zero); font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.8125rem; color: var(--wp--preset--color--frankincense-light); padding-top: 0.3rem; }
.hg-briefing-list .wp-block-post-title a { color: var(--hg-on-navy); }
.hg-briefing-list .wp-block-post-title a:hover { color: var(--wp--preset--color--frankincense-light); }
.hg-on-ocean .wp-block-post-terms a { color: var(--wp--preset--color--frankincense-light); }
.hg-on-ocean .wp-block-post-title a { color: var(--hg-on-navy); }
.hg-on-ocean .wp-block-post-date,
.hg-on-ocean .wp-block-post-excerpt { color: var(--wp--preset--color--ocean-muted); }

/* ---------- Article ---------- */
.hg-byline { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.hg-byline > * { margin: 0 !important; }
.hg-byline .wp-block-post-date { font-size: inherit; }
.hg-byline > * + *::before { content: "·"; margin-right: 0.6rem; color: var(--wp--preset--color--line); }
.hg-article .wp-block-post-content > p:first-of-type:not(.hg-brief__intro)::first-letter { font-family: var(--wp--preset--font-family--headline); float: left; font-size: 3.6em; line-height: 0.85; padding: 0.35rem 0.5rem 0 0; color: var(--wp--preset--color--contrast); font-weight: 600; }
.hg-share { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; font-family: var(--wp--preset--font-family--label); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hg-share__label { color: var(--wp--preset--color--muted); }
.wp-block-post-featured-image figcaption,
.hg-caption { font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); }

.is-style-fact-box { background: var(--wp--preset--color--mist); border-top: 3px solid var(--wp--preset--color--sea-glass); padding: 1.5rem; }
.is-style-correction { background: var(--wp--preset--color--mist); border-left: 3px solid var(--wp--preset--color--ink); padding: 1rem 1.25rem; font-size: var(--wp--preset--font-size--small); }
.is-style-breaking { background: var(--wp--preset--color--coral); color: var(--hg-on-navy); padding: 0.6rem clamp(1rem, 4vw, 2.5rem); font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: 0.875rem; }
.is-style-breaking a { color: inherit; }

/* ---------- Footer ---------- */
.hg-footer a { color: var(--hg-on-navy); text-decoration: none; }
.hg-footer a:hover { color: var(--wp--preset--color--frankincense-light); text-decoration: underline; }
.hg-footer .hg-footer__head { font-family: var(--wp--preset--font-family--label); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--frankincense-light); }
.hg-footer ul { list-style: none; padding: 0; margin: 0; }
.hg-footer li { margin: 0 0 0.5rem; }

/* ---------- Newsletter ---------- */
.hg-newsletter input[type="email"] { width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--wp--preset--color--line); font: inherit; font-size: 1rem; background: #fff; }
.hg-newsletter form { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.hg-newsletter form input[type="email"] { flex: 1 1 240px; }
.hg-newsletter button { background: var(--wp--preset--color--frankincense-light); color: var(--wp--preset--color--contrast); border: 0; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.875rem; padding: 0.8rem 1.4rem; cursor: pointer; }
.hg-newsletter.is-light button { background: var(--hg-navy); color: var(--hg-on-navy); }

/* ---------- Coming soon ---------- */
.hg-soon { min-height: 100vh; }

/* ---------- Accessibility ---------- */
.skip-link.screen-reader-text:focus { background: var(--hg-navy); color: var(--hg-on-navy); }
:where(a, button, input):focus-visible { outline: 2px solid var(--wp--preset--color--frankincense); outline-offset: 2px; }

@media (max-width: 781px) {
	.hg-hide-mobile { display: none !important; }
	.hg-masthead .hg-lockup__word { font-size: 22px !important; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Updated timestamp label */
.hg-byline .wp-block-post-date__modified-date time::before { content: "Updated "; }

/* Template parts sit flush; no gaps between bands */
.wp-site-blocks > * { margin-block-start: 0; }
.hg-masthead .wp-block-search__button { border-radius: 0; background: transparent; color: var(--wp--preset--color--contrast); padding: 0.4rem; }

/* ReliefWeb job lists */
.hg-rw-jobs { list-style: none; padding: 0; margin: 0; }
.hg-rw-jobs li { padding: 0.75rem 0; border-top: 1px solid var(--wp--preset--color--line); }
.hg-rw-jobs li:first-child { border-top: 0; }
.hg-rw-jobs a { color: var(--wp--preset--color--contrast); text-decoration: none; font-weight: 600; font-size: var(--wp--preset--font-size--small); line-height: 1.4; display: block; }
.hg-rw-jobs a:hover { color: var(--wp--preset--color--ink); text-decoration: underline; }
.hg-rw-jobs span { display: block; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); margin-top: 0.2rem; }
.hg-rw-more { font-family: var(--wp--preset--font-family--label); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hg-rw-empty { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.wp-block-rss { list-style: none; padding: 0; margin: 0; }
.wp-block-rss .wp-block-rss__item { padding: 0.75rem 0; border-top: 1px solid var(--wp--preset--color--line); }
.wp-block-rss .wp-block-rss__item:first-child { border-top: 0; }
.wp-block-rss .wp-block-rss__item-title a { color: var(--wp--preset--color--contrast); text-decoration: none; font-weight: 600; font-size: var(--wp--preset--font-size--small); line-height: 1.4; }
.wp-block-rss .wp-block-rss__item-title a:hover { color: var(--wp--preset--color--ink); text-decoration: underline; }
.wp-block-rss .wp-block-rss__item-publish-date { display: block; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); margin-top: 0.2rem; }
.hg-jobsites { padding-left: 1.1rem; font-size: var(--wp--preset--font-size--small); }

/* Capital weather in the top bar */
.hg-wx { display: inline-flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; align-items: center; }
.hg-wx__item { display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; }
.hg-wx__icon { color: var(--wp--preset--color--frankincense-light); flex: none; }
.hg-wx__temp { color: var(--hg-on-navy); }
@media (max-width: 781px) { .hg-wx { gap: 0.25rem 0.8rem; } .hg-topbar .hg-today { display: none; } }
@media (max-width: 781px) { .hg-topbar > .wp-block-group { justify-content: center; } }
@media (max-width: 781px) { .hg-topbar :is(p, div):has(> .hg-today) { display: none; } }

.hg-share-wrap { margin-top: var(--wp--preset--spacing--50); padding-top: var(--wp--preset--spacing--30); border-top: 1px solid var(--wp--preset--color--line); }
/* Follow icons */
.hg-follow .wp-social-link { transition: transform 0.15s; }
.hg-follow .wp-social-link:hover { transform: translateY(-2px); }
.hg-share-wrap:not(:has(.hg-share)) { display: none; }

/* Share icons (v1.5) */
.hg-share { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.hg-share__label { margin-right: 0.25rem; }
.hg-share__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 50%; background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast) !important; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; text-decoration: none !important; }
.hg-share__btn svg { width: 18px; height: 18px; fill: currentColor; }
.hg-share__btn:hover, .hg-share__btn:focus-visible { background: var(--hg-navy); color: var(--hg-on-navy) !important; border-color: var(--wp--preset--color--contrast) !important; transform: translateY(-1px); }
.hg-share__btn--whatsapp { background: var(--hg-navy); color: var(--hg-on-navy) !important; border-color: var(--wp--preset--color--contrast) !important; }
.hg-share__btn--whatsapp:hover { background: var(--hg-gold-deep); border-color: var(--wp--preset--color--ink) !important; }
.hg-share__copy.is-copied { background: var(--wp--preset--color--sea-glass); color: #fff !important; border-color: var(--wp--preset--color--sea-glass) !important; }
.hg-share__toast:not(:empty) { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--hg-navy); color: var(--hg-on-navy); font-size: 0.7rem; padding: 0.2rem 0.5rem; letter-spacing: 0.04em; }
.hg-share--compact .hg-share__label { display: none; }
.hg-share--compact .hg-share__btn { width: 34px; height: 34px; }
.hg-share--compact .hg-share__btn svg { width: 16px; height: 16px; }
.hg-byline > .hg-share { margin-left: auto !important; }
.hg-byline > .hg-share::before { content: none !important; }
.hg-share-top { margin-top: 0.75rem; }
@media (max-width: 600px) { .hg-byline > .hg-share { margin-left: 0 !important; width: 100%; padding-top: 0.5rem; } }
/* Byline separators only between text items */
.hg-byline > * + *::before { content: none; }
.hg-byline > :is(.wp-block-post-date, p:has(.hg-reading-time))::before { content: "·"; margin-right: 0.6rem; color: var(--wp--preset--color--line); }
.hg-byline > p:empty, .hg-byline > p:not(:has(*:not(script))):not(:has(.hg-reading-time)) { display: none; }
.hg-share--compact { gap: 0.35rem; }
.hg-share--compact .hg-share__btn { width: 32px; height: 32px; }
@media (max-width: 600px) { .hg-byline > :is(.wp-block-post-date)::before { content: none; } }
@media (max-width: 600px) { .hg-byline > .wp-block-post-date.wp-block-post-date.wp-block-post-date::before { content: none; } }

/* Ad slots (v1.6) */
.hg-ad { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; margin-inline: auto; text-align: center; }
.hg-ad__label { font-family: var(--wp--preset--font-family--label); font-size: 0.625rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.hg-ad__body { max-width: 100%; overflow: hidden; line-height: 0; }
.hg-ad__body img { max-width: 100%; height: auto; display: block; }
.hg-ad--leaderboard { padding: 1rem clamp(1rem, 4vw, 2.5rem); background: var(--wp--preset--color--mist); border-bottom: 1px solid var(--wp--preset--color--line); }
.hg-ad--home-mid, .hg-ad--article-end, .hg-ad--hub { padding-block: 1.5rem; }
.hg-ad--in-article { margin-block: 2rem !important; padding-block: 1rem; border-block: 1px solid var(--wp--preset--color--line); }
.hg-ad--placeholder { border: 2px dashed var(--wp--preset--color--line); background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(14,42,59,.03) 10px 20px); color: var(--wp--preset--color--muted); font-size: 0.8125rem; padding: 1.25rem; width: 100%; max-width: 970px; }
.hg-ad--placeholder small { font-size: 0.7rem; opacity: .8; }
.hg-ad--leaderboard.hg-ad--placeholder { max-width: none; border-width: 0 0 2px; }
.hg-ad--sidebar.hg-ad--placeholder { min-height: 600px; justify-content: center; }
/* Article sidebar: a third column on wide screens */
.hg-ad--sidebar { display: none; }
@media (min-width: 1200px) {
	.hg-article { display: grid !important; grid-template-columns: [full-start] minmax(2.5rem, 1fr) [content-start] minmax(0, 720px) [content-end] 3rem [side-start] 300px [side-end] minmax(2.5rem, 1fr) [full-end]; column-gap: 0; grid-template-rows: repeat(10, auto) 1fr; padding-left: 0 !important; padding-right: 0 !important; }
	.hg-article > * { grid-column: content; max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
	.hg-article > .alignwide { grid-column: content; }
	.hg-article > .alignfull { grid-column: full; }
	.hg-article > .hg-ad--sidebar { display: flex; grid-column: side; grid-row: 1 / -1; align-self: start; position: sticky; top: 1.5rem; margin-top: 0 !important; }
}
.hg-ad__body p { margin: 0; } .hg-ad__body br { display: none; } .hg-ad > p:empty { display: none; }

/* ---------- Puzzles (v1.7) ---------- */
.hgpz-band { padding-block: var(--wp--preset--spacing--60); }
.hgpz-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 900px) { .hgpz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hgpz-card { display: flex; flex-direction: column; gap: 0.35rem; color: var(--wp--preset--color--contrast) !important; text-decoration: none !important; }
.hgpz-card__thumb { display: block; aspect-ratio: 1; border: 5px solid var(--wp--preset--color--contrast); border-radius: 8px; overflow: hidden; background: #fff; transition: transform .18s, box-shadow .18s; }
.hgpz-card__thumb svg { display: block; width: 100%; height: 100%; }
.hgpz-card:hover .hgpz-card__thumb, .hgpz-card:focus-visible .hgpz-card__thumb { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(14, 42, 59, .16); border-color: var(--wp--preset--color--frankincense); }
.hgpz-card__name { margin-top: 0.6rem; font-family: var(--wp--preset--font-family--label); font-size: clamp(1.05rem, 1.8vw, 1.35rem); font-weight: 800; letter-spacing: -0.01em; }
.hgpz-card__desc { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.hgpz { margin-block: 1rem 2rem; }
.hgpz-head { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--wp--preset--color--line); padding-bottom: .5rem; }
.hgpz-meta, .hgpz-timer, .hgpz-theme { font-family: var(--wp--preset--font-family--label); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin: 0; color: var(--wp--preset--color--muted); }
.hgpz-timer { color: var(--wp--preset--color--contrast); font-variant-numeric: tabular-nums; }
.hgpz-theme { color: var(--wp--preset--color--ink); margin-bottom: .75rem; }
.hgpz-how { font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.hgpz-btn { font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: .8125rem; padding: .7rem 1.2rem; background: var(--hg-navy); color: var(--hg-on-navy); border: 1px solid var(--wp--preset--color--contrast); cursor: pointer; margin-top: 1rem; }
.hgpz-btn.is-ghost { background: transparent; color: var(--wp--preset--color--contrast); }
.hgpz-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.hgpz-done { margin-top: 1.5rem; padding: 1.25rem 1.5rem; background: var(--hg-navy); color: var(--hg-on-navy); border-top: 3px solid var(--wp--preset--color--frankincense); }
.hgpz-done p { margin: .25rem 0; }
.hgpz-done__title { font-family: var(--wp--preset--font-family--headline); font-size: 1.5rem; font-weight: 600; }
.hgpz-done__next { color: var(--wp--preset--color--ocean-muted); font-size: var(--wp--preset--font-size--small); font-variant-numeric: tabular-nums; }
.hgpz-done__more a { color: var(--wp--preset--color--frankincense-light); margin-right: .75rem; }

/* Word search */
.hgpz-ws { display: grid; grid-template-columns: minmax(0, 1fr) 11rem; gap: 1.5rem; align-items: start; }
@media (max-width: 640px) { .hgpz-ws { grid-template-columns: 1fr; } }
.hgpz-ws__grid { display: grid; grid-template-columns: repeat(var(--n), 1fr); border: 1px solid var(--wp--preset--color--line); background: #fff; touch-action: none; user-select: none; }
.hgpz-ws__cell { aspect-ratio: 1; border: 0; background: transparent; font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: clamp(.7rem, 2.6vw, 1.05rem); color: var(--wp--preset--color--contrast); padding: 0; cursor: pointer; }
.hgpz-ws__cell.is-found { background: rgba(78, 140, 138, .28); }
.hgpz-ws__cell.is-sel { background: var(--wp--preset--color--frankincense-light); color: var(--wp--preset--color--contrast); }
.hgpz-ws__list { list-style: none; padding: 0; margin: 0; columns: 1; font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: .8125rem; letter-spacing: .06em; }
@media (max-width: 640px) { .hgpz-ws__list { columns: 2; } }
.hgpz-ws__list li { padding: .3rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.hgpz-ws__list li.is-found { text-decoration: line-through; color: var(--wp--preset--color--muted); }

/* Horn Word */
.hgpz-wg__grid { display: grid; gap: 6px; max-width: 330px; margin: 0 auto; }
.hgpz-wg__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.hgpz-wg__tile { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 2px solid var(--wp--preset--color--line); font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 1.6rem; color: var(--wp--preset--color--contrast); background: #fff; }
.hgpz-wg__tile.is-typed { border-color: var(--wp--preset--color--muted); }
.hgpz-wg__tile.is-hit, .hgpz-wg__key.is-hit { background: var(--wp--preset--color--sea-glass); border-color: var(--wp--preset--color--sea-glass); color: #fff; }
.hgpz-wg__tile.is-near, .hgpz-wg__key.is-near { background: var(--wp--preset--color--frankincense); border-color: var(--wp--preset--color--frankincense); color: #fff; }
.hgpz-wg__tile.is-absent, .hgpz-wg__key.is-absent { background: #8a96a3; border-color: #8a96a3; color: #fff; }
.hgpz-wg__msg { text-align: center; min-height: 1.5em; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--coral); }
.hgpz-wg__kb { display: grid; gap: 6px; max-width: 500px; margin: 0 auto; }
.hgpz-wg__kbrow { display: flex; gap: 5px; justify-content: center; }
.hgpz-wg__key { flex: 1; min-width: 0; height: 52px; border: 0; background: var(--wp--preset--color--mist); color: var(--wp--preset--color--contrast); font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: .9rem; cursor: pointer; border-radius: 4px; }
.hgpz-wg__key.is-wide { flex: 1.6; font-size: .75rem; }

/* Sudoku */
.hgpz-sd__grid { display: grid; grid-template-columns: repeat(9, 1fr); max-width: 450px; margin: 0 auto; border: 2px solid var(--wp--preset--color--contrast); background: #fff; }
.hgpz-sd__cell { aspect-ratio: 1; border: 0; border-right: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); background: #fff; font-family: var(--wp--preset--font-family--label); font-size: clamp(1rem, 4vw, 1.4rem); font-weight: 600; color: var(--wp--preset--color--sea-glass); padding: 0; cursor: pointer; }
.hgpz-sd__cell.b-r { border-right: 2px solid var(--wp--preset--color--contrast); }
.hgpz-sd__cell.b-b { border-bottom: 2px solid var(--wp--preset--color--contrast); }
.hgpz-sd__cell.is-given { color: var(--wp--preset--color--contrast); font-weight: 800; cursor: default; }
.hgpz-sd__cell.is-peer { background: var(--wp--preset--color--mist); }
.hgpz-sd__cell.is-same { background: rgba(217, 160, 91, .28); }
.hgpz-sd__cell.is-sel { background: var(--wp--preset--color--frankincense-light); }
.hgpz-sd__cell.is-wrong { color: var(--wp--preset--color--coral); background: rgba(200, 69, 43, .1); }
.hgpz-sd__pad { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: 450px; margin: 1rem auto 0; }
.hgpz-sd__num { height: 48px; border: 1px solid var(--wp--preset--color--line); background: #fff; font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: 1.1rem; color: var(--wp--preset--color--contrast); cursor: pointer; }
.hgpz-sd__num:hover { background: var(--hg-navy); color: #fff; }
.hgpz-sudoku .hgpz-btn { display: block; margin: 1rem auto 0; }

/* Filippine */
.hgpz-fl__grid { display: grid; gap: 4px; overflow-x: auto; padding-bottom: .5rem; }
.hgpz-fl__row { display: flex; gap: 4px; align-items: center; }
.hgpz-fl__num { width: 1.6rem; flex: none; font-family: var(--wp--preset--font-family--label); font-size: .75rem; font-weight: 700; color: var(--wp--preset--color--muted); text-align: right; padding-right: .25rem; }
.hgpz-fl__gap, .hgpz-fl__cell { width: 2.3rem; height: 2.3rem; flex: none; box-sizing: border-box; }
.hgpz-fl__cell { border: 1px solid var(--wp--preset--color--line); background: #fff; text-align: center; text-transform: uppercase; font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: 1.05rem; color: var(--wp--preset--color--contrast); padding: 0; border-radius: 0; }
.hgpz-fl__cell.is-key { background: rgba(217, 160, 91, .35); border-color: var(--wp--preset--color--frankincense); }
.hgpz-fl__cell.is-wrong { color: var(--wp--preset--color--coral); background: rgba(200, 69, 43, .1); }
.hgpz-fl__cell:focus { outline: 2px solid var(--wp--preset--color--contrast); outline-offset: -2px; }
@media (max-width: 520px) { .hgpz-fl__gap, .hgpz-fl__cell { width: 1.85rem; height: 1.85rem; font-size: .9rem; } }
.hgpz-fl__key { font-family: var(--wp--preset--font-family--label); font-weight: 800; letter-spacing: .12em; color: var(--wp--preset--color--ink); margin-top: .75rem; }
.hgpz-fl__h { font-size: var(--wp--preset--font-size--large); margin-top: 1.5rem; }
.hgpz-fl__clues { font-size: var(--wp--preset--font-size--small); padding-left: 1.6rem; }
.hgpz-fl__clues li { padding: .2rem 0; }

/* ---------- The Horn Brief (daily digest posts) ---------- */
.hg-brief__intro { font-size: var(--wp--preset--font-size--medium); color: var(--wp--preset--color--muted); }
.hg-brief__country { margin-top: 2.5rem; padding-top: 1rem; border-top: 3px solid var(--wp--preset--color--frankincense); font-size: 1.6rem; }
.hg-brief__section { margin: 1.4rem 0 0.4rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: #8F5A14; font-family: var(--wp--preset--font-family--label); }
.hg-brief__list { list-style: none; padding: 0; margin: 0; }
.hg-brief__list li { padding: 0.65rem 0; border-top: 1px solid var(--wp--preset--color--line, #D5DEE5); line-height: 1.45; }
.hg-brief__list li:first-child { border-top: 0; }
.hg-brief__list a { font-weight: 600; color: var(--wp--preset--color--contrast); text-decoration: none; }
.hg-brief__list a:hover { text-decoration: underline; }
.hg-brief__src { display: block; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); margin-top: 0.15rem; }
.hg-brief__note { margin-top: 2rem; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }

/* ---------- Source credit line (Somali Desk stories) ---------- */
.hg-sources { margin-top: 2rem; padding-top: 0.9rem; border-top: 1px solid var(--wp--preset--color--line); font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--muted); }
.hg-img-credit { margin-top: 0.4rem; font-size: var(--wp--preset--font-size--x-small); color: var(--wp--preset--color--muted); }
.hg-img-credit a { color: inherit; text-decoration: underline; }


/* =====================================================================
   v2.1 -- Article page and newsletter band redesign
   ===================================================================== */

/* Header */
.hg-article .wp-block-post-title { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; letter-spacing: -0.01em; }
.hg-article .wp-block-post-excerpt.hg-standfirst .wp-block-post-excerpt__excerpt { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--wp--preset--color--muted); margin: 0.25rem 0 0.5rem; }
.hg-article .taxonomy-category a, .hg-article .taxonomy-hg_type a { font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; }
.hg-article .taxonomy-category a { color: var(--wp--preset--color--frankincense); }
.hg-article .taxonomy-hg_type a { color: var(--wp--preset--color--muted); }

/* Byline with monogram */
.hg-byline { align-items: center; padding-block: 0.85rem !important; }
.hg-byline .wp-block-post-author-name { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--wp--preset--color--contrast); }
.hg-byline .wp-block-post-author-name::before { content: "HG"; display: inline-grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--hg-navy); color: var(--wp--preset--color--frankincense-light); font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.04em; flex: none; }
.hg-byline .wp-block-post-author-name a { color: inherit; text-decoration: none; }
.hg-byline .wp-block-post-author-name a:hover { text-decoration: underline; }

/* Featured image */
.hg-article > .wp-block-post-featured-image { margin-top: var(--wp--preset--spacing--30) !important; }
.hg-article > .wp-block-post-featured-image img { border-radius: 10px; }
.hg-article .hg-img-credit { margin-top: 0.55rem; font-size: 0.78rem; letter-spacing: 0.01em; }

/* Reading text: serif, generous measure */
.hg-article .wp-block-post-content { font-family: var(--wp--preset--font-family--headline); font-size: clamp(1.1rem, 1.25vw, 1.2rem); line-height: 1.72; color: var(--wp--preset--color--ink-body); }
.hg-article .wp-block-post-content > p { margin-block: 0 1.15em; }
.hg-article .wp-block-post-content > p:first-of-type:not(.hg-brief__intro)::first-letter { font-size: 4.1em; line-height: 0.82; padding: 0.4rem 0.6rem 0 0; color: var(--wp--preset--color--contrast); }
.hg-article .wp-block-post-content a { color: var(--wp--preset--color--ink); text-decoration-color: var(--wp--preset--color--frankincense-light); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.hg-article .wp-block-post-content a:hover { text-decoration-thickness: 2px; }
.hg-article .wp-block-post-content h2 { font-family: var(--wp--preset--font-family--label); font-size: 1.3rem; font-weight: 800; letter-spacing: -0.005em; margin: 2.1em 0 0.6em; color: var(--wp--preset--color--contrast); }
.hg-article .wp-block-post-content h3 { font-family: var(--wp--preset--font-family--label); font-size: 1.1rem; font-weight: 800; margin: 1.8em 0 0.5em; }
.hg-article .wp-block-post-content blockquote { margin: 1.8em 0; padding: 0.2rem 0 0.2rem 1.4rem; border-left: 3px solid var(--wp--preset--color--frankincense); font-size: 1.3em; line-height: 1.45; font-style: italic; color: var(--wp--preset--color--contrast); }
.hg-article .wp-block-post-content ul, .hg-article .wp-block-post-content ol { padding-left: 1.3em; margin-block: 0 1.15em; }

/* Source credit as a card */
.hg-article .wp-block-post-content p.hg-sources { margin-top: 2.2rem; padding: 1rem 1.2rem 1rem 1.2rem; border: 0; border-left: 4px solid var(--wp--preset--color--frankincense); background: var(--wp--preset--color--mist); border-radius: 0 8px 8px 0; font-family: var(--wp--preset--font-family--body); font-size: 0.9rem; line-height: 1.55; color: var(--wp--preset--color--muted); }
.hg-article .wp-block-post-content p.hg-sources::before { content: "Sources"; display: block; margin-bottom: 0.25rem; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-style: normal; color: var(--wp--preset--color--contrast); }
.hg-article .wp-block-post-content p.hg-sources em { font-style: normal; }

/* Article foot: share, topics, corrections */
.hg-article-foot { gap: 1.1rem !important; }
.hg-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; font-size: 0; }
.hg-tags .wp-block-post-terms__prefix { font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--muted); margin-right: 0.35rem; }
.hg-tags a { display: inline-block; padding: 0.32rem 0.8rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: #fff; font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: 0.78rem; color: var(--wp--preset--color--contrast); text-decoration: none; transition: border-color .15s, background .15s; }
.hg-tags a:hover { border-color: var(--wp--preset--color--frankincense); background: var(--wp--preset--color--mist); }
.hg-tags .wp-block-post-terms__separator { display: none; }
p.hg-errata { margin: 0; padding: 0.85rem 1.1rem; background: var(--wp--preset--color--mist); border-radius: 8px; line-height: 1.5; }
p.hg-errata a { color: var(--wp--preset--color--ink); }

/* Sidebar (wide screens) */
.hg-aside { display: none; }
@media (min-width: 1200px) {
	.hg-article > .hg-aside { display: flex; flex-direction: column; gap: 1.75rem; grid-column: side; grid-row: 1 / -1; align-self: start; position: sticky; top: 1.5rem; margin-top: 0 !important; }
	.hg-aside .hg-ad--sidebar { display: flex; }
	.hg-aside .hg-ad--sidebar.hg-ad--placeholder { min-height: 250px; }
}
.hg-aside__brief { background: var(--hg-navy); color: #fff; border-radius: 12px; padding: 1.5rem 1.5rem 1.6rem; border-top: 4px solid var(--wp--preset--color--frankincense); }
.hg-aside__kicker { margin: 0 0 0.6rem; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--frankincense-light); }
.hg-aside__title { margin: 0 0 0.5rem; font-family: var(--wp--preset--font-family--headline); font-size: 1.4rem; line-height: 1.2; font-weight: 600; color: #fff; }
.hg-aside__text { margin: 0 0 1.1rem; font-size: 0.88rem; color: var(--wp--preset--color--ocean-muted); }
.hg-aside__btn { display: block; text-align: center; padding: 0.8rem 1rem; border-radius: 8px; background: var(--wp--preset--color--frankincense-light); color: var(--wp--preset--color--contrast) !important; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.85rem; text-decoration: none !important; transition: background .15s; }
.hg-aside__btn:hover { background: #fff; }
.hg-aside__label { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 0.4rem; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--contrast); }
.hg-aside__label::after { content: ""; flex: 1; height: 1px; background: var(--wp--preset--color--line); }
.hg-aside__latest ol { list-style: none; margin: 0; padding: 0; counter-reset: hgl; }
.hg-aside__latest li { counter-increment: hgl; position: relative; padding: 0.85rem 0 0.85rem 2.4rem; border-bottom: 1px solid var(--wp--preset--color--line); }
.hg-aside__latest li:last-child { border-bottom: 0; }
.hg-aside__latest li::before { content: counter(hgl); position: absolute; left: 0; top: 0.7rem; font-family: var(--wp--preset--font-family--headline); font-size: 1.6rem; font-weight: 600; line-height: 1; color: var(--wp--preset--color--frankincense); }
.hg-aside__latest a { display: block; font-family: var(--wp--preset--font-family--headline); font-size: 1.02rem; line-height: 1.3; font-weight: 600; color: var(--wp--preset--color--contrast); text-decoration: none; }
.hg-aside__latest a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--frankincense-light); }
.hg-aside__latest span { display: block; margin-top: 0.3rem; font-size: 0.75rem; color: var(--wp--preset--color--muted); }

/* More from Horn Globe */
.hg-readnext { background: var(--wp--preset--color--mist); }

/* ---------- Newsletter band ---------- */
.hg-nl { position: relative; overflow: hidden; background: var(--hg-navy); color: #fff; padding-block: clamp(3rem, 7vw, 5.5rem); margin-block: 0 !important; }
.hg-nl::after { content: ""; position: absolute; right: -9rem; top: 50%; width: 36rem; height: 36rem; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='2.85 1.15 60 60'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2'%3E%3Ccircle cx='32' cy='32' r='28'/%3E%3Cpath d='M51.8 12.2 A28 9.33 -45 0 0 12.2 51.8'/%3E%3Cpath d='M51.8 12.2 A28 9.33 -45 0 1 12.2 51.8'/%3E%3Cpath d='M51.8 12.2 A28 18.67 -45 0 0 12.2 51.8'/%3E%3Cpath d='M51.8 12.2 A28 18.67 -45 0 1 12.2 51.8'/%3E%3C/g%3E%3C/svg%3E") no-repeat center / contain; opacity: 0.07; pointer-events: none; }
.hg-nl__inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding-inline: clamp(1rem, 4vw, 2.5rem); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 860px) { .hg-nl__inner { grid-template-columns: 1fr; } .hg-nl::after { width: 22rem; height: 22rem; right: -7rem; top: 5rem; transform: none; } }
.hg-nl__kicker { margin: 0 0 1rem; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--frankincense-light); }
.hg-nl__title { margin: 0 0 1.6rem; font-family: var(--wp--preset--font-family--headline); font-size: clamp(2rem, 3.8vw, 2.9rem); line-height: 1.1; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
.hg-nl__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.hg-nl__points li { position: relative; padding-left: 2.1rem; font-size: 1rem; line-height: 1.5; color: #D6E1E8; }
.hg-nl__points li::before { content: ""; position: absolute; left: 0; top: 0.1em; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: rgba(217, 160, 91, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23D9A05B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 0.8rem; }
.hg-nl__card { background: #fff; color: var(--wp--preset--color--ink-body); border-radius: 14px; padding: clamp(1.5rem, 3vw, 2.25rem); border-top: 5px solid var(--wp--preset--color--frankincense); box-shadow: 0 24px 48px rgba(4, 18, 28, 0.35); }
.hg-nl__card-title { margin: 0 0 1.1rem; font-family: var(--wp--preset--font-family--headline); font-size: 1.55rem; line-height: 1.2; font-weight: 600; color: var(--wp--preset--color--contrast); }
.hg-nl .mailpoet_form { padding: 0 !important; margin: 0 !important; }
.hg-nl .mailpoet_form form { display: grid; gap: 0.75rem; margin: 0; }
.hg-nl .mailpoet_form p:empty, .hg-nl .mailpoet_form br { display: none; }
.hg-nl .mailpoet_paragraph { margin: 0 !important; }
.hg-nl .mailpoet_text { width: 100% !important; box-sizing: border-box; padding: 0.95rem 1rem !important; border: 1px solid var(--wp--preset--color--line) !important; border-radius: 8px !important; background: var(--wp--preset--color--base) !important; font: inherit !important; font-size: 1rem !important; color: var(--wp--preset--color--contrast) !important; }
.hg-nl .mailpoet_text:focus { outline: 2px solid var(--wp--preset--color--frankincense) !important; outline-offset: 1px; border-color: transparent !important; }
.hg-nl .mailpoet_submit { width: 100% !important; padding: 1rem 1.4rem !important; border: 0 !important; border-radius: 8px !important; background: var(--hg-gold-deep) !important; color: #fff !important; font-family: var(--wp--preset--font-family--label) !important; font-weight: 800 !important; font-size: 0.95rem !important; letter-spacing: 0.02em; cursor: pointer; transition: background .15s; }
.hg-nl .mailpoet_submit:hover, .hg-nl .mailpoet_submit:focus { background: var(--hg-navy) !important; }
.hg-nl .mailpoet_message p { margin: 0.25rem 0 0 !important; font-size: 0.9rem; }
.hg-nl .mailpoet_validate_success { color: var(--wp--preset--color--sea-glass) !important; }
.hg-nl .mailpoet_validate_error, .hg-nl .parsley-errors-list { color: var(--wp--preset--color--coral) !important; font-size: 0.85rem; }
.hg-nl__legal { margin: 1rem 0 0; font-size: 0.8rem; line-height: 1.55; color: var(--wp--preset--color--muted); }
.hg-nl__legal a { color: var(--wp--preset--color--ink); }
.hg-article .wp-block-post-content > p, .hg-article .wp-block-post-content li { text-wrap: wrap; }

/* v2.1.1 -- breathing room between the section tags and the headline */
.hg-article .wp-block-group:has(> .taxonomy-category) { margin-bottom: 0 !important; row-gap: 0.4rem; }
.hg-article .wp-block-post-title { margin-top: 1.5rem !important; }
.hg-article .wp-block-post-excerpt.hg-standfirst { margin-top: 1.1rem !important; }
.hg-article .taxonomy-category, .hg-article .taxonomy-hg_type { line-height: 1.4; }

/* =====================================================================
   v2.2 -- News page: Horn Globe list + "Across the region" tabs
   ===================================================================== */
.hg-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 var(--wp--preset--spacing--40); padding: 0; list-style: none; }
.hg-filter a { display: inline-block; padding: 0.45rem 0.95rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: #fff; font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: 0.8rem; color: var(--wp--preset--color--contrast); text-decoration: none; }
.hg-filter a:hover, .hg-filter a[aria-current] { background: var(--hg-navy); border-color: var(--wp--preset--color--contrast); color: #fff; }

/* Horn Globe stories as a list: image left, text right */
.hg-newslist .wp-block-post-template { list-style: none; margin: 0; padding: 0; }
.hg-newslist .wp-block-post { margin: 0; }
.hg-newsrow { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); align-items: start; padding: 1.5rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.hg-newslist .wp-block-post:first-child .hg-newsrow { padding-top: 0; }
.hg-newsrow .wp-block-post-featured-image { margin: 0; }
.hg-newsrow .wp-block-post-featured-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; border-radius: 8px; }
.hg-newsrow .wp-block-post-title { margin: 0.35rem 0 0.5rem; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.hg-newsrow .wp-block-post-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.hg-newsrow .wp-block-post-title a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--frankincense-light); }
.hg-newsrow .wp-block-post-excerpt { margin: 0 0 0.5rem; color: var(--wp--preset--color--muted); }
.hg-newsrow .wp-block-post-excerpt__excerpt { margin: 0; font-size: 0.98rem; line-height: 1.55; }
.hg-newsrow .wp-block-post-date { font-size: 0.8rem; color: var(--wp--preset--color--muted); }
.hg-newsrow .taxonomy-category a { font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--frankincense); text-decoration: none; }
@media (max-width: 640px) { .hg-newsrow { grid-template-columns: 1fr; } }
.hg-newslist .wp-block-query-pagination { margin-top: 1.5rem; font-family: var(--wp--preset--font-family--label); font-weight: 700; font-size: 0.85rem; }

/* Across the region */
.hg-region { box-sizing: border-box; margin-top: var(--wp--preset--spacing--60) !important; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--wp--preset--color--mist); border-radius: 14px; }
.hg-region__intro { margin: 0.25rem 0 1.25rem; color: var(--wp--preset--color--muted); font-size: 0.95rem; }
.hg-rt__tabs { display: flex; gap: 0.35rem; overflow-x: auto; border-bottom: 2px solid var(--wp--preset--color--line); margin-bottom: 1.25rem; scrollbar-width: none; }
.hg-rt__tabs button { flex: none; appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; padding: 0.75rem 1.1rem; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.9rem; color: var(--wp--preset--color--muted); cursor: pointer; }
.hg-rt__tabs button:hover { color: var(--wp--preset--color--contrast); }
.hg-rt__tabs button[aria-selected="true"] { color: var(--wp--preset--color--contrast); border-bottom-color: var(--wp--preset--color--frankincense); }
.hg-rt__tabs button:focus-visible { outline: 2px solid var(--wp--preset--color--frankincense); outline-offset: 2px; }
.hg-rt__country { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hg-rt__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
@media (max-width: 760px) { .hg-rt__list { grid-template-columns: 1fr; } }
.hg-rt__list li { padding: 0.9rem 0; border-bottom: 1px solid var(--wp--preset--color--line); }
.hg-rt__list a { display: block; font-family: var(--wp--preset--font-family--headline); font-size: 1.08rem; line-height: 1.32; font-weight: 600; color: var(--wp--preset--color--contrast); text-decoration: none; }
.hg-rt__list a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--frankincense-light); }
.hg-rt__meta { display: block; margin-top: 0.3rem; font-size: 0.78rem; color: var(--wp--preset--color--muted); }
.hg-rt__meta strong { color: var(--wp--preset--color--ink); font-weight: 700; }
.hg-rt__sources, .hg-rt__empty { margin: 1.1rem 0 0; font-size: 0.8rem; color: var(--wp--preset--color--muted); }
/* Without JavaScript every country panel shows, one under another. */
.hg-rt__panel[hidden] { display: none; }
@media (max-width: 600px) { .hg-rt__tabs button { padding: 0.7rem 0.75rem; font-size: 0.82rem; } }
.hg-rt__tabs button:focus:not(:focus-visible) { outline: none; }

.hg-rt__tabs button[aria-controls$="-world"] { margin-left: auto; color: var(--wp--preset--color--sea-glass); }
.hg-rt__tabs button[aria-controls$="-world"][aria-selected="true"] { color: var(--wp--preset--color--contrast); }
@media (max-width: 600px) { .hg-rt__tabs button[aria-controls$="-world"] { margin-left: 0; } }
@media (max-width: 600px) { .hg-rt__tabs { flex-wrap: wrap; overflow: visible; row-gap: 0; } }

/* v2.2.4 -- Business hub and homepage band */
.hg-biz-band { background: #fff; border-top: 1px solid var(--wp--preset--color--line); border-bottom: 1px solid var(--wp--preset--color--line); }
.hg-biz-band h2 a { color: inherit; text-decoration: none; }
.hg-biz-band h2 a:hover { text-decoration: underline; text-decoration-color: var(--wp--preset--color--frankincense-light); }
.hg-biz-tabs { box-sizing: border-box; margin-top: var(--wp--preset--spacing--40); padding: clamp(1.25rem, 3vw, 2rem); background: var(--wp--preset--color--mist); border-radius: 14px; }
.hg-biz-tabs__label { margin: 0 0 0.75rem; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--contrast); }
.hg-biz-tabs__more { margin: 1rem 0 0; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.85rem; }
.hg-biz-tabs__more a { color: var(--wp--preset--color--ink); text-decoration: none; }
.hg-biz-tabs__more a:hover { text-decoration: underline; }
.hg-biz-tabs .hg-rt__list li:nth-child(n+7) { display: none; }

/* v2.3 -- Beyond the Horn: region sub-tabs */
.hg-rt__tabs--sub { border-bottom: 0; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hg-rt__tabs.hg-rt__tabs--sub button { border: 1px solid var(--wp--preset--color--line); border-radius: 999px; margin: 0; padding: 0.4rem 0.9rem; font-size: 0.8rem; background: #fff; color: var(--wp--preset--color--contrast); }
.hg-rt__tabs.hg-rt__tabs--sub button[aria-selected="true"] { background: var(--hg-navy); border-color: var(--wp--preset--color--contrast); color: #fff; }
@media (max-width: 600px) { .hg-rt__tabs.hg-rt__tabs--sub button { flex: none; } }
.hg-rt__horn { display: inline-block; margin-right: 0.35rem; padding: 0.05rem 0.45rem; border-radius: 4px; background: var(--wp--preset--color--frankincense); color: #fff; font-style: normal; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: 1px; }

/* ==========================================================================
   v2.4 -- Masthead (centred logo band + dark section bar)
   ========================================================================== */
.hg-mast { --hg-navbar: #08161F; position: relative; z-index: 50; }
.hg-mast__band { background: var(--hg-navy); color: var(--hg-on-navy); padding: 1.7rem var(--wp--style--root--padding-right, 1rem) 1.6rem; text-align: center; }
.hg-mast__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; flex-wrap: wrap; padding-bottom: 0.55rem; margin-bottom: 1.4rem; border-bottom: 1px solid rgba(175, 192, 204, 0.22); font-family: var(--wp--preset--font-family--label); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--ocean-muted); }
.hg-mast__meta a { color: inherit; text-decoration: none; }
.hg-mast__meta .hg-wx { flex: 1; justify-content: center; }
.hg-mast__nl { color: var(--wp--preset--color--frankincense-light) !important; }
.hg-mast__nl:hover { text-decoration: underline !important; }
.hg-mast__logo { display: flex; justify-content: center; }
.hg-mast__logo .hg-lockup:hover { opacity: 0.92; }
.hg-mast__strap { margin: 0.75rem 0 0; font-family: var(--wp--preset--font-family--label); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--ocean-muted); }

.hg-mast__nav { background: var(--hg-navbar); border-bottom: 3px solid var(--wp--preset--color--frankincense); position: sticky; top: 0; z-index: 40; padding: 0 1rem; }
.admin-bar .hg-mast__nav { top: 32px; }
.hg-mast__nav .wp-block-navigation { font-family: var(--wp--preset--font-family--label); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: var(--hg-on-navy); }
.hg-mast__nav .wp-block-navigation-item > a { display: block; padding: 1rem 1.05rem 0.9rem; color: var(--hg-on-navy); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.hg-mast__nav .wp-block-navigation-item > a:hover { color: var(--wp--preset--color--frankincense-light); }
.hg-mast__nav .current-menu-item > a, .hg-mast__nav .wp-block-navigation-item > a[aria-current="page"] { color: var(--wp--preset--color--frankincense-light); border-bottom-color: var(--wp--preset--color--frankincense-light); }
.hg-mast__nav .wp-block-navigation__submenu-icon { color: var(--wp--preset--color--ocean-muted); margin-left: -0.6rem; }
.hg-mast__nav .wp-block-navigation__submenu-container { background: var(--hg-navbar) !important; border: 0 !important; border-top: 3px solid var(--wp--preset--color--frankincense) !important; min-width: 220px !important; padding: 0.35rem 0; }
.hg-mast__nav .wp-block-navigation__submenu-container a { padding: 0.65rem 1.1rem !important; font-size: 0.74rem; letter-spacing: 0.1em; border: 0 !important; margin: 0 !important; }
.hg-mast__nav .wp-block-search__button { background: transparent; color: var(--hg-on-navy); border: 0; padding: 0.4rem 0.6rem; margin-left: 0.4rem; }
.hg-mast__nav .wp-block-search__button svg { fill: currentColor; }
.hg-mast__nav .wp-block-navigation__responsive-container-open { color: var(--hg-on-navy); padding: 0.7rem 0; }
.hg-mast__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item > a { border: 0; padding: 0.6rem 0; font-size: 1rem; }
@media (max-width: 1100px) { .hg-mast__nav .wp-block-navigation-item > a { padding-left: 0.7rem; padding-right: 0.7rem; letter-spacing: 0.09em; } }
@media (max-width: 781px) {
	.hg-mast__band { padding-bottom: 1rem; }
	.hg-mast__meta { justify-content: center; margin-bottom: 1rem; }
	.hg-mast__date, .hg-mast__nl { display: none; }
	.hg-mast__logo svg { width: 46px; height: 46px; }
	.hg-mast__logo .hg-lockup { gap: 11px !important; }
	.hg-mast__logo .hg-lockup__word { font-size: 31px !important; }
	.hg-mast__strap { font-size: 0.62rem; letter-spacing: 0.1em; }
	.hg-mast__nav .wp-block-navigation { justify-content: center; }
}

/* ==========================================================================
   v2.4 -- Horn in 60 (Shorts)
   ========================================================================== */
.hg-h60-band { background: var(--hg-h60-bg); margin-top: var(--wp--preset--spacing--60) !important; }
.hg-h60__inner { max-width: 1280px; margin: 0 auto; padding: var(--wp--preset--spacing--60) var(--wp--style--root--padding-right, 1rem); }
.hg-h60__head { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem 1.2rem; margin-bottom: 1.4rem; }
.hg-h60__mark { margin: 0; display: inline-flex; align-items: center; font-family: var(--wp--preset--font-family--headline); font-weight: 700; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.01em; color: var(--wp--preset--color--contrast); text-transform: uppercase; }
.hg-h60__o { display: inline-flex; margin-left: 0.04em; }
.hg-h60__o svg { width: 0.86em; height: 0.86em; }
.hg-h60__tag { margin: 0; font-family: var(--wp--preset--font-family--label); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.hg-h60__all { margin-left: auto; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--ink); text-decoration: none; }
.hg-h60__all:hover { text-decoration: underline; }
.hg-h60__rail { list-style: none; margin: 0; padding: 0 0 1rem; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #C9BBA9 transparent; }
@media (min-width: 1100px) { .hg-h60__rail { grid-auto-columns: calc((100% - 5 * 1.1rem) / 6.3); } }
.hg-h60__rail:focus-visible { outline: 2px solid var(--wp--preset--color--frankincense); outline-offset: 4px; }
.hg-h60__grid { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.1rem; }
.hg-short { scroll-snap-align: start; display: flex; flex-direction: column; gap: 0.35rem; }
.hg-short__btn, .hg-short__frame { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border: 0; padding: 0; border-radius: 10px; overflow: hidden; background: var(--hg-navy); cursor: pointer; text-align: left; }
.hg-short__btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.hg-short__btn:hover img { transform: scale(1.04); }
.hg-short__btn:focus-visible { outline: 3px solid var(--wp--preset--color--frankincense); outline-offset: 3px; }
.hg-short__shade { position: absolute; inset: 0; background: rgba(8, 22, 31, 0.42); }
.hg-short__text { position: absolute; left: 0; right: 0; top: 0; padding: 1rem 0.9rem; display: flex; flex-direction: column; gap: 0.35rem; }
.hg-short__src { font-family: var(--wp--preset--font-family--label); font-size: 0.72rem; font-weight: 700; color: #fff; display: inline-flex; align-items: center; gap: 0.4rem; }
.hg-short__src::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--wp--preset--color--frankincense); flex: none; }
.hg-short__title { font-family: var(--wp--preset--font-family--headline); font-weight: 700; font-size: 1.08rem; line-height: 1.18; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.hg-short__play { position: absolute; left: 50%; top: 56%; width: 58px; height: 58px; transform: translate(-50%, -50%); transition: transform 0.2s ease; }
.hg-short__play svg { width: 100%; height: 100%; display: block; }
.hg-short__btn:hover .hg-short__play { transform: translate(-50%, -50%) scale(1.08); }
.hg-short__badge { position: absolute; left: 0.9rem; bottom: 0.9rem; padding: 0.2rem 0.5rem; border-radius: 4px; background: var(--wp--preset--color--frankincense); color: #fff; font-family: var(--wp--preset--font-family--label); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.hg-short__badge::after { content: " ago"; }
.hg-short__yt { font-family: var(--wp--preset--font-family--label); font-size: 0.7rem; font-weight: 700; color: var(--wp--preset--color--muted); text-decoration: none; }
.hg-short__yt:hover { text-decoration: underline; }
.hg-h60__note { margin: 0.4rem 0 0; font-size: 0.78rem; line-height: 1.5; color: var(--wp--preset--color--muted); max-width: 70ch; }

/* ==========================================================================
   v2.4 -- Four Capitals (podcast)
   ========================================================================== */
.hg-pod-band { padding-top: var(--wp--preset--spacing--40); padding-bottom: var(--wp--preset--spacing--40); }
.hg-pod { position: relative; overflow: hidden; border-radius: 12px; background: var(--hg-gold-deep); color: #fff; min-height: 240px; display: flex; align-items: center; }
.hg-pod__art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.32; pointer-events: none; }
.hg-pod__body { position: relative; padding: 2rem clamp(1.25rem, 5vw, 4rem); max-width: 760px; }
.hg-pod__kicker { margin: 0 0 0.6rem; display: flex; align-items: center; gap: 0.7rem; font-family: var(--wp--preset--font-family--label); font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--frankincense-light); }
.hg-pod__mark { width: 44px; height: 44px; flex: none; }
.hg-pod__title { margin: 0; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 0.95; letter-spacing: -0.03em; text-transform: uppercase; color: #fff; }
.hg-pod__tagline { margin: 0.8rem 0 0; font-size: 1.05rem; line-height: 1.45; color: #FBEEDC; max-width: 46ch; }
.hg-pod__cta { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 1.3rem; padding: 0.85rem 1.5rem; border-radius: 999px; background: #fff; color: var(--hg-gold-deep) !important; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.86rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none !important; transition: transform 0.15s ease; }
.hg-pod__cta:hover { transform: translateX(3px); }
.hg-pod__cta:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hg-pod--hero { min-height: 320px; margin-bottom: 2rem; }
@media (min-width: 900px) { .hg-pod .hg-pod__body { padding-right: 38%; max-width: none; } .hg-pod__art { opacity: 0.4; } }
/* The podcast page carries its own hero, so hide the template's page title there. */
body:has(.hg-pod--hero) main > .wp-block-post-title, body:has(.hg-pod--hero) .hg-share-top, body:has(.hg-h60--page) .hg-share-top { display: none; }
.hg-podpage { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 900px) { .hg-podpage { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } }
.hg-podpage__about p:not(.is-style-kicker) { font-size: 1.05rem; line-height: 1.6; }
.hg-podpage__listen { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.hg-podpage__listen > span { width: 100%; font-family: var(--wp--preset--font-family--label); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--wp--preset--color--muted); }
.hg-podpage__btn { display: inline-block; padding: 0.6rem 1.1rem; border-radius: 999px; background: var(--hg-navy); color: #fff !important; font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.06em; text-decoration: none !important; }
.hg-podpage__btn--ghost { background: transparent; color: var(--wp--preset--color--contrast) !important; box-shadow: inset 0 0 0 1.5px var(--wp--preset--color--line); }
.hg-podpage__h { margin: 0 0 1rem; font-size: var(--wp--preset--font-size--x-large); }
.hg-ep-list { list-style: none; margin: 0; padding: 0; }
.hg-ep { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--wp--preset--color--line); }
.hg-ep__no { font-family: var(--wp--preset--font-family--label); font-weight: 800; font-size: 1.4rem; color: var(--wp--preset--color--frankincense); }
.hg-ep__title { margin: 0; font-size: 1.25rem; line-height: 1.25; }
.hg-ep__meta { margin: 0.3rem 0 0; font-family: var(--wp--preset--font-family--label); font-size: 0.74rem; font-weight: 700; color: var(--wp--preset--color--muted); }
.hg-ep__desc { margin: 0.6rem 0 0.8rem; color: var(--wp--preset--color--ink-body); }
.hg-ep audio { width: 100%; max-width: 560px; height: 40px; }
.hg-ep-soon { padding: 2rem; border-radius: 12px; background: var(--wp--preset--color--mist); border-left: 4px solid var(--wp--preset--color--frankincense); }
.hg-ep-soon__h { margin: 0 0 0.4rem; font-family: var(--wp--preset--font-family--headline); font-weight: 700; font-size: 1.4rem; }
.hg-mast > * { margin-block: 0 !important; }
@media (min-width: 900px) { .hg-pod__art { left: auto; width: 50%; opacity: 0.42; } }
@media (max-width: 899px) { .hg-pod__art { opacity: 0.16; } }

/* ==========================================================================
   v2.5 -- Stable brand tokens (unchanged by day/night mode)
   ========================================================================== */
:root { --hg-navy: #0E2A3B; --hg-navy-deep: #08161F; --hg-on-navy: #F7FAFC; --hg-gold-deep: #8F5A14; --hg-surface: #ffffff; --hg-h60-bg: #F5EFE7; }

/* ==========================================================================
   v2.5 -- Utility bar: date, weather widget, newsletter, day/night switch
   ========================================================================== */
.hg-util { background: var(--wp--preset--color--mist); border-bottom: 1px solid var(--wp--preset--color--line); color: var(--wp--preset--color--contrast); padding: 0 var(--wp--style--root--padding-right, 1rem); }
.hg-util__row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 46px; font-family: var(--wp--preset--font-family--label); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.hg-util__date { white-space: nowrap; color: var(--wp--preset--color--muted); }
.hg-util__wx { display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-width: 0; }
.hg-util__label { color: var(--wp--preset--color--muted); white-space: nowrap; }
.hg-util .hg-wx { display: flex; flex-wrap: nowrap; gap: 0.35rem; overflow-x: auto; scrollbar-width: none; flex: 0 1 auto; padding: 4px 0; }
.hg-util .hg-wx::-webkit-scrollbar { display: none; }
.hg-util .hg-wx__item { display: inline-flex; align-items: center; gap: 0.35rem; white-space: nowrap; padding: 0.25rem 0.65rem 0.25rem 0.45rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--hg-surface); color: var(--wp--preset--color--contrast); letter-spacing: 0.03em; text-transform: none; font-size: 0.74rem; }
.hg-util .hg-wx__item svg { width: 16px; height: 16px; flex: none; }
.hg-util .hg-wx__temp { color: var(--wp--preset--color--ink); font-weight: 800; }
.hg-util__end { display: flex; align-items: center; gap: 0.9rem; }
.hg-util__nl { color: var(--wp--preset--color--ink); text-decoration: none; white-space: nowrap; }
.hg-util__nl:hover { text-decoration: underline; }
.hg-theme { display: inline-flex; align-items: center; gap: 0.4rem; }
.hg-theme__switch { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.2rem; border: 0; background: none; color: var(--wp--preset--color--contrast); cursor: pointer; border-radius: 999px; }
.hg-theme__switch svg { width: 15px; height: 15px; }
.hg-theme__sun { color: var(--wp--preset--color--frankincense); }
.hg-theme__track { position: relative; width: 36px; height: 20px; border-radius: 999px; background: var(--wp--preset--color--line); transition: background 0.2s; }
.hg-theme__thumb { position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--hg-surface); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform 0.2s; }
.hg-theme__switch[aria-checked="true"] .hg-theme__track { background: var(--wp--preset--color--frankincense); }
.hg-theme__switch[aria-checked="true"] .hg-theme__thumb { transform: translateX(16px); }
.hg-theme__switch:focus-visible, .hg-theme__auto:focus-visible { outline: 2px solid var(--wp--preset--color--frankincense); outline-offset: 2px; }
.hg-theme__auto { padding: 0.18rem 0.5rem; border: 1px solid var(--wp--preset--color--line); border-radius: 999px; background: transparent; color: var(--wp--preset--color--muted); font: inherit; font-size: 0.64rem; letter-spacing: 0.08em; cursor: pointer; }
.hg-theme__auto[aria-pressed="true"] { background: var(--wp--preset--color--contrast); border-color: var(--wp--preset--color--contrast); color: var(--wp--preset--color--base); }
@media (prefers-reduced-motion: reduce) { .hg-theme__thumb, .hg-theme__track { transition: none; } }
@media (max-width: 900px) { .hg-util__date, .hg-util__label { display: none; } .hg-util__row { grid-template-columns: minmax(0, 1fr) auto; } .hg-util__wx { justify-content: flex-start; } }
@media (max-width: 600px) { .hg-util__nl { display: none; } .hg-util__row { gap: 0.6rem; } }

/* ==========================================================================
   v2.5 -- Consent banner, preferences and US opt-out
   ========================================================================== */
.hg-cmp { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; padding: 0 1rem 1rem; pointer-events: none; }
.hg-cmp__inner { pointer-events: auto; max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.25rem 1.5rem; background: var(--hg-surface); color: var(--wp--preset--color--ink-body); border-top: 4px solid var(--wp--preset--color--frankincense); border-radius: 12px; box-shadow: 0 12px 40px rgba(4, 18, 28, 0.28); }
.hg-cmp__text { flex: 1 1 460px; }
.hg-cmp__title { margin: 0 0 0.35rem; font-family: var(--wp--preset--font-family--headline); font-size: 1.25rem; color: var(--wp--preset--color--contrast); }
.hg-cmp__text p { margin: 0; font-size: 0.9rem; line-height: 1.5; }
.hg-cmp a { color: var(--wp--preset--color--ink); }
.hg-cmp__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
/* Accept all and Reject all share one style: same size, colour and weight. */
.hg-cmp__btn { min-width: 150px; padding: 0.8rem 1.3rem; border: 2px solid var(--hg-navy); border-radius: 8px; background: var(--hg-navy); color: var(--hg-on-navy); font-family: var(--wp--preset--font-family--label); font-size: 0.86rem; font-weight: 800; letter-spacing: 0.02em; cursor: pointer; }
.hg-cmp__btn:hover { background: var(--hg-navy-deep); border-color: var(--hg-navy-deep); }
.hg-cmp__btn:focus-visible, .hg-cmp__more:focus-visible, .hg-cmp-link:focus-visible, .hg-cmp-pill:focus-visible { outline: 3px solid var(--wp--preset--color--frankincense); outline-offset: 2px; }
.hg-cmp__btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.hg-cmp__more { padding: 0.8rem 0.4rem; border: 0; background: none; color: var(--wp--preset--color--contrast); font-family: var(--wp--preset--font-family--label); font-size: 0.86rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 600px) { .hg-cmp { padding: 0 0.5rem 0.5rem; } .hg-cmp__inner { padding: 1rem; } .hg-cmp__actions { width: 100%; } .hg-cmp__actions .hg-cmp__btn { flex: 1 1 0; min-width: 0; } .hg-cmp__more { width: 100%; text-align: center; padding: 0.3rem; } }
.hg-cmp-dlg { width: min(640px, calc(100% - 1.5rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: 14px; background: var(--hg-surface); color: var(--wp--preset--color--ink-body); box-shadow: 0 24px 64px rgba(4, 18, 28, 0.4); }
.hg-cmp-dlg::backdrop { background: rgba(8, 22, 31, 0.55); }
.hg-cmp-dlg__in { position: relative; padding: 1.6rem 1.6rem 1.4rem; }
.hg-cmp-dlg h2 { margin: 0 2rem 0.5rem 0; font-size: 1.5rem; color: var(--wp--preset--color--contrast); }
.hg-cmp-dlg__lead { margin: 0 0 1rem; font-size: 0.92rem; }
.hg-cmp-dlg__x { position: absolute; top: 0.8rem; right: 0.8rem; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--wp--preset--color--mist); color: var(--wp--preset--color--contrast); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.hg-cmp__rows { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.hg-cmp__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem; padding: 0.9rem 0; border-top: 1px solid var(--wp--preset--color--line); }
.hg-cmp__row h3 { margin: 0 0 0.2rem; font-family: var(--wp--preset--font-family--label); font-size: 0.92rem; font-weight: 800; color: var(--wp--preset--color--contrast); }
.hg-cmp__row p { margin: 0; font-size: 0.85rem; line-height: 1.45; color: var(--wp--preset--color--muted); }
.hg-cmp__always { flex: none; font-family: var(--wp--preset--font-family--label); font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--wp--preset--color--sea-glass); padding-top: 0.2rem; }
.hg-cmp__switch { position: relative; flex: none; width: 46px; height: 26px; margin-top: 0.1rem; }
.hg-cmp__switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.hg-cmp__switch span { position: absolute; inset: 0; border-radius: 999px; background: var(--wp--preset--color--line); transition: background 0.2s; }
.hg-cmp__switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform 0.2s; }
.hg-cmp__switch input:checked + span { background: var(--hg-navy); }
html[data-theme="dark"] .hg-cmp__switch input:checked + span { background: var(--wp--preset--color--frankincense); }
.hg-cmp__switch input:checked + span::after { transform: translateX(20px); }
.hg-cmp__switch input:focus-visible + span { outline: 3px solid var(--wp--preset--color--frankincense); outline-offset: 2px; }
.hg-cmp__actions--dlg .hg-cmp__btn { flex: 1 1 150px; }
.hg-cmp__gpc, .hg-cmp__status { margin: 0 0 1rem; padding: 0.7rem 0.9rem; border-radius: 8px; background: var(--wp--preset--color--mist); font-size: 0.88rem; }
.hg-cmp-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: none; cursor: pointer; text-align: left; }
.hg-cmp-link:hover { text-decoration: underline; }
.hg-cmp-fallback { text-align: center; padding: 1rem; font-size: 0.85rem; }
.hg-cmp-pill { position: fixed; left: 1rem; bottom: 1rem; z-index: 900; display: inline-flex; align-items: center; gap: 0.5rem; max-width: calc(100% - 2rem); padding: 0.55rem 0.95rem; border: 2px solid #0066CC; border-radius: 999px; background: #fff; color: #0066CC; font-family: var(--wp--preset--font-family--label); font-size: 0.74rem; font-weight: 800; line-height: 1.2; text-align: left; box-shadow: 0 4px 14px rgba(4, 18, 28, 0.2); cursor: pointer; }
.hg-cmp-pill svg { width: 30px; height: 14px; flex: none; }
.hg-cmp-pill:hover { background: #EEF5FC; }
.hg-embed-gate { display: flex; align-items: center; justify-content: center; min-height: 220px; margin: 1.5rem 0; padding: 1.5rem; border-radius: 10px; background: var(--wp--preset--color--mist); border: 1px dashed var(--wp--preset--color--line); text-align: center; }
.hg-embed-gate p { margin: 0 0 0.8rem; font-size: 0.92rem; }
.hg-embed-gate__btns { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin: 0 !important; }
.hg-short { position: relative; }
.hg-short__gate { position: absolute; left: 0; right: 0; bottom: 1.6rem; margin: 0 0.5rem; padding: 0.8rem; border-radius: 8px; background: var(--hg-surface); color: var(--wp--preset--color--ink-body); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); font-size: 0.78rem; z-index: 2; }
.hg-short__gate p { margin: 0 0 0.5rem; }
.hg-short__gate button { width: 100%; margin-top: 0.35rem; padding: 0.5rem; border: 2px solid var(--hg-navy); border-radius: 6px; background: var(--hg-navy); color: var(--hg-on-navy); font-family: var(--wp--preset--font-family--label); font-size: 0.74rem; font-weight: 800; cursor: pointer; }
/* AdSense units stay hidden until advertising is allowed for this reader. */
html:not(.hg-ads-live) .hg-ad:has(ins.adsbygoogle) { display: none; }

/* ==========================================================================
   v2.5 -- Night mode
   ========================================================================== */
html[data-theme="dark"] {
	color-scheme: dark;
	--wp--preset--color--base: #0A141B;
	--wp--preset--color--contrast: #E8EEF3;
	--wp--preset--color--ink-body: #C9D4DC;
	--wp--preset--color--muted: #98A8B5;
	--wp--preset--color--mist: #121F29;
	--wp--preset--color--line: #263A4A;
	--wp--preset--color--ocean-2: #1B3446;
	--wp--preset--color--ink: #E4B06C;
	--wp--preset--color--sea-glass: #6FB3B0;
	--hg-navy: #102C3E;
	--hg-navy-deep: #07131B;
	--hg-surface: #111D26;
	--hg-h60-bg: #101B23;
}
html[data-theme="dark"] .has-contrast-background-color { background-color: var(--hg-navy) !important; }
html[data-theme="dark"] .has-base-color { color: var(--hg-on-navy) !important; }
html[data-theme="dark"] .hg-mast__band { background: #0D2433; }
html[data-theme="dark"] .hg-util { background: #0F1A22; }
html[data-theme="dark"] .hg-h60-band { background: var(--hg-h60-bg); }
html[data-theme="dark"] :is(.hg-newsletter input[type="email"], .hgpz-card__thumb, .hgpz-ws__grid, .hgpz-wg__tile, .hgpz-sd__grid, .hgpz-sd__cell, .hgpz-sd__num, .hgpz-fl__cell, .hg-tags a, .hg-aside__btn:hover, .hg-nl__card, .hg-filter a, .hg-biz-band, .hg-rt__tabs.hg-rt__tabs--sub button) { background: var(--hg-surface); }
html[data-theme="dark"] .hg-rt__tabs.hg-rt__tabs--sub button[aria-selected="true"], html[data-theme="dark"] .hg-filter a:hover, html[data-theme="dark"] .hg-filter a[aria-current] { background: var(--wp--preset--color--frankincense); border-color: var(--wp--preset--color--frankincense); color: #fff; }
html[data-theme="dark"] .hg-short__btn, html[data-theme="dark"] .hg-short__frame { background: #050C11; }
html[data-theme="dark"] .hg-pod { background: #6E4510; }
html[data-theme="dark"] .hg-pod__cta { color: #6E4510 !important; }
html[data-theme="dark"] img:not([src$=".svg"]) { filter: brightness(0.92); }
html[data-theme="dark"] .hg-cmp-pill { background: #0B1A26; color: #7FB8F0; border-color: #7FB8F0; }
html[data-theme="dark"] .hg-cmp-pill svg rect[fill="#fff"] { fill: #0B1A26; }
html[data-theme="dark"] .hg-cmp__btn { background: #F2F6F9; border-color: #F2F6F9; color: #0A141B; }
html[data-theme="dark"] .hg-cmp__btn:hover { background: #fff; border-color: #fff; }
html[data-theme="dark"] .hg-short__gate button { background: #F2F6F9; border-color: #F2F6F9; color: #0A141B; }
.hg-util .hg-wx__icon { color: var(--wp--preset--color--frankincense); } .hg-util .hg-wx__temp { color: var(--wp--preset--color--ink); }
body:has(.hg-cmp--notice) .hg-cmp-pill { display: none; }
