/**
 * WVRC Radio — fonts and per-temperature type assignment.
 *
 * All faces are self-hosted (SIL OFL). Only the faces a temperature actually
 * uses are ever downloaded by the browser.
 */

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

@font-face {
	font-family: "Barlow Condensed";
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url("../fonts/barlow-condensed-800.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/inter-400-700.woff2") format("woff2");
}

@font-face {
	font-family: "Zilla Slab";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/zilla-slab-600.woff2") format("woff2");
}

@font-face {
	font-family: "Zilla Slab";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/zilla-slab-700.woff2") format("woff2");
}

@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/source-sans-3-400-700.woff2") format("woff2");
}

@font-face {
	font-family: "Source Sans 3";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/source-sans-3-400-italic.woff2") format("woff2");
}

@font-face {
	font-family: "Figtree";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/figtree-400-800.woff2") format("woff2");
}

@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/source-serif-4-400-700.woff2") format("woff2");
}

/* T1 Current — tight condensed display, neutral grotesque body. */
body.wvrc-temp-t1 {
	--wvrc-font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
	--wvrc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* T2 Heritage — slab display with real weight contrast, humanist body. */
body.wvrc-temp-t2 {
	--wvrc-font-display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
	--wvrc-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* T3 Bright — one friendly geometric family, sentence case, generous size. */
body.wvrc-temp-t3 {
	--wvrc-font-display: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--wvrc-font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* T4 Authority — serif headlines, workmanlike sans for everything else. */
body.wvrc-temp-t4 {
	--wvrc-font-display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
	--wvrc-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* The network root has no station; give it sane type. */
body:not([class*="wvrc-temp-"]) {
	--wvrc-font-display: "Inter", system-ui, sans-serif;
	--wvrc-font-body: "Inter", system-ui, sans-serif;
}

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Block-theme root padding fights full-bleed bands; the blocks own their gutters. */
.wp-site-blocks {
	padding: 0;
}

.wp-site-blocks > * {
	margin-block: 0;
}

main.wp-block-group {
	padding-inline: 1.5rem;
	min-height: 50vh;
}

main.wp-block-group > .alignfull {
	margin-inline: -1.5rem;
	max-width: none;
	width: auto;
}

@media (max-width: 640px) {
	main.wp-block-group { padding-inline: 1rem; }
	main.wp-block-group > .alignfull { margin-inline: -1rem; }
}
