/* ==========================================================================
   Akhbar Press — main stylesheet (RTL-first)
   Desktop grid measured against the reference at 1440px:
   frame 1024 (994 + 2×15), header 41 / 112 / 49 / 39,
   top block: 290 | 495 | 179 with 15px gutters,
   lower block: 648 | 326 with 20px gutter.
   ========================================================================== */

:root {
	--ak-primary: #144ce4;
	--ak-ticker-bg: #ff0003;
	--ak-ticker-label: #e48501;
	--ak-ticker-text: #fff;
	--ak-body-bg: #ebedef;
	--ak-main-bg: #f1f2f4;
	--ak-footer-bg: #f8f9fa;
	--ak-text: #222;
	--ak-hover: #e48501;
	--ak-muted: #6b7280;
	--ak-line: #e9edf0;
	--ak-card: #fff;
	--ak-frame: #fff;
	--ak-fs: 13px;
	--ak-article-fs: 16px;
	--ak-font: Tahoma, 'Segoe UI', Arial, sans-serif;
	--ak-font-h: var(--ak-font);
	--ak-frame-w: 1024px;
	--ak-menu-fs: 13px;
	--ak-box-fs: 15px;
	--ak-post-fs: 13px;
	--ak-slider-fs: 17px;
	--ak-ticker-fs: 13px;
	--ak-article-title: 24px;
	--ak-article-lh: 2;
	--ak-slider-h: 310px;
	--ak-menu-text: #fff;
	--ak-urgent: #c40000;
	--ak-shadow: 0 1px 2px rgba(16, 24, 40, .08);
	--ak-head: var(--ak-primary);
}

html[data-theme='dark'] {
	--ak-text: #e6e8eb;
	--ak-muted: #9aa3ad;
	--ak-line: #2c3138;
	--ak-card: #1b1f24;
	--ak-frame: #15181c;
	--ak-body-bg: #0e1013;
	--ak-main-bg: #111417;
	--ak-footer-bg: #1b1f24;
	--ak-shadow: 0 0 0 1px #262b31;
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ak-body-bg);
	color: var(--ak-text);
	font-family: var(--ak-font);
	font-size: var(--ak-fs);
	line-height: 1.7;
	direction: rtl;
	text-align: right;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover, a:focus-visible { color: var(--ak-hover); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.6; font-family: var(--ak-font-h); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ak-hover); outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; right: 8px; padding: 8px 14px; background: #fff; color: #000;
}
.ak-ic { width: 1em; height: 1em; fill: currentColor; display: inline-block; vertical-align: middle; flex: none; }

/* Mixed Arabic/Latin: Latin runs/numbers are isolated inside RTL paragraphs */
bdi, .ltr-run { unicode-bidi: isolate; }

/* ---------- Frame ---------- */
.site {
	max-width: var(--ak-frame-w);
	margin: 0 auto;
	background: var(--ak-frame);
	padding: 0 15px;
	min-height: 100vh;
}

/* ---------- Top bar (41px) ---------- */
.ak-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 41px;
	font-size: 13px;
}
.menu-top { display: flex; flex-wrap: wrap; }
.menu-top a { display: block; padding: 12px 7.8px; line-height: 17px; color: var(--ak-text); }
.menu-top a:hover { color: var(--ak-primary); }
.ak-today { padding: 0 10px; color: #333; white-space: nowrap; }
html[data-theme='dark'] .ak-today { color: var(--ak-muted); }

/* ---------- Brand row (112px): logo right, 728×90 ad left ---------- */
.ak-brand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 112px;
	border-top: 1px solid var(--ak-line);
}
.ak-logo { width: 266px; display: flex; align-items: center; height: 100%; }
.ak-logo img { max-height: var(--ak-logo-h, 91px); width: var(--ak-logo-w, auto); max-width: 100%; margin: var(--ak-logo-m, 10px 0); }
.ak-header-ad { flex: 0 1 728px; display: flex; justify-content: flex-end; }
.ak-header-ad .ak-ad { margin: 0; }

/* Text logo (used until a logo image is uploaded) */
.ak-logo-text { display: inline-flex; flex-direction: column; line-height: 1; }
.ak-logo-word { font-size: 46px; font-weight: 700; letter-spacing: -1px; display: flex; gap: 8px; align-items: baseline; }
.ak-logo-main { color: var(--ak-primary); }
.ak-logo-accent { color: var(--ak-ticker-label); font-size: .7em; }
.ak-logo-tag { font-size: 13px; color: var(--ak-muted); margin-top: 10px; font-weight: 700; }

/* ---------- Main nav (49px) ---------- */
.ak-nav {
	display: flex;
	align-items: stretch;
	height: 49px;
	background: var(--ak-primary);
	color: #fff;
	position: relative;
	z-index: 50;
}
.ak-nav-home {
	width: 56px; display: flex; align-items: center; justify-content: center;
	color: #fff; font-size: 26px;
}
.ak-nav-home:hover, .ak-nav-home:focus-visible { color: #fff; background: rgba(0, 0, 0, .12); }
.ak-nav-menu { flex: 1; min-width: 0; }
.menu-primary { display: flex; flex-wrap: nowrap; height: 49px; align-items: center; }
.menu-primary > li { position: relative; flex: none; }
.menu-primary > li > a {
	display: block;
	margin: 5px 3px;
	padding: 7px 10.4px;
	line-height: 24.7px;
	font-weight: 700;
	font-size: var(--ak-menu-fs);
	color: var(--ak-menu-text);
	border-radius: 3px;
	white-space: nowrap;
}
.menu-primary > li > a:hover,
.menu-primary > li > a:focus-visible,
.menu-primary > li.current-menu-item > a,
.menu-primary > li.current-category-ancestor > a,
.menu-primary > li.current-menu-parent > a,
.menu-primary > li:hover > a { background: rgba(0, 0, 0, .15); color: #fff; }
.menu-primary .menu-item-has-children > a::after,
.menu-primary .ak-more > a::after {
	content: ''; display: inline-block; margin-inline-start: 6px; vertical-align: middle;
	border: 4px solid transparent; border-top-color: currentColor; border-bottom: 0;
}
.menu-primary .sub-menu {
	position: absolute; top: 100%; right: 0; min-width: 200px;
	background: var(--ak-card); box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
	border-top: 3px solid var(--ak-ticker-label);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: .15s; z-index: 60;
}
.menu-primary li:hover > .sub-menu,
.menu-primary li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu-primary .sub-menu a { display: block; padding: 9px 14px; color: var(--ak-text); font-weight: 700; border-bottom: 1px solid var(--ak-line); }
.menu-primary .sub-menu a:hover { background: var(--ak-main-bg); color: var(--ak-primary); }
.ak-nav-tools { display: flex; align-items: center; }
.ak-nav-btn {
	background: none; border: 0; color: #fff; height: 49px; width: 48px;
	font-size: 22px; display: flex; align-items: center; justify-content: center;
}
.ak-nav-btn:hover { background: rgba(0, 0, 0, .12); }
.ak-dark-toggle .ak-ic-sun { display: none; }
html[data-theme='dark'] .ak-dark-toggle .ak-ic-sun { display: inline-block; }
html[data-theme='dark'] .ak-dark-toggle .ak-ic-moon { display: none; }

/* Search panel */
.ak-search-panel { background: var(--ak-main-bg); padding: 10px; border-bottom: 1px solid var(--ak-line); }
.ak-search-panel[hidden] { display: none; }
.search-form { display: flex; max-width: 520px; margin: 0 auto; }
.search-field {
	flex: 1; min-width: 0; height: 40px; border: 1px solid #d5dae0; border-left: 0;
	padding: 0 12px; font: inherit; background: var(--ak-card); color: var(--ak-text);
	border-radius: 0 3px 3px 0;
}
.search-submit {
	width: 44px; border: 0; background: var(--ak-primary); color: #fff; font-size: 20px;
	border-radius: 3px 0 0 3px; display: flex; align-items: center; justify-content: center;
}

/* ---------- Breaking ticker (39px) ----------
   Headlines are RTL text; the strip itself travels LEFT → RIGHT.
   The track is laid out LTR (two identical groups side by side) and is
   translated from -50% to 0, so motion is rightward and seamless.
   Each group uses row-reverse so the first headline sits at the right edge. */
.ak-ticker {
	display: flex;
	align-items: stretch;
	height: 39px;
	background: var(--ak-ticker-bg);
	color: var(--ak-ticker-text);
	font-size: var(--ak-ticker-fs);
	font-weight: 700;
	overflow: hidden;
	position: relative;
}
.ak-ticker-label {
	flex: none;
	background: var(--ak-ticker-label);
	color: var(--ak-ticker-label-text, #fff);
	padding: 0 10px;
	margin-left: 10px;
	line-height: 39px;
	font-weight: 700;
	min-width: 53px;
	text-align: center;
	position: relative;
	z-index: 2;
}
.ak-ticker-viewport {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	direction: ltr;            /* layout of the moving strip only */
	position: relative;
}
.ak-ticker-track {
	display: flex;
	width: max-content;
	height: 39px;
	will-change: transform;
}
.ak-ticker-group {
	display: flex;
	flex-direction: row-reverse; /* first headline at the right edge */
	flex: none;
	height: 39px;
	align-items: center;
}
.ak-ticker-item {
	direction: rtl;            /* Arabic text stays RTL, never mirrored */
	unicode-bidi: isolate;
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	padding: 0 14px;
	line-height: 39px;
	position: relative;
}
.ak-ticker-item::before { /* separator between headlines */
	content: '';
	width: 6px; height: 6px; border-radius: 50%;
	background: currentColor; opacity: .55;
	position: absolute; left: -3px; top: 50%; margin-top: -3px;
}
.ak-ticker-item a, .ak-ticker-item span { color: inherit; font-weight: 700; }
.ak-ticker-item a:hover, .ak-ticker-item a:focus-visible { color: #ffe08a; text-decoration: underline; }
.ak-ticker-time { opacity: .85; font-weight: 400 !important; font-size: 12px; }
.ak-ticker.is-ready .ak-ticker-track {
	animation: ak-ticker-ltr var(--ak-ticker-dur, 40s) linear infinite;
}
.ak-ticker.is-ready[data-direction='rtl'] .ak-ticker-track { animation-name: ak-ticker-rtl; }
.ak-ticker.is-paused .ak-ticker-track,
.ak-ticker:hover .ak-ticker-track,
.ak-ticker:focus-within .ak-ticker-track { animation-play-state: paused; }
@keyframes ak-ticker-ltr { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@keyframes ak-ticker-rtl { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.ak-ticker-toggle {
	flex: none; width: 34px; border: 0; background: rgba(0, 0, 0, .15); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.ak-ticker-toggle .ak-ic-play { display: none; }
.ak-ticker.is-paused .ak-ticker-toggle .ak-ic-play { display: inline-block; }
.ak-ticker.is-paused .ak-ticker-toggle .ak-ic-pause { display: none; }
/* Reduced motion: no scrolling; the strip becomes a manually scrollable list */
.ak-ticker.is-static .ak-ticker-viewport { overflow-x: auto; scrollbar-width: none; direction: rtl; }
.ak-ticker.is-static .ak-ticker-track { animation: none !important; transform: none !important; }
.ak-ticker.is-static .ak-ticker-group { flex-direction: row; }
.ak-ticker.is-static .ak-ticker-group[aria-hidden='true'] { display: none; }
.ak-ticker.is-static .ak-ticker-toggle { display: none; }
@media (prefers-reduced-motion: reduce) {
	.ak-ticker .ak-ticker-track { animation: none !important; }
}

/* ---------- Main area ---------- */
.site-main { background: var(--ak-main-bg); padding: 15px 0; margin: 0 -15px; padding-left: 15px; padding-right: 15px; }

/* Ads */
.ak-ad { display: flex; justify-content: center; align-items: center; margin: 0 auto 15px; max-width: 100%; overflow: hidden; }
.ak-ad img { width: auto; height: auto; max-width: min(100%, var(--ad-w, 100%)); max-height: var(--ad-h, none); }
.ak-ad-sidebar img, .ak-ad-home_right img, .ak-ad-article_middle img { max-height: none; }
.ak-ad-ph {
	width: var(--ad-w); max-width: 100%; aspect-ratio: calc(var(--ad-w) / var(--ad-h)); max-height: var(--ad-h);
	background: repeating-linear-gradient(135deg, #eef0f3 0 10px, #e6e9ed 10px 20px);
	border: 1px dashed #c3c9d1; color: #8a929c; font-size: 12px; font-weight: 700;
}
html[data-theme='dark'] .ak-ad-ph { background: #1f242a; border-color: #333a42; }
.ak-ad-wide { margin-top: 15px; }
.site-main .ak-ad-wide { margin-top: 0; }
.ak-header-ad .ak-ad-ph { height: 90px; }

/* ---------- Boxes & section heads ---------- */
.box { background: var(--ak-card); box-shadow: var(--ak-shadow); margin-bottom: 15px; }
.box-head {
	display: flex; align-items: center; justify-content: space-between;
	background: var(--ak-head); color: #fff; height: 38px; padding: 0 12px;
}
.box-title { font-size: var(--ak-box-fs); font-weight: 700; color: #fff; line-height: 38px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.box-title a { color: #fff; }
.box-title a:hover { color: #fff; opacity: .85; }
.box-more { display: flex; gap: 3px; align-items: center; height: 38px; padding: 0 4px; }
.box-more i { width: 6px; height: 6px; border-radius: 50%; background: #fff; display: block; }
.box-more:hover i { background: var(--ak-ticker-label); }
.box-body { padding: 10px; }
.widget > *:not(.box-head):not(.box-body) { margin: 10px; } /* core widgets */
.widget select, .widget input { max-width: 100%; }

/* Thumbs */
.thumb { display: block; position: relative; overflow: hidden; background: #dfe3e8; }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
a.thumb:hover img { transform: scale(1.04); }

/* Titles */
.t-sm { font-size: calc(var(--ak-post-fs) - .5px); line-height: 1.75; font-weight: 700; }
.t-md { font-size: 14px; line-height: 1.7; }
.t-lg { font-size: 15px; line-height: 1.7; }
.t-sm a, .t-md a, .t-lg a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.excerpt { color: var(--ak-muted); font-size: 12px; line-height: 1.8; margin: 6px 0 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Homepage: top 3-column block ---------- */
.col3 { display: grid; grid-template-columns: 290px minmax(0, 1fr) 179px; gap: 15px; align-items: start; }
.col3-sidebar { grid-column: 1; grid-row: 1; }
.col3-content { grid-column: 2; grid-row: 1; min-width: 0; }
.col3-vertical { grid-column: 3; grid-row: 1; }

/* Featured slider (495 × 369) */
.ak-slider { position: relative; padding: 5px 5px 10px; }
.ak-slides { position: relative; height: var(--ak-slider-h); overflow: hidden; background: #111; }
.ak-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.ak-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ak-slide-img, .ak-slide-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ak-badges { position: absolute; top: 10px; right: 10px; display: flex; gap: 6px; z-index: 2; }
.ak-badge {
	display: inline-block; font-size: 12px; font-weight: 700; line-height: 1; padding: 9px 8px;
	border-radius: 3px; color: #fff; background: var(--ak-primary);
}
.ak-badge:hover { color: #fff; }
.ak-badge-time { background: rgba(70, 70, 70, .85); }
.ak-slide-title {
	position: absolute; right: 8px; left: 8px; bottom: 16px; z-index: 2;
	background: rgba(0, 0, 0, .62); color: #fff; padding: 8px 12px;
	font-size: var(--ak-slider-fs); line-height: 1.65; text-align: center;
}
.ak-slide-title a { color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ak-slider-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-start; padding: 12px 15px 0; direction: rtl; }
.ak-slider-pager button {
	min-width: 34px; height: 31px; border: 0; border-radius: 3px; background: #eef0f2; color: #333;
	font-size: 12px; font-family: Arial, sans-serif; padding: 0 6px;
}
.ak-slider-pager button.is-active, .ak-slider-pager button:hover { background: var(--ak-primary); color: #fff; }
html[data-theme='dark'] .ak-slider-pager button { background: #262b31; color: var(--ak-text); }

/* Module: one post, image right + text left (495 × 192) */
.card-side { display: grid; grid-template-columns: 52% 1fr; gap: 12px; align-items: start; }
.card-side .thumb { aspect-ratio: 16 / 10; }
.card-side .t-lg a { -webkit-line-clamp: 3; }

/* Module: grids */
.grid { display: grid; gap: 12px 8px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid .thumb { aspect-ratio: 16 / 10; margin-bottom: 6px; }
.card-grid .t-sm { text-align: center; }

/* Module: big + list */
.big-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.big-list.is-alt .big-list-main { order: 0; }
.card-big .thumb { aspect-ratio: 16 / 9.5; margin-bottom: 8px; }
.card-big .t-lg { color: var(--ak-text); }
.card-big .t-lg a:hover { color: var(--ak-primary); }
.card-small { display: grid; grid-template-columns: 1fr 98px; gap: 10px; align-items: center; padding: 6px 0; }
.card-small .thumb { order: 2; aspect-ratio: 16 / 10; }
.card-small-text { order: 1; min-width: 0; }
.big-list-side .card-small { grid-template-columns: 98px 1fr; }
.big-list-side .card-small .thumb { order: 0; }
.big-list-side .card-small + .card-small, .list-small .card-small + .card-small { border-top: 1px solid var(--ak-line); }
.meta-date { color: var(--ak-muted); font-size: 11px; display: inline-flex; gap: 4px; align-items: center; }

/* Module: overlay + bullets */
.overlay-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; align-items: start; }
.overlay-bullets .ob-list { order: 2; }
.card-overlay { position: relative; overflow: hidden; }
.card-overlay .thumb { aspect-ratio: 16 / 10; }
.card-overlay .t-ov {
	position: absolute; right: 0; left: 0; bottom: 0; padding: 30px 12px 10px;
	background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff;
	font-size: 14px; line-height: 1.7; text-align: center; pointer-events: none;
}
.card-overlay .t-ov a { color: #fff; pointer-events: auto; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bullets li { position: relative; padding: 6px 16px 6px 0; font-size: 12.5px; font-weight: 700; line-height: 1.7; }
.bullets li::before {
	content: ''; position: absolute; right: 2px; top: 14px; width: 6px; height: 6px;
	border-radius: 50%; background: #c7cdd4;
}
.bullets li + li { border-top: 1px dashed var(--ak-line); }
.bullets a { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

/* Module: list */
.list-small .card-small { grid-template-columns: 110px 1fr; }
.list-small .card-small .thumb { order: 0; }

/* ---------- Sidebar widgets ---------- */
/* 24h timeline */
.timeline { overflow-y: auto; scrollbar-width: thin; padding-left: 4px; }
.timeline li { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--ak-line); font-size: 12.5px; align-items: baseline; }
.timeline .tl-time { color: var(--ak-muted); font-family: Arial, sans-serif; font-size: 12px; flex: none; width: 36px; }
.timeline a { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-weight: 700; }

/* Overlay stack (أسرة وصحة) */
.overlay-stack { display: grid; gap: 8px; }
.akhbar-w-overlay .box-body { padding: 8px; }

/* Mini slider with dots */
.mini-slider { position: relative; }
.mini-slides { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.mini-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s; }
.mini-slide.is-active { opacity: 1; visibility: visible; }
.mini-dots { display: flex; justify-content: center; gap: 6px; padding-top: 10px; }
.mini-dots button { width: 12px; height: 12px; border-radius: 50%; border: 1px solid #c7cdd4; background: #eef0f2; padding: 0; }
.mini-dots button.is-active { background: #9aa3ad; }

/* Opinions */
.opinion { display: flex; align-items: center; gap: 10px; padding: 8px 0; flex-direction: row; }
.opinion + .opinion { border-top: 1px solid var(--ak-line); }
.op-text { flex: 1; min-width: 0; }
.op-img { order: 2; width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; border: 2px solid var(--ak-line); }
.op-img img { width: 100%; height: 100%; object-fit: cover; }

/* Videos (narrow 179px column) */
.akhbar-w-video .box-body { padding: 7px; }
.video-card + .video-card { margin-top: 10px; }
.video-card .thumb { aspect-ratio: 16 / 10; margin-bottom: 4px; }
.video-card .play {
	position: absolute; bottom: 8px; right: 8px; width: 36px; height: 36px; border-radius: 50%;
	border: 2px solid #fff; color: #fff; background: rgba(0, 0, 0, .35);
	display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.video-card .t-sm { font-size: 12px; }

/* Prayer times */
.prayer-city { text-align: center; font-weight: 700; color: var(--ak-primary); margin-bottom: 6px; }
.prayer-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.prayer-list li { background: var(--ak-main-bg); text-align: center; padding: 6px 2px; border-radius: 3px; font-size: 12px; }
.prayer-list li.is-next { background: var(--ak-primary); color: #fff; }
.prayer-list b { display: block; font-family: Arial, sans-serif; font-size: 14px; }

/* Card big inside sidebar (مجتمع) */
.card-big-sm .t-md { margin-bottom: 4px; }

/* ---------- Homepage: lower block ---------- */
.main-sub { display: grid; grid-template-columns: minmax(0, 1fr) 326px; gap: 20px; align-items: start; }
.main-sub-content { grid-column: 1; grid-row: 1; min-width: 0; }
.main-sub-sidebar { grid-column: 2; grid-row: 1; }

/* ---------- Inner pages (article / archive) ---------- */
.layout-2col { display: grid; grid-template-columns: minmax(0, 1fr) 326px; gap: 20px; align-items: start; }
.layout-2col .content-area { grid-column: 1; grid-row: 1; min-width: 0; }
.layout-2col .sidebar-area { grid-column: 2; grid-row: 1; }
.ak-breadcrumbs { font-size: 12px; color: var(--ak-muted); margin-bottom: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ak-breadcrumbs a { color: var(--ak-primary); }
.ak-breadcrumbs .current { color: var(--ak-muted); }

.archive-desc { color: var(--ak-muted); margin-bottom: 10px; }
.archive-lead { margin-bottom: 12px; }
.archive-lead .thumb { aspect-ratio: 16 / 8.5; }
.archive-lead .t-ov { font-size: 18px; }
.card-archive { display: grid; grid-template-columns: 220px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--ak-line); }
.card-archive:first-child { border-top: 0; padding-top: 0; }
.card-archive .thumb { aspect-ratio: 16 / 10; }
.card-archive .meta { display: flex; gap: 10px; align-items: center; font-size: 11.5px; margin-top: 4px; }
.meta-cat { color: var(--ak-primary); font-weight: 700; }
.no-results { padding: 20px 0; text-align: center; color: var(--ak-muted); }
.search-again { margin-bottom: 14px; }

.ak-pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 5px 0 15px; }
.ak-pagination .page-numbers, .ak-pagination > a, .ak-pagination > span {
	min-width: 36px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
	background: var(--ak-card); box-shadow: var(--ak-shadow); border-radius: 3px; font-weight: 700;
}
.ak-pagination .current { background: var(--ak-primary); color: #fff; }

/* Article */
.article .box-body { padding: 18px 20px; }
.article-title { font-size: var(--ak-article-title); line-height: 1.6; margin: 10px 0 8px; color: var(--ak-text); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--ak-muted); font-size: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--ak-line); }
.article-meta span { display: inline-flex; gap: 5px; align-items: center; }
.article-meta a { color: var(--ak-primary); font-weight: 700; }
.article-media { margin: 14px 0; }
.article-media img { width: 100%; }
.article-media figcaption { font-size: 12px; color: var(--ak-muted); padding: 6px 0; text-align: center; }
.article-video { position: relative; aspect-ratio: 16 / 9; }
.article-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.entry-content { font-size: var(--ak-article-fs); line-height: var(--ak-article-lh); }
.entry-content p { margin: 0 0 1.1em; }
.entry-content a { color: var(--ak-primary); text-decoration: underline; }
.entry-content h2, .entry-content h3 { margin: 1.2em 0 .5em; }
.entry-content blockquote { margin: 1.2em 0; padding: 10px 16px; border-right: 4px solid var(--ak-primary); background: var(--ak-main-bg); }
.entry-content ul, .entry-content ol { padding-right: 1.4em; margin-bottom: 1em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content img { margin: 10px auto; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content td, .entry-content th { border: 1px solid var(--ak-line); padding: 6px; }
.entry-content .ak-ad { margin: 1em auto; }
.alignleft { float: left; margin: 0 1em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 12px; color: var(--ak-muted); text-align: center; }
.article-tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 16px 0 6px; font-weight: 700; }
.article-tags a { background: var(--ak-main-bg); padding: 3px 10px; border-radius: 3px; font-size: 12px; }
.article-tags a:hover { background: var(--ak-primary); color: #fff; }

.ak-share { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 10px 0; }
.ak-share-label { font-weight: 700; font-size: 12px; margin-left: 4px; }
.soc {
	width: 34px; height: 34px; border-radius: 3px; display: inline-flex; align-items: center; justify-content: center;
	color: #fff; background: #555; border: 0; font-size: 16px;
}
.soc:hover { color: #fff; opacity: .88; }
.soc-facebook { background: #1877f2; }
.soc-x { background: #111; }
.soc-whatsapp { background: #25d366; }
.soc-telegram { background: #229ed9; }
.soc-instagram { background: #d6249f; }
.soc-youtube { background: #ff0000; }
.soc-tiktok { background: #000; }
.soc-link { background: #6b7280; }
.soc-print { background: #374151; }
.soc.is-copied { background: #16a34a; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; }
.post-nav a { display: block; background: var(--ak-card); box-shadow: var(--ak-shadow); padding: 10px 12px; height: 100%; }
.post-nav small { display: block; color: var(--ak-primary); font-weight: 700; }
.post-nav span { font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pn-next { text-align: left; }

/* Comments */
.comment-list li { padding: 10px 0; border-top: 1px solid var(--ak-line); }
.comment-list .children { padding-right: 30px; }
.comment-author img { float: right; margin-left: 10px; border-radius: 50%; }
.comment-meta { font-size: 11px; color: var(--ak-muted); }
.comment-form label { display: block; font-weight: 700; margin-bottom: 4px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form textarea {
	width: 100%; border: 1px solid #d5dae0; padding: 8px 10px; font: inherit; border-radius: 3px;
	background: var(--ak-card); color: var(--ak-text);
}
.comment-form .submit, .btn {
	background: var(--ak-primary); color: #fff; border: 0; padding: 9px 22px; border-radius: 3px; font-weight: 700; display: inline-block;
}
.btn:hover { color: #fff; opacity: .9; }
.page-404 { text-align: center; }
.big-404 { font-size: 90px; font-weight: 700; color: var(--ak-primary); line-height: 1; margin: 10px 0; font-family: Arial, sans-serif; }

/* ---------- Footer (bg #f8f9fa, 3 × 313) ---------- */
.site-footer { margin: 0 -15px; }
.ak-footer-cols {
	background: var(--ak-footer-bg);
	display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px;
	padding: 20px 17px 20px 20px;
}
.ak-footer-col .box { background: transparent; box-shadow: none; margin: 0; }
.ak-footer-col .box-head { background: transparent; padding: 0; height: auto; margin-bottom: 6px; }
.ak-footer-col .box-title { color: var(--ak-text); font-size: 15px; line-height: 1.8; }
.ak-footer-col .box-title a { color: var(--ak-text); }
.ak-footer-col .box-body { padding: 0; }
.ak-footer-col .bullets li { border: 0; font-weight: 400; padding: 3px 16px 3px 0; }
.ak-footer-col .bullets li::before { top: 11px; }
.ak-footer-col .bullets a { -webkit-line-clamp: 2; }
.ak-footer-col .card-small { grid-template-columns: 1fr 72px; padding: 5px 0; border: 0 !important; }
.ak-footer-col .card-small .thumb { order: 2; }
.ak-footer-col .card-small .t-sm { font-weight: 400; }
.about { text-align: center; }
.about-logo { display: flex; justify-content: center; margin-bottom: 6px; }
.about-logo img { max-height: 60px; width: auto; }
.about-logo .ak-logo-word { font-size: 32px; }
.about-text { margin: 4px 0 8px; font-size: 12px; }
.ak-social { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.ak-social.round .soc { border-radius: 50%; width: 32px; height: 32px; }
.newsletter { display: flex; max-width: 250px; margin: 14px auto 0; }
.newsletter input { flex: 1; min-width: 0; border: 1px solid #e1e5ea; border-left: 0; height: 34px; padding: 0 10px; font: inherit; font-size: 12px; background: #fff; }
.newsletter button { background: #198754; color: #fff; border: 0; padding: 0 14px; font-weight: 700; border-radius: 3px 0 0 3px; }
.ak-footer-bar {
	display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
	min-height: 40px; padding: 0 10px; font-size: 12px; background: var(--ak-frame);
}
.ak-footer-menu ul { display: flex; gap: 12px; }
.ak-credit { font-weight: 700; }
.ak-credit a { color: var(--ak-primary); }

.ak-to-top {
	position: fixed; left: 20px; bottom: 20px; width: 40px; height: 40px; border-radius: 4px; border: 0;
	background: var(--ak-primary); color: #fff; font-size: 24px; z-index: 90;
	display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.ak-to-top[hidden] { display: none; }

/* ---------- Mobile header & off-canvas ---------- */
.ak-mobile-header { display: none; }
.ak-offcanvas {
	position: fixed; top: 0; bottom: 0; right: 0; width: 320px; max-width: 86vw; z-index: 200;
	background: var(--ak-card); transform: translateX(100%); transition: transform .3s; overflow-y: auto;
	visibility: hidden;
}
.ak-offcanvas.is-open { transform: none; visibility: visible; }
.ak-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .5); z-index: 150; }
.ak-overlay[hidden] { display: none; }
.ak-oc-head { display: flex; align-items: center; justify-content: space-between; padding: 12px; min-height: 90px; }
.ak-oc-logo img { max-height: 74px; width: auto; }
.ak-oc-logo .ak-logo-word { font-size: 30px; }
.ak-oc-close { background: none; border: 0; font-size: 28px; color: var(--ak-text); width: 48px; height: 48px; }
.ak-oc-search { background: #f5f5f5; padding: 12px 20px; }
html[data-theme='dark'] .ak-oc-search { background: #111417; }
.menu-mobile a { display: block; padding: 12px 20px; font-weight: 700; border-bottom: 1px solid var(--ak-line); }
.menu-mobile .sub-menu a { padding-right: 36px; font-weight: 400; }
.ak-oc-social { padding: 16px; }
body.ak-no-scroll { overflow: hidden; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1039px) {
	.site { max-width: 100%; }
	.col3 { grid-template-columns: 260px minmax(0, 1fr) 170px; }
	.main-sub, .layout-2col { grid-template-columns: minmax(0, 1fr) 290px; }
}

/* Tablet & phone: reference switches to the mobile header + single column */
@media (max-width: 991px) {
	.ak-desktop { display: none !important; }
	.ak-mobile-header {
		display: block; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
		position: relative; z-index: 60;
	}
	html[data-theme='dark'] .ak-mobile-header { background: var(--ak-card); }
	.ak-mh-inner {
		max-width: 720px; margin: 0 auto; padding: 10px 15px;
		display: flex; align-items: center; gap: 8px; min-height: 80px;
	}
	.ak-mh-logo { flex: 1; display: flex; justify-content: center; min-width: 0; }
	.ak-mh-logo img { max-height: 180px; width: auto; max-width: 100%; }
	.ak-mh-logo .ak-logo-word { font-size: 40px; }
	.ak-mh-logo .ak-logo-text { align-items: center; }
	.ak-mh-tools { display: flex; flex-direction: row; gap: 4px; } /* dark mode, then search at the far left (as reference) */
	.ak-mh-btn { background: none; border: 0; color: #333; font-size: 28px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; }
	html[data-theme='dark'] .ak-mh-btn { color: var(--ak-text); }

	.site { max-width: 720px; padding: 0 15px; background: transparent; }
	body { background: var(--ak-frame); }
	.site-main { margin: 0; padding: 15px 0; background: transparent; }
	.ak-search-panel { margin: 0 -15px; }
	.ak-ticker { margin: 0; }

	.col3, .main-sub, .layout-2col { grid-template-columns: minmax(0, 1fr); }
	.col3-content, .col3-sidebar, .col3-vertical,
	.main-sub-content, .main-sub-sidebar,
	.layout-2col .content-area, .layout-2col .sidebar-area { grid-column: 1; grid-row: auto; }
	.col3-content { order: 1; }
	.col3-sidebar { order: 2; }
	.col3-vertical { order: 3; }
	.main-sub-content { order: 1; }
	.main-sub-sidebar { order: 2; }
	.box { box-shadow: 0 0 0 1px var(--ak-line); }

	/* Narrow video column becomes a 2/3-up grid on mobile */
	.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.video-card + .video-card { margin-top: 0; }

	.ak-slides { height: auto; aspect-ratio: 16 / 10; }
	.site-footer { margin: 0 -15px; }
	.ak-footer-cols { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
	.ak-footer-bar { justify-content: center; text-align: center; padding: 10px; }
	.ak-ad { max-width: 100%; }
}

@media (max-width: 575px) {
	.ak-mh-inner { min-height: 64px; padding: 8px 10px; }
	.ak-mh-logo img { max-height: 70px; }
	.ak-mh-logo .ak-logo-word { font-size: 30px; }
	.ak-mh-logo .ak-logo-tag { font-size: 11px; margin-top: 6px; }
	.ak-mh-btn { font-size: 24px; width: 36px; }
	.site { padding: 0 10px; }
	.ak-search-panel, .site-footer { margin: 0 -10px; }
	.ak-slide-title { font-size: 14px; bottom: 10px; }
	.ak-slider-pager { flex-wrap: nowrap; gap: 4px; padding: 10px 5px 0; }
	.ak-slider-pager button { min-width: 0; flex: 1 1 0; max-width: 34px; height: 28px; padding: 0; }
	.card-side, .big-list, .overlay-bullets { grid-template-columns: 1fr; }
	.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.module-grid3 .grid-3 .card-grid:nth-child(3) { grid-column: 1 / -1; }
	.videos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.card-archive { grid-template-columns: 120px 1fr; gap: 10px; }
	.card-archive .excerpt { display: none; }
	.article .box-body { padding: 14px 12px; }
	.article-title { font-size: calc(var(--ak-article-title) - 4px); }
	.post-nav { grid-template-columns: 1fr; }
	.pn-next { text-align: right; }
	.ak-ticker-label { padding: 0 8px; margin-left: 6px; }
}

/* Device-targeted ads */
@media (max-width: 991px) { .ak-ad-dev-desktop { display: none !important; } }
@media (min-width: 992px) { .ak-ad-dev-mobile { display: none !important; } }

/* Print */
@media print {
	.ak-mobile-header, .site-header, .site-footer, .sidebar-area, .ak-share, .post-nav, .related, .comments-area, .ak-ad, .ak-to-top { display: none !important; }
	.layout-2col { display: block; }
	.box { box-shadow: none; }
}
.ak-ticker[data-direction='rtl'] .ak-ticker-group { flex-direction: row; }

/* ==========================================================================
   Panel-driven options (v2)
   ========================================================================== */

/* Logos: light / dark variants */
.ak-logo-link.has-dark .ak-logo-dark { display: none; }
html[data-theme='dark'] .ak-logo-link.has-dark .ak-logo-light { display: none; }
html[data-theme='dark'] .ak-logo-link.has-dark .ak-logo-dark { display: block; }
.ak-mh-logo img { max-height: var(--ak-mlogo-h, 70px) !important; }

/* Header options */
.ak-topbar-end { display: flex; align-items: center; gap: 10px; }
.ak-social.mini .soc { width: 24px; height: 24px; font-size: 12px; border-radius: 50%; }
.ak-header-colored .ak-brand { background: var(--ak-primary); border-top: 0; margin: 0 -15px; padding: 0 15px; }
.ak-header-colored .ak-logo-main, .ak-header-colored .ak-logo-tag { color: #fff; }
.ak-logo-center .ak-brand { flex-direction: column; justify-content: center; height: auto; padding: 10px 0; gap: 10px; }
.ak-logo-center .ak-logo { width: auto; justify-content: center; }
.ak-logo-center .ak-header-ad { flex: none; justify-content: center; width: 100%; }
@media (min-width: 992px) {
	.ak-sticky-nav .ak-nav { position: sticky; top: 0; }
	.admin-bar.ak-sticky-nav .ak-nav { top: 32px; }
	.ak-sticky-sidebar .ak-sb { position: sticky; top: 60px; align-self: start; }
	.admin-bar.ak-sticky-sidebar .ak-sb { top: 92px; }
}

/* Ticker icon + fade type */
.ak-ticker-label { display: flex; align-items: center; gap: 6px; }
.ak-ticker-icon { height: 20px; width: auto; }
.ak-ticker-fade .ak-ticker-viewport { direction: rtl; }
.ak-ticker-fade .ak-ticker-track { width: 100%; position: relative; }
.ak-ticker-fade .ak-ticker-group { display: block; position: relative; width: 100%; }
.ak-ticker-fade .ak-ticker-item { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; visibility: hidden; padding: 0 6px; overflow: hidden; text-overflow: ellipsis; display: block; }
.ak-ticker-fade .ak-ticker-item::before { display: none; }
.ak-ticker-fade .ak-ticker-item.is-active { opacity: 1; transform: none; visibility: visible; }
.ak-ticker-fade .ak-ticker-time { margin-left: 8px; }

/* Urgent bar */
.ak-urgent { display: flex; align-items: center; gap: 12px; background: var(--ak-urgent); color: #fff; min-height: 46px; padding: 6px 12px; font-weight: 700; animation: ak-urgent-in .4s ease; }
.ak-urgent[hidden] { display: none; }
.ak-urgent-label { flex: none; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--ak-urgent); padding: 4px 10px; border-radius: 3px; font-size: 13px; }
.ak-urgent-label .ak-ic { animation: ak-blink 1.2s infinite; }
.ak-urgent-list { flex: 1; min-width: 0; position: relative; height: 26px; }
.ak-urgent-list li { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 26px; font-size: 15px; }
.ak-urgent-list li.is-active { opacity: 1; visibility: visible; }
.ak-urgent a { color: #fff; }
.ak-urgent a:hover { color: #ffe08a; }
.ak-urgent-close { flex: none; background: rgba(0, 0, 0, .2); border: 0; color: #fff; width: 30px; height: 30px; border-radius: 50%; font-size: 16px; display: flex; align-items: center; justify-content: center; }
@keyframes ak-urgent-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes ak-blink { 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .ak-urgent, .ak-urgent-label .ak-ic { animation: none; } }

/* Outside-frame ads (sticky skyscrapers) */
.ak-outside { display: none; }
@media (min-width: 1400px) {
	.ak-outside { display: block; position: fixed; top: 120px; width: 160px; margin: 0; z-index: 5; }
	.ak-outside-right { right: calc(50% + var(--ak-frame-w) / 2 + 10px); }
	.ak-outside-left { left: calc(50% + var(--ak-frame-w) / 2 + 10px); }
}

/* Home composition variants */
.col3-r-c { grid-template-columns: 290px minmax(0, 1fr); }
.col3-c-v { grid-template-columns: minmax(0, 1fr) 179px; }
.col3-c-v .col3-content { grid-column: 1; }
.col3-c-v .col3-vertical { grid-column: 2; }
.col3-c { grid-template-columns: minmax(0, 1fr); }
.col3-c .col3-content { grid-column: 1; }
.main-sub.l-s-c, .layout-2col.l-s-c { grid-template-columns: 326px minmax(0, 1fr); }
.main-sub.l-s-c .main-sub-sidebar, .layout-2col.l-s-c .sidebar-area { grid-column: 1; }
.main-sub.l-s-c .main-sub-content, .layout-2col.l-s-c .content-area { grid-column: 2; }
.main-sub.l-c, .layout-2col.l-c { grid-template-columns: minmax(0, 1fr); }
.list-after { margin-top: 8px; border-top: 1px solid var(--ak-line); }

/* Footer styles */
.ak-footer-dark .ak-footer-cols { background: var(--ak-deep, #15181c); color: #d5dde8; }
.ak-footer-dark .ak-footer-col a { color: #e6ecf3; }
.ak-footer-dark .ak-footer-col a:hover { color: var(--ak-accent); }
.ak-footer-dark .bullets li::before { background: var(--ak-accent); }
.ak-footer-dark .about-text { color: #c3cfdc; }
.ak-footer-dark .ak-logo-main { color: #fff; }
.ak-footer-dark .ak-footer-col .box-title, .ak-footer-dark .ak-footer-col .box-title a { color: #fff; }
.ak-footer-dark .ak-footer-bar { background: color-mix(in srgb, var(--ak-deep, #0e1013) 80%, #000); color: #b9c6d4; }
.ak-footer-dark .ak-credit a, .ak-footer-dark .ak-footer-bar a { color: var(--ak-accent); }
.ak-footer-primary .ak-footer-cols { background: var(--ak-primary); color: #fff; }
.ak-footer-primary .ak-footer-col .box-title, .ak-footer-primary .ak-footer-col .box-title a, .ak-footer-primary .ak-footer-col a { color: #fff; }
.ak-footer-primary .ak-footer-bar { background: rgba(0, 0, 0, .85); color: #fff; }
.ak-footer-primary .ak-logo-main { color: #fff; }
.menu-footer { display: flex; gap: 12px; flex-wrap: wrap; }

/* Article extras */
.read-also { margin: 1.2em 0; padding: 12px 16px; border-right: 4px solid var(--ak-ticker-label); background: var(--ak-main-bg); }
.read-also-title { display: block; font-weight: 700; color: var(--ak-ticker-label); margin-bottom: 4px; font-size: .9em; }
.read-also ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.read-also a { text-decoration: none !important; font-weight: 700; color: var(--ak-text) !important; font-size: .95em; }
.read-also a:hover { color: var(--ak-primary) !important; }
.article-source { font-weight: 700; color: var(--ak-muted); margin: 10px 0; }
.article-source a { color: var(--ak-primary); }
.article-shortlink label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; margin-top: 8px; }
.article-shortlink input { flex: 1; max-width: 320px; border: 1px solid var(--ak-line); padding: 4px 8px; background: var(--ak-main-bg); color: var(--ak-text); font: inherit; font-size: 12px; }
.author-box .box-body { display: flex; gap: 14px; align-items: center; }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { margin: 4px 0 0; color: var(--ak-muted); font-size: 12px; }
.op-author { display: block; color: var(--ak-primary); font-size: 11px; font-weight: 700; margin-top: 2px; }
.ak-html { overflow: hidden; }
.soc-linkedin { background: #0a66c2; }
.soc-pinterest { background: #e60023; }
.soc-email { background: #6b7280; }
.soc-rss { background: #f26522; }
.soc-android { background: #3ddc84; }
.soc-apple { background: #111; }

/* Cookie consent */
.ak-cookie { position: fixed; bottom: 16px; right: 16px; left: 16px; max-width: 560px; margin: 0 auto; z-index: 300; background: #1d2327; color: #fff; padding: 14px 16px; border-radius: 6px; display: flex; gap: 12px; align-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.ak-cookie[hidden] { display: none; }
.ak-cookie p { margin: 0; flex: 1; font-size: 12.5px; }
.ak-cookie a { color: #ffd27a; text-decoration: underline; }
.ak-cookie-ok { background: var(--ak-primary); color: #fff; border: 0; border-radius: 4px; padding: 8px 16px; font-weight: 700; }

/* Mobile options */
@media (max-width: 991px) {
	.ak-mh-colored .ak-mobile-header { background: var(--ak-primary); }
	.ak-mh-colored .ak-mh-btn, .ak-mh-colored .ak-logo-main, .ak-mh-colored .ak-logo-tag { color: #fff; }
	.ak-mh-dark .ak-mobile-header { background: var(--ak-deep, #15181c); }
	.ak-mh-dark .ak-mh-btn, .ak-mh-dark .ak-logo-main, .ak-mh-dark .ak-logo-tag { color: #fff; }
	.ak-mobile-sticky .ak-mobile-header { position: sticky; top: 0; }
	.admin-bar.ak-mobile-sticky .ak-mobile-header { top: 46px; }
	.ak-hide-sb-mobile .ak-sb { display: none !important; }
	.ak-hide-mobile,
	.ak-mhide-right .ak-area-right,
	.ak-mhide-vertical .ak-area-vertical,
	.ak-mhide-sub .ak-area-sub,
	.ak-mhide-footer .ak-footer-cols { display: none !important; }
	.col3-r-c, .col3-c-v { grid-template-columns: minmax(0, 1fr); }
	.col3-c-v .col3-vertical { grid-column: 1; }
	.main-sub.l-s-c .main-sub-sidebar, .layout-2col.l-s-c .sidebar-area,
	.main-sub.l-s-c .main-sub-content, .layout-2col.l-s-c .content-area { grid-column: 1; }
	.main-sub.l-s-c, .layout-2col.l-s-c { grid-template-columns: minmax(0, 1fr); }
	.layout-2col .sidebar-area { order: 2; }
}
.menu-mobile-pages a { font-weight: 400; font-size: 12px; }
.ak-header-image img { width: 100%; height: auto; display: block; }
.wp-widget > *:not(.box-head) { padding: 10px; margin: 0; }
.wp-widget ul { list-style: none; }
.wp-widget li { padding: 5px 0; border-bottom: 1px solid var(--ak-line); }

/* Brand accent touches */
:root { --ak-deep: #0f2e52; --ak-accent: #d4952b; }
.ak-nav { box-shadow: inset 0 -3px 0 var(--ak-accent); }
.menu-primary .sub-menu { border-top-color: var(--ak-accent); }
.box-head { position: relative; }
.box-head::after { content: ''; position: absolute; right: 0; bottom: -3px; width: 56px; height: 3px; background: var(--ak-accent); }
.box-more:hover i { background: var(--ak-accent); }
.ak-logo-accent { color: var(--ak-accent); }
.read-also { border-right-color: var(--ak-accent); }
.read-also-title { color: var(--ak-accent); }
.ak-badge-cat { background: var(--ak-primary); }
.ak-slider-pager button.is-active, .ak-slider-pager button:hover { background: var(--ak-primary); }
.ak-pagination .current { background: var(--ak-primary); }
.bullets li::before { background: var(--ak-accent); opacity: .7; }
.timeline .tl-time { color: var(--ak-accent); font-weight: 700; }
.ak-to-top { background: var(--ak-deep); border-bottom: 3px solid var(--ak-accent); }
.newsletter button { background: var(--ak-accent); color: var(--ak-deep); }
.ak-oc-head { border-bottom: 3px solid var(--ak-accent); }
.ak-today { color: var(--ak-primary); font-weight: 700; }
.ak-footer-dark .about-logo img, .ak-footer-primary .about-logo img { background: #fff; padding: 6px 12px; border-radius: 6px; }

/* Content protection */
.ak-noselect .site, .ak-noselect .ak-mobile-header { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ak-noselect input, .ak-noselect textarea, .ak-noselect [contenteditable] { -webkit-user-select: text; user-select: text; }
.ak-protect img { -webkit-user-drag: none; }
.ak-protect-msg { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 400; background: var(--ak-deep, #1d2327); color: #fff; padding: 10px 18px; border-radius: 6px; font-weight: 700; font-size: 13px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); border-bottom: 3px solid var(--ak-accent, #d4952b); max-width: 90vw; text-align: center; }
.ak-protect-msg[hidden] { display: none; }
@media print { .ak-protect .site { display: none !important; } }
