/*
Theme Name: Al-Ikhbariya News
Theme URI: https://alikhbariya.com/
Author: Next MENA Media Group
Author URI: https://thenextmena.com/
Description: Custom RTL news theme for Al-Ikhbariya (الإخبارية), built on the "Live nuqta" identity: maroon, ivory and gold, with the red live dot as the only accent.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: alikhbariya-news
*/

:root {
	--maroon: #7a1426;
	--maroon-deep: #4a0b16;
	--live: #e0312b;
	--gold: #d4a64a;
	--gold-light: #f0cf7f;
	--ivory: #fbf6ee;
	--paper: #fffdf9;
	--ink: #1f1517;
	--muted: #6f5f61;
	--line: #eadfd2;
	--radius: 10px;
	--wrap: 1220px;
	--f-head: "Reem Kufi", "IBM Plex Sans Arabic", Tahoma, sans-serif;
	--f-body: "IBM Plex Sans Arabic", Tahoma, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.75;
	direction: rtl;
	text-align: right;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--maroon); }
h1, h2, h3, h4 { font-family: var(--f-body); line-height: 1.45; margin: 0 0 .5em; font-weight: 700; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.aki-skip:focus { position: fixed !important; top: 8px; right: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 8px 14px; z-index: 999; }
.aki-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Live dot + rings (identity rules: red only for the dot, gold only for rings) */
.aki-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--live); vertical-align: middle; flex: none; }
.aki-dot--pulse { box-shadow: 0 0 0 0 rgba(224,49,43,.55); animation: aki-pulse 1.8s infinite; }
@keyframes aki-pulse {
	0% { box-shadow: 0 0 0 0 rgba(224,49,43,.55); }
	70% { box-shadow: 0 0 0 9px rgba(224,49,43,0); }
	100% { box-shadow: 0 0 0 0 rgba(224,49,43,0); }
}
@media (prefers-reduced-motion: reduce) { .aki-dot--pulse { animation: none; } .aki-ticker__list { animation: none !important; } }
.aki-ring { display: inline-block; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--gold); margin-left: 10px; vertical-align: -1px; position: relative; flex: none; }
.aki-ring::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--live); }

/* Top bar */
.aki-topbar { background: var(--maroon-deep); color: var(--gold-light); font-size: 13px; }
.aki-topbar__in { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.aki-topbar__tag { opacity: .85; }

/* Header */
.aki-header { background: var(--maroon); color: var(--ivory); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 0 var(--gold); }
.admin-bar .aki-header { top: 32px; }
.aki-header__in { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.aki-brand { flex: none; }
.aki-brand .custom-logo-link img, .aki-brand img { height: 58px; width: auto; }
.aki-brand__text { font-family: var(--f-head); font-size: 34px; color: var(--ivory); }
.aki-search { margin-right: auto; display: flex; background: rgba(255,255,255,.1); border: 1px solid rgba(240,207,127,.4); border-radius: 999px; overflow: hidden; }
.aki-search input { background: transparent; border: 0; color: var(--ivory); padding: 8px 16px; font: inherit; font-size: 15px; width: 220px; outline: none; }
.aki-search input::placeholder { color: rgba(251,246,238,.7); }
.aki-search button { background: transparent; border: 0; color: var(--gold-light); font-size: 20px; padding: 0 14px; cursor: pointer; }
.aki-burger { display: none; background: transparent; border: 0; width: 42px; height: 42px; cursor: pointer; padding: 9px; }
.aki-burger span { display: block; height: 2px; background: var(--ivory); margin: 5px 0; transition: .2s; }

.aki-nav { background: var(--maroon-deep); }
.aki-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.aki-menu a { display: block; padding: 11px 15px; color: var(--ivory); font-family: var(--f-head); font-size: 16px; border-bottom: 3px solid transparent; }
.aki-menu a:hover, .aki-menu .current-menu-item > a, .aki-menu .current-cat > a { color: var(--gold-light); border-bottom-color: var(--gold); }

/* Ticker */
.aki-ticker { background: var(--paper); border-bottom: 1px solid var(--line); }
.aki-ticker__in { display: flex; align-items: center; gap: 14px; height: 46px; overflow: hidden; }
.aki-ticker__live { display: inline-flex; align-items: center; gap: 8px; background: var(--maroon); color: var(--ivory); font-family: var(--f-head); font-weight: 700; font-size: 14px; padding: 4px 14px; border-radius: 999px; flex: none; }
.aki-ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(to left, transparent, #000 4%, #000 96%, transparent); }
.aki-ticker__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 40px; white-space: nowrap; width: max-content; animation: aki-scroll 70s linear infinite; }
.aki-ticker__track:hover .aki-ticker__list { animation-play-state: paused; }
.aki-ticker__list li { font-size: 15px; font-weight: 500; position: relative; }
.aki-ticker__list li::before { content: "◆"; color: var(--gold); font-size: 9px; margin-left: 10px; vertical-align: 2px; }
@keyframes aki-scroll { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* Layout */
.aki-main { padding: 26px 0 50px; }
.aki-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 32px; align-items: start; }

/* Labels / meta / buttons */
.aki-label { display: inline-block; font-family: var(--f-head); font-size: 13px; font-weight: 600; color: var(--maroon); background: rgba(212,166,74,.16); border-right: 3px solid var(--gold); padding: 1px 9px; border-radius: 3px; margin-bottom: 8px; }
.aki-meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.aki-btn { display: inline-block; background: var(--maroon); color: var(--ivory) !important; font-family: var(--f-head); font-weight: 600; padding: 9px 22px; border-radius: 999px; border: 2px solid var(--gold); }
.aki-btn:hover { background: var(--maroon-deep); }

/* No image fallback */
.aki-noimg { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 5/3; background: radial-gradient(circle at center, var(--maroon) 0, var(--maroon-deep) 100%); }
.aki-noimg .aki-dot { width: 16px; height: 16px; box-shadow: 0 0 0 7px rgba(212,166,74,.9), 0 0 0 13px rgba(212,166,74,.35); }

/* Lead */
.aki-lead { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: 22px; margin-bottom: 36px; }
.aki-hero { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.aki-hero__media img, .aki-hero__media .aki-noimg { width: 100%; aspect-ratio: 5/3; object-fit: cover; }
.aki-hero__body { padding: 18px 22px 22px; }
.aki-hero__title { font-size: 29px; margin-bottom: 10px; }
.aki-hero__ex { color: #3e3133; margin: 0 0 10px; }
.aki-lead__side { display: grid; gap: 14px; align-content: start; }

/* Cards */
.aki-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.aki-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(74,11,22,.09); }
.aki-card__media img, .aki-card__media .aki-noimg { width: 100%; aspect-ratio: 5/3; object-fit: cover; }
.aki-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.aki-card__title { font-size: 19px; margin-bottom: 6px; }
.aki-card__ex { font-size: 14.5px; color: #4a3d3f; margin: 0 0 10px; line-height: 1.65; }
.aki-card .aki-meta { margin-top: auto; }
.aki-card--side { flex-direction: row; height: 124px; }
.aki-card--side .aki-card__media { width: 38%; flex: none; position: relative; overflow: hidden; }
.aki-card--side .aki-card__media img, .aki-card--side .aki-card__media .aki-noimg { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.aki-card--side .aki-card__body { overflow: hidden; }
.aki-card--side .aki-label { margin-bottom: 4px; }
.aki-card--side .aki-card__body { padding: 10px 14px; }
.aki-card--side .aki-card__title { font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 2px; }
.aki-card--side .aki-card__ex { display: none; }

.aki-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.aki-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }

/* Sections */
.aki-section { margin-bottom: 38px; }
.aki-section__head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--maroon); margin-bottom: 16px; padding-bottom: 8px; }
.aki-section__title { display: flex; align-items: center; font-size: 24px; margin: 0; color: var(--maroon-deep); }
.aki-section__more { font-size: 14px; color: var(--maroon); font-weight: 600; }

/* Sidebar */
.aki-side { display: grid; gap: 22px; position: sticky; top: 120px; }
.aki-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.aki-box__title { display: flex; align-items: center; gap: 8px; font-size: 19px; color: var(--maroon-deep); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.aki-latest { list-style: none; counter-reset: l; margin: 0; padding: 0; }
.aki-latest li { counter-increment: l; position: relative; padding: 10px 38px 10px 0; border-bottom: 1px dashed var(--line); font-weight: 500; font-size: 15px; line-height: 1.55; }
.aki-latest li:last-child { border-bottom: 0; }
.aki-latest li::before { content: counter(l); position: absolute; right: 0; top: 9px; width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--gold); color: var(--maroon); font-family: var(--f-head); font-size: 14px; display: flex; align-items: center; justify-content: center; }
.aki-latest .aki-meta { display: block; margin-top: 2px; }
.aki-box--group { text-align: center; background: var(--maroon-deep); color: var(--gold-light); border-color: var(--maroon-deep); }
.aki-box--group img { margin: 4px auto 8px; }
.aki-box--group p { margin: 0; font-size: 14px; }

/* Ad slot */
.aki-ad { border: 2px dashed var(--gold); border-radius: var(--radius); padding: 22px 18px; text-align: center; background: linear-gradient(160deg, #fff8ea, var(--paper)); }
.aki-ad__label { display: inline-block; font-size: 12px; letter-spacing: .02em; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0 10px; margin-bottom: 8px; }
.aki-ad__text { font-family: var(--f-head); font-size: 18px; color: var(--maroon-deep); margin: 0 0 14px; line-height: 1.5; }

/* Article */
.aki-article { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 30px 30px; }
.aki-article__title { font-size: 36px; color: var(--maroon-deep); }
.aki-article__dek { font-size: 19px; color: #4a3d3f; margin: 0 0 12px; }
.aki-article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 8px 0; margin-bottom: 20px; }
.aki-article__meta span:first-child { color: var(--maroon); font-weight: 600; }
.aki-article__fig { margin: 0 0 22px; }
.aki-article__fig img { width: 100%; border-radius: var(--radius); }
.aki-article__content { font-size: 18.5px; line-height: 1.95; }
.aki-article__content p { margin: 0 0 1.1em; }
.aki-article__content h2 { font-size: 25px; color: var(--maroon-deep); margin-top: 1.4em; border-right: 4px solid var(--gold); padding-right: 12px; }
.aki-article__content h3 { font-size: 21px; margin-top: 1.2em; }
.aki-article__content a { color: var(--maroon); text-decoration: underline; text-underline-offset: 3px; }
.aki-article__content blockquote { margin: 1.4em 0; padding: 14px 20px; border-right: 4px solid var(--maroon); background: #fff7ec; font-family: var(--f-head); font-size: 20px; }
.aki-article__content ul, .aki-article__content ol { padding-right: 1.4em; padding-left: 0; }
.aki-article__content .aki-sources { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 1.6em; }
.aki-article--page { max-width: 860px; margin: 0 auto; }
.aki-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.aki-share span { font-weight: 600; color: var(--maroon-deep); }
.aki-share a { border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; background: #fff; }
.aki-share a:hover { border-color: var(--gold); background: #fff7e6; }
.aki-tags { margin-top: 12px; font-size: 14px; }
.aki-tags a { color: var(--maroon); }
.aki-related { margin-top: 30px; }

/* Archive */
.aki-archive-head { margin-bottom: 18px; border-bottom: 2px solid var(--maroon); padding-bottom: 10px; }
.aki-archive-head__title { display: flex; align-items: center; font-size: 30px; margin: 0; color: var(--maroon-deep); }
.aki-archive-head__desc { color: var(--muted); margin-top: 6px; }
.aki-pagination { margin-top: 28px; display: flex; gap: 8px; flex-wrap: wrap; }
.aki-pagination .page-numbers { padding: 6px 13px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.aki-pagination .current { background: var(--maroon); color: var(--ivory); border-color: var(--maroon); }
.aki-empty { background: var(--paper); padding: 20px; border-radius: var(--radius); }

/* 404 */
.aki-404 { text-align: center; padding: 40px 16px; }
.aki-404__mark .aki-dot { width: 26px; height: 26px; box-shadow: 0 0 0 10px rgba(212,166,74,.9), 0 0 0 20px rgba(212,166,74,.35); margin: 26px 0 30px; }

/* Footer */
.aki-footer { background: var(--maroon-deep); color: rgba(251,246,238,.86); border-top: 4px solid var(--gold); }
.aki-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 30px; padding-top: 40px; padding-bottom: 30px; }
.aki-footer__logo img { height: 52px; width: auto; margin-bottom: 10px; }
.aki-footer__h { color: var(--gold-light); font-size: 18px; }
.aki-footer__list { list-style: none; margin: 0; padding: 0; }
.aki-footer__list li { padding: 3px 0; }
.aki-footer a:hover { color: var(--gold-light); }
.aki-footer__mail a { color: var(--gold-light); direction: ltr; unicode-bidi: embed; }
.aki-group img { background: #1a2744; padding: 10px 16px; border-radius: 8px; width: 180px; }
.aki-footer__group p { font-size: 14px; }
.aki-footer__bottom { background: rgba(0,0,0,.22); font-size: 13px; padding: 12px 0; }

/* Responsive */
@media (max-width: 1024px) {
	.aki-layout { grid-template-columns: 1fr; }
	.aki-side { position: static; }
	.aki-lead { grid-template-columns: 1fr; }
	.aki-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	body { font-size: 16px; }
	.aki-topbar__tag { display: none; }
	.aki-search { display: none; }
	.aki-burger { display: block; margin-right: auto; }
	.aki-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.aki-burger.is-open span:nth-child(2) { opacity: 0; }
	.aki-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.aki-brand .custom-logo-link img, .aki-brand img { height: 44px; }
	.aki-nav { display: none; }
	.aki-nav.is-open { display: block; }
	.aki-menu { flex-direction: column; }
	.aki-menu a { border-bottom: 1px solid rgba(255,255,255,.08); }
	.aki-grid, .aki-grid--3 { grid-template-columns: 1fr; }
	.aki-hero__title { font-size: 24px; }
	.aki-article { padding: 18px 16px 22px; }
	.aki-article__title { font-size: 27px; }
	.aki-article__content { font-size: 17.5px; }
	.aki-footer__grid { grid-template-columns: 1fr; }
	.admin-bar .aki-header { top: 0; }
}

/* Kufi reserved for brand-level headings */
.aki-section__title, .aki-archive-head__title, .aki-box__title, .aki-footer__h, .aki-404 h1 { font-family: var(--f-head); font-weight: 600; }

/* ===== v1.1 newspaper blocks ===== */
.aki-box--group img { background: #1a2744; padding: 10px 16px; border-radius: 8px; }
.aki-box__sub { margin: -4px 0 8px; font-size: 13px; color: var(--muted); }
.aki-box__note { margin: 8px 0 0; font-size: 11.5px; color: var(--muted); }

/* Editor's picks */
.aki-picks { background: var(--maroon-deep); border-radius: var(--radius); padding: 14px 16px 16px; margin: -12px 0 34px; border-top: 3px solid var(--gold); }
.aki-picks__head { display: flex; align-items: center; color: var(--gold-light); font-family: var(--f-head); font-size: 19px; margin-bottom: 12px; }
.aki-picks__row { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.aki-pick { display: flex; gap: 10px; align-items: center; color: var(--ivory); }
.aki-pick:hover { color: var(--gold-light); }
.aki-pick__img { width: 86px; height: 62px; flex: none; border-radius: 6px; overflow: hidden; position: relative; }
.aki-pick__img img, .aki-pick__img .aki-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.aki-pick__t { font-size: 14.5px; font-weight: 600; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Feature section: big card + list */
.aki-feat { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 18px; }
.aki-feat__list { display: grid; gap: 12px; align-content: start; }
.aki-card--list { flex-direction: row; height: 104px; }
.aki-card--list .aki-card__media { width: 34%; flex: none; position: relative; overflow: hidden; }
.aki-card--list .aki-card__media img, .aki-card--list .aki-card__media .aki-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.aki-card--list .aki-card__body { padding: 8px 12px; overflow: hidden; }
.aki-card--list .aki-label { display: none; }
.aki-card--list .aki-card__title { font-size: 15px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 2px; }

/* Wide ad */
.aki-ad--wide { margin: -8px 0 38px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 26px 18px; }
.aki-ad--wide .aki-ad__text { margin: 0; }

/* Gallery */
.aki-gallery__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.aki-gallery__item { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; display: block; }
.aki-gallery__item img, .aki-gallery__item .aki-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; transition: transform .3s; }
.aki-gallery__item:hover img { transform: scale(1.05); }
.aki-gallery__item span { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(30,6,10,.88)); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.aki-gallery__item:hover span { color: var(--gold-light); }

/* Most read */
.aki-mostread { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.aki-mostread li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); counter-increment: m; position: relative; }
.aki-mostread li:last-child { border-bottom: 0; }
.aki-mostread__img { width: 78px; height: 56px; flex: none; border-radius: 6px; overflow: hidden; position: relative; }
.aki-mostread__img::after { content: counter(m); position: absolute; top: 4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--maroon); color: var(--ivory); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gold); }
.aki-mostread__img img, .aki-mostread__img .aki-noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.aki-mostread__t { font-size: 14.5px; font-weight: 600; line-height: 1.5; }

/* Tabs + prayer */
.aki-prayer__hijri { margin: -4px 0 8px; font-size: 13px; color: var(--maroon); font-weight: 600; }
.aki-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.aki-tab { font: inherit; font-size: 13px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 2px 11px; cursor: pointer; color: var(--ink); }
.aki-tab.is-on { background: var(--maroon); color: var(--ivory); border-color: var(--maroon); }
.aki-prayer__list { display: none; list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.aki-prayer__list.is-on { display: grid; }
.aki-prayer__list li { background: #fff8ec; border: 1px solid var(--line); border-radius: 8px; text-align: center; padding: 6px 4px; font-size: 13px; }
.aki-prayer__list b { display: block; font-size: 17px; color: var(--maroon-deep); direction: ltr; }

/* Currencies */
.aki-fx__t { width: 100%; border-collapse: collapse; font-size: 14px; }
.aki-fx__t td { padding: 6px 2px; border-bottom: 1px dashed var(--line); }
.aki-fx__t tr:last-child td { border-bottom: 0; }
.aki-fx__code { color: var(--muted); font-size: 12px; direction: ltr; text-align: center; }
.aki-fx__v { text-align: left; font-weight: 700; direction: ltr; color: var(--maroon-deep); }

/* Weather */
.aki-weather__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.aki-weather__grid li { display: flex; align-items: center; gap: 6px; background: #fff8ec; border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px; font-size: 14px; }
.aki-weather__ic { font-size: 18px; width: 22px; text-align: center; }
.aki-weather__ic img.emoji { width: 18px !important; height: 18px !important; }
.aki-weather__c { flex: 1; }
.aki-weather__grid b { color: var(--maroon-deep); font-size: 16px; direction: ltr; }

/* On this day */
.aki-otd__list { list-style: none; margin: 0; padding: 0; }
.aki-otd__list li { font-size: 14px; line-height: 1.65; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.aki-otd__list li:last-child { border-bottom: 0; }
.aki-otd__list b { color: var(--maroon); margin-left: 4px; }

/* Tag cloud */
.aki-tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.aki-tagcloud a { font-size: 13px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; }
.aki-tagcloud a:hover { border-color: var(--gold); color: var(--maroon); }

/* Article extras */
.aki-credit { font-size: 12.5px; color: var(--muted); padding: 6px 2px 0; line-height: 1.6; }
.aki-credit a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.aki-progress { position: fixed; top: 0; right: 0; left: 0; height: 4px; z-index: 100; background: transparent; }
.admin-bar .aki-progress { top: 32px; }
.aki-progress span { display: block; height: 100%; width: 0; background: linear-gradient(to left, var(--gold), var(--live)); margin-right: 0; margin-left: auto; transition: width .1s linear; }
.aki-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.aki-prevnext__a { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; background: #fff; font-weight: 600; font-size: 15px; line-height: 1.55; }
.aki-prevnext__a small { display: block; color: var(--gold); font-weight: 700; font-size: 12px; margin-bottom: 2px; }
.aki-prevnext__a:hover { border-color: var(--gold); }
.aki-prevnext__prev { text-align: left; }

@media (max-width: 1024px) {
	.aki-picks__row { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
	.aki-picks__row, .aki-feat, .aki-prevnext { grid-template-columns: 1fr; }
	.aki-gallery__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.aki-progress { top: 0 !important; }
}

/* group badge size */
.aki-group img, .aki-box--group img { width: 230px; max-width: 100%; height: auto; padding: 12px 18px; }
