/**
 * Signal Genève — the working stylesheet.
 *
 * The system, in one paragraph: white paper, black ink, hard 1px and 2px rules,
 * a strict grid, the Helvetica system stack and one scarce signal red. No
 * border radius. No shadows. No animation beyond a 120ms colour change.
 *
 * Two deliberate deviations from the handoff, both for contrast:
 *
 *  1. The signal red #E30613 is 4.88:1 on white — fine — but only 4.35:1 on the
 *     #F2F2F0 surface, and the design puts 12px labels there. `--sg-signal-text`
 *     is a slightly darkened red used for small type on tinted grounds.
 *  2. The mock's #999 muted grey is 2.85:1 on white and fails badly at the 12px
 *     it is used at. Shipped as #767676 (4.54:1), which still reads as the
 *     quiet grey the design wants.
 *
 * The pale "/" separators in the byline are drawn as 1px rules rather than
 * typed characters, which sidesteps the same problem without darkening them.
 */

/* =========================================================================
 * 1. Tokens
 * ====================================================================== */

:root {
	--sg-ink: #111111;
	--sg-signal: #e30613;
	--sg-signal-text: #d0050f;
	--sg-signal-hover: #ba0510;
	--sg-surface: #f2f2f0;
	--sg-paper: #ffffff;
	--sg-body: #333333;

	--sg-muted: #767676;
	--sg-quiet: #555555;
	--sg-note: #666666;
	--sg-hairline: #dddddd;

	--sg-max: 1280px;
	--sg-gutter: clamp(20px, 5vw, 56px);
	--sg-measure: 720px;
	--sg-measure-wide: 860px;

	--sg-section-gap: clamp(44px, 7vw, 72px);
	--sg-grid-gap: clamp(28px, 3.5vw, 40px);

	--sg-track: 0.12em;
	--sg-track-tight: 0.1em;

	--sg-font: Helvetica, "Helvetica Neue", Arial, "Nimbus Sans", "Liberation Sans", sans-serif;

	--sg-rule: 1px solid var(--sg-ink);
	--sg-rule-heavy: 2px solid var(--sg-ink);
	--sg-rule-hair: 1px solid var(--sg-hairline);

	--sg-speed: 120ms;
}

/* =========================================================================
 * 2. Reset and base
 * ====================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 24px;
}

body {
	margin: 0;
	background: var(--sg-paper);
	color: var(--sg-body);
	font-family: var(--sg-font);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-wrap: break-word;
}

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

figure {
	margin: 0;
}

a {
	color: var(--sg-ink);
	text-decoration: none;
	transition: color var(--sg-speed) ease-out, border-color var(--sg-speed) ease-out, background-color var(--sg-speed) ease-out;
}

a:hover,
a:focus {
	color: var(--sg-signal-text);
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	color: var(--sg-ink);
	font-weight: 700;
	line-height: 1.15;
}

p, ul, ol, dl, blockquote, pre, table, figure {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	cursor: pointer;
}

/* The design has no radius anywhere; state it once rather than per component. */
input,
textarea,
select,
button,
.sg-chip,
.sg-cta,
.sg-button {
	border-radius: 0;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--sg-signal);
	outline-offset: 2px;
}

/* A hidden element must stay hidden: any `display` rule in a later media query
 * would otherwise resurrect it. */
[hidden] {
	display: none !important;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.sg-skip:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	clip-path: none;
	margin: 0;
	padding: 12px 20px;
	background: var(--sg-ink);
	color: var(--sg-paper);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

/* =========================================================================
 * 3. Layout primitives
 * ====================================================================== */

.sg-page {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.sg-main {
	flex: 1 0 auto;
}

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

.sg-measure {
	width: 100%;
	max-width: calc(var(--sg-measure) + var(--sg-gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--sg-gutter);
}

.sg-measure--wide {
	max-width: calc(var(--sg-measure-wide) + var(--sg-gutter) * 2);
}

.sg-section {
	padding-top: var(--sg-section-gap);
}

.sg-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 24px;
	padding-bottom: 12px;
	border-bottom: var(--sg-rule-heavy);
}

.sg-section__title {
	font-size: clamp(24px, 3vw, 32px);
	letter-spacing: -0.02em;
}

.sg-section__note {
	margin: 0;
	color: var(--sg-note);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: var(--sg-track);
	line-height: 1.4;
	text-transform: uppercase;
}

.sg-section__note--link a {
	color: var(--sg-signal-text);
	font-weight: 700;
}

.sg-section__note--link a:hover,
.sg-section__note--link a:focus {
	color: var(--sg-ink);
}

/* The theme signature: a red terminal period on display words. */
.sg-period {
	color: var(--sg-signal);
}

/* On the tinted surface the exact brand red falls to 4.36:1 at label size, so
 * anything sitting on a panel uses the darkened variant. */
.sg-toc .sg-period,
.sg-facts .sg-period,
.is-style-sg-facts .sg-period,
.is-style-sg-panel .sg-period {
	color: var(--sg-signal-text);
}

.sg-cta__arrow {
	display: inline-block;
	margin-left: 0.4em;
}

.sg-arrow-link:hover .sg-cta__arrow,
.sg-arrow-link:focus .sg-cta__arrow {
	transform: translateX(2px);
}

.sg-underline {
	display: inline-block;
	padding-bottom: 4px;
	border-bottom: 2px solid var(--sg-signal);
	color: var(--sg-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--sg-track);
	text-transform: uppercase;
}

/* =========================================================================
 * 4. Figures and placeholders
 * ====================================================================== */

.sg-figure {
	position: relative;
	display: block;
	overflow: hidden;
	background: var(--sg-surface);
	aspect-ratio: var(--sg-ratio, 3 / 2);
}

.sg-figure__link {
	display: block;
	height: 100%;
}

.sg-figure__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The design's striped placeholder, kept for slots with no image. */
.sg-figure__placeholder {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, #f2f2f0, #f2f2f0 10px, #e7e7e4 10px, #e7e7e4 20px);
}

.sg-figure--cell { --sg-ratio: 8 / 5; }
.sg-figure--card { --sg-ratio: 3 / 2; }
.sg-figure--thumb { --sg-ratio: 7 / 5; }
.sg-figure--featured { --sg-ratio: 3 / 2; }

/* =========================================================================
 * 5. Header
 * ====================================================================== */

.sg-header {
	border-bottom: var(--sg-rule-heavy);
	background: var(--sg-paper);
}

.sg-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-block: 28px;
}

.sg-header__end {
	display: flex;
	align-items: center;
	gap: 24px;
}

.sg-header__tagline {
	flex: 1 1 auto;
	margin: 0;
	color: var(--sg-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: var(--sg-track);
	text-transform: uppercase;
}

/* -- Logo ---------------------------------------------------------------- */

.sg-logo {
	margin: 0;
	font-size: inherit;
	line-height: 1;
}

.sg-logo__link {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	color: var(--sg-ink);
}

.sg-logo__link:hover .sg-logo__word,
.sg-logo__link:focus .sg-logo__word {
	color: var(--sg-signal-text);
}

.sg-logo__word {
	font-size: 26px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	transition: color var(--sg-speed) ease-out;
}

.sg-logo__square {
	width: 12px;
	height: 12px;
	background: var(--sg-signal);
	flex-shrink: 0;
}

.sg-logo--domain .sg-logo__link {
	align-items: center;
	gap: 10px;
}

.sg-logo__mark {
	width: 34px;
	height: 34px;
	flex-shrink: 0;
}

.sg-logo__domain {
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.sg-logo__tld {
	color: var(--sg-signal-text);
}

.sg-logo__image {
	max-height: 48px;
	width: auto;
}

/* -- Navigation ---------------------------------------------------------- */

.sg-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(20px, 3vw, 40px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.sg-nav__list a {
	display: inline-block;
	padding-bottom: 4px;
	border-bottom: 2px solid transparent;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: var(--sg-track);
	text-transform: uppercase;
	white-space: nowrap;
}

.sg-nav__list .current-menu-item > a,
.sg-nav__list .current-menu-ancestor > a,
.sg-nav__list .current-menu-parent > a,
.sg-nav__list .current-category-ancestor > a,
.sg-nav__list [aria-current="page"] {
	color: var(--sg-signal-text);
	border-bottom-color: var(--sg-signal);
}

/* Sub-menus stay in the rule language: a bordered ink-on-paper panel. */
.sg-nav__list .sub-menu {
	position: absolute;
	z-index: 20;
	min-width: 200px;
	margin: 0;
	padding: 8px 0;
	background: var(--sg-paper);
	border: var(--sg-rule);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--sg-speed) ease-out;
}

.sg-nav__list > li {
	position: relative;
}

.sg-nav__list > li:hover > .sub-menu,
.sg-nav__list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
}

.sg-nav__list .sub-menu a {
	display: block;
	padding: 6px 16px;
	border-bottom: 0;
}

.sg-header__search {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--sg-ink);
}

.sg-header__search:hover,
.sg-header__search:focus {
	color: var(--sg-signal);
}

/* -- Search bar ---------------------------------------------------------- */

.sg-searchbar {
	border-bottom: var(--sg-rule-heavy);
	padding-block: 20px;
	background: var(--sg-paper);
}

.sg-search {
	display: flex;
	gap: 0;
}

.sg-search__field {
	flex: 1 1 auto;
	min-width: 0;
	padding: 12px 16px;
	border: var(--sg-rule);
	background: var(--sg-paper);
	font-size: 15px;
}

.sg-search__field::placeholder {
	color: var(--sg-muted);
	opacity: 1;
}

.sg-search__submit {
	flex-shrink: 0;
	padding: 12px 24px;
	border: var(--sg-rule);
	border-left: 0;
	background: var(--sg-ink);
	color: var(--sg-paper);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

.sg-search__submit:hover,
.sg-search__submit:focus {
	background: var(--sg-signal);
	border-color: var(--sg-signal);
}

/* -- Burger and drawer --------------------------------------------------- */

.sg-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	background: none;
	flex-direction: column;
	gap: 7px;
}

.sg-burger__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--sg-ink);
	transition: transform var(--sg-speed) ease-out, opacity var(--sg-speed) ease-out;
}

.sg-burger[aria-expanded="true"] .sg-burger__bar:first-child {
	transform: translateY(4px) rotate(45deg);
}

.sg-burger[aria-expanded="true"] .sg-burger__bar:last-child {
	transform: translateY(-5px) rotate(-45deg);
}

.sg-drawer {
	border-bottom: var(--sg-rule-heavy);
	padding: 24px var(--sg-gutter) 32px;
	background: var(--sg-paper);
}

.sg-drawer .sg-nav__list,
.sg-drawer__nav ul {
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sg-drawer__nav a {
	display: block;
	padding: 14px 0;
	border-bottom: var(--sg-rule-hair);
	border-top: 0;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

.sg-drawer__nav .sub-menu {
	position: static;
	opacity: 1;
	visibility: visible;
	border: 0;
	padding: 0 0 0 20px;
}

.sg-drawer__search {
	margin-top: 24px;
}

/* =========================================================================
 * 6. Hero
 * ====================================================================== */

.sg-hero {
	padding-top: var(--sg-section-gap);
}

.sg-hero__display {
	margin: 0;
	color: var(--sg-ink);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.86;
	text-transform: uppercase;
}

.sg-hero__display.is-xl { font-size: clamp(56px, 13.5vw, 176px); }
.sg-hero__display.is-lg { font-size: clamp(44px, 9vw, 120px); }
.sg-hero__display.is-md { font-size: clamp(36px, 6vw, 84px); letter-spacing: -0.035em; }
.sg-hero__display.is-sm { font-size: clamp(30px, 4.4vw, 58px); letter-spacing: -0.02em; line-height: 0.95; }

.sg-hero__columns {
	display: grid;
	grid-template-columns: repeat(var(--sg-cols, 3), minmax(0, 1fr));
	margin-top: clamp(32px, 5vw, 64px);
	border-top: var(--sg-rule);
}

.sg-hero__columns[data-columns="1"] { --sg-cols: 1; }
.sg-hero__columns[data-columns="2"] { --sg-cols: 2; }

.sg-hero__column {
	padding: 20px 24px;
	border-right: var(--sg-rule);
}

.sg-hero__column:first-child {
	padding-left: 0;
}

.sg-hero__column:last-child {
	padding-right: 0;
	border-right: 0;
}

.sg-hero__label {
	margin: 0;
	color: var(--sg-signal-text);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--sg-track);
	line-height: 1.3;
	text-transform: uppercase;
}

.sg-hero__label a {
	color: inherit;
}

.sg-hero__label a:hover,
.sg-hero__label a:focus {
	color: var(--sg-ink);
}

.sg-hero__text {
	margin-top: 10px;
	color: var(--sg-body);
	font-size: 15px;
	line-height: 1.5;
}

.sg-hero__band {
	position: relative;
	margin-top: clamp(28px, 4vw, 48px);
	max-width: 100%;
	background: var(--sg-surface);
	aspect-ratio: 32 / 10;
	overflow: hidden;
}

.sg-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sg-cta {
	position: absolute;
	right: 0;
	bottom: 0;
	display: inline-flex;
	align-items: center;
	padding: 14px 24px;
	background: var(--sg-signal);
	color: var(--sg-paper);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

.sg-cta:hover,
.sg-cta:focus {
	background: var(--sg-ink);
	color: var(--sg-paper);
}

/* =========================================================================
 * 7. The guide grid
 * ====================================================================== */

/* One ink ground showing through 1px gaps is how the design draws this grid. */
.sg-guide__grid {
	display: grid;
	grid-template-columns: repeat(var(--sg-cols, 4), minmax(0, 1fr));
	gap: 1px;
	margin: 0;
	padding: 0;
	background: var(--sg-ink);
	border: var(--sg-rule);
	list-style: none;
}

.sg-guide__grid[data-columns="1"] { --sg-cols: 1; }
.sg-guide__grid[data-columns="2"] { --sg-cols: 2; }
.sg-guide__grid[data-columns="3"] { --sg-cols: 3; }

.sg-guide__cell {
	background: var(--sg-paper);
}

.sg-guide__link {
	display: block;
	height: 100%;
	padding: 24px 20px 28px;
}

.sg-guide__link:hover,
.sg-guide__link:focus {
	background: var(--sg-surface);
}

.sg-guide__word {
	display: block;
	margin-top: 18px;
	color: var(--sg-ink);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.1;
	text-transform: uppercase;
}

.sg-guide__word.is-xl { font-size: 24px; }
.sg-guide__word.is-lg { font-size: 21px; }
.sg-guide__word.is-md { font-size: 18px; }
.sg-guide__word.is-sm { font-size: 16px; letter-spacing: 0; }

.sg-guide__link:hover .sg-guide__word,
.sg-guide__link:focus .sg-guide__word {
	color: var(--sg-signal-text);
}

.sg-guide__blurb {
	display: block;
	margin-top: 6px;
	color: var(--sg-quiet);
	font-size: 14px;
	line-height: 1.5;
}

.sg-guide__count {
	white-space: nowrap;
}

/* =========================================================================
 * 8. Cards
 * ====================================================================== */

.sg-cards {
	display: grid;
	grid-template-columns: repeat(var(--sg-cols, 3), minmax(0, 1fr));
	gap: var(--sg-grid-gap);
	padding-top: 32px;
}

.sg-cards--2 { --sg-cols: 2; }
.sg-cards--3 { --sg-cols: 3; }
.sg-cards--4 { --sg-cols: 4; }

.sg-card {
	display: flex;
	flex-direction: column;
}

.sg-kicker {
	margin: 16px 0 0;
	color: var(--sg-signal-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--sg-track);
	line-height: 1.4;
	text-transform: uppercase;
}

.sg-kicker a {
	color: inherit;
}

.sg-kicker a:hover,
.sg-kicker a:focus {
	color: var(--sg-ink);
}

.sg-kicker__sep {
	margin-inline: 0.5em;
}

.sg-card__title {
	margin-top: 8px;
	font-size: clamp(19px, 1.7vw, 22px);
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.sg-card__excerpt {
	margin-top: 8px;
	color: var(--sg-quiet);
	font-size: 14px;
	line-height: 1.5;
}

/* -- Featured card ------------------------------------------------------- */

.sg-featured {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	border: var(--sg-rule);
}

.sg-featured .sg-figure {
	height: 100%;
	aspect-ratio: auto;
	min-height: 300px;
}

.sg-featured__body {
	display: flex;
	flex-direction: column;
	padding: clamp(20px, 2.6vw, 32px);
}

.sg-featured .sg-kicker {
	margin-top: 0;
}

.sg-featured__title {
	margin-top: 12px;
	font-size: clamp(24px, 2.8vw, 34px);
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.sg-featured__excerpt {
	margin-top: 12px;
	color: var(--sg-quiet);
	font-size: 15px;
	line-height: 1.6;
}

.sg-featured__more {
	margin-top: 20px;
}

.sg-featured:hover .sg-underline,
.sg-featured:focus-within .sg-underline {
	color: var(--sg-signal-text);
}

/* -- Horizontal card ----------------------------------------------------- */

.sg-hcard {
	display: flex;
	align-items: center;
	gap: 20px;
}

.sg-hcard .sg-figure {
	flex: 0 0 140px;
	width: 140px;
}

.sg-hcard__body {
	min-width: 0;
}

.sg-hcard .sg-kicker {
	margin-top: 0;
	font-size: 11px;
}

.sg-hcard__title {
	margin-top: 4px;
	font-size: 18px;
	line-height: 1.25;
}

/* =========================================================================
 * 9. Archive head and chips
 * ====================================================================== */

.sg-archive-head {
	padding-top: clamp(36px, 5vw, 64px);
}

.sg-breadcrumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--sg-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: var(--sg-track);
	text-transform: uppercase;
}

.sg-breadcrumb__item + .sg-breadcrumb__item::before {
	content: "/";
	margin-right: 6px;
	color: var(--sg-muted);
}

.sg-breadcrumb a {
	color: var(--sg-muted);
}

.sg-breadcrumb a:hover,
.sg-breadcrumb a:focus {
	color: var(--sg-signal-text);
}

.sg-archive-head__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px var(--sg-grid-gap);
	margin-top: 16px;
}

.sg-display {
	margin: 0;
	color: var(--sg-ink);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.9;
	text-transform: uppercase;
}

.sg-display.is-xl { font-size: clamp(52px, 11vw, 140px); }
.sg-display.is-lg { font-size: clamp(40px, 7.5vw, 96px); }
.sg-display.is-md { font-size: clamp(32px, 5vw, 64px); letter-spacing: -0.035em; line-height: 0.95; }
.sg-display.is-sm { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -0.02em; line-height: 1.02; }

.sg-archive-head__intro {
	max-width: 460px;
	padding-bottom: 16px;
	color: var(--sg-body);
	font-size: 17px;
	line-height: 1.55;
}

.sg-chips {
	margin-top: clamp(24px, 3.5vw, 40px);
	padding-block: 16px;
	border-top: var(--sg-rule);
	border-bottom: var(--sg-rule);
}

.sg-chips__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sg-chip {
	display: inline-block;
	padding: 8px 16px;
	border: var(--sg-rule);
	color: var(--sg-ink);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: var(--sg-track-tight);
	line-height: 1.2;
	text-transform: uppercase;
}

.sg-chip:hover,
.sg-chip:focus {
	background: var(--sg-ink);
	color: var(--sg-paper);
}

.sg-chip.is-current {
	background: var(--sg-ink);
	border-color: var(--sg-ink);
	color: var(--sg-paper);
}

.sg-chip.is-current:hover,
.sg-chip.is-current:focus {
	background: var(--sg-signal);
	border-color: var(--sg-signal);
}

.sg-chips--empty {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
	padding: 0;
	border: 0;
	list-style: none;
}

/* =========================================================================
 * 10. Pagination
 * ====================================================================== */

.sg-pagination {
	padding-block: clamp(36px, 5vw, 56px) clamp(40px, 5vw, 64px);
}

.sg-pagination__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
}

.sg-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding-inline: 4px;
	border: var(--sg-rule);
	color: var(--sg-ink);
}

.sg-pagination .page-numbers.current {
	background: var(--sg-ink);
	color: var(--sg-paper);
}

.sg-pagination .page-numbers.dots {
	border-color: transparent;
}

.sg-pagination .page-numbers:not(.current):not(.dots):hover,
.sg-pagination .page-numbers:not(.current):not(.dots):focus {
	background: var(--sg-signal);
	border-color: var(--sg-signal);
	color: var(--sg-paper);
}

.sg-pagination .prev,
.sg-pagination .next {
	padding-inline: 16px;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

/* =========================================================================
 * 11. Article
 * ====================================================================== */

.sg-article__head {
	padding-top: clamp(36px, 5vw, 64px);
}

.sg-article__head .sg-kicker {
	margin-top: 0;
}

.sg-article__title {
	margin-top: 16px;
	font-size: clamp(32px, 5vw, 60px);
	letter-spacing: -0.03em;
	line-height: 1.02;
}

.sg-article__title--page {
	font-size: clamp(30px, 4vw, 48px);
	letter-spacing: -0.025em;
	line-height: 1.06;
}

.sg-article__head .sg-breadcrumb {
	margin-bottom: 16px;
}

/* -- Byline -------------------------------------------------------------- */

.sg-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-top: 32px;
	padding-block: 14px;
	border-top: var(--sg-rule);
	border-bottom: var(--sg-rule);
	color: var(--sg-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

.sg-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	background: var(--sg-ink);
	color: var(--sg-paper);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0;
}

.sg-avatar--photo {
	background: none;
}

.sg-meta__items {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 0;
	min-width: 0;
}

.sg-meta__item {
	padding-inline: 12px;
	border-left: var(--sg-rule-hair);
	line-height: 1.4;
	white-space: nowrap;
}

.sg-meta__item:first-child {
	padding-left: 0;
	border-left: 0;
}

.sg-meta__link {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.sg-meta__flag {
	margin: 0 0 0 auto;
	color: var(--sg-signal-text);
	font-weight: 700;
	white-space: nowrap;
}

/* -- Hero image ---------------------------------------------------------- */

.sg-article__hero {
	margin-top: clamp(28px, 3.5vw, 40px);
	background: var(--sg-surface);
}

.sg-article__hero-image {
	width: 100%;
	aspect-ratio: 32 / 13;
	object-fit: cover;
}

.sg-article__caption {
	margin-top: 10px;
	color: var(--sg-muted);
	font-size: 13px;
	line-height: 1.5;
}

/* -- Prose --------------------------------------------------------------- */

.sg-prose {
	padding-top: clamp(32px, 4vw, 48px);
	font-size: 17px;
	line-height: 1.7;
	min-width: 0;
}

.sg-prose :where(p, li, dd, td, th, h1, h2, h3, h4, h5, h6) {
	overflow-wrap: break-word;
}

.sg-prose :where(pre, code) {
	overflow-wrap: normal;
}

.sg-prose > * + * {
	margin-top: 28px;
}

.sg-prose p {
	color: var(--sg-body);
}

.sg-lead,
.sg-prose > p.sg-lead {
	color: var(--sg-ink);
	font-size: clamp(19px, 2vw, 22px);
	line-height: 1.55;
}

.sg-lead--standfirst {
	margin-top: clamp(32px, 4vw, 48px);
}

.sg-prose a {
	color: var(--sg-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	text-decoration-color: var(--sg-signal);
}

.sg-prose a:hover,
.sg-prose a:focus {
	color: var(--sg-signal-text);
}

/* Numbered section headings — the "01 — Baby Plage." pattern. */
.sg-prose h2,
.sg-prose .sg-h2 {
	margin-top: 44px;
	padding-top: 20px;
	border-top: var(--sg-rule-heavy);
	font-size: clamp(23px, 2.6vw, 30px);
	letter-spacing: -0.02em;
	line-height: 1.15;
	scroll-margin-top: 24px;
}

.sg-prose h3 {
	margin-top: 32px;
	font-size: clamp(19px, 1.8vw, 21px);
	letter-spacing: -0.01em;
	line-height: 1.25;
}

.sg-prose h4 {
	margin-top: 28px;
	font-size: 17px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.sg-prose ul,
.sg-prose ol {
	padding-left: 22px;
	color: var(--sg-body);
}

.sg-prose li + li {
	margin-top: 8px;
}

.sg-prose li::marker {
	color: var(--sg-signal);
}

.sg-prose img,
.sg-prose figure {
	margin-block: 32px;
}

.sg-prose figcaption {
	margin-top: 10px;
	color: var(--sg-muted);
	font-size: 13px;
	line-height: 1.5;
}

.sg-prose .wp-block-table,
.sg-prose figure.wp-block-table {
	overflow-x: auto;
	max-width: 100%;
}

/* A bare table in pasted content has no scrolling wrapper to give it, so it
 * becomes its own. */
.sg-prose > table {
	display: block;
	overflow-x: auto;
	max-width: 100%;
}

.sg-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.sg-prose th,
.sg-prose td {
	padding: 10px 12px;
	border: var(--sg-rule-hair);
	text-align: left;
	vertical-align: top;
}

.sg-prose th {
	background: var(--sg-surface);
	color: var(--sg-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

.sg-prose pre {
	overflow-x: auto;
	padding: 20px;
	background: var(--sg-surface);
	font-size: 14px;
	line-height: 1.6;
}

.sg-prose hr,
.sg-prose .wp-block-separator {
	height: 0;
	margin-block: 40px;
	border: 0;
	border-top: var(--sg-rule-heavy);
}

/* Quotes: the 2px red rules top and bottom. */
.sg-prose blockquote,
.sg-prose .wp-block-quote,
.sg-prose .wp-block-pullquote {
	margin-block: 44px;
	padding-block: 28px;
	border-top: 2px solid var(--sg-signal);
	border-bottom: 2px solid var(--sg-signal);
	border-left: 0;
	color: var(--sg-ink);
	font-size: clamp(21px, 2.4vw, 28px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.3;
	text-align: center;
}

.sg-prose blockquote p {
	color: inherit;
	font-size: inherit;
}

.sg-prose blockquote cite,
.sg-prose .wp-block-pullquote cite {
	display: block;
	margin-top: 16px;
	color: var(--sg-signal-text);
	font-size: 12px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: var(--sg-track);
	text-transform: uppercase;
}

.sg-prose .wp-block-table figcaption,
.sg-prose .wp-block-image figcaption {
	text-align: left;
}

.sg-prose .wp-block-button__link {
	display: inline-block;
	padding: 14px 24px;
	background: var(--sg-signal);
	color: var(--sg-paper);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	text-decoration: none;
	text-transform: uppercase;
}

.sg-prose .wp-block-button__link:hover,
.sg-prose .wp-block-button__link:focus {
	background: var(--sg-ink);
	color: var(--sg-paper);
}

/* Wide and full blocks are pulled out from the centre of whatever the column
 * actually measures. Computing the pull from --sg-measure instead assumes the
 * column is always 720px, which it is not below about 800px — and the mismatch
 * is a 400px horizontal scroll on a phone. "Full" here means the page shell,
 * not the viewport: 100vw includes the scrollbar and overflows on its own. */
.sg-prose .alignwide {
	--sg-pull: min(var(--sg-measure-wide), 100vw - var(--sg-gutter) * 2);
	width: var(--sg-pull);
	max-width: none;
	margin-inline: calc(50% - var(--sg-pull) / 2);
}

.sg-prose .alignfull {
	--sg-pull: min(var(--sg-max), 100vw - var(--sg-gutter) * 2);
	width: var(--sg-pull);
	max-width: none;
	margin-inline: calc(50% - var(--sg-pull) / 2);
}

.sg-prose .alignleft {
	float: left;
	margin: 8px 28px 20px 0;
	max-width: 45%;
}

.sg-prose .alignright {
	float: right;
	margin: 8px 0 20px 28px;
	max-width: 45%;
}

/* -- Contents index ------------------------------------------------------ */

.sg-toc {
	margin-top: 32px;
	padding: 24px 28px;
	background: var(--sg-surface);
}

.sg-toc,
.sg-prose .sg-toc {
	margin-top: 32px;
	padding: 24px 28px;
	background: var(--sg-surface);
}

.sg-toc__title,
.sg-prose .sg-toc__title {
	margin: 0;
	padding-top: 0;
	border-top: 0;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--sg-track);
	line-height: 1.3;
	text-transform: uppercase;
}

.sg-toc__list {
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.sg-toc__item + .sg-toc__item {
	margin-top: 0;
	border-top: 1px solid rgba(17, 17, 17, 0.12);
}

.sg-toc__link {
	display: grid;
	grid-template-columns: 2.6em minmax(0, 1fr);
	gap: 4px;
	padding-block: 9px;
	color: var(--sg-ink);
	font-size: 15px;
	line-height: 1.4;
}

.sg-toc__num {
	color: var(--sg-signal-text);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	line-height: 1.7;
}

.sg-toc__link:hover,
.sg-toc__link:focus {
	color: var(--sg-signal-text);
}

/* -- Facts panel --------------------------------------------------------- */

.sg-facts {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	margin-top: 32px;
	padding: 24px 28px;
	background: var(--sg-surface);
}

.sg-facts__tag {
	margin: 0;
	padding: 6px 10px;
	background: var(--sg-signal);
	color: var(--sg-paper);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
	white-space: nowrap;
}

.sg-facts__list,
.sg-prose .sg-facts__list {
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--sg-body);
	font-size: 14px;
	line-height: 1.8;
}

.sg-facts__list li {
	display: inline;
}

.sg-facts__list li + li::before {
	content: " · ";
	color: var(--sg-signal-text);
	font-weight: 700;
}

.sg-facts__list strong {
	color: var(--sg-ink);
}

/* -- FAQ ----------------------------------------------------------------- */

.sg-faq,
.sg-prose .sg-faq {
	margin-top: 24px;
	border-top: var(--sg-rule);
}

.sg-faq__item {
	border-bottom: var(--sg-rule-hair);
}

.sg-faq__q {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-block: 16px;
	color: var(--sg-ink);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.sg-faq__q::-webkit-details-marker {
	display: none;
}

.sg-faq__q::after {
	content: "+";
	flex-shrink: 0;
	color: var(--sg-signal);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
}

.sg-faq__item[open] > .sg-faq__q::after {
	content: "−";
}

.sg-faq__q:hover {
	color: var(--sg-signal-text);
}

.sg-faq__a {
	padding-bottom: 20px;
	font-size: 16px;
	line-height: 1.7;
}

.sg-faq__a > * + * {
	margin-top: 16px;
}

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

.sg-article__foot {
	margin-top: 44px;
	padding-top: 20px;
	border-top: var(--sg-rule);
}

.sg-pagelinks {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: var(--sg-rule-hair);
	font-size: 13px;
	font-weight: 700;
}

.sg-pagelinks__label {
	margin-right: 8px;
	color: var(--sg-muted);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: var(--sg-track);
	text-transform: uppercase;
}

.sg-pagelinks__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding-inline: 4px;
	border: var(--sg-rule);
}

.sg-pagelinks a .sg-pagelinks__item:hover {
	background: var(--sg-signal);
	border-color: var(--sg-signal);
	color: var(--sg-paper);
}

/* -- Read next ----------------------------------------------------------- */

.sg-readnext {
	margin-top: clamp(44px, 6vw, 64px);
}

.sg-readnext .sg-shell {
	padding-top: 24px;
	border-top: var(--sg-rule-heavy);
}

.sg-readnext__title {
	font-size: 22px;
	letter-spacing: -0.01em;
}

.sg-readnext__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--sg-grid-gap);
	margin-top: 20px;
	padding-bottom: clamp(40px, 5vw, 56px);
}

/* =========================================================================
 * 12. Newsletter band
 * ====================================================================== */

.sg-news__band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(24px, 3.5vw, 40px);
	padding: clamp(28px, 3.5vw, 40px) clamp(24px, 4vw, 48px);
	background: var(--sg-ink);
	color: var(--sg-paper);
}

.sg-news__title {
	color: var(--sg-paper);
	font-size: clamp(22px, 2.6vw, 28px);
	letter-spacing: -0.02em;
}

.sg-news__text {
	margin-top: 6px;
	color: #bbbbbb;
	font-size: 15px;
	line-height: 1.5;
}

.sg-news__form {
	flex-shrink: 0;
}

.sg-news__fields {
	display: flex;
	flex-wrap: wrap;
}

.sg-news__input {
	width: 240px;
	min-width: 0;
	flex: 1 1 200px;
	padding: 14px 20px;
	border: 0;
	background: var(--sg-paper);
	color: var(--sg-ink);
	font-size: 14px;
}

.sg-news__input::placeholder {
	color: var(--sg-muted);
	opacity: 1;
}

.sg-news__button {
	flex-shrink: 0;
	padding: 14px 24px;
	border: 0;
	background: var(--sg-signal);
	color: var(--sg-paper);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

.sg-news__button:hover,
.sg-news__button:focus {
	background: var(--sg-signal-hover);
}

/* Whatever a mailer shortcode renders, keep it in the system. */
.sg-news__form input[type="email"],
.sg-news__form input[type="text"] {
	padding: 14px 20px;
	border: 0;
	background: var(--sg-paper);
	color: var(--sg-ink);
	font-size: 14px;
}

.sg-news__form input[type="submit"],
.sg-news__form button {
	padding: 14px 24px;
	border: 0;
	background: var(--sg-signal);
	color: var(--sg-paper);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

/* =========================================================================
 * 13. Footer
 * ====================================================================== */

.sg-footer {
	margin-top: var(--sg-section-gap);
	padding-block: clamp(36px, 4.5vw, 48px) 40px;
	border-top: var(--sg-rule-heavy);
}

.sg-footer__grid {
	display: grid;
	grid-template-columns: 2fr repeat(3, minmax(0, 1fr));
	gap: var(--sg-grid-gap);
}

.sg-footer__mission {
	max-width: 320px;
	margin-top: 14px;
	color: var(--sg-quiet);
	font-size: 14px;
	line-height: 1.6;
}

.sg-footer__heading {
	margin-bottom: 10px;
	color: var(--sg-ink);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--sg-track);
	text-transform: uppercase;
}

.sg-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 2;
}

.sg-footer__list a {
	color: var(--sg-body);
}

.sg-footer__list a:hover,
.sg-footer__list a:focus {
	color: var(--sg-signal-text);
}

.sg-footer__widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 2;
}

.sg-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 40px;
	padding-top: 20px;
	border-top: var(--sg-rule-hair);
}

.sg-footer__legal-item {
	margin: 0;
	color: var(--sg-muted);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* =========================================================================
 * 14. Empty states, comments, misc
 * ====================================================================== */

.sg-empty {
	padding-block: clamp(48px, 7vw, 96px);
	max-width: 620px;
}

.sg-empty__title {
	font-size: clamp(30px, 4vw, 48px);
	letter-spacing: -0.03em;
}

.sg-empty__text {
	margin-top: 16px;
	color: var(--sg-body);
	font-size: 17px;
	line-height: 1.6;
}

.sg-empty .sg-search {
	margin-top: 28px;
	max-width: 480px;
}

.sg-404 {
	padding-top: 40px;
	max-width: 620px;
}

.sg-404 .sg-chips {
	border: 0;
	padding: 0;
	margin-top: 24px;
}

.sg-comments {
	margin-top: 56px;
	padding-top: 24px;
	border-top: var(--sg-rule-heavy);
	padding-bottom: 40px;
}

.sg-comments__title {
	font-size: 22px;
	letter-spacing: -0.01em;
}

.sg-comments__list,
.sg-comments__list .children {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.sg-comments__list .children {
	margin-left: 24px;
	padding-left: 20px;
	border-left: var(--sg-rule-hair);
}

.sg-comments__list li.comment,
.sg-comments__list li.pingback {
	padding-block: 20px;
	border-top: var(--sg-rule-hair);
}

.sg-comments .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

.sg-comments .comment-content {
	margin-top: 12px;
	font-size: 16px;
	line-height: 1.6;
}

.sg-comments .comment-content > * + * {
	margin-top: 16px;
}

.sg-comments .reply {
	margin-top: 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

.sg-comments .comment-form {
	margin-top: 28px;
}

.sg-comments .comment-form p {
	margin-top: 16px;
}

.sg-comments .comment-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

.sg-comments .comment-form input[type="text"],
.sg-comments .comment-form input[type="email"],
.sg-comments .comment-form input[type="url"],
.sg-comments .comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: var(--sg-rule);
	background: var(--sg-paper);
	font-size: 15px;
}

.sg-button,
.sg-comments .comment-form .submit {
	display: inline-block;
	padding: 14px 24px;
	border: 0;
	background: var(--sg-ink);
	color: var(--sg-paper);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: var(--sg-track-tight);
	text-transform: uppercase;
}

.sg-button--signal,
.sg-comments .comment-form .submit {
	background: var(--sg-signal);
}

.sg-button:hover,
.sg-comments .comment-form .submit:hover {
	background: var(--sg-ink);
	color: var(--sg-paper);
}

.sg-comments__closed {
	margin-top: 20px;
	color: var(--sg-muted);
	font-size: 14px;
}

.sg-prose--page {
	padding-top: 0;
}

.wp-caption-text,
.gallery-caption {
	color: var(--sg-muted);
	font-size: 13px;
}

.sticky .sg-card__title::after {
	content: " ●";
	color: var(--sg-signal);
}

/* =========================================================================
 * 15. Responsive
 * ====================================================================== */

@media (max-width: 1080px) {
	.sg-footer__grid {
		grid-template-columns: 1fr 1fr 1fr;
	}

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

	.sg-footer__mission {
		max-width: 520px;
	}
}

@media (max-width: 900px) {
	.sg-nav {
		display: none;
	}

	.sg-burger {
		display: inline-flex;
	}

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

	.sg-hero__column {
		padding: 18px 0;
		border-right: 0;
		border-bottom: var(--sg-rule-hair);
	}

	.sg-hero__column:last-child {
		border-bottom: 0;
	}

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

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

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

	.sg-featured .sg-figure {
		aspect-ratio: 2 / 1;
		min-height: 0;
	}

	.sg-archive-head__row {
		flex-direction: column;
		align-items: flex-start;
	}

	.sg-archive-head__intro {
		padding-bottom: 0;
		max-width: none;
	}

	.sg-news__band {
		flex-direction: column;
		align-items: stretch;
	}

	.sg-news__form,
	.sg-news__fields {
		width: 100%;
	}
}

@media (max-width: 700px) {
	.sg-hero__band {
		aspect-ratio: 3 / 2;
	}

	.sg-article__hero-image {
		aspect-ratio: 3 / 2;
	}
}

@media (max-width: 620px) {
	body {
		font-size: 16px;
	}

	.sg-guide__grid,
	.sg-cards {
		grid-template-columns: minmax(0, 1fr);
	}

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

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

	.sg-meta {
		gap: 12px;
	}

	.sg-meta__items {
		flex: 1 1 100%;
	}

	.sg-meta__flag {
		margin-left: 0;
		flex-basis: 100%;
	}

	.sg-facts {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}

	.sg-facts__tag {
		justify-self: start;
	}

	.sg-hcard {
		gap: 16px;
	}

	.sg-hcard .sg-figure {
		flex-basis: 110px;
		width: 110px;
	}

	.sg-prose .alignleft,
	.sg-prose .alignright {
		float: none;
		margin-inline: 0;
		max-width: none;
	}
}

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

	.sg-search {
		flex-wrap: wrap;
	}

	.sg-search__field {
		flex-basis: 100%;
	}

	.sg-search__submit {
		width: 100%;
		margin-top: -1px;
		border-left: var(--sg-rule);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* =========================================================================
 * 16. Print
 * ====================================================================== */

@media print {
	.sg-header__end,
	.sg-searchbar,
	.sg-drawer,
	.sg-readnext,
	.sg-news,
	.sg-comments,
	.sg-pagination,
	.sg-toc {
		display: none !important;
	}

	body {
		font-size: 11pt;
	}

	.sg-article__hero {
		max-height: 8cm;
		overflow: hidden;
	}
}
