/*
 * The Rural Channel — front-end styles.
 * Mobile-first. Breakpoints: 37.5em (600px), 56.25em (900px), 75em (1200px).
 * Contrast notes: lime is never used for text on light backgrounds (1.5:1).
 */

/* Tokens ------------------------------------------------------------------ */
:root {
	--trc-lime: #c1d72e;      /* logo green: accents, buttons with ink text */
	--trc-olive: #4b5710;     /* links/headings on light: 7.4:1 on paper */
	--trc-night: #1d2310;     /* header, footer, hero */
	--trc-ink: #1f2421;       /* body text */
	--trc-muted: #575d55;     /* secondary text: 6.3:1 on paper */
	--trc-paper: #faf7f0;     /* page background */
	--trc-tile: #efece3;      /* logo backing, soft panels */
	--trc-line: #d9d4c7;      /* borders */
	--trc-white: #fff;
	--trc-on-dark: #eef0e2;   /* text on night */

	--font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--measure: 42rem;
	--wide: 75rem;
	--gutter: 1rem;
	--radius: 12px;
	--space: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
}

@media (min-width: 37.5em) {
	:root { --gutter: 1.5rem; }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--trc-paper);
	color: var(--trc-ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
}

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

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--trc-night);
	line-height: 1.2;
	text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.6rem + 1.8vw, 3rem); }
h2 { font-size: clamp(1.5rem, 1.3rem + .9vw, 2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a { color: var(--trc-olive); text-underline-offset: .15em; }
a:hover { color: var(--trc-night); }

:focus-visible {
	outline: 3px solid var(--trc-olive);
	outline-offset: 3px;
	border-radius: 2px;
}
.site-header :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible,
.page-banner :focus-visible,
.link-card :focus-visible {
	outline-color: var(--trc-lime);
}

[hidden] { display: none !important; }

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

.skip-link {
	position: absolute;
	top: .5rem; left: .5rem;
	z-index: 100;
	padding: .75rem 1rem;
	background: var(--trc-lime);
	color: var(--trc-ink);
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.site-main:focus { outline: none; }

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

.section { padding-block: var(--space); }
.section--tile { background: var(--trc-tile); }
.section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: .5rem 1.5rem;
	margin-bottom: 1.5rem;
}
.section__head .section__title { margin: 0; }
.section__more { font-weight: 600; }

.empty-state { color: var(--trc-muted); }

/* Buttons ----------------------------------------------------------------- */
.button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .4em;
	min-height: 44px;
	padding: .65rem 1.25rem;
	border: 2px solid transparent;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.button--primary,
.wp-block-button__link {
	background: var(--trc-lime);
	color: var(--trc-ink);
}
.button--primary:hover,
.wp-block-button__link:hover {
	background: var(--trc-night);
	color: var(--trc-lime);
}
.button--secondary {
	background: var(--trc-olive);
	color: var(--trc-white);
}
.button--secondary:hover {
	background: var(--trc-night);
	color: var(--trc-white);
}
.button--ghost {
	border-color: currentColor;
	color: var(--trc-white);
}
.button--ghost:hover {
	background: var(--trc-white);
	border-color: var(--trc-white);
	color: var(--trc-night);
}

/* Header ------------------------------------------------------------------ */
.site-header {
	position: relative;
	z-index: 10;
	background: var(--trc-night);
	color: var(--trc-on-dark);
}
.site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .75rem 1.5rem;
	min-height: 4.5rem;
	padding-block: .75rem;
}
.site-brand { flex: 0 1 auto; }
.site-brand .custom-logo-link { display: block; }
.site-brand .custom-logo {
	width: auto;
	max-height: 3rem;
}
@media (min-width: 56.25em) {
	.site-brand .custom-logo { max-height: 3.5rem; }
}
.site-name {
	color: var(--trc-lime);
	font-size: 1.375rem;
	font-weight: 800;
	text-decoration: none;
}
.site-name:hover { color: var(--trc-white); }

.nav-toggle {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 44px;
	padding: .5rem .9rem;
	border: 2px solid var(--trc-lime);
	border-radius: 999px;
	background: transparent;
	color: var(--trc-white);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.nav-toggle[aria-expanded="true"] {
	background: var(--trc-lime);
	color: var(--trc-ink);
}

.site-nav { flex-basis: 100%; }
.js .site-nav { display: none; }
.js .nav-open .site-nav { display: block; }

.site-nav__list {
	margin: 0;
	padding: 0 0 .5rem;
	list-style: none;
}
.site-nav__list a {
	display: block;
	padding: .75rem .25rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: var(--trc-white);
	font-weight: 600;
	text-decoration: none;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .is-section > a {
	color: var(--trc-lime);
}

@media (min-width: 56.25em) {
	.nav-toggle { display: none; }
	.site-nav,
	.js .site-nav { display: block; flex-basis: auto; }
	.site-nav__list {
		display: flex;
		gap: .25rem 1.75rem;
		padding: 0;
	}
	.site-nav__list a {
		padding: .5rem 0;
		border-top: 0;
		border-bottom: 3px solid transparent;
	}
	.site-nav__list a:hover { color: var(--trc-white); border-bottom-color: var(--trc-lime); }
	.site-nav__list .current-menu-item > a,
	.site-nav__list .is-section > a {
		color: var(--trc-white);
		border-bottom-color: var(--trc-lime);
	}
}

/* Hero -------------------------------------------------------------------- */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--trc-night);
	color: var(--trc-white);
}
.hero__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Same rule as the page banner: never under .7 behind text. */
	background: linear-gradient(180deg, rgba(29, 35, 16, .2) 0, rgba(29, 35, 16, .72) 6.5rem, rgba(29, 35, 16, .86) 100%);
}
.hero--image .hero__content { padding-top: max(7rem, clamp(3.5rem, 2rem + 8vw, 8rem)); }
@media (min-width: 56.25em) {
	.hero--image::before {
		background: linear-gradient(90deg, rgba(29, 35, 16, .88) 0, rgba(29, 35, 16, .7) max(44rem, 50% + 7rem), rgba(29, 35, 16, .12) 100%);
	}
}
.hero__content {
	padding-block: clamp(3.5rem, 2rem + 8vw, 8rem);
}
.hero__title {
	max-width: 18ch;
	color: var(--trc-white);
	font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem);
}
.hero__title::after {
	content: "";
	display: block;
	width: 4rem;
	height: 5px;
	margin-top: 1.25rem;
	border-radius: 3px;
	background: var(--trc-lime);
}
.hero__text {
	max-width: 38rem;
	font-size: clamp(1.0625rem, 1rem + .4vw, 1.3rem);
	color: var(--trc-on-dark);
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin-top: 1.75rem;
}

/* Page banner ------------------------------------------------------------- */
/* Title over a darkened photo, or plain dark green with faint field rows.
   Text sits on the left, where the overlay is darkest: white stays above 5:1
   even over a white patch of photo. */
.page-banner {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-top: 1px solid rgba(255, 255, 255, .08);
	background: linear-gradient(100deg, var(--trc-night) 45%, #2a3314 100%);
	color: var(--trc-on-dark);
}
.page-banner:not(.page-banner--image)::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: repeating-linear-gradient(-62deg, rgba(193, 215, 46, .1) 0 2px, transparent 2px 22px);
	-webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 90%);
	mask-image: linear-gradient(90deg, transparent 35%, #000 90%);
}
.page-banner__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.page-banner--top .page-banner__image { object-position: center top; }
.page-banner--bottom .page-banner__image { object-position: center bottom; }
/* Overlay never drops below .68 behind text (white on a white pixel = 5.3:1).
   Phones: a lighter strip of photo above the title. Wider: dark on the left
   up to where the text column ends, then the photo shows through. */
.page-banner--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(29, 35, 16, .2) 0, rgba(29, 35, 16, .72) 6.5rem, rgba(29, 35, 16, .86) 100%);
}
@media (min-width: 56.25em) {
	.page-banner--image::before {
		background: linear-gradient(90deg, rgba(29, 35, 16, .88) 0, rgba(29, 35, 16, .7) max(44rem, 50% + 7rem), rgba(29, 35, 16, .12) 100%);
	}
}
.page-banner__content {
	padding-block: clamp(2.5rem, 1.75rem + 3.5vw, 4.5rem);
}
.page-banner--image .page-banner__content {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: clamp(18rem, 11rem + 14vw, 24rem);
	padding-top: 7rem;
}
.page-banner .page-title {
	max-width: 20ch;
	margin-bottom: 0;
	color: var(--trc-white);
	font-size: clamp(2.25rem, 1.75rem + 2.4vw, 3.5rem);
}
.page-banner .page-title::after {
	content: "";
	display: block;
	width: 4rem;
	height: 5px;
	margin-top: 1rem;
	border-radius: 3px;
	background: var(--trc-lime);
}
.page-banner__intro {
	max-width: 40rem;
	margin-top: 1.25rem;
	font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
}
.page-banner__intro > :last-child { margin-bottom: 0; }
.page-banner__intro a { color: var(--trc-lime); }
.page-banner__intro a:hover { color: var(--trc-white); }

/* Card grids -------------------------------------------------------------- */
.card-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (min-width: 37.5em) {
	.card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 56.25em) {
	.card-grid--3,
	.card-grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 75em) {
	.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card-logo {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	padding: 1rem;
	background: var(--trc-tile);
}
/* Absolutely placed so tall or square logos can't stretch the 16:9 tile. */
.card-logo img {
	position: absolute;
	inset: 1rem;
	width: calc(100% - 2rem);
	height: calc(100% - 2rem);
	object-fit: contain;
}
.card-logo__fallback {
	color: var(--trc-olive);
	font-size: 1.25rem;
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
}
.card-logo--dark { background: var(--trc-night); }
.card-logo--dark .card-logo__fallback { color: var(--trc-lime); }

.show-card,
.carrier-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--trc-line);
	border-radius: var(--radius);
	background: var(--trc-white);
}

/* Whole card clickable via its title link. */
.card-link { text-decoration: none; }
.card-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.card-link:focus-visible { outline: none; }
.show-card:has(.card-link:focus-visible),
.link-card:has(.card-link:focus-visible) {
	outline: 3px solid var(--trc-olive);
	outline-offset: 3px;
}
.link-card:has(.card-link:focus-visible) { outline-color: var(--trc-lime); }

.show-card { transition: border-color .15s, transform .15s, box-shadow .15s; }
.show-card:hover {
	border-color: var(--trc-olive);
	box-shadow: 0 8px 24px rgba(29, 35, 16, .1);
	transform: translateY(-2px);
}
.show-card__body { padding: 1rem 1.25rem 1.25rem; }
.show-card__title { margin-bottom: .25rem; font-size: 1.2rem; }
.show-card__title a { color: var(--trc-night); }
.show-card:hover .show-card__title a { color: var(--trc-olive); text-decoration: underline; }
.show-card__genre {
	margin-bottom: .5rem;
	color: var(--trc-olive);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.show-card__excerpt {
	margin: 0;
	color: var(--trc-muted);
	font-size: .975rem;
}

/* Home link cards ----------------------------------------------------------- */
.link-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 1.75rem 1.5rem 1.5rem;
	border-radius: var(--radius);
	background: var(--trc-night);
	color: var(--trc-on-dark);
	transition: transform .15s;
}
.link-card:hover { transform: translateY(-2px); }
.link-card__title { margin-bottom: .5rem; font-size: 1.5rem; }
.link-card__title a { color: var(--trc-lime); }
.link-card:hover .link-card__title a { text-decoration: underline; }
.link-card__text { flex: 1; margin-bottom: 1rem; }
.link-card__arrow {
	color: var(--trc-lime);
	font-size: 1.5rem;
	line-height: 1;
}

/* Watch TRC --------------------------------------------------------------- */
.carrier-filter {
	max-width: 32rem;
	margin-bottom: 2rem;
}
.carrier-filter__label {
	display: block;
	margin-bottom: .4rem;
	font-weight: 700;
}
.carrier-filter__input {
	width: 100%;
	min-height: 48px;
	padding: .65rem 1rem;
	border: 2px solid var(--trc-muted);
	border-radius: 8px;
	background: var(--trc-white);
	color: var(--trc-ink);
	font: inherit;
	font-size: 1.125rem;
}
.carrier-filter__input:focus-visible {
	border-color: var(--trc-olive);
	outline-offset: 2px;
}
.carrier-filter__status {
	min-height: 1.6em;
	margin: .4rem 0 0;
	color: var(--trc-muted);
	font-size: .95rem;
}

.carrier-section + .carrier-section { margin-top: var(--space); }

.carrier-card { scroll-margin-top: 1.5rem; }
.carrier-card:target { border-color: var(--trc-olive); box-shadow: 0 0 0 3px var(--trc-lime); }
.carrier-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1rem 1.25rem 1.25rem;
}
.carrier-card__name { margin-bottom: .25rem; }
.carrier-card__channel { margin-bottom: .5rem; }
.carrier-card__channel strong { color: var(--trc-night); }
.carrier-card__phone { margin-bottom: 1rem; }
.carrier-card__phone a { font-weight: 600; }
.carrier-card__action { margin: auto 0 0; }

.badges {
	display: flex;
	flex-wrap: wrap;
	gap: .35rem;
	margin: 0 0 .75rem;
	padding: 0;
	list-style: none;
}
.badges li {
	padding: .1rem .55rem;
	border: 1px solid var(--trc-line);
	border-radius: 999px;
	background: var(--trc-tile);
	color: var(--trc-night);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .03em;
}

.cta-panel {
	margin-top: var(--space);
	padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	border-radius: var(--radius);
	background: var(--trc-lime);
	color: var(--trc-ink);
}
.cta-panel__title { color: var(--trc-ink); }
.cta-panel__text { max-width: var(--measure); }
.cta-panel__text > :last-child { margin-bottom: 0; }
.cta-panel a { color: var(--trc-ink); font-weight: 700; }

/* Genre pills (in the dark page banner) ----------------------------------- */
.pills ul {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}
.pills a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: .35rem 1rem;
	border: 2px solid var(--trc-lime);
	border-radius: 999px;
	background: rgba(29, 35, 16, .7);  /* keeps white text readable over bright photo */
	color: var(--trc-white);
	font-weight: 700;
	text-decoration: none;
}
.pills a:hover { background: var(--trc-night); color: var(--trc-lime); }
.pills a[aria-current="page"] {
	background: var(--trc-lime);
	color: var(--trc-ink);
}

/* Single show ------------------------------------------------------------- */
.show__header-inner {
	display: grid;
	gap: 1.5rem;
	align-items: center;
}
.show__header .card-logo {
	max-width: 22rem;
	border-radius: var(--radius);
}
@media (min-width: 56.25em) {
	.show__header-inner { grid-template-columns: 20rem 1fr; gap: 2.5rem; }
}
.show__header .page-title { max-width: none; }
.show__genre {
	margin-bottom: .5rem;
	color: var(--trc-lime);
	font-size: .875rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.show__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem 2rem;
	margin: 1.25rem 0 0;
}
.show__meta dt {
	color: #b9bea9;           /* 8.2:1 on night */
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.show__meta dd { margin: 0; color: var(--trc-white); font-weight: 600; }
.show__header .notice-inline {
	border-left-color: var(--trc-lime);
	background: rgba(255, 255, 255, .08);
	color: var(--trc-on-dark);
}
.show__cta { margin: 2rem 0 0; }

.notice-inline {
	margin: 1rem 0 0;
	padding: .75rem 1rem;
	border-left: 4px solid var(--trc-olive);
	background: var(--trc-tile);
}

.video-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	max-width: 60rem;
	margin-bottom: 2rem;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--trc-night);
}
.video-frame iframe,
.lite-yt {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.lite-yt { display: block; }
.lite-yt img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.lite-yt__play {
	position: absolute;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	transition: transform .15s;
}
.lite-yt__play svg {
	display: block;
	width: clamp(56px, 4rem + 3vw, 96px);
	height: auto;
	max-width: none;
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .35));
}
.lite-yt:hover .lite-yt__play { transform: translate(-50%, -50%) scale(1.08); }
.lite-yt:focus-visible { outline-offset: -6px; outline-color: var(--trc-lime); }

.post-nav {
	display: grid;
	gap: 1rem;
	padding-bottom: var(--space);
}
@media (min-width: 37.5em) {
	.post-nav { grid-template-columns: 1fr 1fr; }
	.post-nav__link--next { grid-column: 2; text-align: right; }
}
.post-nav__link {
	display: block;
	padding: 1rem 1.25rem;
	border: 1px solid var(--trc-line);
	border-radius: var(--radius);
	background: var(--trc-white);
	text-decoration: none;
}
.post-nav__link:hover { border-color: var(--trc-olive); }
.post-nav__label {
	display: block;
	color: var(--trc-muted);
	font-size: .875rem;
}
.post-nav__link--prev .post-nav__label::before { content: "\2190\00a0"; }
.post-nav__link--next .post-nav__label::after { content: "\00a0\2192"; }
.post-nav__title {
	display: block;
	color: var(--trc-night);
	font-weight: 700;
}

/* Page content and core blocks ------------------------------------------- */
.entry-content { padding-block: var(--space); }
/* Left edge matches .container, so body text lines up with the page title. */
.entry-content > * {
	max-width: min(var(--measure), calc(100% - 2 * var(--gutter)));
	margin-left: max(var(--gutter), calc((100% - var(--wide)) / 2));
	margin-right: auto;
}
.entry-content > .alignwide { max-width: min(var(--wide), calc(100% - 2 * var(--gutter))); }
.entry-content > .alignfull { max-width: none; margin-inline: 0; }
.entry-content--flush { padding-block: 0; }
.entry-content--flush > * { max-width: var(--measure); margin-inline: 0; }

.prose > * { max-width: var(--measure); }
.entry-content > * + *,
.prose > * + * { margin-top: 1.25em; }
.entry-content p,
.prose p { margin-bottom: 0; }
.entry-content h2,
.entry-content h3 { margin-top: 1.75em; }
.entry-content ul,
.entry-content ol,
.prose ul,
.prose ol { padding-left: 1.4em; }
.entry-content li + li,
.prose li + li { margin-top: .35em; }

.wp-block-quote {
	margin-block: 1.75em;
	padding: .25rem 0 .25rem 1.25rem;
	border-left: 4px solid var(--trc-lime);
	font-size: 1.15rem;
}
.wp-block-quote cite { color: var(--trc-muted); font-size: .95rem; font-style: normal; }
.wp-block-separator { border: 0; border-top: 2px solid var(--trc-line); }
.wp-block-image figcaption,
.wp-element-caption { color: var(--trc-muted); font-size: .9rem; }
.wp-block-image img { border-radius: 8px; }
.wp-block-table table { width: 100%; border-collapse: collapse; }
.wp-block-table th,
.wp-block-table td { padding: .5rem .75rem; border: 1px solid var(--trc-line); text-align: left; }
.wp-block-table thead { background: var(--trc-tile); }
.wp-block-buttons { gap: .75rem; }

/* Advertise / Contact ----------------------------------------------------- */
.form-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* let the form shrink below its content width */
	gap: 2rem;
}
@media (min-width: 56.25em) {
	.form-layout { grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); gap: 3rem; align-items: start; }
}
/* Body text above the form lines up with the form, not a centred column. */
.form-page__lead { padding-top: var(--space); }
.form-page__lead + .form-layout { padding-top: 2rem; }
.form-layout__aside {
	padding: 1.5rem;
	border-radius: var(--radius);
	background: var(--trc-tile);
}
.form-layout__heading { font-size: 1.25rem; }

.contact-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.contact-list li + li { margin-top: .75rem; }
.contact-list__label {
	display: block;
	color: var(--trc-muted);
	font-size: .8125rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.contact-list address { font-style: normal; }

/* Fluent Forms: match brand without fighting its layout.
   Its default red (#f56c6c, 2.8:1) fails contrast for the required asterisk and errors. */
.fluentform {
	--fluentform-danger: #b32d2e;   /* 6.0:1 on paper */
	--fluentform-primary: var(--trc-olive);
}
.fluentform .ff-el-input--label label { color: var(--trc-ink); font-weight: 700; }
.fluentform .ff-el-form-control {
	min-height: 44px;
	border: 2px solid var(--trc-muted) !important;
	border-radius: 8px !important;
	font: inherit !important;
}
/* Fluent Forms' own ".ff-default .ff-el-form-control:focus { outline: none }" loads later, so out-rank it. */
body .fluentform .ff-el-form-control:focus { border-color: var(--trc-olive) !important; outline: 3px solid var(--trc-olive); outline-offset: 2px; }
body .fluentform .ff-btn-submit:focus-visible { outline: 3px solid var(--trc-olive); outline-offset: 3px; }
/* Placeholders: 5:1 on white (Fluent Forms' default grey is 3.3:1). */
body .fluentform .ff-el-form-control::placeholder,
.carrier-filter__input::placeholder { color: #6b7068; opacity: 1; }
.fluentform .ff-btn-submit {
	min-height: 44px;
	padding: .65rem 1.5rem !important;
	border-radius: 999px !important;
	background: var(--trc-lime) !important;
	color: var(--trc-ink) !important;
	font-weight: 700 !important;
}
.fluentform .ff-btn-submit:hover { background: var(--trc-night) !important; color: var(--trc-lime) !important; }

/* Footer ------------------------------------------------------------------ */
.site-footer {
	background: var(--trc-night);
	color: var(--trc-on-dark);
}
.site-footer a { color: var(--trc-lime); }
.site-footer a:hover { color: var(--trc-white); }
.site-footer__inner {
	display: grid;
	gap: 2rem;
	padding-block: 3rem 2rem;
}
@media (min-width: 37.5em) {
	.site-footer__inner { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 56.25em) {
	.site-footer__inner { grid-template-columns: 1.5fr repeat(3, 1fr); }
}
.site-footer__name {
	margin-bottom: .25rem;
	color: var(--trc-lime);
	font-size: 1.25rem;
	font-weight: 800;
}
.site-footer__tagline { margin: 0; }
.site-footer__heading {
	margin-bottom: .75rem;
	color: var(--trc-white);
	font-size: .875rem;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.site-footer .contact-list__label { color: #b9bea9; }

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.social-links a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 50%;
	color: var(--trc-white);
}
.social-links a:hover { border-color: var(--trc-lime); color: var(--trc-lime); }
.social-links svg { width: 22px; height: 22px; }

.footer-nav__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.footer-nav__list li + li { margin-top: .5rem; }

.site-footer__legal {
	margin: 0;
	padding-block: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: #b9bea9;
	font-size: .875rem;
}

.post-list { padding-left: 1.2em; }

/* Forced colours (Windows High Contrast) ---------------------------------- */
@media (forced-colors: active) {
	/* Panels drawn only with a background colour need an edge to stay visible. */
	.link-card,
	.cta-panel,
	.hero,
	.skip-link { border: 2px solid CanvasText; }
	.page-banner { border-bottom: 2px solid CanvasText; }
	/* Keep the logo tile's own colours so pale and dark logos stay legible. */
	.card-logo { forced-color-adjust: none; }
}

/* Motion ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
	.show-card:hover,
	.link-card:hover { transform: none; }
}

.entry-content + .section { padding-top: 0; }
