/* ==========================================================================
   HesstikStudio — News theme (Industry.co.id style)
   Structure: base | header | ticker | nav | cards | homepage | sidebar |
   single | archive | footer | responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base
   -------------------------------------------------------------------------- */
:root {
	--hesstik-accent: #c62828;
	--hesstik-accent-dark: #9a1f1f;
	--hesstik-nav: #123a6b;
	--hesstik-nav-dark: #0e2d55;
	--hesstik-text: #1a1a1a;
	--hesstik-meta: #6b7280;
	--hesstik-border: #e3e6ea;
	--hesstik-bg: #ffffff;
	--hesstik-bg-soft: #f5f6f8;
	--hesstik-up: #1b9d3f;
	--hesstik-down: #d32f2f;
	--hesstik-font: "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
	--hesstik-container: 1280px;
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--hesstik-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--hesstik-text);
	background: var(--hesstik-bg);
}

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

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

.container {
	max-width: var(--hesstik-container);
	margin: 0 auto;
	padding: 0 20px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 99999;
	background: #fff; color: #000; padding: 8px 12px;
	clip: auto; width: auto; height: auto;
}

:focus-visible {
	outline: 2px solid var(--hesstik-accent);
	outline-offset: 2px;
}

::selection { background: var(--hesstik-nav); color: #fff; }

/* --------------------------------------------------------------------------
   2. Header
   -------------------------------------------------------------------------- */
.site-header { position: relative; }

/* Sticky header: logo + menu stay at top when scrolling.
   Direct child of #page (full-height) so sticky works for the whole scroll. */
.sticky-header {
	position: sticky;
	top: 0;
	z-index: 150;
	background: var(--hesstik-bg);
}

/* Top bar */
.top-bar {
	background: var(--hesstik-bg);
	border-bottom: 1px solid var(--hesstik-border);
	font-size: 12.5px;
	color: var(--hesstik-meta);
}
.top-bar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 34px;
	gap: 16px;
}
.top-bar__date { white-space: nowrap; }
.top-bar__right { display: flex; align-items: center; gap: 10px; }
.top-bar__label { color: var(--hesstik-meta); }
.top-bar__social { display: flex; gap: 4px; }

.social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px; height: 24px;
	border: 1px solid var(--hesstik-border);
	border-radius: 3px;
	color: var(--hesstik-nav);
}
.social-link:hover {
	background: var(--hesstik-nav);
	border-color: var(--hesstik-nav);
	color: #fff;
}
/* Icon SVG mengikuti warna teks (currentColor) — tanpa ini path SVG
   render hitam default dan nyaris tak terlihat di latar gelap */
.social-link svg { fill: currentColor; }

/* Market ticker */
.market-ticker {
	background: var(--hesstik-nav);
	display: flex;
	align-items: stretch;
	overflow: hidden;
	font-size: 12.5px;
	color: #fff;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.market-ticker__inner {
	display: flex;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
}
.ticker-label {
	flex: 0 0 auto;
	background: var(--hesstik-accent);
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 11.5px;
	display: flex;
	align-items: center;
	padding: 0 18px;
}
.ticker-viewport { overflow: hidden; flex: 1 1 auto; min-width: 0; }
.ticker-track {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	width: max-content;
	animation: hesstik-ticker 40s linear infinite;
	will-change: transform;
}
@keyframes hesstik-ticker {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
/* Klon (disisipkan main.js untuk loop mulus) TIDAK boleh ikut animasi —
   kalau ikut, set asli & klon bergerak beda kecepatan dan teks tampak dobel
   (terlihat saat viewport di-resize melewati breakpoint). */
.ticker-track .is-clone { animation: none; flex: 0 0 auto; }
/* Reduce motion: single static strip, no scroll */
@media (prefers-reduced-motion: reduce) {
	.ticker-track { animation: none; }
	.ticker-track .is-clone { display: none; }
}
.ticker-item {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0 18px;
	white-space: nowrap;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.ticker-name { font-weight: 700; }
.ticker-value { color: #cfd8e3; }
.ticker-change.is-up, .ticker-pct.is-up { color: #4ade80; }
.ticker-change.is-down, .ticker-pct.is-down { color: #f87171; }
.ticker-pct { font-weight: 700; }

/* Logo bar */
.logo-bar {
	background: var(--hesstik-bg);
	border-bottom: 1px solid var(--hesstik-border);
}
.logo-bar__inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	min-height: 96px;
}
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}
.custom-logo {
	width: auto;
	height: 72px;
	max-width: 100%;
	max-height: 72px;
	object-fit: contain;
}
.site-brand-text {
	display: inline-flex;
	align-items: baseline;
	font-family: var(--hesstik-font);
	font-weight: 900;
	font-size: 30px;
	letter-spacing: -0.02em;
	line-height: 1;
	color: var(--hesstik-nav);
}
.site-brand-text__accent { color: var(--hesstik-accent); }
.logo-bar__actions { display: flex; align-items: center; gap: 10px; }
.logo-bar__actions--left { display: none; }
.logo-bar__actions--right { position: absolute; right: 0; display: flex; }

.search-toggle, .menu-toggle {
	display: none;
	border: 1px solid var(--hesstik-border);
	background: var(--hesstik-bg);
	color: var(--hesstik-nav);
	padding: 8px 12px;
	cursor: pointer;
	line-height: 0;
}
.search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: transparent;
}
.search-toggle svg { width: 21px; height: 21px; }
.search-toggle:hover, .menu-toggle:hover { background: var(--hesstik-bg-soft); }

.header-search {
	background: var(--hesstik-bg-soft);
	border-top: 1px solid var(--hesstik-border);
	padding: 16px 0;
}
.header-search .search-form {
	display: flex;
	align-items: stretch;
	max-width: 760px;
	height: 52px;
	margin: 0 auto;
	background: var(--hesstik-bg);
	border: 1px solid var(--hesstik-border);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.search-form .search-field {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	padding: 0 17px;
	border: 0;
	outline: 0;
	background: transparent;
	font-family: inherit;
	font-size: 15px;
	color: var(--hesstik-text);
}
.search-form .search-field::placeholder { color: var(--hesstik-meta); opacity: 1; }
.search-form .search-field:focus { outline: 0; box-shadow: none; }
.search-form .search-submit {
	flex: 0 0 62px;
	width: 62px;
	height: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--hesstik-nav);
	color: #fff;
	border: 0;
	border-left: 1px solid rgba(255,255,255,.08);
	cursor: pointer;
	transition: background .2s ease, transform .15s ease;
}
.search-form .search-submit svg { width: 19px; height: 19px; }
.search-form .search-submit:hover { background: var(--hesstik-nav-dark); }
.search-form .search-submit:active { transform: scale(.97); }
.search-form .search-submit:focus-visible { outline: 2px solid var(--hesstik-accent); outline-offset: -3px; }

/* Sidebar search widget */
.hesstik-widget--search .search-form { display: flex; }
.hesstik-widget--search .search-field {
	border-right: 0;
	border-radius: 0;
	font-size: 13.5px;
	padding: 10px 14px;
}
.hesstik-widget--search .search-submit {
	padding: 0 18px;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

/* --------------------------------------------------------------------------
   3. Main navigation
   -------------------------------------------------------------------------- */
.main-nav {
	background: var(--hesstik-bg);
	border-bottom: 1px solid var(--hesstik-border);
}
.main-nav > .container { position: relative; }
.primary-menu {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}
.primary-menu > li { position: relative; }
.primary-menu > li > a {
	display: block;
	color: var(--hesstik-text);
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	padding: 13px 16px;
	border-bottom: 3px solid transparent;
}
.primary-menu > li > a:hover { color: var(--hesstik-accent); }
.primary-menu > li:hover > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
	border-bottom-color: var(--hesstik-accent);
}
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a {
	background: var(--hesstik-nav);
	border-bottom-color: var(--hesstik-nav);
	color: #fff;
}
.primary-menu > li.current-menu-item > a:hover,
.primary-menu > li.current-menu-ancestor > a:hover { color: #fff; }
.primary-menu > li.menu-item-has-children > a { padding-right: 10px; }

.submenu-toggle {
	display: none;
	background: none;
	border: 0;
	color: var(--hesstik-meta);
	cursor: pointer;
	position: absolute;
	right: 2px;
	top: 50%;
	transform: translateY(-50%);
	line-height: 0;
	padding: 8px;
}
.primary-menu > li.menu-item-has-children:hover > .submenu-toggle { color: #ffd7d7; }

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 60;
	background: #fff;
	list-style: none;
	margin: 0;
	padding: 0;
	border: 1px solid var(--hesstik-border);
	border-top: 2px solid var(--hesstik-accent);
	box-shadow: 0 8px 24px rgba(15, 43, 91, 0.12);
	display: none;
	white-space: nowrap;
}
.primary-menu > li:hover > .sub-menu { display: flex; }
.primary-menu .sub-menu li { border-right: 1px solid var(--hesstik-border); }
.primary-menu .sub-menu li:last-child { border-right: 0; }
.primary-menu .sub-menu a {
	display: block;
	padding: 11px 16px;
	color: var(--hesstik-text);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.primary-menu .sub-menu a:hover {
	color: var(--hesstik-accent);
	background: var(--hesstik-bg-soft);
}
.primary-menu .sub-menu .current-menu-item > a {
	color: #fff;
	background: var(--hesstik-nav);
}

.nav-close { display: none; }

/* Drawer-only chrome (brand header + footer) — never shown on desktop */
.drawer-header, .drawer-footer { display: none; }

/* Drawer scrim — real element managed by main.js so it can fade in AND out.
   Inert (no pointer events, invisible) unless the drawer is open. */
.drawer-scrim {
	position: fixed;
	inset: 0;
	z-index: 205;
	background: rgba(9, 20, 40, 0.5);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.drawer-scrim.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transition: opacity 0.25s ease, visibility 0s;
}

/* --------------------------------------------------------------------------
   5. Section titles
   -------------------------------------------------------------------------- */
.section-title {
	display: block;
	margin: 0 0 16px;
	padding: 0 0 8px;
	font-size: 19px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--hesstik-nav);
	border-bottom: 2px solid var(--hesstik-border);
	position: relative;
}
.section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 64px;
	height: 2px;
	background: var(--hesstik-accent);
}
.section-title a { color: inherit; }
.section-title a:hover { color: var(--hesstik-accent); }
.section-title--small { font-size: 16px; margin-bottom: 12px; }

/* --------------------------------------------------------------------------
   6. Post cards (editorial, no rounded cards)
   -------------------------------------------------------------------------- */
.post-card__cats { margin-bottom: 6px; }
.post-cat-badge {
	display: inline-block;
	background: var(--hesstik-accent);
	color: #fff !important;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 2px 8px;
}
.post-cat-badge:hover { background: var(--hesstik-accent-dark); }

.post-card__meta {
	font-size: 12px;
	color: var(--hesstik-meta);
}
.post-card__meta time { font-weight: 400; }

/* Headline card */
.post-card--headline {
	background: #fff;
	padding: 16px 0;
}
.post-card--headline .post-card__thumb {
	display: block;
	overflow: hidden;
	background: var(--hesstik-bg-soft);
}
.post-card--headline .post-card__thumb img { width: 100%; transition: opacity 0.2s; }
.post-card--headline .post-card__thumb:hover img { opacity: 0.92; }
.post-card--headline .post-card__title--xl {
	margin: 14px 0 8px;
	font-size: 30px;
	line-height: 1.22;
	font-weight: 900;
	color: var(--hesstik-text);
}
.post-card--headline .post-card__title--xl a { color: inherit; }
.post-card--headline .post-card__title--xl a:hover { color: var(--hesstik-accent); }

/* Standard card */
.post-card {
	border-bottom: 1px solid var(--hesstik-border);
	padding-bottom: 16px;
	margin-bottom: 18px;
	background: #fff;
}
.post-card .post-card__thumb {
	display: block;
	overflow: hidden;
	background: var(--hesstik-bg-soft);
	margin-bottom: 10px;
}
.post-card .post-card__thumb img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: opacity 0.2s;
}
.post-card .post-card__thumb:hover img { opacity: 0.9; }
.post-card__title {
	margin: 0 0 6px;
	font-size: 16.5px;
	line-height: 1.35;
	font-weight: 700;
}
.post-card__title a { color: var(--hesstik-text); }
.post-card__title a:hover { color: var(--hesstik-accent); }

/* Compact list item */
.post-list {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--hesstik-border);
}
.post-list:last-child { border-bottom: 0; }
.post-list__thumb {
	flex: 0 0 100px;
	overflow: hidden;
	background: var(--hesstik-bg-soft);
}
.post-list__thumb img {
	width: 100px;
	height: 66px;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}
.post-list__title {
	margin: 0 0 4px;
	font-size: 13.5px;
	line-height: 1.35;
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.post-list__title a { color: var(--hesstik-text); }
.post-list__title a:hover { color: var(--hesstik-accent); }
.post-list__meta { font-size: 11.5px; color: var(--hesstik-meta); }

/* Horizontal row */
.post-row {
	display: flex;
	gap: 18px;
	padding: 18px 0;
	border-bottom: 1px solid var(--hesstik-border);
}
.post-row__thumb {
	flex: 0 0 260px;
	overflow: hidden;
	background: var(--hesstik-bg-soft);
}
.post-row__thumb img {
	width: 260px;
	height: 146px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.post-row__title {
	margin: 0 0 6px;
	font-size: 20px;
	line-height: 1.3;
	font-weight: 800;
}
.post-row__title a { color: var(--hesstik-text); }
.post-row__title a:hover { color: var(--hesstik-accent); }
.post-row__excerpt {
	margin: 0 0 8px;
	font-size: 14px;
	color: #4b5563;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.post-row__meta { font-size: 12.5px; color: var(--hesstik-meta); }
.post-row__author { font-weight: 500; color: var(--hesstik-nav); }

/* Grid helpers */
.grid-3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 24px;
}
.grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0 24px;
}

/* --------------------------------------------------------------------------
   7. Homepage
   -------------------------------------------------------------------------- */
.home-headline {
	background: var(--hesstik-bg);
	border-bottom: 1px solid var(--hesstik-border);
}
.home-headline__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	padding: 20px 0;
}
.home-headline__side { border-left: 1px solid var(--hesstik-border); padding-left: 28px; }
.home-headline__side .post-list { padding: 12px 0; }

.home-section { padding: 26px 0 0; }
.home-section--kanal { padding-bottom: 10px; }
.home-section--allkanal { padding-bottom: 34px; }

.home-grid--main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 34px;
	align-items: start;
}
.home-grid__col--content { min-width: 0; }
.home-block { margin-bottom: 30px; }

/* Industri hari ini */
.hari-ini { border-top: 2px solid var(--hesstik-nav); }
.post-row--feature {
	border-bottom: 1px solid var(--hesstik-border);
}
.post-row--feature .post-row__thumb { flex-basis: 300px; }
.post-row--feature .post-row__title { font-size: 23px; font-weight: 900; }

/* Galeri foto */
.gallery-block .post-card--headline { padding: 14px 0; }
.gallery-block .post-card--headline .post-card__title--xl { font-size: 20px; }

.block-empty {
	background: var(--hesstik-bg-soft);
	border: 1px solid var(--hesstik-border);
	padding: 18px;
	font-size: 13.5px;
	color: var(--hesstik-meta);
}

/* Kanal grid */
.kanal-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px 40px;
}
.kanal-section { border-top: 3px solid var(--hesstik-nav); padding-top: 10px; }
.kanal-section__body { display: grid; grid-template-columns: 200px 1fr; gap: 16px; }
.kanal-feature__thumb { display: block; overflow: hidden; background: var(--hesstik-bg-soft); margin-bottom: 8px; }
.kanal-feature__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.kanal-feature__title {
	margin: 0 0 4px;
	font-size: 14.5px;
	line-height: 1.35;
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.kanal-feature__title a { color: var(--hesstik-text); }
.kanal-feature__title a:hover { color: var(--hesstik-accent); }
.kanal-links { list-style: none; margin: 0; padding: 0; }
.kanal-links li {
	border-bottom: 1px solid var(--hesstik-border);
	padding: 8px 0;
	font-size: 13.5px;
	line-height: 1.4;
}
.kanal-links li:first-child { padding-top: 0; }
.kanal-links a {
	color: var(--hesstik-text);
	font-weight: 500;
	display: block;
}
.kanal-links a:hover { color: var(--hesstik-accent); }

/* --------------------------------------------------------------------------
   8. Sidebar
   -------------------------------------------------------------------------- */
.widget { margin-bottom: 26px; }
.widget-title {
	margin: 0 0 14px;
	padding: 0 0 8px;
	font-size: 16px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--hesstik-nav);
	border-bottom: 2px solid var(--hesstik-border);
	position: relative;
}
.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 48px;
	height: 2px;
	background: var(--hesstik-accent);
}

.side-item {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid var(--hesstik-border);
}
.side-item:last-child { border-bottom: 0; }
.side-item__thumb { flex: 0 0 88px; overflow: hidden; background: var(--hesstik-bg-soft); }
.side-item__thumb img { width: 88px; height: 60px; aspect-ratio: 3 / 2; object-fit: cover; }
.side-item__title {
	margin: 0 0 4px;
	font-size: 13px;
	line-height: 1.35;
	font-weight: 700;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.side-item__title a { color: var(--hesstik-text); }
.side-item__title a:hover { color: var(--hesstik-accent); }
.side-item__date { font-size: 11.5px; color: var(--hesstik-meta); }

/* Currency table */
.currency-update {
	margin: 0 0 8px;
	font-size: 11.5px;
	color: var(--hesstik-meta);
}
.currency-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 12px;
}
.currency-table th {
	background: var(--hesstik-nav);
	color: #fff;
	text-align: left;
	font-weight: 700;
	padding: 7px 8px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.currency-table td {
	padding: 6px 8px;
	border-bottom: 1px solid var(--hesstik-border);
}
.currency-name { font-weight: 700; color: var(--hesstik-nav); }
.currency-prev { color: var(--hesstik-meta); }
.currency-change.is-up { color: var(--hesstik-up); font-weight: 700; }
.currency-change.is-down { color: var(--hesstik-down); font-weight: 700; }

/* Popular list */
.popular-list {
	list-style: none;
	counter-reset: pop;
	margin: 0;
	padding: 0;
}
.popular-item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	padding: 9px 0;
	border-bottom: 1px solid var(--hesstik-border);
}
.popular-item:last-child { border-bottom: 0; }
.popular-item__num {
	font-size: 22px;
	font-weight: 900;
	color: var(--hesstik-accent);
	line-height: 1;
	flex: 0 0 26px;
	font-family: var(--hesstik-font);
}
.popular-item__title {
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 500;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.popular-item__title a { color: var(--hesstik-text); }
.popular-item__title a:hover { color: var(--hesstik-accent); }

.side-empty { font-size: 13px; color: var(--hesstik-meta); }

/* Core widgets styling */
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget ul li {
	padding: 7px 0;
	border-bottom: 1px solid var(--hesstik-border);
	font-size: 13.5px;
}
.widget ul li:last-child { border-bottom: 0; }
.widget ul li a { color: var(--hesstik-text); font-weight: 500; }
.widget ul li a:hover { color: var(--hesstik-accent); }
.widget_calendar table { width: 100%; font-size: 12.5px; border-collapse: collapse; }
.widget_calendar td, .widget_calendar th { border: 1px solid var(--hesstik-border); text-align: center; padding: 4px; }
.widget_recent_entries li, .widget_recent_comments li { line-height: 1.45; }
.widget .tagcloud a {
	display: inline-block;
	border: 1px solid var(--hesstik-border);
	padding: 3px 9px;
	margin: 0 4px 6px 0;
	font-size: 12px !important;
	color: var(--hesstik-nav);
}
.widget .tagcloud a:hover { background: var(--hesstik-nav); color: #fff; border-color: var(--hesstik-nav); }

/* --------------------------------------------------------------------------
   9. Single article
   -------------------------------------------------------------------------- */
.single-layout, .page-layout, .archive-layout, .search-layout, .author-layout, .index-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 40px;
	align-items: start;
	padding-top: 24px;
	padding-bottom: 40px;
}
.single-main, .page-main, .archive-main, .search-main, .author-main, .index-main { min-width: 0; }

.hesstik-breadcrumb {
	font-size: 12.5px;
	color: var(--hesstik-meta);
	margin-bottom: 14px;
}
.hesstik-breadcrumb a { color: var(--hesstik-meta); }
.hesstik-breadcrumb a:hover { color: var(--hesstik-accent); }
.hesstik-breadcrumb .sep { margin: 0 7px; color: #b7bcc4; }

.single-title {
	margin: 8px 0 10px;
	font-size: 34px;
	line-height: 1.22;
	font-weight: 900;
	color: var(--hesstik-text);
}
.single-subtitle {
	margin: 0 0 14px;
	font-size: 16px;
	line-height: 1.55;
	color: #4b5563;
	font-weight: 400;
}
.single-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	padding: 12px 0;
	border-top: 1px solid var(--hesstik-border);
	border-bottom: 1px solid var(--hesstik-border);
	margin-bottom: 20px;
	font-size: 13px;
	color: var(--hesstik-meta);
}
.single-meta__sep { color: #c3c8d0; }
.single-meta__author a { font-weight: 700; color: var(--hesstik-nav); }
.single-meta__author a:hover { color: var(--hesstik-accent); }

.single-featured { margin: 0 0 22px; background: var(--hesstik-bg-soft); }
.single-featured img { width: 100%; }
.single-featured figcaption {
	padding: 8px 12px;
	font-size: 12.5px;
	color: var(--hesstik-meta);
	background: var(--hesstik-bg-soft);
	border-top: 1px solid var(--hesstik-border);
}

.single-content {
	max-width: 760px;
	font-size: 16.5px;
	line-height: 1.8;
	color: #23272b;
}
.single-content p { margin: 0 0 22px; }
.single-content h2, .single-content h3, .single-content h4 {
	color: var(--hesstik-text);
	margin: 1.4em 0 0.6em;
	line-height: 1.3;
}
.single-content h2 { font-size: 24px; }
.single-content h3 { font-size: 20px; }
.single-content img { margin: 12px 0; }
.single-content blockquote {
	margin: 24px 0;
	padding: 14px 20px;
	border-left: 4px solid var(--hesstik-accent);
	background: var(--hesstik-bg-soft);
	font-style: italic;
	color: #374151;
}
.single-content a { color: var(--hesstik-accent); text-decoration: underline; }
.single-content ul, .single-content ol { margin: 0 0 22px 24px; }
.single-content figure { margin: 0 0 22px; }
.single-content figcaption { font-size: 12.5px; color: var(--hesstik-meta); text-align: center; padding-top: 6px; }
.single-content .wp-caption { max-width: 100%; }
.single-content .alignleft { float: left; margin: 6px 20px 16px 0; }
.single-content .alignright { float: right; margin: 6px 0 16px 20px; }
.single-content .aligncenter { margin-left: auto; margin-right: auto; }
.single-content table { border-collapse: collapse; width: 100%; margin: 0 0 22px; }
.single-content th, .single-content td { border: 1px solid var(--hesstik-border); padding: 8px 12px; }

.page-links { clear: both; margin: 20px 0; }
.page-links a {
	display: inline-block;
	padding: 3px 10px;
	border: 1px solid var(--hesstik-border);
	margin-right: 4px;
}

.single-tags {
	margin: 26px 0 18px;
	font-size: 13px;
}
.single-tags__label { font-weight: 700; color: var(--hesstik-text); margin-right: 8px; }
.single-tags a {
	display: inline-block;
	background: var(--hesstik-bg-soft);
	border: 1px solid var(--hesstik-border);
	padding: 3px 10px;
	margin: 0 5px 6px 0;
	font-size: 12.5px;
	color: var(--hesstik-nav);
}
.single-tags a:hover { background: var(--hesstik-nav); color: #fff; }

.single-share {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 0;
	border-top: 1px solid var(--hesstik-border);
	border-bottom: 1px solid var(--hesstik-border);
	margin-bottom: 18px;
}
.single-share__label { font-weight: 700; font-size: 13px; }
.share-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid var(--hesstik-border);
	padding: 5px 12px;
	font-size: 12px;
	color: var(--hesstik-nav);
	text-transform: capitalize;
}
.share-link:hover { background: var(--hesstik-nav); border-color: var(--hesstik-nav); color: #fff; }

.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 20px 0 26px;
}
.post-navigation a {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	background: var(--hesstik-bg-soft);
	padding: 12px 14px;
	border-left: 3px solid var(--hesstik-nav);
	color: var(--hesstik-text);
}
.post-navigation a:hover { color: var(--hesstik-accent); border-left-color: var(--hesstik-accent); }
.post-navigation__next { text-align: right; }
.post-navigation__next a { border-left: 0; border-right: 3px solid var(--hesstik-nav); }

.related-posts { margin-top: 34px; }

/* Comments */
.comments-area { margin-top: 30px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-body {
	padding: 14px 0;
	border-bottom: 1px solid var(--hesstik-border);
	font-size: 14px;
}
.comment-meta { margin-bottom: 6px; }
.comment-author { font-weight: 700; }
.comment-metadata { font-size: 12px; color: var(--hesstik-meta); }
.comment-content { line-height: 1.6; }
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--hesstik-border);
	font-family: inherit;
	font-size: 14px;
	background: #fff;
	margin-bottom: 14px;
}
.comment-form .submit {
	background: var(--hesstik-nav);
	color: #fff;
	border: 0;
	padding: 10px 22px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}
.comment-form .submit:hover { background: var(--hesstik-nav-dark); }

/* --------------------------------------------------------------------------
   10. Archives / search / author / 404
   -------------------------------------------------------------------------- */
.archive-header { margin-bottom: 22px; }
.archive-header__breadcrumb { font-size: 12.5px; color: var(--hesstik-meta); margin-bottom: 6px; }
.archive-header__breadcrumb .sep { margin: 0 7px; }
.archive-title {
	margin: 0 0 6px;
	font-size: 28px;
	font-weight: 900;
	text-transform: uppercase;
	color: var(--hesstik-nav);
}
.archive-desc { margin: 0 0 10px; font-size: 14px; color: #4b5563; }
.archive-featured { margin-bottom: 8px; }
.archive-list .post-row:first-child { padding-top: 8px; }

.search-header { margin-bottom: 18px; }
.search-title { margin: 0 0 4px; font-size: 24px; font-weight: 900; color: var(--hesstik-nav); }
.search-count { margin: 0 0 14px; font-size: 13px; color: var(--hesstik-meta); }
.search-empty { padding: 26px 0; }
.search-empty .search-form { display: flex; max-width: 480px; margin-top: 16px; }
.search-empty p { font-size: 15px; }

.author-header {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 18px;
	background: var(--hesstik-bg-soft);
	border: 1px solid var(--hesstik-border);
	margin-bottom: 24px;
}
.author-header__avatar img { border-radius: 50%; }
.author-title { margin: 0 0 4px; font-size: 24px; font-weight: 900; color: var(--hesstik-nav); }
.author-bio { margin: 0; font-size: 13.5px; color: #4b5563; }

.error-layout { padding-top: 30px; padding-bottom: 40px; }
.error-404 { text-align: center; padding: 40px 0 30px; }
.error-404__code { font-size: 88px; font-weight: 900; color: var(--hesstik-accent); line-height: 1; }
.error-404__title { margin: 10px 0; font-size: 28px; font-weight: 900; color: var(--hesstik-nav); }
.error-404__desc { max-width: 520px; margin: 0 auto 18px; color: #4b5563; }
.error-404 .search-form { display: flex; max-width: 420px; margin: 0 auto 18px; }
.btn {
	display: inline-block;
	background: var(--hesstik-nav);
	color: #fff !important;
	padding: 10px 22px;
	font-size: 14px;
	font-weight: 700;
}
.btn:hover { background: var(--hesstik-nav-dark); }
.error-latest { padding: 20px 0 30px; }

/* Pagination */
.pagination { margin: 26px 0 10px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 12px;
	border: 1px solid var(--hesstik-border);
	font-size: 13.5px;
	font-weight: 600;
	color: var(--hesstik-nav);
	background: #fff;
}
.pagination .page-numbers.current { background: var(--hesstik-nav); border-color: var(--hesstik-nav); color: #fff; }
.pagination a.page-numbers:hover { background: var(--hesstik-bg-soft); color: var(--hesstik-accent); }

/* --------------------------------------------------------------------------
   11. Footer — simple editorial layout
   -------------------------------------------------------------------------- */
.site-footer {
	background: var(--hesstik-nav-dark);
	color: #c8d2de;
	margin-top: 30px;
	border-top: 3px solid var(--hesstik-accent);
}
.footer-main { padding: 42px 0 34px; }
.footer-grid--simple {
	display: grid;
	grid-template-columns: 1.05fr 1fr 1fr;
	gap: 70px;
	align-items: start;
}
.footer-col--brand { padding-right: 20px; }
.footer-logo { margin: 0 0 12px; }
.footer-logo .custom-logo {
	display: block;
	width: auto;
	height: 76px;
	max-width: 190px;
	max-height: 76px;
	object-fit: contain;
}
.footer-logo .site-brand-text { color: #fff; }
.footer-brand-name {
	margin: 0;
	color: #fff;
	font-size: 21px;
	font-weight: 900;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.footer-widget-title {
	margin: 0 0 20px;
	font-size: 18px;
	font-weight: 900;
	text-transform: none;
	letter-spacing: 0;
	color: #fff;
	padding: 0 0 10px;
	border-bottom: 0;
	position: relative;
}
.footer-widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 42px;
	height: 3px;
	background: var(--hesstik-accent);
	border-radius: 3px;
}
.footer-info-list,
.footer-contact-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-info-list li {
	border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-info-list a {
	display: block;
	padding: 10px 0;
	color: #b7c5d8;
	font-size: 15px;
	text-decoration: none;
	transition: color .15s ease;
}
.footer-info-list li:first-child a { padding-top: 0; }
.footer-info-list a:hover { color: #fff; }
.footer-contact-list { display: grid; gap: 22px; }
.footer-contact-item {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #b7c5d8;
	font-size: 15px;
}
.footer-contact-icon {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 28px;
	color: var(--hesstik-accent);
}
.footer-contact-icon svg { display: block; width: 21px; height: 21px; }
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.12);
	background: rgba(8, 21, 42, .35);
	padding: 18px 0;
}
.footer-bottom__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}
.footer-copyright { margin: 0; font-size: 13px; color: #9fb0c4; text-align: center; }
.footer-credit { display: none; }

/* Floating actions */
.floating-actions {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 160;
	width: 46px;
	height: 46px;
}
.floating-actions .wa-float-btn,
.floating-actions .back-to-top-btn {
	position: absolute;
	inset: 0;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	color: #fff;
	box-shadow: 0 6px 18px rgba(9, 22, 44, 0.35);
	cursor: pointer;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s, background 0.2s ease;
}
.floating-actions .wa-float-btn { background: #25d366; }
.floating-actions .wa-float-btn:hover { background: #1eb857; }
.floating-actions .back-to-top-btn { background: var(--hesstik-nav); }
.floating-actions .back-to-top-btn:hover { background: var(--hesstik-accent); }
.floating-actions .wa-float-btn:focus-visible,
.floating-actions .back-to-top-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.floating-actions .wa-float-btn {
	opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s, background 0.2s ease;
}
.floating-actions.is-at-footer .wa-float-btn {
	opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none;
}
.floating-actions.is-at-footer .back-to-top-btn {
	opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
	transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s, background 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
	.floating-actions .wa-float-btn,
	.floating-actions .back-to-top-btn { transition: none; }
}

/* All Kanal */
.all-kanal__title {
	margin: 0 0 18px;
	font-size: 19px;
	font-weight: 900;
	text-transform: uppercase;
	color: var(--hesstik-nav);
	border-bottom: 2px solid var(--hesstik-border);
	padding-bottom: 8px;
}
.all-kanal__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px 30px;
}
.all-kanal__head { margin: 0 0 8px; font-size: 14px; font-weight: 900; text-transform: uppercase; }
.all-kanal__head a { color: var(--hesstik-accent); }
.all-kanal__head a:hover { color: var(--hesstik-accent-dark); }
.all-kanal__list { list-style: none; margin: 0; padding: 0; }
.all-kanal__list li { padding: 3.5px 0; }
.all-kanal__list a { color: var(--hesstik-text); font-size: 13px; }
.all-kanal__list a:hover { color: var(--hesstik-accent); }

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
	.home-grid--main { grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; }
	.single-layout, .page-layout, .archive-layout, .search-layout, .author-layout, .index-layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 28px;
	}
	.home-headline__grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 22px; }
	.kanal-grid { grid-template-columns: 1fr; }
	.all-kanal__grid { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.post-row__thumb { flex-basis: 210px; }
	.post-row__thumb img { width: 210px; height: 118px; }
}

@media (max-width: 820px) {
	/* Navigation becomes a drawer */
	.menu-toggle, .search-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.menu-toggle { flex-direction: column; }
	.logo-bar__inner { justify-content: space-between; }
	.logo-bar__actions--left { display: flex; position: static; }
	.logo-bar__actions--right { position: static; }
	.menu-toggle span {
		display: block;
		width: 22px;
		height: 2.5px;
		background: currentColor;
		border-radius: 2px;
		margin: 3px 0;
		transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
	}
	body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
	body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
	body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

	/* Drawer shell: brand header (fixed) + scrollable menu + footer (fixed) */
	.main-nav {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(320px, 86vw);
		z-index: 210;
		display: flex;
		flex-direction: column;
		overflow: hidden;
		background: var(--hesstik-bg);
		border: 0;
		border-right: 1px solid var(--hesstik-border);
		transform: translateX(-100%);
		/* Closed state: fast accelerate-out; visibility flips after the slide */
		transition: transform 0.25s cubic-bezier(0.4, 0, 1, 1), box-shadow 0.25s ease, visibility 0s linear 0.25s;
		box-shadow: 0 0 0 rgba(0, 0, 0, 0);
		visibility: hidden;
	}
	.main-nav.is-open {
		transform: translateX(0);
		visibility: visible;
		box-shadow: 16px 0 48px rgba(9, 20, 40, 0.22);
		/* Open state: smooth decelerate (fast start, gentle stop) */
		transition: transform 0.32s cubic-bezier(0, 0, 0.2, 1), box-shadow 0.32s ease, visibility 0s;
	}
	.main-nav > .container {
		flex: 1 1 auto;
		min-height: 0;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		/* As a flex item the base .container's "margin: 0 auto; max-width"
		   shrink-fits it to the menu's content width — force full width. */
		width: 100%;
		max-width: none;
		margin: 0;
		padding: 0;
	}

	/* Brand header: navy band keeps the site identity visible */
	.drawer-header {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		flex: 0 0 auto;
		background: var(--hesstik-nav);
		padding: 14px 14px 12px 20px;
		padding-top: calc(14px + env(safe-area-inset-top, 0px));
	}
	.drawer-header .site-brand-text {
		color: #fff;
		font-size: 24px;
	}
	.drawer-header .custom-logo {
		height: auto;
		max-height: 48px;
		max-width: 100%;
	}
	.nav-close {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		flex: 0 0 auto;
		background: rgba(255, 255, 255, 0.1);
		border: 1px solid rgba(255, 255, 255, 0.28);
		border-radius: 50%;
		color: #fff;
		cursor: pointer;
		padding: 0;
		transition: background 0.2s ease, border-color 0.2s ease;
	}
	.nav-close:hover { background: rgba(255, 255, 255, 0.22); }
	.nav-close:focus-visible {
		outline: 2px solid #fff;
		outline-offset: 2px;
	}

	/* Menu: light background matches the desktop nav (consistency) */
	.primary-menu { flex-direction: column; padding: 6px 0 10px; }
	.primary-menu > li {
		width: 100%;
		/* Stagger entrance: items fade/slide in one by one when the drawer opens */
		opacity: 0;
		transform: translateX(-14px);
		transition: opacity 0.28s ease, transform 0.28s ease;
	}
	.main-nav.is-open .primary-menu > li { opacity: 1; transform: translateX(0); }
	.main-nav.is-open .primary-menu > li:nth-child(1) { transition-delay: 0.04s; }
	.main-nav.is-open .primary-menu > li:nth-child(2) { transition-delay: 0.08s; }
	.main-nav.is-open .primary-menu > li:nth-child(3) { transition-delay: 0.12s; }
	.main-nav.is-open .primary-menu > li:nth-child(4) { transition-delay: 0.16s; }
	.main-nav.is-open .primary-menu > li:nth-child(5) { transition-delay: 0.2s; }
	.main-nav.is-open .primary-menu > li:nth-child(6) { transition-delay: 0.24s; }
	.main-nav.is-open .primary-menu > li:nth-child(n + 7) { transition-delay: 0.28s; }
	.primary-menu > li > a {
		display: flex;
		align-items: center;
		min-height: 48px;
		padding: 12px 52px 12px 24px;
		border-bottom: 1px solid #f0f1f3;
		border-left: 4px solid transparent;
		font-size: 13.5px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		color: var(--hesstik-text);
		transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	}
	/* Beat the desktop rule ".primary-menu > li.menu-item-has-children > a
	   { padding-right: 10px }" so text never runs under the caret */
	.primary-menu > li.menu-item-has-children > a { padding-right: 52px; }
	.primary-menu > li > a:active { background: var(--hesstik-bg-soft); }
	.primary-menu > li.current-menu-item > a,
	.primary-menu > li.current-menu-ancestor > a,
	.primary-menu > li:hover > a {
		border-left-color: var(--hesstik-accent);
		border-bottom-color: #f0f1f3;
		background: #f4f6f9;
		color: var(--hesstik-nav);
	}
	.primary-menu > li.current-menu-item > a:hover,
	.primary-menu > li.current-menu-ancestor > a:hover { color: var(--hesstik-nav); }

	/* Submenu caret: 44px-wide tap target on the 48px link row, rotates when
	   open. Pinned with top:0 + exact row height (NOT top:50% of the <li>),
	   because the accordion submenu grows the <li> when open — a 50% top
	   would drift the caret down to the middle of the expanded item. */
	.submenu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 48px;
		top: 0;
		right: 6px;
		transform: none;
		color: var(--hesstik-meta);
		border-radius: 50%;
		transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
	}
	.submenu-toggle:hover { background: var(--hesstik-bg-soft); }
	.submenu-toggle[aria-expanded="true"] {
		transform: rotate(180deg);
		color: var(--hesstik-accent);
	}
	.primary-menu > li.menu-item-has-children:hover > .submenu-toggle { color: var(--hesstik-meta); }

	/* Submenus: animated accordion (max-height set by JS to the real height),
	   soft gray panel, clear indentation */
	.primary-menu .sub-menu {
		position: static;
		display: block;
		max-height: 0;
		overflow: hidden;
		visibility: hidden;
		min-width: 0;
		box-shadow: none;
		border: 0;
		border-top: 1px solid #e9ebef;
		background: var(--hesstik-bg-soft);
		padding: 0;
		margin: 0;
		transition: max-height 0.28s ease, visibility 0s linear 0.28s;
	}
	.primary-menu .sub-menu.is-open {
		visibility: visible;
		transition: max-height 0.28s ease, visibility 0s;
	}
	/* Mobile must always stack vertically — neutralise the desktop rule
	   ".primary-menu > li:hover > .sub-menu { display: flex }" which has
	   higher specificity and turns the panel into a horizontal row. */
	.primary-menu > li:hover > .sub-menu { display: block; }
	.primary-menu .sub-menu li { border: 0; }
	.primary-menu .sub-menu a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 10px 20px 10px 40px;
		color: #2e3640;
		font-size: 13.5px;
		font-weight: 500;
		text-transform: none;
		letter-spacing: 0;
		border-left: 3px solid transparent;
		transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	}
	.primary-menu .sub-menu a:hover { background: #eceff3; color: var(--hesstik-accent); }
	.primary-menu .sub-menu .current-menu-item > a,
	.primary-menu .sub-menu .current-menu-ancestor > a {
		background: transparent;
		color: var(--hesstik-accent);
		font-weight: 700;
		border-left-color: var(--hesstik-accent);
	}
	.primary-menu .sub-menu .current-menu-item > a:hover { color: var(--hesstik-accent-dark); }

	/* Drawer footer: social links */
	.drawer-footer {
		display: flex;
		flex-direction: column;
		gap: 10px;
		flex: 0 0 auto;
		border-top: 1px solid var(--hesstik-border);
		background: var(--hesstik-bg);
		padding: 14px 20px calc(20px + env(safe-area-inset-bottom, 0px));
	}
	.drawer-footer__label {
		font-size: 11px;
		font-weight: 700;
		text-transform: uppercase;
		letter-spacing: 0.05em;
		color: var(--hesstik-meta);
	}
	.drawer-footer__social { display: flex; gap: 8px; }
	.drawer-footer .social-link {
		width: 32px;
		height: 32px;
		border-radius: 50%;
		border-color: var(--hesstik-border);
		transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
	}
	.drawer-footer .social-link:hover { background: var(--hesstik-accent); border-color: var(--hesstik-accent); }

	body.menu-open { overflow: hidden; }

	.home-headline__grid { grid-template-columns: 1fr; gap: 0; }
	.home-headline__side { border-left: 0; padding-left: 0; }
	.home-grid--main { grid-template-columns: 1fr; }
	.home-grid__col--sidebar { border-top: 2px solid var(--hesstik-border); padding-top: 20px; }
	.single-layout, .page-layout, .archive-layout, .search-layout, .author-layout, .index-layout {
		grid-template-columns: 1fr;
	}
	.single-sidebar, .page-sidebar, .archive-sidebar, .search-sidebar, .author-sidebar, .index-sidebar {
		border-top: 2px solid var(--hesstik-border);
		padding-top: 20px;
	}
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.kanal-section__body { grid-template-columns: 150px 1fr; }
	.all-kanal__grid { grid-template-columns: repeat(2, 1fr); }
	.ticker-label { display: none; }
	.logo-bar__inner { min-height: 76px; }
	.custom-logo { height: 56px; max-height: 56px; }
	.top-bar__label { display: none; }

	/* Respect reduced motion: no animation, instant state changes only */
	@media (prefers-reduced-motion: reduce) {
		.main-nav, .main-nav.is-open, .drawer-scrim, .primary-menu .sub-menu,
		.primary-menu > li, .menu-toggle span, .submenu-toggle, .nav-close { transition: none !important; }
		.primary-menu > li, .primary-menu .sub-menu { opacity: 1; transform: none; }
	}
}

@media (max-width: 560px) {
	.container { padding: 0 14px; }
	.grid-3, .grid-2 { grid-template-columns: 1fr; }
	.post-row { flex-direction: column; gap: 10px; }
	.post-row__thumb, .post-row__thumb img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
	.post-row__title { font-size: 17px; }
	.post-card--headline .post-card__title--xl { font-size: 23px; }
	.kanal-section__body { grid-template-columns: 1fr; }
	.kanal-feature__thumb img { aspect-ratio: 16 / 9; }
	.all-kanal__grid { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.single-title { font-size: 26px; }
	.single-content { font-size: 16px; }
	.post-navigation { grid-template-columns: 1fr; }
	.author-header { flex-direction: column; text-align: center; }
	.top-bar__inner { justify-content: center; }
	.top-bar__date { display: none; }
	.footer-bottom__inner { flex-direction: column; text-align: center; gap: 6px; }
	.footer-credit { display: none; }
	.floating-actions { right: 12px; bottom: 12px; }
}



