/*
Theme Name: Transport On The Go
Theme URI: https://transportonthegollc.com
Author: Misnomer Marketing
Author URI: https://misnomer.co
Description: Custom classic theme for Transport On The Go LLC. Refrigerated and dry freight trucking. Code-driven copy, one H1 per page, no page builder.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: totg
*/

/* ==========================================================================
   Fonts (self-hosted)
   ========================================================================== */

@font-face {
	font-family: 'Barlow Semi Condensed';
	src: url('assets/fonts/barlow-semicondensed-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Barlow Semi Condensed';
	src: url('assets/fonts/barlow-semicondensed-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Barlow';
	src: url('assets/fonts/barlow-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Barlow';
	src: url('assets/fonts/barlow-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Barlow';
	src: url('assets/fonts/barlow-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'IBM Plex Mono';
	src: url('assets/fonts/ibm-plex-mono-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
	/* Brand: the logo's red on near-black, with an icy neutral for cold chain. */
	--red: #AF1920;
	--red-deep: #8C1219;
	--ink: #12151A;
	--ink-2: #1C2027;
	--steel: #5E6773;
	--line: #E3E6EA;
	--ice: #F3F5F7;
	--white: #FFFFFF;

	--font: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-display: 'Barlow Semi Condensed', 'Barlow', system-ui, sans-serif;
	--font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', monospace;

	--wrap: 1180px;
	--radius: 10px;
	--shadow: 0 10px 30px rgba(18, 21, 26, 0.10);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--red);
}

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

h1,
h2,
h3,
h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.12;
	margin: 0 0 0.6em;
	letter-spacing: 0.005em;
	text-wrap: balance;
}

h1 {
	font-size: clamp(2.3rem, 5.2vw, 3.6rem);
	text-transform: uppercase;
}

h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.35rem);
}

h3 {
	font-size: 1.2rem;
}

p {
	margin: 0 0 1em;
}

ul {
	padding-left: 1.2em;
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 clamp(1rem, 4vw, 2rem);
}

.section {
	padding: clamp(3rem, 7vw, 5rem) 0;
}

.section--ice {
	background: var(--ice);
}

.section--dark {
	background: var(--ink);
	color: var(--white);
}

.section--dark h2 {
	color: var(--white);
}

.center {
	text-align: center;
}

.measure {
	max-width: 62ch;
}

.measure-wide {
	max-width: 820px;
	margin-left: auto;
	margin-right: auto;
}

.measure-center {
	max-width: 62ch;
	margin-left: auto;
	margin-right: auto;
}

.lede {
	font-size: 1.18rem;
	color: var(--steel);
	max-width: 62ch;
}

.section--dark .lede,
.hero-home .lede {
	color: rgba(255, 255, 255, 0.82);
}

.kicker {
	font-family: var(--font-mono);
	font-size: 0.78rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--red);
	margin: 0 0 0.9em;
}

.section--dark .kicker,
.hero-home .kicker {
	color: #FF6B71;
}

.rounded {
	border-radius: var(--radius);
}

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ink);
	color: var(--white);
	padding: 0.6rem 1rem;
	z-index: 100;
}

.skip-link:focus {
	left: 0;
	color: var(--white);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	padding: 0.8rem 1.6rem;
	border-radius: 6px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--sm {
	padding: 0.5rem 1.1rem;
	font-size: 0.9rem;
}

.btn--block {
	display: block;
	width: 100%;
}

.btn--primary {
	background: var(--red);
	color: var(--white);
}

.btn--primary:hover {
	background: var(--red-deep);
	color: var(--white);
}

.btn--dark {
	background: var(--ink);
	color: var(--white);
}

.btn--dark:hover {
	background: var(--ink-2);
	color: var(--white);
}

.btn--ghost {
	border-color: var(--ink);
	color: var(--ink);
	background: transparent;
}

.btn--ghost:hover {
	background: var(--ink);
	color: var(--white);
}

.btn--ghost-light {
	border-color: rgba(255, 255, 255, 0.65);
	color: var(--white);
	background: transparent;
}

.btn--ghost-light:hover {
	background: var(--white);
	color: var(--ink);
	border-color: var(--white);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0;
}

.btn-row--center {
	justify-content: center;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--white);
	border-bottom: 1px solid var(--line);
}

.header__utility {
	background: var(--ink);
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.85rem;
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	padding: 0.35rem 1rem;
}

.header__utility a {
	color: var(--white);
	text-decoration: none;
}

.header__utility a:hover {
	text-decoration: underline;
	color: var(--white);
}

.header__utility-contact {
	display: inline-flex;
	gap: 0.6rem;
}

.header__inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0.65rem clamp(1rem, 4vw, 2rem);
	display: flex;
	align-items: center;
	gap: 1.25rem;
}

.header__logo {
	flex-shrink: 0;
	display: flex;
	align-items: center;
}

.header__nav {
	margin-left: auto;
}

.nav__menu {
	list-style: none;
	display: flex;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
}

.nav__menu > li {
	position: relative;
	display: flex;
	align-items: center;
}

.nav__link {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.02rem;
	color: var(--ink);
	text-decoration: none;
	padding: 0.55rem 0.7rem;
	background: none;
	border: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
}

.nav__link:hover {
	color: var(--red);
}

.nav__toggle {
	background: none;
	border: 0;
	padding: 0.4rem 0.3rem;
	cursor: pointer;
	margin-left: -0.5rem;
}

.nav__caret {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	color: var(--steel);
}

.sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	box-shadow: var(--shadow);
	display: none;
	z-index: 60;
}

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

.sub-menu__link {
	display: block;
	padding: 0.5rem 1.1rem;
	color: var(--ink);
	text-decoration: none;
	font-size: 0.98rem;
}

.sub-menu__link:hover {
	background: var(--ice);
	color: var(--red);
}

.header__actions {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	flex-shrink: 0;
}

.header__signin {
	font-size: 0.92rem;
	color: var(--steel);
	text-decoration: none;
}

.header__signin:hover {
	color: var(--red);
}

.nav__burger {
	display: none;
	background: none;
	border: 0;
	padding: 0.4rem;
	cursor: pointer;
	flex-direction: column;
	gap: 4px;
}

.nav__burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ink);
}

@media (max-width: 1023px) {
	.header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		display: none;
		margin: 0;
		max-height: calc(100vh - 120px);
		overflow-y: auto;
	}

	.nav-open .header__nav {
		display: block;
	}

	.nav__menu {
		flex-direction: column;
		gap: 0;
		padding: 0.5rem clamp(1rem, 4vw, 2rem) 1rem;
	}

	.nav__menu > li {
		flex-wrap: wrap;
		border-bottom: 1px solid var(--line);
	}

	.nav__link {
		padding: 0.85rem 0;
		flex: 1;
		text-align: left;
	}

	.sub-menu {
		position: static;
		display: none;
		border: 0;
		box-shadow: none;
		width: 100%;
		padding: 0 0 0.75rem;
	}

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

	.nav__burger {
		display: flex;
	}

	.header__signin {
		display: none;
	}
}

/* ==========================================================================
   Heroes
   ========================================================================== */

.hero-home {
	background:
		linear-gradient(100deg, rgba(18, 21, 26, 0.96) 0%, rgba(18, 21, 26, 0.86) 45%, rgba(140, 18, 25, 0.72) 100%),
		var(--ink);
	color: var(--white);
	padding: clamp(3.5rem, 8vw, 6rem) 0;
	position: relative;
	overflow: hidden;
}

/* Speed lines echoing the logo mark. */
.hero-home::after {
	content: '';
	position: absolute;
	right: -60px;
	top: 48px;
	width: 260px;
	height: 42px;
	background:
		linear-gradient(var(--red) 0 0) 0 0 / 100% 6px,
		linear-gradient(var(--red) 0 0) 0 18px / 78% 6px,
		linear-gradient(var(--red) 0 0) 0 36px / 56% 6px;
	background-repeat: no-repeat;
	opacity: 0.55;
	transform: skewX(-28deg);
	pointer-events: none;
}

.hero-home__inner {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.hero-home h1 {
	color: var(--white);
}

.hero-home__media img {
	border-radius: var(--radius);
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
	object-fit: cover;
	width: 100%;
}

.hero-home__tags {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding: 0;
	margin: 1.75rem 0 0;
}

.hero-home__tags li {
	font-family: var(--font-mono);
	font-size: 0.74rem;
	letter-spacing: 0.08em;
	padding: 0.35rem 0.7rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 4px;
	color: rgba(255, 255, 255, 0.88);
	white-space: nowrap;
}

@media (max-width: 860px) {
	.hero-home__inner {
		grid-template-columns: 1fr;
	}
}

.hero-page {
	background: var(--ice);
	border-bottom: 1px solid var(--line);
	padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.hero-page--split {
	background:
		linear-gradient(100deg, var(--ice) 60%, #E9EDF0 100%);
}

.hero-page__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.hero-page .hero__media img {
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	object-fit: cover;
	width: 100%;
}

@media (max-width: 860px) {
	.hero-page__inner {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Cards
   ========================================================================== */

.cards {
	display: grid;
	gap: 1.25rem;
	margin-top: 2rem;
}

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

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

@media (max-width: 1000px) {
	.cards--4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 860px) {
	.cards--3 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.cards--4 {
		grid-template-columns: 1fr;
	}
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.5rem;
	text-decoration: none;
	color: var(--ink);
	transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
	overflow: hidden;
}

a.card:hover {
	box-shadow: var(--shadow);
	transform: translateY(-2px);
	border-color: var(--red);
	color: var(--ink);
}

.card--flat {
	background: var(--white);
}

.card__icon {
	color: var(--red);
	margin-bottom: 0.9rem;
}

.card__title {
	margin-bottom: 0.4em;
}

.card__text {
	color: var(--steel);
	font-size: 0.98rem;
	flex-grow: 1;
	margin-bottom: 0.75rem;
}

.card__media {
	margin: -1.5rem -1.5rem 1rem;
	display: block;
}

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

.card__more {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.92rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--red);
	text-decoration: none;
}

/* ==========================================================================
   Proof band
   ========================================================================== */

.proof-band__names {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: clamp(1rem, 4vw, 3rem);
	padding: 0;
	margin: 2rem 0 0.75rem;
}

.proof-band__names li {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.4rem, 3vw, 2rem);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.92);
}

.proof-band__note {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
}

/* ==========================================================================
   Steps
   ========================================================================== */

.steps {
	list-style: none;
	padding: 0;
	margin: 2rem 0 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	counter-reset: step;
}

.steps--vertical {
	grid-template-columns: 1fr;
	max-width: 820px;
}

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

.steps__item {
	border-top: 3px solid var(--red);
	padding-top: 1rem;
}

.steps__num {
	font-family: var(--font-mono);
	font-size: 0.85rem;
	color: var(--red);
	display: block;
	margin-bottom: 0.5rem;
}

.steps__item h2,
.steps__item h3 {
	font-size: 1.25rem;
}

.steps__item p {
	color: var(--steel);
	margin: 0;
}

/* ==========================================================================
   Split layouts, service rows, asides
   ========================================================================== */

.split {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
}

.split--form {
	align-items: start;
}

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

.svc-row {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	padding: 2rem 0;
	border-bottom: 1px solid var(--line);
	align-items: start;
}

.svc-row:last-of-type {
	border-bottom: 0;
}

.svc-row__copy h2 a {
	color: var(--ink);
	text-decoration: none;
}

.svc-row__copy h2 a:hover {
	color: var(--red);
}

.svc-row__points {
	list-style: none;
	padding: 0;
	margin: 0;
}

.svc-row__points li {
	padding: 0.45rem 0 0.45rem 1.6rem;
	position: relative;
	border-bottom: 1px solid var(--line);
	font-size: 0.98rem;
}

.svc-row__points li:last-child {
	border-bottom: 0;
}

.svc-row__points li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.95em;
	width: 9px;
	height: 9px;
	background: var(--red);
	transform: skewX(-12deg);
}

@media (max-width: 860px) {
	.svc-row {
		grid-template-columns: 1fr;
	}
}

.svc-body h2 {
	margin-top: 1.6em;
	font-size: 1.5rem;
}

.svc-body h2:first-child {
	margin-top: 0;
}

.svc-aside {
	background: var(--ice);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.75rem;
	align-self: start;
	position: sticky;
	top: 110px;
}

.svc-aside__h {
	font-size: 1.15rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.svc-aside .btn {
	margin-top: 1.25rem;
}

.svc-aside__note {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--line);
	font-size: 0.95rem;
}

/* ==========================================================================
   Job postings
   ========================================================================== */

.job {
	border: 1px solid var(--line);
	border-left: 4px solid var(--red);
	border-radius: var(--radius);
	padding: 1.75rem;
	margin-top: 1.5rem;
	background: var(--white);
}

.job__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.5rem 1.25rem;
	margin-bottom: 0.75rem;
}

.job__title {
	margin: 0;
	font-size: 1.45rem;
}

.job__meta {
	list-style: none;
	display: flex;
	gap: 0.5rem;
	padding: 0;
	margin: 0;
}

.job__meta li {
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.25rem 0.6rem;
	border: 1px solid var(--line);
	border-radius: 4px;
	color: var(--steel);
}

.job__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin: 1.25rem 0 1.5rem;
}

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

.job h4 {
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5em;
}

.form input[type='file'] {
	width: 100%;
	padding: 0.55rem 0.8rem;
	border: 1px dashed #C9CED4;
	border-radius: 6px;
	font: inherit;
	background: var(--ice);
}

/* ==========================================================================
   Contact tiles
   ========================================================================== */

.contact-tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.9rem;
}

.contact-tiles--stack {
	grid-template-columns: 1fr;
}

.contact-tile {
	display: block;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 0.9rem 1.1rem;
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-tile:hover {
	border-color: var(--red);
	box-shadow: var(--shadow);
}

.contact-tile__label {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--steel);
	margin-bottom: 0.15rem;
}

.contact-tile__value {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.05rem;
	color: var(--ink);
	word-break: break-word;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form label {
	display: block;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 0.3rem;
}

.form input[type='text'],
.form input[type='email'],
.form input[type='tel'],
.form select,
.form textarea {
	width: 100%;
	padding: 0.65rem 0.8rem;
	border: 1px solid #C9CED4;
	border-radius: 6px;
	font: inherit;
	color: var(--ink);
	background: var(--white);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
	outline: 2px solid var(--red);
	outline-offset: 1px;
	border-color: var(--red);
}

.form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 1.25rem;
}

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

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

.notice {
	border-radius: 8px;
	padding: 0.9rem 1.2rem;
	margin-bottom: 1.5rem;
	font-weight: 500;
}

.notice--ok {
	background: #E7F6EE;
	border: 1px solid #9BD8B6;
	color: #145A32;
}

.notice--warn {
	background: #FCEEEE;
	border: 1px solid #E8A7AA;
	color: var(--red-deep);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
	margin-top: 1rem;
}

.faq__item {
	border: 1px solid var(--line);
	border-radius: 8px;
	margin-bottom: 0.75rem;
	background: var(--white);
}

.faq__q {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.08rem;
	padding: 1rem 1.25rem;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 3rem;
}

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

.faq__q::after {
	content: '';
	position: absolute;
	right: 1.25rem;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--red);
	border-bottom: 2px solid var(--red);
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.15s ease;
}

.faq__item[open] .faq__q::after {
	transform: translateY(-30%) rotate(225deg);
}

.faq__a {
	padding: 0 1.25rem 1.1rem;
	margin: 0;
	color: var(--steel);
}

/* ==========================================================================
   Blog entry content
   ========================================================================== */

.entry img {
	border-radius: var(--radius);
}

.entry h2 {
	font-size: 1.5rem;
	margin-top: 1.6em;
}

.entry h3 {
	margin-top: 1.4em;
}

.entry a {
	color: var(--red);
}

.entry blockquote {
	border-left: 4px solid var(--red);
	margin: 1.5em 0;
	padding: 0.25em 0 0.25em 1.25em;
	color: var(--steel);
}

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}

.post-nav a {
	font-family: var(--font-display);
	font-weight: 600;
	text-decoration: none;
}

.pagination {
	margin-top: 2.5rem;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	gap: 0.5rem;
}

.pagination .page-numbers {
	display: inline-block;
	padding: 0.4rem 0.85rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	text-decoration: none;
	color: var(--ink);
}

.pagination .page-numbers.current {
	background: var(--red);
	border-color: var(--red);
	color: var(--white);
}

/* ==========================================================================
   CTA band + footer
   ========================================================================== */

.cta-band {
	background:
		linear-gradient(100deg, var(--ink) 55%, var(--red-deep) 130%),
		var(--ink);
}

.footer {
	background: var(--ink-2);
	color: rgba(255, 255, 255, 0.8);
	padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
	font-size: 0.95rem;
}

.footer a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
}

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

.footer h2 {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 0.9em;
}

.footer__logo {
	display: inline-block;
	margin-bottom: 2rem;
}

.footer__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

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

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

.footer li {
	margin-bottom: 0.5rem;
}

.footer__emails {
	margin-top: 0.75rem;
}

.socials {
	display: flex;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.socials__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.85);
}

.socials__link:hover {
	border-color: var(--red);
	color: var(--white);
	background: var(--red);
}

.footer__bottom {
	margin-top: 3rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	justify-content: space-between;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.55);
}

.footer__bottom a {
	color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Search form
   ========================================================================== */

.search-form {
	display: flex;
	gap: 0.5rem;
}

.search-field {
	padding: 0.5rem 0.8rem;
	border: 1px solid var(--line);
	border-radius: 6px;
	font: inherit;
}
