/* ==========================================================================
   Hello Australia — main styles
   Australian flag palette: navy #012169 · red #E4002B · white
   Colours, corner radius and heading font are set in Appearance → Customize.
   ========================================================================== */

:root {
	--ha-primary: #012169;
	--ha-primary-dark: #011544;
	--ha-primary-darker: #000F2F;
	--ha-primary-soft: #E6E9F0;
	--ha-primary-mid: #A9B3CF;
	--ha-accent: #E4002B;
	--ha-accent-dark: #B60022;
	--ha-accent-soft: #FCE6EA;
	--ha-ink: #0E1530;
	--ha-text: #2A3147;
	--ha-muted: #5F6680;
	--ha-rule: #E3E7F0;
	--ha-soft: #F3F5FA;
	--ha-bg: #FFFFFF;
	--ha-radius: 14px;
	--ha-radius-lg: 20px;
	--ha-radius-sm: 8px;
	--ha-display: "HA Jakarta", "HA Inter", system-ui, sans-serif;
	--ha-sans: "HA Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ha-container: 1240px;
	--ha-gutter: 24px;
	--ha-stars: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cpath d='M40.0,41.0L41.6,46.6L47.0,44.4L43.7,49.2L48.8,52.0L43.0,52.4L43.9,58.1L40.0,53.8L36.1,58.1L37.0,52.4L31.2,52.0L36.3,49.2L33.0,44.4L38.4,46.6ZM160.0,24.0L161.1,27.7L164.7,26.3L162.5,29.4L165.8,31.3L162.0,31.6L162.6,35.4L160.0,32.5L157.4,35.4L158.0,31.6L154.2,31.3L157.5,29.4L155.3,26.3L158.9,27.7ZM250.0,109.0L252.0,115.8L258.6,113.1L254.5,119.0L260.7,122.4L253.6,122.9L254.8,129.9L250.0,124.6L245.2,129.9L246.4,122.9L239.3,122.4L245.5,119.0L241.4,113.1L248.0,115.8ZM90.0,163.0L91.3,167.4L95.5,165.6L92.9,169.3L96.8,171.6L92.3,171.8L93.0,176.3L90.0,172.9L87.0,176.3L87.7,171.8L83.2,171.6L87.1,169.3L84.5,165.6L88.7,167.4ZM200.0,222.0L201.5,227.0L206.3,225.0L203.3,229.3L207.8,231.8L202.6,232.1L203.5,237.2L200.0,233.4L196.5,237.2L197.4,232.1L192.2,231.8L196.7,229.3L193.7,225.0L198.5,227.0ZM30.0,255.0L30.9,258.1L33.9,256.9L32.0,259.5L34.9,261.1L31.6,261.3L32.2,264.5L30.0,262.1L27.8,264.5L28.4,261.3L25.1,261.1L28.0,259.5L26.1,256.9L29.1,258.1ZM280.0,274.0L281.1,277.7L284.7,276.3L282.5,279.4L285.8,281.3L282.0,281.6L282.6,285.4L280.0,282.5L277.4,285.4L278.0,281.6L274.2,281.3L277.5,279.4L275.3,276.3L278.9,277.7Z' fill='white' fill-opacity='0.06'/%3E%3C/svg%3E");
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ha-bg); color: var(--ha-text); font-family: var(--ha-sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; transition: color .15s ease, background-color .15s ease, border-color .15s ease; }
a:hover { color: var(--ha-accent); }
:focus-visible { outline: 3px solid var(--ha-accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ha-display); color: var(--ha-ink); font-weight: 800; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
hr { border: 0; border-top: 1px solid var(--ha-rule); margin: 2em 0; }
::selection { background: var(--ha-primary); color: #fff; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; left: 8px; top: 8px; z-index: 1000; padding: 10px 16px; background: var(--ha-accent); color: #fff; border-radius: var(--ha-radius-sm); font-weight: 700; }
.container { width: 100%; max-width: calc(var(--ha-container) + var(--ha-gutter) * 2); margin: 0 auto; padding: 0 var(--ha-gutter); }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--ha-primary-darker); color: var(--ha-primary-mid); font-size: 12.5px; }
.topbar-inner { display: flex; align-items: center; gap: 24px; min-height: 38px; }
.trending { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.trending-label { flex: 0 0 auto; background: var(--ha-accent); color: #fff; font: 800 10.5px/1 var(--ha-display); letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; }
.trending-list { list-style: none; display: flex; gap: 22px; min-width: 0; overflow: hidden; white-space: nowrap; }
.trending-list li { position: relative; flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }
.trending-list li + li::before { content: ""; position: absolute; left: -12px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--ha-primary-mid); }
.trending-list a { color: #fff; font-weight: 500; }
.trending-list a:hover { color: #fff; text-decoration: underline; }
.topbar-right { display: flex; align-items: center; gap: 18px; margin-left: auto; flex: 0 0 auto; }
.topbar-nav ul { list-style: none; display: flex; gap: 16px; }
.topbar-nav a { color: #fff; }
.topbar-nav a:hover { color: #fff; text-decoration: underline; }
.topbar-date + .topbar-nav { padding-left: 18px; border-left: 1px solid rgba(255,255,255,.18); }

/* Header ----------------------------------------------------------------- */
.site-header { position: relative; z-index: 100; background: #fff; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.site-title { margin: 0; font-size: inherit; line-height: 1; flex: 0 0 auto; }
.site-title .custom-logo-link { display: inline-block; }
.site-title img { max-height: 44px; width: auto; }
.header-search { flex: 1; max-width: 460px; margin-left: auto; }
.header-search .search-form { position: relative; display: block; }
.header-search .search-field { padding: 11px 120px 11px 20px; background: var(--ha-soft); border-color: var(--ha-soft); }
.header-search .search-field:focus { background: #fff; }
.header-search .search-submit { position: absolute; right: 4px; top: 4px; bottom: 4px; padding: 0 18px; font-size: 13px; background: var(--ha-primary); }
.header-search .search-submit:hover { background: var(--ha-accent); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; background: var(--ha-soft); border: 0; color: var(--ha-ink); cursor: pointer; }
.icon-btn:hover { background: var(--ha-primary); color: #fff; }
.header-cta { display: inline-flex; align-items: center; gap: 6px; padding: 12px 20px; border-radius: 999px; background: var(--ha-accent); color: #fff; font: 700 14px/1 var(--ha-display); white-space: nowrap; }
.header-cta:hover { background: var(--ha-primary); color: #fff; }
.search-panel { background: var(--ha-soft); padding: 16px 0; border-top: 1px solid var(--ha-rule); }
.search-panel .search-form { max-width: 680px; margin: 0 auto; }

.navbar { background: var(--ha-primary); background-image: linear-gradient(90deg, var(--ha-primary) 0%, var(--ha-primary-dark) 100%); }
.main-nav { display: flex; align-items: center; }
.main-nav .menu { list-style: none; display: flex; align-items: stretch; flex-wrap: wrap; }
.main-nav .menu > li { position: relative; }
.main-nav a { display: block; padding: 15px 16px; font: 700 14.5px/1.2 var(--ha-display); letter-spacing: -.005em; color: #fff; }
.main-nav .menu > li > a { border-bottom: 3px solid transparent; }
.main-nav .menu > li > a:hover { background: rgba(255,255,255,.08); color: #fff; }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav .current-cat > a { border-bottom-color: var(--ha-accent) !important; }
.main-nav .menu-item-has-children > a::after { content: "▾"; margin-left: 6px; font-size: 11px; opacity: .7; }
.main-nav .sub-menu, .main-nav .children { list-style: none; position: absolute; top: 100%; left: 0; z-index: 50; min-width: 230px; background: #fff; border-radius: 0 0 var(--ha-radius) var(--ha-radius); border-top: 3px solid var(--ha-accent); box-shadow: 0 18px 40px rgba(14,21,48,.16); padding: 8px; display: none; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.main-nav .sub-menu a { font: 600 14px/1.3 var(--ha-sans); color: var(--ha-ink); padding: 10px 12px; border-radius: var(--ha-radius-sm); }
.main-nav .sub-menu a:hover { background: var(--ha-primary-soft); color: var(--ha-primary); }
.main-nav .nav-cta { display: none; }

/* Common ----------------------------------------------------------------- */
.site-main { padding-bottom: 80px; }
.kicker { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: var(--ha-accent-soft); color: var(--ha-accent); font: 800 10.5px/1.3 var(--ha-display); letter-spacing: .08em; text-transform: uppercase; }
.kicker:hover { background: var(--ha-accent); color: #fff; }
.badge-sponsored { display: inline-block; margin: 0 6px 10px 0; padding: 4px 10px; border-radius: 999px; background: var(--ha-ink); color: #fff; font: 800 10.5px/1.3 var(--ha-display); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
.entry-meta, .card-meta { font-size: 13px; color: var(--ha-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; }
.entry-meta a { color: var(--ha-ink); font-weight: 600; }
.entry-thumb { display: block; overflow: hidden; background: var(--ha-soft); border-radius: var(--ha-radius); }
.entry-thumb img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .35s ease; }
a.entry-thumb:hover img { transform: scale(1.04); }

.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 28px; padding-bottom: 12px; border-bottom: 2px solid var(--ha-rule); font-size: 24px; font-weight: 800; letter-spacing: -.025em; color: var(--ha-ink); }
.section-title > span:first-child { position: relative; }
.section-title > span:first-child::after { content: ""; position: absolute; left: 0; right: 0; bottom: -14px; height: 3px; background: var(--ha-accent); border-radius: 2px; }
.section-more { font: 700 13.5px/1 var(--ha-display); color: var(--ha-primary); letter-spacing: 0; }
.section-more:hover { color: var(--ha-accent); }

.grid { display: grid; gap: 40px 28px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card .entry-thumb { margin-bottom: 16px; }
.card-title { font-size: 19px; line-height: 1.3; margin-bottom: 10px; }
.card-title a:hover, .compact-title a:hover, .list-item-title a:hover { color: var(--ha-accent); }
.card-excerpt { color: var(--ha-muted); font-size: 15px; line-height: 1.6; margin-bottom: 12px; }

.compact { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 14px; align-items: center; }
.compact:not(.has-post-thumbnail) { grid-template-columns: 1fr; }
.compact .entry-thumb { border-radius: var(--ha-radius-sm); }
.compact .entry-thumb img { aspect-ratio: 4 / 3; }
.compact .kicker { margin-bottom: 6px; padding: 2px 8px; font-size: 10px; }
.compact-title { font-size: 15.5px; line-height: 1.35; margin: 0 0 6px; }

/* Hero: mosaic ----------------------------------------------------------- */
.hero { padding: 32px 0 56px; }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.tile { position: relative; overflow: hidden; border-radius: var(--ha-radius-lg); background: var(--ha-primary); isolation: isolate; }
.tile-big { grid-row: span 2; }
.tile-link { position: absolute; inset: 0; z-index: -1; }
.tile-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.tile:hover .tile-link img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, color-mix(in srgb, var(--ha-primary-darker) 94%, transparent) 0%, color-mix(in srgb, var(--ha-primary-darker) 55%, transparent) 45%, transparent 75%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; }
.tile-big .tile-body { padding: 34px; }
.tile .kicker { background: var(--ha-accent); color: #fff; }
.tile .kicker:hover { background: #fff; color: var(--ha-accent); }
.tile .badge-sponsored { background: #fff; color: var(--ha-ink); }
.tile-title { color: #fff; font-size: 18px; line-height: 1.25; margin: 0 0 8px; text-shadow: 0 1px 12px rgba(0,0,0,.25); }
.tile-big .tile-title { font-size: clamp(26px, 3vw, 38px); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 12px; }
.tile-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.tile-excerpt { color: rgba(255,255,255,.85); font-size: 16px; margin-bottom: 12px; max-width: 60ch; }
.tile .entry-meta, .tile .card-meta { color: rgba(255,255,255,.75); }
.tile .entry-meta a { color: #fff; }

/* Hero: classic ---------------------------------------------------------- */
.hero-classic .container { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; }
.hero-lead .entry-thumb { margin-bottom: 20px; border-radius: var(--ha-radius-lg); }
.hero-lead .entry-thumb img { aspect-ratio: 16 / 9; }
.hero-title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; letter-spacing: -.03em; margin-bottom: 12px; }
.hero-title a:hover { color: var(--ha-accent); }
.hero-excerpt { font-size: 17px; color: var(--ha-muted); }
.hero-side { list-style: none; display: grid; gap: 18px; align-content: start; }
.hero-side .compact { padding-bottom: 18px; border-bottom: 1px solid var(--ha-rule); }
.hero-side .compact:last-child { border-bottom: 0; }

/* Category sections ------------------------------------------------------ */
.cat-section { padding-bottom: 64px; }
.cat-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.cat-feature .card-title { font-size: 24px; letter-spacing: -.025em; }
.cat-feature .entry-thumb img { aspect-ratio: 16 / 10; }
.cat-list-compact { list-style: none; display: grid; gap: 0; }
.cat-list-compact .compact { padding: 16px 0; border-bottom: 1px solid var(--ha-rule); }
.cat-list-compact .compact:first-child { padding-top: 0; }
.cat-list-compact .compact:last-child { border-bottom: 0; }
.cat-section:nth-of-type(even) .cat-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.cat-section:nth-of-type(even) .cat-feature { order: 2; }

/* Layout + sidebar ------------------------------------------------------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 56px; align-items: start; }
.no-sidebar .layout { grid-template-columns: minmax(0, 1fr); }
.sidebar { position: sticky; top: 24px; }
.widget { margin-bottom: 28px; font-size: 15px; background: #fff; border: 1px solid var(--ha-rule); border-top: 4px solid var(--ha-primary); border-radius: var(--ha-radius); padding: 22px 24px; }
.widget-title { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.widget ul { list-style: none; }
.widget ul li { padding: 9px 0; border-bottom: 1px solid var(--ha-rule); }
.widget ul li:last-child { border-bottom: 0; padding-bottom: 0; }
.widget ul ul { margin-left: 14px; }
.widget-popular .numbered { list-style: none; counter-reset: pop; }
.widget-popular .numbered li { counter-increment: pop; display: grid; grid-template-columns: 38px 1fr; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--ha-rule); font: 700 15px/1.4 var(--ha-display); letter-spacing: -.01em; color: var(--ha-ink); }
.widget-popular .numbered li::before { content: counter(pop); display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ha-primary); color: #fff; font-size: 12.5px; }
.widget-popular .numbered li:first-child::before { background: var(--ha-accent); }
.widget-popular .numbered li:last-child { border-bottom: 0; padding-bottom: 0; }
.cat-list li { display: flex; justify-content: space-between; align-items: center; color: var(--ha-muted); font-size: 13px; }
.cat-list li a { color: var(--ha-ink); font-weight: 600; font-size: 15px; }
.cat-list li a:hover { color: var(--ha-accent); }

/* Page headers ----------------------------------------------------------- */
.page-header { background-color: var(--ha-primary); background-image: var(--ha-stars), linear-gradient(120deg, var(--ha-primary) 0%, var(--ha-primary-dark) 100%); color: var(--ha-primary-mid); padding: 48px 0 52px; margin-bottom: 48px; border-bottom: 4px solid var(--ha-accent); }
.page-header .breadcrumbs, .page-header .breadcrumbs a { color: var(--ha-primary-mid); }
.page-header .breadcrumbs li[aria-current], .page-header .breadcrumbs .breadcrumb_last { color: #fff; }
.page-header .breadcrumbs a:hover { color: #fff; }
.page-kicker { display: inline-block; font: 800 11px/1 var(--ha-display); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--ha-accent); padding: 6px 10px; border-radius: 4px; margin-bottom: 14px; }
.page-title { font-size: clamp(30px, 4.4vw, 50px); margin-bottom: 8px; letter-spacing: -.035em; }
.page-header .page-title { color: #fff; }
.archive-description { color: #D5DBEC; font-size: 17px; max-width: 720px; }
.archive-description p:last-child { margin: 0; }
.page-search { max-width: 600px; margin-top: 20px; }

.list-item { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: center; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid var(--ha-rule); }
.list-item:not(.has-post-thumbnail) { grid-template-columns: 1fr; }
.list-item-title { font-size: 22px; line-height: 1.28; margin-bottom: 10px; }
.list-item-excerpt { color: var(--ha-muted); font-size: 15.5px; margin-bottom: 12px; }

.breadcrumbs { font-size: 13px; color: var(--ha-muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.breadcrumbs a:hover { color: var(--ha-accent); }
.breadcrumbs li[aria-current] { color: var(--ha-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.breadcrumbs > span, .breadcrumbs > p { display: inline; }
.breadcrumbs .breadcrumb_last { color: var(--ha-ink); }

.pagination { margin-top: 16px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; padding: 0 16px; align-items: center; justify-content: center; border-radius: var(--ha-radius-sm); font: 700 14px/1 var(--ha-display); background: var(--ha-soft); color: var(--ha-ink); }
.pagination .page-numbers.current { background: var(--ha-primary); color: #fff; }
.pagination a.page-numbers:hover { background: var(--ha-accent); color: #fff; }

/* Single ----------------------------------------------------------------- */
.layout-single { padding-top: 44px; }
.single-article .entry-header { margin-bottom: 30px; }
.entry-title { font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -.035em; margin-bottom: 18px; }
.standfirst { font-size: 20px; line-height: 1.55; color: var(--ha-muted); margin-bottom: 22px; }
.entry-header-meta { padding: 14px 0; border-top: 1px solid var(--ha-rule); border-bottom: 1px solid var(--ha-rule); }
.entry-header-meta .entry-meta { font-size: 14px; }
.updated-wrap { color: var(--ha-muted); }
.entry-figure { margin: 0 0 40px; }
.entry-figure img { width: 100%; border-radius: var(--ha-radius-lg); }
.entry-figure figcaption, .wp-caption-text, .wp-element-caption, figcaption { font-size: 13px; color: var(--ha-muted); padding-top: 10px; line-height: 1.5; }

.entry-content { font-size: 18px; line-height: 1.8; color: var(--ha-text); max-width: 760px; }
.page-article .entry-content, .single-article .entry-content { overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.3em; }
.entry-content h2 { font-size: 29px; margin-top: 1.7em; margin-bottom: .6em; }
.entry-content h3 { font-size: 23px; margin-top: 1.5em; margin-bottom: .5em; }
.entry-content h4 { font-size: 19px; margin-top: 1.4em; }
.entry-content a { color: var(--ha-primary); font-weight: 600; text-decoration: underline; text-decoration-color: var(--ha-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.entry-content a:hover { color: var(--ha-accent); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--ha-accent); font-weight: 700; }
.entry-content blockquote, .wp-block-quote { position: relative; margin: 2em 0; padding: 30px 30px 26px 34px; background: var(--ha-primary-soft); border-radius: var(--ha-radius-lg); border-left: 6px solid var(--ha-accent); font: 700 21px/1.5 var(--ha-display); letter-spacing: -.015em; color: var(--ha-primary); }
.entry-content blockquote p:last-of-type { margin-bottom: 0; }
.entry-content blockquote cite { display: block; margin-top: 14px; font: 600 13px/1.4 var(--ha-sans); font-style: normal; color: var(--ha-accent); letter-spacing: 0; }
.wp-block-pullquote { border-top: 4px solid var(--ha-primary); border-bottom: 4px solid var(--ha-accent); padding: 1.5em 0; text-align: center; }
.wp-block-pullquote blockquote { border: 0; padding: 0; margin: 0; background: none; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--ha-rule); padding: 11px 12px; text-align: left; }
.entry-content th { background: var(--ha-primary); color: #fff; font-weight: 600; }
.entry-content code { font-size: .85em; background: var(--ha-soft); padding: 2px 6px; border-radius: 4px; }
.entry-content pre { background: var(--ha-soft); padding: 16px; overflow-x: auto; font-size: 14px; border-radius: var(--ha-radius-sm); }
.entry-content img { height: auto; border-radius: var(--ha-radius); }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content-elementor { max-width: none; font-size: inherit; line-height: inherit; }
.entry-content-elementor img { border-radius: 0; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; text-align: center; }
.alignwide { max-width: none; }
.sticky .card-title::before, .sticky .list-item-title::before { content: "★ "; color: var(--ha-accent); }
.page-links { font-size: 14px; margin: 1.5em 0; }

.entry-footer { margin-top: 44px; max-width: 760px; }
.entry-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.entry-tags-label, .share-label { font: 800 14px/1 var(--ha-display); color: var(--ha-ink); margin-right: 4px; }
.entry-tags a { background: var(--ha-soft); padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.entry-tags a:hover { background: var(--ha-primary); color: #fff; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 0 32px; font-size: 13px; font-weight: 600; }
.share a { border: 1px solid var(--ha-rule); padding: 7px 14px; border-radius: 999px; color: var(--ha-text); }
.share a:hover { background: var(--ha-primary); border-color: var(--ha-primary); color: #fff; }
.author-box { display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 26px; background: var(--ha-primary-soft); border-radius: var(--ha-radius-lg); margin-bottom: 8px; border-left: 5px solid var(--ha-primary); }
.author-box img { width: 76px; height: 76px; border-radius: 50%; background: var(--ha-primary-mid); font-size: 0; }
.author-box-label { font: 800 11px/1 var(--ha-display); letter-spacing: .1em; text-transform: uppercase; color: var(--ha-accent); margin-bottom: 6px; }
.author-box-name { font: 800 19px/1.3 var(--ha-display); margin-bottom: 6px; color: var(--ha-ink); }
.author-box-bio { color: var(--ha-muted); font-size: 15px; margin: 0; }
.post-navigation { padding: 28px 0 8px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation .nav-previous a, .post-navigation .nav-next a { display: block; height: 100%; padding: 20px 22px; border: 1px solid var(--ha-rule); border-radius: var(--ha-radius); }
.post-navigation a:hover { border-color: var(--ha-primary); background: var(--ha-primary-soft); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation .nav-label { display: block; font: 800 11px/1 var(--ha-display); letter-spacing: .1em; text-transform: uppercase; color: var(--ha-accent); margin-bottom: 8px; }
.post-navigation .nav-title { font: 700 16px/1.35 var(--ha-display); color: var(--ha-ink); }
.related { margin-top: 52px; }
.related .card-title { font-size: 17px; }

.page-wrap { max-width: 880px; padding-top: 44px; }
.page-article .entry-title { margin-bottom: 30px; }
.page-article .entry-content { max-width: none; }
.elementor-page-content { width: 100%; }
.ha-elementor-page .site-main { padding-bottom: 0; }

/* Comments */
.comments-area { margin-top: 56px; max-width: 760px; }
.comments-area .section-title { font-size: 22px; }
.comment-list { list-style: none; margin-bottom: 32px; }
.comment-list .children { list-style: none; margin-left: 32px; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--ha-rule); font-size: 15.5px; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--ha-muted); margin-bottom: 10px; }
.comment-author { display: flex; align-items: center; gap: 10px; color: var(--ha-ink); }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.reply a { font-size: 13px; font-weight: 700; color: var(--ha-accent); }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ha-ink); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; color: var(--ha-muted); font-size: 13px; }
.comment-notes { font-size: 13px; color: var(--ha-muted); }

/* Forms & buttons */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], input[type="number"], input[type="tel"], textarea, select { width: 100%; padding: 13px 16px; font: 15px/1.4 var(--ha-sans); color: var(--ha-ink); background: #fff; border: 1px solid #D3D9E6; border-radius: var(--ha-radius-sm); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ha-primary); box-shadow: 0 0 0 3px var(--ha-primary-soft); }
button, .button, input[type="submit"], .wp-block-button__link, .wp-element-button { display: inline-block; cursor: pointer; border: 0; border-radius: 999px; background: var(--ha-accent); color: #fff; padding: 13px 24px; font: 700 14px/1.2 var(--ha-display); transition: background-color .15s ease, color .15s ease; }
button:hover, .button:hover, input[type="submit"]:hover, .wp-block-button__link:hover { background: var(--ha-primary); color: #fff; }
.search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; border-radius: 999px; padding-left: 20px; }
.search-form .search-submit { flex: 0 0 auto; }
.footer-col .search-form, .sidebar .search-form { flex-direction: column; }
.footer-col .search-submit, .sidebar .search-submit { width: 100%; }

.error-404 { max-width: 640px; text-align: center; padding-top: 80px; padding-bottom: 32px; }
.error-code { font: 800 120px/1 var(--ha-display); letter-spacing: -.05em; margin-bottom: 8px; color: var(--ha-primary); }
.error-code::first-letter { color: var(--ha-accent); }
.error-404 .search-form { margin: 24px 0; }
.no-results { padding: 24px 0; font-size: 17px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background-color: var(--ha-primary-darker); background-image: var(--ha-stars); color: var(--ha-primary-mid); margin-top: 24px; font-size: 14.5px; border-top: 5px solid var(--ha-accent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 44px; padding-top: 64px; padding-bottom: 44px; }
.footer-about img { width: 240px; height: auto; margin-bottom: 18px; }
.footer-about p { font-size: 14.5px; line-height: 1.7; }
.footer-social { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-weight: 600; font-size: 13px; }
.footer-social a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); color: #fff; }
.footer-social a:hover { background: var(--ha-accent); color: #fff; }
.site-footer .widget-title { color: #fff; font-size: 15px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 6px 0; }
.footer-col li a { color: #DCE2F2; }
.footer-col li a:hover { color: #fff; text-decoration: underline; }
.footer-col .widget { background: none; border: 0; padding: 0; margin-bottom: 24px; }
.footer-col .widget ul li { border: 0; padding: 6px 0; }
.footer-col .search-field { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.footer-col .search-field::placeholder { color: var(--ha-primary-mid); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 20px; padding-bottom: 22px; font-size: 13px; }
.copyright { margin: 0; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: #DCE2F2; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }

/* WP blocks */
.wp-block-image { margin-bottom: 1.5em; }
.wp-block-separator { border: 0; height: 4px !important; background: linear-gradient(90deg, var(--ha-primary) 0 50%, var(--ha-accent) 50% 100%); border-radius: 2px; max-width: 100px; }
.has-navy-color { color: #012169; } .has-navy-background-color { background-color: #012169; }
.has-deep-color { color: #0B1B4D; } .has-deep-background-color { background-color: #0B1B4D; }
.has-red-color { color: #E4002B; } .has-red-background-color { background-color: #E4002B; }
.has-ink-color { color: #0E1530; } .has-ink-background-color { background-color: #0E1530; }
.has-soft-color { color: #F3F5FA; } .has-soft-background-color { background-color: #F3F5FA; }
.has-white-color { color: #fff; } .has-white-background-color { background-color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item { margin: 0; }

/* Contact form */
.ha-contact { background: var(--ha-soft); border-radius: var(--ha-radius-lg); padding: 28px; margin: 8px 0 24px; font-size: 15px; border-top: 4px solid var(--ha-primary); }
.ha-contact .ha-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ha-contact p { margin: 0 0 16px; }
.ha-contact label { display: block; font-weight: 600; font-size: 14px; color: var(--ha-ink); margin-bottom: 6px; }
.ha-contact .ha-consent label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; color: var(--ha-muted); }
.ha-contact .ha-consent input { margin-top: 4px; }
.ha-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ha-alert { padding: 14px 18px; border-radius: var(--ha-radius-sm); margin-bottom: 18px; font-weight: 600; }
.ha-alert-ok { background: #E7F6EC; color: #11713A; border-left: 4px solid #11713A; }
.ha-alert-err { background: var(--ha-accent-soft); color: var(--ha-accent-dark); border-left: 4px solid var(--ha-accent); }
.entry-content .ha-contact a { font-weight: 600; }

/* Cookie notice */
.ha-cookie { position: fixed; z-index: 200; left: 20px; bottom: 20px; max-width: 420px; background: var(--ha-primary-darker); color: #DCE2F2; border-radius: var(--ha-radius-lg); padding: 18px 20px; box-shadow: 0 20px 50px rgba(0,0,0,.25); font-size: 14px; border-top: 4px solid var(--ha-accent); }
.ha-cookie[hidden] { display: none; }
.ha-cookie p { margin: 0 0 12px; }
.ha-cookie a { color: #fff; text-decoration: underline; }
.ha-cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.ha-cookie button { padding: 9px 18px; font-size: 13px; }
.ha-cookie .ha-cookie-no { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.ha-cookie .ha-cookie-no:hover { background: rgba(255,255,255,.1); }
.ha-cookie .ha-cookie-yes:hover { background: #fff; color: var(--ha-ink); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
	.layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; }
	.main-nav a { padding: 15px 12px; font-size: 14px; }
	.grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
	.mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 380px 220px 220px; }
	.tile-big { grid-column: span 2; grid-row: auto; }
	.hero-classic .container { grid-template-columns: 1fr; }
	.layout { grid-template-columns: 1fr; }
	.sidebar { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 24px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.topbar-date { display: none; }
	.topbar-date + .topbar-nav { padding-left: 0; border-left: 0; }

}
@media (max-width: 960px) {
	/* Mobile navigation */
	.icon-btn.menu-toggle { display: inline-flex; }
	.navbar { background: none; }
	.navbar > .container { padding: 0; }
	.main-nav { display: none; flex-direction: column; align-items: stretch; background: #fff; border-top: 1px solid var(--ha-rule); box-shadow: 0 20px 40px rgba(14,21,48,.12); padding: 8px var(--ha-gutter) 20px; max-height: calc(100vh - 140px); overflow-y: auto; }
	.main-nav.is-open { display: flex; }
	.main-nav .menu { flex-direction: column; align-items: stretch; }
	.main-nav a { color: var(--ha-ink); padding: 14px 4px; font-size: 16px; border-bottom: 1px solid var(--ha-rule) !important; }
	.main-nav .menu > li > a:hover { background: none; color: var(--ha-accent); }
	.main-nav .current-menu-item > a, .main-nav .current-cat > a { color: var(--ha-accent); }
	.main-nav .menu-item-has-children > a::after { display: none; }
	.main-nav .menu-item-has-children > a[href="#"] { pointer-events: none; color: var(--ha-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
	.main-nav .sub-menu { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 14px; min-width: 0; border-radius: 0; }
	.main-nav .sub-menu a { border-radius: 0; }
	.main-nav .nav-cta { display: flex; justify-content: center; margin-top: 16px; padding: 14px 18px; border: 0 !important; border-radius: 999px; background: var(--ha-accent); color: #fff; font: 700 15px/1 var(--ha-display); }
}
@media (max-width: 860px) {
	.header-search { display: none; }
	.icon-btn.search-toggle { display: inline-flex; }
	.header-actions { margin-left: auto; }
	.header-inner { min-height: 70px; gap: 12px; }
	.cat-grid, .cat-section:nth-of-type(even) .cat-grid { grid-template-columns: 1fr; gap: 20px; }
	.cat-section:nth-of-type(even) .cat-feature { order: 0; }
	.trending-list li:nth-child(n+2) { display: none; }
	.trending-list li { max-width: none; }
}
@media (max-width: 640px) {
	:root { --ha-gutter: 16px; }
	.topbar-nav { display: none; }
	.site-title img { max-height: 34px; }
	.header-actions .header-cta { display: none; }
	.hero { padding: 16px 0 40px; }
	.mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; gap: 12px; }
	.tile-big { grid-column: auto; min-height: 420px; }
	.tile:not(.tile-big) { min-height: 180px; }
	.tile-big .tile-body { padding: 22px; }
	.tile-excerpt { display: none; }
	.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
	.section-title { font-size: 21px; }
	.page-header { padding: 32px 0 36px; margin-bottom: 32px; }
	.list-item { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 22px; margin-bottom: 22px; }
	.list-item .entry-thumb { border-radius: var(--ha-radius-sm); }
	.list-item .entry-thumb img { aspect-ratio: 1 / 1; }
	.list-item-title { font-size: 17px; }
	.list-item-excerpt { display: none; }
	.list-item .kicker { font-size: 9.5px; margin-bottom: 6px; padding: 2px 8px; }
	.list-item .entry-meta .reading-time, .list-item .entry-meta .byline, .list-item .entry-meta .sep { display: none; }
	.entry-meta .sep { display: none; }
	.entry-meta { gap: 4px 14px; }
	.compact { grid-template-columns: 96px minmax(0, 1fr); }
	.entry-content { font-size: 17px; }
	.standfirst { font-size: 17px; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: 1; text-align: left; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
	.breadcrumbs li[aria-current] { max-width: 24ch; }
	.ha-contact { padding: 20px; }
	.ha-contact .ha-row { grid-template-columns: 1fr; gap: 0; }
	.ha-cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::after { transition: none !important; scroll-behavior: auto !important; }
	a.entry-thumb:hover img, .tile:hover .tile-link img { transform: none; }
}
@media print { .site-header, .sidebar, .site-footer, .share, .related, .comments-area, .post-navigation { display: none !important; } }

/* Category section with a single post: horizontal feature */
.cat-grid.cat-grid-single, .cat-section:nth-of-type(even) .cat-grid.cat-grid-single { grid-template-columns: 1fr; }
.cat-grid-single .cat-feature .card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.cat-grid-single .cat-feature .card .entry-thumb { margin: 0; }
.cat-grid-single .cat-list-compact { display: none; }
@media (max-width: 860px) { .cat-grid-single .cat-feature .card { grid-template-columns: 1fr; gap: 0; } .cat-grid-single .cat-feature .card .entry-thumb { margin-bottom: 16px; } }
