/*
Theme Name: Flightdeck
Theme URI: https://theaviationhub.co.uk/
Author: Built for The Aviation Hub
Author URI: https://theaviationhub.co.uk/
Description: A fast, editorial WordPress theme built for aviation news. Flightdeck borrows the colour grammar of a glass cockpit — red for emergencies, amber for cautions, cyan for analysis, green for normal operations — so a reader can tell what kind of story they are looking at before they read a word. Includes a live Squawk Bar for breaking incidents, category-coded cards, a long-form reading layout and a dark instrument-panel chrome.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flightdeck
Tags: news, blog, magazine, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   1. TOKENS
   ========================================================================== */

:root {
	/* Surfaces — a cold night-flight navy, never pure black */
	--fd-ink:        #0A1826;
	--fd-ink-2:      #10263B;
	--fd-slate:      #1C3A56;
	--fd-steel:      #5A7284;
	--fd-mist:       #A9B8C4;
	--fd-paper:      #F4F6F9;
	--fd-paper-2:    #E8ECF1;
	--fd-white:      #FFFFFF;

	/* Cockpit signal colours. These are not decoration — they carry meaning. */
	--fd-red:        #EC1E3C;   /* Squawk 7700 — emergency */
	--fd-red-deep:   #A50F26;   /* Accident */
	--fd-amber:      #F5A314;   /* Caution — incident */
	--fd-cyan:       #12B8CE;   /* Selected value — analysis */
	--fd-green:      #16BE74;   /* Normal operation — guides */
	--fd-magenta:    #D454C4;   /* Active flight plan — track motif only */

	--fd-accent:     var(--fd-cyan);

	/* Type */
	--fd-display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--fd-body:    "Source Serif 4", Georgia, "Times New Roman", serif;
	--fd-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

	--fd-step--2: clamp(0.69rem, 0.67rem + 0.10vw, 0.75rem);
	--fd-step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
	--fd-step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.12rem);
	--fd-step-1:  clamp(1.20rem, 1.13rem + 0.35vw, 1.42rem);
	--fd-step-2:  clamp(1.44rem, 1.32rem + 0.60vw, 1.80rem);
	--fd-step-3:  clamp(1.73rem, 1.53rem + 1.00vw, 2.28rem);
	--fd-step-4:  clamp(2.07rem, 1.76rem + 1.56vw, 2.89rem);
	--fd-step-5:  clamp(2.49rem, 2.01rem + 2.40vw, 3.66rem);
	--fd-step-6:  clamp(2.99rem, 2.26rem + 3.63vw, 4.64rem);

	/* Layout */
	--fd-wrap: 1280px;
	--fd-read: 42rem;
	--fd-gutter: clamp(1.15rem, 4vw, 2.75rem);
	--fd-gap: clamp(1.25rem, 2.2vw, 2rem);

	--fd-radius: 4px;
	--fd-radius-lg: 8px;

	--fd-shadow-sm: 0 1px 2px rgba(10, 24, 38, 0.06), 0 2px 8px rgba(10, 24, 38, 0.05);
	--fd-shadow-md: 0 4px 12px rgba(10, 24, 38, 0.08), 0 14px 34px rgba(10, 24, 38, 0.10);
	--fd-shadow-lg: 0 10px 24px rgba(10, 24, 38, 0.12), 0 30px 60px rgba(10, 24, 38, 0.16);

	--fd-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	--fd-header-h: 74px;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--fd-header-h) + 2rem);
}

body {
	margin: 0;
	background: var(--fd-paper);
	color: var(--fd-ink);
	font-family: var(--fd-body);
	font-size: var(--fd-step-0);
	line-height: 1.68;
	font-synthesis-weight: none;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.fd-nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--fd-display);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.022em;
	margin: 0 0 0.5em;
	text-wrap: balance;
}

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

:focus-visible {
	outline: 3px solid var(--fd-cyan);
	outline-offset: 3px;
	border-radius: 2px;
}

::selection { background: var(--fd-ink); color: var(--fd-white); }

.fd-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--fd-ink);
	color: var(--fd-white);
	padding: 0.9rem 1.4rem;
	font-family: var(--fd-mono);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.fd-skip:focus { left: 1rem; top: 1rem; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.screen-reader-text:focus {
	clip: auto; clip-path: none; height: auto; width: auto;
	position: static !important; padding: 0.8rem 1.2rem; background: var(--fd-ink); color: #fff;
}

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

/* ==========================================================================
   3. UTILITY TYPE — the mono "data block" voice
   ========================================================================== */

.fd-mono,
.fd-eyebrow,
.fd-chip,
.fd-meta,
.fd-kicker {
	font-family: var(--fd-mono);
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	font-size: var(--fd-step--2);
	font-variant-ligatures: none;
}

.fd-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--fd-steel);
}
.fd-eyebrow::before {
	content: "";
	width: 22px;
	height: 2px;
	background: var(--fd-accent);
	flex: none;
}

/* Category chip: colour = meaning */
.fd-chip {
	--chip: var(--fd-slate);
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 0.3rem 0.6rem 0.28rem;
	background: color-mix(in srgb, var(--chip) 12%, transparent);
	color: var(--chip);
	border-left: 3px solid var(--chip);
	border-radius: 0 2px 2px 0;
	text-decoration: none;
	line-height: 1;
	white-space: nowrap;
	transition: background 0.2s var(--fd-ease);
}
.fd-chip:hover { background: color-mix(in srgb, var(--chip) 22%, transparent); }
.fd-chip__dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: var(--chip); flex: none;
}
.fd-chip--alert .fd-chip__dot { animation: fd-pulse 1.8s var(--fd-ease) infinite; }

.fd-chip--onink {
	background: color-mix(in srgb, var(--chip) 20%, transparent);
	color: color-mix(in srgb, var(--chip) 78%, white);
}

@keyframes fd-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50%      { opacity: 0.35; transform: scale(0.8); }
}

.fd-meta {
	color: var(--fd-steel);
	letter-spacing: 0.06em;
	text-transform: none;
	font-size: var(--fd-step--2);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}
.fd-meta__sep { opacity: 0.4; }
.fd-meta a { text-decoration: none; }
.fd-meta a:hover { text-decoration: underline; }

/* ==========================================================================
   4. HEADER + NAVIGATION
   ========================================================================== */

.fd-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: var(--fd-ink);
	color: var(--fd-white);
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.fd-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 3vw, 2.5rem);
	min-height: var(--fd-header-h);
	transition: min-height 0.3s var(--fd-ease);
}
.fd-header.is-stuck .fd-header__inner { min-height: 60px; }

.fd-brand {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	text-decoration: none;
	color: inherit;
	flex: none;
	margin-right: auto;
}
.fd-brand img,
.fd-brand .custom-logo {
	height: 40px;
	width: auto;
	transition: height 0.3s var(--fd-ease);
}
.fd-header.is-stuck .fd-brand img { height: 32px; }

.fd-brand__text {
	font-family: var(--fd-display);
	font-weight: 900;
	font-size: 1.06rem;
	letter-spacing: -0.03em;
	line-height: 1;
	text-transform: uppercase;
}
.fd-brand__text small {
	display: block;
	font-family: var(--fd-mono);
	font-weight: 400;
	font-size: 0.56rem;
	letter-spacing: 0.24em;
	color: var(--fd-cyan);
	margin-top: 4px;
	text-transform: uppercase;
}

.fd-nav { display: none; }

@media (min-width: 1080px) {
	.fd-nav { display: block; }
	.fd-nav ul {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		align-items: center;
		gap: clamp(0.5rem, 1.4vw, 1.35rem);
	}
	.fd-nav li { position: relative; }
	.fd-nav a {
		display: block;
		font-family: var(--fd-display);
		font-weight: 600;
		font-size: 0.83rem;
		letter-spacing: 0.005em;
		text-decoration: none;
		color: rgba(255, 255, 255, 0.82);
		padding: 0.5rem 0;
		white-space: nowrap;
		position: relative;
	}
	.fd-nav a::after {
		content: "";
		position: absolute;
		left: 0; right: 0; bottom: -2px;
		height: 2px;
		background: var(--fd-cyan);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.28s var(--fd-ease);
	}
	.fd-nav a:hover,
	.fd-nav .current-menu-item > a,
	.fd-nav .current-menu-parent > a { color: #fff; }
	.fd-nav a:hover::after,
	.fd-nav .current-menu-item > a::after { transform: scaleX(1); }

	/* Dropdowns */
	.fd-nav ul ul {
		position: absolute;
		top: 100%;
		left: -0.9rem;
		display: block;
		min-width: 230px;
		background: var(--fd-ink-2);
		border: 1px solid rgba(255, 255, 255, 0.1);
		padding: 0.4rem;
		box-shadow: var(--fd-shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(6px);
		transition: opacity 0.2s var(--fd-ease), transform 0.2s var(--fd-ease), visibility 0.2s;
	}
	.fd-nav li:hover > ul,
	.fd-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
	.fd-nav ul ul li { width: 100%; }
	.fd-nav ul ul a { padding: 0.6rem 0.8rem; white-space: normal; }
	.fd-nav ul ul a::after { display: none; }
	.fd-nav ul ul a:hover { background: rgba(255, 255, 255, 0.07); }
}

.fd-header__tools {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	flex: none;
}

.fd-iconbtn {
	appearance: none;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.16);
	color: #fff;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: var(--fd-radius);
	cursor: pointer;
	transition: background 0.2s var(--fd-ease), border-color 0.2s var(--fd-ease);
}
.fd-iconbtn:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.35); }
.fd-iconbtn svg { width: 18px; height: 18px; }

@media (min-width: 1080px) {
	.fd-iconbtn--menu { display: none; }
}

/* Mobile drawer */
.fd-drawer {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: var(--fd-ink);
	color: #fff;
	padding: 1.1rem var(--fd-gutter) 3rem;
	overflow-y: auto;
	transform: translateY(-100%);
	visibility: hidden;
	transition: transform 0.42s var(--fd-ease), visibility 0.42s;
}
.fd-drawer.is-open { transform: translateY(0); visibility: visible; }

.fd-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--fd-header-h);
	margin-bottom: 1.5rem;
}
.fd-drawer ul { list-style: none; margin: 0; padding: 0; }
.fd-drawer > nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.fd-drawer a {
	display: block;
	font-family: var(--fd-display);
	font-weight: 700;
	font-size: 1.35rem;
	letter-spacing: -0.02em;
	text-decoration: none;
	padding: 0.85rem 0;
	color: #fff;
}
.fd-drawer ul ul a {
	font-size: 0.98rem;
	font-weight: 500;
	color: var(--fd-mist);
	padding: 0.4rem 0 0.4rem 1rem;
	border-left: 2px solid rgba(255, 255, 255, 0.14);
}
.fd-drawer ul ul { padding-bottom: 0.8rem; }

.fd-drawer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 2rem;
}

/* Search overlay */
.fd-searchbar {
	background: var(--fd-ink-2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: none;
}
.fd-searchbar.is-open { display: block; }
.fd-searchbar .fd-wrap { padding-block: 1.1rem; }

/* ==========================================================================
   5. SQUAWK BAR — the signature element
   An ATC-style data strip carrying live emergency / incident traffic.
   ========================================================================== */

.fd-squawk {
	background: var(--fd-ink-2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--fd-mist);
	position: relative;
	overflow: hidden;
	z-index: 190;
}

.fd-squawk__inner {
	display: flex;
	align-items: stretch;
	max-width: 100%;
}

.fd-squawk__label {
	flex: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--fd-red);
	color: #fff;
	padding: 0.55rem clamp(0.8rem, 3vw, 1.4rem);
	font-family: var(--fd-mono);
	font-weight: 600;
	font-size: 0.66rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	position: relative;
	z-index: 2;
}
.fd-squawk__label::after {
	content: "";
	position: absolute;
	right: -10px; top: 0; bottom: 0;
	width: 10px;
	background: linear-gradient(90deg, var(--fd-red), transparent);
}
.fd-squawk__beacon {
	width: 7px; height: 7px; border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	animation: fd-beacon 1.6s var(--fd-ease) infinite;
}
@keyframes fd-beacon {
	0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.75); opacity: 1; }
	70%  { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); opacity: 0.55; }
	100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); opacity: 1; }
}

.fd-squawk__track {
	flex: 1 1 auto;
	overflow: hidden;
	display: flex;
	align-items: center;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 60px), transparent);
	mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 60px), transparent);
}

.fd-squawk__rail {
	display: flex;
	align-items: center;
	gap: 2.6rem;
	white-space: nowrap;
	padding-left: 1.4rem;
	animation: fd-scroll 48s linear infinite;
	will-change: transform;
}
.fd-squawk:hover .fd-squawk__rail,
.fd-squawk:focus-within .fd-squawk__rail { animation-play-state: paused; }

@keyframes fd-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

.fd-squawk__item {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	font-family: var(--fd-mono);
	font-size: 0.73rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	color: var(--fd-mist);
	transition: color 0.2s var(--fd-ease);
}
.fd-squawk__item:hover { color: #fff; }
.fd-squawk__code {
	--chip: var(--fd-red);
	color: color-mix(in srgb, var(--chip) 72%, white);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	border-left: 2px solid var(--chip);
	padding-left: 0.5rem;
}
.fd-squawk__time { color: var(--fd-steel); }

/* ==========================================================================
   6. HERO / LEAD STORY
   ========================================================================== */

.fd-hero {
	background: var(--fd-ink);
	color: #fff;
	position: relative;
	overflow: hidden;
	padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5.5rem);
}

/* Great-circle track motif: a static dashed arc, like an FR24 route line */
.fd-hero__track {
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.5;
}
.fd-hero__track svg { width: 100%; height: 100%; display: block; }

.fd-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	gap: clamp(1.5rem, 4vw, 3rem);
}
@media (min-width: 900px) {
	.fd-hero__grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; }
}

.fd-hero__media {
	position: relative;
	border-radius: var(--fd-radius-lg);
	overflow: hidden;
	background: var(--fd-slate);
	aspect-ratio: 16 / 10;
	box-shadow: var(--fd-shadow-lg);
}
.fd-hero__media img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.8s var(--fd-ease);
}
.fd-hero__media:hover img { transform: scale(1.035); }

.fd-hero__title {
	font-size: var(--fd-step-5);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 0.98;
	margin: 0.7rem 0 0.9rem;
}
.fd-hero__title a { text-decoration: none; background-image: linear-gradient(var(--fd-cyan), var(--fd-cyan)); background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.35s var(--fd-ease); }
.fd-hero__title a:hover { background-size: 100% 2px; }

.fd-hero__standfirst {
	color: var(--fd-mist);
	font-size: var(--fd-step-1);
	line-height: 1.5;
	max-width: 34rem;
}

.fd-hero__meta { color: var(--fd-steel); margin-top: 1.1rem; }
.fd-hero__meta a { color: var(--fd-mist); }

/* ==========================================================================
   7. SECTIONS & CARDS
   ========================================================================== */

.fd-section { padding-block: clamp(2.5rem, 5.5vw, 4.25rem); }
.fd-section--tight { padding-block: clamp(1.75rem, 3.5vw, 2.75rem); }
.fd-section--ink { background: var(--fd-ink); color: #fff; }
.fd-section--band { background: var(--fd-paper-2); }

.fd-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: clamp(1.4rem, 3vw, 2.25rem);
	padding-bottom: 0.9rem;
	border-bottom: 1px solid var(--fd-paper-2);
}
.fd-section--ink .fd-section__head { border-bottom-color: rgba(255, 255, 255, 0.12); }
.fd-section__title {
	font-size: var(--fd-step-3);
	margin: 0.35rem 0 0;
	letter-spacing: -0.03em;
}
.fd-section__link {
	font-family: var(--fd-mono);
	font-size: var(--fd-step--2);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--fd-ink);
	border-bottom: 2px solid var(--fd-accent);
	padding-bottom: 3px;
	transition: color 0.2s var(--fd-ease), gap 0.2s var(--fd-ease);
	display: inline-flex;
	gap: 0.4rem;
	align-items: center;
}
.fd-section--ink .fd-section__link { color: #fff; }
.fd-section__link:hover { gap: 0.75rem; }

.fd-grid {
	display: grid;
	gap: var(--fd-gap);
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.fd-grid--2 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); }

/* Card */
.fd-card {
	--chip: var(--fd-slate);
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--fd-white);
	border: 1px solid var(--fd-paper-2);
	border-radius: var(--fd-radius);
	overflow: hidden;
	transition: transform 0.3s var(--fd-ease), box-shadow 0.3s var(--fd-ease), border-color 0.3s var(--fd-ease);
}
.fd-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: var(--chip);
	z-index: 3;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--fd-ease);
}
.fd-card:hover,
.fd-card:focus-within {
	transform: translateY(-3px);
	box-shadow: var(--fd-shadow-md);
	border-color: color-mix(in srgb, var(--chip) 40%, var(--fd-paper-2));
}
.fd-card:hover::before,
.fd-card:focus-within::before { transform: scaleX(1); }

.fd-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--fd-paper-2);
	display: block;
}
.fd-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--fd-ease); }
.fd-card:hover .fd-card__media img { transform: scale(1.05); }

.fd-card__media--empty {
	display: grid;
	place-items: center;
	background:
		repeating-linear-gradient(135deg, transparent 0 12px, rgba(28, 58, 86, 0.05) 12px 24px),
		var(--fd-paper-2);
}
.fd-card__media--empty span {
	font-family: var(--fd-mono);
	font-size: 0.62rem;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--fd-steel);
}

.fd-card__chip { position: absolute; left: 0; bottom: 0.75rem; z-index: 2; }
.fd-card__chip .fd-chip {
	background: var(--fd-white);
	box-shadow: var(--fd-shadow-sm);
	padding-block: 0.4rem;
}

.fd-card__body {
	padding: 1.15rem 1.25rem 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	flex: 1;
}
.fd-card__title {
	font-size: var(--fd-step-1);
	line-height: 1.14;
	margin: 0;
	letter-spacing: -0.024em;
}
.fd-card__title a { text-decoration: none; }
.fd-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.fd-card__excerpt {
	color: var(--fd-slate);
	font-size: var(--fd-step--1);
	line-height: 1.6;
	margin: 0;
}
.fd-card__foot { margin-top: auto; padding-top: 0.35rem; }

/* The whole card is clickable, but the chip and byline keep their own links. */
.fd-card__body .fd-chip,
.fd-card__foot a { position: relative; z-index: 2; }

/* Wide / featured variant */
.fd-card--wide { grid-column: 1 / -1; }
@media (min-width: 760px) {
	.fd-card--wide { flex-direction: row; }
	.fd-card--wide .fd-card__media { flex: 0 0 46%; aspect-ratio: auto; }
	.fd-card--wide .fd-card__body { padding: clamp(1.25rem, 2.6vw, 2.1rem); justify-content: center; }
	.fd-card--wide .fd-card__title { font-size: var(--fd-step-3); }
	.fd-card--wide .fd-card__excerpt { font-size: var(--fd-step-0); }
}

/* Compact list rows — used in sidebars and the "more" rail */
.fd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.2rem; }
.fd-list__item {
	--chip: var(--fd-slate);
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.9rem;
	align-items: start;
	padding: 0.95rem 0;
	border-bottom: 1px solid var(--fd-paper-2);
}
.fd-section--ink .fd-list__item { border-bottom-color: rgba(255, 255, 255, 0.1); }
.fd-list__item:last-child { border-bottom: 0; }
.fd-list__rule {
	width: 3px;
	align-self: stretch;
	background: var(--chip);
	border-radius: 2px;
}
.fd-list__title {
	font-family: var(--fd-display);
	font-weight: 700;
	font-size: var(--fd-step-0);
	line-height: 1.22;
	letter-spacing: -0.018em;
	margin: 0 0 0.35rem;
}
.fd-list__title a { text-decoration: none; }
.fd-list__title a:hover { color: var(--fd-cyan); }

/* ==========================================================================
   8. STATUS BOARD — the three-way hub tiles (incident / emergency / accident)
   ========================================================================== */

.fd-board { display: grid; gap: var(--fd-gap); }
@media (min-width: 800px) { .fd-board { grid-template-columns: repeat(3, 1fr); } }

.fd-board__tile {
	--chip: var(--fd-amber);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	padding: 1.6rem 1.5rem 1.7rem;
	background: rgba(255, 255, 255, 0.035);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 3px solid var(--chip);
	border-radius: 0 0 var(--fd-radius) var(--fd-radius);
	text-decoration: none;
	color: #fff;
	overflow: hidden;
	transition: background 0.3s var(--fd-ease), transform 0.3s var(--fd-ease);
}
.fd-board__tile:hover { background: rgba(255, 255, 255, 0.075); transform: translateY(-3px); }
.fd-board__tile::after {
	content: "";
	position: absolute;
	right: -40px; top: -40px;
	width: 130px; height: 130px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--chip) 45%, transparent), transparent 70%);
	opacity: 0.5;
	pointer-events: none;
}
.fd-board__code {
	font-family: var(--fd-mono);
	font-size: 0.68rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--chip) 70%, white);
}
.fd-board__name {
	font-family: var(--fd-display);
	font-weight: 800;
	font-size: var(--fd-step-2);
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0;
}
.fd-board__desc { color: var(--fd-mist); font-size: var(--fd-step--1); line-height: 1.55; margin: 0; }
.fd-board__count {
	margin-top: auto;
	font-family: var(--fd-mono);
	font-size: 0.68rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fd-steel);
	padding-top: 0.8rem;
}

/* ==========================================================================
   9. SINGLE POST
   ========================================================================== */

.fd-progress {
	position: fixed;
	top: 0; left: 0;
	height: 3px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: left;
	background: linear-gradient(90deg, var(--fd-cyan), var(--fd-magenta));
	z-index: 400;
	pointer-events: none;
}

.fd-post-hero {
	background: var(--fd-ink);
	color: #fff;
	padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(2rem, 4vw, 3rem);
	position: relative;
	overflow: hidden;
}
.fd-post-hero__inner { max-width: 54rem; position: relative; z-index: 2; }
.fd-post-hero__title {
	font-size: var(--fd-step-5);
	font-weight: 900;
	letter-spacing: -0.036em;
	line-height: 1.0;
	margin: 0.85rem 0 1rem;
}
.fd-post-hero__standfirst {
	font-size: var(--fd-step-1);
	color: var(--fd-mist);
	line-height: 1.5;
	max-width: 44rem;
	margin-bottom: 1.35rem;
}
.fd-post-hero__byline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7rem 1.1rem;
	padding-top: 1.15rem;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
	font-family: var(--fd-mono);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	color: var(--fd-mist);
}
.fd-post-hero__byline strong { color: #fff; font-weight: 600; }
.fd-post-hero__byline .fd-avatar { border-radius: 50%; }

.fd-featured {
	margin-top: calc(-1 * clamp(1.5rem, 3.5vw, 2.5rem));
	position: relative;
	z-index: 3;
}
.fd-featured figure {
	border-radius: var(--fd-radius-lg);
	overflow: hidden;
	box-shadow: var(--fd-shadow-lg);
	background: var(--fd-slate);
}
.fd-featured img { width: 100%; }
.fd-featured figcaption {
	font-family: var(--fd-mono);
	font-size: 0.7rem;
	letter-spacing: 0.04em;
	color: var(--fd-steel);
	padding: 0.7rem 0.2rem 0;
	background: transparent;
}

.fd-article {
	display: grid;
	gap: clamp(2rem, 5vw, 3.5rem);
	padding-block: clamp(2rem, 4.5vw, 3.25rem) clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 1000px) {
	.fd-article { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
}

.fd-entry {
	max-width: var(--fd-read);
	margin-inline: auto;
	font-size: clamp(1.06rem, 1.0rem + 0.3vw, 1.19rem);
	line-height: 1.72;
}
@media (min-width: 1000px) { .fd-entry { margin-inline: 0; } }

.fd-entry > * { margin-bottom: 1.35em; }
.fd-entry > *:last-child { margin-bottom: 0; }

.fd-entry h2 {
	font-size: var(--fd-step-3);
	margin-top: 2.2em;
	margin-bottom: 0.15em;
	letter-spacing: -0.03em;
	position: relative;
	padding-top: 1.1rem;
}
/* Section rules read as a dashed nav track rather than a plain hairline */
.fd-entry h2::before {
	content: "";
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 2px;
	background-image: linear-gradient(90deg, var(--fd-ink) 0 10px, transparent 10px 18px);
	background-size: 18px 2px;
	opacity: 0.35;
}
.fd-entry h3 { font-size: var(--fd-step-2); margin-top: 1.8em; margin-bottom: 0.2em; }
.fd-entry h4 { font-size: var(--fd-step-1); margin-top: 1.6em; margin-bottom: 0.2em; }

.fd-entry a {
	color: var(--fd-ink);
	text-decoration: underline;
	text-decoration-color: var(--fd-cyan);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
	transition: color 0.2s var(--fd-ease), background 0.2s var(--fd-ease);
}
.fd-entry a:hover { color: #06707E; background: rgba(18, 184, 206, 0.1); }

.fd-entry ul, .fd-entry ol { padding-left: 1.4em; }
.fd-entry li { margin-bottom: 0.55em; }
.fd-entry li::marker { color: var(--fd-cyan); font-weight: 700; }

.fd-entry blockquote {
	margin-inline: 0;
	padding: 0.2rem 0 0.2rem 1.6rem;
	border-left: 3px solid var(--fd-cyan);
	font-size: var(--fd-step-1);
	line-height: 1.45;
	font-style: normal;
	color: var(--fd-slate);
}
.fd-entry blockquote cite {
	display: block;
	margin-top: 0.7rem;
	font-family: var(--fd-mono);
	font-size: 0.72rem;
	font-style: normal;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fd-steel);
}

.fd-entry img { border-radius: var(--fd-radius); }
.fd-entry figure { margin-block: 1.8em; }
.fd-entry figcaption {
	font-family: var(--fd-mono);
	font-size: 0.72rem;
	line-height: 1.5;
	letter-spacing: 0.03em;
	color: var(--fd-steel);
	padding-top: 0.6rem;
	border-top: 1px solid var(--fd-paper-2);
	margin-top: 0.6rem;
}

.fd-entry hr {
	border: 0;
	height: 2px;
	background-image: linear-gradient(90deg, var(--fd-steel) 0 10px, transparent 10px 18px);
	background-size: 18px 2px;
	opacity: 0.5;
	margin-block: 2.4em;
}

.fd-entry table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--fd-mono);
	font-size: 0.83rem;
}
.fd-entry th, .fd-entry td { padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--fd-paper-2); text-align: left; }
.fd-entry thead th {
	background: var(--fd-ink);
	color: #fff;
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-weight: 600;
}
.fd-entry tbody tr:nth-child(even) { background: var(--fd-paper); }

.fd-entry code, .fd-entry kbd {
	font-family: var(--fd-mono);
	font-size: 0.86em;
	background: var(--fd-paper-2);
	padding: 0.12em 0.35em;
	border-radius: 3px;
}
.fd-entry pre {
	background: var(--fd-ink);
	color: #E4ECF2;
	padding: 1.2rem;
	border-radius: var(--fd-radius);
	overflow-x: auto;
	font-size: 0.85rem;
}
.fd-entry pre code { background: none; padding: 0; color: inherit; }

/* Flight-data callout — for registrations, MSNs, engines, routes */
.fd-databox {
	background: var(--fd-white);
	border: 1px solid var(--fd-paper-2);
	border-left: 3px solid var(--fd-cyan);
	border-radius: 0 var(--fd-radius) var(--fd-radius) 0;
	padding: 1.2rem 1.35rem;
	font-family: var(--fd-mono);
	font-size: 0.8rem;
	line-height: 1.75;
}
.fd-databox dt { color: var(--fd-steel); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; }
.fd-databox dd { margin: 0 0 0.7rem; font-weight: 500; }

/* Tags + share */
.fd-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 2.5rem; }
.fd-tag {
	font-family: var(--fd-mono);
	font-size: 0.68rem;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0.4rem 0.7rem;
	border: 1px solid var(--fd-paper-2);
	border-radius: 100px;
	color: var(--fd-slate);
	background: var(--fd-white);
	transition: border-color 0.2s var(--fd-ease), color 0.2s var(--fd-ease);
}
.fd-tag:hover { border-color: var(--fd-cyan); color: var(--fd-ink); }

.fd-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--fd-paper-2);
}
.fd-share__label { color: var(--fd-steel); margin-right: 0.3rem; }
.fd-share a {
	width: 38px; height: 38px;
	display: grid; place-items: center;
	border: 1px solid var(--fd-paper-2);
	border-radius: var(--fd-radius);
	background: var(--fd-white);
	color: var(--fd-slate);
	transition: background 0.2s var(--fd-ease), color 0.2s var(--fd-ease), border-color 0.2s var(--fd-ease);
}
.fd-share a:hover { background: var(--fd-ink); color: #fff; border-color: var(--fd-ink); }
.fd-share svg { width: 16px; height: 16px; fill: currentColor; }

/* Author box */
.fd-author {
	display: flex;
	gap: 1.1rem;
	align-items: flex-start;
	margin-top: 2.5rem;
	padding: 1.4rem;
	background: var(--fd-white);
	border: 1px solid var(--fd-paper-2);
	border-radius: var(--fd-radius);
}
.fd-author img { border-radius: 50%; flex: none; }
.fd-author__name { font-family: var(--fd-display); font-weight: 800; font-size: var(--fd-step-1); margin: 0 0 0.15rem; letter-spacing: -0.02em; }
.fd-author__role { font-family: var(--fd-mono); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fd-cyan); margin-bottom: 0.6rem; }
.fd-author__bio { font-size: var(--fd-step--1); color: var(--fd-slate); margin: 0; line-height: 1.6; }

/* Prev / next */
.fd-adjacent { display: grid; gap: 1px; background: var(--fd-paper-2); border: 1px solid var(--fd-paper-2); border-radius: var(--fd-radius); overflow: hidden; margin-top: 2.5rem; }
@media (min-width: 700px) { .fd-adjacent { grid-template-columns: 1fr 1fr; } }
.fd-adjacent a {
	background: var(--fd-white);
	padding: 1.25rem 1.4rem;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	transition: background 0.2s var(--fd-ease);
}
.fd-adjacent a:hover { background: var(--fd-paper); }
.fd-adjacent .fd-adjacent__dir { font-family: var(--fd-mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fd-steel); }
.fd-adjacent .fd-adjacent__title { font-family: var(--fd-display); font-weight: 700; font-size: var(--fd-step-0); line-height: 1.2; letter-spacing: -0.018em; }
.fd-adjacent a.is-next { text-align: right; align-items: flex-end; }

/* ==========================================================================
   10. SIDEBAR
   ========================================================================== */

.fd-sidebar { display: grid; gap: 1.75rem; align-content: start; position: sticky; top: calc(var(--fd-header-h) + 1.25rem); }
@media (max-width: 999px) { .fd-sidebar { position: static; } }

.fd-widget {
	background: var(--fd-white);
	border: 1px solid var(--fd-paper-2);
	border-radius: var(--fd-radius);
	padding: 1.3rem 1.35rem;
}
.fd-widget__title,
.fd-widget .widget-title,
.fd-widget .wp-block-heading {
	font-family: var(--fd-mono);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fd-steel);
	margin: 0 0 1rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid var(--fd-paper-2);
}
.fd-widget ul { list-style: none; margin: 0; padding: 0; }
.fd-widget ul li { padding: 0.5rem 0; border-bottom: 1px solid var(--fd-paper); font-size: var(--fd-step--1); }
.fd-widget ul li:last-child { border-bottom: 0; }
.fd-widget a { text-decoration: none; }
.fd-widget a:hover { color: var(--fd-cyan); }

/* Newsletter panel */
.fd-cta {
	background: var(--fd-ink);
	color: #fff;
	border-radius: var(--fd-radius);
	padding: 1.6rem 1.45rem;
	position: relative;
	overflow: hidden;
}
.fd-cta::after {
	content: "";
	position: absolute;
	inset: auto -30% -60% -30%;
	height: 160px;
	background: radial-gradient(ellipse at center, rgba(18, 184, 206, 0.35), transparent 70%);
	pointer-events: none;
}
.fd-cta__title { font-size: var(--fd-step-2); margin: 0.5rem 0 0.5rem; letter-spacing: -0.03em; }
.fd-cta p { color: var(--fd-mist); font-size: var(--fd-step--1); position: relative; z-index: 2; }

.fd-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--fd-display);
	font-weight: 700;
	font-size: 0.88rem;
	letter-spacing: -0.005em;
	text-decoration: none;
	padding: 0.75rem 1.25rem;
	border-radius: var(--fd-radius);
	background: var(--fd-cyan);
	color: var(--fd-ink);
	border: 0;
	cursor: pointer;
	position: relative;
	z-index: 2;
	transition: transform 0.2s var(--fd-ease), background 0.2s var(--fd-ease);
}
.fd-btn:hover { background: #37D6EB; transform: translateY(-1px); }
.fd-btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.fd-btn--ghost:hover { background: rgba(255, 255, 255, 0.1); }
.fd-btn--ink { background: var(--fd-ink); color: #fff; }
.fd-btn--ink:hover { background: var(--fd-slate); }

/* ==========================================================================
   11. SEARCH FORM
   ========================================================================== */

.fd-search { display: flex; gap: 0.5rem; }
.fd-search input[type="search"],
.fd-search input[type="text"] {
	flex: 1;
	min-width: 0;
	padding: 0.8rem 1rem;
	border: 1px solid var(--fd-paper-2);
	border-radius: var(--fd-radius);
	background: var(--fd-white);
	font-family: var(--fd-mono);
	font-size: 0.85rem;
	color: var(--fd-ink);
}
.fd-search input::placeholder { color: var(--fd-steel); }
.fd-searchbar .fd-search input {
	background: rgba(255, 255, 255, 0.07);
	border-color: rgba(255, 255, 255, 0.18);
	color: #fff;
}
.fd-searchbar .fd-search input::placeholder { color: var(--fd-steel); }

/* ==========================================================================
   12. PAGINATION
   ========================================================================== */

.fd-pagination { margin-top: clamp(2rem, 4vw, 3rem); }
.fd-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; align-items: center; }
.fd-pagination .page-numbers {
	min-width: 42px;
	height: 42px;
	padding: 0 0.8rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--fd-mono);
	font-size: 0.8rem;
	text-decoration: none;
	background: var(--fd-white);
	border: 1px solid var(--fd-paper-2);
	border-radius: var(--fd-radius);
	transition: background 0.2s var(--fd-ease), color 0.2s var(--fd-ease), border-color 0.2s var(--fd-ease);
}
.fd-pagination .page-numbers:hover { border-color: var(--fd-cyan); }
.fd-pagination .page-numbers.current { background: var(--fd-ink); color: #fff; border-color: var(--fd-ink); }
.fd-pagination .page-numbers.dots { background: none; border-color: transparent; }

/* ==========================================================================
   13. PAGE / ARCHIVE HEADERS
   ========================================================================== */

.fd-pagehead {
	background: var(--fd-ink);
	color: #fff;
	padding-block: clamp(2.25rem, 5vw, 3.75rem);
	position: relative;
	overflow: hidden;
	--chip: var(--fd-cyan);
}
.fd-pagehead::before {
	content: "";
	position: absolute;
	left: 0; top: 0; bottom: 0;
	width: 4px;
	background: var(--chip);
}
.fd-pagehead__title { font-size: var(--fd-step-4); margin: 0.6rem 0 0.5rem; letter-spacing: -0.035em; }
.fd-pagehead__desc { color: var(--fd-mist); max-width: 44rem; font-size: var(--fd-step-0); }
.fd-pagehead__count { font-family: var(--fd-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fd-steel); margin-top: 1rem; }

.fd-page-body { padding-block: clamp(2rem, 4.5vw, 3.5rem); }
.fd-page-body .fd-entry { background: transparent; }

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.fd-footer {
	background: var(--fd-ink);
	color: var(--fd-mist);
	padding-block: clamp(2.75rem, 6vw, 4.25rem) 0;
	position: relative;
	overflow: hidden;
}
.fd-footer::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--fd-red), var(--fd-amber) 30%, var(--fd-green) 60%, var(--fd-cyan) 85%, var(--fd-magenta));
}

.fd-footer__grid { display: grid; gap: clamp(1.75rem, 4vw, 3rem); }
@media (min-width: 780px) { .fd-footer__grid { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1100px) { .fd-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.fd-footer h2, .fd-footer h3 { color: #fff; }
.fd-footer__heading {
	font-family: var(--fd-mono);
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--fd-steel);
	margin: 0 0 1.1rem;
}
.fd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.fd-footer a { text-decoration: none; color: var(--fd-mist); transition: color 0.2s var(--fd-ease); font-size: var(--fd-step--1); }
.fd-footer a:hover { color: #fff; }
.fd-footer__blurb { font-size: var(--fd-step--1); line-height: 1.65; max-width: 30rem; }
.fd-footer__brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; color: #fff; text-decoration: none; }
.fd-footer__brand img { height: 44px; width: auto; }

.fd-social { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }
.fd-social a {
	width: 38px; height: 38px;
	display: grid; place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: var(--fd-radius);
	color: #fff;
	transition: background 0.2s var(--fd-ease), border-color 0.2s var(--fd-ease), transform 0.2s var(--fd-ease);
}
.fd-social a:hover { background: rgba(255, 255, 255, 0.12); border-color: var(--fd-cyan); transform: translateY(-2px); }
.fd-social svg { width: 17px; height: 17px; fill: currentColor; }

.fd-colophon {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-block: 1.4rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.4rem;
	align-items: center;
	justify-content: space-between;
	font-family: var(--fd-mono);
	font-size: 0.68rem;
	letter-spacing: 0.06em;
	color: var(--fd-steel);
}
.fd-colophon ul { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.fd-colophon a { font-size: inherit; font-family: inherit; }

/* ==========================================================================
   15. COMMENTS
   ========================================================================== */

.fd-comments { max-width: var(--fd-read); margin-top: 3rem; }
.fd-comments__title { font-size: var(--fd-step-2); margin-bottom: 1.25rem; }
.fd-comments ol.comment-list { list-style: none; margin: 0; padding: 0; }
.fd-comments .comment-list ol.children { list-style: none; padding-left: 1.4rem; border-left: 2px solid var(--fd-paper-2); }
.fd-comments article.comment-body { padding: 1.1rem 0; border-bottom: 1px solid var(--fd-paper-2); }
.fd-comments .comment-author { display: flex; align-items: center; gap: 0.6rem; font-family: var(--fd-display); font-weight: 700; }
.fd-comments .comment-author img { border-radius: 50%; }
.fd-comments .comment-metadata { font-family: var(--fd-mono); font-size: 0.68rem; color: var(--fd-steel); margin-bottom: 0.6rem; }
.fd-comments .comment-metadata a { text-decoration: none; }
.comment-form { display: grid; gap: 0.9rem; }
.comment-form label { font-family: var(--fd-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fd-steel); display: block; margin-bottom: 0.35rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--fd-paper-2);
	border-radius: var(--fd-radius);
	background: var(--fd-white);
	font-family: var(--fd-mono);
	font-size: 0.85rem;
}
.comment-form .submit {
	font-family: var(--fd-display);
	font-weight: 700;
	background: var(--fd-ink);
	color: #fff;
	border: 0;
	padding: 0.8rem 1.4rem;
	border-radius: var(--fd-radius);
	cursor: pointer;
	justify-self: start;
}

/* ==========================================================================
   16. 404 / EMPTY STATES
   ========================================================================== */

.fd-empty {
	text-align: center;
	padding-block: clamp(3rem, 8vw, 6rem);
	max-width: 40rem;
	margin-inline: auto;
}
.fd-empty__code {
	font-family: var(--fd-mono);
	font-size: clamp(3rem, 12vw, 6rem);
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--fd-amber);
	line-height: 1;
	margin-bottom: 0.4rem;
}
.fd-empty__title { font-size: var(--fd-step-3); margin-bottom: 0.7rem; }
.fd-empty p { color: var(--fd-slate); margin-bottom: 1.75rem; }

/* ==========================================================================
   17. WORDPRESS CORE CLASSES
   ========================================================================== */

.alignleft { float: left; margin: 0.4rem 1.6rem 1.2rem 0; }
.alignright { float: right; margin: 0.4rem 0 1.2rem 1.6rem; }
.aligncenter { margin-inline: auto; }
.alignwide { width: min(100vw - 2 * var(--fd-gutter), 1100px); max-width: none; margin-inline: auto; }
.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-block-image figcaption {
	font-family: var(--fd-mono);
	font-size: 0.72rem;
	color: var(--fd-steel);
}
.sticky .fd-card::before { transform: scaleX(1); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; }
.gallery-item { margin: 0; }
.bypostauthor { }

.wp-block-embed__wrapper { position: relative; }
.wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper iframe {
	position: absolute; inset: 0; width: 100%; height: 100%;
}

/* ==========================================================================
   18. MOTION PREFERENCES
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.fd-squawk__rail { animation: none; }
	.fd-squawk__track { overflow-x: auto; }
	.fd-hero__media:hover img,
	.fd-card:hover .fd-card__media img { transform: none; }
}

/* ==========================================================================
   19. PRINT
   ========================================================================== */

@media print {
	.fd-header, .fd-squawk, .fd-footer, .fd-sidebar, .fd-share, .fd-adjacent, .fd-progress, .fd-drawer { display: none !important; }
	body { background: #fff; font-size: 11pt; }
	.fd-post-hero { background: #fff; color: #000; padding-block: 0 1rem; }
	.fd-post-hero__title, .fd-post-hero__standfirst { color: #000; }
	.fd-entry { max-width: none; }
	.fd-entry a { text-decoration: none; }
	.fd-entry a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
