/* ==========================================================================
   ArtMagz-style homepage (page 81238) — inc/class-home-artmagz.php.

   Reproduces the JNews "ArtMagz" demo homepage with core blocks, in the CD
   brand. Every measurement below was taken from the demo's computed styles at
   1440px and 390px (2026-10-14); type faces and colours are swapped for the
   2026 Brand Guidelines: Poppins for titles, Oswald for meta/labels in the
   #707070 subheader grey, navy text, red→blue gradient pills.

   Scoped by .cd-am (the page's wrapper Group), so nothing here can touch any
   other page — including the 0.3 homepage (70741) while both exist.

   Desktop grid (container 1140): main 750 + 45 gap + sidebar 345.
   ========================================================================== */

.cd-am {
	--am-ink: var(--cd-navy);
	--am-text: #53585c;
	--am-muted: var(--cd-muted);
	--am-line: #eeeeee;
	--am-gap: 30px;
	--am-badge: linear-gradient(45deg, var(--cd-red) 0%, var(--cd-blue) 100%);
	max-width: 1170px;
	margin: 0 auto;
	padding: 40px 15px 0;
	font-family: var(--cd-font-body);
	color: var(--am-text);
}

/* --- Resets: JNews and core give lists, headings and blocks their own spacing. */
.cd-am .wp-block-group,
.cd-am .wp-block-query,
.cd-am .wp-block-post-featured-image {
	margin: 0;
}
.cd-am ul.wp-block-post-template {
	margin: 0;
	padding: 0;
	list-style: none;
}
.cd-am ul.wp-block-post-template > li {
	margin: 0;
}
.cd-am .wp-block-post-featured-image a,
.cd-am .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
}
/* Whole image, letterboxed (client request 2026-10-14): 81% of featured images
   are 1.7:1 or wider graphics with text to the edges, which the ArtMagz box
   shapes cut off when cropped. The boxes keep their shape; the bars take the
   box's background (off-white on cards, navy behind captions). */
.cd-am .wp-block-post-featured-image img {
	object-fit: contain;
}
.cd-am a {
	text-decoration: none;
}

/* --- Sections ----------------------------------------------------------- */
/* (.cd-am-prefixed: the reset above zeroes .cd-am .wp-block-group margins.) */
.cd-am .cd-am-section {
	margin-bottom: 40px;
}
.cd-am-row {
	display: grid;
	grid-template-columns: minmax(0, 750fr) minmax(0, 345fr);
	column-gap: 45px;
	align-items: start;
}
/* Rows 1 and 2 in one grid: Latest News spans grid rows 1-2, so the second
   half of the sidebar starts right below the first (row 2) and the rest of the
   main column right below Latest News (row 3). A two-row layout left a gap the
   height of Latest News minus the tabs box in the sidebar (~315px). */
.cd-am-flow {
	display: grid;
	grid-template-columns: minmax(0, 750fr) minmax(0, 345fr);
	column-gap: 45px;
	align-items: start;
}
.cd-am-flow > .cd-am-main--1 {
	grid-column: 1;
	grid-row: 1 / 3;
}
.cd-am-flow > .cd-am-side--1 {
	grid-column: 2;
	grid-row: 1;
}
.cd-am-flow > .cd-am-side--2 {
	grid-column: 2;
	grid-row: 2 / 4;
}
.cd-am-flow > .cd-am-main--2 {
	grid-column: 1;
	grid-row: 3;
}
.cd-am-main > * + *,
.cd-am-side > * + * {
	margin-top: 0;
}
.cd-am-main > .wp-block-query,
.cd-am-main > .cd-am-filterblock {
	margin-bottom: 40px;
}
.cd-am-side > .wp-block-query,
.cd-am-side > .cd-am-tabs {
	margin-bottom: 40px;
}
.cd-am .cd-ad {
	margin: 0 auto 40px;
}
.cd-am-side .cd-ad--sidebar {
	margin: 0 0 40px;
}

/* Phone-only slots (filled by assets/js/cd-ads.js below 768px). */
.cd-am .cd-ad--mobile-only {
	display: none;
}

/* --- Block heading (JNews heading_6): title + 2px rule + short brand bar. */
.cd-am .cd-am-heading {
	position: relative;
	margin: 0 0 30px;
	padding: 0 0 12px;
	border-bottom: 2px solid var(--am-line);
	font-family: var(--cd-font-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
	color: var(--am-ink);
}
.cd-am .cd-am-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 40px;
	height: 2px;
	background: var(--am-badge);
}

/* --- Post pieces -------------------------------------------------------- */
.cd-am-media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 350 / 250;
	background: var(--cd-cream);
}
.cd-am-media > .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
}
/* No featured image (about 3% of posts): the brand mark instead of a blank box. */
.cd-am-media:not(:has(img)) {
	background: var(--cd-cream) url(../images/cd-icon-2026.svg) center / auto 34% no-repeat;
}
.cd-am .cd-am-title {
	margin: 0 0 5px;
	font-family: var(--cd-font-heading);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--am-ink);
}
.cd-am .cd-am-title a {
	color: inherit;
	transition: color 0.2s;
}
.cd-am .cd-am-title a:hover {
	color: var(--cd-red-ink);
}
.cd-am-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 10px;
	font-family: var(--cd-font-subheading);
	font-size: 12px;
	line-height: 22px;
	letter-spacing: 0.2px;
	color: var(--am-muted);
}
.cd-am-meta > * {
	margin: 0;
}
.cd-am .cd-am-author {
	font-weight: 500;
	color: var(--am-ink);
}
.cd-am .cd-am-author::before {
	content: "By ";
	font-weight: 400;
	color: var(--am-muted);
}
.cd-am .cd-am-date a,
.cd-am .cd-am-author a {
	color: inherit;
}
.cd-am .cd-am-excerpt {
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--am-text);
}
.cd-am .cd-am-excerpt p {
	margin: 0;
}

/* Category pill on the image (JNews post-category label). */
.cd-am .cd-am-badge {
	display: flex;
	gap: 4px;
	margin: 0;
	line-height: 1;
}
.cd-am-media > .cd-am-badge {
	position: absolute;
	left: 10px;
	bottom: 10px;
	z-index: 2;
}
.cd-am .cd-am-badge a {
	display: inline-block;
	padding: 4px 6px 3px;
	background: var(--am-badge);
	font-family: var(--cd-font-subheading);
	font-size: 11px;
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--cd-white);
}
.cd-am .cd-am-badge .wp-block-post-terms__separator {
	display: none;
}

/* Plain category label above a title (jeg_postblock_14 grid). */
.cd-am .cd-am-cat {
	margin: 18px 0 8px;
	font-family: var(--cd-font-subheading);
	font-size: 12px;
	line-height: 1;
	letter-spacing: 1px;
	text-transform: uppercase;
}
.cd-am .cd-am-cat a {
	color: var(--am-ink);
}
.cd-am .cd-am-cat .wp-block-post-terms__separator {
	display: none;
}
.cd-am .cd-am-cat a + a {
	display: none;
}

/* --- Grids -------------------------------------------------------------- */
.cd-am-grid > .wp-block-post-template {
	display: grid;
	gap: 30px var(--am-gap);
}
.cd-am-grid--4 > .wp-block-post-template {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cd-am-grid--3 > .wp-block-post-template {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cd-am-grid--2 > .wp-block-post-template {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* --- Hero slider (jeg_heroblock_13): 1140x550, caption bottom-left. */
.cd-am-slider {
	position: relative;
}
.cd-am-slider > .wp-block-post-template {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.cd-am-slider > .wp-block-post-template::-webkit-scrollbar {
	display: none;
}
.cd-am-slider > .wp-block-post-template > li {
	flex: 0 0 100%;
	scroll-snap-align: start;
}
.cd-am-post--hero {
	position: relative;
	height: 550px;
	overflow: hidden;
	background: var(--am-ink);
}
.cd-am-post--hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(10, 17, 40, 0.85) 0%, rgba(10, 17, 40, 0.35) 45%, rgba(10, 17, 40, 0) 70%);
	pointer-events: none;
}
.cd-am-post--hero > .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
}
.cd-am-hero__caption {
	position: absolute;
	left: 65px;
	right: 65px;
	bottom: 55px;
	z-index: 2;
	max-width: 620px;
}
.cd-am-hero__caption .cd-am-badge {
	margin-bottom: 10px;
}
.cd-am .cd-am-post--hero .cd-am-title {
	margin-bottom: 8px;
	font-size: 30px;
	line-height: 1.15;
	color: var(--cd-white);
}
.cd-am .cd-am-post--hero .cd-am-title a:hover {
	color: var(--cd-white);
	opacity: 0.85;
}
.cd-am-post--hero .cd-am-meta,
.cd-am .cd-am-post--hero .cd-am-author,
.cd-am .cd-am-post--hero .cd-am-author::before {
	color: rgba(255, 255, 255, 0.9);
}

/* Slider controls (built by home-artmagz.js). */
.cd-am-slider__nav {
	position: absolute;
	right: 30px;
	bottom: 30px;
	z-index: 3;
	display: flex;
	gap: 6px;
}
.cd-am-slider__btn {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 0;
	background: rgba(10, 17, 40, 0.35);
	color: var(--cd-white);
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
.cd-am-slider__btn:hover,
.cd-am-slider__btn:focus-visible {
	background: var(--cd-red);
	border-color: var(--cd-red);
}
.cd-am-slider__dots {
	position: absolute;
	left: 65px;
	bottom: 25px;
	z-index: 3;
	display: flex;
	gap: 6px;
}
.cd-am-slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}
.cd-am-slider__dot[aria-current="true"] {
	background: var(--cd-white);
	width: 22px;
	border-radius: 4px;
}

/* --- md_5 cards: image + pill, title 16, date. */
.cd-am .cd-am-post--md5 .cd-am-title {
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.4;
}

/* --- md_1 cards: image + pill, title 18, by/date, excerpt. */
.cd-am .cd-am-post--md1 .cd-am-title {
	margin-top: 15px;
	font-size: 18px;
	line-height: 1.4;
}

/* --- Small list (jeg_pl_sm): 120x86 thumb left. */
.cd-am-post--sm {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr);
	column-gap: 15px;
	align-items: start;
}
.cd-am-post--sm .cd-am-media {
	aspect-ratio: 120 / 86;
}
.cd-am .cd-am-post--sm .cd-am-title {
	font-size: 15px;
	line-height: 1.4;
}
.cd-am-smlist > .wp-block-post-template {
	display: grid;
	gap: 25px var(--am-gap);
}
.cd-am-main > .cd-am-smlist {
	margin-top: -10px;
}

/* --- lg_2 list: 360x257 image left, title 22, meta, excerpt, read more. */
.cd-am-lglist > .wp-block-post-template {
	display: grid;
	gap: 30px;
}
.cd-am-post--lg2 {
	display: grid;
	grid-template-columns: minmax(0, 360fr) minmax(0, 360fr);
	column-gap: 30px;
	align-items: start;
}
.cd-am .cd-am-post--lg2 .cd-am-title {
	font-size: 22px;
	line-height: 1.4;
}
.cd-am .cd-am-readmore {
	display: inline-block;
	margin-top: 15px;
	padding: 6px 18px;
	border: 1px solid var(--am-ink);
	font-family: var(--cd-font-subheading);
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--am-ink);
	transition: background 0.2s, color 0.2s;
}
.cd-am .cd-am-readmore:hover {
	background: var(--am-ink);
	color: var(--cd-white);
}

/* --- lg_box: 750x375 image, caption over a dark fade. */
.cd-am-lgbox {
	margin-bottom: 30px !important;
}
.cd-am-post--lgbox {
	position: relative;
	aspect-ratio: 750 / 375;
	overflow: hidden;
	background: var(--am-ink);
}
.cd-am-post--lgbox > .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
}
.cd-am-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 60px 20px 20px;
	background: linear-gradient(0deg, rgba(10, 17, 40, 0.85) 0%, rgba(10, 17, 40, 0) 100%);
}
.cd-am-overlay .cd-am-badge {
	margin-bottom: 10px;
}
.cd-am .cd-am-post--lgbox .cd-am-title {
	font-size: 20px;
	line-height: 1.4;
	color: var(--cd-white);
}
.cd-am-post--lgbox .cd-am-meta,
.cd-am .cd-am-post--lgbox .cd-am-author,
.cd-am .cd-am-post--lgbox .cd-am-author::before {
	color: rgba(255, 255, 255, 0.9);
}

/* --- jeg_postblock_14 grid item: 360x180 image, label, title 20. */
.cd-am-post--md1b .cd-am-media {
	aspect-ratio: 360 / 180;
}
.cd-am .cd-am-post--md1b .cd-am-title {
	font-size: 20px;
	line-height: 1.4;
}

/* --- Popular News: first item large, numbers 01–04. */
.cd-am-popular > .wp-block-post-template {
	counter-reset: am-pop;
	display: grid;
	gap: 22px;
}
.cd-am-popular > .wp-block-post-template > li {
	counter-increment: am-pop;
}
.cd-am-post--popular {
	position: relative;
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	column-gap: 12px;
	align-items: start;
}
.cd-am-post--popular .cd-am-media {
	display: none;
}
.cd-am-post--popular::before {
	content: counter(am-pop, decimal-leading-zero);
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--cd-cream);
	font-family: var(--cd-font-subheading);
	font-size: 13px;
	font-weight: 500;
	color: var(--am-ink);
}
.cd-am .cd-am-post--popular .cd-am-title {
	font-size: 14px;
	line-height: 1.45;
}
/* #1: full-width image, title with a large outlined 01 beside it. */
.cd-am-popular li:first-child .cd-am-post--popular {
	grid-template-columns: minmax(0, 1fr) 56px;
	grid-template-areas: "media media" "body num";
	row-gap: 12px;
}
.cd-am-popular li:first-child .cd-am-post--popular .cd-am-media {
	display: block;
	grid-area: media;
	aspect-ratio: 345 / 230;
}
.cd-am-popular li:first-child .cd-am-post--popular .cd-am-body {
	grid-area: body;
}
.cd-am-popular li:first-child .cd-am-post--popular::before {
	grid-area: num;
	justify-self: end;
	width: auto;
	height: auto;
	padding-left: 12px;
	border-left: 1px solid var(--am-line);
	border-radius: 0;
	background: none;
	font-size: 34px;
	font-style: italic;
	color: transparent;
	-webkit-text-stroke: 1px #c4c4c4;
}
.cd-am .cd-am-popular li:first-child .cd-am-title {
	font-size: 16px;
}

/* --- Tabs (Trending / Comments / Latest) and the Breaking News filter. */
.cd-am-tabs__nav {
	display: flex;
}
.cd-am-tab {
	margin: 0;
	padding: 0 10px;
	border: 0;
	border-radius: 0;
	background: none;
	font-family: var(--cd-font-heading);
	font-size: 12px;
	font-weight: 700;
	line-height: 36px;
	color: var(--am-muted);
	cursor: pointer;
}
.cd-am-tab:hover,
.cd-am-tab.is-active {
	color: var(--am-ink);
}
.cd-am-tab:focus-visible {
	outline: 2px solid var(--cd-blue);
	outline-offset: -2px;
}
.cd-am-js .cd-am-tabs__panel:not(.is-active) {
	display: none;
}
/* Boxed variant in the sidebar: three equal cells, active one underlined. */
.cd-am-tabbox .cd-am-tabs__nav {
	margin-bottom: 25px;
	border: 1px solid var(--am-line);
}
.cd-am-tabbox .cd-am-tab {
	flex: 1;
	border-bottom: 2px solid transparent;
}
.cd-am-tabbox .cd-am-tab + .cd-am-tab {
	border-left: 1px solid var(--am-line);
}
.cd-am-tabbox .cd-am-tab.is-active {
	border-bottom-color: var(--am-ink);
}
/* Filter variant: uppercase links, right-aligned on the heading's line. */
.cd-am-filterblock {
	position: relative;
}
.cd-am-filter .cd-am-tabs__nav {
	position: absolute;
	top: -6px;
	right: 0;
	gap: 2px;
}
.cd-am-filter .cd-am-tab {
	padding: 0 6px;
	font-family: var(--cd-font-subheading);
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.cd-am-filter .cd-am-tab.is-active {
	color: var(--cd-red-ink);
}

/* --- Prev/next arrows + Load More (core query pagination, JS-enhanced). */
.cd-am .cd-am-arrows {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin: 30px 0 0;
	padding-top: 0;
	border-top: 1px solid var(--am-line);
}
.cd-am .cd-am-arrows a,
.cd-am .cd-am-arrows .cd-am-arrow--off {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	margin-top: -16px;
	border: 1px solid var(--am-line);
	background: var(--cd-white);
	font-size: 16px;
	color: var(--am-ink);
}
.cd-am .cd-am-arrows .cd-am-arrow--off {
	color: #c4c4c4;
}
.cd-am .cd-am-arrows a:hover {
	border-color: var(--am-ink);
}
.cd-am .cd-am-loadmore {
	display: flex;
	justify-content: center;
	margin: 40px 0 0;
	border-top: 1px solid var(--am-line);
}
.cd-am .cd-am-loadmore a {
	display: block;
	width: 225px;
	margin-top: -17px;
	padding: 6px 18px;
	border: 1px solid var(--am-ink);
	background: var(--cd-white);
	font-family: var(--cd-font-subheading);
	font-size: 12px;
	line-height: 20px;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
	color: var(--am-ink);
}
.cd-am .cd-am-loadmore a:hover {
	background: var(--am-ink);
	color: var(--cd-white);
}
.cd-am-loading {
	opacity: 0.5;
	pointer-events: none;
}

/* --- In-feed banner (every 4 posts; inc/class-home-artmagz.php AD_EVERY). */
.cd-am .cd-am-feedad {
	grid-column: 1 / -1;
}
.cd-am .cd-am-feedad .cd-ad {
	margin: 10px auto;
}

/* --- Job board (Deathcarejobs iframe). */
.cd-am-jobs {
	display: block;
	width: 100%;
	min-height: 500px;
	margin-bottom: 40px; /* same gap as the other sidebar blocks */
	border: 1px solid #cbcedf;
	border-radius: 10px;
	background: transparent;
}

/* ==========================================================================
   Tablet: 768–1023. Sidebar drops below the main column; grids tighten.
   ========================================================================== */
@media (max-width: 1023px) {
	.cd-am-row,
	.cd-am-flow {
		grid-template-columns: minmax(0, 1fr);
	}
	.cd-am-flow > .cd-am-main--1,
	.cd-am-flow > .cd-am-side--1,
	.cd-am-flow > .cd-am-side--2,
	.cd-am-flow > .cd-am-main--2 {
		grid-column: auto;
		grid-row: auto;
	}
	.cd-am-side .cd-ad--sidebar {
		margin-left: auto;
		margin-right: auto;
	}
	.cd-am-post--hero {
		height: 420px;
	}
}

/* ==========================================================================
   Mobile: ≤767 — measured from the demo at 390px.
   ========================================================================== */
@media (max-width: 767px) {
	.cd-am {
		padding-top: 20px;
	}
	.cd-am .cd-am-section,
	.cd-am-main > .wp-block-query,
	.cd-am-main > .cd-am-filterblock,
	.cd-am-side > .wp-block-query,
	.cd-am-side > .cd-am-tabs {
		margin-bottom: 30px;
	}
	.cd-am .cd-ad,
	.cd-am-jobs {
		margin-bottom: 30px;
	}
	/* Top slot (58294) on phones: no reserved space, so while Broadstreet serves
	   it nothing on phones there is no gap above the hero; a creative that does
	   arrive shows at the column width with the usual gap below. */
	.cd-am .cd-ad--top {
		min-height: 0;
		aspect-ratio: auto;
		margin: 0 auto;
	}
	.cd-am .cd-ad--top:has(img, iframe) {
		margin-bottom: 30px;
	}
	.cd-am .cd-ad--mobile-only {
		display: flex;
	}

	/* Hero: 360x210, smaller caption, no arrows (swipe + dots). */
	.cd-am-post--hero {
		height: 210px;
	}
	.cd-am-hero__caption {
		left: 15px;
		right: 15px;
		bottom: 30px;
	}
	.cd-am .cd-am-post--hero .cd-am-title {
		font-size: 20px;
		line-height: 1.2;
	}
	.cd-am-post--hero .cd-am-meta {
		display: none;
	}
	.cd-am-slider__nav {
		display: none;
	}
	.cd-am-slider__dots {
		left: 15px;
		bottom: 12px;
	}

	/* Every grid stacks to one column. */
	.cd-am-grid--4 > .wp-block-post-template,
	.cd-am-grid--3 > .wp-block-post-template,
	.cd-am-grid--2 > .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr);
		gap: 20px;
	}
	.cd-am .cd-am-post--md5 .cd-am-title,
	.cd-am .cd-am-post--md1 .cd-am-title {
		font-size: 18px;
	}

	/* Small list: 80x57 thumbs, 14px titles. */
	.cd-am-post--sm {
		grid-template-columns: 80px minmax(0, 1fr);
		column-gap: 12px;
	}
	.cd-am .cd-am-post--sm .cd-am-title {
		font-size: 14px;
	}
	.cd-am-smlist > .wp-block-post-template {
		gap: 18px;
	}

	/* lg_2 list: 144x103 thumb left, 16px title, no excerpt / button. */
	.cd-am-post--lg2 {
		grid-template-columns: 144px minmax(0, 1fr);
		column-gap: 15px;
	}
	.cd-am-post--lg2 .cd-am-media {
		aspect-ratio: 144 / 103;
	}
	.cd-am .cd-am-post--lg2 .cd-am-title {
		font-size: 16px;
	}
	.cd-am-post--lg2 .cd-am-excerpt,
	.cd-am-post--lg2 .cd-am-readmore,
	.cd-am-post--lg2 .cd-am-author,
	.cd-am-post--lg2 .cd-am-badge {
		display: none;
	}
	.cd-am-lglist > .wp-block-post-template {
		gap: 15px;
	}

	/* lg_box: 360x180, smaller caption. */
	.cd-am-post--lgbox {
		aspect-ratio: 360 / 200;
	}
	.cd-am-overlay {
		padding: 40px 15px 12px;
	}
	.cd-am .cd-am-post--lgbox .cd-am-title {
		font-size: 18px;
	}
	.cd-am-post--lgbox .cd-am-meta {
		display: none;
	}

	/* Breaking News filter: drops under the heading and scrolls sideways. */
	.cd-am-filter .cd-am-tabs__nav {
		position: static;
		margin: -18px 0 18px;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.cd-am-filter .cd-am-tab {
		flex: 0 0 auto;
	}
	.cd-am-filter .cd-am-tab:first-child {
		padding-left: 0;
	}

	.cd-am .cd-am-heading {
		margin-bottom: 20px;
	}
}
