/*!
 * Alatau24 theme styles.
 * Sections: fonts, tokens, base, layout, header, homepage, cards, article,
 * mobile, components, then the shared components and responsive rules.
 */

/* ==========================================================================
   1. Fonts (bundled, subset to Latin + Cyrillic incl. Kazakh)
   ========================================================================== */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/inter-400i.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-800.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-var.woff") format("woff"); }
@font-face { font-family: "Alatau Serif"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/alatau-serif-var.woff") format("woff"); }
@font-face { font-family: "Alatau Serif"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/alatau-serif-italic-var.woff") format("woff"); }

/* ==========================================================================
   2. Design tokens
   ========================================================================== */
:root {
	--a24-primary: #0a7ea4;
	--a24-primary-ink: #ffffff;
	--a24-sky: #00afca;
	--a24-accent: #f5b301;
	--a24-accent-ink: #10202a;
	--a24-accent-text: #916a01;
	--a24-hot: #d7263d;
	--a24-ok: #15803d;
	--a24-page: #f1f5f7;
	--a24-footer: #0b2230;
	--a24-bg: var(--a24-page);
	--a24-bg-soft: #e8f0f3;
	--a24-surface: #ffffff;
	--a24-surface-2: #edf3f6;
	--a24-text: #0f1e28;
	--a24-text-2: #33444f;
	--a24-muted: #627683;
	--a24-border: #dbe5ea;
	--a24-border-strong: #c2d0d8;
	--a24-link: var(--a24-primary);
	--a24-dark: #0b2230;
	--a24-dark-2: #12303f;
	--a24-on-dark: #e6f0f4;
	--a24-on-dark-muted: #93abb8;
	--a24-shadow-sm: 0 1px 2px rgba(11, 34, 48, .06);
	--a24-shadow: 0 18px 44px -20px rgba(11, 34, 48, .34);
	--a24-radius: 12px;
	--a24-radius-sm: calc(var(--a24-radius) * .7);
	--a24-container: 1280px;
	--a24-gutter: 24px;
	--a24-fs: 16px;
	--a24-masthead-h: 76px;
	--a24-nav-h: 48px;
	--a24-header-h: var(--a24-nav-h);
	--a24-logo-h: 36px;
	--a24-font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--a24-font-head: "Montserrat", var(--a24-font-body);
	--a24-font-title: "Alatau Serif", Georgia, "Times New Roman", serif;
	--a24-font-article: var(--a24-font-body);
	--a24-prose-size: 19px;
	--a24-ease: cubic-bezier(.2, .7, .2, 1);
	--a24-sticky-top: calc(var(--a24-header-h) + 20px + var(--wp-admin--admin-bar--height, 0px));
	--a24-tabbar-h: 0px;
	--a24-peak: polygon(50% 0, 100% 100%, 0 100%);
}

html[data-a24-theme="dark"] {
	color-scheme: dark;
	--a24-page: #061118;
	--a24-bg: #061118;
	--a24-bg-soft: #0a1820;
	--a24-surface: #0c1a22;
	--a24-surface-2: #12242e;
	--a24-text: #e8f1f5;
	--a24-text-2: #c2d0d8;
	--a24-muted: #87a0ad;
	--a24-border: #19303b;
	--a24-border-strong: #26414e;
	--a24-link: color-mix(in srgb, var(--a24-primary) 55%, #ffffff);
	--a24-accent-text: var(--a24-accent);
	--a24-dark: #030b10;
	--a24-dark-2: #0a1b24;
	--a24-shadow: 0 18px 44px -20px rgba(0, 0, 0, .8);
}

/* ==========================================================================
   3. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--a24-header-h) + 20px); }
body {
	margin: 0; background: var(--a24-page); color: var(--a24-text);
	font: 400 var(--a24-fs)/1.6 var(--a24-font-body);
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}
body.a24-locked { overflow: hidden; }
img, video, iframe, embed, object { max-width: 100%; }
img { height: auto; border-style: none; }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--a24-link); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--a24-font-head); font-weight: 700; line-height: 1.22; letter-spacing: -.01em; color: var(--a24-text); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--a24-primary); outline-offset: 2px; border-radius: 4px; }
::selection { background: color-mix(in srgb, var(--a24-primary) 24%, transparent); }
.a24-icon { width: 1em; height: 1em; flex: none; vertical-align: -.125em; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important; }
.a24-skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; margin: 0; top: 8px; left: 8px; z-index: 100000; padding: 12px 18px; background: var(--a24-primary); color: var(--a24-primary-ink); border-radius: 8px; font-weight: 700; }
.a24-avatar { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
kbd { padding: 1px 6px; border: 1px solid var(--a24-border-strong); border-bottom-width: 2px; border-radius: 5px; background: var(--a24-surface); font: 600 12px/1.4 var(--a24-font-body); }

/* ==========================================================================
   4. Layout
   ========================================================================== */
.a24-site { min-height: 100vh; display: flex; flex-direction: column; }
.a24-content { flex: 1 0 auto; }
.a24-container { width: 100%; max-width: calc(var(--a24-container) + 2 * var(--a24-gutter)); margin-inline: auto; padding-inline: var(--a24-gutter); }
.a24-page-wrap { padding-block: 26px 64px; }
.a24-layout { display: grid; gap: 28px; align-items: start; }
.a24-layout--full { grid-template-columns: minmax(0, 1fr); }
.a24-layout--sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
.a24-main { min-width: 0; container-type: inline-size; }
.a24-sidebar { min-width: 0; }
.a24-sticky { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; }
.a24-sticky-sidebar .a24-sticky { position: sticky; top: var(--a24-sticky-top); }
.a24-block { container-type: inline-size; min-width: 0; }
.a24-area { display: grid; gap: 20px; }
.a24-only-mobile { display: none !important; }

/* ==========================================================================
   5. Header
   ========================================================================== */
.a24-header-sentinel { height: 1px; margin-bottom: -1px; }
.a24-header { position: relative; z-index: 60; background: var(--a24-surface); color: var(--a24-text); transition: box-shadow .2s; }
.a24-sticky-header .a24-header { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--a24-masthead-h) - 1px); }
.a24-header.is-stuck { box-shadow: 0 12px 30px -20px rgba(11, 34, 48, .55); }

/* Masthead: logo, date and weather, search, icons */
.a24-masthead { border-bottom: 1px solid var(--a24-border); }
.a24-masthead__inner { display: flex; align-items: center; gap: 14px; min-height: var(--a24-masthead-h); }
.a24-header__burger { margin-left: -8px; }
.a24-header__brand { flex: none; }
.a24-masthead__info { display: flex; align-items: center; gap: 8px; min-width: 0; margin-left: 6px; padding-left: 18px; border-left: 1px solid var(--a24-border); color: var(--a24-muted); font-size: 13px; }
.a24-masthead__date { margin-right: 4px; color: var(--a24-text-2); font-weight: 600; white-space: nowrap; }
.a24-masthead__date::first-letter { text-transform: uppercase; }
.a24-infochip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 11px; border-radius: 8px; background: var(--a24-surface-2); color: var(--a24-text-2); white-space: nowrap; }
.a24-infochip .a24-icon { font-size: 16px; color: var(--a24-primary); }
.a24-infochip b { color: var(--a24-text); font-weight: 700; }
.a24-infochip--aqi { --q: #22c55e; }
.a24-infochip--aqi i { width: 8px; height: 8px; border-radius: 50%; background: var(--q); box-shadow: 0 0 0 3px color-mix(in srgb, var(--q) 25%, transparent); }
.a24-infochip.a24-aqi--moderate { --q: #eab308; }
.a24-infochip.a24-aqi--sensitive { --q: #f97316; }
.a24-infochip.a24-aqi--unhealthy { --q: #ef4444; }
.a24-infochip.a24-aqi--very { --q: #a855f7; }
.a24-infochip.a24-aqi--hazardous { --q: #9f1239; }
.a24-header__actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.a24-searchfield {
	display: inline-flex; align-items: center; gap: 10px; width: clamp(200px, 20vw, 280px); height: 42px; margin-right: 4px; padding: 0 8px 0 14px;
	border: 1px solid var(--a24-border); border-radius: 10px; background: var(--a24-surface-2); color: var(--a24-muted); font-size: 14px; text-align: left;
	transition: border-color .15s, background .15s, color .15s;
}
.a24-searchfield:hover { border-color: var(--a24-primary); background: var(--a24-surface); color: var(--a24-text-2); }
.a24-searchfield .a24-icon { font-size: 18px; color: var(--a24-primary); }
.a24-searchfield span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.a24-searchfield kbd { min-width: 22px; text-align: center; color: var(--a24-muted); }

/* Category bar */
.a24-navbar { background: var(--a24-primary); color: var(--a24-primary-ink); }
.a24-navbar__inner { display: flex; align-items: stretch; gap: 6px; min-height: var(--a24-nav-h); }
.a24-navbar__mark { display: none; align-items: center; padding-right: 10px; margin-right: 4px; border-right: 1px solid color-mix(in srgb, var(--a24-primary-ink) 22%, transparent); }
.a24-header.is-stuck .a24-navbar__mark { display: flex; }
.a24-navbar__mark .a24-mark { height: 26px; }
.a24-navbar .a24-mark__m { fill: var(--a24-primary-ink); }
.a24-navbar .a24-mark__s { fill: var(--a24-primary); }
.a24-header__nav { flex: 1; min-width: 0; display: flex; align-items: stretch; }
.a24-header__home { position: relative; display: grid; place-items: center; padding: 0 12px; font-size: 20px; color: color-mix(in srgb, var(--a24-primary-ink) 85%, transparent); }
.a24-header__home::after, .a24-header .a24-menu > li > a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--a24-accent); transform: scaleX(0); transition: transform .22s var(--a24-ease); }
.a24-header__home.is-current::after, .a24-header__home:hover::after { transform: scaleX(1); }
.a24-header__home.is-current, .a24-header__home:hover { color: var(--a24-primary-ink); }
.a24-navbar__link { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; padding: 0 4px 0 16px; border-left: 1px solid color-mix(in srgb, var(--a24-primary-ink) 22%, transparent); color: var(--a24-primary-ink); font: 700 14px/1 var(--a24-font-head); white-space: nowrap; }
.a24-navbar__link .a24-icon { font-size: 17px; color: var(--a24-accent); }
.a24-navbar__link:hover { color: var(--a24-primary-ink); text-decoration: underline; text-underline-offset: 4px; }

.a24-header .a24-menu { flex-wrap: nowrap; min-width: 0; }
.a24-header .a24-menu > li { flex: none; }
.a24-more .a24-mega { display: none !important; }
.a24-more > .sub-menu { left: auto; right: 0; }
.a24-more > .sub-menu .a24-has-mega > a::before { display: none; }
.a24-header .a24-menu > li > a { min-height: var(--a24-nav-h); padding: 0 13px; font: 600 14.5px/1 var(--a24-font-head); text-transform: none; letter-spacing: 0; color: color-mix(in srgb, var(--a24-primary-ink) 86%, transparent); }
.a24-header .a24-menu > li > a:hover, .a24-header .a24-menu > .current-menu-item > a, .a24-header .a24-menu > .current-menu-ancestor > a, .a24-header .a24-menu > .current-category-ancestor > a { color: var(--a24-primary-ink); }
.a24-header .a24-menu > .current-menu-item > a::after, .a24-header .a24-menu > .current-category-ancestor > a::after, .a24-header .a24-menu > li > a:hover::after { transform: scaleX(1); }
.a24-header .a24-menu > .menu-item-has-children > a { padding-right: 28px; }
.a24-header .a24-menu > .a24-has-mega:not(.menu-item-has-children) > a::before { display: none; }
.a24-header .a24-menu > .menu-item-has-children > a::before, .a24-header .a24-menu > .a24-has-mega > a::before { right: 13px; width: 5px; height: 5px; border-width: 1.6px; }

/* Category strip on phones */
.a24-catstrip { position: relative; z-index: 5; background: var(--a24-primary); }
.a24-catstrip__list { display: flex; gap: 2px; margin: 0; padding: 0 calc(var(--a24-gutter) - 8px); list-style: none; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.a24-catstrip__list::-webkit-scrollbar { display: none; }
.a24-catstrip__list > li { flex: none; }
.a24-catstrip__list .sub-menu, .a24-catstrip__list .a24-mega, .a24-catstrip__list .a24-submenu-toggle { display: none !important; }
.a24-catstrip__list a { position: relative; display: block; padding: 12px 10px; color: color-mix(in srgb, var(--a24-primary-ink) 86%, transparent); font: 600 14px/1 var(--a24-font-head); white-space: nowrap; }
.a24-catstrip__list .current-menu-item > a, .a24-catstrip__list .current-category-ancestor > a { color: var(--a24-primary-ink); }
.a24-catstrip__list .current-menu-item > a::after, .a24-catstrip__list .current-category-ancestor > a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--a24-accent); }

.a24-iconbtn {
	position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 10px; background: transparent; color: var(--a24-text-2); font-size: 21px;
	transition: background .15s, color .15s;
}
.a24-iconbtn:hover { background: var(--a24-surface-2); color: var(--a24-primary); }
.a24-iconbtn.is-active { color: var(--a24-primary); }
.a24-icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: inherit; font-size: 20px; }
.a24-icon-btn:hover { background: var(--a24-surface-2); }
.a24-scheme-toggle__sun { display: none; }
[data-a24-theme="dark"] .a24-scheme-toggle__sun { display: block; }
[data-a24-theme="dark"] .a24-scheme-toggle__moon { display: none; }

/* Logo */
.a24-logo { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.a24-logo__link { display: inline-flex; align-items: center; gap: 9px; color: var(--a24-text); }
.a24-logo__link:hover { color: var(--a24-text); }
.a24-logo__img { display: block; height: var(--a24-logo-h); width: auto; max-width: 260px; object-fit: contain; }
.a24-logo__img--dark { display: none; }
[data-a24-theme="dark"] .a24-logo.has-dark-logo .a24-logo__img--main { display: none; }
[data-a24-theme="dark"] .a24-logo.has-dark-logo .a24-logo__img--dark { display: block; }
.a24-logo__text { font: 800 calc(var(--a24-logo-h) * .68)/1 var(--a24-font-head); letter-spacing: -.035em; white-space: nowrap; }
.a24-logo__text b { display: inline-block; margin-left: .12em; padding: .1em .2em .12em; border-radius: .2em; background: var(--a24-accent); color: var(--a24-accent-ink); font-weight: 800; letter-spacing: -.02em; }
.a24-logo__tagline { margin-top: 4px; color: var(--a24-muted); font-size: 12px; line-height: 1.2; }
.a24-mark { display: block; width: auto; height: calc(var(--a24-logo-h) * .86); }
.a24-mark__m { fill: var(--a24-primary); }
.a24-mark__s { fill: #fff; opacity: .92; }
.a24-mark__sun { fill: var(--a24-accent); }
.a24-logo--footer .a24-logo__text, .a24-logo--footer .a24-logo__link { color: #fff; }
.a24-logo--footer .a24-mark__m { fill: #fff; }
.a24-logo--footer .a24-mark__s { fill: var(--a24-footer); }

/* Login, user, partner */
.a24-btn--pill { height: 40px; padding: 0 18px; border-radius: 10px; font-size: 14px; font-weight: 600; letter-spacing: 0; }
.a24-btn--pill .a24-icon { font-size: 18px; }
.a24-login { border: 1px solid var(--a24-border); }
.a24-user__btn { display: block; width: 40px; height: 40px; padding: 0; border: 2px solid var(--a24-accent); border-radius: 10px; background: none; overflow: hidden; }
.a24-user__btn .a24-avatar { border-radius: 7px; }
.a24-user__name { display: block; padding: 6px 12px 8px; font-size: 14px; border-bottom: 1px solid var(--a24-border); margin-bottom: 4px; }
.a24-partner { display: inline-flex; align-items: center; margin-left: 8px; padding-left: 14px; border-left: 1px solid var(--a24-border); }
.a24-partner__img { display: block; height: 28px; width: auto; max-width: 150px; object-fit: contain; }
.a24-partner__img--dark { display: none; }
[data-a24-theme="dark"] .a24-partner.has-dark .a24-partner__img { display: none; }
[data-a24-theme="dark"] .a24-partner.has-dark .a24-partner__img--dark { display: block; }

/* Dropdowns */
.a24-dropdown { position: relative; }
.a24-dropdown__menu {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; display: grid; min-width: 220px; max-height: 70vh; overflow-y: auto; padding: 6px;
	border: 1px solid var(--a24-border); border-radius: 14px; background: var(--a24-surface); box-shadow: var(--a24-shadow);
}
.a24-dropdown__menu a, .a24-dropdown__menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: var(--a24-text-2); font-size: 14px; font-weight: 500; text-align: left; }
.a24-dropdown__menu a:hover, .a24-dropdown__menu button:hover { background: var(--a24-surface-2); color: var(--a24-text); }
.a24-dropdown__menu button.is-active { color: var(--a24-primary); font-weight: 600; }
.a24-dropdown__menu button i { width: 9px; height: 9px; border-radius: 50%; background: var(--a24-cat, var(--a24-primary)); }
.a24-dropdown__menu .a24-icon { font-size: 18px; color: var(--a24-muted); }
.a24-dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--a24-accent); box-shadow: 0 0 0 2px var(--a24-surface); }

/* Notification bell */
.a24-bell { position: relative; }
.a24-bell__count {
	position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 6px;
	background: var(--a24-accent); color: var(--a24-accent-ink); font: 800 11px/19px var(--a24-font-body); text-align: center; box-shadow: 0 0 0 2px var(--a24-surface);
}
.a24-bell__panel { position: absolute; top: calc(100% + 8px); right: -8px; z-index: 80; width: min(380px, calc(100vw - 24px)); border: 1px solid var(--a24-border); border-radius: 16px; background: var(--a24-surface); box-shadow: var(--a24-shadow); overflow: hidden; }
.a24-bell__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; font-size: 14px; }
.a24-bell__list { list-style: none; margin: 0; padding: 0 8px; max-height: 360px; overflow-y: auto; }
.a24-bell__list li a { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--a24-text); }
.a24-bell__list li a:hover { background: var(--a24-surface-2); }
.a24-bell__list img { width: 52px; height: 40px; border-radius: 8px; object-fit: cover; background: var(--a24-surface-2); }
.a24-bell__list small { display: block; margin-top: 3px; color: var(--a24-muted); font-size: 12px; font-weight: 400; }
.a24-bell__empty { padding: 18px 16px 22px; color: var(--a24-muted); font-size: 14px; }
.a24-bell__all { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-top: 1px solid var(--a24-border); color: var(--a24-primary); font-size: 14px; font-weight: 600; }
.a24-linkbtn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--a24-primary); font-size: 13px; font-weight: 600; }
.a24-linkbtn:hover { text-decoration: underline; }

/* ==========================================================================
   6. Homepage: main news area
   ========================================================================== */
.a24-home { padding-bottom: 40px; }
.a24-top {
	display: grid; gap: 20px; align-items: start; margin-top: 22px;
	grid-template-columns: minmax(270px, 320px) minmax(0, 1fr) minmax(260px, 300px);
	grid-template-rows: auto 1fr;
	grid-template-areas: "left hero side" "left feed right";
}
.a24-top--no-left { grid-template-columns: minmax(0, 1fr) minmax(260px, 300px); grid-template-areas: "hero side" "feed right"; }
.a24-top__hero { grid-area: hero; min-width: 0; height: 100%; }
.a24-top__side { grid-area: side; min-width: 0; align-self: stretch; }
.a24-top__left { grid-area: left; min-width: 0; align-self: stretch; }
.a24-top__feed { grid-area: feed; min-width: 0; }
.a24-top__right { grid-area: right; min-width: 0; align-self: stretch; }
.a24-top__left .a24-sticky, .a24-top__right .a24-sticky { position: sticky; top: var(--a24-sticky-top); }
.a24-swipe-dots { display: none; }

/* Boxes and box headings: a mountain peak and a gold underline */
.a24-box { padding: 18px 20px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface); }
.a24-box__head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-bottom: 11px; border-bottom: 1px solid var(--a24-border); }
.a24-box__head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 44px; height: 3px; border-radius: 2px; background: var(--a24-accent); }
.a24-box__title { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--a24-text); font: 800 16.5px/1.2 var(--a24-font-head); letter-spacing: -.01em; }
.a24-box__title::before { content: ""; flex: none; width: 14px; height: 11px; background: var(--a24-primary); clip-path: var(--a24-peak); }
.a24-box__more { display: inline-flex; align-items: center; gap: 4px; color: var(--a24-primary); font-size: 13px; font-weight: 700; }
.a24-box__more .a24-icon { font-size: 15px; transition: transform .2s; }
.a24-box__more:hover .a24-icon { transform: translateX(3px); }

/* News list as a timeline: time, rail with a dot, title */
.a24-lines { list-style: none; margin: 0; padding: 0; }
.a24-line { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 22px; padding: 9px 0; font-size: 14.5px; line-height: 1.42; }
.a24-line::before { content: ""; position: absolute; left: 52px; top: 0; bottom: 0; width: 1px; background: var(--a24-border); }
.a24-line:first-child::before { top: 15px; }
.a24-line:last-child::before { bottom: auto; height: 15px; }
.a24-line::after { content: ""; position: absolute; left: 49px; top: 12px; width: 7px; height: 7px; box-sizing: border-box; border: 2px solid var(--a24-primary); border-radius: 50%; background: var(--a24-surface); }
.a24-line__time { padding-top: 1px; color: var(--a24-primary); font: 700 12.5px/1.4 var(--a24-font-head); font-variant-numeric: tabular-nums; white-space: nowrap; }
.a24-line__title { color: var(--a24-text); font-weight: 500; }
.a24-line__title:hover { color: var(--a24-primary); }
.a24-line.is-hot::after { border-color: var(--a24-hot); background: var(--a24-hot); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a24-hot) 22%, transparent); }
.a24-line.is-hot .a24-line__time { color: var(--a24-hot); }
.a24-line.is-hot .a24-line__title { font-weight: 700; }
.a24-newslist .a24-loadmore-wrap { justify-content: flex-start; margin-top: 8px; padding-left: 64px; }
.a24-newslist .a24-linkbtn { font-size: 14px; }
.a24-newslist .a24-linkbtn .a24-icon { font-size: 16px; }
.a24-newslist .a24-linkbtn.is-loading { opacity: .6; pointer-events: none; }

/* Top stories box next to the main story */
.a24-sidebox { display: flex; flex-direction: column; }
.a24-sidebox__swipe { flex: 1; min-width: 0; }
.a24-top__side-track { display: grid; }
.a24-card.a24-card--side { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--a24-border); }
.a24-card--side:first-child { padding-top: 2px; }
.a24-card--side:last-child { padding-bottom: 0; border-bottom: 0; }
.a24-card--side .a24-thumb { aspect-ratio: 1; border-radius: 8px; }
.a24-card--side .a24-card__body { display: grid; gap: 5px; padding: 0; }
.a24-card--side .a24-card__cats { gap: 6px; }
.a24-card--side .a24-kicker { color: var(--a24-cat, var(--a24-primary)); font-size: 10.5px; }
.a24-card--side .a24-card__title { font-size: 14.5px; line-height: 1.34; -webkit-line-clamp: 3; }
.a24-card--side .a24-meta { font-size: 12px; }

/* Feed */
.a24-feedbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; }
.a24-tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--a24-border); border-radius: 12px; background: var(--a24-surface); }
.a24-tab { position: relative; padding: 9px 16px; border: 0; border-radius: 9px; background: none; color: var(--a24-muted); font: 700 14px/1.2 var(--a24-font-head); transition: background .15s, color .15s; }
.a24-tab:hover { color: var(--a24-text); }
.a24-tab.is-active { background: var(--a24-primary); color: var(--a24-primary-ink); }
.a24-feedbox__tools { display: flex; align-items: center; gap: 6px; }
.a24-feedbox__tools .a24-iconbtn { width: 40px; height: 40px; border: 1px solid var(--a24-border); background: var(--a24-surface); font-size: 18px; }
.a24-feedbox.is-loading .a24-feed { opacity: .45; pointer-events: none; transition: opacity .2s; }
.a24-feedbox.is-loading [data-a24-feed-refresh] .a24-icon { animation: a24-spin .8s linear infinite; }
.a24-feed { display: grid; gap: 12px; }
.a24-card.a24-card--feed { display: grid; grid-template-columns: minmax(0, 37%) minmax(0, 1fr); gap: 18px; align-items: start; padding: 14px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface); transition: border-color .15s, box-shadow .15s; }
.a24-card--feed:hover { border-color: var(--a24-border-strong); box-shadow: 0 10px 26px -20px rgba(11, 34, 48, .45); }
.a24-card.a24-card--feed.a24-card--no-thumb { grid-template-columns: minmax(0, 1fr); padding: 18px 20px; }
.a24-card--feed .a24-thumb { aspect-ratio: 4 / 3; border-radius: calc(var(--a24-radius) * .7); }
.a24-card--feed .a24-card__body { display: flex; flex-direction: column; align-self: stretch; min-width: 0; padding: 2px 4px 0 0; }
.a24-feed__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 8px; }
.a24-feed__cat { display: inline-flex; align-items: center; gap: 6px; color: var(--a24-cat, var(--a24-primary)); font: 800 11px/1.2 var(--a24-font-head); text-transform: uppercase; letter-spacing: .07em; }
.a24-feed__cat::before { content: ""; width: 10px; height: 8px; background: currentColor; clip-path: var(--a24-peak); }
.a24-feed__cat:hover { color: var(--a24-cat, var(--a24-primary)); text-decoration: underline; }
.a24-feed__district { display: inline-flex; align-items: center; gap: 4px; color: var(--a24-muted); font-size: 12.5px; font-weight: 600; }
.a24-feed__district .a24-icon { font-size: 14px; color: var(--a24-accent-text); }
.a24-feed__district:hover { color: var(--a24-primary); }
.a24-feed__top .a24-flag { margin-left: auto; }
.a24-card--feed .a24-card__title { margin-bottom: 8px; font-size: clamp(16.5px, 1.4vw, 19px); line-height: 1.32; font-weight: 700; -webkit-line-clamp: 3; }
.a24-card--feed .a24-card__excerpt { margin: 0 0 12px; color: var(--a24-text-2); font-size: 14.5px; line-height: 1.5; -webkit-line-clamp: 2; }
.a24-feed__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.a24-meta--icons { gap: 4px 16px; }
.a24-feed .a24-ad { padding: 12px; border: 1px dashed var(--a24-border-strong); border-radius: var(--a24-radius); background: var(--a24-surface); }

/* Sections below */
.a24-home__section { margin-top: 26px; }
.a24-home__section > .a24-block, .a24-home__section > .a24-html, .a24-home__section > .a24-area, .a24-home__section > .a24-panel { padding: 22px 24px 24px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface); }
.a24-home__section > .a24-block--dark { background: var(--a24-dark); border-color: var(--a24-dark); color: var(--a24-on-dark); }
.a24-block--dark {
	--a24-text: var(--a24-on-dark); --a24-text-2: #c9d6dd; --a24-muted: var(--a24-on-dark-muted);
	--a24-border: rgba(255, 255, 255, .1); --a24-surface-2: rgba(255, 255, 255, .06); --a24-link: #fff;
}
.a24-block--dark a { color: var(--a24-on-dark); }
.a24-block--dark .a24-card:hover .a24-card__title a { color: #fff; }
.a24-home__section > .a24-area--home-middle { padding: 0; border: 0; background: none; }

/* Stories: tall rounded cards with the picture and the title */
.a24-stories { margin-top: 14px; }
.a24-stories__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 6px; scrollbar-width: none; }
.a24-stories__track::-webkit-scrollbar { display: none; }
.a24-story { position: relative; flex: none; width: 96px; height: 136px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--a24-dark-2); color: #fff; text-align: left; scroll-snap-align: start; }
.a24-story__ring { position: absolute; inset: 0; display: block; padding: 0; border-radius: 0; background: none; }
.a24-story__ring img, .a24-story__ph { display: block; width: 100%; height: 100%; border: 0; border-radius: 0; object-fit: cover; background: var(--a24-dark-2); }
.a24-story__ph { display: grid; place-items: center; font-size: 26px; font-weight: 800; }
.a24-story::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, rgba(3, 12, 18, 0) 30%, rgba(3, 12, 18, .88) 100%); box-shadow: inset 0 0 0 2px var(--a24-accent); }
.a24-story.is-seen::after { box-shadow: none; }
.a24-story__title { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: #fff; font: 700 11.5px/1.25 var(--a24-font-head); }
.a24-stories--mobile { display: none; }
/* ==========================================================================
   5. Top bar
   ========================================================================== */
.a24-topbar { background: var(--a24-dark); color: var(--a24-on-dark-muted); font-size: 13px; position: relative; z-index: 60; }
.a24-topbar-accent .a24-topbar { background: var(--a24-primary); color: var(--a24-primary-ink); }

.a24-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.a24-topbar__left, .a24-topbar__right { display: flex; align-items: center; gap: 20px; min-width: 0; }
.a24-topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.a24-topbar__item > .a24-icon { font-size: 15px; opacity: .85; }
.a24-topbar strong, .a24-topbar b { font-weight: 600; color: var(--a24-on-dark); }
.a24-topbar-accent .a24-topbar strong, .a24-topbar-accent .a24-topbar b { color: inherit; }
.a24-topbar a:hover { color: var(--a24-on-dark); }

.a24-topbar__rates { gap: 14px; }
.a24-rate { display: inline-flex; align-items: center; gap: 4px; font-variant-numeric: tabular-nums; }
.a24-rate .a24-icon { font-size: 12px; }
.a24-rate--up .a24-icon { color: #22c55e; }
.a24-rate--down .a24-icon { color: #f43f5e; }

.a24-topbar__menu { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }

/* ==========================================================================
   6. Social icons
   ========================================================================== */
.a24-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.a24-social__link {
	display: inline-grid; place-items: center;
	width: 36px; height: 36px; border-radius: 50%;
	background: var(--a24-surface-2); color: var(--a24-text);
	font-size: 17px; transition: background .15s, color .15s, transform .15s;
}
.a24-social__link:hover { background: var(--a24-primary); color: var(--a24-primary-ink); transform: translateY(-1px); }
.a24-social--topbar { gap: 2px; }
.a24-social--topbar .a24-social__link { width: 28px; height: 28px; font-size: 14px; background: transparent; color: inherit; }
.a24-social--topbar .a24-social__link:hover { background: rgba(255, 255, 255, .12); color: #fff; }


/* Desktop menu */
.a24-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; flex-wrap: wrap; overflow: visible; }
.a24-menu > li { position: relative; display: flex; align-items: stretch; }
.a24-menu > li > a {
	position: relative; display: flex; align-items: center;
	padding: 0 14px; min-height: var(--a24-nav-h);
	font: 700 13.5px/1 var(--a24-font-head);
	text-transform: uppercase; letter-spacing: .035em; white-space: nowrap;
	color: inherit;
}
.a24-menu > li > a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px;
	border-radius: 3px 3px 0 0; background: var(--a24-primary);
	transform: scaleX(0); transform-origin: 0 50%; transition: transform .22s var(--a24-ease);
}
.a24-menu > li:hover > a::after,
.a24-menu > li:focus-within > a::after,
.a24-menu > .current-menu-item > a::after,
.a24-menu > .current-menu-ancestor > a::after,
.a24-menu > .current-category-ancestor > a::after,
.a24-menu > .current-post-ancestor > a::after { transform: scaleX(1); }
.a24-menu > li > a:hover { color: inherit; }

.a24-menu > .menu-item-has-children > a, .a24-menu > .a24-has-mega > a { padding-right: 30px; }
.a24-menu > .menu-item-has-children > a::before, .a24-menu > .a24-has-mega > a::before {
	content: ""; position: absolute; right: 13px; top: 50%;
	width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: translateY(-75%) rotate(45deg); opacity: .55; pointer-events: none;
}

.a24-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px;
	position: absolute; top: 100%; left: 0; z-index: 70; min-width: 236px;
	background: var(--a24-surface); color: var(--a24-text);
	border: 1px solid var(--a24-border); border-radius: var(--a24-radius-sm);
	box-shadow: var(--a24-shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .18s, transform .18s var(--a24-ease), visibility .18s;
}
.a24-menu li:hover > .sub-menu, .a24-menu li:focus-within > .sub-menu, .a24-menu li.is-touch-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.a24-menu .sub-menu li { position: relative; }
.a24-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; color: var(--a24-text-2); }
.a24-menu .sub-menu a:hover, .a24-menu .sub-menu .current-menu-item > a { background: var(--a24-surface-2); color: var(--a24-link); }
.a24-menu .sub-menu .sub-menu { top: -9px; left: calc(100% + 6px); }
.a24-menu .sub-menu .menu-item-has-children > a::after { content: "›"; float: right; opacity: .5; }

/* Mega menu */
.a24-menu > li.a24-has-mega { position: static; }
.a24-mega {
	position: absolute; top: 100%; left: var(--a24-gutter); right: var(--a24-gutter); z-index: 70;
	padding: 22px; background: var(--a24-surface); color: var(--a24-text);
	border: 1px solid var(--a24-border); border-top: 0;
	border-radius: 0 0 var(--a24-radius) var(--a24-radius); box-shadow: var(--a24-shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .2s var(--a24-ease), visibility .2s;
}
.a24-has-mega:hover > .a24-mega, .a24-has-mega:focus-within > .a24-mega, .a24-has-mega.is-touch-open > .a24-mega { opacity: 1; visibility: visible; transform: none; }
.a24-mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.a24-mega .a24-card__title { font-size: 15px; -webkit-line-clamp: 3; }
.a24-mega .a24-card__cats { display: none; }
.a24-mega .a24-card__body { padding-top: 10px; gap: 6px; }


/* ==========================================================================
   9. Ticker
   ========================================================================== */
.a24-ticker-bar { background: var(--a24-bg); border-bottom: 1px solid var(--a24-border); }
.a24-ticker { display: flex; align-items: center; gap: 14px; height: 46px; font-size: 14px; overflow: hidden; }
.a24-ticker__label {
	flex: none; display: inline-flex; align-items: center; gap: 8px;
	height: 28px; padding: 0 12px; border-radius: 6px;
	background: var(--a24-hot); color: #fff;
	font: 800 11.5px/1 var(--a24-font-head); text-transform: uppercase; letter-spacing: .07em;
}
.a24-ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: a24-pulse 1.6s infinite; }
.a24-ticker__viewport {
	flex: 1; min-width: 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 28px, #000 calc(100% - 28px), transparent);
}
.a24-ticker__move { display: flex; width: max-content; animation: a24-marquee var(--a24-ticker-duration, 50s) linear infinite; }
.a24-ticker:hover .a24-ticker__move, .a24-ticker:focus-within .a24-ticker__move, .a24-ticker.is-paused .a24-ticker__move { animation-play-state: paused; }
.a24-ticker__track { display: flex; list-style: none; margin: 0; padding: 0; flex: none; }
.a24-ticker__item { flex: none; position: relative; padding-right: 34px; white-space: nowrap; }
.a24-ticker__item::after {
	content: ""; position: absolute; right: 15px; top: 50%;
	width: 4px; height: 4px; border-radius: 50%; background: var(--a24-border-strong); transform: translateY(-50%);
}
.a24-ticker__item a { font-weight: 600; color: var(--a24-text); }
.a24-ticker__item a:hover { color: var(--a24-link); }
.a24-ticker__item time { margin-right: 8px; color: var(--a24-hot); font-weight: 700; font-variant-numeric: tabular-nums; }
.a24-ticker__pause {
	flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0;
	border: 1px solid var(--a24-border); border-radius: 50%; background: transparent; color: var(--a24-muted);
}
.a24-ticker__pause:hover { color: var(--a24-text); border-color: var(--a24-border-strong); }
.a24-ticker--inline { padding: 0 12px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface); margin-bottom: 24px; }
.a24-ticker__pause span { width: 8px; height: 10px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.a24-ticker.is-paused .a24-ticker__pause span { width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; margin-left: 2px; }

@keyframes a24-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes a24-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .75); }
	70% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ==========================================================================
   10. Badges, chips, buttons
   ========================================================================== */
.a24-cat, .a24-flag {
	display: inline-flex; align-items: center; height: 22px; padding: 0 9px;
	border-radius: 5px; white-space: nowrap;
	font: 700 10.5px/1 var(--a24-font-head); text-transform: uppercase; letter-spacing: .06em;
}
.a24-cat { background: var(--a24-cat, var(--a24-primary)); color: var(--a24-cat-ink, var(--a24-primary-ink)); }
.a24-cat:hover { color: var(--a24-cat-ink, var(--a24-primary-ink)); filter: brightness(1.12); }
.a24-flag--hot { background: var(--a24-hot); color: #fff; }

.a24-chip {
	display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
	border-radius: 99px; background: var(--a24-surface-2); color: var(--a24-text-2);
	font-size: 13px; font-weight: 600; transition: background .15s, color .15s;
}
.a24-chip:hover { background: var(--a24-primary); color: var(--a24-primary-ink); }

.a24-btn, .wp-block-button__link, .comment-form .submit, .post-password-form input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 46px; padding: 0 22px; border: 0; border-radius: 10px;
	background: var(--a24-primary); color: var(--a24-primary-ink);
	font: 700 14px/1 var(--a24-font-head); letter-spacing: .02em; text-decoration: none;
	transition: filter .15s, transform .15s, background .15s, color .15s, border-color .15s;
}
.a24-btn:hover, .wp-block-button__link:hover, .comment-form .submit:hover { color: var(--a24-primary-ink); filter: brightness(1.08); }
.a24-btn:active { transform: translateY(1px); }
.a24-btn--ghost { background: transparent; color: var(--a24-text); border: 1.5px solid var(--a24-border-strong); }
.a24-btn--ghost:hover { color: var(--a24-link); border-color: var(--a24-primary); filter: none; }

.a24-loadmore-wrap { display: flex; justify-content: center; margin-top: 30px; }
.a24-loadmore { min-width: 220px; }
.a24-loadmore.is-loading { pointer-events: none; opacity: .75; }
.a24-loadmore.is-loading .a24-icon { animation: a24-spin .8s linear infinite; }
.a24-fade-in { animation: a24-fade .5s var(--a24-ease) both; }

@keyframes a24-spin { to { transform: rotate(360deg); } }
@keyframes a24-fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   11. Section headings
   ========================================================================== */
.a24-section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
	margin-bottom: 22px; border-bottom: 2px solid var(--a24-border);
}
.a24-section-title {
	display: flex; align-items: center; gap: 10px;
	margin: 0 0 -2px; padding-bottom: 11px;
	border-bottom: 2px solid var(--a24-section, var(--a24-primary));
	font: 800 clamp(17px, 1.5vw, 21px)/1.1 var(--a24-font-head);
	text-transform: uppercase; letter-spacing: .025em;
}
.a24-section-title::before {
	content: ""; flex: none; width: 9px; height: 9px; border-radius: 2px;
	background: var(--a24-section, var(--a24-primary)); transform: rotate(45deg);
}
.a24-section-title a { color: inherit; }
.a24-section-more {
	display: inline-flex; align-items: center; gap: 6px; padding-bottom: 12px;
	font-size: 13px; font-weight: 600; color: var(--a24-muted); white-space: nowrap;
}
.a24-section-more .a24-icon { transition: transform .2s; }
.a24-section-more:hover { color: var(--a24-section, var(--a24-link)); }
.a24-section-more:hover .a24-icon { transform: translateX(3px); }

.a24-band--dark .a24-section-head { border-color: rgba(255, 255, 255, .14); }
.a24-band--dark .a24-section-title { color: #fff; }
.a24-band--dark .a24-section-more { color: var(--a24-on-dark-muted); }
.a24-band--dark .a24-section-more:hover { color: #fff; }

/* ==========================================================================
   12. Cards
   ========================================================================== */
.a24-card { position: relative; display: flex; flex-direction: column; min-width: 0; }

.a24-thumb {
	position: relative; display: block; overflow: hidden; isolation: isolate;
	aspect-ratio: 16 / 9; border-radius: var(--a24-radius); background: var(--a24-surface-2);
}
.a24-thumb__img {
	position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
	transition: transform .6s var(--a24-ease);
}
.a24-card:hover .a24-thumb__img { transform: scale(1.045); }
.a24-thumb__ph {
	position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; color: var(--a24-muted);
	background: linear-gradient(135deg, var(--a24-surface-2), color-mix(in srgb, var(--a24-primary) 16%, var(--a24-surface-2)));
}

.a24-format {
	position: absolute; left: 12px; bottom: 12px; z-index: 3;
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
	background: rgba(8, 12, 20, .6); color: #fff; font-size: 15px;
	border: 1.5px solid rgba(255, 255, 255, .7);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.a24-format--video .a24-icon { margin-left: 2px; }

.a24-card__body { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; min-width: 0; }
.a24-card__cats { display: flex; flex-wrap: wrap; gap: 6px; }

.a24-card__title {
	margin: 0; font: 700 17px/1.32 var(--a24-font-head); letter-spacing: -.01em;
	display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.a24-card__title a {
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
	transition: background-size .35s var(--a24-ease), color .15s;
}
.a24-card:hover .a24-card__title a { color: var(--a24-link); }

.a24-card__excerpt {
	margin: 0; color: var(--a24-muted); font-size: 15px; line-height: 1.55;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.a24-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; font-size: 12.5px; color: var(--a24-muted); }
.a24-meta__item { display: inline-flex; align-items: center; gap: 5px; }
.a24-meta__item .a24-icon { font-size: 14px; opacity: .8; }
.a24-meta__author a { font-weight: 600; color: var(--a24-text-2); }
.a24-meta__author a:hover, .a24-meta__comments:hover { color: var(--a24-link); }

/* Feature */
.a24-card--feature .a24-card__title { font-size: clamp(21px, 2.2vw, 28px); line-height: 1.22; -webkit-line-clamp: 3; }
.a24-card--feature .a24-card__body { gap: 10px; }

/* List */
.a24-list { display: grid; gap: 24px; }
.a24-card--list {
	display: grid; grid-template-columns: minmax(0, 37%) minmax(0, 1fr); gap: 22px; align-items: start;
	padding-bottom: 24px; border-bottom: 1px solid var(--a24-border);
}
.a24-list > .a24-card--list:last-child { padding-bottom: 0; border-bottom: 0; }
.a24-card--list .a24-card__body { padding-top: 2px; }
.a24-card--list .a24-card__title { font-size: 20px; line-height: 1.28; }

/* Overlay */
.a24-card--overlay {
	justify-content: flex-end; min-height: 260px; overflow: hidden; isolation: isolate;
	border-radius: var(--a24-radius); background: var(--a24-dark-2); color: #fff;
}
.a24-card--overlay .a24-thumb { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; background: var(--a24-dark-2); }
.a24-card--overlay .a24-thumb::after {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(5, 8, 15, 0) 28%, rgba(5, 8, 15, .5) 58%, rgba(5, 8, 15, .92) 100%);
}
.a24-card--overlay .a24-thumb__ph { background: linear-gradient(135deg, var(--a24-dark-2), color-mix(in srgb, var(--a24-primary) 45%, var(--a24-dark-2))); color: rgba(255, 255, 255, .3); }
.a24-card--overlay .a24-card__body { position: relative; z-index: 2; padding: 20px; gap: 8px; pointer-events: none; }
.a24-card--overlay .a24-card__body a { pointer-events: auto; }
.a24-card--overlay .a24-card__title { color: #fff; font-size: 18px; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); -webkit-line-clamp: 3; }
.a24-card--overlay .a24-card__title a:hover, .a24-card--overlay:hover .a24-card__title a { color: #fff; }
.a24-card--overlay:hover .a24-card__title a { background-size: 100% 2px; }
.a24-card--overlay .a24-meta { color: rgba(255, 255, 255, .78); }
.a24-card--overlay .a24-meta a { color: #fff; }
.a24-card--overlay .a24-format { left: auto; bottom: auto; top: 14px; right: 14px; }
.a24-card--overlay-lg .a24-card__body { padding: clamp(20px, 3vw, 32px); gap: 12px; }
.a24-card--overlay-lg .a24-card__title { font-size: clamp(24px, 2.8vw, 38px); line-height: 1.14; letter-spacing: -.02em; -webkit-line-clamp: 4; }
.a24-card--overlay-lg .a24-meta { font-size: 13px; }

/* Small */
.a24-small-list { display: grid; gap: 16px; }
.a24-card--small { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 14px; align-items: center; }
.a24-card--small .a24-thumb { aspect-ratio: 4 / 3; border-radius: var(--a24-radius-sm); }
.a24-card--small .a24-card__body { padding: 0; gap: 6px; }
.a24-card--small .a24-card__title { font-size: 14.5px; line-height: 1.36; -webkit-line-clamp: 3; }
.a24-card--small .a24-format { width: 26px; height: 26px; font-size: 10px; left: 6px; bottom: 6px; border-width: 1px; }

/* Numbered */
.a24-numbered { display: grid; }
.a24-card--numbered {
	display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start;
	padding: 14px 0; border-bottom: 1px dashed var(--a24-border-strong);
}
.a24-numbered > .a24-card--numbered:first-child { padding-top: 0; }
.a24-numbered > .a24-card--numbered:last-child { border-bottom: 0; padding-bottom: 0; }
.a24-card__num {
	font: 800 34px/0.95 var(--a24-font-head); letter-spacing: -.04em;
	color: transparent; -webkit-text-stroke: 1.5px var(--a24-primary);
}
.a24-card--numbered .a24-card__body { padding: 0; gap: 6px; }
.a24-card--numbered .a24-card__title { font-size: 15px; line-height: 1.38; -webkit-line-clamp: 3; }

/* Mini */
.a24-mini-list { display: grid; }
.a24-card--mini { padding: 13px 0; border-bottom: 1px solid var(--a24-border); }
.a24-mini-list > .a24-card--mini:first-child { padding-top: 4px; }
.a24-card--mini .a24-card__body { padding: 0; gap: 5px; }
.a24-card--mini .a24-card__title { font-size: 15px; font-weight: 600; line-height: 1.4; -webkit-line-clamp: 3; }
.a24-card--mini .a24-meta { order: -1; }
.a24-card--mini .a24-meta__date { color: var(--a24-primary); font-weight: 700; }
[data-a24-theme="dark"] .a24-card--mini .a24-meta__date { color: var(--a24-link); }

/* ==========================================================================
   13. Block layouts
   ========================================================================== */
.a24-grid { display: grid; gap: 30px 24px; }
.a24-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.a24-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.a24-biglist { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 30px; }
.a24-biglist__side { display: grid; gap: 0; align-content: start; }
.a24-biglist__side .a24-card--small { grid-template-columns: 128px minmax(0, 1fr); padding: 14px 0; border-bottom: 1px solid var(--a24-border); }
.a24-biglist__side .a24-card--small:first-child { padding-top: 0; }
.a24-biglist__side .a24-card--small:last-child { border-bottom: 0; padding-bottom: 0; }
.a24-biglist__side .a24-card--small .a24-card__title { font-size: 15.5px; }

.a24-overlay-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.a24-overlay-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.a24-overlay-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a24-overlay-row--1 { grid-template-columns: 1fr; }
.a24-overlay-row .a24-card--overlay { min-height: 380px; }

.a24-carousel { position: relative; }
.a24-carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; padding-bottom: 2px;
}
.a24-carousel__track::-webkit-scrollbar { display: none; }
.a24-carousel__track > .a24-card { scroll-snap-align: start; }
.a24-carousel__btn {
	position: absolute; top: calc((100% - 120px) / 2); z-index: 5; transform: translateY(-50%);
	display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
	border: 1px solid var(--a24-border); border-radius: 50%;
	background: var(--a24-surface); color: var(--a24-text); font-size: 18px; box-shadow: var(--a24-shadow);
	transition: opacity .2s, background .15s, color .15s;
}
.a24-carousel__btn:hover { background: var(--a24-primary); color: var(--a24-primary-ink); border-color: var(--a24-primary); }
.a24-carousel__btn--prev { left: -16px; }
.a24-carousel__btn--next { right: -16px; }
.a24-carousel__btn[disabled] { opacity: 0; pointer-events: none; }

.a24-trending {
	display: flex; align-items: stretch; gap: 22px; padding: 18px 22px;
	border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface);
}
.a24-trending__label {
	flex: none; display: flex; flex-direction: column; justify-content: center; gap: 6px;
	padding-right: 22px; border-right: 1px solid var(--a24-border);
	font: 800 13px/1.1 var(--a24-font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--a24-hot);
}
.a24-trending__label .a24-icon { font-size: 28px; }
.a24-trending__list { flex: 1; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.a24-trending .a24-card--numbered { border: 0; padding: 0; }
.a24-trending .a24-card__num { font-size: 30px; }

/* Hero: mosaic */
.a24-hero--mosaic { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; height: clamp(460px, 44vw, 600px); }
.a24-hero__main, .a24-hero__side { min-height: 0; }
.a24-hero__main > .a24-card { height: 100%; }
.a24-hero__side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.a24-hero__side > .a24-card { min-height: 0; height: 100%; }
.a24-hero__side .a24-card__title { font-size: 16px; }
.a24-hero__side .a24-card__body { padding: 16px; }
.a24-hero--count-1 { grid-template-columns: 1fr; }
.a24-hero--count-2 .a24-hero__side { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.a24-hero--count-3 .a24-hero__side { grid-template-columns: 1fr; }
.a24-hero--count-4 .a24-hero__side > .a24-card:first-child { grid-column: span 2; }

/* Hero: split */
.a24-hero--split { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); gap: 24px; }
.a24-hero--split .a24-hero__main > .a24-card { min-height: 540px; }
.a24-hero__aside {
	display: flex; flex-direction: column; min-width: 0;
	padding: 18px 22px 8px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface);
}
.a24-hero__aside-title {
	display: flex; align-items: center; gap: 8px; padding-bottom: 12px; margin-bottom: 4px;
	border-bottom: 2px solid var(--a24-text);
	font: 800 14px/1 var(--a24-font-head); text-transform: uppercase; letter-spacing: .05em;
}
.a24-hero__aside-title .a24-icon { color: var(--a24-hot); }
.a24-hero__aside .a24-card--mini:last-child { border-bottom: 0; }

/* Hero: slider */
.a24-slider { position: relative; }
.a24-slider__slides { position: relative; height: clamp(420px, 42vw, 580px); border-radius: var(--a24-radius); overflow: hidden; background: var(--a24-dark-2); }
.a24-slider__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.a24-slider__slide.is-active { opacity: 1; visibility: visible; }
.a24-slider__slide > .a24-card { height: 100%; border-radius: 0; }
.a24-slider__slide.is-active .a24-thumb__img { animation: a24-kenburns 9s ease-out both; }
.a24-slider__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 18px; margin-top: 16px; }
.a24-slider__tab {
	display: flex; flex-direction: column; gap: 10px; padding: 0; text-align: left;
	border: 0; background: none; color: var(--a24-muted);
	font: 600 14px/1.38 var(--a24-font-head);
}
.a24-slider__tab:hover, .a24-slider__tab.is-active { color: var(--a24-text); }
.a24-slider__bar { display: block; height: 3px; border-radius: 3px; background: var(--a24-border); overflow: hidden; }
.a24-slider__bar span { display: block; width: 0; height: 100%; background: var(--a24-primary); }
.a24-slider__tab.is-done .a24-slider__bar span { width: 100%; background: var(--a24-border-strong); }
.a24-slider__tab.is-active .a24-slider__bar span { animation: a24-progress var(--a24-slide-ms, 6500ms) linear forwards; }
.a24-slider.is-paused .a24-slider__tab.is-active .a24-slider__bar span, .a24-slider.is-offscreen .a24-slider__tab.is-active .a24-slider__bar span { animation-play-state: paused; }
.a24-slider__tab-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

@keyframes a24-kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes a24-progress { from { width: 0; } to { width: 100%; } }

/* Video block */
.a24-video-block { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 26px; }
.a24-video-block__main > .a24-card { min-height: 460px; height: 100%; }
.a24-video-block__main .a24-format { top: 50%; left: 50%; right: auto; width: 76px; height: 76px; font-size: 26px; transform: translate(-50%, -50%); border-width: 2px; transition: transform .25s var(--a24-ease), background .2s; }
.a24-video-block__main .a24-card:hover .a24-format { transform: translate(-50%, -50%) scale(1.08); background: var(--a24-hot); border-color: var(--a24-hot); }
.a24-video-block__side { display: grid; gap: 18px; align-content: start; }
.a24-video-block__side .a24-card--small { grid-template-columns: 136px minmax(0, 1fr); }
.a24-band--dark .a24-card--small .a24-card__title, .a24-band--dark .a24-card--small .a24-card__title a { color: #fff; }
.a24-band--dark .a24-card--small:hover .a24-card__title a { color: color-mix(in srgb, var(--a24-primary) 55%, #fff); }
.a24-band--dark .a24-meta { color: var(--a24-on-dark-muted); }
.a24-band--dark .a24-thumb { background: var(--a24-dark-2); }

/* Container queries: blocks adapt to the space they get (main column,
   sidebar, Elementor column…) */
@container (max-width: 1060px) {
	.a24-grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.a24-carousel__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
	.a24-mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 900px) {
	.a24-hero--mosaic { grid-template-columns: 1fr; height: auto; }
	.a24-hero--mosaic .a24-hero__main > .a24-card { min-height: 440px; }
	.a24-hero__side { grid-template-rows: none; grid-auto-rows: 230px; }
	.a24-hero--split, .a24-video-block { grid-template-columns: 1fr; }
	.a24-hero--split .a24-hero__main > .a24-card { min-height: 420px; }
	.a24-video-block__main > .a24-card { min-height: 380px; }
	.a24-trending { flex-direction: column; gap: 16px; }
	.a24-trending__label { flex-direction: row; align-items: center; padding: 0; border: 0; }
	.a24-trending__label .a24-icon { font-size: 20px; }
	.a24-trending__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.a24-overlay-row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@container (max-width: 820px) {
	.a24-grid--4, .a24-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.a24-overlay-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.a24-overlay-row--1 { grid-template-columns: 1fr; }
	.a24-overlay-row .a24-card--overlay { min-height: 320px; }
	.a24-biglist { grid-template-columns: 1fr; }
	.a24-carousel__track { grid-auto-columns: calc((100% - 24px) / 2); }
}
@container (max-width: 640px) {
	.a24-card--list .a24-card__title { font-size: 17px; }
	.a24-card--list .a24-card__excerpt { -webkit-line-clamp: 2; }
	.a24-slider__tab-title { display: none; }
	.a24-slider__tabs { gap: 8px; }
}
@container (max-width: 560px) {
	.a24-grid--4, .a24-grid--3, .a24-overlay-row, .a24-overlay-row--4 { grid-template-columns: 1fr; }
	.a24-overlay-row .a24-card--overlay { min-height: 280px; }
	.a24-hero__side { grid-template-columns: 1fr; grid-auto-rows: 220px; }
	.a24-hero--count-4 .a24-hero__side > .a24-card:first-child { grid-column: auto; }
	.a24-trending__list { grid-template-columns: 1fr; }
	.a24-card--list { grid-template-columns: 1fr; gap: 14px; }
	.a24-carousel__track { grid-auto-columns: 78%; gap: 16px; }
	.a24-carousel__btn { display: none; }
	.a24-video-block__side .a24-card--small, .a24-biglist__side .a24-card--small { grid-template-columns: 112px minmax(0, 1fr); }
}
@container (max-width: 380px) {
	.a24-grid--4, .a24-grid--3 { gap: 22px; }
	.a24-card--small { grid-template-columns: 84px minmax(0, 1fr); }
}


/* ==========================================================================
   14. Breadcrumbs, archive header, pagination
   ========================================================================== */
.a24-breadcrumbs { margin-bottom: 16px; font-size: 13px; color: var(--a24-muted); }
.a24-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.a24-breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.a24-breadcrumbs li:not(:last-child)::after { content: "/"; opacity: .45; }
.a24-breadcrumbs li:last-child span { max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a24-breadcrumbs a:hover { color: var(--a24-link); }

.a24-archive-head { padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid var(--a24-border); }
.a24-archive-head.has-color { border-bottom: 3px solid var(--a24-cat); }
.a24-archive-head__kicker {
	display: inline-block; margin-bottom: 8px;
	font: 800 12px/1 var(--a24-font-head); text-transform: uppercase; letter-spacing: .09em;
	color: var(--a24-cat, var(--a24-primary));
}
.a24-archive-head__title { margin: 0 0 10px; font: 800 clamp(28px, 3.4vw, 44px)/1.1 var(--a24-font-head); letter-spacing: -.025em; }
.a24-archive-head__desc { max-width: 780px; color: var(--a24-text-2); }
.a24-archive-head__desc p:last-child { margin-bottom: 0; }
.a24-archive-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 10px; font-size: 13px; color: var(--a24-muted); }
.a24-archive-head__rss { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; color: #f26522; }
.a24-archive-head__subcats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.a24-archive-head__author { display: flex; align-items: center; gap: 22px; }
.a24-archive-head__avatar { border-radius: 50%; flex: none; }
.a24-archive-head__search { max-width: 560px; margin-top: 18px; }

.a24-pagination { margin-top: 40px; }
.a24-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.a24-pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
	border: 1px solid var(--a24-border); border-radius: 10px;
	font-size: 14px; font-weight: 600; color: var(--a24-text);
}
.a24-pagination a.page-numbers:hover { border-color: var(--a24-primary); color: var(--a24-link); }
.a24-pagination .page-numbers.current { background: var(--a24-primary); border-color: var(--a24-primary); color: var(--a24-primary-ink); }
.a24-pagination .page-numbers.dots { border: 0; min-width: 24px; }


/* Share */
.a24-share { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.a24-share__label { display: inline-flex; align-items: center; gap: 7px; font: 800 12px/1 var(--a24-font-head); text-transform: uppercase; letter-spacing: .07em; color: var(--a24-muted); }
.a24-share--top .a24-share__label { display: none; }
.a24-share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.a24-share__btn {
	--net: #687386;
	display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px;
	border: 0; border-radius: 9px; background: var(--net); color: #fff;
	font-size: 13px; font-weight: 600; transition: filter .15s, transform .15s;
}
.a24-share__btn .a24-icon { font-size: 16px; }
.a24-share__btn:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.a24-share__btn--facebook { --net: #1877f2; }
.a24-share__btn--x { --net: #0f1419; }
.a24-share__btn--telegram { --net: #229ed9; }
.a24-share__btn--whatsapp { --net: #1fb855; }
.a24-share__btn--vk { --net: #0077ff; }
.a24-share__btn--linkedin { --net: #0a66c2; }
.a24-share__btn--email { --net: #5b6576; }
.a24-share__btn--copy, .a24-share__btn--native { background: var(--a24-surface-2); color: var(--a24-text); }
.a24-share__btn--copy:hover, .a24-share__btn--native:hover { color: var(--a24-text); }
.a24-share__btn.is-copied { background: #16a34a; color: #fff; }
.a24-share--top .a24-share__btn { width: 38px; padding: 0; justify-content: center; }
.a24-share--top .a24-share__btn span { display: none; }
[data-a24-theme="dark"] .a24-share__btn--x { --net: #2a3446; }

/* Prose */
.a24-prose {
	font-family: var(--a24-font-article); font-size: var(--a24-prose-size); line-height: 1.75;
	color: var(--a24-text-2);
}
.a24-prose::after { content: ""; display: table; clear: both; }
.a24-prose > * { margin-top: 0; margin-bottom: 1.15em; }
.a24-prose > *:last-child { margin-bottom: 0; }
.a24-prose h2, .a24-prose h3, .a24-prose h4, .a24-prose h5, .a24-prose h6 { margin-top: 1.7em; margin-bottom: .6em; color: var(--a24-text); }
.a24-prose h2 { font-size: 1.5em; }
.a24-prose h3 { font-size: 1.28em; }
.a24-prose h4 { font-size: 1.12em; }
.a24-prose a { color: var(--a24-link); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.a24-prose a:hover { text-decoration-thickness: 2px; }
.a24-prose strong { color: var(--a24-text); }
.a24-prose ul, .a24-prose ol { padding-left: 1.35em; }
.a24-prose li { margin-bottom: .45em; }
.a24-prose li::marker { color: var(--a24-primary); font-weight: 700; }
.a24-prose img { height: auto; border-radius: var(--a24-radius-sm); }
.a24-prose figure { margin-left: 0; margin-right: 0; }
.a24-prose figcaption, .a24-prose .wp-caption-text { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--a24-muted); text-align: center; }
.a24-prose blockquote, .a24-prose .wp-block-quote {
	position: relative; margin: 1.7em 0; padding: 22px 24px 22px 70px; border: 0; border-radius: var(--a24-radius);
	background: var(--a24-surface-2); font-family: var(--a24-font-title); font-size: 1.1em; font-style: italic; line-height: 1.55; color: var(--a24-text);
}
.a24-prose blockquote::before, .a24-prose .wp-block-quote::before { content: "\201C"; position: absolute; left: 20px; top: 14px; color: var(--a24-accent); font: 700 66px/1 var(--a24-font-title); font-style: normal; }
.a24-prose blockquote p:last-child { margin-bottom: 0; }
.a24-prose blockquote cite, .a24-prose .wp-block-quote cite { display: block; margin-top: 10px; font-size: .78em; font-style: normal; font-weight: 600; color: var(--a24-muted); }
.a24-prose .wp-block-pullquote { padding: 28px 0; border-top: 4px solid var(--a24-text); border-bottom: 4px solid var(--a24-text); text-align: center; }
.a24-prose .wp-block-pullquote blockquote { border: 0; padding: 0; margin: 0; font: 700 1.35em/1.4 var(--a24-font-head); font-style: normal; }
.a24-prose table { width: 100%; border-collapse: collapse; font-size: .9em; }
.a24-prose th, .a24-prose td { padding: 10px 12px; border: 1px solid var(--a24-border); text-align: left; vertical-align: top; }
.a24-prose th, .a24-prose thead td { background: var(--a24-surface-2); color: var(--a24-text); }
.a24-prose pre { overflow: auto; padding: 16px 18px; border-radius: var(--a24-radius-sm); background: var(--a24-dark); color: #e6eaf2; font-size: .84em; }
.a24-prose code { padding: 2px 6px; border-radius: 4px; background: var(--a24-surface-2); font-size: .88em; }
.a24-prose pre code { padding: 0; background: none; }
.a24-prose hr, .a24-prose .wp-block-separator { height: 1px; margin: 2em 0; border: 0; background: var(--a24-border); }
.a24-prose iframe { max-width: 100%; }
.a24-prose .wp-block-embed__wrapper { position: relative; }
.a24-prose .alignleft { float: left; max-width: 50%; margin: .35em 1.5em 1em 0; }
.a24-prose .alignright { float: right; max-width: 50%; margin: .35em 0 1em 1.5em; }
.a24-prose .aligncenter { margin-left: auto; margin-right: auto; display: block; }
.a24-main--narrow .a24-prose .alignwide { margin-inline: calc(-1 * min(110px, 6vw)); max-width: none; }
.a24-main--narrow .a24-prose .alignfull, .a24-prose--fullwidth .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.a24-prose .wp-block-image img { border-radius: var(--a24-radius-sm); }
.a24-prose .wp-block-gallery { gap: 10px; }
.a24-prose .has-drop-cap:not(:focus)::first-letter, .a24-dropcap .a24-article .a24-prose > p:first-of-type::first-letter {
	float: left; margin: .06em .12em 0 0; color: var(--a24-primary);
	font: 800 4.1em/.82 var(--a24-font-head);
}
.a24-prose--fullwidth { max-width: none; font-size: inherit; }

.a24-inline-related {
	display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 3px 14px; padding: 14px 18px !important; margin: 1.6em 0 !important;
	border-left: 4px solid var(--a24-primary); border-radius: 0 var(--a24-radius-sm) var(--a24-radius-sm) 0;
	background: var(--a24-surface-2); font: 700 16px/1.38 var(--a24-font-head); color: var(--a24-text);
}
.a24-inline-related--thumb { grid-template-columns: 76px minmax(0, 1fr); }
.a24-inline-related__label, .a24c-inline-related__label { align-self: end; font-size: 11px; font-weight: 800; line-height: 1.4; text-transform: uppercase; letter-spacing: .07em; color: var(--a24-primary); }
.a24-prose .a24-inline-related a { align-self: start; color: var(--a24-text); text-decoration: none; }
.a24-prose .a24-inline-related a:hover { color: var(--a24-link); }
.a24-inline-related img { grid-row: span 2; width: 76px; height: 57px; margin: 0 !important; object-fit: cover; border-radius: 6px; }

.a24-page-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 24px; font-weight: 600; }
.a24-page-links .post-page-numbers { display: inline-grid; place-items: center; min-width: 36px; height: 36px; border: 1px solid var(--a24-border); border-radius: 8px; text-decoration: none; }
.a24-page-links .current { background: var(--a24-primary); color: var(--a24-primary-ink); border-color: var(--a24-primary); }

/* Author box & post navigation */
.a24-author-box { display: flex; gap: 18px; margin-top: 34px; padding: 22px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface); }
.a24-author-box__avatar { width: 76px; height: 76px; border-radius: 50%; flex: none; }
.a24-author-box__body { min-width: 0; }
.a24-author-box__label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--a24-muted); }
.a24-author-box__name { margin: 2px 0 6px; font-size: 19px; }
.a24-author-box__bio { margin: 0 0 10px; font-size: 15px; color: var(--a24-text-2); }
.a24-author-box__links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; font-weight: 600; }
.a24-author-box__links a { display: inline-flex; align-items: center; gap: 5px; color: var(--a24-link); }

.a24-postnav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.a24-postnav__item { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface); transition: border-color .15s; }
.a24-postnav__item:hover { border-color: var(--a24-primary); color: inherit; }
.a24-postnav__item--next { flex-direction: row-reverse; text-align: right; }
.a24-postnav__item--empty { border: 0; background: none; }
.a24-postnav__img { width: 72px; height: 72px; flex: none; object-fit: cover; border-radius: var(--a24-radius-sm); }
.a24-postnav__text { min-width: 0; }
.a24-postnav__label { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--a24-muted); }
.a24-postnav__title { font: 700 15px/1.35 var(--a24-font-head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.a24-related { margin-top: 44px; }


/* ==========================================================================
   16. Comments & forms
   ========================================================================== */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], input[type="date"], select, textarea {
	width: 100%; height: 46px; padding: 0 14px;
	border: 1.5px solid var(--a24-border); border-radius: 10px;
	background: var(--a24-surface); color: var(--a24-text); font-size: 15px;
	transition: border-color .15s, box-shadow .15s;
}
textarea { height: auto; min-height: 140px; padding: 12px 14px; line-height: 1.55; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--a24-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--a24-primary) 20%, transparent); }
::placeholder { color: var(--a24-muted); opacity: 1; }

.a24-searchform { position: relative; display: flex; }
.a24-searchform .a24-searchform__input { padding-right: 52px; }
.a24-searchform__btn {
	position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	display: grid; place-items: center; width: 38px; height: 38px; padding: 0;
	border: 0; border-radius: 8px; background: var(--a24-primary); color: var(--a24-primary-ink); font-size: 17px;
}

.a24-comments { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--a24-border); }
.a24-comments__title { font-size: 22px; }
.a24-comments__list, .a24-comments__list .children { list-style: none; margin: 0; padding: 0; }
.a24-comments__list .children { padding-left: 32px; }
.a24-comments .comment-body { position: relative; padding: 18px 0 18px 62px; border-bottom: 1px solid var(--a24-border); }
.a24-comments .comment-body .avatar { position: absolute; left: 0; top: 18px; border-radius: 50%; }
.a24-comments .comment-meta { font-size: 13px; color: var(--a24-muted); }
.a24-comments .comment-author .fn { font-size: 15px; font-style: normal; font-weight: 700; color: var(--a24-text); }
.a24-comments .says { display: none; }
.a24-comments .comment-metadata a { color: var(--a24-muted); }
.a24-comments .comment-content { margin-top: 8px; font-size: 15.5px; }
.a24-comments .comment-content p { margin-bottom: .6em; }
.a24-comments .reply a { font-size: 13px; font-weight: 700; color: var(--a24-link); }
.a24-comments .comment-respond { margin-top: 28px; }
.a24-comments .comment-form { display: grid; gap: 14px; }
.a24-comments .comment-form p { margin: 0; }
.a24-comments .comment-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; }
.a24-comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; }
.a24-comments .comment-form-cookies-consent label { margin: 0; font-weight: 400; }
.a24-comments .comment-notes, .a24-comments .logged-in-as { font-size: 13px; color: var(--a24-muted); }
.a24-comments__closed { color: var(--a24-muted); }
.comment-navigation, .comments-pagination { display: flex; justify-content: space-between; margin: 18px 0; font-weight: 600; }

/* ==========================================================================
   17. Widgets (core + Alatau24 Core)
   ========================================================================== */
.a24-widget { min-width: 0; }
.a24-widget__title {
	display: flex; align-items: center; gap: 10px; margin: 0 0 18px;
	font: 800 15px/1.2 var(--a24-font-head); text-transform: uppercase; letter-spacing: .045em;
}
.a24-widget__title::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 1px; background: var(--a24-primary); transform: rotate(45deg); }
.a24-widget__title::after { content: ""; flex: 1; height: 2px; background: var(--a24-border); }
.a24-widget__title span { flex: none; max-width: 80%; }
.a24-widget > ul, .a24-widget .wp-block-latest-posts, .a24-widget .wp-block-categories, .a24-widget .wp-block-archives, .a24-widget .wp-block-page-list, .a24-widget .menu { list-style: none; margin: 0; padding: 0; }
.a24-widget > ul > li, .a24-widget .wp-block-latest-posts > li, .a24-widget .wp-block-categories > li, .a24-widget .wp-block-archives > li, .a24-widget .menu > li { padding: 9px 0; border-bottom: 1px solid var(--a24-border); }
.a24-widget > ul > li:last-child, .a24-widget .menu > li:last-child { border-bottom: 0; }
.a24-widget > ul.a24c-social-buttons > li, .a24-widget > ul.a24c-comments > li, .a24-widget > ul.a24-social > li { padding: 0; border: 0; }
.a24-widget .children, .a24-widget .sub-menu { list-style: none; padding-left: 14px; margin-top: 6px; }
.a24-widget .tagcloud, .a24-widget .wp-block-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.a24-widget .tag-cloud-link { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 99px; background: var(--a24-surface-2); font-size: 13px !important; font-weight: 600; }
.a24-widget .tag-cloud-link:hover { background: var(--a24-primary); color: var(--a24-primary-ink); }
.a24-widget img { border-radius: 6px; }
.a24-widget .wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.a24-widget .wp-block-search__button { height: 46px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--a24-primary); color: var(--a24-primary-ink); font-weight: 700; }

/* Tabs */
.a24c-tabs__nav { display: flex; gap: 4px; padding: 4px; margin-bottom: 16px; border-radius: 10px; background: var(--a24-surface-2); }
.a24c-tabs__btn { flex: 1; padding: 9px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--a24-muted); font: 700 13px/1 var(--a24-font-head); text-transform: none; letter-spacing: 0; }
.a24c-tabs__btn:hover { color: var(--a24-text); }
.a24c-tabs__btn.is-active { background: var(--a24-primary); color: var(--a24-primary-ink); box-shadow: none; }
.a24c-tabs__panel[hidden] { display: none; }
.a24c-comments { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.a24c-comments li { display: flex; gap: 12px; font-size: 14px; line-height: 1.45; }
.a24c-comments img { border-radius: 50%; flex: none; }
.a24c-comments p { margin: 4px 0 0; color: var(--a24-muted); font-size: 13.5px; }
.a24c-comments a { font-weight: 700; }

/* Rates */
.a24c-rates__table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; font-variant-numeric: tabular-nums; }
.a24c-rates__cur { display: flex; align-items: center; gap: 10px; min-width: 0; }
.a24c-rates__cur .a24c-rates__code { flex: none; margin-right: 0; }
.a24c-rates__cur .a24c-rates__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a24c-rates__table th, .a24c-rates__table td { padding: 10px 0; border-bottom: 1px solid var(--a24-border); text-align: left; }
.a24c-rates__table tr:last-child th, .a24c-rates__table tr:last-child td { border-bottom: 0; }
.a24c-rates__code { display: inline-grid; place-items: center; min-width: 46px; height: 26px; margin-right: 10px; border-radius: 6px; background: var(--a24-surface-2); font: 800 12px/1 var(--a24-font-head); letter-spacing: .04em; }
.a24c-rates__name { color: var(--a24-muted); font-size: 12.5px; font-weight: 400; }
.a24c-rates__value { width: 92px; text-align: right !important; font-weight: 700; color: var(--a24-text); white-space: nowrap; }
.a24c-rates__change { width: 66px; text-align: right !important; font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.a24c-up { color: #16a34a; }
.a24c-down { color: #e11d48; }
.a24c-rates__note { margin: 10px 0 0; font-size: 12px; color: var(--a24-muted); }

/* Weather */
.a24c-weather { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: var(--a24-radius); color: #fff; background: linear-gradient(135deg, #1d4ed8, #0ea5e9); }
.a24c-weather.is-night { background: linear-gradient(135deg, #0f172a, #334155); }
.a24c-weather__main { display: flex; align-items: center; gap: 8px; }
.a24c-weather__icon { font-size: 44px; line-height: 1; display: inline-flex; }
.a24c-weather__temp { font: 800 38px/1 var(--a24-font-head); letter-spacing: -.03em; }
.a24c-weather__info { display: grid; gap: 2px; font-size: 13.5px; opacity: .92; }
.a24c-weather__city { font: 700 16px/1.2 var(--a24-font-head); opacity: 1; }

/* Subscribe */
.a24c-subscribe { padding: 22px; border-radius: var(--a24-radius); background: var(--a24-dark-2); color: var(--a24-on-dark); position: relative; overflow: hidden; }
.a24c-subscribe::before { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--a24-primary) 55%, transparent), transparent 70%); }
.a24c-subscribe__text { position: relative; margin: 0 0 14px; font-size: 14.5px; color: var(--a24-on-dark); }
.a24c-subscribe__form { position: relative; display: grid; gap: 10px; }
.a24c-subscribe__form input[type="email"], .a24c-subscribe__form input[type="text"] { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: #fff; }
.a24c-subscribe__form button { width: 100%; }
.a24c-subscribe__privacy { position: relative; margin: 10px 0 0; font-size: 12px; color: var(--a24-on-dark-muted); }
.a24c-subscribe__msg { position: relative; margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 600; }
.a24c-subscribe__msg.a24c-ok { background: rgba(22, 163, 74, .2); color: #86efac; }
.a24c-subscribe__msg.a24c-error { background: rgba(225, 29, 72, .2); color: #fda4af; }
.a24c-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* Social buttons */
.a24c-social-buttons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.a24c-social-btn { --net: var(--a24-primary); display: flex; align-items: center; gap: 8px; min-width: 0; padding: 10px 11px; border-radius: 9px; background: var(--net); color: #fff; font-size: 13px; font-weight: 700; transition: filter .15s, transform .15s; }
.a24c-social-btn__name { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.a24c-social-btn:hover { color: #fff; filter: brightness(1.1); transform: translateY(-1px); }
.a24c-social-btn__icon { display: inline-flex; font-size: 18px; }
.a24c-social-btn__count { flex: none; margin-left: auto; opacity: .85; font-weight: 600; }
.a24c-social-btn--facebook { --net: #1877f2; }
.a24c-social-btn--instagram { --net: #d62976; }
.a24c-social-btn--telegram { --net: #229ed9; }
.a24c-social-btn--whatsapp { --net: #1fb855; }
.a24c-social-btn--youtube { --net: #ff0000; }
.a24c-social-btn--tiktok { --net: #111111; }
.a24c-social-btn--x { --net: #0f1419; }
.a24c-social-btn--vk { --net: #0077ff; }
.a24c-social-btn--linkedin { --net: #0a66c2; }
.a24c-social-btn--rss { --net: #f26522; }

/* Banner */
.a24c-banner { display: flex; flex-direction: column; align-items: center; }
.a24c-banner img { display: block; max-width: 100%; height: auto; border-radius: 8px; }
.a24c-banner__label { display: block; margin-bottom: 4px; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--a24-muted); text-align: center; }
@media (max-width: 767px) { .a24c-hide-mobile { display: none !important; } }
@media (min-width: 768px) { .a24c-hide-desktop { display: none !important; } }

/* ==========================================================================
   18. Footer
   ========================================================================== */
.a24-footer { background: var(--a24-dark); color: var(--a24-on-dark-muted); font-size: 14.5px; }
.a24-home { padding-bottom: 20px; }
.a24-footer__top { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(0, 3fr); gap: 56px; padding-block: 60px 44px; }
.a24-footer__top--brand-only { grid-template-columns: 1fr; }
.a24-footer__about { max-width: 340px; margin: 16px 0 20px; line-height: 1.65; }
.a24-footer__widgets { display: grid; gap: 36px; }
.a24-footer__widgets--1 { grid-template-columns: 1fr; }
.a24-footer__widgets--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a24-footer__widgets--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a24-footer__widgets--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.a24-footer__col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-content: start; min-width: 0; }
.a24-footer a { color: var(--a24-on-dark); }
.a24-footer a:hover { color: #fff; }
.a24-footer .a24-widget__title { color: #fff; }
.a24-footer .a24-widget__title::after { background: var(--a24-accent); }
.a24-footer .a24-widget > ul > li, .a24-footer .a24-widget .menu > li { border-color: rgba(255, 255, 255, .08); }
.a24-footer .a24-logo__text { color: #fff; }
.a24-footer .a24-card__title, .a24-footer .a24-card__title a { color: #fff; }
.a24-footer .a24-meta { color: var(--a24-on-dark-muted); }
.a24-footer .a24-card--mini, .a24-footer .a24-card--numbered { border-color: rgba(255, 255, 255, .1); }
.a24-footer .a24-card--mini .a24-meta__date { color: color-mix(in srgb, var(--a24-primary) 50%, #fff); }
.a24-footer .a24-thumb { background: var(--a24-dark-2); }
.a24-social--footer .a24-social__link { background: rgba(255, 255, 255, .08); color: #fff; }
.a24-social--footer .a24-social__link:hover { background: var(--a24-primary); color: var(--a24-primary-ink); }
.a24-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.a24-footer__copy { margin: 0; }
.a24-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px; }



/* ==========================================================================
   19. Off-canvas, search overlay, progress, back to top
   ========================================================================== */
.a24-offcanvas, .a24-search { position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none; }
.a24-offcanvas.is-open, .a24-search.is-open { visibility: visible; pointer-events: auto; }
.a24-offcanvas__overlay, .a24-search__overlay { position: absolute; inset: 0; background: rgba(5, 8, 15, .55); opacity: 0; transition: opacity .28s; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.a24-offcanvas.is-open .a24-offcanvas__overlay, .a24-search.is-open .a24-search__overlay { opacity: 1; }

.a24-offcanvas__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw);
	display: flex; flex-direction: column; gap: 22px; overflow-y: auto; overscroll-behavior: contain;
	padding: 16px 22px 30px; background: var(--a24-bg); color: var(--a24-text);
	box-shadow: 20px 0 50px -20px rgba(0, 0, 0, .5);
	transform: translateX(-102%); transition: transform .32s var(--a24-ease);
}
.a24-offcanvas.is-open .a24-offcanvas__panel { transform: none; }
.a24-offcanvas__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.a24-offcanvas__close { margin-right: -8px; }

.a24-mobile-menu, .a24-mobile-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.a24-mobile-menu > li { position: relative; border-bottom: 1px solid var(--a24-border); }
.a24-mobile-menu li { position: relative; }
.a24-mobile-menu a { display: block; padding: 13px 46px 13px 0; font: 700 16px/1.3 var(--a24-font-head); }
.a24-mobile-menu .current-menu-item > a { color: var(--a24-link); }
.a24-mobile-menu .sub-menu { display: none; padding: 0 0 10px 14px; }
.a24-mobile-menu .sub-menu a { padding-block: 9px; font-size: 15px; font-weight: 500; color: var(--a24-text-2); }
.a24-mobile-menu .is-open > .sub-menu { display: block; }
.a24-submenu-toggle {
	position: absolute; right: 0; top: 7px; display: grid; place-items: center;
	width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px;
	background: var(--a24-surface-2); color: var(--a24-text); font-size: 16px;
}
.a24-submenu-toggle .a24-icon { transition: transform .2s; }
.is-open > .a24-submenu-toggle .a24-icon { transform: rotate(180deg); }
.a24-offcanvas__widgets { display: grid; gap: 28px; }

.a24-search__panel {
	position: absolute; top: 0; left: 0; right: 0; max-height: 100vh; overflow-y: auto;
	padding: 72px var(--a24-gutter) 44px; background: var(--a24-bg); color: var(--a24-text);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
	opacity: 0; transform: translateY(-24px); transition: opacity .25s, transform .3s var(--a24-ease);
}
.a24-search.is-open .a24-search__panel { opacity: 1; transform: none; }
.a24-search__panel > * { max-width: 820px; margin-inline: auto; }
.a24-search__close { position: absolute; top: 16px; right: 16px; }
.a24-search__form { position: relative; display: flex; align-items: center; gap: 10px; }
.a24-search__icon { position: absolute; left: 18px; z-index: 1; font-size: 22px; color: var(--a24-muted); pointer-events: none; }
.a24-search__form .a24-search__input { height: 60px; padding-left: 54px; border-radius: 14px; font-size: 19px; }
.a24-search__form .a24-btn { height: 60px; padding: 0 26px; border-radius: 14px; }
.a24-search__results { margin-top: 18px; }
.a24-search__results:empty { display: none; }
.a24-search__item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; }
.a24-search__item:hover, .a24-search__item:focus { background: var(--a24-surface-2); color: inherit; }
.a24-search__item img, .a24-search__item-ph { width: 58px; height: 58px; flex: none; border-radius: 10px; object-fit: cover; background: var(--a24-surface-2); }
.a24-search__item-title { display: block; font: 700 15.5px/1.35 var(--a24-font-head); color: var(--a24-text); }
.a24-search__item-meta { display: block; margin-top: 4px; font-size: 12.5px; color: var(--a24-muted); }
.a24-search__all { display: inline-flex; align-items: center; gap: 6px; margin: 10px 10px 0; font-weight: 700; color: var(--a24-link); }
.a24-search__empty { padding: 10px; color: var(--a24-muted); }
.a24-search__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.a24-search__tags-label { margin-right: 6px; font: 800 12px/1 var(--a24-font-head); text-transform: uppercase; letter-spacing: .07em; color: var(--a24-muted); }

.a24-progress { position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 999; height: 3px; pointer-events: none; }
.a24-progress__bar { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--a24-primary), var(--a24-accent)); transform-origin: 0 50%; transform: scaleX(var(--a24-progress, 0)); }

.a24-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	display: grid; place-items: center; width: 46px; height: 46px; padding: 0;
	border: 0; border-radius: 50%; background: var(--a24-primary); color: var(--a24-primary-ink); font-size: 20px;
	box-shadow: var(--a24-shadow); opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.a24-totop.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ==========================================================================
   20. Empty, 404, full width
   ========================================================================== */
.a24-empty { padding: 50px 22px; text-align: center; border: 1px dashed var(--a24-border-strong); border-radius: var(--a24-radius); }
.a24-empty__icon { font-size: 42px; color: var(--a24-muted); }
.a24-empty__title { margin-top: 12px; }
.a24-empty__form { max-width: 460px; margin: 20px auto 0; }

.a24-404__hero { max-width: 640px; margin: 0 auto; padding: 40px 0 60px; text-align: center; }
.a24-404__code {
	display: block; font: 900 clamp(110px, 18vw, 200px)/.9 var(--a24-font-head); letter-spacing: -.06em;
	background: linear-gradient(135deg, var(--a24-primary), var(--a24-hot)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.a24-404__title { margin: 14px 0 10px; font-size: clamp(26px, 3vw, 36px); }
.a24-404__text { color: var(--a24-muted); }
.a24-404__search { max-width: 480px; margin: 24px auto; }

.a24-main--fullwidth { padding: 0; }
.a24-built-with-elementor .a24-page-wrap { padding-block: 0; }

/* Block editor color helpers */
.has-a24-primary-color { color: var(--a24-primary) !important; }
.has-a24-primary-background-color { background-color: var(--a24-primary) !important; }
.has-a24-primary-background-color:not(.has-text-color) { color: var(--a24-primary-ink); }
.has-a24-accent-color { color: var(--a24-accent) !important; }
.has-a24-accent-background-color { background-color: var(--a24-accent) !important; }
.has-a24-accent-background-color:not(.has-text-color) { color: var(--a24-accent-ink); }
.has-a24-hot-color { color: var(--a24-hot) !important; }
.has-a24-hot-background-color { background-color: var(--a24-hot) !important; }
.has-a24-ink-color { color: #0f1e28 !important; }
.has-a24-ink-background-color { background-color: #0f1e28 !important; }
.has-a24-gray-color { color: #627683 !important; }
.has-a24-gray-background-color { background-color: #627683 !important; }
.has-a24-light-color { color: #edf3f6 !important; }
.has-a24-light-background-color { background-color: #edf3f6 !important; }
.has-a24-white-color { color: #ffffff !important; }
.has-a24-white-background-color { background-color: #ffffff !important; }


/* ==========================================================================
   Alatau24 components
   ========================================================================== */

/* Main story: picture with a title panel on the bottom left */
.a24-card--overlay.a24-card--hero { height: 100%; min-height: 470px; }
.a24-card--hero .a24-thumb::after { background: linear-gradient(180deg, rgba(3, 14, 20, 0) 50%, rgba(3, 14, 20, .38) 100%); }
.a24-card--overlay.a24-card--hero .a24-card__body {
	width: min(88%, 620px); margin-right: auto; padding: 20px 26px 18px; gap: 10px;
	border-top: 4px solid var(--a24-accent); border-radius: 0 var(--a24-radius) 0 0; background: var(--a24-surface); color: var(--a24-text);
}
.a24-card--overlay.a24-card--hero .a24-card__title { color: var(--a24-text); text-shadow: none; font-size: clamp(22px, 2.15vw, 31px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; -webkit-line-clamp: 4; }
.a24-card--overlay.a24-card--hero .a24-meta, .a24-card--overlay.a24-card--hero .a24-meta a { color: var(--a24-muted); font-size: 13.5px; }
.a24-card--overlay.a24-card--hero .a24-meta__author a { color: var(--a24-text); font-weight: 700; }
.a24-card--overlay.a24-card--hero .a24-format { top: 18px; left: 18px; right: auto; }

.a24-label { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 5px; background: var(--a24-accent); color: var(--a24-accent-ink); font: 800 11px/1 var(--a24-font-head); text-transform: uppercase; letter-spacing: .07em; }
.a24-label::before { content: ""; width: 10px; height: 8px; background: currentColor; clip-path: var(--a24-peak); }
.a24-kicker { color: var(--a24-accent-text); font: 800 11px/1.2 var(--a24-font-head); text-transform: uppercase; letter-spacing: .07em; }
.a24-card--overlay .a24-kicker { color: var(--a24-accent); text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.a24-flag--live { gap: 6px; background: var(--a24-hot); color: #fff; }
.a24-flag--live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: a24-pulse 1.4s ease-in-out infinite; }
@keyframes a24-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Buttons & chips (overrides of the shared styles) */
.a24-btn { border-radius: 10px; font-family: var(--a24-font-head); font-weight: 700; letter-spacing: 0; }
.a24-btn--ghost { background: var(--a24-surface); border: 1px solid var(--a24-border-strong); }
.a24-loadmore { min-width: 200px; height: 46px; border-radius: 10px; }
.a24-loadmore .a24-icon { order: 2; }
.a24-chipbtn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--a24-border); border-radius: 10px; background: var(--a24-surface); color: var(--a24-text-2); font-size: 14px; font-weight: 600; }
.a24-chipbtn:hover { border-color: var(--a24-primary); color: var(--a24-primary); }
.a24-chipbtn .a24-icon { font-size: 18px; }

/* Section headings: a peak in the section color, a gold underline */
.a24-section-head { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--a24-border); }
.a24-section-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; border-radius: 2px; background: var(--a24-accent); }
.a24-section-title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; border: 0; color: var(--a24-text); font: 800 20px/1.2 var(--a24-font-head); letter-spacing: -.015em; text-transform: none; }
.a24-section-title::before { content: ""; flex: none; width: 16px; height: 12px; border-radius: 0; background: var(--a24-section, var(--a24-primary)); clip-path: var(--a24-peak); transform: none; }
.a24-section-title a { color: inherit; }
.a24-section-more { display: inline-flex; align-items: center; gap: 4px; padding: 0; color: var(--a24-primary); font-size: 13.5px; font-weight: 700; }
.a24-block--dark .a24-section-title { color: #fff; }
.a24-block--dark .a24-section-head { border-color: rgba(255, 255, 255, .12); }
.a24-block--dark .a24-section-more { color: var(--a24-on-dark-muted); }
.a24-card__title { font-family: var(--a24-font-head); font-weight: 700; }
.a24-cat, .a24-flag { border-radius: 4px; font-family: var(--a24-font-head); }

/* Widgets as boxes in columns */
.a24-top__left .a24-widget, .a24-top__right .a24-widget, .a24-sidebar .a24-widget, .a24-offcanvas .a24-widget {
	padding: 18px 20px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface);
}
.a24-widget__title { position: relative; display: flex; align-items: center; gap: 9px; margin: 0 0 14px; padding: 0 0 11px; border-bottom: 1px solid var(--a24-border); color: var(--a24-text); font: 800 16px/1.2 var(--a24-font-head); letter-spacing: -.01em; text-transform: none; }
.a24-widget__title::before { content: ""; flex: none; width: 14px; height: 11px; border-radius: 0; background: var(--a24-primary); clip-path: var(--a24-peak); transform: none; }
.a24-widget__title::after { content: ""; display: block; position: absolute; left: 0; bottom: -1px; width: 44px; height: 3px; border-radius: 2px; background: var(--a24-accent); }
.a24-footer .a24-widget__title { border-color: rgba(255, 255, 255, .12); color: #fff; }

/* Ads */
.a24-ad { display: grid; justify-items: center; gap: 6px; margin-block: 18px; }
.a24-ad__label { color: var(--a24-muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; }
.a24-ad__body { max-width: 100%; overflow: hidden; }
.a24-ad__body img { display: block; border-radius: 10px; }
.a24-container.a24-ad--header { margin-top: 16px; margin-bottom: 0; }
.a24-sticky .a24-ad { margin: 0; }
.a24-sticky-ad { position: fixed; left: 8px; right: 8px; bottom: calc(var(--a24-tabbar-h) + 10px + env(safe-area-inset-bottom)); z-index: 70; display: grid; justify-items: center; padding: 6px; border-radius: 12px; background: var(--a24-surface); box-shadow: var(--a24-shadow); }
.a24-sticky-ad__close { position: absolute; top: -10px; right: -4px; display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--a24-dark); color: #fff; font-size: 12px; }

/* ==========================================================================
   Article page
   ========================================================================== */
.a24-article-wrap { display: grid; gap: 28px; align-items: start; padding-block: 24px 60px; }
.a24-article-wrap.has-sidebar { grid-template-columns: minmax(0, 1fr) 320px; }
.a24-article-wrap--center .a24-article, .a24-article-wrap--cover .a24-article { width: 100%; max-width: 860px; margin-inline: auto; }
.a24-article { min-width: 0; padding: clamp(18px, 3vw, 40px); border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface); container-type: inline-size; }
.a24-article--page { padding: clamp(18px, 3vw, 40px); }
.a24-article__head { margin-bottom: 22px; }
.a24-article__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.a24-crumbs { display: flex; flex-wrap: wrap; align-items: center; color: var(--a24-muted); font-size: 14px; }
.a24-crumbs span { display: inline-flex; align-items: center; }
.a24-crumbs span + span::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-top: 1.5px solid var(--a24-border-strong); border-right: 1.5px solid var(--a24-border-strong); transform: rotate(45deg); }
.a24-crumbs span:last-child a { color: var(--a24-primary); font-weight: 700; }
.a24-crumbs a { color: var(--a24-muted); }
.a24-crumbs a:hover { color: var(--a24-primary); }
.a24-article__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.a24-district-chip { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border: 1px solid color-mix(in srgb, var(--a24-accent) 55%, transparent); border-radius: 7px; background: color-mix(in srgb, var(--a24-accent) 12%, var(--a24-surface)); color: var(--a24-text); font: 700 13px/1 var(--a24-font-head); }
.a24-district-chip .a24-icon { font-size: 15px; color: var(--a24-accent-text); }
.a24-district-chip:hover { border-color: var(--a24-accent); color: var(--a24-text); }
.a24-article__title { margin: 0 0 16px; font-family: var(--a24-font-title); font-size: clamp(28px, 4cqi, 44px); font-weight: 600; line-height: 1.18; letter-spacing: -.012em; }
.a24-article__lead { margin: 0 0 20px; color: var(--a24-text-2); font-size: clamp(18px, 2.2cqi, 21px); line-height: 1.5; font-weight: 500; }
.a24-article__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding-top: 4px; }
.a24-article__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-left: auto; color: var(--a24-muted); font-size: 14px; }
.a24-stat { display: inline-flex; align-items: center; gap: 6px; color: var(--a24-muted); }
.a24-stat .a24-icon { font-size: 17px; }
.a24-article__updated { margin: 12px 0 0; color: var(--a24-muted); font-size: 13px; }
.a24-byline { display: flex; align-items: center; gap: 12px; min-width: 0; }
.a24-byline__avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--a24-surface-2); }
.a24-byline__text { display: grid; line-height: 1.3; }
.a24-byline__name { color: var(--a24-text); font-weight: 700; font-size: 15px; }
.a24-byline__role { color: var(--a24-muted); font-size: 13px; }

/* Listen */
.a24-listen {
	display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 12px; border: 0; border-radius: 10px;
	background: var(--a24-dark); color: #fff; font: 700 14px/1 var(--a24-font-head);
	transition: filter .15s, transform .15s;
}
.a24-listen:hover { filter: brightness(1.25); }
.a24-listen:active { transform: translateY(1px); }
.a24-listen .a24-icon { display: grid; place-items: center; width: 26px; height: 26px; padding: 5px; border-radius: 7px; background: var(--a24-accent); color: var(--a24-accent-ink); font-size: 16px; }
html[data-a24-theme="dark"] .a24-listen { background: var(--a24-surface-2); }
.a24-listen__wave { display: none; align-items: flex-end; gap: 2px; height: 14px; }
.a24-listen__wave i { width: 3px; height: 40%; border-radius: 2px; background: currentColor; animation: a24-wave 1s ease-in-out infinite; }
.a24-listen__wave i:nth-child(2) { animation-delay: .15s; }
.a24-listen__wave i:nth-child(3) { animation-delay: .3s; }
.a24-listen__wave i:nth-child(4) { animation-delay: .45s; }
.a24-listen.is-playing .a24-listen__wave { display: inline-flex; }
@keyframes a24-wave { 0%, 100% { height: 30%; } 50% { height: 100%; } }
.a24-player { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -6px 0 22px; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--a24-primary) 8%, var(--a24-surface)); }
.a24-player__progress { flex: 1; min-width: 120px; height: 5px; border-radius: 5px; background: color-mix(in srgb, var(--a24-primary) 18%, transparent); overflow: hidden; }
.a24-player__progress span { display: block; width: 0; height: 100%; background: var(--a24-primary); transition: width .3s; }
.a24-player select { height: 32px; padding: 0 8px; border: 1px solid var(--a24-border); border-radius: 8px; background: var(--a24-surface); font-size: 13px; }
.a24-player .a24-iconbtn { width: 36px; height: 36px; font-size: 17px; }
.a24-player__note { flex-basis: 100%; margin: 0; color: var(--a24-muted); font-size: 13px; }
.a24-prose .is-reading { background: color-mix(in srgb, var(--a24-accent) 14%, transparent); border-radius: 6px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--a24-accent) 14%, transparent); transition: background .3s; }

/* Save */
.a24-save { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border: 1px solid var(--a24-border); border-radius: 9px; background: var(--a24-surface); color: var(--a24-text-2); font-size: 13px; font-weight: 600; }
.a24-save:hover { border-color: var(--a24-border-strong); color: var(--a24-text); }
.a24-save .a24-icon { font-size: 17px; }
.a24-save__on { display: none; }
.a24-save.is-saved { border-color: color-mix(in srgb, var(--a24-primary) 40%, transparent); color: var(--a24-primary); }
.a24-save.is-saved .a24-save__on { display: block; }
.a24-save.is-saved .a24-save__off { display: none; }
.a24-save--icon { width: 36px; padding: 0; justify-content: center; border-color: transparent; background: none; }
.a24-save--icon .a24-save__label { display: none; }
.a24-save--round { flex: none; width: 42px; height: 42px; padding: 0; justify-content: center; border-radius: 10px; }
.a24-save--round .a24-icon { font-size: 19px; }
.a24-save--round .a24-save__label { display: none; }

/* Media */
.a24-article__media { margin: 0 0 22px; }
.a24-article__img { display: block; width: 100%; height: auto; border-radius: calc(var(--a24-radius) * .75); cursor: zoom-in; }
.a24-article__caption, .a24-article__media figcaption { margin-top: 10px; color: var(--a24-muted); font-size: 13.5px; line-height: 1.45; }
.a24-embed { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--a24-radius) * .75); overflow: hidden; background: #000; }
.a24-embed iframe, .a24-embed .a24-yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.a24-yt { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: #000; cursor: pointer; }
.a24-yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .2s; }
.a24-yt:hover img { opacity: 1; }
.a24-yt__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 74px; height: 52px; margin: -26px 0 0 -37px; border: 0; border-radius: 16px; background: #e00; color: #fff; font-size: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.a24-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Cover layout */
.a24-cover { position: relative; margin: calc(-1 * clamp(18px, 3vw, 40px)) calc(-1 * clamp(18px, 3vw, 40px)) 24px; border-radius: var(--a24-radius) var(--a24-radius) 0 0; overflow: hidden; }
.a24-cover .a24-article__media { margin: 0; }
.a24-cover .a24-article__img { border-radius: 0; max-height: 560px; object-fit: cover; }
.a24-cover .a24-article__caption { position: absolute; right: 14px; bottom: 12px; z-index: 2; margin: 0; padding: 4px 10px; border-radius: 8px; background: rgba(0, 0, 0, .45); color: #fff; font-size: 12px; }
.a24-cover__shade { display: none; }

/* Tools row */
.a24-article__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.a24-share { display: flex; align-items: center; gap: 12px; }
.a24-share__list { display: flex; flex-wrap: wrap; gap: 8px; }
.a24-share--top .a24-share__btn { width: 40px; height: 40px; padding: 0; justify-content: center; border-radius: 10px; }
.a24-share--top .a24-share__btn span { display: none; }
.a24-share--bottom { flex-wrap: wrap; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--a24-border); }
.a24-share__label { color: var(--a24-muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.a24-share__btn--native { background: var(--a24-text); color: var(--a24-surface); }
.a24-fontsize { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--a24-border); border-radius: 10px; color: var(--a24-muted); }
.a24-fontsize .a24-iconbtn { width: 34px; height: 34px; font-size: 16px; }

/* Key points & contents */
.a24-points { margin: 0 0 24px; padding: 18px 20px 16px; border: 1px solid color-mix(in srgb, var(--a24-primary) 22%, transparent); border-top: 4px solid var(--a24-primary); border-radius: var(--a24-radius); background: color-mix(in srgb, var(--a24-primary) 6%, var(--a24-surface)); }
.a24-points__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--a24-primary); font: 800 13px/1.2 var(--a24-font-head); text-transform: uppercase; letter-spacing: .08em; }
html[data-a24-theme="dark"] .a24-points__title { color: var(--a24-link); }
.a24-points ul { margin: 0; padding: 0; list-style: none; }
.a24-points li { position: relative; margin: 8px 0; padding-left: 24px; font-size: 16.5px; font-weight: 500; line-height: 1.45; }
.a24-points li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 9px; background: var(--a24-accent); clip-path: var(--a24-peak); }
.a24-toc { margin: 0 0 24px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface-2); }
.a24-toc__toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 18px; border: 0; background: none; color: var(--a24-text); font-size: 15px; font-weight: 700; text-align: left; }
.a24-toc__toggle .a24-icon:last-child { margin-left: auto; transition: transform .2s; }
.a24-toc__toggle[aria-expanded="false"] .a24-icon:last-child { transform: rotate(-90deg); }
.a24-toc__list { margin: 0; padding: 0 18px 16px 40px; display: grid; gap: 7px; font-size: 15px; }
.a24-toc__list li::marker { color: var(--a24-primary); font-weight: 700; }
.a24-toc__list .is-sub { margin-left: 16px; font-size: 14px; }
.a24-toc__list a { color: var(--a24-text-2); }
.a24-toc__list a:hover, .a24-toc__list a.is-active { color: var(--a24-primary); }
.a24-toc__toggle[aria-expanded="false"] + .a24-toc__list { display: none; }

/* After the article */
.a24-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.a24-source { margin-top: 18px; color: var(--a24-muted); font-size: 14px; }
.a24-source a { color: var(--a24-primary); }
.a24-typo-hint { display: flex; align-items: center; gap: 8px; margin: 20px 0 0; color: var(--a24-muted); font-size: 13.5px; }
.a24-typo-hint .a24-icon { font-size: 16px; }
.a24-article .a24-related { margin-top: 34px; }
.a24-article .a24-author-box { margin-top: 28px; }

/* Prose in the new style */
.a24-prose { font-size: var(--a24-prose-size); line-height: 1.65; color: var(--a24-text-2); }
.a24-prose img { border-radius: 12px; }
.a24-prose a { color: var(--a24-primary); }

/* ==========================================================================
   Phones: app banner, bottom bar, floating button
   ========================================================================== */
.a24-appbar { display: none; }
.a24-tabbar { display: none; }
.a24-totop { bottom: calc(var(--a24-tabbar-h) + 92px + env(safe-area-inset-bottom)); }

/* Menu panel tiles */
.a24-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 4px 0 18px; }
.a24-tile { display: grid; justify-items: center; gap: 6px; padding: 14px 6px; border: 1px solid var(--a24-border); border-radius: 14px; background: var(--a24-surface); color: var(--a24-text); font-size: 12.5px; font-weight: 600; line-height: 1.2; text-align: center; }
.a24-tile .a24-icon { font-size: 22px; color: var(--a24-primary); }
.a24-tile:hover { border-color: color-mix(in srgb, var(--a24-primary) 40%, transparent); color: var(--a24-primary); }
.a24-offcanvas__panel { background: var(--a24-page); }
.a24-offcanvas__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }

/* Toast */
.a24-toast { position: fixed; left: 50%; bottom: calc(var(--a24-tabbar-h) + 24px + env(safe-area-inset-bottom)); z-index: 100001; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 14px; background: var(--a24-dark); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--a24-shadow); opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .2s, transform .2s; }
.a24-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Live update bar */
.a24-livebar { position: fixed; left: 50%; top: calc(var(--a24-header-h) + 14px + var(--wp-admin--admin-bar--height, 0px)); z-index: 70; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border-radius: 99px; background: var(--a24-hot); color: #fff; font-size: 14px; font-weight: 600; box-shadow: var(--a24-shadow); transform: translateX(-50%); }
.a24-livebar button { height: 32px; padding: 0 14px; border: 0; border-radius: 99px; background: #fff; color: var(--a24-hot); font-weight: 700; }

/* Lightbox */
.a24-lightbox { position: fixed; inset: 0; z-index: 100002; display: grid; place-items: center; padding: 24px; background: rgba(4, 7, 13, .92); }
.a24-lightbox img { max-width: 100%; max-height: calc(100vh - 110px); border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.a24-lightbox figcaption { margin-top: 12px; color: #cbd5e1; font-size: 14px; text-align: center; }
.a24-lightbox__close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; }
.a24-lightbox__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 22px; }
.a24-lightbox__nav--prev { left: 14px; }
.a24-lightbox__nav--next { right: 14px; }

/* Story viewer */
.a24-storyview { position: fixed; inset: 0; z-index: 100003; display: grid; place-items: center; background: #000; }
.a24-storyview__frame { position: relative; width: min(100vw, calc(100vh * 9 / 16)); height: 100%; max-height: 100vh; overflow: hidden; background: #111 center / cover no-repeat; }
.a24-storyview__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, .85) 100%); }
.a24-storyview__bars { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3; display: flex; gap: 4px; }
.a24-storyview__bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.a24-storyview__bars i b { display: block; width: 0; height: 100%; background: #fff; }
.a24-storyview__bars i.is-done b { width: 100%; }
.a24-storyview__head { position: absolute; top: 26px; left: 14px; right: 14px; z-index: 3; display: flex; align-items: center; justify-content: space-between; color: #fff; font-size: 13px; font-weight: 600; }
.a24-storyview__close { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .3); color: #fff; font-size: 22px; }
.a24-storyview__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 24px 20px calc(28px + env(safe-area-inset-bottom)); color: #fff; }
.a24-storyview__body .a24-kicker { display: block; margin-bottom: 8px; }
.a24-storyview__title { margin: 0 0 16px; color: #fff; font: 700 clamp(22px, 6vw, 28px)/1.22 var(--a24-font-body); }
.a24-storyview__btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 99px; background: #fff; color: #111; font-weight: 700; }
.a24-storyview__btn:hover { color: #111; }
.a24-storyview__tap { position: absolute; top: 80px; bottom: 140px; z-index: 2; width: 40%; border: 0; background: none; }
.a24-storyview__tap--prev { left: 0; }
.a24-storyview__tap--next { right: 0; width: 60%; }

/* Bookmarks page */
.a24-bookmarks__list .a24-card { padding: 12px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface); }
.a24-bookmarks__list .a24-card__body { padding-top: 12px; }
.a24-bookmarks__empty { padding: 40px 20px; border: 1px dashed var(--a24-border-strong); border-radius: var(--a24-radius); background: var(--a24-surface); color: var(--a24-muted); text-align: center; }
.a24-bookmarks__clear { margin-top: 20px; }
.a24-bookmarks__remove { position: absolute; top: 20px; right: 20px; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 16px; }

/* Archive header & search as boxes */
.a24-archive-head { margin-bottom: 22px; padding: 22px 24px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface); }
.a24-archive-head__kicker { display: inline-flex; align-items: center; gap: 6px; color: var(--a24-primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.a24-archive-head__title { margin: 6px 0 0; font-size: clamp(26px, 3vw, 36px); }
.a24-main .a24-list > .a24-card--list, .a24-main > .a24-grid .a24-card--grid { padding: 14px; border: 1px solid var(--a24-border); border-radius: var(--a24-radius); background: var(--a24-surface); }
.a24-main .a24-list { gap: 14px; }
.a24-main .a24-list > .a24-card--list:last-child { padding-bottom: 14px; border-bottom: 1px solid var(--a24-border); }
.a24-pagination { margin-top: 26px; }

/* Footer with a mountain ridge on top */
.a24-footer { position: relative; margin-top: 52px; background: var(--a24-footer); }
.a24-footer::before {
	content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); z-index: 1; height: 52px; background: var(--a24-footer);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'%3E%3Cpath d='M0 56V40l70-16 46 12 64-30 58 26 52-14 70 22 66-34 50 20 62-14 58 18 80-36 54 24 60-12 72 26 58-22 64 16 72-30 58 22 86-8V56Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'%3E%3Cpath d='M0 56V40l70-16 46 12 64-30 58 26 52-14 70 22 66-34 50 20 62-14 58 18 80-36 54 24 60-12 72 26 58-22 64 16 72-30 58 22 86-8V56Z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; pointer-events: none;
}
.a24-footer::after { content: ""; position: absolute; right: 9%; bottom: calc(100% + 24px); z-index: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--a24-accent); box-shadow: 0 0 0 8px color-mix(in srgb, var(--a24-accent) 22%, transparent); pointer-events: none; }
.a24-age { display: inline-grid; place-items: center; min-width: 34px; height: 24px; margin-right: 10px; padding: 0 6px; border: 1.5px solid currentColor; border-radius: 6px; font-size: 12px; font-weight: 800; }
.a24-footer__legal { margin: 0; padding: 0 0 28px; color: var(--a24-on-dark-muted); font-size: 12.5px; line-height: 1.55; opacity: .8; }

/* Search overlay & menu panel tweaks */
.a24-search__panel { border-radius: 0 0 var(--a24-radius) var(--a24-radius); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
	.a24-header .a24-menu > li > a { padding: 0 8px; font-size: 14.5px; }
	.a24-header .a24-menu > .menu-item-has-children > a { padding-right: 22px; }
	.a24-top { grid-template-columns: minmax(250px, 290px) minmax(0, 1fr) minmax(240px, 280px); }
}

@media (max-width: 1100px) {
	.a24-top { grid-template-columns: minmax(0, 1fr) minmax(260px, 300px); grid-template-rows: auto auto 1fr; grid-template-areas: "hero side" "feed left" "feed right"; }
	.a24-top--no-left { grid-template-areas: "hero side" "feed right"; grid-template-rows: auto 1fr; }
	.a24-top__left .a24-sticky { position: static; }
	.a24-layout--sidebar, .a24-article-wrap.has-sidebar { grid-template-columns: minmax(0, 1fr) 290px; }
}

@media (max-width: 1023px) {
	:root { --a24-masthead-h: 60px; --a24-header-h: 60px; }
	.a24-sticky-header .a24-header { top: var(--wp-admin--admin-bar--height, 0px); }
	.a24-navbar { display: none; }
	.a24-header__brand { margin-right: auto; }
	.a24-masthead { border-bottom: 0; }
	.a24-header.is-stuck { box-shadow: 0 10px 24px -18px rgba(11, 34, 48, .55); }
	.a24-hide-mobile { display: none !important; }
	.a24-layout--sidebar, .a24-article-wrap.has-sidebar { grid-template-columns: minmax(0, 1fr); }
	.a24-sticky-sidebar .a24-sticky, .a24-top__right .a24-sticky { position: static; }
	.a24-top, .a24-top--no-left { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "hero" "side" "left" "feed" "right"; gap: 16px; }
	.a24-top--slider .a24-sidebox { padding-inline: 0; overflow: hidden; }
	.a24-top--slider .a24-sidebox .a24-box__head { margin-inline: 16px; }
	.a24-top--slider .a24-top__side-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 4px; scroll-padding-inline: 16px; scrollbar-width: none; }
	.a24-top--slider .a24-top__side-track::-webkit-scrollbar { display: none; }
	.a24-top--slider .a24-card.a24-card--side { flex: 0 0 74%; max-width: 360px; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 0; border: 0; scroll-snap-align: start; }
	.a24-top--slider .a24-card--side .a24-thumb { aspect-ratio: 16 / 10; }
	.a24-top--slider .a24-card--side .a24-card__title { font-size: 15.5px; }
	.a24-top--slider .a24-swipe-dots { display: flex; justify-content: center; gap: 5px; margin-top: 12px; }
	.a24-swipe-dots i { width: 14px; height: 3px; border-radius: 2px; background: var(--a24-border-strong); transition: width .2s, background .2s; }
	.a24-swipe-dots i.is-active { width: 28px; background: var(--a24-accent); }
	.a24-card--overlay.a24-card--hero { display: flex; flex-direction: column; min-height: 0; height: auto; }
	.a24-card--overlay.a24-card--hero .a24-thumb { position: relative; inset: auto; aspect-ratio: 16 / 10; }
	.a24-card--hero .a24-thumb::after { display: none; }
	.a24-card--overlay.a24-card--hero .a24-card__body { width: 100%; margin: 0; padding: 16px 18px 16px; border-radius: 0; }
	.a24-card--overlay.a24-card--hero .a24-card__title { font-size: clamp(21px, 5.6vw, 27px); }
	.a24-stories--mobile { display: block; }
	.a24-only-mobile { display: block !important; }
	.a24-only-desktop { display: none !important; }

	/* App banner */
	.a24-appbar { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 8px; background: var(--a24-dark); color: #fff; border-bottom: 3px solid var(--a24-accent); }
	.a24-appbar[hidden] { display: none !important; }
	.a24-appbar__close { flex: none; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; background: none; color: rgba(255, 255, 255, .8); font-size: 20px; }
	.a24-appbar__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 11px; background: #fff; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
	.a24-appbar__icon img { width: 100%; height: 100%; object-fit: cover; }
	.a24-appbar__icon .a24-mark { height: 30px; }
	.a24-appbar__text { flex: 1; display: grid; min-width: 0; line-height: 1.25; }
	.a24-appbar__text strong { font-size: 15px; }
	.a24-appbar__text span { overflow: hidden; color: rgba(255, 255, 255, .85); font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.a24-appbar__btn { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 9px; background: var(--a24-accent); color: var(--a24-accent-ink); font: 800 14px/1 var(--a24-font-head); }
	.a24-appbar__btn:hover { color: var(--a24-accent-ink); filter: brightness(1.06); }

	/* Bottom bar */
	.a24-has-tabbar { --a24-tabbar-h: 64px; padding-bottom: calc(var(--a24-tabbar-h) + env(safe-area-inset-bottom)); }
	.a24-tabbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 66; display: flex; justify-content: space-around; align-items: stretch;
		height: calc(var(--a24-tabbar-h) + env(safe-area-inset-bottom)); padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
		border-top: 1px solid var(--a24-border); background: var(--a24-surface); box-shadow: 0 -10px 26px -22px rgba(11, 34, 48, .45);
	}
	.a24-tabbar__item { flex: 1; display: grid; justify-items: center; align-content: center; gap: 2px; min-width: 0; padding: 0 2px; border: 0; background: none; color: var(--a24-muted); font: 600 11px/1.1 var(--a24-font-body); }
	.a24-tabbar__item .a24-icon { width: 54px; height: 30px; padding: 5px 0; border-radius: 99px; font-size: 20px; transition: background .2s, color .2s; }
	.a24-tabbar__item span { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
	.a24-tabbar__item.is-current { color: var(--a24-primary); font-weight: 700; }
	.a24-tabbar__item.is-current .a24-icon { background: color-mix(in srgb, var(--a24-primary) 14%, transparent); }
	html[data-a24-theme="dark"] .a24-tabbar__item.is-current { color: var(--a24-link); }
	.a24-tabbar__item:hover { color: var(--a24-text); }
	.a24-has-tabbar .a24-totop { display: none; }

	.a24-article-wrap { padding-top: 14px; }
	.a24-article { padding: 18px 16px; border-radius: 0; border-inline: 0; margin-inline: calc(-1 * var(--a24-gutter)); }
	.a24-article__media { margin-inline: -16px; }
	.a24-article__img, .a24-embed { border-radius: 0; }
	.a24-article__caption, .a24-article__media figcaption { padding-inline: 16px; }
	.a24-cover { margin: -18px -16px 20px; border-radius: 0; }
	.a24-article__stats { margin-left: 0; }
	.a24-home__section > .a24-block, .a24-home__section > .a24-html, .a24-home__section > .a24-panel { padding: 18px 16px; }
	.a24-card.a24-card--feed { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
	.a24-card--feed .a24-thumb { aspect-ratio: 16 / 9; border-radius: 0; }
	.a24-card--feed .a24-card__body { padding: 14px 16px 12px; }
	.a24-card.a24-card--feed.a24-card--no-thumb { padding: 0; }
	.a24-footer { margin-top: 40px; }
	.a24-footer::before { height: 36px; }
	.a24-footer__top { grid-template-columns: 1fr; gap: 40px; }
	.a24-footer__widgets--3, .a24-footer__widgets--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.a24-topbar__rates, .a24-topbar__menu { display: none; }
	.a24-home__section { margin-top: 18px; }
	.a24-footer::after { width: 20px; height: 20px; bottom: calc(100% + 16px); }
}

@media (min-width: 1024px) {
	.a24-hide-desktop { display: none !important; }
}

@media (max-width: 600px) {
	.admin-bar.a24-sticky-header .a24-header, .admin-bar .a24-progress { top: 0; }
}

@media (max-width: 640px) {
	:root { --a24-gutter: 14px; --a24-prose-size: 18px; }
	.a24-topbar__weather span, .a24-social--topbar { display: none; }
	.a24-topbar__inner { min-height: 36px; }
	.a24-ticker { height: 42px; gap: 10px; font-size: 13.5px; }
	.a24-ticker__label { padding: 0 9px; }
	.a24-ticker__pause { display: none; }
	.a24-postnav { grid-template-columns: 1fr; }
	.a24-author-box { flex-direction: column; }
	.a24-footer__widgets--2, .a24-footer__widgets--3, .a24-footer__widgets--4 { grid-template-columns: 1fr; }
	.a24-footer__top { padding-block: 44px 28px; }
	.a24-footer__bottom { flex-direction: column; align-items: flex-start; }
	.a24-search__form .a24-btn { display: none; }
	.a24-search__form .a24-search__input { font-size: 17px; height: 54px; }
	.a24-prose .alignleft, .a24-prose .alignright { float: none; max-width: 100%; margin: 0 0 1em; }
	.a24-prose table { display: block; overflow-x: auto; }
	.a24-comments__list .children { padding-left: 16px; }
	.a24-archive-head__author { flex-direction: column; align-items: flex-start; }
	.a24-page-wrap { padding-block: 16px 40px; }
	.a24-top { margin-top: 14px; }
	.a24-card--feed .a24-card__title { font-size: 18px; }
	.a24-box { padding: 14px 16px; }
	.a24-article__title { font-size: 30px; }
	.a24-article__bar { gap: 12px; }
	.a24-byline { flex-basis: 100%; }
	.a24-share--top .a24-share__btn { width: 38px; height: 38px; }
	.a24-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.a24-partner__img { height: 22px; max-width: 110px; }
	.a24-logo__img { max-width: 170px; }
	.a24-livebar { width: calc(100vw - 24px); justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.a24-ticker__move { animation: none !important; }
	.a24-ticker__viewport { overflow-x: auto; }
	.a24-ticker__track[aria-hidden="true"] { display: none; }
}

/* ==========================================================================
   Print
   ========================================================================== */
@media print {
	.a24-topbar, .a24-header, .a24-header-sentinel, .a24-ticker-bar, .a24-sidebar, .a24-footer, .a24-share, .a24-article__tools, .a24-appbar, .a24-tabbar,
	.a24-related, .a24-postnav, .a24-comments, .a24-totop, .a24-progress, .a24-area, .a24-author-box, .a24-ad, .a24-sticky-ad, .a24-listen, .a24-save, .a24-toc,
	.a24-offcanvas, .a24-search, .a24-loadmore-wrap, .a24-breadcrumbs, .a24-typo-hint, .a24-a24c-reactions { display: none !important; }
	body { background: #fff; color: #000; padding: 0 !important; }
	.a24-article { border: 0; padding: 0; }
	.a24-article-wrap { display: block; }
	.a24-prose { font-size: 12pt; color: #000; }
	.a24-prose a { color: #000; }
}
