/*
 * The African Chronicle: main stylesheet.
 * Palette: white paper, ink, adire indigo, marigold signal.
 * Type: Archivo (semi-condensed) for headlines and interface, Source Serif 4 for reading.
 */

:root {
	--paper: #ffffff;
	--ink: #15171e;
	--indigo: #23306b;
	--indigo-deep: #182152;
	--marigold: #e8a317;
	--mist: #eef0f6;
	--slate: #565d70;
	--rule: #dcdfe8;

	--font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-text: "Source Serif 4", Georgia, "Times New Roman", serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 3vw, 28px);
	--gap: clamp(20px, 3vw, 36px);
	--radius: 3px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 1rem;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1rem;
	line-height: 1.5;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--indigo);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--indigo-deep);
}

:focus-visible {
	outline: 3px solid var(--marigold);
	outline-offset: 2px;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.skip-link:focus {
	position: fixed !important;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	clip: auto;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--marigold);
	color: var(--ink);
	font-weight: 700;
}

.hp {
	position: absolute;
	left: -9999px;
}

.icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Buttons ------------------------------------------------------------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 0 22px;
	border: 2px solid transparent;
	border-radius: var(--radius);
	font: 700 1rem/1 var(--font-display);
	font-stretch: 90%;
	text-decoration: none;
	cursor: pointer;
}

.button--primary {
	background: var(--indigo);
	color: #fff;
}

.button--primary:hover {
	background: var(--indigo-deep);
	color: #fff;
}

.button--signal {
	background: var(--marigold);
	color: var(--ink);
}

.button--signal:hover {
	background: #d39210;
	color: var(--ink);
}

.button--ghost {
	border-color: var(--indigo);
	color: var(--indigo);
	background: transparent;
}

.icon-button {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.icon-button:hover {
	background: var(--mist);
}

/* Advert slots --------------------------------------------------------- */

.ad-slot {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	justify-items: center;
	gap: 4px;
	padding: 12px var(--gutter);
	background: var(--mist);
}

.ad-slot__label {
	font-size: 0.72rem;
	color: var(--slate);
}

.ad-slot--inline {
	margin: 2rem 0;
	padding: 16px;
}

/* Homepage advert bands and the row of rectangles. */
.ad-slot--band,
.ad-slot--row {
	margin: 2rem 0;
	padding: 16px var(--gutter);
}

.ad-slot__items {
	display: grid;
	justify-items: center;
	gap: 16px;
	max-width: 100%;
}

.ad-slot--row .ad-slot__items {
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 300px));
	justify-content: center;
	width: 100%;
	max-width: 1000px;
	gap: 24px;
}

.ad-slot img {
	max-width: 100%;
	height: auto;
}

.ad-slot .widget {
	margin: 0;
}

.ad-unit a,
.ad-unit picture {
	display: block;
}

.ad-creative {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Sidebar advert stays in view while the reader scrolls the story. */
.ad-slot--side {
	position: sticky;
	top: 24px;
	margin-top: 24px;
	padding: 12px 0;
	background: none;
}

.archive-header + .ad-slot {
	margin: 0 0 2rem;
}

/* Markets ticker ------------------------------------------------------- */

/* Space is reserved so the page does not jump while the ticker loads. */
.markets-ticker {
	min-height: 46px;
	background: #fff;
	border-bottom: 1px solid var(--rule);
	overflow: hidden;
}

.markets-ticker .widget {
	margin: 0;
}

.markets-ticker .tradingview-widget-copyright {
	padding: 0 var(--gutter) 2px;
	font-size: 0.68rem;
	text-align: right;
	color: var(--slate);
}

/* Breaking news -------------------------------------------------------- */

.breaking {
	background: var(--marigold);
	color: var(--ink);
}

.breaking .wrap {
	display: flex;
	align-items: baseline;
	gap: 14px;
	padding-block: 10px;
}

.breaking__label {
	flex: none;
	padding: 2px 8px;
	background: var(--ink);
	color: var(--marigold);
	font-weight: 800;
	font-size: 0.85rem;
}

.breaking__link {
	color: var(--ink);
	font-weight: 700;
	text-decoration: none;
}

.breaking__link:hover {
	text-decoration: underline;
	color: var(--ink);
}

/* Header --------------------------------------------------------------- */

.topbar {
	background: var(--indigo-deep);
	color: #dfe3f2;
	font-size: 0.85rem;
}

.topbar__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 40px;
}

.topbar__date {
	margin: 0;
	margin-right: auto;
}

.topbar__links {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topbar a {
	color: #fff;
	text-decoration: none;
}

.topbar a:hover {
	text-decoration: underline;
}

.social {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social a {
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
}

.social--top .icon {
	width: 16px;
	height: 16px;
}

.social a:hover {
	background: rgba(255, 255, 255, 0.12);
}

.masthead {
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	padding-block: clamp(18px, 3vw, 30px) clamp(12px, 2vw, 20px);
}

.masthead__menu {
	visibility: hidden;
}

.masthead__brand {
	text-align: center;
}

.custom-logo-link {
	display: inline-block;
}

.custom-logo {
	max-height: clamp(48px, 7vw, 86px);
	width: auto;
	margin-inline: auto;
}

.masthead__tagline {
	margin: 8px 0 0;
	font-family: var(--font-text);
	font-style: italic;
	color: var(--slate);
	font-size: 1rem;
}

.wordmark {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	color: var(--ink);
	text-decoration: none;
	line-height: 0.9;
}

.wordmark__the {
	font-family: var(--font-text);
	font-size: clamp(0.95rem, 1.6vw, 1.25rem);
	font-style: italic;
}

.wordmark__name {
	font-family: var(--font-display);
	font-weight: 800;
	font-stretch: 115%;
	font-size: clamp(2.4rem, 6vw, 4.2rem);
	letter-spacing: -0.02em;
}

.wordmark--light {
	color: #fff;
	align-items: flex-start;
}

.site-search {
	padding-block: 16px;
	background: var(--mist);
}

.search-form {
	display: flex;
	gap: 8px;
	max-width: 720px;
	margin-inline: auto;
}

.search-form__input,
.newsletter__input,
.enquiry input,
.enquiry select,
.enquiry textarea {
	flex: 1;
	min-height: 46px;
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid #b9bfcf;
	border-radius: var(--radius);
	background: #fff;
	color: var(--ink);
	font: 400 1rem var(--font-display);
}

.search-form__input:focus,
.newsletter__input:focus,
.enquiry :is(input, select, textarea):focus {
	border-color: var(--indigo);
	outline: 2px solid var(--marigold);
	outline-offset: 0;
}

.site-nav {
	border-block: 1px solid var(--rule);
}

.site-nav__inner {
	display: grid;
	justify-items: center;
}

.sections {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 28px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
}

.sections a {
	display: inline-block;
	padding: 4px 0;
	color: var(--ink);
	font-weight: 700;
	font-stretch: 90%;
	font-size: 1.02rem;
	text-decoration: none;
	border-bottom: 3px solid transparent;
}

.sections a:hover,
.sections .current-menu-item > a,
.sections .current-cat > a {
	border-bottom-color: var(--indigo);
}

.regions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 18px;
	width: 100%;
	padding: 10px 0 12px;
	border-top: 1px solid var(--rule);
	font-size: 0.92rem;
}

.regions__label {
	color: var(--slate);
}

.regions__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.regions__list a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--indigo);
	text-decoration: none;
	font-weight: 600;
}

.regions__list a::before {
	content: "";
	width: 7px;
	height: 7px;
	background: var(--marigold);
	transform: rotate(45deg);
}

.regions__list a:hover,
.regions__list a[aria-current="page"] {
	text-decoration: underline;
	text-decoration-color: var(--marigold);
	text-decoration-thickness: 2px;
}

/* Kicker, titles, meta ------------------------------------------------- */

.kicker {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	margin: 0 0 8px;
	font-size: 0.86rem;
	font-weight: 700;
}

.kicker a {
	text-decoration: none;
}

.kicker__region {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ink);
}

.kicker__region::before {
	content: "";
	width: 7px;
	height: 7px;
	background: var(--marigold);
	transform: rotate(45deg);
}

.kicker__section {
	color: var(--indigo);
}

.kicker a:hover {
	text-decoration: underline;
}

.section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	font-weight: 800;
	font-stretch: 85%;
	letter-spacing: -0.01em;
	color: var(--indigo);
}

.section-title::before {
	content: "";
	flex: none;
	width: 12px;
	height: 12px;
	background: var(--marigold);
	transform: rotate(45deg);
}

.section-title a {
	color: inherit;
	text-decoration: none;
}

.section-title a:hover {
	text-decoration: underline;
}

.rail-title {
	margin: 0 0 6px;
	font-size: 1.05rem;
	font-weight: 800;
	font-stretch: 85%;
	color: var(--indigo);
}

/* Stories -------------------------------------------------------------- */

.story {
	position: relative;
}

.story__media {
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--mist);
	margin-bottom: 14px;
}

.story__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.story__title {
	margin: 0;
	font-family: var(--font-display);
	font-weight: 750;
	font-stretch: 88%;
	font-size: 1.22rem;
	line-height: 1.18;
	letter-spacing: -0.005em;
}

.story__title a {
	color: var(--ink);
	text-decoration: none;
}

.story__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.story:hover .story__title a {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--marigold);
}

.story .kicker {
	position: relative;
	z-index: 1;
}

.story__dek {
	margin: 10px 0 0;
	font-family: var(--font-text);
	font-size: 1.02rem;
	line-height: 1.5;
	color: #3a3f4d;
}

.story__meta {
	display: flex;
	gap: 12px;
	margin: 10px 0 0;
	font-size: 0.82rem;
	color: var(--slate);
}

.story__author {
	font-weight: 700;
	color: var(--ink);
}

/* Lead story: the one bold moment on the page. */
.story--lead .story__media {
	margin-bottom: 20px;
}

.story--lead .story__title {
	font-size: clamp(2.1rem, 4.4vw, 3.7rem);
	font-weight: 800;
	font-stretch: 78%;
	line-height: 0.98;
	letter-spacing: -0.02em;
	max-width: 22ch;
}

.story--lead .story__dek {
	font-size: clamp(1.1rem, 1.6vw, 1.3rem);
	max-width: 60ch;
}

.story--lead .kicker {
	font-size: 0.95rem;
}

.story--list {
	display: grid;
	grid-template-columns: 1fr 120px;
	gap: 14px;
	padding-block: 16px;
	border-bottom: 1px solid var(--rule);
}

.story--list .story__media {
	order: 2;
	align-self: start;
	margin: 0;
}

.story--list .story__image {
	aspect-ratio: 4 / 3;
}

.story--list .story__title {
	font-size: 1.04rem;
	line-height: 1.22;
}

.story--list .kicker {
	font-size: 0.78rem;
	margin-bottom: 4px;
}

.story--list:last-child {
	border-bottom: 0;
}

/* Front page ----------------------------------------------------------- */

.front-top {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: var(--gap);
	padding-block: clamp(24px, 4vw, 44px);
}

.front-top__side {
	padding-left: var(--gap);
	border-left: 1px solid var(--rule);
}

.grid {
	display: grid;
	gap: var(--gap);
}

.grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.latest,
.section-row {
	padding-block: clamp(24px, 4vw, 44px);
	border-top: 1px solid var(--rule);
}

.section-row__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	column-gap: var(--gap);
}

.section-row__grid > .story--card {
	grid-row: span 3;
}

.section-row__grid > .story--card .story__title {
	font-size: 1.6rem;
}

.investigations {
	margin-block: clamp(16px, 3vw, 32px);
	padding-block: clamp(32px, 5vw, 60px);
	background: var(--indigo);
	color: #fff;
}

.investigations__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
	gap: var(--gap);
	align-items: end;
	margin-bottom: 28px;
}

.investigations__title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3.2rem);
	font-weight: 800;
	font-stretch: 78%;
	line-height: 1;
}

.investigations__title a {
	color: #fff;
	text-decoration: none;
}

.investigations__intro {
	margin: 0;
	font-family: var(--font-text);
	font-size: 1.12rem;
	color: #d6dbee;
}

.investigations .story__title a,
.investigations .kicker__region {
	color: #fff;
}

.investigations .kicker__section {
	color: var(--marigold);
}

.investigations .story__meta {
	color: #b9c0dc;
}

.investigations .story__dek {
	color: #d6dbee;
}

.investigations .story__media {
	background: var(--indigo-deep);
}

/* Archive pages -------------------------------------------------------- */

.archive-header {
	padding-block: clamp(24px, 4vw, 44px) 12px;
}

.archive-title {
	margin: 0;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 800;
	font-stretch: 78%;
	line-height: 1;
	letter-spacing: -0.02em;
}

.archive-intro {
	max-width: 62ch;
	margin-top: 14px;
	font-family: var(--font-text);
	font-size: 1.15rem;
	color: #3a3f4d;
}

.archive-intro p {
	margin: 0;
}

.archive-list {
	padding-block: 24px 48px;
}

.search-results {
	max-width: 820px;
}

.search-again {
	margin-top: 18px;
}

.search-again .search-form {
	margin: 0;
}

.empty {
	font-family: var(--font-text);
	font-size: 1.15rem;
}

.profile {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 24px;
	align-items: start;
}

.profile__avatar {
	border-radius: 50%;
}

.profile__role {
	margin: 8px 0 0;
	font-weight: 700;
	color: var(--indigo);
}

.profile__links {
	display: flex;
	gap: 16px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
	font-weight: 700;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px;
}

.pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1.5px solid var(--rule);
	border-radius: var(--radius);
	text-decoration: none;
	font-weight: 700;
}

.pagination .current {
	background: var(--indigo);
	border-color: var(--indigo);
	color: #fff;
}

/* Breadcrumbs ----------------------------------------------------------- */

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
	font-size: 0.85rem;
	color: var(--slate);
}

.breadcrumbs li + li::before {
	content: "/";
	margin-right: 4px;
	color: #a3a9ba;
}

.breadcrumbs a {
	color: var(--slate);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--indigo);
	text-decoration: underline;
}

/* Article --------------------------------------------------------------- */

.article__header {
	max-width: calc(720px + 2 * var(--gutter));
	padding-block: clamp(24px, 4vw, 44px) 20px;
}

.article__title {
	margin: 0;
	font-size: clamp(2.2rem, 5.2vw, 3.9rem);
	font-weight: 800;
	font-stretch: 78%;
	line-height: 1;
	letter-spacing: -0.02em;
}

.article__dek {
	margin: 18px 0 0;
	font-family: var(--font-text);
	font-size: clamp(1.15rem, 1.8vw, 1.4rem);
	line-height: 1.45;
	color: #3a3f4d;
	max-width: 62ch;
}

.article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 24px;
	padding-top: 18px;
	border-top: 1px solid var(--rule);
}

.byline {
	display: flex;
	align-items: center;
	gap: 12px;
}

.byline__avatar {
	border-radius: 50%;
}

.byline__text {
	display: grid;
	gap: 2px;
}

.byline__by {
	font-weight: 700;
}

.byline__by a {
	color: var(--ink);
}

.dateline {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	font-size: 0.85rem;
	color: var(--slate);
}

.share {
	display: flex;
	align-items: center;
	gap: 10px;
}

.share__label {
	font-size: 0.85rem;
	color: var(--slate);
}

.share__list {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.share__link {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1.5px solid var(--rule);
	border-radius: 50%;
	background: #fff;
	color: var(--indigo);
	cursor: pointer;
}

.share__link:hover {
	border-color: var(--indigo);
	background: var(--mist);
}

.share__link--whatsapp {
	color: #1a8a46;
}

.share__copy.is-copied {
	border-color: var(--marigold);
	background: var(--marigold);
	color: var(--ink);
}

.article__figure {
	margin-block: 8px 0;
}

.article__image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--radius);
}

.article__caption {
	margin-top: 10px;
	font-size: 0.86rem;
	color: var(--slate);
}

.article__layout {
	display: grid;
	grid-template-columns: minmax(0, 720px) minmax(0, 300px);
	justify-content: center;
	gap: 60px;
	padding-block: 32px 24px;
}

.article__layout:not(:has(.article__sidebar)) {
	grid-template-columns: minmax(0, 720px);
}

.entry-content {
	font-family: var(--font-text);
	font-size: clamp(1.1rem, 1.3vw, 1.22rem);
	line-height: 1.72;
	color: #22252e;
}

.entry-content > * {
	margin-block: 0 1.25em;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.8em;
	font-family: var(--font-display);
	font-weight: 800;
	font-stretch: 85%;
	line-height: 1.15;
	color: var(--ink);
}

.entry-content h2 {
	font-size: 1.6rem;
}

.entry-content h3 {
	font-size: 1.3rem;
}

.entry-content blockquote {
	margin-inline: 0;
	padding-left: 22px;
	border-left: 5px solid var(--indigo);
	font-size: 1.3rem;
	font-style: italic;
}

.entry-content blockquote cite {
	display: block;
	margin-top: 8px;
	font-family: var(--font-display);
	font-style: normal;
	font-size: 0.9rem;
	color: var(--slate);
}

.entry-content figure {
	margin-inline: 0;
}

.entry-content figcaption {
	font-family: var(--font-display);
	font-size: 0.86rem;
	color: var(--slate);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--font-display);
	font-size: 0.95rem;
}

.entry-content th,
.entry-content td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--rule);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: var(--mist);
	color: var(--indigo);
}

.article__footer {
	display: grid;
	gap: 24px;
	margin-top: 36px;
	padding-top: 24px;
	border-top: 1px solid var(--rule);
	font-family: var(--font-display);
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tags a {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--mist);
	color: var(--indigo);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
}

.tags a:hover {
	background: var(--indigo);
	color: #fff;
}

.article__standards {
	margin: 0;
	font-size: 0.92rem;
	color: var(--slate);
}

.author-box {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px;
	padding: 22px;
	background: var(--mist);
	border-radius: var(--radius);
}

.author-box__avatar {
	border-radius: 50%;
}

.author-box__name {
	margin: 0;
	font-weight: 800;
	font-size: 1.1rem;
}

.author-box__name a {
	color: var(--ink);
}

.author-box__role {
	margin: 2px 0 0;
	font-weight: 600;
	color: var(--indigo);
}

.author-box__bio {
	margin: 8px 0 0;
	font-family: var(--font-text);
	font-size: 1rem;
	line-height: 1.55;
}

.article__newsletter {
	margin-top: 36px;
	padding: 26px;
	border-top: 6px solid var(--marigold);
	background: var(--mist);
	font-family: var(--font-display);
}

.entry-content .article__newsletter-title {
	margin: 0 0 6px;
	font-size: 1.5rem;
	font-weight: 800;
	font-stretch: 85%;
	color: var(--indigo);
}

.article__newsletter > p {
	margin: 0 0 14px;
	font-size: 1rem;
	line-height: 1.5;
}

.related {
	padding-block: 40px 56px;
	border-top: 1px solid var(--rule);
}

.page-links {
	font-family: var(--font-display);
}

/* Pages ----------------------------------------------------------------- */

.page-article {
	padding-block: clamp(24px, 4vw, 44px) 56px;
}

.page-article__header {
	max-width: 760px;
	margin-inline: auto;
	margin-bottom: 28px;
}

.page-article__body {
	max-width: 760px;
	margin-inline: auto;
}

.notfound {
	padding-block: 64px;
	display: grid;
	gap: 18px;
	justify-items: start;
}

/* Advertise ------------------------------------------------------------- */

.audience {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 2px;
	max-width: 960px;
	margin: 0 auto 24px;
	background: var(--rule);
	border: 2px solid var(--rule);
}

.audience__item {
	padding: 22px;
	background: #fff;
}

.audience dt {
	font-size: 0.9rem;
	color: var(--slate);
}

.audience dd {
	margin: 4px 0 0;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 800;
	font-stretch: 80%;
	color: var(--indigo);
}

.audience__countries,
.advertise__actions,
.advertise__form {
	max-width: 760px;
	margin-inline: auto;
}

.audience__countries {
	margin-bottom: 28px;
	font-size: 1rem;
}

.advertise__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-block: 28px 44px;
}

.enquiry__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 18px;
}

.enquiry__grid p {
	margin: 0 0 16px;
}

.enquiry__full {
	grid-column: 1 / -1;
}

.enquiry label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	font-size: 0.92rem;
}

.notice {
	max-width: 760px;
	margin: 0 auto 18px;
	padding: 14px 18px;
	border-radius: var(--radius);
	font-weight: 600;
}

.notice--ok {
	background: #e6f4ea;
	color: #14532d;
}

.notice--error {
	background: #fdecea;
	color: #8a1c13;
}

/* Newsletter ------------------------------------------------------------ */

.newsletter-band {
	padding-block: clamp(36px, 5vw, 60px);
	background: var(--mist);
	border-top: 6px solid var(--marigold);
}

.newsletter-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--gap);
	align-items: center;
}

.newsletter-band__title {
	margin: 0 0 8px;
	font-size: clamp(1.9rem, 3.4vw, 2.7rem);
	font-weight: 800;
	font-stretch: 78%;
	line-height: 1;
	color: var(--indigo);
}

.newsletter-band__copy p {
	margin: 0;
	font-family: var(--font-text);
	font-size: 1.15rem;
}

.newsletter__label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	font-size: 0.92rem;
}

.newsletter__row {
	display: flex;
	gap: 8px;
}

.newsletter__fine {
	margin: 8px 0 0;
	font-size: 0.82rem;
	color: var(--slate);
}

.newsletter__message {
	margin: 10px 0 0;
	font-weight: 700;
}

.newsletter__message--ok {
	color: #14532d;
}

.newsletter__message--error {
	color: #8a1c13;
}

/* Footer ---------------------------------------------------------------- */

.site-footer {
	background: var(--indigo-deep);
	color: #d6dbee;
	font-size: 0.95rem;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, 1fr);
	gap: var(--gap);
	padding-block: 48px 32px;
}

.site-footer__about {
	max-width: 36ch;
	font-family: var(--font-text);
	font-size: 1.02rem;
}

.site-footer__heading {
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 800;
	color: #fff;
}

.site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__col li {
	margin-bottom: 8px;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
	text-decoration-color: var(--marigold);
}

.site-footer__base {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px;
	padding-block: 18px 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	font-size: 0.85rem;
	color: #b9c0dc;
}

.site-footer__base p {
	margin: 0;
}

/* Comments -------------------------------------------------------------- */

.comments {
	margin-top: 40px;
	font-family: var(--font-display);
}

.comments textarea,
.comments input[type="text"],
.comments input[type="email"],
.comments input[type="url"] {
	width: 100%;
	max-width: 100%;
	padding: 10px 14px;
	border: 1.5px solid #b9bfcf;
	border-radius: var(--radius);
	font: 400 1rem var(--font-display);
}

.comments .submit {
	min-height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--radius);
	background: var(--indigo);
	color: #fff;
	font: 700 1rem var(--font-display);
	cursor: pointer;
}

.comments__list {
	padding-left: 0;
	list-style: none;
}

/* Widgets --------------------------------------------------------------- */

.widget {
	margin-bottom: 28px;
}

.widget-title {
	margin: 0 0 12px;
	font-size: 1.05rem;
	font-weight: 800;
	color: var(--indigo);
}

/* Block editor alignment ---------------------------------------------- */

.alignwide {
	margin-inline: calc(-1 * min(8vw, 120px));
}

.alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1000px) {
	.front-top {
		grid-template-columns: 1fr;
	}

	.front-top__side {
		padding-left: 0;
		border-left: 0;
	}

	.grid--3,
	.grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.section-row__grid {
		grid-template-columns: 1fr;
	}

	.section-row__grid > .story--card {
		grid-row: auto;
		margin-bottom: 8px;
	}

	.investigations__head,
	.newsletter-band__inner {
		grid-template-columns: 1fr;
	}

	.article__layout {
		grid-template-columns: minmax(0, 720px);
	}

	.site-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.topbar__links,
	.topbar__date {
		display: none;
	}

	.topbar__inner {
		justify-content: center;
	}

	.masthead__menu {
		visibility: visible;
	}

	.masthead__tagline {
		font-size: 0.9rem;
	}

	.site-nav {
		display: none;
	}

	.site-nav.is-open {
		display: block;
	}

	.sections {
		flex-direction: column;
		align-items: center;
		gap: 2px;
	}

	.grid--3,
	.grid--4 {
		grid-template-columns: 1fr;
	}

	.story--list {
		grid-template-columns: 1fr 96px;
	}

	.article__meta {
		align-items: flex-start;
		flex-direction: column;
	}

	.enquiry__grid {
		grid-template-columns: 1fr;
	}

	.newsletter__row,
	.search-form {
		flex-direction: column;
	}

	.profile {
		grid-template-columns: 1fr;
	}

	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	* {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
}

@media print {
	.site-header,
	.newsletter-band,
	.site-footer,
	.share,
	.article__newsletter,
	.related,
	.ad-slot {
		display: none !important;
	}
}

.entry-content .wp-block-table table,
.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
	border: 0;
	border-bottom: 1px solid var(--rule);
}

.entry-content .wp-block-table thead {
	border-bottom: 2px solid var(--indigo);
}

/* ======================================================================
   2.0 News front page and section pages (BBC News style).
   Newest stories lead; every block is a fresh newest-first list.
   ====================================================================== */

.block-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	padding-top: 12px;
	border-top: 3px solid var(--ink);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 800;
	font-stretch: 85%;
	letter-spacing: -0.01em;
	color: var(--ink);
}

.block-title a {
	color: inherit;
	text-decoration: none;
}

.block-title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--marigold);
	text-decoration-thickness: 3px;
}

.block-title--live {
	color: #b3261e;
	border-top-color: #b3261e;
}

.pulse {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #b3261e;
	box-shadow: 0 0 0 0 rgba(179, 38, 30, 0.5);
	animation: tac-pulse 1.8s infinite;
}

@keyframes tac-pulse {
	70% { box-shadow: 0 0 0 10px rgba(179, 38, 30, 0); }
	100% { box-shadow: 0 0 0 0 rgba(179, 38, 30, 0); }
}

/* Time labels: "35 mins ago | Economy" feel. */
.story__meta time {
	font-weight: 600;
}

.story__meta time.is-fresh {
	color: #b3261e;
}

/* Top stories: two cards | lead | text stories. */
.tops {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr) minmax(0, 1fr);
	grid-template-areas: "left lead right";
	gap: 0 var(--gap);
	padding-block: clamp(20px, 3vw, 36px);
}

.tops__lead {
	grid-area: lead;
}

.tops__left {
	grid-area: left;
	display: grid;
	align-content: start;
	gap: 22px;
	padding-right: var(--gap);
	border-right: 1px solid var(--rule);
	margin-right: calc(var(--gap) * -1);
}

.tops__right {
	grid-area: right;
	padding-left: var(--gap);
	border-left: 1px solid var(--rule);
	margin-left: calc(var(--gap) * -1);
}

.tops .story--lead .story__title {
	font-size: clamp(1.9rem, 3vw, 2.7rem);
	max-width: none;
}

.tops__left .story__title {
	font-size: 1.12rem;
}

.tops__left .story + .story {
	padding-top: 22px;
	border-top: 1px solid var(--rule);
}

.story--text {
	padding-block: 14px;
	border-bottom: 1px solid var(--rule);
}

.story--text:first-child {
	padding-top: 0;
}

.story--text:last-child {
	border-bottom: 0;
}

.story--text .story__title {
	font-size: 1.08rem;
}

.story--text .story__dek {
	font-size: 0.95rem;
	margin-top: 6px;
}

.story--text .kicker {
	font-size: 0.76rem;
	margin-bottom: 4px;
}

/* More news and the Latest stream. */
.newsdesk {
	display: grid;
	grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
	gap: var(--gap);
	padding-block: clamp(24px, 4vw, 44px);
}

.grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stream {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 2px solid var(--rule);
}

.stream__item {
	position: relative;
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 12px;
	padding: 0 0 16px 16px;
}

.stream__item::before {
	content: "";
	position: absolute;
	left: -6px;
	top: 5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--paper);
	border: 2px solid var(--indigo);
}

.stream__item:first-child::before {
	background: #b3261e;
	border-color: #b3261e;
}

.stream__time {
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--slate);
	padding-top: 1px;
}

.stream__sec {
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--indigo);
	text-decoration: none;
	margin-bottom: 2px;
}

.stream__title {
	display: block;
	font-weight: 700;
	font-stretch: 90%;
	line-height: 1.25;
	color: var(--ink);
	text-decoration: none;
}

.stream__title:hover {
	text-decoration: underline;
	text-decoration-color: var(--marigold);
}

/* Section blocks. */
.secblock {
	padding-block: clamp(20px, 3vw, 36px);
}

.secblock__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	border-top: 3px solid var(--ink);
	margin-bottom: 18px;
}

.secblock__head .block-title {
	border-top: 0;
	margin: 0;
}

.secblock__all {
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--indigo);
	text-decoration: none;
	white-space: nowrap;
}

.secblock__all:hover {
	text-decoration: underline;
}

.secblock__grid {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 22px var(--gap);
	align-items: start;
}

.secblock__main {
	grid-row: span 2;
}

.secblock__main .story__title {
	font-size: clamp(1.4rem, 2.2vw, 1.85rem);
}

.secblock__grid > .story--card .story__title {
	font-size: 1.05rem;
}

.secblock__grid > .story--text {
	padding-top: 14px;
	border-top: 1px solid var(--rule);
	border-bottom: 0;
}

/* Section pages. */
.tops--section {
	padding-top: 8px;
}

.archive-list .block-title {
	margin-top: 12px;
}

@media (max-width: 1100px) {
	.tops {
		grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
		grid-template-areas:
			"lead right"
			"left right";
	}

	.tops__left {
		grid-template-columns: 1fr 1fr;
		gap: var(--gap);
		margin: 28px 0 0;
		padding: 22px 0 0;
		border-right: 0;
		border-top: 1px solid var(--rule);
	}

	.tops__left .story + .story {
		padding-top: 0;
		border-top: 0;
	}
}

@media (max-width: 1000px) {
	.newsdesk {
		grid-template-columns: 1fr;
	}

	.secblock__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.secblock__main {
		grid-column: 1 / -1;
		grid-row: auto;
	}
}

@media (max-width: 760px) {
	.tops {
		grid-template-columns: 1fr;
		grid-template-areas: "lead" "left" "right";
	}

	.tops__right {
		margin: 22px 0 0;
		padding: 18px 0 0;
		border-left: 0;
		border-top: 1px solid var(--rule);
	}

	.tops__left,
	.grid--2,
	.secblock__grid {
		grid-template-columns: 1fr;
	}

	.secblock__grid > .story--card {
		display: grid;
		grid-template-columns: 1fr 112px;
		gap: 14px;
	}

	.secblock__grid > .story--card .story__media {
		order: 2;
		margin: 0;
	}

	.secblock__grid > .story--card .story__image {
		aspect-ratio: 4 / 3;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pulse {
		animation: none;
	}
}

/* ======================================================================
   3.0 Tabs, Voices, Multimedia, Good News (NYT and BBC inspired).
   ====================================================================== */

/* Tabs with dropdowns (Multimedia, Regions). */
.sections > li {
	position: relative;
}

.sections .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin: 0 0 3px 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

.sections .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 40;
	min-width: 210px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--paper);
	border: 1px solid var(--rule);
	border-top: 3px solid var(--ink);
	box-shadow: 0 18px 40px -20px rgba(21, 23, 30, 0.45);
	transform: translate(-50%, 6px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.sections li:hover > .sub-menu,
.sections li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
}

.sections .sub-menu a {
	display: block;
	padding: 8px 18px;
	border: 0;
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
}

.sections .sub-menu a:hover {
	background: var(--mist);
}

.sections .menu-item a[href*="good-news"] {
	color: #1f7a3a;
}

/* Hero: the lead with the biggest picture, newest stories down the right. */
.hero {
	display: grid;
	grid-template-columns: minmax(0, 2.15fr) minmax(0, 1fr);
	gap: var(--gap);
	padding-block: clamp(20px, 3vw, 36px);
}

.hero__main .story--lead .story__title {
	font-size: clamp(2rem, 3.6vw, 3.1rem);
	max-width: 24ch;
}

.hero__under {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gap);
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--rule);
}

.hero__under .story__title {
	font-size: 1.05rem;
}

.hero__rail {
	padding-left: var(--gap);
	border-left: 1px solid var(--rule);
}

.hero__rail .story--list,
.hero__rail .story--text {
	padding-block: 14px;
	border-bottom: 1px solid var(--rule);
}

.hero__rail .story--list:first-of-type {
	padding-top: 0;
}

.hero__rail .story--text:first-child {
	padding-top: 14px;
}

.rail__more {
	display: inline-block;
	margin-top: 14px;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
}

/* Voices: opinion with the writers' faces. */
.voices {
	margin-block: clamp(10px, 2vw, 24px);
	padding-block: clamp(28px, 4vw, 48px);
	background: #f6f1e7;
	border-block: 1px solid #e6dcc6;
}

.voices__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 22px;
	margin-bottom: 26px;
	padding-bottom: 14px;
	border-bottom: 1px solid #d9ccb0;
}

.voices__title {
	margin: 0;
	font-family: var(--font-text);
	font-style: italic;
	font-weight: 700;
	font-size: clamp(2rem, 3.4vw, 2.8rem);
	letter-spacing: -0.01em;
}

.voices__title a {
	color: var(--ink);
	text-decoration: none;
}

.voices__intro {
	margin: 0;
	font-family: var(--font-text);
	color: var(--slate);
}

.voices__head .secblock__all {
	margin-left: auto;
}

.voices__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
}

.story--voice {
	padding: 4px 22px;
	border-left: 1px solid #d9ccb0;
}

.story--voice:first-child {
	padding-left: 0;
	border-left: 0;
}

.voice__avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	filter: grayscale(0.15);
	border: 3px solid var(--paper);
	box-shadow: 0 0 0 1px #d9ccb0;
}

.voice__name {
	margin: 14px 0 6px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8a5a00;
}

.story--voice .story__title {
	font-family: var(--font-text);
	font-weight: 600;
	font-size: 1.18rem;
	line-height: 1.28;
	letter-spacing: 0;
}

/* Media badges, play buttons and sponsors. */
.story__media {
	position: relative;
}

.mbadge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 9px;
	border-radius: 2px;
	background: rgba(21, 23, 30, 0.88);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1;
}

.story__media .mbadge {
	position: absolute;
	left: 10px;
	bottom: 10px;
}

.mbadge--podcast {
	background: var(--marigold);
	color: var(--ink);
}

.mbadge__dur {
	padding-left: 6px;
	border-left: 1px solid currentColor;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.story--text .mbadge {
	margin-bottom: 6px;
}

.story--lead.story--media .story__media::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 84px;
	height: 84px;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: rgba(21, 23, 30, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fff'/%3E%3C/svg%3E") center / 46px no-repeat;
	border: 2px solid rgba(255, 255, 255, 0.85);
}

.playbtn {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	padding: 7px 14px 7px 10px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font: 700 0.82rem var(--font-display);
	cursor: pointer;
}

.playbtn:hover {
	background: var(--indigo);
}

.presented {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin: 10px 0 0;
	font-size: 0.8rem;
	color: var(--slate);
}

.presented__by {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.presented a {
	font-weight: 700;
	color: var(--ink);
}

.presented img {
	max-height: 34px;
	width: auto;
}

.presented--full {
	padding: 12px 14px;
	background: var(--mist);
	border-radius: var(--radius);
}

.presented__note {
	flex-basis: 100%;
	font-size: 0.86rem;
}

/* Multimedia band. */
.mmband {
	margin-block: clamp(16px, 3vw, 32px);
	padding-block: clamp(30px, 4vw, 52px);
	background: #0e1117;
	color: #e9ebf2;
}

.mmband__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 24px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mmband__title {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 800;
	font-stretch: 80%;
}

.mmband__title a,
.mmband a {
	color: #fff;
	text-decoration: none;
}

.mmband__tabs {
	display: flex;
	gap: 18px;
	font-weight: 700;
	font-size: 0.95rem;
}

.mmband__tabs a {
	color: #c4c9d6;
}

.mmband__tabs a:hover {
	color: var(--marigold);
}

.mmband__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
	gap: var(--gap);
}

.mmband .story__title a,
.mmband .kicker__region {
	color: #fff;
}

.mmband .kicker__section {
	color: var(--marigold);
}

.mmband .story__dek,
.mmband .story__meta,
.mmband .presented {
	color: #b5bbca;
}

.mmband .presented a {
	color: #fff;
}

.mmband .story--list {
	border-color: rgba(255, 255, 255, 0.14);
}

.mmband .story__media {
	background: #1c212c;
}

.mmband .playbtn {
	background: var(--marigold);
	color: var(--ink);
}

.mmband__soon {
	padding: 30px;
	border: 1px dashed rgba(255, 255, 255, 0.3);
	border-radius: var(--radius);
}

.mmband__soon-title {
	margin: 0 0 6px;
	font-size: 1.4rem;
	font-weight: 800;
}

.mmband .ad-slot {
	margin-top: 28px;
	background: transparent;
}

/* Good News band. */
.goodnews {
	margin-block: clamp(16px, 3vw, 32px);
	padding-block: clamp(28px, 4vw, 48px);
	background: linear-gradient(180deg, #fff4d6 0%, #fffaf0 100%);
	border-block: 1px solid #f3dfa4;
}

.goodnews__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 20px;
	margin-bottom: 22px;
}

.goodnews__title {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	font-weight: 800;
	font-stretch: 82%;
}

.goodnews__title a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #1f7a3a;
	text-decoration: none;
}

.goodnews__title svg {
	color: var(--marigold);
}

.goodnews__intro {
	margin: 0;
	font-family: var(--font-text);
	color: #5b4a1c;
}

/* Across Africa. */
.regionsband {
	padding-block: clamp(20px, 3vw, 36px);
}

.regionsband__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: var(--gap);
}

.regionsband__name {
	margin: 0 0 12px;
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.regionsband__name a {
	color: var(--indigo);
	text-decoration: none;
}

.regionsband .story__title {
	font-size: 1rem;
}

.regionsband .story--text {
	padding-block: 10px;
	border-bottom: 0;
	border-top: 1px solid var(--rule);
}

.regionsband .story--card .kicker,
.regionsband .story--text .kicker {
	display: none;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}

.chips a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--rule);
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.88rem;
	text-decoration: none;
}

.chips a:hover {
	border-color: var(--indigo);
	background: var(--mist);
}

/* Lists on section, News and Regions pages. */
.hero--list {
	padding-top: 6px;
}

.archive-list > .block-title {
	margin-top: 18px;
}

/* Multimedia hub. */
.mmhub__head {
	padding-block: clamp(24px, 4vw, 44px) 20px;
	background: #0e1117;
	color: #e9ebf2;
}

.mmhub__head .breadcrumbs a,
.mmhub__head .breadcrumbs li {
	color: #c4c9d6;
}

.mmhub__title {
	margin: 0;
	font-size: clamp(2.4rem, 6vw, 4rem);
	font-weight: 800;
	font-stretch: 76%;
	line-height: 1;
	color: #fff;
}

.mmhub__intro {
	margin: 10px 0 0;
	font-family: var(--font-text);
	font-size: 1.15rem;
	color: #c4c9d6;
}

.mmhub__tabs {
	display: flex;
	gap: 6px;
	margin-top: 22px;
}

.mmhub__tabs a {
	padding: 8px 18px;
	border-radius: 999px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.28);
}

.mmhub__tabs a[aria-current="page"],
.mmhub__tabs a:hover {
	background: var(--marigold);
	border-color: var(--marigold);
	color: var(--ink);
}

.mmhub__head + .ad-slot {
	margin: 0;
}

.mmhub__feature {
	padding-block: clamp(24px, 4vw, 44px);
	background: #161a22;
	color: #e9ebf2;
}

.mmhub__feature-in {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
	gap: var(--gap);
	align-items: start;
}

.mmhub__ftitle {
	margin: 12px 0 0;
	font-size: clamp(1.6rem, 2.6vw, 2.2rem);
	font-weight: 800;
	font-stretch: 82%;
	line-height: 1.05;
}

.mmhub__ftitle a {
	color: #fff;
	text-decoration: none;
}

.mmhub__about .story__dek {
	color: #c4c9d6;
}

.mmhub__about .presented--full {
	background: rgba(255, 255, 255, 0.07);
	color: #c4c9d6;
}

.mmhub__about .presented a {
	color: #fff;
}

.mmhub__about .ad-slot {
	margin-top: 20px;
	background: transparent;
}

.mmhub__shows,
.mmhub__latest {
	padding-block: clamp(24px, 4vw, 44px) 0;
}

.shows {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--gap);
}

.showcard {
	display: grid;
	grid-template-columns: 104px minmax(0, 1fr);
	gap: 16px;
	align-items: start;
}

.showcard__art {
	width: 104px;
	height: 104px;
	border-radius: 6px;
	object-fit: cover;
}

.showcard__art--blank {
	display: grid;
	place-items: center;
	background: var(--indigo);
	color: var(--marigold);
	font-size: 2.6rem;
	font-weight: 800;
}

.showcard__name {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
}

.showcard__name a {
	color: var(--ink);
	text-decoration: none;
}

.showcard__host {
	margin: 4px 0 0;
	color: var(--slate);
	font-size: 0.9rem;
}

.showcard__subs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin: 10px 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.85rem;
	font-weight: 700;
}

/* Players. */
.player {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: #000;
}

.player--embed iframe,
.player video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

.player--embed.player--podcast iframe {
	aspect-ratio: auto;
	min-height: 232px;
}

.player--audio {
	padding: 18px;
	background: var(--ink);
}

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

.player--locked {
	display: grid;
	justify-items: start;
	gap: 12px;
	padding: 40px 28px;
	background: linear-gradient(135deg, var(--indigo-deep), #0e1117);
	color: #fff;
}

.player__lock {
	margin: 0;
	font-size: 1.3rem;
	font-weight: 800;
}

.player__login a {
	color: var(--marigold);
}

.article__player {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: var(--gap);
	align-items: start;
	margin-top: 8px;
}

.article__player:not(:has(.article__player-side)) {
	grid-template-columns: minmax(0, 1fr);
}

.article__show {
	margin: 2rem 0 0;
	font-weight: 700;
}

/* Support band. */
.support {
	margin-block: 2rem;
	padding: clamp(20px, 3vw, 32px);
	border-radius: var(--radius);
	background: var(--indigo);
	color: #fff;
}

.support__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
}

.support__pitch {
	flex: 1 1 380px;
	margin: 0;
	font-family: var(--font-text);
	font-size: 1.1rem;
	line-height: 1.5;
}

.support__btn {
	display: inline-block;
	padding: 13px 24px;
	border-radius: 999px;
	background: var(--marigold);
	color: var(--ink) !important;
	font-weight: 800;
	text-decoration: none;
	white-space: nowrap;
}

.support__btn:hover {
	background: #f3b632;
}

/* Sticky mini player. */
.miniplayer {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	background: var(--ink);
	color: #fff;
	box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.5);
}

.miniplayer__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-block: 10px;
}

.miniplayer__label {
	flex: none;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--marigold);
}

.miniplayer__title {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-decoration: none;
}

.miniplayer audio {
	flex: 0 1 420px;
	height: 38px;
}

.miniplayer__close {
	flex: none;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	background: transparent;
	color: #fff;
	font-size: 1.3rem;
	line-height: 1;
	cursor: pointer;
}

body.has-miniplayer {
	padding-bottom: 64px;
}

/* Responsive. */
@media (max-width: 1100px) {
	.voices__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 26px 0;
	}

	.story--voice:nth-child(4) {
		padding-left: 0;
		border-left: 0;
	}
}

@media (max-width: 1000px) {
	.hero,
	.mmband__grid,
	.mmhub__feature-in,
	.article__player {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero__rail {
		padding-left: 0;
		border-left: 0;
		border-top: 3px solid var(--ink);
		padding-top: 4px;
	}
}

@media (max-width: 760px) {
	.hero__under {
		grid-template-columns: minmax(0, 1fr);
	}

	.hero__under .story--card,
	.goodnews .story--card {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 112px;
		gap: 14px;
	}

	.hero__under .story__media,
	.goodnews .story__media {
		order: 2;
		margin: 0;
	}

	.voices__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.story--voice {
		display: grid;
		grid-template-columns: 56px minmax(0, 1fr);
		column-gap: 14px;
		padding: 14px 0;
		border-left: 0;
		border-top: 1px solid #d9ccb0;
	}

	.story--voice:first-child {
		border-top: 0;
	}

	.story--voice .voice__writer {
		grid-row: span 3;
	}

	.voice__avatar {
		width: 56px;
		height: 56px;
	}

	.voice__name {
		margin-top: 0;
	}

	.miniplayer__label {
		display: none;
	}

	.miniplayer__inner {
		flex-wrap: wrap;
		gap: 6px 12px;
	}

	.miniplayer audio {
		flex: 1 1 100%;
		order: 3;
	}
}

@media (max-width: 760px) {
	.sections .sub-menu {
		position: static;
		display: none;
		transform: none;
		opacity: 1;
		visibility: visible;
		border: 0;
		box-shadow: none;
		padding: 0 0 6px;
		text-align: center;
	}

	.sections .is-open > .sub-menu {
		display: block;
	}

	.sections li:hover > .sub-menu {
		transform: none;
	}
}

.mmband .story__author {
	color: #fff;
}

.story--list .mbadge {
	left: 6px;
	bottom: 6px;
	padding: 4px 6px;
	font-size: 0.62rem;
}

.story--list .mbadge span:not(.mbadge__dur),
.story--list .mbadge__dur {
	display: none;
}

.regionsband__grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	row-gap: 34px;
}

@media (max-width: 760px) {
	.regionsband__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.player--audio {
	padding: 0;
}

.player__art {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	opacity: 0.92;
}

.player__bar {
	display: grid;
	gap: 10px;
	padding: 16px 18px 18px;
	background: var(--ink);
}

.player__now {
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
}

@media (max-width: 760px) {
	.hero__under .story__media,
	.goodnews .story__media,
	.secblock__grid > .story--card .story__media {
		align-self: start;
	}

	.hero__under .story__image,
	.goodnews .story__image {
		aspect-ratio: 4 / 3;
	}
}
