/*
 * main.css — Wake Forest Magazine design tokens + shared base.
 * Loaded first; header.css and footer.css depend on the custom
 * properties defined here.
 */

:root {
	--wfm-ink: #293241;
	--wfm-slate: #3d5a80;
	--wfm-powder: #98c1d9;
	--wfm-cyan: #e0fbfc;
	--wfm-peach: #ee6c4d;
	--wfm-white: #ffffff;

	--wfm-font: "Archivo", sans-serif;
	--wfm-max: 1280px;
	--wfm-pad: 40px;
	--wfm-rule: 2px solid var(--wfm-ink);
}

body {
	margin: 0;
	background: var(--wfm-white);
	color: var(--wfm-ink);
	font-family: var(--wfm-font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

a {
	color: var(--wfm-ink);
	text-decoration: none;
}

a:hover {
	color: var(--wfm-peach);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid var(--wfm-peach);
	outline-offset: 2px;
}

/* Headline treatment: 900 weight, tight tracking. */
h1, h2, h3 {
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1.05;
	margin: 0 0 0.5em;
}

/* Powder-blue highlight for headline words, cloned across line wraps. */
.wfm-highlight {
	background: var(--wfm-powder);
	color: inherit;
	padding: 0 0.08em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

/* Solid ink button, peach on hover. */
.wfm-button {
	display: inline-block;
	padding: 10px 16px;
	background: var(--wfm-ink);
	color: var(--wfm-white);
	font-weight: 700;
	font-size: 13px;
}

.wfm-button:hover {
	background: var(--wfm-peach);
	color: var(--wfm-white);
}

/* Small uppercase kicker used in the mega menu and footer. */
.wfm-mega__kicker {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wfm-slate);
}

.wfm-main {
	max-width: var(--wfm-max);
	margin: 0 auto;
	padding: 0 var(--wfm-pad);
}

.wfm-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	padding: 10px 16px;
	background: var(--wfm-ink);
	color: var(--wfm-white);
	font-weight: 700;
	z-index: 100;
}

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

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

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}

@media (max-width: 700px) {
	:root {
		--wfm-pad: 20px;
	}
}



/* ============================================================
 * Shared components (crumb, pills, CTA bands, section links,
 * kickers) — used across archives, singles, and the front page,
 * so they live in the always-loaded sheet.
 * ============================================================ */

.wfm-crumb {
	display: flex;
	gap: 8px;
	font-size: 12px;
	font-weight: 600;
	color: var(--wfm-slate);
}

.wfm-crumb a {
	color: var(--wfm-slate);
}

.wfm-pill {
	padding: 7px 12px;
	border: 1.5px solid var(--wfm-ink);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
}

button.wfm-pill {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	color: var(--wfm-ink);
	font-family: inherit;
	line-height: inherit;
	cursor: pointer;
}

button.wfm-pill.is-on {
	background: var(--wfm-ink);
	color: var(--wfm-white);
}

/* Client-side filters set [hidden]; make sure it always wins over
 * the display:grid/flex the rows carry. */
[data-wfm-row][hidden],
[data-wfm-group][hidden],
[data-wfm-empty][hidden] {
	display: none !important;
}

.wfm-pill.is-on {
	background: var(--wfm-ink);
	color: var(--wfm-white);
}

.wfm-band {
	margin: 96px 0 0;
	padding: 44px 48px;
	background: var(--wfm-ink);
	color: var(--wfm-white);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
}

.wfm-band__title {
	margin: 0;
	font-size: clamp(28px, 3.5vw, 40px);
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1;
}

.wfm-band__sub {
	margin: 8px 0 0;
	font-size: 15px;
	color: var(--wfm-powder);
}

.wfm-band__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.wfm-band__btn {
	padding: 14px 22px;
	font-weight: 700;
	font-size: 14px;
}

.wfm-band__btn--powder {
	background: var(--wfm-powder);
	color: var(--wfm-ink);
}

.wfm-band__btn--ghost {
	border: 2px solid var(--wfm-white);
	color: var(--wfm-white);
}

.wfm-band__btn--ghost:hover {
	color: var(--wfm-white);
	background: rgba(255, 255, 255, 0.12);
}

.wfm-band__btn--ink {
	background: var(--wfm-ink);
	color: var(--wfm-white);
}

.wfm-band__btn--outline {
	border: var(--wfm-rule);
	color: var(--wfm-ink);
}

.wfm-kicker {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wfm-slate);
}

.wfm-sect__link {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-bottom: 2px solid var(--wfm-ink);
}

.wfm-sect__link--light {
	color: var(--wfm-white);
	border-bottom-color: var(--wfm-white);
}

/* ============================================================
 * Font enforcement.
 * Hub applies its own typeface via theme-option CSS that loads
 * after (or with higher specificity than) this sheet, so the
 * Archivo tokens are asserted with !important. Icon elements
 * (<i>, elements with icon classes) are deliberately NOT
 * targeted, so Hub's icon fonts keep rendering.
 * ============================================================ */

body,
h1, h2, h3, h4, h5, h6,
p, a, li, dt, dd, small, strong, em,
blockquote, figcaption, label, legend, mark,
th, td, caption,
button, input, select, textarea,
.wfm-header, .wfm-header span,
.wfm-footer, .wfm-footer span,
.wfm-home span, .wfm-dir span, .wfm-listing span,
.wfm-single span, .wfm-archive span, .wfm-stat span,
.wfm-hero span, .wfm-factstack span, .wfm-morein span {
	font-family: var(--wfm-font) !important;
}

body {
	color: var(--wfm-ink) !important;
	background: var(--wfm-white) !important;
}
