/*
 * Articles & Press front-end styles.
 *
 * Neutral apm- classes. Colours and fonts come from the theme: Elementor's
 * global variables when present, otherwise inherited. A site can override
 * any --apm-* variable on .apm-articles, .apm-categories or .apm-logowall.
 */

/*
 * Hindi (Devanagari) text. The site fonts have no Devanagari, so browsers
 * fall back to a system font that looks too big next to the Latin text.
 * These faces cover only Devanagari (unicode-range), use fonts already on
 * the device (nothing is downloaded) and scale them to match.
 */
@font-face {
	font-family: "APM Devanagari Serif";
	src: local("Noto Serif Devanagari"),
		local("NotoSerifDevanagari-Regular"),
		local("Nirmala UI"),
		local("NirmalaUI"),
		local("Kohinoor Devanagari"),
		local("KohinoorDevanagari-Regular"),
		local("Noto Sans Devanagari"),
		local("NotoSansDevanagari-Regular"),
		local("Mangal");
	unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF;
	font-weight: 100 499;
	size-adjust: 86%;
}
@font-face {
	font-family: "APM Devanagari Serif";
	src: local("Noto Serif Devanagari SemiBold"),
		local("NotoSerifDevanagari-SemiBold"),
		local("Nirmala UI Semibold"),
		local("NirmalaUI-Semibold"),
		local("Kohinoor Devanagari Medium"),
		local("KohinoorDevanagari-Medium"),
		local("Noto Sans Devanagari Medium"),
		local("NotoSansDevanagari-Medium"),
		local("Nirmala UI"),
		local("Mangal");
	unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF;
	font-weight: 500 900;
	size-adjust: 86%;
}
@font-face {
	font-family: "APM Devanagari Sans";
	src: local("Noto Sans Devanagari"),
		local("NotoSansDevanagari-Regular"),
		local("Nirmala UI"),
		local("NirmalaUI"),
		local("Kohinoor Devanagari"),
		local("KohinoorDevanagari-Regular"),
		local("Mangal");
	unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF;
	font-weight: 100 499;
	size-adjust: 86%;
}
@font-face {
	font-family: "APM Devanagari Sans";
	src: local("Noto Sans Devanagari Medium"),
		local("NotoSansDevanagari-Medium"),
		local("Nirmala UI Semibold"),
		local("NirmalaUI-Semibold"),
		local("Kohinoor Devanagari Medium"),
		local("KohinoorDevanagari-Medium"),
		local("Nirmala UI"),
		local("Mangal");
	unicode-range: U+0900-097F, U+1CD0-1CFF, U+A8E0-A8FF;
	font-weight: 500 900;
	size-adjust: 86%;
}

.apm-articles,
.apm-categories,
.apm-logowall,
.glightbox-apm {
	--apm-accent: var(--e-global-color-primary, currentColor);
	--apm-text: var(--e-global-color-text, inherit);
	--apm-muted: var(--e-global-color-577a321, #606060);
	--apm-heading-font: "APM Devanagari Serif", var(--e-global-typography-primary-font-family, inherit);
	--apm-body-font: "APM Devanagari Sans", var(--e-global-typography-text-font-family, inherit);
	--apm-gap: 20px;
}

.apm-articles ul,
.apm-categories ul,
.apm-logowall ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.apm-articles a,
.apm-categories a,
.apm-logowall a {
	text-decoration: none;
	color: inherit;
}

/* ── Articles list ─────────────────────────────────────────────── */

.apm-articles {
	font-family: var(--apm-body-font);
	color: var(--apm-text);
}

/* Section label: accent text followed by a hairline rule. */
.apm-articles .apm-eyebrow,
.apm-categories .apm-eyebrow {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 28px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--apm-accent);
}

.apm-articles .apm-eyebrow::after,
.apm-categories .apm-eyebrow::after {
	content: "";
	flex: 1;
	height: 1px;
	background: currentColor;
	opacity: 0.25;
}

.apm-articles .apm-count {
	margin: 0 0 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--apm-accent);
}

.apm-list {
	display: grid;
	grid-template-columns: repeat(var(--apm-list-cols, 1), minmax(0, 1fr));
	gap: 0 56px;
}

.apm-cols-2 .apm-list { --apm-list-cols: 2; }
.apm-cols-3 .apm-list { --apm-list-cols: 3; }

.apm-row {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.apm-row__link {
	position: relative;
	display: block;
	padding: 14px 28px 14px 0;
}

/* Arrow that slides in on hover (links only). */
a.apm-row__link::after {
	content: "\2192";
	position: absolute;
	top: 50%;
	right: 4px;
	color: var(--apm-accent);
	opacity: 0;
	transform: translate(-8px, -50%);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

a.apm-row__link:hover::after,
a.apm-row__link:focus-visible::after {
	opacity: 1;
	transform: translate(0, -50%);
}

.apm-row__title {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--apm-text);
	transition: color 0.2s ease;
}

.apm-row__meta {
	display: block;
	margin-top: 4px;
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--apm-muted);
}

a.apm-row__link:hover .apm-row__title,
a.apm-row__link:focus-visible .apm-row__title {
	color: var(--apm-accent);
}

.apm-ext {
	display: inline-block;
	margin-left: 4px;
	vertical-align: baseline;
	opacity: 0.7;
}

.apm-articles .apm-more-wrap,
.apm-articles .apm-loadmore-wrap,
.apm-logowall .apm-more-wrap,
.apm-logowall .apm-loadmore-wrap {
	margin: 32px 0 0;
}

.apm-more,
.apm-loadmore {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--apm-accent) !important;
}

.apm-more .apm-arrow,
.apm-loadmore .apm-arrow {
	transition: transform 0.2s ease;
}

.apm-more:hover .apm-arrow {
	transform: translateX(4px);
}

/* Load more reads as a button. */
.apm-loadmore {
	padding: 10px 22px;
	border: 1px solid currentColor;
	border-radius: 999px;
	transition: background 0.2s ease, color 0.2s ease;
}

.apm-loadmore:hover {
	background: var(--apm-accent);
	color: #fff !important;
}

.apm-loadmore[aria-busy] {
	opacity: 0.6;
	pointer-events: none;
}

.apm-arrow {
	flex: none;
}

.apm-pages {
	margin-top: 32px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	font-size: 14px;
}

.apm-pages .page-numbers {
	padding: 4px 10px;
	color: var(--apm-text);
}

.apm-pages .page-numbers.current {
	color: var(--apm-accent);
	font-weight: 600;
}

.apm-empty {
	padding: 12px 16px;
	border: 1px dashed currentColor;
	opacity: 0.7;
	font-size: 14px;
}

/* ── Article Categories ────────────────────────────────────────── */

/* Staggered (masonry): images keep their own height, as in the design. */
.apm-categories--masonry .apm-tiles {
	columns: var(--apm-cols, 4);
	column-gap: var(--apm-gap);
}

.apm-categories--masonry .apm-tile {
	break-inside: avoid;
	margin: 0 0 56px;
}

/* Grid: even tiles, a short last row centred. */
.apm-categories--grid .apm-tiles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 48px 28px;
}

.apm-categories--grid .apm-tile {
	flex: 0 0 calc((100% - (var(--apm-cols, 4) - 1) * 28px) / var(--apm-cols, 4));
	min-width: 0;
}

.apm-categories--grid .apm-tile__frame {
	aspect-ratio: var(--apm-ratio, 3 / 2);
}

.apm-categories--grid .apm-tile__img {
	height: 100%;
	object-fit: cover;
}

.apm-tile__link {
	display: block;
	text-align: center;
}

.apm-tile__frame {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.apm-tile__img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

a.apm-tile__link:hover .apm-tile__frame,
a.apm-tile__link:focus-visible .apm-tile__frame {
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
	transform: translateY(-3px);
}

a.apm-tile__link:hover .apm-tile__img,
a.apm-tile__link:focus-visible .apm-tile__img {
	transform: scale(1.04);
}

/* No photo yet: a soft tinted card with the topic's initial. */
.apm-tile__img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 3 / 2;
	background:
		radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.6), transparent 60%),
		linear-gradient(160deg, color-mix(in srgb, var(--e-global-color-primary, #888) 18%, #f4f4f4), color-mix(in srgb, var(--e-global-color-primary, #888) 34%, #e9e9e9));
}

.apm-categories--grid .apm-tile__img--empty {
	aspect-ratio: auto;
}

.apm-tile__initial {
	font-family: var(--apm-heading-font);
	font-size: clamp(48px, 7vw, 96px);
	font-weight: 300;
	line-height: 1;
	color: var(--e-global-color-primary, #555);
	opacity: 0.55;
}

.apm-tile__title {
	display: block;
	margin-top: 20px;
	font-family: var(--apm-heading-font);
	font-size: 21px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--apm-text);
	transition: color 0.2s ease;
}

a.apm-tile__link:hover .apm-tile__title {
	color: var(--apm-accent);
}

/* ── Logo walls ────────────────────────────────────────────────── */

.apm-logowall {
	display: grid;
	grid-template-columns: minmax(200px, 300px) 1fr;
	gap: 40px 60px;
	align-items: start;
}

.apm-logowall + .apm-logowall {
	margin-top: 60px;
}

.apm-logowall--no-intro {
	grid-template-columns: 1fr;
}

.apm-logowall .apm-logowall__title {
	margin: 0;
	font-family: var(--e-global-typography-secondary-font-family, inherit);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--apm-muted);
}

.apm-logowall .apm-logowall__sub {
	margin: 24px 0 6px;
	font-family: var(--apm-body-font);
	font-size: 14px;
	font-weight: 600;
	color: var(--apm-text);
}

.apm-logowall .apm-logowall__text {
	margin: 0;
	font-family: var(--apm-body-font);
	font-size: 13px;
	line-height: 1.5;
	color: var(--apm-text);
}

.apm-logos {
	display: grid;
	grid-template-columns: repeat(var(--apm-per-row, 5), minmax(0, 1fr));
	gap: 18px;
}

.apm-logo__link {
	display: flex;
	align-items: center;
	justify-content: center;
	/* Boxes fill the row; the logo itself never grows past its own size,
	   so small logos stay sharp instead of being stretched. */
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 6px 8px;
	box-sizing: border-box;
	border-radius: 4px;
	background: #fff;
	/* Faint edge so white boxes still read on a white page background. */
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.07);
	overflow: hidden;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.apm-logo__link:hover,
a.apm-logo__link:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.apm-logo__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Black and white until pointed at (or reached with Tab). For logos always in
   colour, set --apm-logo-filter: none on .apm-logowall. */
.apm-logo__img,
.apm-logo__icon {
	filter: var(--apm-logo-filter, grayscale(1));
	transition: filter 0.25s ease;
}

.apm-logo__link:hover .apm-logo__img,
.apm-logo__link:focus-visible .apm-logo__img,
.apm-logo__link:hover .apm-logo__icon,
.apm-logo__link:focus-visible .apm-logo__icon {
	filter: none;
}

/* An outlet without a logo: its name, sized to the box so long names fit. */
.apm-logo {
	container-type: inline-size;
}

.apm-logo__text {
	font-family: var(--apm-heading-font);
	font-size: clamp(10px, 10cqi, 18px);
	font-weight: 600;
	line-height: 1.12;
	text-align: center;
	text-wrap: balance;
	color: #333;
}

.apm-logo__link:has(.apm-logo__text) {
	padding: 4px 6px;
}

/* "Other Outlets": icon above the name. */
.apm-logo--other .apm-logo__link {
	flex-direction: column;
	gap: 5px;
}

.apm-logo__icon {
	display: block;
	flex: none;
	width: clamp(18px, 20cqi, 32px);
	height: auto;
	color: var(--apm-accent);
}

/* ── Responsive ────────────────────────────────────────────────── */

@media (max-width: 1024px) {
	.apm-categories--masonry .apm-tiles { columns: min(var(--apm-cols, 4), 3); }
	.apm-categories--grid .apm-tile { flex-basis: calc((100% - 2 * 28px) / 3); }
	.apm-logowall { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.apm-cols-2 .apm-list,
	.apm-cols-3 .apm-list { --apm-list-cols: 1; }
	.apm-categories--masonry .apm-tiles { columns: 2; column-gap: 12px; }
	.apm-categories--grid .apm-tiles { gap: 32px 14px; }
	.apm-categories--grid .apm-tile { flex-basis: calc((100% - 14px) / 2); }
	.apm-list { gap: 0; }
	.apm-categories--masonry .apm-tile { margin-bottom: 32px; }
	.apm-tile__title { margin-top: 12px; font-size: 17px; }
	.apm-logos {
		grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
		gap: 12px;
	}
}

/* Two tile columns hold on phones; one column only on very narrow screens. */
@media (max-width: 340px) {
	.apm-categories--masonry .apm-tiles { columns: 1; }
	.apm-categories--grid .apm-tile { flex-basis: 100%; }
}

/* ── Topic intro (topic Pages) ─────────────────────────────────── */

.apm-articles .apm-topic-intro {
	max-width: 640px;
	margin: 0 0 28px;
	font-size: 17px;
	line-height: 1.7;
	color: var(--apm-text);
}

/* Some sites zero every paragraph margin (!important); keep the intro readable. */
.apm-articles .apm-topic-intro p {
	margin: 0 0 1em !important;
}

/* ── Article pages ─────────────────────────────────────────────── */

.apm-article {
	--apm-accent: var(--e-global-color-primary, currentColor);
	--apm-text: var(--e-global-color-text, inherit);
	--apm-muted: var(--e-global-color-577a321, #606060);
	--apm-heading-font: "APM Devanagari Serif", var(--e-global-typography-primary-font-family, inherit);
	--apm-body-font: "APM Devanagari Sans", var(--e-global-typography-text-font-family, inherit);
	max-width: 760px;
	margin: 0 auto;
}

.apm-byline {
	margin: 0 0 32px;
	padding: 0 0 24px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	font-family: var(--apm-body-font);
}

.apm-byline__author {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: var(--apm-text);
}

.apm-byline__author a {
	color: var(--apm-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.apm-byline__cred {
	font-weight: 400;
	color: var(--apm-muted);
}

.apm-byline__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 0;
	margin-top: 8px;
	font-size: 14px;
	color: var(--apm-muted);
}

.apm-byline__meta > span:not(:last-child)::after {
	content: "\00B7";
	margin: 0 10px;
}

.apm-byline__meta a {
	color: var(--apm-accent);
	text-decoration: none;
}

.apm-byline__meta a:hover {
	text-decoration: underline;
}

.apm-byline__topic a,
.apm-byline__topic {
	font-weight: 600;
}

/* Article with the topics sidebar: two columns once the article area is
   960 px or wider (container query, so it adapts to any theme's width). */
.apm-article--aside {
	max-width: none;
	container-type: inline-size;
}

.apm-article__main {
	min-width: 0;
	max-width: 760px;
}

.apm-article__aside {
	margin-top: 56px;
}

@container (min-width: 960px) {
	.apm-article__grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 64px;
		align-items: start;
	}

	.apm-article__aside {
		margin-top: 0;
	}

	.apm-aside-card__all {
		display: inline-block;
	}
}

/* The sidebar follows the reader only when it fits the window, else its
   bottom would be unreachable. */
@media (min-height: 820px) {
	@container (min-width: 960px) {
		.apm-article__aside {
			position: sticky;
			top: 110px;
		}
	}
}

/* Astra's "narrow" single-post container (750 px) is widened on article
   pages so the sidebar fits beside the reading column. */
body.apm-article-page.ast-narrow-container .site-content > .ast-container {
	max-width: 1240px;
}

/* Title lines up with the reading column instead of the full width. */
body.apm-article-page .entry-header {
	max-width: 860px;
}

.apm-aside-card {
	padding: 22px 20px 18px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.55);
	font-family: var(--apm-body-font);
}

.apm-aside-card__title {
	margin: 0 0 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--apm-accent);
}

.apm-article .apm-aside-topics {
	display: grid;
	gap: 6px;
	margin: 0; /* Themes indent lists inside the post content. */
	padding: 0;
	list-style: none;
}

.apm-aside-topic__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 8px;
	border-radius: 6px;
	color: var(--apm-text);
	text-decoration: none;
	transition: background 0.2s ease;
}

a.apm-aside-topic__link:hover,
a.apm-aside-topic__link:focus-visible {
	background: rgba(0, 0, 0, 0.045);
}

.apm-aside-topic__img {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 6px;
	object-fit: cover;
}

.apm-aside-topic__img--empty {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.06);
	font-family: var(--apm-heading-font);
	font-size: 24px;
	color: var(--apm-muted);
}

.apm-aside-topic__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.apm-aside-topic__name {
	font-family: var(--apm-heading-font);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
}

a.apm-aside-topic__link:hover .apm-aside-topic__name {
	color: var(--apm-accent);
}

.apm-aside-topic__count {
	margin-top: 3px;
	font-size: 13px;
	color: var(--apm-muted);
}

.apm-aside-card__all {
	display: none; /* Shown only beside the article: when stacked, the
	                  article already ends with "View all Articles". */
	margin: 14px 8px 0;
	font-size: 14px;
	font-weight: 600;
	color: var(--apm-accent);
	text-decoration: none;
}

.apm-aside-card__all:hover {
	text-decoration: underline;
}

/* Article page: the plugin's byline replaces the theme's meta line, and the
   title uses the heading font like the other Articles pages. */
.apm-article-page .entry-meta,
.apm-article-page .post-navigation {
	display: none;
}

body.apm-article-page header.entry-header .entry-title,
.apm-article-page .entry-title {
	font-family: var(--e-global-typography-primary-font-family, inherit);
	font-size: 42px;
	font-weight: 700;
	line-height: 1.25;
	color: #000;
}

@media (max-width: 767px) {
	body.apm-article-page header.entry-header .entry-title,
	.apm-article-page .entry-title {
		font-size: 36px;
	}
}

/* Elementor-built bodies: no extra container padding, and the text widget
   follows the reading size instead of the site's small default. */
.apm-article__body .e-con {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
}

.apm-article__body .elementor-widget-text-editor {
	font-size: 18px;
	line-height: 1.75;
	color: var(--apm-text);
}

/* Reading rhythm for the article body (also restores paragraph spacing that a
   site-wide "p { margin: 0 !important }" would remove). */
.apm-article__body {
	font-size: 18px;
	line-height: 1.75;
	color: var(--apm-text);
}

.apm-article__body p {
	margin: 0 0 1.15em !important;
}

.apm-article__body h2 {
	margin: 1.8em 0 0.6em;
	font-family: var(--apm-heading-font);
	font-size: 30px;
	font-weight: 600;
	line-height: 1.25;
}

/* No extra gap when an article opens with a heading. */
.apm-article__body h2:first-child,
.apm-article__body h3:first-child {
	margin-top: 0;
}

.apm-article__body h3 {
	margin: 1.5em 0 0.5em;
	font-family: var(--apm-heading-font);
	font-size: 23px;
	line-height: 1.3;
}

.apm-article__body .article-author {
	margin-top: 2em !important;
	padding-top: 1em;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	font-size: 16px;
	color: var(--apm-muted);
}

.apm-disclaimer {
	margin: 48px 0 0;
	padding: 20px 24px;
	border-left: 3px solid var(--apm-accent);
	border-radius: 0 4px 4px 0;
	background: rgba(0, 0, 0, 0.035);
	font-family: var(--apm-body-font);
	font-size: 14px;
	line-height: 1.65;
	color: var(--apm-muted);
}

.apm-disclaimer__title {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--apm-text);
}

/* Paragraph spacing survives a site-wide "p { margin: 0 !important }". */
.apm-disclaimer__text p {
	margin: 0 0 0.75em !important;
}

.apm-disclaimer__text p:last-child {
	margin-bottom: 0 !important;
}

.apm-article__related {
	margin-top: 64px;
	padding-top: 8px;
}

.apm-article__related .apm-more-wrap {
	margin-top: 28px;
}

@media (max-width: 767px) {
	.apm-article__body,
	.apm-article__body .elementor-widget-text-editor { font-size: 17px; }
	.apm-article__body h2 { font-size: 25px; }
	.apm-byline__meta > span:not(:last-child)::after { margin: 0 8px; }
}

/* ── Media Appearances scroller ───────────────────────────── */

.apm-pods {
	--apm-accent: var(--e-global-color-primary, currentColor);
	--apm-text: var(--e-global-color-text, inherit);
	--apm-muted: var(--e-global-color-577a321, #606060);
	--apm-heading-font: "APM Devanagari Serif", var(--e-global-typography-primary-font-family, inherit);
	--apm-body-font: "APM Devanagari Sans", var(--e-global-typography-text-font-family, inherit);
	--apm-pod-gap: 24px;
	font-family: var(--apm-body-font);
}

.apm-pods__head {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 0 0 24px;
}

.apm-pods__head .apm-eyebrow {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--apm-accent);
}

.apm-pods__head .apm-eyebrow::after {
	content: "";
	flex: 1;
	height: 1px;
	background: currentColor;
	opacity: 0.25;
}

.apm-pods__nav {
	display: flex;
	gap: 8px;
}

.apm-pods--static .apm-pods__nav {
	display: none;
}

.apm-pods__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	min-width: 0;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 50%;
	background: #fff;
	color: var(--apm-text);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.apm-pods__btn:hover:not(:disabled) {
	border-color: var(--apm-accent);
	background: var(--apm-accent);
	color: #fff;
}

.apm-pods__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.apm-pods__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - (var(--apm-visible, 3) - 1) * var(--apm-pod-gap)) / var(--apm-visible, 3));
	column-gap: var(--apm-pod-gap);
	margin: 0;
	padding: 4px 0 8px;
	list-style: none;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

/* Snapping starts with the visitor's first touch, wheel or arrow click.
   Snapping from page load scrolls the track by itself, which makes Chrome
   stop measuring Largest Contentful Paint for the whole page. */
.apm-pods.is-live .apm-pods__track {
	scroll-snap-type: x mandatory;
}

.apm-pods__track::-webkit-scrollbar {
	display: none;
}

/* Grid: every item, for the "View all" Page. */
.apm-pods__grid {
	display: grid;
	grid-template-columns: repeat(var(--apm-visible, 3), minmax(0, 1fr));
	gap: 44px var(--apm-pod-gap);
	margin: 0;
	padding: 0;
	list-style: none;
}

.apm-pod {
	scroll-snap-align: start;
	min-width: 0;
}

.apm-pod__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.apm-pod__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 6px;
	background: #1f1f1f;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.apm-pod__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.apm-pod__badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.apm-pod__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--apm-accent);
	transform: translate(-50%, -50%);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	transition: transform 0.25s ease;
}

a.apm-pod__link:hover .apm-pod__thumb,
a.apm-pod__link:focus-visible .apm-pod__thumb {
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
	transform: translateY(-3px);
}

a.apm-pod__link:hover .apm-pod__thumb img {
	transform: scale(1.04);
}

a.apm-pod__link:hover .apm-pod__play {
	transform: translate(-50%, -50%) scale(1.08);
}

.apm-pod__title {
	display: -webkit-box;
	margin-top: 14px;
	overflow: hidden;
	font-family: var(--apm-heading-font);
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--apm-text);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	transition: color 0.2s ease;
}

a.apm-pod__link:hover .apm-pod__title {
	color: var(--apm-accent);
}

.apm-pod__meta {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: var(--apm-muted);
}

.apm-pods .apm-more-wrap {
	margin: 28px 0 0;
}

/* Audio player in the lightbox. */
.apm-audio {
	box-sizing: border-box;
	width: min(640px, 92vw);
	padding: 24px;
	border-radius: 6px;
	background: #fff;
}

.apm-audio__title {
	margin: 0 0 14px;
	font-size: 17px;
	font-weight: 600;
	color: #222;
}

.apm-audio audio {
	width: 100%;
}

@media (max-width: 1024px) {
	.apm-pods { --apm-visible: 2 !important; }
}

@media (max-width: 767px) {
	.apm-pods { --apm-pod-gap: 14px; }
	/* About 1.2 cards so the next one peeks in and invites a swipe. */
	.apm-pods__track { grid-auto-columns: 82%; }
	.apm-pods__nav { display: none; }
	.apm-pods__grid { grid-template-columns: 1fr; row-gap: 32px; }
	.apm-pod__title { font-size: 17px; }
}

/* ── Lightbox (GLightbox, "apm" skin) ──────────────────────────── */

/* Dark enough that the white caption reads over any page behind it. */
.glightbox-apm .goverlay {
	background: rgba(0, 0, 0, 0.72);
}

.glightbox-apm .gslide-media {
	box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
}

.glightbox-apm .gslide-image {
	position: relative;
	background: #fff;
	padding: 12px;
}

/* As large as the screen allows: room only for the dots above, the caption
   below and the arrows at the sides. */
.glightbox-apm .gslide-image img {
	max-height: calc(100vh - 150px);
	max-width: calc(100vw - 200px);
	border: 1px solid #4a4a4a;
}

.glightbox-apm .gslide-image.apm-fit img {
	width: var(--apm-fit-w) !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
}

.glightbox-apm .gslide-description {
	background: transparent !important;
}

.glightbox-apm .gdesc-inner {
	padding: 10px 0 0;
	text-align: center;
}

.glightbox-apm .gslide-desc {
	font-family: var(--apm-heading-font);
	font-size: 18px;
	color: #fff;
}

.glightbox-apm .gslide-title {
	display: none;
}

.glightbox-apm .apm-lb-title {
	display: block;
	font-size: 19px;
	color: #fff;
}

.glightbox-apm .apm-lb-date {
	display: block;
	margin-top: 2px;
	font-family: var(--apm-body-font);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
}

/* "Open Link" hover label on the screenshot. */
.apm-lb-open {
	position: absolute;
	inset: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

.apm-lb-open__label {
	padding: 10px 18px;
	border-radius: 4px;
	background: rgba(30, 30, 30, 0.85);
	color: #fff;
	font-family: var(--apm-body-font);
	font-size: 14px;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.apm-lb-open:hover .apm-lb-open__label,
.apm-lb-open:focus-visible .apm-lb-open__label {
	opacity: 1;
	transform: none;
}

/* Round white close and arrow buttons. Padding/min sizes reset because
   themes often style every <button> (which squeezed the arrow icons). */
.glightbox-apm .gclose,
.glightbox-apm .gprev,
.glightbox-apm .gnext {
	box-sizing: border-box;
	padding: 0;
	min-width: 0;
	min-height: 0;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	transition: background 0.15s ease, transform 0.15s ease;
}

.glightbox-apm .gclose {
	position: absolute;
	top: 24px;
	right: 24px;
	width: 48px;
	height: 48px;
}

.glightbox-apm .gprev,
.glightbox-apm .gnext {
	position: absolute;
	top: 50%;
	width: 34px;
	height: 34px;
	margin-top: -17px;
}

/* Right beside the image: --apm-lb-half is half its width (set by JS). */
.glightbox-apm .gprev { left: max(16px, calc(50% - var(--apm-lb-half, 300px) - 58px)); }
.glightbox-apm .gnext { right: max(16px, calc(50% - var(--apm-lb-half, 300px) - 58px)); }

.glightbox-apm .gclose svg,
.glightbox-apm .gprev svg,
.glightbox-apm .gnext svg {
	width: 16px;
	height: auto;
}

.glightbox-apm .gclose path,
.glightbox-apm .gprev path,
.glightbox-apm .gnext path {
	fill: #333;
}

.glightbox-apm .gclose:hover,
.glightbox-apm .gprev:hover,
.glightbox-apm .gnext:hover {
	background: #e9e9e9;
	transform: scale(1.06);
}

.glightbox-apm .gbtn.disabled {
	opacity: 0.35;
	cursor: default;
}

/* "Previous  1 of 3  Next" bar above the image. Sizes are reset because
   themes often style every <button>. */
.apm-lb-nav {
	position: absolute;
	top: 14px;
	left: 50%;
	z-index: 99999;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 4px;
	border-radius: 22px;
	background: rgba(0, 0, 0, 0.6);
	transform: translateX(-50%);
	white-space: nowrap;
}

.apm-lb-nav .apm-lb-nav__btn {
	box-sizing: border-box;
	min-width: 0;
	min-height: 0;
	padding: 8px 16px;
	border: 0;
	border-radius: 18px;
	background: #fff;
	color: #333;
	font-family: var(--apm-body-font, sans-serif);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
}

.apm-lb-nav .apm-lb-nav__btn:hover,
.apm-lb-nav .apm-lb-nav__btn:focus-visible {
	background: #e9e9e9;
	color: #333;
}

.apm-lb-nav .apm-lb-nav__btn:disabled {
	opacity: 0.35;
	cursor: default;
}

.apm-lb-counter {
	padding: 0 10px;
	color: #fff;
	font-family: var(--apm-body-font, sans-serif);
	font-size: 14px;
}

/* Text slide for an item that has a link but no screenshot. */
.apm-lb-card {
	padding: 40px 32px;
	text-align: center;
	background: #fff;
}

.apm-lb-card__title {
	font-size: 22px;
	color: #222;
}

.apm-lb-card__date {
	margin-top: 6px;
	font-size: 14px;
	color: #606060;
}

.apm-lb-card .apm-lb-card__link {
	display: inline-block;
	margin-top: 20px;
	padding: 10px 20px;
	border-radius: 4px;
	background: #333;
	color: #fff;
	font-size: 14px;
	text-decoration: none;
}

@media (max-width: 767px) {
	.glightbox-apm .goverlay { background: rgba(0, 0, 0, 0.88); }
	.glightbox-apm .gslide-image { padding: 6px; }
	.glightbox-apm .gslide-image img { max-width: 100%; max-height: calc(100vh - 170px); }
	.apm-lb-open { inset: 6px; }
	.glightbox-apm .gclose { top: 12px; right: 12px; width: 40px; height: 40px; }
	/* The bar and swiping are enough; the arrows would cover the clipping. */
	.glightbox-apm .gprev,
	.glightbox-apm .gnext { display: none; }
	.apm-lb-nav { top: 12px; gap: 0; }
	.apm-lb-nav .apm-lb-nav__btn { padding: 8px 12px; font-size: 13px; }
	.apm-lb-counter { font-size: 13px; }
}

/* Single-item lightbox (podcasts, outlets with one item): no arrows. */
.glightbox-container.apm-lb-single .gnext,
.glightbox-container.apm-lb-single .gprev {
	display: none !important;
}

/* ── Breadcrumbs (article pages) ───────────────────────────────── */

.apm-breadcrumbs {
	--apm-accent: var(--e-global-color-primary, currentColor);
	--apm-muted: var(--e-global-color-577a321, #606060);
	margin: 0 0 14px;
	font-family: var(--e-global-typography-text-font-family, inherit);
	font-size: 14px;
}

.apm-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.apm-breadcrumbs li {
	margin: 0;
	color: var(--apm-muted);
}

.apm-breadcrumbs li + li::before {
	content: "\203A";
	margin: 0 10px;
	color: var(--apm-muted);
}

.apm-breadcrumbs a {
	color: var(--apm-accent);
	font-weight: 600;
	text-decoration: none;
}

.apm-breadcrumbs a:hover {
	text-decoration: underline;
}

/* ── Share bar ─────────────────────────────────────────────────── */

.apm-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
	margin: 40px 0 0;
	padding: 18px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	font-family: var(--apm-body-font);
}

.apm-share__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--apm-text);
}

.apm-share__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.apm-share .apm-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 40px;
	height: 40px;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 50%;
	background: #fff;
	color: var(--apm-text);
	cursor: pointer;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.apm-share .apm-share__btn:hover,
.apm-share .apm-share__btn:focus-visible {
	border-color: var(--apm-accent);
	background: var(--apm-accent);
	color: #fff;
}

.apm-share .apm-share__btn[hidden] {
	display: none;
}

.apm-share__done {
	font-size: 14px;
	font-weight: 600;
	color: var(--apm-accent);
}

/* ── Appointment button (below the share bar, left) ────────────── */

/* Small and after the reading: an offer, not a banner. */
.apm-cta {
	width: fit-content;
	max-width: 100%;
	margin: 20px 0 0;
	box-sizing: border-box;
	font-family: var(--apm-body-font);
	text-align: left;
}

/* With a heading or note: a light card like "Related Topics". */
.apm-cta--boxed {
	max-width: 320px;
	padding: 16px 18px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.55);
}

.apm-cta__heading {
	margin: 0 0 4px;
	font-family: var(--apm-heading-font);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--apm-text);
}

.apm-cta__note {
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.5;
	color: var(--apm-muted);
}

.apm-cta .apm-cta__btn {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 6px;
	background: var(--apm-accent);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apm-cta .apm-cta__btn:hover,
.apm-cta .apm-cta__btn:focus-visible {
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
	transform: translateY(-1px);
}

/* ── Lightbox zoom ─────────────────────────────────────────────── */

.glightbox-apm .apm-lb-zoom {
	position: absolute;
	top: 18px;
	right: 18px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 42px;
	height: 42px;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(30, 30, 30, 0.82);
	color: #fff;
	cursor: zoom-in;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.glightbox-apm .apm-lb-zoom:hover,
.glightbox-apm .apm-lb-zoom:focus-visible {
	background: #111;
}

.apm-zoom {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	overflow: auto;
	background: rgba(12, 12, 12, 0.96);
	cursor: grab;
	overscroll-behavior: contain;
}

.apm-zoom.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.apm-zoom__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: max-content;
	min-width: 100%;
	min-height: 100%;
	padding: 72px 24px 24px;
}

.apm-zoom__stage img {
	display: block;
	max-width: none;
	height: auto;
	background: #fff;
	-webkit-user-drag: none;
	user-select: none;
}

.apm-zoom__bar {
	position: fixed;
	top: 14px;
	right: 28px; /* Clear of the scrollbar. */
	z-index: 2;
	display: flex;
	gap: 8px;
}

.apm-zoom__bar button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	min-width: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #222;
	line-height: 0;
	cursor: pointer;
}

.apm-zoom__bar svg {
	display: block;
	flex: none;
}

.apm-zoom__bar button:hover,
.apm-zoom__bar button:focus-visible {
	background: #e8e8e8;
}

@media (max-width: 767px) {
	.glightbox-apm .apm-lb-zoom { top: 12px; right: 12px; }
	.apm-share { gap: 10px 12px; }
	.apm-zoom__stage { padding: 68px 8px 8px; }
}
