/* =========================================================================
   Adsense Pro Mag — main stylesheet
   Logical properties are used throughout so the same CSS serves LTR and RTL.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Reset and base
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--apm-surface-alt);
	color: var(--apm-text);
	font-family: var(--apm-font-en);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

[dir="rtl"] body {
	font-family: var(--apm-font-ar);
	line-height: 1.9;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--apm-primary);
	text-decoration: none;
	transition: color var(--apm-speed) var(--apm-ease);
}

a:hover,
a:focus {
	color: var(--apm-primary-light);
}

h1,
h2,
h3,
h4,
h5 {
	margin: 0 0 0.5em;
	color: var(--apm-text);
	font-family: var(--apm-font-heading);
	font-weight: 800;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5 {
	font-family: var(--apm-font-ar);
	letter-spacing: 0;
	line-height: 1.5;
}

p {
	margin: 0 0 1.1em;
}

ul,
ol {
	margin: 0 0 1.2em;
	padding-inline-start: 1.4em;
}

li {
	margin-bottom: 0.4em;
}

button {
	font-family: inherit;
	cursor: pointer;
}

input,
textarea,
select {
	font-family: inherit;
	font-size: 1rem;
}

figure {
	margin: 0;
}

[hidden] {
	display: none !important;
}

.apm-screen-reader,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.apm-skip-link {
	position: absolute;
	inset-inline-start: 16px;
	top: -100px;
	z-index: 999;
	padding: 10px 18px;
	border-radius: var(--apm-radius-sm);
	background: var(--apm-primary);
	color: #fff;
	font-weight: 700;
	transition: top var(--apm-speed) var(--apm-ease);
}

.apm-skip-link:focus {
	top: 12px;
	color: #fff;
}

/* -------------------------------------------------------------------------
   2. Layout primitives
   ------------------------------------------------------------------------- */
.apm-container {
	width: 100%;
	max-width: var(--apm-container);
	margin-inline: auto;
	padding-inline: 20px;
}

.apm-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 34px;
	align-items: start;
	padding-block: 26px 56px;
}

.apm-content {
	min-width: 0;
}

.apm-main {
	display: block;
}

.apm-dot {
	opacity: 0.6;
}

/* -------------------------------------------------------------------------
   3. Buttons, chips and forms
   ------------------------------------------------------------------------- */
.apm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--apm-surface);
	color: var(--apm-text);
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.2;
	transition: background var(--apm-speed) var(--apm-ease), color var(--apm-speed) var(--apm-ease), transform var(--apm-speed) var(--apm-ease);
}

.apm-btn--primary {
	background: var(--apm-primary);
	color: #fff;
	box-shadow: 0 10px 20px -12px rgba(27, 90, 132, 0.8);
}

.apm-btn--primary:hover,
.apm-btn--primary:focus {
	background: var(--apm-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

.apm-chip {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid var(--apm-border);
	border-radius: 999px;
	background: var(--apm-surface-alt);
	color: var(--apm-text-soft);
	font-size: 0.8rem;
	font-weight: 600;
}

.apm-chip:hover,
.apm-chip:focus {
	border-color: var(--apm-primary);
	color: var(--apm-primary);
}

.apm-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--apm-text-soft);
}

.apm-field b {
	color: var(--apm-danger);
}

.apm-field input,
.apm-field textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius-sm);
	background: var(--apm-surface);
	color: var(--apm-text);
	font-weight: 400;
	transition: border-color var(--apm-speed) var(--apm-ease), box-shadow var(--apm-speed) var(--apm-ease);
}

.apm-field input:focus,
.apm-field textarea:focus {
	outline: none;
	border-color: var(--apm-primary);
	box-shadow: 0 0 0 3px rgba(27, 90, 132, 0.14);
}

.apm-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.apm-hp {
	position: absolute;
	inset-inline-start: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.apm-form__status {
	margin: 12px 0 0;
	font-size: 0.9rem;
	font-weight: 700;
}

.apm-form__status.is-success {
	color: var(--apm-success);
}

.apm-form__status.is-error {
	color: var(--apm-danger);
}

.apm-form__note {
	margin-top: 8px;
	font-size: 0.8rem;
	color: var(--apm-muted);
}

/* -------------------------------------------------------------------------
   4. Header — top bar
   ------------------------------------------------------------------------- */
.apm-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: var(--apm-surface);
	border-block-end: 1px solid var(--apm-border);
	box-shadow: var(--apm-shadow-sm);
}

.apm-topbar {
	background: var(--apm-primary-dark);
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.8rem;
}

[data-theme="dark"] .apm-topbar {
	background: #0a1a27;
}

.apm-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--apm-topbar-h);
}

.apm-topbar__start,
.apm-topbar__end {
	display: flex;
	align-items: center;
	gap: 14px;
}

.apm-topbar__date {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	white-space: nowrap;
}

.apm-topbar a {
	color: rgba(255, 255, 255, 0.86);
}

.apm-topbar a:hover,
.apm-topbar a:focus {
	color: #fff;
}

.apm-social {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apm-social li {
	margin: 0;
}

.apm-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

.apm-social__link:hover,
.apm-social__link:focus {
	background: var(--apm-primary);
	color: #fff;
}

.apm-lang {
	display: inline-flex;
	align-items: center;
	padding: 2px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
}

.apm-lang__btn {
	padding: 3px 10px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.5;
}

.apm-lang__btn.is-active {
	background: #fff;
	color: var(--apm-primary-dark);
}

.apm-theme-toggle {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 3px 10px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 999px;
	background: transparent;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.74rem;
	font-weight: 700;
}

.apm-theme-toggle:hover,
.apm-theme-toggle:focus {
	border-color: #fff;
	color: #fff;
}

.apm-theme-icon--sun,
.apm-theme-text--light {
	display: none;
}

[data-theme="dark"] .apm-theme-icon--sun,
[data-theme="dark"] .apm-theme-text--light {
	display: inline-flex;
}

[data-theme="dark"] .apm-theme-icon--moon,
[data-theme="dark"] .apm-theme-text--dark {
	display: none;
}

.apm-theme-toggle__icon,
.apm-theme-toggle__text {
	display: inline-flex;
	align-items: center;
}

/* Compact sticky header after scrolling */
.apm-header.is-compact .apm-topbar {
	display: none;
}

/* -------------------------------------------------------------------------
   5. Header — brand and navigation
   ------------------------------------------------------------------------- */
.apm-header__main {
	position: relative;
	background: var(--apm-surface);
}

.apm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	min-height: var(--apm-header-h);
}

.apm-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.apm-brand img,
.apm-brand .custom-logo {
	max-height: 54px;
	width: auto;
}

.apm-brand__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.apm-brand__title {
	color: var(--apm-text);
	font-family: var(--apm-font-heading);
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

[dir="rtl"] .apm-brand__title {
	font-family: var(--apm-font-ar);
	letter-spacing: 0;
}

.apm-brand__tagline {
	color: var(--apm-muted);
	font-size: 0.76rem;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.apm-nav {
	margin-inline-start: auto;
}

.apm-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apm-menu li {
	position: relative;
	margin: 0;
}

.apm-menu a {
	display: inline-flex;
	align-items: center;
	padding: 9px 12px;
	border-radius: var(--apm-radius-sm);
	color: var(--apm-text-soft);
	font-size: 0.92rem;
	font-weight: 600;
	white-space: nowrap;
}

@media (max-width: 1240px) {
	.apm-menu {
		gap: 1px;
	}

	.apm-menu a {
		padding: 8px 7px;
		font-size: 0.85rem;
	}

	.apm-brand__tagline {
		max-width: 230px;
	}
}

.apm-menu a:hover,
.apm-menu a:focus,
.apm-menu .current-menu-item > a,
.apm-menu .current_page_item > a {
	background: var(--apm-primary-soft);
	color: var(--apm-primary);
}

.apm-menu .sub-menu {
	position: absolute;
	inset-block-start: 100%;
	inset-inline-start: 0;
	min-width: 210px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius-sm);
	background: var(--apm-surface);
	box-shadow: var(--apm-shadow);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--apm-speed) var(--apm-ease), transform var(--apm-speed) var(--apm-ease), visibility var(--apm-speed);
	z-index: 5;
}

.apm-menu li:hover > .sub-menu,
.apm-menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.apm-menu .sub-menu a {
	display: block;
	width: 100%;
	padding: 8px 10px;
}

.apm-header__actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.apm-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--apm-border);
	border-radius: 50%;
	background: var(--apm-surface);
	color: var(--apm-text);
	transition: background var(--apm-speed) var(--apm-ease), color var(--apm-speed) var(--apm-ease), border-color var(--apm-speed) var(--apm-ease);
}

.apm-icon-btn:hover,
.apm-icon-btn:focus {
	background: var(--apm-primary);
	border-color: var(--apm-primary);
	color: #fff;
}

.apm-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius-sm);
	background: var(--apm-surface);
	color: var(--apm-text);
}

.apm-burger__box {
	display: flex;
	flex-direction: column;
	gap: 4px;
	width: 20px;
}

.apm-burger__box span {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform var(--apm-speed) var(--apm-ease), opacity var(--apm-speed) var(--apm-ease);
}

.apm-burger[aria-expanded="true"] .apm-burger__box span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.apm-burger[aria-expanded="true"] .apm-burger__box span:nth-child(2) {
	opacity: 0;
}

.apm-burger[aria-expanded="true"] .apm-burger__box span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   6. Search modal
   ------------------------------------------------------------------------- */
body.apm-modal-open {
	overflow: hidden;
}

.apm-search-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: 8vh 20px 20px;
}

.apm-search-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 22, 34, 0.62);
	backdrop-filter: blur(3px);
}

.apm-search-modal__panel {
	position: relative;
	width: 100%;
	max-width: 720px;
	padding: 22px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background: var(--apm-surface);
	box-shadow: var(--apm-shadow-lg);
}

.apm-search-modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
}

.apm-search-modal__title {
	margin: 0;
	font-size: 1.15rem;
}

.apm-search-form {
	display: flex;
	align-items: center;
	gap: 8px;
}

.apm-search-form__input {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	border: 1px solid var(--apm-border);
	border-radius: 999px;
	background: var(--apm-surface-alt);
	color: var(--apm-text);
}

.apm-search-form__input:focus {
	outline: none;
	border-color: var(--apm-primary);
	box-shadow: 0 0 0 3px rgba(27, 90, 132, 0.14);
}

.apm-search-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 11px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--apm-primary);
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
}

.apm-search-form__submit:hover,
.apm-search-form__submit:focus {
	background: var(--apm-primary-dark);
}

.apm-search-results {
	display: grid;
	gap: 4px;
	margin-top: 16px;
	max-height: 52vh;
	overflow-y: auto;
}

.apm-search-result {
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	gap: 12px;
	padding: 10px;
	border-radius: var(--apm-radius-sm);
}

.apm-search-result:hover,
.apm-search-result:focus {
	background: var(--apm-surface-alt);
}

.apm-search-result__thumb {
	width: 68px;
	height: 52px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--apm-primary-soft);
}

.apm-search-result__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.apm-search-result__title {
	margin: 0 0 3px;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.45;
}

.apm-search-result__meta {
	color: var(--apm-muted);
	font-size: 0.76rem;
}

.apm-search-hint,
.apm-search-empty {
	padding: 12px 4px;
	color: var(--apm-muted);
	font-size: 0.9rem;
}

.apm-search-all {
	display: inline-block;
	margin-top: 10px;
	font-size: 0.85rem;
	font-weight: 700;
}

/* -------------------------------------------------------------------------
   7. Ticker
   ------------------------------------------------------------------------- */
.apm-ticker {
	background: var(--apm-surface);
	border-block-end: 1px solid var(--apm-border);
}

.apm-ticker__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 44px;
	overflow: hidden;
}

.apm-ticker__label {
	display: inline-flex;
	align-items: center;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--apm-danger);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 800;
	white-space: nowrap;
}

.apm-ticker__viewport {
	position: relative;
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.apm-ticker__track {
	display: flex;
	align-items: center;
	gap: 34px;
	width: max-content;
	animation: apm-ticker-ltr 38s linear infinite;
}

.apm-ticker__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--apm-text-soft);
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
}

.apm-ticker__item::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--apm-primary);
}

.apm-ticker:hover .apm-ticker__track {
	animation-play-state: paused;
}

@keyframes apm-ticker-ltr {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

/* -------------------------------------------------------------------------
   8. Ad slots (CLS-safe reserved heights, hidden when empty)
   ------------------------------------------------------------------------- */
.apm-ad {
	margin-block: 22px;
}

.apm-header-ad {
	padding-block: 10px;
	background: var(--apm-surface);
	border-block-end: 1px solid var(--apm-border);
}

.apm-header-ad .apm-ad {
	margin-block: 4px;
}

.apm-ad__label {
	display: block;
	margin-bottom: 6px;
	color: var(--apm-muted);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
}

.apm-ad__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: var(--apm-radius-sm);
	background: var(--apm-surface-alt);
}

.apm-ad--header .apm-ad__inner {
	min-height: 90px;
}

.apm-ad--article-top .apm-ad__inner,
.apm-ad--article-middle .apm-ad__inner,
.apm-ad--article-bottom .apm-ad__inner {
	min-height: 280px;
}

.apm-ad--sidebar {
	position: sticky;
	top: 96px;
}

.apm-ad--sidebar .apm-ad__inner {
	min-height: 600px;
}

.apm-ad--sidebar .apm-ad__label {
	text-align: start;
}

/* -------------------------------------------------------------------------
   9. Hero
   ------------------------------------------------------------------------- */
.apm-hero {
	margin-bottom: 34px;
}

.apm-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 16px;
}

.apm-hero__main {
	position: relative;
	display: block;
	overflow: hidden;
	min-height: 380px;
	border-radius: var(--apm-radius);
	background: var(--apm-primary-dark);
}

.apm-hero__main img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--apm-ease);
}

.apm-hero__main:hover img {
	transform: scale(1.03);
}

.apm-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(6, 20, 32, 0.92) 8%, rgba(6, 20, 32, 0.45) 48%, rgba(6, 20, 32, 0.12) 100%);
}

.apm-hero__content {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 22px;
	color: #fff;
}

.apm-hero__cat {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--apm-primary);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 800;
}

.apm-hero__title {
	color: #fff;
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.35;
}

.apm-hero__title--sm {
	font-size: 0.98rem;
}

.apm-hero__excerpt {
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.88rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.apm-hero__meta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.76rem;
}

.apm-hero__side {
	display: grid;
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.apm-hero__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius-sm);
	background: var(--apm-surface);
	transition: border-color var(--apm-speed) var(--apm-ease), box-shadow var(--apm-speed) var(--apm-ease);
}

.apm-hero__item:hover,
.apm-hero__item:focus {
	border-color: var(--apm-primary);
	box-shadow: var(--apm-shadow-sm);
}

.apm-hero__item-thumb {
	position: relative;
	flex: 0 0 84px;
	width: 84px;
	height: 68px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--apm-primary-soft);
}

.apm-hero__item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.apm-hero__item-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.apm-hero__item .apm-hero__title {
	color: var(--apm-text);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.apm-hero__item .apm-hero__meta {
	color: var(--apm-muted);
}

.apm-thumb-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--apm-primary) 0%, var(--apm-primary-dark) 100%);
	color: rgba(255, 255, 255, 0.92);
	font-family: var(--apm-font-heading);
	font-size: 2.4rem;
	font-weight: 800;
}

.apm-hero__item-thumb .apm-thumb-placeholder,
.apm-mini__thumb .apm-thumb-placeholder {
	font-size: 1.4rem;
}

/* -------------------------------------------------------------------------
   10. Sections and cards
   ------------------------------------------------------------------------- */
.apm-section {
	margin-bottom: 36px;
}

.apm-section__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	padding-block-end: 10px;
	border-block-end: 2px solid var(--apm-border);
}

.apm-section__title {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	font-size: 1.22rem;
}

.apm-section__bullet {
	display: inline-block;
	width: 6px;
	height: 22px;
	border-radius: 3px;
	background: var(--apm-primary);
}

.apm-section__link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	color: var(--apm-muted);
	font-size: 0.82rem;
	font-weight: 700;
	white-space: nowrap;
}

.apm-section__link:hover,
.apm-section__link:focus {
	color: var(--apm-primary);
}

.apm-grid {
	display: grid;
	gap: 20px;
}

.apm-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apm-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.apm-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.apm-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background: var(--apm-surface);
	box-shadow: var(--apm-shadow-sm);
	transition: transform var(--apm-speed) var(--apm-ease), box-shadow var(--apm-speed) var(--apm-ease), border-color var(--apm-speed) var(--apm-ease);
}

.apm-card:hover,
.apm-card:focus-within {
	transform: translateY(-2px);
	border-color: rgba(27, 90, 132, 0.35);
	box-shadow: var(--apm-shadow);
}

.apm-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--apm-primary-soft);
}

.apm-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s var(--apm-ease);
}

.apm-card:hover .apm-card__media img {
	transform: scale(1.04);
}

.apm-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 16px 18px 18px;
}

.apm-card__cat {
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--apm-primary-soft);
	color: var(--apm-primary);
	font-size: 0.7rem;
	font-weight: 800;
}

.apm-card__title {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.45;
}

.apm-card__title a {
	color: var(--apm-text);
}

.apm-card__title a:hover,
.apm-card__title a:focus {
	color: var(--apm-primary);
}

.apm-card__excerpt {
	margin: 0;
	color: var(--apm-muted);
	font-size: 0.85rem;
	line-height: 1.65;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.apm-card__meta {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	padding-top: 4px;
	color: var(--apm-muted);
	font-size: 0.76rem;
}

/* -------------------------------------------------------------------------
   11. Sidebar and widgets
   ------------------------------------------------------------------------- */
.apm-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.apm-widget {
	padding: 18px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background: var(--apm-surface);
	box-shadow: var(--apm-shadow-sm);
}

.apm-widget__title {
	margin: 0 0 14px;
	padding-block-end: 10px;
	border-block-end: 2px solid var(--apm-border);
	font-size: 1rem;
}

.apm-widget p {
	color: var(--apm-text-soft);
	font-size: 0.88rem;
}

.apm-widget--about .apm-social {
	margin-top: 10px;
}

.apm-widget--about .apm-social__link {
	background: var(--apm-primary-soft);
	color: var(--apm-primary);
}

.apm-widget--about .apm-social__link:hover,
.apm-widget--about .apm-social__link:focus {
	background: var(--apm-primary);
	color: #fff;
}

.apm-mini-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.apm-mini {
	display: flex;
	align-items: center;
	gap: 11px;
}

.apm-mini__thumb {
	position: relative;
	flex: 0 0 66px;
	width: 66px;
	height: 56px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--apm-primary-soft);
}

.apm-mini__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.apm-mini__title {
	margin: 0 0 3px;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.5;
}

.apm-mini__title a {
	color: var(--apm-text);
}

.apm-mini__title a:hover,
.apm-mini__title a:focus {
	color: var(--apm-primary);
}

.apm-mini__meta {
	color: var(--apm-muted);
	font-size: 0.72rem;
}

.apm-cat-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.apm-cat-list li {
	margin: 0;
	border-block-end: 1px solid var(--apm-border);
}

.apm-cat-list li:last-child {
	border-block-end: 0;
}

.apm-cat-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 9px 0;
	color: var(--apm-text-soft);
	font-size: 0.88rem;
	font-weight: 600;
}

.apm-cat-list a:hover,
.apm-cat-list a:focus {
	color: var(--apm-primary);
}

.apm-cat-list__count {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--apm-surface-alt);
	color: var(--apm-muted);
	font-size: 0.72rem;
}

/* -------------------------------------------------------------------------
   12. Breadcrumbs, article and single post elements
   ------------------------------------------------------------------------- */
.apm-breadcrumb {
	margin-bottom: 16px;
}

.apm-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--apm-muted);
	font-size: 0.78rem;
}

.apm-breadcrumb li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
}

.apm-breadcrumb li + li::before {
	content: "/";
	color: var(--apm-border);
}

.apm-breadcrumb a {
	color: var(--apm-muted);
}

.apm-breadcrumb a:hover,
.apm-breadcrumb a:focus {
	color: var(--apm-primary);
}

.apm-entry {
	padding: 24px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background: var(--apm-surface);
	box-shadow: var(--apm-shadow-sm);
}

.apm-entry__head {
	margin-bottom: 18px;
}

.apm-entry__cat {
	display: inline-block;
	margin-bottom: 10px;
	padding: 3px 11px;
	border-radius: 999px;
	background: var(--apm-primary-soft);
	color: var(--apm-primary);
	font-size: 0.72rem;
	font-weight: 800;
}

.apm-entry__title {
	margin: 0 0 10px;
	font-size: 2rem;
	line-height: 1.3;
}

.apm-entry__lead {
	margin: 0 0 12px;
	color: var(--apm-text-soft);
	font-size: 1rem;
}

.apm-entry__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	color: var(--apm-muted);
	font-size: 0.78rem;
}

.apm-entry__author {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--apm-text-soft);
	font-weight: 600;
}

.apm-entry__avatar,
.apm-entry__author img {
	width: 28px;
	height: 28px;
	border-radius: 50%;
}

.apm-entry__thumb {
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: var(--apm-radius-sm);
}

.apm-entry__thumb img {
	display: block;
	width: 100%;
	height: auto;
}

.apm-entry__content {
	font-size: 1.02rem;
	line-height: 1.85;
	color: var(--apm-text);
}

.apm-entry__content > h2 {
	margin-top: 1.6em;
	padding-block-end: 6px;
	border-block-end: 1px solid var(--apm-border);
	font-size: 1.4rem;
	scroll-margin-top: 100px;
}

.apm-entry__content > h3 {
	margin-top: 1.35em;
	font-size: 1.14rem;
	scroll-margin-top: 100px;
}

.apm-entry__content ul,
.apm-entry__content ol {
	background: var(--apm-surface-alt);
	padding-block: 14px;
	padding-inline: 2.2em 18px;
	border-radius: var(--apm-radius-sm);
	border-inline-start: 3px solid var(--apm-primary);
}

.apm-entry__content img {
	border-radius: var(--apm-radius-sm);
}

.apm-entry__content blockquote {
	margin: 1.4em 0;
	padding: 14px 18px;
	border-inline-start: 4px solid var(--apm-primary);
	background: var(--apm-primary-soft);
	border-radius: 0 var(--apm-radius-sm) var(--apm-radius-sm) 0;
	font-style: italic;
}

.apm-entry__footer {
	margin-top: 26px;
	padding-top: 18px;
	border-block-start: 1px solid var(--apm-border);
}

.apm-page .apm-entry__title {
	font-size: 1.8rem;
}

.apm-page-form {
	margin-top: 26px;
	padding: 20px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background: var(--apm-surface-alt);
}

.apm-toc {
	margin: 0 0 22px;
	padding: 16px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius-sm);
	background: var(--apm-surface-alt);
}

.apm-toc__title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 0.96rem;
}

.apm-toc__list {
	margin: 0;
	padding-inline-start: 1.2em;
	color: var(--apm-text-soft);
}

.apm-toc__list a {
	color: var(--apm-text-soft);
	font-size: 0.9rem;
}

.apm-toc__list a:hover,
.apm-toc__list a:focus {
	color: var(--apm-primary);
}

.apm-toc__item--sub {
	margin-inline-start: 12px;
	list-style: circle;
}

.apm-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.apm-share__title {
	margin-inline-end: 4px;
	color: var(--apm-text-soft);
	font-size: 0.82rem;
	font-weight: 700;
}

.apm-share__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border: 1px solid var(--apm-border);
	border-radius: 999px;
	background: var(--apm-surface);
	color: var(--apm-text-soft);
	font-size: 0.78rem;
	font-weight: 600;
}

.apm-share__btn:hover,
.apm-share__btn:focus {
	background: var(--apm-primary);
	border-color: var(--apm-primary);
	color: #fff;
}

.apm-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 16px;
}

.apm-author {
	display: flex;
	gap: 16px;
	margin-top: 26px;
	padding: 18px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background: var(--apm-surface-alt);
}

.apm-author__avatar img {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	border: 3px solid var(--apm-surface);
}

.apm-author__name {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0 0 2px;
	font-size: 1.05rem;
}

.apm-verified {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--apm-primary);
	color: #fff;
}

.apm-author__role {
	margin: 0 0 6px;
	color: var(--apm-primary);
	font-size: 0.76rem;
	font-weight: 700;
}

.apm-author__bio {
	margin: 0 0 8px;
	color: var(--apm-text-soft);
	font-size: 0.88rem;
}

.apm-author__link {
	font-size: 0.82rem;
	font-weight: 700;
}

.apm-author__social {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.apm-author__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--apm-primary-soft);
	color: var(--apm-primary);
}

.apm-author__social a:hover,
.apm-author__social a:focus {
	background: var(--apm-primary);
	color: #fff;
}

.apm-related {
	margin-top: 28px;
}

.apm-related .apm-section__head {
	margin-bottom: 14px;
}

/* -------------------------------------------------------------------------
   13. Archive, search, 404, pagination
   ------------------------------------------------------------------------- */
.apm-archive-head {
	margin-bottom: 22px;
	padding: 20px 22px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background: var(--apm-surface);
	box-shadow: var(--apm-shadow-sm);
}

.apm-archive__title {
	margin: 0 0 6px;
	font-size: 1.6rem;
}

.apm-archive__title span {
	color: var(--apm-primary);
}

.apm-archive__desc {
	margin: 0 0 6px;
	color: var(--apm-text-soft);
	font-size: 0.92rem;
}

.apm-archive__count {
	margin: 0;
	color: var(--apm-muted);
	font-size: 0.78rem;
}

.apm-search-inline {
	max-width: 520px;
	margin-bottom: 24px;
}

.apm-empty {
	padding: 34px 22px;
	border: 1px dashed var(--apm-border);
	border-radius: var(--apm-radius);
	background: var(--apm-surface);
	text-align: center;
}

.apm-empty p {
	color: var(--apm-muted);
}

.apm-404 {
	padding: 34px 24px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background: var(--apm-surface);
	text-align: center;
	box-shadow: var(--apm-shadow-sm);
}

.apm-404__code {
	margin: 0;
	color: var(--apm-primary-soft);
	font-family: var(--apm-font-heading);
	font-size: 5rem;
	font-weight: 800;
	line-height: 1;
}

[data-theme="dark"] .apm-404__code {
	color: var(--apm-primary-dark);
}

.apm-404__title {
	margin: 8px 0 6px;
	font-size: 1.5rem;
}

.apm-404__text {
	max-width: 520px;
	margin: 0 auto 18px;
	color: var(--apm-muted);
	font-size: 0.94rem;
}

.apm-404__search {
	max-width: 460px;
	margin: 0 auto 18px;
}

.apm-pagination {
	margin-top: 28px;
}

.apm-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apm-pagination li {
	margin: 0;
}

.apm-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius-sm);
	background: var(--apm-surface);
	color: var(--apm-text-soft);
	font-size: 0.85rem;
	font-weight: 700;
}

.apm-pagination .page-numbers:hover,
.apm-pagination .page-numbers:focus,
.apm-pagination .page-numbers.current {
	background: var(--apm-primary);
	border-color: var(--apm-primary);
	color: #fff;
}

.apm-page-links {
	margin-top: 20px;
	font-weight: 700;
}

/* -------------------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------------------- */
.apm-footer {
	background: var(--apm-primary-dark);
	color: rgba(255, 255, 255, 0.78);
}

[data-theme="dark"] .apm-footer {
	background: #0a1a27;
}

.apm-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 34px;
	padding-block: 42px 30px;
}

.apm-footer__brand {
	display: inline-block;
	margin-bottom: 10px;
	color: #fff;
	font-family: var(--apm-font-heading);
	font-size: 1.35rem;
	font-weight: 800;
}

[dir="rtl"] .apm-footer__brand {
	font-family: var(--apm-font-ar);
}

.apm-footer__about {
	max-width: 40ch;
	margin: 0 0 14px;
	font-size: 0.88rem;
	line-height: 1.8;
}

.apm-footer__title {
	margin: 0 0 12px;
	color: #fff;
	font-size: 0.98rem;
}

.apm-footer__menu {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apm-footer__menu li {
	margin: 0;
}

.apm-footer__menu a {
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.86rem;
}

.apm-footer__menu a:hover,
.apm-footer__menu a:focus {
	color: #fff;
}

.apm-footer .apm-social__link {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.apm-footer .apm-social__link:hover,
.apm-footer .apm-social__link:focus {
	background: var(--apm-primary-light);
}

.apm-footer__bottom {
	border-block-start: 1px solid rgba(255, 255, 255, 0.12);
}

.apm-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-block: 16px;
}

.apm-footer__bottom p {
	margin: 0;
	font-size: 0.78rem;
}

.apm-footer__note {
	max-width: 60ch;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.72rem;
	text-align: end;
}

.apm-back-top {
	position: fixed;
	inset-inline-end: 18px;
	bottom: 18px;
	z-index: 80;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--apm-border);
	border-radius: 50%;
	background: var(--apm-surface);
	color: var(--apm-text);
	box-shadow: var(--apm-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--apm-speed) var(--apm-ease), transform var(--apm-speed) var(--apm-ease), visibility var(--apm-speed);
}

.apm-back-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* -------------------------------------------------------------------------
   15. WordPress core helpers
   ------------------------------------------------------------------------- */
.alignwide {
	margin-inline: -20px;
	max-width: calc(100% + 40px);
}

.alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;
}

.wp-block-image img {
	border-radius: var(--apm-radius-sm);
}

.apm-widget .wp-block-search__button,
.apm-widget .search-submit {
	border: 0;
	border-radius: 999px;
	background: var(--apm-primary);
	color: #fff;
}

/* -------------------------------------------------------------------------
   16. Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 1080px) {
	.apm-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.apm-sidebar {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.apm-ad--sidebar {
		position: static;
	}
}

@media (max-width: 1140px) {
	.apm-burger {
		display: inline-flex;
	}

	.apm-nav {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		display: none;
		padding: 12px 20px 20px;
		border-block-start: 1px solid var(--apm-border);
		background: var(--apm-surface);
		box-shadow: var(--apm-shadow);
		max-height: 72vh;
		overflow-y: auto;
		z-index: 95;
	}

	.apm-nav.is-open {
		display: block;
	}

	.apm-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.apm-menu a {
		padding: 11px 12px;
	}

	.apm-menu .sub-menu {
		position: static;
		display: block;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		box-shadow: none;
		padding-inline-start: 16px;
		background: transparent;
	}

	.apm-hero__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.apm-hero__main {
		min-height: 320px;
	}

	.apm-hero__side {
		grid-template-rows: none;
		grid-auto-rows: auto;
	}
}

@media (max-width: 760px) {
	.apm-topbar__inner {
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		padding-block: 6px;
	}

	.apm-topbar__date {
		display: none;
	}

	.apm-theme-toggle__text {
		display: none;
	}

	.apm-brand__tagline {
		display: none;
	}

	.apm-brand__title {
		font-size: 1.22rem;
	}

	.apm-grid--2,
	.apm-grid--3,
	.apm-grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.apm-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}

	.apm-entry {
		padding: 18px;
	}

	.apm-entry__title {
		font-size: 1.6rem;
	}

	.apm-entry__content {
		font-size: 0.98rem;
	}

	.apm-header__inner {
		min-height: 64px;
	}

	.apm-form__row {
		grid-template-columns: minmax(0, 1fr);
	}

	.apm-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.apm-footer__note {
		text-align: start;
	}

	.apm-ad--article-top .apm-ad__inner,
	.apm-ad--article-middle .apm-ad__inner,
	.apm-ad--article-bottom .apm-ad__inner {
		min-height: 250px;
	}

	.apm-ad--sidebar .apm-ad__inner {
		min-height: 250px;
	}

	.apm-ticker__label {
		font-size: 0.68rem;
		padding: 3px 9px;
	}
}

@media (max-width: 520px) {
	.apm-hero__main {
		min-height: 280px;
	}

	.apm-hero__title {
		font-size: 1.28rem;
	}

	.apm-author {
		flex-direction: column;
	}

	.apm-search-modal {
		padding: 4vh 12px 12px;
	}

	.apm-search-form {
		flex-wrap: wrap;
	}

	.apm-search-form__submit {
		width: 100%;
		justify-content: center;
	}

	.apm-header-ad .apm-ad__inner {
		min-height: 70px;
	}
}

/* -------------------------------------------------------------------------
   17. Homepage featured slider
   ------------------------------------------------------------------------- */
.apm-hero--home {
	margin-bottom: 38px;
}

.apm-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.78fr) minmax(0, 1fr);
	gap: 18px;
	align-items: stretch;
}

.apm-slider {
	position: relative;
	min-height: 486px;
	overflow: hidden;
	border-radius: 20px;
	background: #0b1c2b;
	box-shadow: 0 34px 74px -42px rgba(9, 30, 48, 0.82);
	isolation: isolate;
}

.apm-slider::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 6;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: inherit;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	pointer-events: none;
}

.apm-slider__viewport {
	position: absolute;
	inset: 0;
}

.apm-slide {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: scale(1.035);
	transition: opacity 0.85s cubic-bezier(0.22, 0.61, 0.36, 1), transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.85s;
	will-change: opacity, transform;
}

.apm-slide.is-active {
	z-index: 2;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: scale(1);
}

.apm-slide__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
	background: linear-gradient(135deg, #12405f 0%, #081a28 100%);
}

.apm-slide__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
}

.apm-slide.is-active .apm-slide__media img {
	animation: apm-slider-zoom 10s ease-out both;
}

@keyframes apm-slider-zoom {
	from {
		transform: scale(1.02);
	}
	to {
		transform: scale(1.12);
	}
}

.apm-slide__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(6, 20, 32, 0.05) 0%, rgba(6, 20, 32, 0.2) 42%, rgba(6, 20, 32, 0.86) 100%),
		linear-gradient(90deg, rgba(6, 20, 32, 0.62) 0%, rgba(6, 20, 32, 0) 64%);
}

[dir="rtl"] .apm-slide__shade {
	background:
		linear-gradient(180deg, rgba(6, 20, 32, 0.05) 0%, rgba(6, 20, 32, 0.2) 42%, rgba(6, 20, 32, 0.86) 100%),
		linear-gradient(270deg, rgba(6, 20, 32, 0.62) 0%, rgba(6, 20, 32, 0) 64%);
}

.apm-slide__content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	max-width: 640px;
	margin-block-start: auto;
	padding: 34px clamp(20px, 3vw, 34px) 84px;
	color: #fff;
	pointer-events: none;
}

.apm-slide__content > * {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.apm-slide.is-active .apm-slide__content > * {
	opacity: 1;
	transform: translateY(0);
}

.apm-slide.is-active .apm-slide__content > :nth-child(1) {
	transition-delay: 0.18s;
}

.apm-slide.is-active .apm-slide__content > :nth-child(2) {
	transition-delay: 0.26s;
}

.apm-slide.is-active .apm-slide__content > :nth-child(3) {
	transition-delay: 0.34s;
}

.apm-slide.is-active .apm-slide__content > :nth-child(4) {
	transition-delay: 0.42s;
}

.apm-slide__eyebrow {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.apm-slide__badge {
	display: inline-flex;
	align-items: center;
	padding: 5px 11px;
	border-radius: 999px;
	background: rgba(180, 83, 9, 0.94);
	color: #fff;
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	box-shadow: 0 10px 24px -14px rgba(0, 0, 0, 0.9);
}

.apm-slide__cat {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.apm-slide__cat::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 2px;
	margin-inline-end: 8px;
	vertical-align: middle;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
}

.apm-slide__title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.5rem, 2.6vw, 2.35rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.01em;
	text-wrap: balance;
	text-shadow: 0 2px 26px rgba(4, 14, 24, 0.55);
}

.apm-slide__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.94rem;
	line-height: 1.75;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.apm-slide__bottom {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-block-start: 2px;
}

.apm-slide__meta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.78rem;
}

.apm-slide__sep {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.7;
}

.apm-slide__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 700;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.apm-slider:hover .apm-slide.is-active .apm-slide__cta,
.apm-slide__link:focus-visible ~ .apm-slide__content .apm-slide__cta {
	border-color: #fff;
	background: #fff;
	color: var(--apm-primary-dark);
	transform: translateX(2px);
}

.apm-slide__cta svg {
	transition: transform 0.3s ease;
}

.apm-slider:hover .apm-slide.is-active .apm-slide__cta svg {
	transform: translateX(3px);
}

[dir="rtl"] .apm-slider:hover .apm-slide.is-active .apm-slide__cta {
	transform: translateX(-2px);
}

[dir="rtl"] .apm-slide__cta svg {
	transform: scaleX(-1);
}

[dir="rtl"] .apm-slider:hover .apm-slide.is-active .apm-slide__cta svg {
	transform: scaleX(-1) translateX(3px);
}

.apm-slide__link {
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}

.apm-slide__link:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -5px;
}

.apm-slider__ui {
	position: absolute;
	inset-inline: clamp(16px, 2.4vw, 26px);
	bottom: 18px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 14px;
}

.apm-slider__dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

.apm-slider__dot {
	width: 26px;
	height: 4px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.34);
	cursor: pointer;
	transition: width 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.3s ease;
}

.apm-slider__dot:hover,
.apm-slider__dot:focus-visible {
	background: rgba(255, 255, 255, 0.68);
}

.apm-slider__dot.is-active {
	width: 54px;
	background: #fff;
}

.apm-slider__counter {
	margin-inline-start: auto;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.74rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.14em;
}

.apm-slider__counter-current {
	color: #fff;
	font-weight: 800;
}

.apm-slider__counter-sep {
	margin-inline: 4px;
	opacity: 0.5;
}

.apm-slider__arrows {
	display: flex;
	gap: 8px;
}

.apm-slider__arrow {
	display: inline-grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.26);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	color: #fff;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.apm-slider__arrow:hover,
.apm-slider__arrow:focus-visible {
	border-color: #fff;
	background: #fff;
	color: var(--apm-primary-dark);
	transform: translateY(-1px);
}

[dir="rtl"] .apm-slider__arrow svg {
	transform: scaleX(-1);
}

.apm-slider__progress {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 5;
	height: 3px;
	background: rgba(255, 255, 255, 0.14);
}

.apm-slider__progress span {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--apm-primary-light) 0%, #f0b45f 100%);
	transform: scaleX(0);
	transform-origin: left center;
}

[dir="rtl"] .apm-slider__progress span {
	background: linear-gradient(270deg, var(--apm-primary-light) 0%, #f0b45f 100%);
	transform-origin: right center;
}

.apm-slider__progress span.is-running {
	animation: apm-slider-progress var(--apm-slider-duration, 7000ms) linear forwards;
}

.apm-slider.is-paused .apm-slider__progress span {
	animation-play-state: paused;
}

@keyframes apm-slider-progress {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

/* Side list */
.apm-hero__side {
	display: grid;
	grid-template-rows: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.apm-hero__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	overflow: hidden;
	padding: 12px;
	border: 1px solid var(--apm-border);
	border-radius: 14px;
	background: var(--apm-surface);
	box-shadow: var(--apm-shadow-sm);
	transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.apm-hero__item::before {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 3px;
	background: linear-gradient(180deg, var(--apm-primary-light) 0%, var(--apm-primary) 100%);
	transform: scaleY(0);
	transform-origin: top center;
	transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.apm-hero__item:hover,
.apm-hero__item:focus-visible {
	border-color: rgba(27, 90, 132, 0.35);
	box-shadow: var(--apm-shadow);
	transform: translateY(-2px);
}

.apm-hero__item:hover::before,
.apm-hero__item:focus-visible::before {
	transform: scaleY(1);
}

.apm-hero__item-thumb {
	position: relative;
	display: block;
	flex: 0 0 108px;
	width: 108px;
	height: 100%;
	min-height: 78px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--apm-primary-soft);
}

.apm-hero__item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.apm-hero__item:hover .apm-hero__item-thumb img {
	transform: scale(1.07);
}

.apm-hero__item-index {
	position: absolute;
	inset-block-end: 6px;
	inset-inline-start: 6px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	padding: 2px 6px;
	border-radius: 999px;
	background: rgba(6, 20, 32, 0.72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: #fff;
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.06em;
}

.apm-hero__item-body {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 0;
}

.apm-hero__item .apm-hero__title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--apm-text);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.45;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	transition: color 0.25s ease;
}

.apm-hero__item:hover .apm-hero__title {
	color: var(--apm-primary);
}

.apm-hero__item .apm-hero__meta {
	color: var(--apm-muted);
	font-size: 0.72rem;
}

.apm-hero__item-cat {
	color: var(--apm-primary);
	font-size: 0.66rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

[data-theme="dark"] .apm-hero__item {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .apm-hero__item .apm-hero__title {
	color: #e8eef5;
}

/* Glass header and footer polish */
.apm-header {
	border-block-end: 1px solid rgba(15, 23, 42, 0.08);
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(18px) saturate(165%);
	backdrop-filter: blur(18px) saturate(165%);
	box-shadow: 0 12px 34px -28px rgba(15, 23, 42, 0.65);
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .apm-header {
	border-block-end-color: rgba(255, 255, 255, 0.08);
	background: rgba(9, 20, 30, 0.82);
}

.apm-header.is-scrolled {
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 18px 40px -30px rgba(15, 23, 42, 0.7);
}

[data-theme="dark"] .apm-header.is-scrolled {
	background: rgba(9, 20, 30, 0.94);
}

.apm-header__main {
	background: transparent;
}

.apm-brand__mark {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: linear-gradient(142deg, var(--apm-primary-light) 0%, var(--apm-primary-dark) 100%);
	color: #fff;
	font-family: var(--apm-font-heading);
	font-size: 1.12rem;
	font-weight: 800;
	line-height: 1;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 12px 24px -14px rgba(18, 64, 95, 0.85);
	transition: width 0.3s ease, height 0.3s ease, border-radius 0.3s ease, font-size 0.3s ease;
}

.apm-header.is-compact .apm-brand__mark {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	font-size: 1rem;
}

.apm-footer {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(120% 130% at 12% 0%, #1a4462 0%, var(--apm-primary-dark) 46%, #08202f 100%);
}

[data-theme="dark"] .apm-footer {
	background: radial-gradient(120% 130% at 12% 0%, #12354e 0%, #081a28 55%, #05121c 100%);
}

.apm-footer > .apm-container {
	position: relative;
	z-index: 1;
}

.apm-footer__watermark {
	position: absolute;
	inset-inline-end: -2%;
	top: 46%;
	z-index: 0;
	color: rgba(255, 255, 255, 0.045);
	font-family: var(--apm-font-heading);
	font-size: clamp(4rem, 13vw, 11rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
	white-space: nowrap;
	transform: translateY(-50%);
	pointer-events: none;
	user-select: none;
}

[dir="rtl"] .apm-footer__watermark {
	font-family: var(--apm-font-ar);
	letter-spacing: 0;
}

.apm-footer__grid {
	gap: 20px;
	padding-block: 48px 34px;
}

.apm-footer__col {
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.045);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.apm-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.apm-footer__mark {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: linear-gradient(142deg, var(--apm-primary-light) 0%, #0c2d43 100%);
	color: #fff;
	font-family: var(--apm-font-heading);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 12px 26px -16px rgba(0, 0, 0, 0.9);
}

.apm-footer__title {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 14px;
}

.apm-footer__title::before {
	content: "";
	width: 18px;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--apm-primary-light) 0%, #f0b45f 100%);
}

.apm-footer__menu a {
	display: inline-block;
	transition: color 0.25s ease, transform 0.25s ease;
}

.apm-footer__menu a:hover,
.apm-footer__menu a:focus-visible {
	transform: translateX(3px);
}

[dir="rtl"] .apm-footer__menu a:hover,
[dir="rtl"] .apm-footer__menu a:focus-visible {
	transform: translateX(-3px);
}

.apm-footer__bottom {
	border-block-start: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(4, 14, 22, 0.32);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

@media (max-width: 1100px) {
	.apm-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.apm-slider {
		min-height: 430px;
	}

	.apm-hero__side {
		grid-template-rows: none;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.apm-hero__item {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
		padding: 10px;
	}

	.apm-hero__item-thumb {
		flex: 0 0 auto;
		width: 100%;
		height: 118px;
	}
}

@media (max-width: 760px) {
	.apm-slider {
		min-height: 400px;
		border-radius: 16px;
	}

	.apm-slider__ui {
		inset-inline: 14px;
		bottom: 14px;
	}

	.apm-slider__counter {
		display: none;
	}

	.apm-slider__arrows {
		margin-inline-start: auto;
	}

	.apm-slider__arrow {
		width: 34px;
		height: 34px;
	}

	.apm-slide__content {
		padding-bottom: 74px;
	}

	.apm-slide__title {
		font-size: 1.5rem;
	}

	.apm-hero__side {
		grid-template-columns: minmax(0, 1fr);
	}

	.apm-hero__item {
		flex-direction: row;
		align-items: center;
	}

	.apm-hero__item-thumb {
		flex: 0 0 96px;
		width: 96px;
		height: 74px;
	}

	.apm-footer__col {
		padding: 18px;
	}
}

@media (max-width: 520px) {
	.apm-slider {
		min-height: 360px;
	}

	.apm-slide__content {
		padding: 18px 16px 70px;
	}

	.apm-slide__title {
		font-size: 1.26rem;
		line-height: 1.42;
	}

	.apm-slide__excerpt {
		font-size: 0.86rem;
	}

	.apm-slide__badge {
		font-size: 0.6rem;
	}

	.apm-slider__dot {
		width: 18px;
	}

	.apm-slider__dot.is-active {
		width: 38px;
	}

	.apm-footer__watermark {
		top: 40%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.apm-slide,
	.apm-slide__content > *,
	.apm-slider__dot,
	.apm-hero__item,
	.apm-hero__item-thumb img {
		transition-duration: 0.01ms !important;
	}

	.apm-slide.is-active .apm-slide__media img {
		animation: none;
	}

	.apm-slider__progress span.is-running {
		animation: none;
		transform: scaleX(1);
	}
}

/* -------------------------------------------------------------------------
   17. Motion and print
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.apm-ticker__track {
		animation: none;
		flex-wrap: wrap;
		width: auto;
	}
}

@media print {
	.apm-header,
	.apm-footer,
	.apm-sidebar,
	.apm-back-top,
	.apm-ad,
	.apm-share,
	.apm-related {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.apm-entry {
		border: 0;
		box-shadow: none;
		padding: 0;
	}
}

/* =========================================================================
   18. Magazine homepage blocks
   ========================================================================= */
.apm-home-layout {
	padding-top: 22px;
}

.apm-topics {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-bottom: 22px;
	padding: 12px 16px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background: linear-gradient(90deg, var(--apm-primary-soft), var(--apm-surface) 55%);
}

.apm-topics__label {
	display: inline-flex;
	align-items: center;
	padding-inline-end: 14px;
	border-inline-end: 1px solid var(--apm-border);
	color: var(--apm-text);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.apm-topics__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apm-topics__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 6px 12px;
	border: 1px solid var(--apm-border);
	border-radius: 999px;
	background: var(--apm-surface);
	color: var(--apm-text-soft);
	font-size: 0.8rem;
	font-weight: 700;
	transition: border-color var(--apm-speed) var(--apm-ease), color var(--apm-speed) var(--apm-ease), background var(--apm-speed) var(--apm-ease);
}

.apm-topics__item:hover,
.apm-topics__item:focus {
	border-color: var(--apm-primary);
	background: var(--apm-primary);
	color: #fff;
}

.apm-topics__count {
	padding: 1px 6px;
	border-radius: 999px;
	background: var(--apm-surface-alt);
	color: var(--apm-muted);
	font-size: 0.68rem;
	font-weight: 700;
}

.apm-topics__item:hover .apm-topics__count,
.apm-topics__item:focus .apm-topics__count {
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
}

/* Hero refinements */
.apm-hero--home .apm-hero__main {
	min-height: 420px;
}

.apm-hero__badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 4px;
	background: var(--apm-accent);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.apm-hero__item-cat {
	color: var(--apm-primary);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.apm-hero__item .apm-hero__title {
	font-weight: 700;
}

/* Editor’s picks */
.apm-picks {
	margin-bottom: 38px;
}

.apm-picks__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.apm-pick {
	display: flex;
	overflow: hidden;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background: var(--apm-surface);
	box-shadow: var(--apm-shadow-sm);
	transition: transform var(--apm-speed) var(--apm-ease), box-shadow var(--apm-speed) var(--apm-ease), border-color var(--apm-speed) var(--apm-ease);
}

.apm-pick:hover,
.apm-pick:focus {
	transform: translateY(-2px);
	border-color: rgba(27, 90, 132, 0.35);
	box-shadow: var(--apm-shadow);
}

.apm-pick--lead {
	grid-row: span 2;
	flex-direction: column;
}

.apm-pick__media {
	position: relative;
	display: block;
	flex: 0 0 132px;
	overflow: hidden;
	background: var(--apm-primary-soft);
}

.apm-pick--lead .apm-pick__media {
	flex: 0 0 auto;
	aspect-ratio: 16 / 9;
}

.apm-pick__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--apm-ease);
}

.apm-pick:hover .apm-pick__media img {
	transform: scale(1.04);
}

.apm-pick__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	min-width: 0;
	padding: 14px 16px;
}

.apm-pick--lead .apm-pick__body {
	padding: 18px 20px 20px;
}

.apm-pick__cat {
	padding: 2px 9px;
	border-radius: 999px;
	background: var(--apm-primary-soft);
	color: var(--apm-primary);
	font-size: 0.68rem;
	font-weight: 800;
}

.apm-pick__title {
	color: var(--apm-text);
	font-family: var(--apm-font-heading);
	font-size: 0.98rem;
	font-weight: 800;
	line-height: 1.45;
}

.apm-pick--lead .apm-pick__title {
	font-size: 1.45rem;
	line-height: 1.35;
}

.apm-pick__excerpt {
	margin: 2px 0;
	color: var(--apm-muted);
	font-size: 0.88rem;
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.apm-pick__meta {
	margin-top: auto;
	color: var(--apm-muted);
	font-size: 0.74rem;
}

/* Category feature blocks */
.apm-feature {
	margin-bottom: 32px;
	padding: 22px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background:
		radial-gradient(circle at 100% 0, rgba(27, 90, 132, 0.08), transparent 42%),
		linear-gradient(180deg, var(--apm-surface), var(--apm-surface-alt));
	box-shadow: var(--apm-shadow-sm);
}

.apm-feature__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
	padding-block-end: 12px;
	border-block-end: 1px solid var(--apm-border);
}

.apm-feature__eyebrow {
	display: block;
	margin-bottom: 4px;
	color: var(--apm-accent);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.apm-feature__title {
	margin: 0 0 4px;
	font-size: 1.45rem;
}

.apm-feature__title a {
	color: var(--apm-text);
}

.apm-feature__title a:hover,
.apm-feature__title a:focus {
	color: var(--apm-primary);
}

.apm-feature__desc {
	max-width: 62ch;
	margin: 0;
	color: var(--apm-muted);
	font-size: 0.85rem;
	line-height: 1.65;
}

.apm-feature__body {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	grid-auto-rows: min-content;
	gap: 8px 22px;
}

.apm-feature__lead {
	grid-column: 1;
	grid-row: 1 / span 3;
	overflow: hidden;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius-sm);
	background: var(--apm-surface);
	transition: box-shadow var(--apm-speed) var(--apm-ease), border-color var(--apm-speed) var(--apm-ease);
}

.apm-feature__lead:hover {
	border-color: rgba(27, 90, 132, 0.35);
	box-shadow: var(--apm-shadow);
}

.apm-feature__media {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--apm-primary-soft);
}

.apm-feature__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s var(--apm-ease);
}

.apm-feature__lead:hover .apm-feature__media img {
	transform: scale(1.03);
}

.apm-feature__content {
	padding: 16px 18px 18px;
}

.apm-feature__lead-title {
	margin: 0 0 8px;
	font-size: 1.28rem;
	line-height: 1.4;
}

.apm-feature__lead-title a {
	color: var(--apm-text);
}

.apm-feature__lead-title a:hover,
.apm-feature__lead-title a:focus {
	color: var(--apm-primary);
}

.apm-feature__excerpt {
	margin: 0 0 10px;
	color: var(--apm-muted);
	font-size: 0.88rem;
	line-height: 1.7;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.apm-feature__meta {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--apm-muted);
	font-size: 0.75rem;
}

.apm-feature__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	border-block-end: 1px solid var(--apm-border);
}

.apm-feature__item:last-child {
	border-block-end: 0;
}

.apm-feature__index {
	flex: 0 0 auto;
	color: var(--apm-primary-soft);
	font-family: var(--apm-font-heading);
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
}

[data-theme="dark"] .apm-feature__index {
	color: var(--apm-primary-dark);
}

.apm-feature__item-body {
	flex: 1;
	min-width: 0;
}

.apm-feature__item-title {
	margin: 0 0 3px;
	font-size: 0.9rem;
	line-height: 1.5;
}

.apm-feature__item-title a {
	color: var(--apm-text);
}

.apm-feature__item-title a:hover,
.apm-feature__item-title a:focus {
	color: var(--apm-primary);
}

.apm-feature__item-meta {
	color: var(--apm-muted);
	font-size: 0.72rem;
}

.apm-feature__item-thumb {
	position: relative;
	flex: 0 0 74px;
	width: 74px;
	height: 62px;
	overflow: hidden;
	border-radius: 6px;
	background: var(--apm-primary-soft);
}

.apm-feature__item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.apm-feature--flip .apm-feature__lead {
	grid-column: 2;
	grid-row: 1 / span 3;
}

.apm-feature--flip .apm-feature__item {
	grid-column: 1;
}


/* Newsletter band */
.apm-cta {
	margin: 12px 0 38px;
	padding: 30px 32px;
	overflow: hidden;
	border-radius: var(--apm-radius);
	background:
		radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.18), transparent 38%),
		radial-gradient(circle at 6% 92%, rgba(255, 255, 255, 0.12), transparent 34%),
		linear-gradient(120deg, var(--apm-primary-dark), var(--apm-primary));
	color: #fff;
	box-shadow: var(--apm-shadow);
}

.apm-cta__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
}

.apm-cta__copy {
	max-width: 60ch;
}

.apm-cta__eyebrow {
	display: block;
	margin-bottom: 6px;
	color: rgba(255, 255, 255, 0.7);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.apm-cta__title {
	margin: 0 0 8px;
	color: #fff;
	font-size: 1.55rem;
}

.apm-cta__text {
	margin: 0;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.92rem;
	line-height: 1.75;
}

.apm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--apm-primary);
	color: #fff;
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: transform var(--apm-speed) var(--apm-ease), background var(--apm-speed) var(--apm-ease), color var(--apm-speed) var(--apm-ease);
}

.apm-btn:hover,
.apm-btn:focus {
	transform: translateY(-1px);
	background: var(--apm-primary-dark);
	color: #fff;
}

.apm-btn--light {
	background: #fff;
	color: var(--apm-primary-dark);
	white-space: nowrap;
}

.apm-btn--light:hover,
.apm-btn--light:focus {
	background: var(--apm-surface-alt);
	color: var(--apm-primary-dark);
}

.apm-btn--small {
	padding: 8px 16px;
	font-size: 0.8rem;
}

/* Statistics */
.apm-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	margin-bottom: 10px;
	border: 1px solid var(--apm-border);
	border-radius: var(--apm-radius);
	background: var(--apm-border);
}

.apm-stats__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	padding: 20px 14px;
	background: var(--apm-surface);
	text-align: center;
}

.apm-stats__value {
	color: var(--apm-primary);
	font-family: var(--apm-font-heading);
	font-size: 1.9rem;
	font-weight: 800;
	line-height: 1.1;
}

.apm-stats__label {
	color: var(--apm-muted);
	font-size: 0.78rem;
	font-weight: 600;
}

/* Onboarding state */
.apm-home-empty {
	padding: 46px 26px;
	border: 1px dashed var(--apm-border);
	border-radius: var(--apm-radius);
	background:
		radial-gradient(circle at 50% 0, var(--apm-primary-soft), transparent 62%),
		var(--apm-surface);
	text-align: center;
}

.apm-home-empty__badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--apm-primary-soft);
	color: var(--apm-primary);
	font-size: 0.72rem;
	font-weight: 800;
}

.apm-home-empty__title {
	margin: 0 0 8px;
	font-size: 1.5rem;
}

.apm-home-empty__text {
	max-width: 58ch;
	margin: 0 auto 18px;
	color: var(--apm-muted);
	font-size: 0.94rem;
	line-height: 1.75;
}

/* Editorial note inside demo articles */
.apm-note {
	margin: 1.6em 0;
	padding: 16px 18px;
	border-inline-start: 4px solid var(--apm-primary);
	border-radius: var(--apm-radius-sm);
	background: var(--apm-primary-soft);
}

.apm-note strong {
	display: block;
	margin-bottom: 4px;
	color: var(--apm-primary);
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.apm-note p {
	margin: 0;
	color: var(--apm-text-soft);
	font-size: 0.9rem;
	line-height: 1.75;
}

/* Cookie consent – small floating card on the left */
.apm-cookie {
	position: fixed;
	z-index: 120;
	left: 18px;
	right: auto;
	bottom: 84px;
	width: min(336px, calc(100vw - 32px));
	padding: 18px 42px 16px 18px;
	border: 1px solid var(--apm-border);
	border-radius: 16px;
	background: var(--apm-surface);
	color: var(--apm-text);
	box-shadow: 0 22px 48px -24px rgba(15, 23, 42, 0.5), 0 4px 14px -8px rgba(15, 23, 42, 0.22);
	text-align: start;
	animation: apm-cookie-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes apm-cookie-in {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.apm-cookie__close {
	position: absolute;
	top: 8px;
	right: 8px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--apm-text-soft);
	font-family: inherit;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease;
}

.apm-cookie__close:hover,
.apm-cookie__close:focus-visible {
	background: var(--apm-border);
	color: var(--apm-text);
}

.apm-cookie__text {
	margin: 0 0 14px;
	color: var(--apm-text-soft);
	font-size: 0.82rem;
	line-height: 1.65;
}

.apm-cookie__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.apm-cookie__actions .apm-btn {
	margin-inline-start: auto;
}

.apm-cookie__link {
	color: var(--apm-primary);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.apm-cookie {
		animation: none;
	}
}

@media (max-width: 1080px) {
	.apm-feature__body {
		grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	}
}

@media (max-width: 900px) {
	.apm-picks__grid {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
	}

	.apm-pick--lead {
		grid-row: auto;
	}

	.apm-pick:not(.apm-pick--lead) {
		flex-direction: row;
	}

	.apm-feature__body {
		grid-template-columns: minmax(0, 1fr);
	}

	.apm-feature__lead,
	.apm-feature--flip .apm-feature__lead {
		grid-column: 1;
		grid-row: auto;
	}

	.apm-feature--flip .apm-feature__item,
	.apm-feature__item {
		grid-column: 1;
	}
}

@media (max-width: 760px) {
	.apm-topics {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		padding: 12px;
	}

	.apm-topics__label {
		padding-inline-end: 0;
		border-inline-end: 0;
	}

	.apm-topics__list {
		gap: 6px;
	}

	.apm-cta {
		padding: 22px 20px;
	}

	.apm-cta__title {
		font-size: 1.3rem;
	}

	.apm-feature {
		padding: 16px;
	}

	.apm-feature__title {
		font-size: 1.22rem;
	}

	.apm-hero--home .apm-hero__main {
		min-height: 340px;
	}

	.apm-pick__media {
		flex-basis: 104px;
	}

	.apm-stats__value {
		font-size: 1.5rem;
	}
}

@media (max-width: 520px) {
	.apm-cookie {
		left: 12px;
		right: 12px;
		bottom: 78px;
		width: auto;
		padding: 16px 40px 14px 16px;
	}

	.apm-cookie__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.apm-cookie__actions .apm-btn {
		width: 100%;
		margin-inline-start: 0;
	}

	.apm-pick:not(.apm-pick--lead) .apm-pick__media {
		flex-basis: 88px;
	}

	.apm-pick__body {
		padding: 12px;
	}

	.apm-pick--lead .apm-pick__title {
		font-size: 1.2rem;
	}

	.apm-stats {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* -------------------------------------------------------------------------
   19. Homepage layout: full-width slider, sticky and polished sidebar
   ------------------------------------------------------------------------- */
.apm-home-hero {
	padding-top: 4px;
}

.apm-home-hero .apm-hero--home {
	margin-bottom: 0;
}

.apm-home-layout {
	padding-block: 34px 58px;
}

.apm-home-layout > .apm-content {
	min-width: 0;
}

.apm-home-layout > .apm-content > .apm-section:first-child {
	margin-top: 0;
}

/* The designed sidebar column stays pinned beside the content everywhere. */
.apm-layout > .apm-sidebar,
.apm-home-layout > .apm-sidebar {
	position: sticky;
	top: var(--apm-sidebar-top, 94px);
	align-self: start;
	max-height: calc(100vh - 116px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-inline-end: 6px;
	padding-block-end: 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(27, 90, 132, 0.35) transparent;
	scrollbar-gutter: stable;
}

.apm-layout > .apm-sidebar::-webkit-scrollbar,
.apm-home-layout > .apm-sidebar::-webkit-scrollbar {
	width: 6px;
}

.apm-layout > .apm-sidebar::-webkit-scrollbar-track,
.apm-home-layout > .apm-sidebar::-webkit-scrollbar-track {
	background: transparent;
}

.apm-layout > .apm-sidebar::-webkit-scrollbar-thumb,
.apm-home-layout > .apm-sidebar::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(27, 90, 132, 0.28);
}

.apm-layout > .apm-sidebar:hover::-webkit-scrollbar-thumb,
.apm-home-layout > .apm-sidebar:hover::-webkit-scrollbar-thumb {
	background: rgba(27, 90, 132, 0.45);
}

/* Sidebar widgets */
.apm-sidebar .apm-widget {
	position: relative;
	overflow: hidden;
	padding: 20px;
	border-color: rgba(15, 23, 42, 0.08);
	border-radius: 16px;
	box-shadow: 0 20px 44px -38px rgba(15, 23, 42, 0.6);
	transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.apm-sidebar .apm-widget::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--apm-primary) 0%, var(--apm-primary-light) 58%, #f0b45f 100%);
	opacity: 0.9;
}

.apm-sidebar .apm-widget:hover {
	border-color: rgba(27, 90, 132, 0.28);
	box-shadow: 0 26px 54px -38px rgba(15, 23, 42, 0.66);
	transform: translateY(-2px);
}

.apm-sidebar .apm-widget__title {
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 16px;
	padding-block-end: 11px;
	border-block-end: 0;
	font-size: 0.98rem;
	letter-spacing: -0.01em;
}

.apm-sidebar .apm-widget__title::before {
	content: "";
	flex: 0 0 auto;
	width: 4px;
	height: 17px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--apm-primary-light) 0%, var(--apm-primary) 100%);
}

.apm-sidebar .apm-widget__title::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, var(--apm-border) 0%, rgba(226, 232, 240, 0) 100%);
}

.apm-sidebar .apm-widget > :last-child {
	margin-bottom: 0;
}

.apm-sidebar .apm-mini {
	gap: 12px;
	margin: -6px;
	padding: 6px;
	border-radius: 10px;
	transition: background 0.25s ease;
}

.apm-sidebar .apm-mini:hover,
.apm-sidebar .apm-mini:focus-within {
	background: var(--apm-surface-alt);
}

.apm-sidebar .apm-mini__thumb {
	flex: 0 0 74px;
	width: 74px;
	height: 58px;
	border-radius: 8px;
}

.apm-sidebar .apm-mini__thumb img {
	transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.apm-sidebar .apm-mini:hover .apm-mini__thumb img {
	transform: scale(1.06);
}

.apm-sidebar .apm-cat-list li:last-child {
	border-block-end: 0;
}

.apm-sidebar .apm-cat-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding-block: 9px;
	padding-inline: 2px;
	font-weight: 600;
	transition: color 0.2s ease, padding-inline-start 0.2s ease;
}

.apm-sidebar .apm-cat-list a:hover,
.apm-sidebar .apm-cat-list a:focus-visible {
	padding-inline-start: 7px;
	color: var(--apm-primary);
}

[data-theme="dark"] .apm-sidebar .apm-widget {
	border-color: rgba(255, 255, 255, 0.09);
	background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .apm-sidebar .apm-mini:hover {
	background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 1080px) {
	.apm-home-layout {
		padding-block: 26px 48px;
	}

	.apm-layout > .apm-sidebar,
	.apm-home-layout > .apm-sidebar {
		position: static;
		max-height: none;
		overflow: visible;
		padding-inline-end: 0;
		padding-block-end: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.apm-sidebar .apm-widget,
	.apm-sidebar .apm-mini,
	.apm-sidebar .apm-cat-list a {
		transition-duration: 0.01ms;
	}
}

/* -------------------------------------------------------------------------
   20. Customizer-driven details: slider height, sidebar, author box
   ------------------------------------------------------------------------- */
.apm-slider {
	min-height: var(--apm-slider-h, 486px);
}

@media (max-width: 1100px) {
	.apm-slider {
		min-height: min(var(--apm-slider-h, 486px), 430px);
	}
}

@media (max-width: 760px) {
	.apm-slider {
		min-height: min(var(--apm-slider-h, 486px), 400px);
	}
}

@media (max-width: 520px) {
	.apm-slider {
		min-height: min(var(--apm-slider-h, 486px), 360px);
	}
}

.apm-author {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 18px;
	overflow: hidden;
	padding: 22px;
	border: 1px solid var(--apm-border);
	border-radius: 16px;
	background: linear-gradient(140deg, var(--apm-surface) 0%, var(--apm-surface-alt) 100%);
	box-shadow: 0 22px 48px -42px rgba(15, 23, 42, 0.6);
}

.apm-author::before {
	content: "";
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	width: 3px;
	background: linear-gradient(180deg, var(--apm-primary-light) 0%, var(--apm-primary) 100%);
}

.apm-author__avatar {
	flex: 0 0 auto;
}

.apm-author__avatar img {
	width: var(--apm-author-avatar, 84px);
	height: var(--apm-author-avatar, 84px);
	border: 3px solid var(--apm-surface);
	border-radius: 18px;
	object-fit: cover;
	box-shadow: 0 12px 26px -18px rgba(15, 23, 42, 0.6);
}

.apm-author__body {
	min-width: 0;
}

.apm-author__foot {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.apm-author__social {
	margin-top: 0;
}

[data-theme="dark"] .apm-author {
	border-color: rgba(255, 255, 255, 0.09);
	background: linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

@media (max-width: 520px) {
	.apm-author {
		flex-direction: column;
		align-items: flex-start;
		padding: 18px;
	}

	.apm-author__avatar img {
		width: 64px;
		height: 64px;
		border-radius: 14px;
	}
}

/* -------------------------------------------------------------------------
   21. Header pages menu and legal page polish
   ------------------------------------------------------------------------- */
@media (max-width: 1300px) {
	.apm-menu {
		gap: 1px;
	}

	.apm-menu a {
		padding: 8px 8px;
		font-size: 0.86rem;
	}
}

.apm-menu .sub-menu {
	min-width: 245px;
}

.apm-menu .sub-menu a {
	font-size: 0.88rem;
}

.apm-updated {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 8px 14px;
	border: 1px solid var(--apm-border);
	border-radius: 999px;
	background: var(--apm-surface-alt);
	color: var(--apm-muted);
	font-size: 0.78rem;
}

.apm-updated__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--apm-success);
	box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.14);
}

.apm-updated strong {
	color: var(--apm-text);
}

.apm-legal-links {
	margin-top: 28px;
	padding: 20px 22px;
	border: 1px solid var(--apm-border);
	border-radius: 14px;
	background: var(--apm-surface-alt);
}

.apm-legal-links__title {
	margin: 0 0 12px;
	font-size: 0.98rem;
}

.apm-legal-links ul {
	display: grid;
	gap: 6px;
	margin: 0;
	padding-inline-start: 18px;
}

.apm-legal-links a {
	font-size: 0.88rem;
	font-weight: 600;
}

.apm-legal-links a:hover,
.apm-legal-links a:focus {
	text-decoration: underline;
}

[data-theme="dark"] .apm-legal-links,
[data-theme="dark"] .apm-updated {
	background: rgba(255, 255, 255, 0.04);
	border-color: rgba(255, 255, 255, 0.09);
}

/* Header dropdown indicator for the pages menu */
.apm-menu > li.menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-inline-start: 7px;
	border-inline-end: 1.5px solid currentColor;
	border-block-end: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	opacity: 0.55;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.apm-menu > li.menu-item-has-children:hover > a::after,
.apm-menu > li.menu-item-has-children:focus-within > a::after {
	transform: rotate(225deg) translateY(-1px);
	opacity: 1;
}

@media (max-width: 1400px) {
	.apm-menu {
		gap: 0;
	}

	.apm-menu a {
		padding: 8px 7px;
		font-size: 0.84rem;
	}
}

@media (max-width: 1140px) {
	.apm-menu > li.menu-item-has-children > a::after {
		transform: rotate(135deg);
	}

	.apm-menu > li.menu-item-has-children:hover > a::after,
	.apm-menu > li.menu-item-has-children:focus-within > a::after {
		transform: rotate(-45deg);
	}
}

/* -------------------------------------------------------------------------
   22. Category icons, top bar page links and footer socials
   ------------------------------------------------------------------------- */
.apm-cat-ico {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 9px;
	background: var(--apm-primary-soft);
	color: var(--apm-primary);
}

.apm-cat-ico svg {
	display: block;
	width: 16px;
	height: 16px;
}

.apm-feature__title a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.apm-feature__title .apm-cat-ico {
	width: 36px;
	height: 36px;
	border-radius: 11px;
	background: linear-gradient(142deg, var(--apm-primary-light) 0%, var(--apm-primary) 100%);
	color: #fff;
	box-shadow: 0 12px 24px -16px rgba(18, 64, 95, 0.9);
}

.apm-feature__title .apm-cat-ico svg {
	width: 18px;
	height: 18px;
}

.apm-archive__title {
	display: flex;
	align-items: center;
	gap: 12px;
}

.apm-archive__title .apm-cat-ico {
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: linear-gradient(142deg, var(--apm-primary-light) 0%, var(--apm-primary) 100%);
	color: #fff;
}

.apm-archive__title .apm-cat-ico svg {
	width: 20px;
	height: 20px;
}

.apm-cat-list__label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.apm-cat-list .apm-cat-ico {
	width: 25px;
	height: 25px;
	border-radius: 7px;
}

.apm-cat-list .apm-cat-ico svg {
	width: 13px;
	height: 13px;
}

.apm-footer__menu a {
	display: flex;
	align-items: center;
	gap: 9px;
}

.apm-footer__menu .apm-cat-ico {
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: rgba(255, 255, 255, 0.08);
	color: #d7e7f3;
}

.apm-footer__menu .apm-cat-ico svg {
	width: 12px;
	height: 12px;
}

.apm-footer__social {
	margin-top: 16px;
}

.apm-footer__social-label {
	display: block;
	margin-bottom: 8px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.apm-footer__social .apm-social {
	margin: 0;
}

.apm-topbar__pages {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-inline-start: 6px;
}

.apm-topbar__link {
	display: inline-flex;
	align-items: center;
	padding: 3px 11px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	font-size: 0.74rem;
	font-weight: 700;
	white-space: nowrap;
	transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.apm-topbar a.apm-topbar__link:hover,
.apm-topbar a.apm-topbar__link:focus-visible {
	border-color: #fff;
	background: #fff;
	color: var(--apm-primary-dark);
}

.apm-topbar__link--accent {
	border-color: transparent;
	background: var(--apm-accent);
}

.apm-topbar a.apm-topbar__link--accent:hover,
.apm-topbar a.apm-topbar__link--accent:focus-visible {
	background: #92400e;
	border-color: transparent;
	color: #fff;
}

[data-theme="dark"] .apm-cat-ico {
	background: rgba(255, 255, 255, 0.07);
	color: #9fd0ee;
}

@media (max-width: 760px) {
	.apm-topbar__pages {
		order: 3;
		width: 100%;
		justify-content: center;
		margin: 0;
	}
}

/* -------------------------------------------------------------------------
   23. Refinements: news strip, centred brand, mobile header, footer, sidebar
   ------------------------------------------------------------------------- */

/* The trending strip sits just below the main navigation. */
.apm-ticker {
	margin-block-start: 10px;
	border-block-start: 1px solid var(--apm-border);
}

/* Category links in navigation menus carry their icon. */
.apm-menu a {
	gap: 2px;
}

.apm-menu .apm-cat-ico {
	margin-inline-end: 6px;
}

/* Desktop keeps the classic single-row header: brand on the right,
   top strip tools gathered on the left. */
.apm-nav__extra {
	display: none;
}

/* Tablet and phone: no top strip, centred brand, menu right and search left. */
@media (max-width: 1140px) {
	.apm-topbar {
		display: none;
	}

	.apm-header__main {
		padding-block: 6px;
	}

	.apm-header__inner {
		position: relative;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 56px;
		gap: 0;
	}

	.apm-brand {
		justify-content: center;
		max-width: 64%;
	}

	.apm-brand__text {
		align-items: center;
		text-align: center;
	}

	.apm-brand__mark {
		display: none;
	}

	.apm-brand__title {
		overflow: hidden;
		max-width: 100%;
		font-size: 1.1rem;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.apm-header__actions {
		position: absolute;
		inset-inline: 10px;
		top: 50%;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0;
		transform: translateY(-50%);
	}

	.apm-burger {
		order: -1;
	}

	.apm-nav {
		margin-inline-start: 0;
		max-height: calc(100dvh - 84px);
	}

	.apm-nav__extra {
		display: block;
	}

	.apm-nav__extra-links {
		display: flex;
		gap: 8px;
		margin-bottom: 14px;
	}

	.apm-nav__cta {
		display: inline-flex;
		flex: 1;
		align-items: center;
		justify-content: center;
		padding: 10px 14px;
		border: 1px solid var(--apm-border);
		border-radius: 999px;
		background: var(--apm-surface-alt);
		color: var(--apm-text);
		font-size: 0.86rem;
		font-weight: 700;
	}

	.apm-nav__cta--accent {
		border-color: transparent;
		background: var(--apm-primary);
		color: #fff;
	}

	.apm-nav__extra-tools {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding-top: 14px;
		border-top: 1px solid var(--apm-border);
	}

	.apm-nav__extra .apm-lang {
		background: var(--apm-surface-alt);
	}

	.apm-nav__extra .apm-lang__btn {
		color: var(--apm-text-soft);
	}

	.apm-nav__extra .apm-lang__btn.is-active {
		background: var(--apm-primary);
		color: #fff;
	}

	.apm-theme-toggle--panel {
		border-color: var(--apm-border);
		background: var(--apm-surface-alt);
		color: var(--apm-text);
	}

	.apm-nav__extra .apm-social {
		margin-top: 14px;
		justify-content: center;
	}

	.apm-nav__extra .apm-social__link {
		background: var(--apm-primary-soft);
		color: var(--apm-primary);
	}
}

/* Footer: brand plus the static pages only. */
@media (min-width: 761px) {
	.apm-footer__grid {
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	}
}

/* Category sections: consistent header with icon, count and link. */
.apm-feature__heading {
	min-width: 0;
}

.apm-feature__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.apm-feature__count {
	padding: 1px 8px;
	border-radius: 999px;
	background: var(--apm-primary-soft);
	color: var(--apm-primary);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: none;
}

.apm-feature__title a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

/* Sticky sidebar: a clearly visible scrollbar so the last widget
   (most read / categories) is obviously reachable, never "cut". */
.apm-home-layout > .apm-sidebar {
	max-height: calc(100dvh - var(--apm-sidebar-top, 94px) - 18px);
	padding-block-end: 18px;
	scrollbar-width: auto;
	scrollbar-color: rgba(27, 90, 132, 0.55) rgba(27, 90, 132, 0.1);
}

.apm-home-layout > .apm-sidebar::-webkit-scrollbar {
	width: 9px;
}

.apm-home-layout > .apm-sidebar::-webkit-scrollbar-track {
	border-radius: 999px;
	background: rgba(27, 90, 132, 0.1);
}

.apm-home-layout > .apm-sidebar::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(27, 90, 132, 0.5);
}

.apm-home-layout > .apm-sidebar:hover::-webkit-scrollbar-thumb {
	background: rgba(27, 90, 132, 0.72);
}

/* Sidebar widgets keep their natural height: the column scrolls instead of
   squashing the last card, which used to look like clipped content. */
.apm-home-layout > .apm-sidebar > * {
	flex: 0 0 auto;
}

/* The last menu item's dropdown opens inward, so it never widens the page. */
.apm-menu > li:last-child > .sub-menu {
	inset-inline-start: auto;
	inset-inline-end: 0;
}

/* The site name must always be visible: it keeps its width and the
   navigation wraps onto a second line instead of squeezing it away. */
@media (min-width: 1141px) {
	.apm-header__inner {
		gap: 14px 18px;
	}

	.apm-brand {
		flex: 0 0 auto;
		min-width: 0;
	}

	.apm-brand__text {
		overflow: visible;
	}

	.apm-brand__title {
		overflow: visible;
		white-space: nowrap;
	}

	.apm-nav {
		flex: 1 1 auto;
		min-width: 0;
		margin-inline-start: 0;
	}

	.apm-menu {
		flex-wrap: wrap;
		justify-content: flex-start;
		row-gap: 0;
	}
}

/* Tighter menu on smaller desktops so it stays on one line longer. */
@media (min-width: 1141px) and (max-width: 1340px) {
	.apm-menu a {
		padding: 7px 6px;
		font-size: 0.84rem;
	}

	.apm-menu .apm-cat-ico svg {
		width: 13px;
		height: 13px;
	}

	.apm-brand__title {
		font-size: 1.32rem;
	}
}

/* Desktop: brand row above, navigation on its own tidy full-width row. */
@media (min-width: 1141px) {
	.apm-header__inner {
		flex-wrap: wrap;
		row-gap: 0;
	}

	.apm-brand {
		order: 1;
		flex: 1 1 auto;
		justify-content: flex-start;
	}

	.apm-header__actions {
		order: 2;
		margin-inline-start: auto;
	}

	.apm-nav {
		order: 3;
		flex: 1 0 100%;
		margin-block-start: 6px;
		border-block-start: 1px solid var(--apm-border);
	}

	.apm-menu {
		justify-content: flex-start;
	}
}

/* Language and theme controls sit on the site-name row, at the left. */
@media (min-width: 1141px) {
	.apm-header__main {
		padding-block-start: 12px;
	}

	.apm-header__actions {
		gap: 10px;
	}

	.apm-header__actions .apm-lang {
		border: 1px solid var(--apm-border);
		background: var(--apm-surface-alt);
	}

	.apm-header__actions .apm-lang__btn {
		color: var(--apm-text-soft);
	}

	.apm-header__actions .apm-lang__btn.is-active {
		background: var(--apm-primary);
		color: #fff;
	}

	.apm-theme-toggle--header {
		border-color: var(--apm-border);
		background: var(--apm-surface-alt);
		color: var(--apm-text-soft);
	}

	.apm-theme-toggle--header:hover,
	.apm-theme-toggle--header:focus {
		border-color: var(--apm-primary);
		color: var(--apm-primary);
	}
}

/* On phones these live inside the menu panel instead. */
@media (max-width: 1140px) {
	.apm-header__actions .apm-lang,
	.apm-header__actions .apm-theme-toggle {
		display: none;
	}
}

/* Sidebar on every layout (home and articles): no inner scrollbar at all.
   It sticks only while it fits the screen; otherwise it scrolls with the
   page so the whole column — most read, search, sections — stays visible. */
@media (min-width: 1081px) {
	.apm-layout > .apm-sidebar,
	.apm-home-layout > .apm-sidebar {
		max-height: none;
		overflow: visible;
		padding-block-end: 0;
	}

	.apm-layout > .apm-sidebar.is-sticky,
	.apm-home-layout > .apm-sidebar.is-sticky {
		position: sticky;
		top: var(--apm-sidebar-top, 94px);
		align-self: start;
	}

	.apm-layout > .apm-sidebar.is-tall,
	.apm-home-layout > .apm-sidebar.is-tall {
		position: static;
	}
}

/* Rich footer: brand, pages, most read and categories. */
@media (min-width: 1081px) {
	.apm-footer__grid {
		grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
		gap: 30px;
	}
}

@media (min-width: 761px) and (max-width: 1080px) {
	.apm-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 26px;
	}
}

.apm-footer__inline {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.apm-footer__inline a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 0.8rem;
	font-weight: 700;
}

.apm-footer__inline a:hover,
.apm-footer__inline a:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.apm-footer__list {
	display: flex;
	flex-direction: column;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apm-footer__list a {
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.86rem;
	line-height: 1.55;
	transition: color 0.2s ease;
}

.apm-footer__list a:hover,
.apm-footer__list a:focus {
	color: #fff;
}

.apm-footer__list--cats li a {
	display: flex;
	align-items: center;
	gap: 8px;
}

.apm-footer__list .apm-cat-ico {
	background: rgba(255, 255, 255, 0.08);
	color: #9fd0ee;
}

.apm-footer__bottom-inner {
	justify-content: center;
	text-align: center;
}

.apm-footer__copyright {
	margin: 0;
}

/* The sidebar scrolls together with the page (standard editorial layout):
   it never sticks, never clips and never needs its own scrollbar. */
.apm-sidebar,
.apm-layout > .apm-sidebar,
.apm-home-layout > .apm-sidebar,
.apm-layout > .apm-sidebar.is-sticky,
.apm-home-layout > .apm-sidebar.is-sticky {
	position: static;
	top: auto;
	max-height: none;
	overflow: visible;
	align-self: auto;
}

/* The site name is the page H1 on the homepage only. */
.apm-brand__heading {
	margin: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: 1.15;
}

/* -------------------------------------------------------------------------
   20. Footer refinements: larger blurb, social row, image-only most read
   ------------------------------------------------------------------------- */
.apm-footer__about {
	max-width: 46ch;
	margin: 0 0 16px;
	font-size: 0.96rem;
	line-height: 1.85;
}

[dir="rtl"] .apm-footer__about {
	font-size: 0.98rem;
	line-height: 1.95;
}

.apm-footer__social {
	margin: 0 0 16px;
}

.apm-footer__social .apm-social {
	flex-wrap: wrap;
	gap: 8px;
}

.apm-footer__social .apm-social__link {
	width: 30px;
	height: 30px;
}

.apm-footer__thumbs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.apm-footer__thumbs li {
	margin: 0;
}

.apm-footer__thumb {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.08);
}

.apm-footer__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s var(--apm-ease), opacity 0.35s var(--apm-ease);
}

.apm-footer__thumb:hover img,
.apm-footer__thumb:focus img {
	transform: scale(1.06);
	opacity: 0.9;
}

.apm-footer__thumb:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.apm-footer__thumb .apm-thumb-placeholder {
	font-size: 1.1rem;
	background: rgba(255, 255, 255, 0.1);
}

/* The ad slot stays in the card flow; the whole column does the sticking. */
.apm-ad--sidebar {
	position: static;
	top: auto;
}

/* -------------------------------------------------------------------------
   21. Header social icons: managed from the top bar only
   ------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
   22. Premium sidebar: identity card and ranked most-read list
   ------------------------------------------------------------------------- */
.apm-sidebar .apm-about-card {
	padding: 0;
	overflow: hidden;
}

.apm-about-card__cover {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	height: 86px;
	background: linear-gradient(135deg, var(--apm-primary) 0%, var(--apm-primary-light) 58%, #e5ab61 100%);
}

.apm-about-card__cover::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.28) 1px, transparent 1px);
	background-size: 13px 13px;
	opacity: 0.55;
}

.apm-about-card__mark {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	transform: translateY(50%);
	border: 3px solid var(--apm-surface);
	border-radius: 18px;
	background: var(--apm-surface);
	color: var(--apm-primary);
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
	box-shadow: 0 14px 26px -16px rgba(15, 23, 42, 0.55);
}

.apm-about-card__body {
	padding: 42px 20px 20px;
	text-align: center;
}

.apm-about-card__eyebrow {
	margin: 0 0 2px;
	color: var(--apm-muted);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.apm-about-card__name {
	margin: 0 0 4px;
	font-size: 1.08rem;
	line-height: 1.4;
}

.apm-about-card__tagline {
	margin: 0 0 12px;
	color: var(--apm-primary);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.6;
}

.apm-about-card__text {
	margin: 0 0 14px;
	color: var(--apm-text-soft);
	font-size: 0.87rem;
	line-height: 1.85;
}

.apm-about-card .apm-social {
	justify-content: center;
	margin: 0 0 14px;
}

.apm-about-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--apm-primary-soft);
	color: var(--apm-primary);
	font-size: 0.8rem;
	font-weight: 800;
	transition: background 0.22s ease, color 0.22s ease;
}

.apm-about-card__link:hover,
.apm-about-card__link:focus-visible {
	background: var(--apm-primary);
	color: #fff;
}

.apm-rank-list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: apm-rank;
}

.apm-rank {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 0;
	border-block-end: 1px dashed var(--apm-border);
}

.apm-rank:last-child {
	padding-block-end: 0;
	border-block-end: 0;
}

.apm-rank__thumb {
	position: relative;
	flex: 0 0 78px;
	width: 78px;
	height: 64px;
	overflow: hidden;
	border-radius: 10px;
	background: var(--apm-primary-soft);
}

.apm-rank__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.apm-rank:hover .apm-rank__thumb img {
	transform: scale(1.07);
}

.apm-rank__num {
	position: absolute;
	inset-block-start: 5px;
	inset-inline-start: 5px;
	z-index: 2;
	display: grid;
	place-items: center;
	min-width: 23px;
	height: 23px;
	padding: 0 5px;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.86);
	color: #fff;
	font-size: 0.66rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.01em;
	box-shadow: 0 4px 10px -4px rgba(15, 23, 42, 0.7);
}

.apm-rank:nth-child(1) .apm-rank__num {
	background: linear-gradient(135deg, #f2c078, #d98a25);
}

.apm-rank:nth-child(2) .apm-rank__num {
	background: linear-gradient(135deg, #c9d3dd, #8b9aa9);
}

.apm-rank:nth-child(3) .apm-rank__num {
	background: linear-gradient(135deg, #d9a678, #a9703f);
}

.apm-rank__body {
	min-width: 0;
}

.apm-rank__title {
	display: -webkit-box;
	margin: 0 0 3px;
	overflow: hidden;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.apm-rank__title a {
	color: var(--apm-text);
}

.apm-rank__title a:hover,
.apm-rank__title a:focus-visible {
	color: var(--apm-primary);
}

.apm-rank__meta {
	color: var(--apm-muted);
	font-size: 0.72rem;
}

/* -------------------------------------------------------------------------
   23. Circular reading-progress back-to-top button
   ------------------------------------------------------------------------- */
.apm-back-top {
	width: 58px;
	height: 58px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	color: var(--apm-text);
	filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.16));
}

.apm-back-top.is-visible:hover {
	transform: translateY(-3px);
}

.apm-back-top__ring {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.apm-back-top__track {
	fill: var(--apm-surface);
	stroke: var(--apm-border);
	stroke-width: 3;
}

.apm-back-top__bar {
	fill: none;
	stroke: var(--apm-primary);
	stroke-width: 3.4;
	stroke-linecap: round;
	stroke-dasharray: 150.8;
	stroke-dashoffset: 150.8;
	transition: stroke-dashoffset 0.16s linear, stroke 0.22s ease;
}

.apm-back-top:hover .apm-back-top__bar {
	stroke: var(--apm-primary-light);
}

.apm-back-top__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1px;
}

.apm-back-top__pct {
	color: var(--apm-muted);
	font-size: 0.58rem;
	font-weight: 800;
	letter-spacing: 0.02em;
}

/* -------------------------------------------------------------------------
   24. Static pages: editorial depth and formal reading rhythm
   ------------------------------------------------------------------------- */
.apm-page .apm-entry__content {
	font-size: 1.02rem;
	line-height: 1.95;
}

.apm-page .apm-entry__content > h2 {
	margin: 34px 0 12px;
	font-size: 1.28rem;
}

.apm-page .apm-entry__content > p:first-child {
	font-size: 1.08rem;
	color: var(--apm-text);
}

.apm-page__depth {
	margin-top: 36px;
	padding-top: 26px;
	border-top: 1px solid var(--apm-border);
}

.apm-page__depth h2 {
	position: relative;
	margin: 30px 0 10px;
	padding-inline-start: 14px;
	font-size: 1.2rem;
	line-height: 1.6;
}

.apm-page__depth h2::before {
	content: "";
	position: absolute;
	inset-block: 6px;
	inset-inline-start: 0;
	width: 4px;
	border-radius: 999px;
	background: linear-gradient(180deg, var(--apm-primary-light), var(--apm-primary));
}

.apm-page__depth p {
	margin: 0 0 14px;
	color: var(--apm-text-soft);
	font-size: 0.98rem;
	line-height: 1.95;
}

.apm-page__depth ul,
.apm-page__depth ol {
	display: grid;
	gap: 9px;
	margin: 0 0 16px;
	padding-inline-start: 22px;
	color: var(--apm-text-soft);
	font-size: 0.96rem;
	line-height: 1.85;
}

.apm-page__depth li::marker {
	color: var(--apm-primary);
	font-weight: 700;
}

[data-theme="dark"] .apm-about-card__mark {
	border-color: var(--apm-surface);
	box-shadow: 0 14px 26px -16px rgba(0, 0, 0, 0.8);
}

/* No text label above ad units any more. */
.apm-ad__label {
	display: none;
}

/* -------------------------------------------------------------------------
   25. Footer blurb: larger, more generous measure
   ------------------------------------------------------------------------- */
.apm-footer__about {
	max-width: 50ch;
	margin-block-end: 18px;
	color: rgba(255, 255, 255, 0.84);
	font-size: 0.96rem;
	line-height: 1.85;
}

[dir="rtl"] .apm-footer__about {
	max-width: 52ch;
	font-size: 0.98rem;
	line-height: 1.95;
}

@media (min-width: 1081px) {
	.apm-footer__grid {
		grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.apm-footer__about,
	[dir="rtl"] .apm-footer__about {
		max-width: 100%;
	}
}


