/*
 * Secession -- main stylesheet
 *
 * Colour comes in from inc/color.php as custom properties on :root. Nothing in
 * here hard-codes a brand colour, so recolouring the site in the Customizer
 * recolours every part of it, and the AA-solved text variants (--sec-gold-text,
 * --sec-cream-text and friends) mean the palette cannot be pushed below AA.
 *
 * Two deliberate deviations from the design comp, both for readability:
 *  - article body is 19px, not 17px. Cormorant Garamond has an unusually small
 *    x-height; 17px of it reads like 14px of a grotesque.
 *  - the gold ornament colour is never used for words. Words use
 *    --sec-gold-text, a darkened solve of the same hue.
 */

/* ------------------------------------------------------------------ *
 * 1. Tokens
 * ------------------------------------------------------------------ */

:root {
	--sec-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sec-ui: "Jost", "Century Gothic", "Trebuchet MS", system-ui, -apple-system, "Segoe UI", sans-serif;

	--sec-max: 1280px;
	--sec-gutter: clamp(20px, 4.4vw, 56px);
	--sec-measure: 620px;
	--sec-rail: 250px;

	--sec-body-size: 19px;
	--sec-arch-r: 50% 50% 0 0 / 40% 40% 0 0;

	--sec-step: 22px;
	--sec-band: clamp(40px, 5.6vw, 56px);

	--sec-focus: 2px;
}

/* ------------------------------------------------------------------ *
 * 2. Reset and base
 * ------------------------------------------------------------------ */

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

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

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

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

body {
	margin: 0;
	background: var(--sec-cream);
	color: var(--sec-ink);
	font-family: var(--sec-ui);
	font-size: 16px;
	line-height: 1.6;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

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

img {
	display: block;
}

/* A hidden element must stay hidden even when a media query sets display. */
[hidden] {
	display: none !important;
}

a {
	color: var(--sec-teal-text);
	text-decoration: none;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus {
	color: var(--sec-gold-text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
	outline: var(--sec-focus) solid var(--sec-gold-text);
	outline-offset: 3px;
}

:is(.sec-dark, .sec-hero, .sec-stats, .sec-footer, .sec-feature) :is(a, button, summary):focus-visible {
	outline-color: var(--sec-gold-on-dark);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sec-display);
	font-weight: 600;
	color: var(--sec-teal-text);
	line-height: 1.14;
	margin: 0;
	overflow-wrap: break-word;
}

h1 em, h2 em, h3 em, h4 em,
.sec-em {
	color: var(--sec-gold-text);
	font-style: italic;
}

p {
	margin: 0;
}

hr {
	border: 0;
	border-top: 1px solid var(--sec-rule);
	margin: var(--sec-step) 0;
}

::selection {
	background: var(--sec-gold);
	color: var(--sec-on-gold);
}

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--sec-teal);
	color: var(--sec-cream-text);
	font: 600 13px/1 var(--sec-ui);
	letter-spacing: 0.12em;
	padding: 14px 22px;
	text-transform: uppercase;
}

.skip-link:focus {
	left: 8px;
	top: 8px;
	color: var(--sec-cream-text);
}

/* ------------------------------------------------------------------ *
 * 3. Layout
 * ------------------------------------------------------------------ */

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

.sec-band {
	padding-block: var(--sec-band);
}

.sec-band--flush-top {
	padding-top: 0;
}

.sec-dark {
	background: var(--sec-teal);
	color: var(--sec-cream-text);
}

/*
 * Every region painted on teal, listed once. Anything inside one of these --
 * including markup this theme never wrote, such as a block widget dropped into
 * the footer -- has to invert, or it renders teal on teal.
 */
.sec-dark,
.sec-hero,
.sec-stats,
.sec-footer,
.sec-feature,
.sec-note,
.is-style-sec-note {
	color: var(--sec-cream-text);
}

.sec-dark :is(h1, h2, h3, h4, h5, h6),
.sec-hero :is(h1, h2, h3, h4, h5, h6),
.sec-stats :is(h1, h2, h3, h4, h5, h6),
.sec-footer :is(h1, h2, h3, h4, h5, h6),
.sec-feature :is(h1, h2, h3, h4, h5, h6),
.is-style-sec-note :is(h1, h2, h3, h4, h5, h6) {
	color: var(--sec-cream-text);
}

.sec-dark :is(h1, h2, h3, h4) em,
.sec-hero :is(h1, h2, h3, h4) em,
.sec-stats :is(h1, h2, h3, h4) em,
.sec-footer :is(h1, h2, h3, h4) em,
.sec-feature :is(h1, h2, h3, h4) em,
.is-style-sec-note :is(h1, h2, h3, h4) em {
	color: var(--sec-gold-on-dark);
}

/*
 * a:not(.sec-btn), not a bare `a`: a plain descendant rule outranks the button
 * classes and would paint cream text onto the gold button fill.
 */
.sec-dark a:not(.sec-btn),
.sec-hero a:not(.sec-btn),
.sec-stats a:not(.sec-btn),
.sec-footer a:not(.sec-btn),
.sec-feature a:not(.sec-btn),
.is-style-sec-note a:not(.sec-btn) {
	color: var(--sec-gold-on-dark);
}

.sec-dark a:not(.sec-btn):is(:hover, :focus),
.sec-hero a:not(.sec-btn):is(:hover, :focus),
.sec-stats a:not(.sec-btn):is(:hover, :focus),
.sec-footer a:not(.sec-btn):is(:hover, :focus),
.sec-feature a:not(.sec-btn):is(:hover, :focus),
.is-style-sec-note a:not(.sec-btn):is(:hover, :focus) {
	color: var(--sec-cream-text);
	text-decoration: underline;
}

.sec-dark :is(p, li, td, th, cite, figcaption, dd, dt, blockquote),
.sec-hero :is(p, li, td, th, cite, figcaption, dd, dt, blockquote),
.sec-stats :is(p, li, td, th, cite, figcaption, dd, dt, blockquote),
.sec-footer :is(p, li, td, th, cite, figcaption, dd, dt, blockquote) {
	color: inherit;
}

/* ------------------------------------------------------------------ *
 * 4. Ornament: diamonds, rules, arches, inset frames
 * ------------------------------------------------------------------ */

.sec-diamond {
	display: block;
	width: 8px;
	height: 8px;
	flex: none;
	background: var(--sec-gold);
	rotate: 45deg;
}

.sec-diamond--open {
	background: none;
	box-shadow: inset 0 0 0 1px var(--sec-gold);
}

.sec-diamond--teal {
	background: var(--sec-teal);
}

.sec-diamond--cream {
	background: var(--sec-cream);
}

.sec-diamond--sm {
	width: 6px;
	height: 6px;
}

.sec-diamond--xs {
	width: 5px;
	height: 5px;
}

/* The filled / outline / filled ornament row. */
.sec-rule-diamonds {
	display: flex;
	justify-content: center;
	gap: 8px;
	align-items: center;
}

.sec-goldbar {
	height: 6px;
	background: linear-gradient(90deg, var(--sec-gold), var(--sec-gold-light) 30%, var(--sec-gold) 60%, var(--sec-gold-light));
}

/* Section heading: diamond, title, fading rule, optional link. */
.sec-heading {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 34px;
	flex-wrap: wrap;
}

.sec-heading__title {
	font-size: clamp(26px, 3.2vw, 34px);
	margin: 0;
}

.sec-heading__rule {
	flex: 1 1 60px;
	height: 1px;
	min-width: 30px;
	background: linear-gradient(90deg, var(--sec-rule-strong), transparent);
}

.sec-heading__link {
	font: 500 11.5px/1 var(--sec-ui);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	white-space: nowrap;
	padding: 6px 0;
}

/* Arched image frame: outer hairline, gap, inner arch holding the image. */
.sec-arch {
	border: 1px solid var(--sec-rule-strong);
	border-radius: var(--sec-arch-r);
	padding: 7px;
	background: transparent;
}

.sec-arch__inner {
	border-radius: var(--sec-arch-r);
	overflow: hidden;
	background: var(--sec-arch);
	position: relative;
	aspect-ratio: 4 / 5;
}

.sec-arch__inner > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sec-arch--wide .sec-arch__inner {
	aspect-ratio: 16 / 9;
}

.sec-arch--tall .sec-arch__inner {
	aspect-ratio: 3 / 5;
}

.sec-dark .sec-arch {
	border-color: var(--sec-rule-gold);
	padding: 8px;
}

/* Placeholder used when a post or category has no image. */
.sec-arch__placeholder {
	position: absolute;
	inset: 0;
	background:
		repeating-linear-gradient(45deg, var(--sec-cream-dark), var(--sec-cream-dark) 7px, var(--sec-card) 7px, var(--sec-card) 14px);
}

.sec-dark .sec-arch__placeholder,
.sec-feature .sec-arch__placeholder {
	background:
		repeating-linear-gradient(45deg, var(--sec-teal-deep), var(--sec-teal-deep) 8px, var(--sec-arch-dark) 8px, var(--sec-arch-dark) 16px);
}

/* Double inset gold border used on the hero and the featured card. */
.sec-inset {
	position: relative;
}

.sec-inset::before,
.sec-inset::after {
	content: "";
	position: absolute;
	pointer-events: none;
	border: 1px solid rgba(var(--sec-gold-rgb), 0.5);
}

.sec-inset::before {
	inset: 16px;
}

.sec-inset::after {
	inset: 22px;
	border-color: rgba(var(--sec-gold-rgb), 0.22);
}

.sec-inset--single::after {
	display: none;
}

.sec-inset--tight::before {
	inset: 10px;
	border-color: rgba(var(--sec-gold-rgb), 0.4);
}

/* ------------------------------------------------------------------ *
 * 5. Kickers, buttons, forms
 * ------------------------------------------------------------------ */

.sec-kicker {
	font: 500 11.5px/1.4 var(--sec-ui);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--sec-gold-text);
	margin: 0;
}

.sec-dark .sec-kicker,
.sec-hero .sec-kicker,
.sec-stats .sec-kicker,
.sec-footer .sec-kicker,
.sec-feature .sec-kicker,
.is-style-sec-note .sec-kicker {
	color: var(--sec-gold-on-dark);
}

.sec-kicker--wide {
	letter-spacing: 0.32em;
}

.sec-btn {
	display: inline-block;
	font: 600 12.5px/1 var(--sec-ui);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 15px 28px;
	border: 1px solid transparent;
	border-radius: 0;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.sec-btn--gold {
	background: var(--sec-gold);
	color: var(--sec-on-gold);
}

.sec-btn--gold:hover,
.sec-btn--gold:focus {
	background: var(--sec-gold-light);
	color: var(--sec-on-gold);
}

.sec-btn--teal {
	background: var(--sec-teal);
	color: var(--sec-on-teal);
}

.sec-btn--teal:hover,
.sec-btn--teal:focus {
	background: var(--sec-teal-deep);
	color: var(--sec-on-teal);
}

.sec-btn--ghost-gold {
	background: transparent;
	border-color: rgba(var(--sec-gold-rgb), 0.55);
	color: var(--sec-gold-on-dark);
}

.sec-btn--ghost-gold:hover,
.sec-btn--ghost-gold:focus {
	background: var(--sec-gold);
	border-color: var(--sec-gold);
	color: var(--sec-on-gold);
}

.sec-btn--ghost-teal {
	background: transparent;
	border-color: var(--sec-rule-strong);
	color: var(--sec-teal-text);
}

.sec-btn--ghost-teal:hover,
.sec-btn--ghost-teal:focus {
	background: var(--sec-teal);
	border-color: var(--sec-teal);
	color: var(--sec-on-teal);
}

.sec-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
textarea,
select {
	font: 400 15px/1.4 var(--sec-ui);
	color: var(--sec-ink);
	background: var(--sec-card);
	border: 1px solid var(--sec-rule-strong);
	border-radius: 0;
	padding: 13px 16px;
	width: 100%;
	max-width: 100%;
}

input::placeholder,
textarea::placeholder {
	color: var(--sec-ink-muted);
	opacity: 1;
}

label {
	font: 500 11.5px/1.4 var(--sec-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sec-teal-text);
	display: block;
	margin-bottom: 7px;
}

/* ------------------------------------------------------------------ *
 * 6. Site header
 * ------------------------------------------------------------------ */

.sec-header {
	background: var(--sec-cream);
	border-bottom: 1px solid var(--sec-rule);
	position: relative;
	z-index: 30;
}

.sec-header--sticky {
	position: sticky;
	top: 0;
}

.sec-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 18px;
}

/* Brand ------------------------------------------------------------ */

.sec-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex: none;
	color: var(--sec-teal-text);
}

.sec-brand:hover,
.sec-brand:focus {
	color: var(--sec-teal-text);
}

.sec-brand__mark {
	display: flex;
	gap: 4px;
	flex: none;
}

.sec-brand__word {
	font-family: var(--sec-display);
	font-weight: 600;
	font-size: clamp(21px, 2.4vw, 26px);
	letter-spacing: 0.04em;
	line-height: 1.1;
	color: var(--sec-teal-text);
	white-space: nowrap;
}

.sec-brand__word b {
	font-weight: inherit;
	color: var(--sec-gold-text);
}

.sec-footer .sec-brand__word,
.sec-footer .sec-brand {
	color: var(--sec-cream-text);
}

.sec-footer .sec-brand__word b {
	color: var(--sec-gold-on-dark);
}

.sec-brand__logo img {
	max-height: 56px;
	width: auto;
}

.sec-brand__tagline {
	display: block;
	font: 400 10.5px/1.4 var(--sec-ui);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--sec-ink-muted);
	margin-top: 3px;
}

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

.sec-nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.sec-nav {
	min-width: 0;
}

.sec-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	row-gap: 0;
	column-gap: clamp(12px, 1.8vw, 26px);
}

.sec-nav li {
	position: relative;
}

.sec-nav a {
	display: block;
	font: 500 12px/1 var(--sec-ui);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--sec-teal-text);
	padding: 12px 2px;
	white-space: nowrap;
}

.sec-nav a:hover,
.sec-nav a:focus,
.sec-nav .current-menu-item > a,
.sec-nav .current-menu-ancestor > a,
.sec-nav .current-secession-category > a {
	color: var(--sec-gold-text);
}

/* Sub-menus */
.sec-nav ul ul {
	position: absolute;
	top: 100%;
	left: -14px;
	display: block;
	min-width: 210px;
	background: var(--sec-card);
	border: 1px solid var(--sec-rule-strong);
	padding: 8px 0;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
	z-index: 40;
}

.sec-nav li:hover > ul,
.sec-nav li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.sec-nav ul ul a {
	letter-spacing: 0.12em;
	padding: 10px 16px;
	white-space: normal;
}

.sec-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.sec-header .sec-btn {
	padding: 12px 20px;
	font-size: 11.5px;
	letter-spacing: 0.18em;
}

/* Search toggle and mobile toggle ---------------------------------- */

.sec-iconbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	background: none;
	border: 1px solid transparent;
	color: var(--sec-teal-text);
	cursor: pointer;
	padding: 0;
}

.sec-iconbtn:hover,
.sec-iconbtn:focus {
	color: var(--sec-gold-text);
	border-color: var(--sec-rule);
}

.sec-iconbtn svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
}

.sec-menu-toggle {
	display: none;
}

.sec-searchbar {
	border-top: 1px solid var(--sec-rule);
	background: var(--sec-tint);
	padding-block: 16px;
}

.sec-searchbar form {
	display: flex;
	gap: 0;
	max-width: 560px;
	margin-inline: auto;
}

.sec-searchbar .sec-btn {
	flex: none;
}

/* ------------------------------------------------------------------ *
 * 7. Homepage: hero
 * ------------------------------------------------------------------ */

.sec-hero {
	background: var(--sec-teal);
	color: var(--sec-cream-text);
	position: relative;
	padding-block: clamp(40px, 5.4vw, 64px) clamp(36px, 4.6vw, 56px);
}

.sec-hero__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(28px, 3.6vw, 48px);
	align-items: center;
	position: relative;
}

.sec-hero__title {
	font-size: clamp(38px, 6vw, 64px);
	line-height: 1.04;
	color: var(--sec-cream-text);
	margin-top: 18px;
}

.sec-hero__title em {
	color: var(--sec-gold-on-dark);
}

.sec-hero__text {
	font: 400 16px/1.7 var(--sec-ui);
	color: var(--sec-cream-muted);
	max-width: 46ch;
	margin-top: 18px;
}

.sec-hero .sec-btn-row {
	margin-top: 28px;
}

.sec-hero__figures {
	display: flex;
	gap: 16px;
	align-items: end;
}

.sec-hero__figures > * {
	flex: 1 1 0;
	min-width: 0;
}

.sec-hero__figures > *:last-child {
	margin-bottom: 0;
}

.sec-hero__figures .sec-arch--short .sec-arch__inner {
	aspect-ratio: 3 / 4;
}

.sec-hero__divider {
	margin-top: clamp(26px, 3.4vw, 40px);
	position: relative;
}

/* ------------------------------------------------------------------ *
 * 8. Homepage: stats band
 * ------------------------------------------------------------------ */

.sec-stats {
	background: var(--sec-teal-deep);
	border-top: 1px solid var(--sec-rule-gold);
	color: var(--sec-cream-text);
}

.sec-stats__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 40px;
	padding-block: 18px;
}

.sec-stats__list {
	display: flex;
	flex-wrap: wrap;
	gap: 14px clamp(24px, 4vw, 56px);
	list-style: none;
	margin: 0;
	padding: 0;
}

.sec-stats__value {
	font: 600 24px/1 var(--sec-display);
	color: var(--sec-gold-on-dark);
}

.sec-stats__label {
	font: 400 11.5px/1 var(--sec-ui);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sec-cream-muted);
}

.sec-stats__link {
	font: 500 11.5px/1 var(--sec-ui);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	white-space: nowrap;
	padding: 8px 0;
	color: var(--sec-gold-on-dark);
}

/* ------------------------------------------------------------------ *
 * 9. Homepage: category grid
 * ------------------------------------------------------------------ */

.sec-cats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sec-cat {
	text-align: center;
}

.sec-cat__link {
	display: block;
	color: inherit;
}

.sec-cat__link:hover .sec-arch,
.sec-cat__link:focus .sec-arch {
	border-color: var(--sec-gold);
}

.sec-cat__link:hover .sec-cat__name,
.sec-cat__link:focus .sec-cat__name {
	color: var(--sec-gold-text);
}

.sec-cat .sec-arch__inner {
	aspect-ratio: 4 / 5;
}

.sec-cat__name {
	font: 600 21px/1.2 var(--sec-display);
	color: var(--sec-teal-text);
	margin-top: 12px;
	transition: color 0.16s ease;
}

.sec-cat__count {
	font: 400 10.5px/1 var(--sec-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sec-gold-text);
	margin-top: 5px;
}

.sec-cat__desc {
	font: 400 13px/1.55 var(--sec-ui);
	color: var(--sec-ink-muted);
	margin-top: 8px;
}

/* ------------------------------------------------------------------ *
 * 10. Cards
 * ------------------------------------------------------------------ */

.sec-grid {
	display: grid;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sec-grid--latest {
	grid-template-columns: 1.4fr minmax(0, 1fr) minmax(0, 1fr);
}

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

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

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

/* Standard card ---------------------------------------------------- */

.sec-card {
	background: var(--sec-card);
	border: 1px solid var(--sec-rule);
	display: flex;
	flex-direction: column;
	position: relative;
	transition: border-color 0.18s ease;
}

.sec-card:hover,
.sec-card:focus-within {
	border-color: var(--sec-gold);
}

.sec-card__media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-bottom: 1px solid var(--sec-rule);
	background: repeating-linear-gradient(45deg, var(--sec-cream-dark), var(--sec-cream-dark) 7px, var(--sec-card) 7px, var(--sec-card) 14px);
}

.sec-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sec-card__body {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	gap: 7px;
	flex: 1;
}

.sec-card__title {
	font-size: 20px;
	line-height: 1.25;
}

/*
 * The whole card is a link target: the anchor's ::after covers the card, so the
 * tap target is the card rather than the few words of the title.
 */
.sec-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.sec-card__excerpt {
	font: 400 13.5px/1.6 var(--sec-ui);
	color: var(--sec-ink-muted);
	margin: 0;
}

.sec-card__meta {
	font: 400 11px/1.4 var(--sec-ui);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sec-ink-muted);
	margin-top: auto;
	padding-top: 12px;
}

/* Any real link inside a card must sit above the blanket ::after. */
.sec-card a:not(.sec-card__title a) {
	position: relative;
	z-index: 2;
}

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

.sec-feature {
	background: var(--sec-teal);
	color: var(--sec-cream-text);
	position: relative;
	display: flex;
	flex-direction: column;
}

.sec-feature .sec-card__media {
	aspect-ratio: 16 / 10;
	border-bottom: 0;
	background: repeating-linear-gradient(45deg, var(--sec-teal-deep), var(--sec-teal-deep) 8px, var(--sec-arch-dark) 8px, var(--sec-arch-dark) 16px);
}

.sec-feature .sec-card__body {
	padding: 24px 28px 28px;
	gap: 8px;
}

.sec-feature .sec-card__title {
	font-size: clamp(23px, 2.2vw, 27px);
	color: var(--sec-cream-text);
}

.sec-feature .sec-card__title a {
	color: var(--sec-cream-text);
}

.sec-feature .sec-card__title a:hover,
.sec-feature .sec-card__title a:focus {
	color: var(--sec-gold-on-dark);
}

.sec-feature .sec-card__excerpt,
.sec-feature .sec-card__meta {
	color: var(--sec-cream-muted);
}

/* Compact related card --------------------------------------------- */

.sec-mini {
	background: var(--sec-card);
	border: 1px solid var(--sec-rule);
	padding: 18px 20px;
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: border-color 0.18s ease;
}

.sec-mini:hover,
.sec-mini:focus-within {
	border-color: var(--sec-gold);
}

.sec-mini__title {
	font-size: 18px;
	line-height: 1.3;
}

.sec-mini__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

/* Row layout used by search results and the blog index -------------- */

.sec-row {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	padding-bottom: var(--sec-step);
	border-bottom: 1px solid var(--sec-rule);
	position: relative;
}

.sec-row__media {
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border: 1px solid var(--sec-rule);
	background: repeating-linear-gradient(45deg, var(--sec-cream-dark), var(--sec-cream-dark) 7px, var(--sec-card) 7px, var(--sec-card) 14px);
}

.sec-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sec-row__title {
	font-size: 24px;
	line-height: 1.2;
	margin-top: 6px;
}

.sec-row__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.sec-row__excerpt {
	font: 400 14.5px/1.65 var(--sec-ui);
	color: var(--sec-ink-muted);
	margin-top: 8px;
}

.sec-rows {
	display: flex;
	flex-direction: column;
	gap: var(--sec-step);
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ------------------------------------------------------------------ *
 * 11. Newsletter
 * ------------------------------------------------------------------ */

.sec-news {
	background: var(--sec-cream-dark);
	border: 1px solid var(--sec-rule);
	padding: clamp(26px, 3.4vw, 36px) clamp(24px, 3.6vw, 44px);
	display: flex;
	align-items: center;
	gap: clamp(24px, 3vw, 40px);
	flex-wrap: wrap;
}

.sec-news__copy {
	flex: 1 1 300px;
}

.sec-news__title {
	font-size: clamp(23px, 2.6vw, 28px);
}

.sec-news__text {
	font: 400 14px/1.6 var(--sec-ui);
	color: var(--sec-ink-muted);
	margin-top: 6px;
}

.sec-news__form {
	display: flex;
	flex: 1 1 320px;
	max-width: 440px;
	gap: 0;
	flex-wrap: wrap;
}

.sec-news__form input[type="email"] {
	flex: 1 1 200px;
	min-width: 0;
}

.sec-news__form .sec-btn {
	flex: none;
}

.sec-news__note {
	flex-basis: 100%;
	font: 400 12px/1.5 var(--sec-ui);
	color: var(--sec-ink-muted);
	margin-top: 8px;
}

/* ------------------------------------------------------------------ *
 * 12. Article
 * ------------------------------------------------------------------ */

.sec-entry-head {
	max-width: 820px;
	margin-inline: auto;
	padding-top: clamp(32px, 4.4vw, 52px);
	text-align: center;
}

.sec-breadcrumb {
	font: 400 11px/1.6 var(--sec-ui);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sec-ink-muted);
}

.sec-breadcrumb a {
	color: var(--sec-teal-text);
}

.sec-breadcrumb__sep {
	margin-inline: 6px;
	color: var(--sec-ink-muted);
}

.sec-breadcrumb__current {
	color: var(--sec-gold-text);
}

.sec-entry-head__title {
	font-size: clamp(31px, 4.6vw, 48px);
	line-height: 1.12;
	margin-top: 20px;
}

.sec-entry-head__dek {
	font: italic 400 clamp(17px, 1.7vw, 19px)/1.6 var(--sec-display);
	color: var(--sec-teal-text);
	max-width: 34em;
	margin: 14px auto 0;
}

.sec-entry-head__meta {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-top: 20px;
	font: 400 11.5px/1.4 var(--sec-ui);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--sec-ink-muted);
}

.sec-entry-head__meta a {
	color: var(--sec-teal-text);
}

.sec-entry-head__divider {
	margin: 26px 0;
}

.sec-entry-hero {
	max-width: 960px;
	margin-inline: auto;
}

.sec-entry-hero .sec-arch__inner {
	aspect-ratio: 16 / 9;
}

.sec-entry-hero figcaption,
.sec-figcaption {
	font: 400 12.5px/1.6 var(--sec-ui);
	color: var(--sec-ink-muted);
	text-align: center;
	margin-top: 10px;
}

/* Body / rail layout ----------------------------------------------- */

.sec-entry-layout {
	display: grid;
	grid-template-columns: minmax(0, var(--sec-measure)) var(--sec-rail);
	gap: clamp(28px, 4vw, 48px);
	justify-content: center;
	max-width: 960px;
	margin-inline: auto;
	padding-block: clamp(32px, 4vw, 44px) var(--sec-band);
}

.sec-entry-layout--wide {
	grid-template-columns: minmax(0, 1fr);
	max-width: 760px;
}

.sec-entry-body {
	min-width: 0;
	font-family: var(--sec-display);
	font-size: var(--sec-body-size);
	line-height: 1.85;
	color: var(--sec-ink);
}

.sec-entry-body > * + * {
	margin-top: 1.1em;
}

.sec-entry-body p {
	margin: 0;
}

.sec-entry-body a {
	text-decoration: underline;
	text-decoration-color: rgba(var(--sec-teal-rgb), 0.4);
	text-decoration-thickness: 1px;
}

.sec-entry-body a:hover,
.sec-entry-body a:focus {
	text-decoration-color: currentColor;
}

/* Headings inside the article carry the diamond-and-rule ornament. */
.sec-entry-body :is(h2, h3) {
	display: flex;
	align-items: center;
	gap: 14px;
	scroll-margin-top: 24px;
}

.sec-entry-body h2 {
	font-size: clamp(25px, 2.8vw, 28px);
	margin-top: 1.9em;
	margin-bottom: 0.55em;
}

.sec-entry-body h3 {
	font-size: clamp(21px, 2.2vw, 23px);
	margin-top: 1.6em;
	margin-bottom: 0.45em;
}

.sec-entry-body :is(h2, h3)::before {
	content: "";
	width: 7px;
	height: 7px;
	flex: none;
	background: var(--sec-gold);
	rotate: 45deg;
}

.sec-entry-body h2::after {
	content: "";
	flex: 1 1 20px;
	height: 1px;
	background: linear-gradient(90deg, var(--sec-rule-strong), transparent);
}

.sec-entry-body :is(h4, h5, h6) {
	font-size: 19px;
	margin-top: 1.5em;
	margin-bottom: 0.4em;
}

.sec-entry-body :is(ul, ol) {
	padding-left: 1.3em;
	margin-block: 0;
}

.sec-entry-body li + li {
	margin-top: 0.4em;
}

.sec-entry-body ul {
	list-style: none;
	padding-left: 1.5em;
}

.sec-entry-body ul > li {
	position: relative;
}

.sec-entry-body ul > li::before {
	content: "";
	position: absolute;
	left: -1.15em;
	top: 0.72em;
	width: 6px;
	height: 6px;
	background: var(--sec-gold);
	rotate: 45deg;
}

.sec-entry-body ul ul,
.sec-entry-body ol ol {
	margin-top: 0.4em;
}

.sec-entry-body blockquote {
	margin: 1.6em 0;
	padding-left: 22px;
	border-left: 2px solid var(--sec-gold);
	font-style: italic;
	color: var(--sec-teal-text);
}

.sec-entry-body blockquote cite {
	display: block;
	font: 400 12px/1.5 var(--sec-ui);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-style: normal;
	color: var(--sec-ink-muted);
	margin-top: 10px;
}

.sec-entry-body figure {
	margin: 1.6em 0;
}

.sec-entry-body img {
	width: 100%;
}

.sec-entry-body table {
	width: 100%;
	border-collapse: collapse;
	font: 400 15px/1.6 var(--sec-ui);
}

.sec-entry-body :is(th, td) {
	border: 1px solid var(--sec-rule);
	padding: 10px 14px;
	text-align: left;
	vertical-align: top;
}

.sec-entry-body th {
	background: var(--sec-cream-dark);
	font-weight: 600;
	color: var(--sec-teal-text);
}

.sec-entry-body code,
.sec-entry-body kbd {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.86em;
	background: var(--sec-cream-dark);
	padding: 0.12em 0.4em;
}

.sec-entry-body pre {
	background: var(--sec-teal-deep);
	color: var(--sec-cream-text);
	padding: 20px 22px;
	overflow-x: auto;
	font-size: 14px;
	line-height: 1.6;
}

.sec-entry-body pre code {
	background: none;
	padding: 0;
	color: inherit;
}

/* Tables and other wide things must scroll rather than push the page. */
.sec-scroller {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* Drop cap --------------------------------------------------------- */

.sec-dropcap > p:first-of-type::first-letter {
	font-family: var(--sec-display);
	font-weight: 600;
	font-size: 3.1em;
	line-height: 0.84;
	color: var(--sec-gold-text);
	float: left;
	margin: 0.1em 0.09em 0 0;
}

/* "Worth knowing" callout ------------------------------------------ */

.sec-note,
.is-style-sec-note {
	background: var(--sec-teal);
	color: var(--sec-cream-text);
	padding: 26px 30px;
	position: relative;
	margin: 1.8em 0;
	border: 0;
}

.sec-note::before,
.is-style-sec-note::before {
	content: "";
	position: absolute;
	inset: 8px;
	border: 1px solid rgba(var(--sec-gold-rgb), 0.45);
	pointer-events: none;
}

.sec-note__label {
	font: 500 10.5px/1.4 var(--sec-ui);
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--sec-gold-on-dark);
}

.sec-note__body,
.is-style-sec-note p {
	font: italic 400 17px/1.6 var(--sec-display);
	color: var(--sec-cream-text);
	margin-top: 8px;
}

.sec-entry-body .is-style-sec-note :is(cite, footer),
.is-style-sec-note :is(cite, footer) {
	display: block;
	font: 400 11px/1.5 var(--sec-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-style: normal;
	color: var(--sec-gold-on-dark);
	margin-top: 12px;
}

/* Core wraps a pullquote's text in a blockquote, which would otherwise pick
 * up the article's quote treatment inside the callout. */
.sec-entry-body .is-style-sec-note blockquote {
	margin: 0;
	padding-left: 0;
	border-left: 0;
	color: inherit;
	font-style: normal;
}

.sec-entry-body .is-style-sec-note p,
.is-style-sec-note p {
	font: italic 400 17px/1.6 var(--sec-display);
	color: var(--sec-cream-text);
}

.is-style-sec-note > blockquote > p:first-child,
.is-style-sec-note p:first-child {
	margin-top: 0;
}

/* Rail ------------------------------------------------------------- */

.sec-rail {
	min-width: 0;
}

.sec-rail__sticky {
	position: sticky;
	top: 20px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.sec-panel {
	border: 1px solid var(--sec-rule);
	background: var(--sec-card);
	padding: 20px 22px;
}

.sec-panel__title {
	font: 500 10.5px/1.4 var(--sec-ui);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--sec-gold-text);
	margin: 0 0 12px;
}

.sec-panel__divider {
	height: 1px;
	background: var(--sec-rule);
	margin: 16px 0;
}

/* Table of contents ------------------------------------------------ */

.sec-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sec-toc__list a {
	display: block;
	font: 400 13.5px/1.45 var(--sec-ui);
	color: var(--sec-teal-text);
	padding: 6px 0 6px 12px;
	border-left: 2px solid transparent;
}

.sec-toc__list a:hover,
.sec-toc__list a:focus {
	color: var(--sec-gold-text);
	border-left-color: var(--sec-rule);
}

.sec-toc__list .is-current > a {
	color: var(--sec-gold-text);
	border-left-color: var(--sec-gold);
	font-weight: 500;
}

.sec-toc__list .sec-toc__sub a {
	padding-left: 24px;
	font-size: 12.5px;
	color: var(--sec-ink-muted);
}

/* Mobile contents collapses into a details element. */
.sec-toc-mobile {
	display: none;
	border: 1px solid var(--sec-rule);
	background: var(--sec-card);
	margin-bottom: 24px;
}

.sec-toc-mobile > summary {
	list-style: none;
	cursor: pointer;
	padding: 14px 18px;
	font: 500 11px/1.4 var(--sec-ui);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--sec-gold-text);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.sec-toc-mobile > summary::-webkit-details-marker {
	display: none;
}

.sec-toc-mobile > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	rotate: 45deg;
	translate: 0 -2px;
	transition: rotate 0.2s ease;
	flex: none;
}

.sec-toc-mobile[open] > summary::after {
	rotate: -135deg;
	translate: 0 2px;
}

.sec-toc-mobile .sec-toc__list {
	padding: 0 18px 16px;
}

/* At a glance ------------------------------------------------------ */

.sec-glance__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
	font-family: var(--sec-ui);
}

.sec-glance__item {
	display: grid;
	gap: 1px;
}

.sec-glance__label {
	font: 500 10px/1.4 var(--sec-ui);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sec-ink-muted);
}

.sec-glance__value {
	font: 400 13.5px/1.5 var(--sec-ui);
	color: var(--sec-ink);
}

.sec-glance__plain {
	font: 400 13px/1.7 var(--sec-ui);
	color: var(--sec-ink);
}

/* In-body glance panel, when it is rendered wide rather than in the rail. */
.sec-glance--wide {
	background: var(--sec-cream-dark);
	border: 1px solid var(--sec-rule);
	padding: 24px 26px;
	margin: 1.8em 0;
}

.sec-glance--wide .sec-glance__list {
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px 24px;
}

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

.sec-faq {
	margin: 2em 0;
	border-top: 1px solid var(--sec-rule);
}

.sec-faq__item {
	border-bottom: 1px solid var(--sec-rule);
}

.sec-faq__item > summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 34px 16px 0;
	position: relative;
	font-family: var(--sec-display);
	font-weight: 600;
	font-size: 20px;
	line-height: 1.35;
	color: var(--sec-teal-text);
}

.sec-faq__item > summary::-webkit-details-marker {
	display: none;
}

.sec-faq__item > summary::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 24px;
	width: 9px;
	height: 9px;
	border-right: 1.5px solid var(--sec-gold-text);
	border-bottom: 1.5px solid var(--sec-gold-text);
	rotate: 45deg;
	transition: rotate 0.2s ease;
}

.sec-faq__item[open] > summary::after {
	rotate: -135deg;
	top: 28px;
}

.sec-faq__item > summary:hover,
.sec-faq__item > summary:focus-visible {
	color: var(--sec-gold-text);
}

.sec-faq__answer {
	padding-bottom: 18px;
	font-size: calc(var(--sec-body-size) - 1px);
}

.sec-faq__answer > * + * {
	margin-top: 0.9em;
}

/* Entry footer ----------------------------------------------------- */

.sec-entry-foot {
	margin-top: var(--sec-step);
	padding-top: var(--sec-step);
	border-top: 1px solid var(--sec-rule);
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: baseline;
	justify-content: space-between;
	font-family: var(--sec-ui);
}

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

.sec-tags a {
	display: inline-block;
	font: 400 11.5px/1 var(--sec-ui);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1px solid var(--sec-rule);
	padding: 9px 13px;
	color: var(--sec-teal-text);
}

.sec-tags a:hover,
.sec-tags a:focus {
	border-color: var(--sec-gold);
	color: var(--sec-gold-text);
}

.sec-byline {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: var(--sec-step);
	padding-top: var(--sec-step);
	border-top: 1px solid var(--sec-rule);
}

.sec-byline__avatar {
	width: 56px;
	height: 56px;
	flex: none;
	display: grid;
	place-items: center;
	background: var(--sec-teal);
	color: var(--sec-cream-text);
	font: 600 20px/1 var(--sec-display);
	letter-spacing: 0.04em;
	border-radius: 50%;
	overflow: hidden;
}

.sec-byline__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.sec-byline__name {
	font: 600 18px/1.3 var(--sec-display);
	color: var(--sec-teal-text);
}

.sec-byline__bio {
	font: 400 13.5px/1.6 var(--sec-ui);
	color: var(--sec-ink-muted);
	margin-top: 3px;
}

/* Post navigation and related -------------------------------------- */

.sec-related {
	background: var(--sec-cream-dark);
	border-top: 1px solid var(--sec-rule);
	padding-block: clamp(30px, 3.6vw, 40px);
}

.sec-related__title {
	font-size: clamp(22px, 2.6vw, 26px);
	margin-bottom: 22px;
}

.sec-postnav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 1px;
	background: var(--sec-rule);
	border: 1px solid var(--sec-rule);
	margin-top: var(--sec-step);
}

.sec-postnav__link {
	background: var(--sec-card);
	padding: 18px 22px;
	display: block;
}

.sec-postnav__link--next {
	text-align: right;
}

.sec-postnav__dir {
	font: 500 10px/1.4 var(--sec-ui);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--sec-gold-text);
}

.sec-postnav__title {
	font: 600 17px/1.3 var(--sec-display);
	color: var(--sec-teal-text);
	margin-top: 6px;
}

/* ------------------------------------------------------------------ *
 * 13. Archive and index
 * ------------------------------------------------------------------ */

.sec-archive-head {
	padding-top: clamp(30px, 4vw, 48px);
}

.sec-archive-head__title {
	font-size: clamp(30px, 4.4vw, 44px);
	margin-top: 12px;
}

.sec-archive-head__intro {
	font: 400 16px/1.7 var(--sec-ui);
	color: var(--sec-ink-muted);
	max-width: 62ch;
	margin-top: 14px;
}

.sec-archive-head__divider {
	margin-top: 26px;
}

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

.sec-subnav a {
	display: inline-block;
	font: 500 11.5px/1 var(--sec-ui);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border: 1px solid var(--sec-rule);
	background: var(--sec-card);
	padding: 11px 15px;
	color: var(--sec-teal-text);
}

.sec-subnav a:hover,
.sec-subnav a:focus,
.sec-subnav .is-current a {
	border-color: var(--sec-gold);
	color: var(--sec-gold-text);
}

.sec-pagination {
	margin-top: var(--sec-band);
	padding-top: var(--sec-step);
	border-top: 1px solid var(--sec-rule);
}

.sec-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
	justify-content: center;
}

.sec-pagination :is(a, span).page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--sec-rule);
	font: 500 13px/1 var(--sec-ui);
	letter-spacing: 0.08em;
	color: var(--sec-teal-text);
	background: var(--sec-card);
}

.sec-pagination .page-numbers.current {
	background: var(--sec-teal);
	border-color: var(--sec-teal);
	color: var(--sec-on-teal);
}

.sec-pagination a.page-numbers:hover,
.sec-pagination a.page-numbers:focus {
	border-color: var(--sec-gold);
	color: var(--sec-gold-text);
}

.sec-pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
}

.sec-none {
	max-width: 620px;
	padding-block: var(--sec-band);
}

.sec-none__title {
	font-size: clamp(26px, 3.4vw, 34px);
}

.sec-none p {
	margin-top: 14px;
	font: 400 16px/1.7 var(--sec-ui);
	color: var(--sec-ink-muted);
}

.sec-none form {
	margin-top: 22px;
	display: flex;
	max-width: 440px;
}

/* 404 --------------------------------------------------------------- */

.sec-404 {
	text-align: center;
	padding-block: clamp(48px, 7vw, 90px);
}

.sec-404__code {
	font: 600 clamp(72px, 14vw, 140px)/0.9 var(--sec-display);
	color: var(--sec-gold-text);
}

.sec-404 .sec-none {
	margin-inline: auto;
	text-align: center;
	padding-block: 0;
}

.sec-404 .sec-none form {
	margin-inline: auto;
}

/* ------------------------------------------------------------------ *
 * 14. Comments
 * ------------------------------------------------------------------ */

.sec-comments {
	margin-top: var(--sec-band);
	padding-top: var(--sec-step);
	border-top: 1px solid var(--sec-rule);
}

.sec-comments__title {
	font-size: clamp(22px, 2.6vw, 26px);
	margin-bottom: var(--sec-step);
}

.sec-comments ol.comment-list,
.sec-comments ol.children {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sec-comments ol.children {
	margin-left: clamp(14px, 3vw, 34px);
	padding-left: 18px;
	border-left: 1px solid var(--sec-rule);
	margin-top: 18px;
}

.sec-comments .comment-body {
	padding: 18px 0;
	border-bottom: 1px solid var(--sec-rule);
}

.sec-comments .comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	font: 600 16px/1.3 var(--sec-display);
	color: var(--sec-teal-text);
}

.sec-comments .comment-author img {
	border-radius: 50%;
	flex: none;
}

.sec-comments .comment-metadata {
	font: 400 11px/1.4 var(--sec-ui);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--sec-ink-muted);
	margin-top: 6px;
}

.sec-comments .comment-content {
	font-family: var(--sec-display);
	font-size: 17px;
	line-height: 1.75;
	margin-top: 12px;
}

.sec-comments .comment-content > * + * {
	margin-top: 0.9em;
}

.sec-comments .reply {
	margin-top: 12px;
}

.sec-comments .comment-reply-link {
	font: 500 11px/1 var(--sec-ui);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	display: inline-block;
	padding: 8px 0;
}

.comment-respond {
	margin-top: var(--sec-step);
}

.comment-respond .comment-reply-title {
	font-size: 24px;
	margin-bottom: 8px;
}

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

.comment-form .form-submit {
	margin-top: 20px;
}

.comment-form input[type="submit"] {
	background: var(--sec-teal);
	color: var(--sec-on-teal);
	border: 0;
	font: 600 12.5px/1 var(--sec-ui);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 15px 28px;
	width: auto;
	cursor: pointer;
}

.comment-form input[type="submit"]:hover {
	background: var(--sec-teal-deep);
}

.comment-form .comment-form-cookies-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.comment-form .comment-form-cookies-consent input {
	width: auto;
	margin-top: 4px;
}

.comment-form .comment-form-cookies-consent label {
	text-transform: none;
	letter-spacing: 0;
	font-size: 13.5px;
	font-weight: 400;
	color: var(--sec-ink-muted);
	margin: 0;
}

.comment-notes,
.logged-in-as {
	font: 400 13px/1.6 var(--sec-ui);
	color: var(--sec-ink-muted);
}

/* ------------------------------------------------------------------ *
 * 15. Footer
 * ------------------------------------------------------------------ */

.sec-footer {
	background: var(--sec-teal);
	color: var(--sec-cream-text);
	padding-block: clamp(34px, 4.4vw, 44px) 28px;
	margin-top: auto;
}

.sec-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 34px 40px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--sec-rule-gold);
}

.sec-footer__brand {
	max-width: 320px;
}

.sec-footer__blurb {
	font: 400 13px/1.65 var(--sec-ui);
	color: var(--sec-cream-muted);
	margin-top: 12px;
}

.sec-footer__cols {
	display: flex;
	flex-wrap: wrap;
	gap: 28px clamp(30px, 5vw, 64px);
}

.sec-footer__col {
	min-width: 130px;
}

.sec-footer__heading {
	font: 500 10.5px/1.4 var(--sec-ui);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--sec-gold-on-dark);
	margin: 0 0 12px;
}

.sec-footer__col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sec-footer__col a {
	display: block;
	font: 400 13.5px/1.4 var(--sec-ui);
	color: var(--sec-cream-muted);
	padding: 6px 0;
}

.sec-footer__col a:hover,
.sec-footer__col a:focus {
	color: var(--sec-cream-text);
}

.sec-footer__widgets {
	padding-bottom: 26px;
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.sec-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 14px 24px;
	padding-top: 18px;
	font: 400 11.5px/1.5 var(--sec-ui);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--sec-cream-muted);
}

.sec-footer__bottom a {
	color: var(--sec-cream-muted);
}

.sec-footer__bottom a:hover,
.sec-footer__bottom a:focus {
	color: var(--sec-cream-text);
}

.sec-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sec-footer__legal a {
	display: inline-block;
	padding: 5px 0;
}

/* ------------------------------------------------------------------ *
 * 16. Page shell
 * ------------------------------------------------------------------ */

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

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

.sec-page {
	max-width: 760px;
	margin-inline: auto;
	padding-block: clamp(32px, 4.4vw, 52px) var(--sec-band);
}

.sec-page__title {
	font-size: clamp(31px, 4.6vw, 44px);
}

.sec-page__divider {
	margin: 24px 0 28px;
}

/* ------------------------------------------------------------------ *
 * 17. Block styles and editor parity
 * ------------------------------------------------------------------ */

.is-style-sec-arch {
	border: 1px solid var(--sec-rule-strong);
	border-radius: var(--sec-arch-r);
	padding: 8px;
	overflow: visible;
}

.is-style-sec-arch img {
	border-radius: var(--sec-arch-r);
	width: 100%;
}

.is-style-sec-arch figcaption {
	border-radius: 0;
	font: 400 12.5px/1.6 var(--sec-ui);
	color: var(--sec-ink-muted);
	text-align: center;
	padding-top: 10px;
}

.is-style-sec-frame {
	border: 1px solid var(--sec-rule-strong);
	padding: 26px 28px;
	position: relative;
	background: var(--sec-card);
}

.is-style-sec-frame::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1px solid rgba(var(--sec-gold-rgb), 0.4);
	pointer-events: none;
}

.is-style-sec-diamonds {
	border: 0;
	height: auto;
	background: none;
	text-align: center;
	margin: 2em auto;
	max-width: none;
}

.is-style-sec-diamonds::before {
	content: "";
	display: inline-block;
	width: 7px;
	height: 7px;
	background: var(--sec-gold);
	rotate: 45deg;
	margin-inline: 6px;
	box-shadow: 15px 0 0 var(--sec-gold), -15px 0 0 var(--sec-gold);
}

.wp-block-button__link {
	border-radius: 0;
}

.is-style-sec-gold .wp-block-button__link,
.wp-block-button.is-style-sec-gold .wp-block-button__link {
	background: var(--sec-gold);
	color: var(--sec-on-gold);
	font: 600 12.5px/1 var(--sec-ui);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	padding: 15px 28px;
}

.wp-block-table.is-style-sec-ledger table {
	border-collapse: collapse;
}

.wp-block-table.is-style-sec-ledger :is(th, td) {
	border: 0;
	border-bottom: 1px solid var(--sec-rule);
	padding: 11px 0;
}

.wp-block-table.is-style-sec-ledger th {
	background: none;
	font: 500 10.5px/1.4 var(--sec-ui);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--sec-gold-text);
}

.alignwide {
	max-width: min(1000px, 100%);
	margin-inline: auto;
}

.alignfull {
	max-width: none;
}

.wp-block-image.alignleft,
.alignleft {
	float: left;
	margin: 0.4em 1.4em 1em 0;
	max-width: 50%;
}

.wp-block-image.alignright,
.alignright {
	float: right;
	margin: 0.4em 0 1em 1.4em;
	max-width: 50%;
}

.aligncenter {
	margin-inline: auto;
}

.wp-block-image figcaption,
.wp-caption-text {
	font: 400 12.5px/1.6 var(--sec-ui);
	color: var(--sec-ink-muted);
	text-align: center;
	margin-top: 10px;
}

.wp-block-embed__wrapper {
	position: relative;
}

/* ------------------------------------------------------------------ *
 * 18. Responsive
 * ------------------------------------------------------------------ */

@media (max-width: 1080px) {
	.sec-grid--latest {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sec-grid--latest > li:first-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 1000px) {
	:root {
		--sec-rail: 220px;
	}
}

@media (max-width: 900px) {
	/* The rail folds under the article; contents moves into the details box. */
	.sec-entry-layout {
		grid-template-columns: minmax(0, 1fr);
		max-width: 700px;
	}

	.sec-rail__sticky {
		position: static;
	}

	.sec-toc-desktop {
		display: none;
	}

	.sec-toc-mobile {
		display: block;
	}

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

	.sec-hero__figures {
		max-width: 460px;
	}

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

@media (max-width: 1080px) {
	.sec-menu-toggle {
		display: inline-flex;
	}

	.sec-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--sec-cream);
		border-bottom: 1px solid var(--sec-rule);
		box-shadow: 0 12px 24px rgba(var(--sec-teal-rgb), 0.1);
		padding: 8px var(--sec-gutter) 20px;
		display: none;
		flex: none;
	}

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

	.sec-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.sec-nav li {
		border-bottom: 1px solid var(--sec-rule);
	}

	.sec-nav li:last-child {
		border-bottom: 0;
	}

	.sec-nav a {
		padding: 15px 2px;
	}

	.sec-nav ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		border: 0;
		background: none;
		padding: 0 0 8px 16px;
		min-width: 0;
	}

	.sec-nav ul ul a {
		padding: 11px 2px;
	}

	.sec-header__inner {
		gap: 12px;
	}

	.sec-header .sec-btn--header {
		display: none;
	}
}

@media (max-width: 720px) {
	.sec-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	.sec-row__media {
		max-width: 320px;
	}

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

	.sec-postnav__link--next {
		text-align: left;
	}
}

@media (max-width: 640px) {
	:root {
		--sec-body-size: 18px;
	}

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

	.sec-grid--latest > li:first-child {
		grid-column: auto;
	}

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

	.sec-hero__figures {
		gap: 12px;
	}

	.sec-news {
		align-items: stretch;
	}

	.sec-news__form {
		max-width: none;
	}

	.sec-news__form input[type="email"] {
		flex-basis: 100%;
	}

	.sec-news__form .sec-btn {
		width: 100%;
		margin-top: -1px;
	}

	.sec-inset::before {
		inset: 10px;
	}

	.sec-inset::after {
		inset: 15px;
	}

	.sec-entry-body :is(h2, h3) {
		flex-wrap: wrap;
	}

	.sec-entry-body h2::after {
		flex-basis: 100%;
	}
}

@media (max-width: 480px) {
	/*
	 * A column flex container sizes children to max-content across the inline
	 * axis unless told otherwise, which pushes long headings past the viewport.
	 */
	.sec-footer__top,
	.sec-footer__bottom,
	.sec-stats__inner,
	.sec-entry-foot {
		align-items: stretch;
	}

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

	.sec-cat .sec-arch__inner {
		aspect-ratio: 16 / 10;
		border-radius: 50% 50% 0 0 / 62% 62% 0 0;
	}

	.sec-btn {
		padding: 14px 20px;
		letter-spacing: 0.16em;
	}

	.sec-hero__figures > *:nth-child(2) {
		display: none;
	}

	.sec-entry-body .alignleft,
	.sec-entry-body .alignright {
		float: none;
		margin-inline: 0;
		max-width: 100%;
	}
}

/* ------------------------------------------------------------------ *
 * 19. Print
 * ------------------------------------------------------------------ */

@media print {
	.sec-header,
	.sec-footer,
	.sec-rail,
	.sec-related,
	.sec-news,
	.sec-goldbar,
	.sec-comments,
	.sec-postnav,
	.skip-link {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}

	.sec-entry-layout {
		display: block;
		max-width: none;
	}

	.sec-entry-body a::after {
		content: " (" attr(href) ")";
		font-size: 11px;
		word-break: break-all;
	}
}
