/*
Theme Name: Texans for Terms
Theme URI: https://texansforterms.org
Author: Texans for Terms
Author URI: https://texansforterms.org
Description: A fast, accessible, Elementor-ready advocacy theme built for Texans for Terms. Uses the Texas flag palette (navy, red, white), a clean editorial type system, full-width Elementor canvas support, Elementor Pro theme-builder locations, and a lightweight legislative session countdown widget. No page-builder lock-in: every template degrades gracefully to native WordPress output.
Version: 1.1.0
Requires at least: 6.2
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: texans-for-terms
Tags: advocacy, non-profit, politics, elementor, block-patterns, custom-colors, custom-logo, custom-menu, editor-style, featured-images, full-width-template, right-sidebar, threaded-comments, translation-ready, accessibility-ready
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
	--tft-navy: #002868;          /* Texas flag blue */
	--tft-navy-dark: #001B47;
	--tft-navy-soft: #0A3A8B;
	--tft-red: #BF0A30;           /* Texas flag red */
	--tft-red-dark: #8E0722;
	--tft-white: #FFFFFF;
	--tft-cream: #F6F4EF;
	--tft-sand: #EDE7DA;
	--tft-ink: #14181F;
	--tft-body: #333A45;
	--tft-muted: #6B7280;
	--tft-line: #DCDFE5;

	--tft-font-display: "Oswald", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--tft-font-serif: Georgia, "Times New Roman", Times, serif;
	--tft-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--tft-container: 1200px;
	--tft-container-narrow: 780px;
	--tft-radius: 4px;
	--tft-shadow: 0 2px 10px rgba(0, 40, 104, .08);
	--tft-shadow-lg: 0 14px 40px rgba(0, 40, 104, .14);
	--tft-transition: .2s ease;
}

/* ==========================================================================
   2. Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

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

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

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	color: var(--tft-navy);
	font-family: var(--tft-font-display);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: .01em;
	text-transform: none;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; }

p { margin: 0 0 1.35rem; }

a { color: var(--tft-navy); text-decoration: underline; text-underline-offset: .18em; transition: color var(--tft-transition); }
a:hover, a:focus { color: var(--tft-red); }

:focus-visible { outline: 3px solid var(--tft-red); outline-offset: 2px; }

blockquote {
	margin: 2rem 0;
	padding: .35rem 0 .35rem 1.5rem;
	border-left: 5px solid var(--tft-red);
	color: var(--tft-ink);
	font-family: var(--tft-font-serif);
	font-size: 1.2rem;
	font-style: italic;
}

hr { height: 3px; margin: 2.5rem 0; border: 0; background: linear-gradient(90deg, var(--tft-navy) 0 33%, var(--tft-white) 33% 66%, var(--tft-red) 66% 100%); }

code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
pre { padding: 1.25rem; overflow: auto; background: var(--tft-cream); border-left: 4px solid var(--tft-navy); }

table { width: 100%; margin-bottom: 1.75rem; border-collapse: collapse; }
th, td { padding: .7rem .9rem; border-bottom: 1px solid var(--tft-line); text-align: left; }
thead th { background: var(--tft-navy); color: #fff; font-family: var(--tft-font-display); text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; }
tbody tr:nth-child(even) { background: var(--tft-cream); }

/* ==========================================================================
   3. Accessibility helpers
   ========================================================================== */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0; word-wrap: normal !important;
}

.skip-link {
	position: absolute;
	top: -100px; left: 1rem;
	z-index: 9999;
	padding: .75rem 1.25rem;
	background: var(--tft-red);
	color: #fff;
	font-family: var(--tft-font-display);
	text-decoration: none;
	transition: top var(--tft-transition);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ==========================================================================
   4. Layout
   ========================================================================== */
.tft-container { width: 100%; max-width: var(--tft-container); margin: 0 auto; padding: 0 1.25rem; }
.tft-site { display: flex; flex-direction: column; min-height: 100vh; }
.tft-main { flex: 1 0 auto; padding: 3rem 0 4rem; }

.tft-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
body.has-sidebar .tft-layout { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 992px) {
	body.has-sidebar .tft-layout { grid-template-columns: minmax(0, 1fr) 330px; }
}

.tft-narrow { max-width: var(--tft-container-narrow); margin: 0 auto; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.tft-btn,
.wp-block-button__link,
input[type="submit"],
button[type="submit"],
.wp-element-button {
	display: inline-block;
	padding: .85rem 1.75rem;
	border: 2px solid var(--tft-red);
	border-radius: var(--tft-radius);
	background: var(--tft-red);
	color: #fff !important;
	font-family: var(--tft-font-display);
	font-size: .98rem;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--tft-transition), border-color var(--tft-transition), transform var(--tft-transition);
}
.tft-btn:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	background: var(--tft-red-dark);
	border-color: var(--tft-red-dark);
	color: #fff !important;
	transform: translateY(-1px);
}

.tft-btn--outline { background: transparent; border-color: currentColor; color: var(--tft-navy) !important; }
.tft-btn--outline:hover { background: var(--tft-navy); border-color: var(--tft-navy); color: #fff !important; }

.tft-btn--navy { background: var(--tft-navy); border-color: var(--tft-navy); }
.tft-btn--navy:hover { background: var(--tft-navy-dark); border-color: var(--tft-navy-dark); }

/* ==========================================================================
   6. Forms
   ========================================================================== */
input[type="text"], input[type="email"], input[type="url"], input[type="tel"],
input[type="number"], input[type="search"], input[type="password"], textarea, select {
	width: 100%;
	max-width: 100%;
	padding: .7rem .85rem;
	border: 1px solid var(--tft-line);
	border-radius: var(--tft-radius);
	background: #fff;
	color: var(--tft-ink);
	font-family: inherit;
	font-size: 1rem;
}
input:focus, textarea:focus, select:focus { border-color: var(--tft-navy); outline: 2px solid rgba(0, 40, 104, .18); outline-offset: 0; }
label { display: block; margin-bottom: .35rem; font-weight: 600; color: var(--tft-ink); }

/* ==========================================================================
   7. Top bar
   ========================================================================== */
.tft-topbar {
	background: var(--tft-navy-dark);
	color: rgba(255, 255, 255, .92);
	font-size: .85rem;
	letter-spacing: .03em;
}
.tft-topbar .tft-container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; flex-wrap: wrap; }
.tft-topbar__message { font-family: var(--tft-font-display); text-transform: uppercase; letter-spacing: .1em; }
.tft-topbar__message strong { color: #fff; }
.tft-topbar a { color: #fff; text-decoration: none; }
.tft-topbar a:hover { color: #FFD7DD; }
.tft-social { display: flex; align-items: center; gap: .9rem; }

/* ==========================================================================
   8. Header
   ========================================================================== */
.tft-header {
	position: relative;
	background: #fff;
	border-bottom: 4px solid var(--tft-navy);
	box-shadow: var(--tft-shadow);
}
.tft-header::after { content: ""; display: block; height: 4px; background: var(--tft-red); }
.tft-header__inner { display: flex; align-items: center; gap: 1.75rem; padding: 1rem 0; }

.tft-brand { order: 1; display: flex; align-items: center; gap: .9rem; text-decoration: none; }
.tft-brand img { display: block; max-height: 58px; width: auto; }
.tft-brand__text { display: flex; flex-direction: column; }
.tft-brand__title {
	margin: 0;
	color: var(--tft-navy);
	font-family: var(--tft-font-display);
	font-size: 1.6rem;
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
	letter-spacing: .02em;
}
.tft-brand__tagline { color: var(--tft-red); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tft-brand a { text-decoration: none; }

.tft-header__actions { order: 3; display: flex; align-items: center; gap: 1.25rem; }

/* Primary navigation */
.tft-nav { order: 2; margin-left: auto; }
.tft-nav ul { display: flex; align-items: center; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.tft-nav li { position: relative; }
.tft-nav a {
	display: block;
	padding: .5rem 0;
	color: var(--tft-navy);
	font-family: var(--tft-font-display);
	font-size: .97rem;
	font-weight: 500;
	letter-spacing: .05em;
	text-transform: uppercase;
	text-decoration: none;
}
.tft-nav a::after { content: ""; display: block; height: 3px; width: 0; margin-top: 4px; background: var(--tft-red); transition: width var(--tft-transition); }
.tft-nav a:hover::after, .tft-nav .current-menu-item > a::after, .tft-nav .current_page_item > a::after { width: 100%; }
.tft-nav .current-menu-item > a { color: var(--tft-red); }

.tft-nav .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	z-index: 60;
	display: block;
	min-width: 232px;
	padding: .4rem 0;
	background: #fff;
	border-top: 3px solid var(--tft-red);
	box-shadow: var(--tft-shadow-lg);
	opacity: 0; visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--tft-transition), transform var(--tft-transition), visibility var(--tft-transition);
}
.tft-nav li:hover > .sub-menu, .tft-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.tft-nav .sub-menu li { display: block; }
.tft-nav .sub-menu a { padding: .6rem 1.1rem; text-transform: none; letter-spacing: 0; font-size: .95rem; }
.tft-nav .sub-menu a::after { display: none; }
.tft-nav .sub-menu a:hover { background: var(--tft-cream); color: var(--tft-red); }
.tft-nav .sub-menu .sub-menu { top: 0; left: 100%; }

/* Mobile toggle */
.tft-menu-toggle {
	display: none;
	align-items: center;
	gap: .55rem;
	padding: .6rem .9rem;
	border: 2px solid var(--tft-navy);
	border-radius: var(--tft-radius);
	background: transparent;
	color: var(--tft-navy);
	font-family: var(--tft-font-display);
	font-size: .85rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	cursor: pointer;
}
.tft-menu-toggle .tft-bars { position: relative; display: block; width: 20px; height: 2px; background: currentColor; }
.tft-menu-toggle .tft-bars::before,
.tft-menu-toggle .tft-bars::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor; }
.tft-menu-toggle .tft-bars::before { top: -6px; }
.tft-menu-toggle .tft-bars::after { top: 6px; }

@media (max-width: 991px) {
	.tft-menu-toggle { display: inline-flex; }
	.tft-header__actions .tft-btn { display: none; }
	.tft-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		z-index: 80;
		display: none;
		padding: .5rem 1.25rem 1.5rem;
		background: #fff;
		border-top: 1px solid var(--tft-line);
		box-shadow: var(--tft-shadow-lg);
	}
	.tft-nav.is-open { display: block; }
	.tft-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.tft-nav li { border-bottom: 1px solid var(--tft-line); }
	.tft-nav a { padding: .85rem 0; }
	.tft-nav a::after { display: none; }
	.tft-nav .sub-menu {
		position: static;
		opacity: 1; visibility: visible;
		transform: none;
		min-width: 0;
		padding: 0 0 .5rem .9rem;
		border-top: 0;
		box-shadow: none;
	}
}

/* ==========================================================================
   9. Page hero
   ========================================================================== */
.tft-hero {
	position: relative;
	padding: 4rem 0;
	background: linear-gradient(135deg, var(--tft-navy-dark) 0%, var(--tft-navy) 55%, var(--tft-navy-soft) 100%);
	color: #fff;
	overflow: hidden;
}
.tft-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
	background-size: 22px 22px;
	opacity: .7;
}
.tft-hero > .tft-container { position: relative; }
.tft-hero__eyebrow { display: inline-block; margin-bottom: .9rem; padding: .3rem .8rem; background: var(--tft-red); font-family: var(--tft-font-display); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.tft-hero h1, .tft-hero .tft-hero__title { margin: 0; color: #fff; }
.tft-hero__meta { margin-top: 1rem; color: rgba(255, 255, 255, .82); font-size: .92rem; letter-spacing: .04em; }
.tft-hero__meta a { color: #fff; }
.tft-hero__excerpt { max-width: 60ch; margin-top: 1.1rem; color: rgba(255, 255, 255, .9); font-size: 1.12rem; }

/* --------------------------------------------------------------------------
   9b. Campaign Hero (Elementor widget: headline + text + buttons + countdown)
   -------------------------------------------------------------------------- */
.tft-hero-widget { padding: 4.5rem 0; }
.tft-hero-widget__inner { width: 100%; }

.tft-hero-widget__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.tft-hero-widget__message { min-width: 0; }
.tft-hero-widget__clock { min-width: 0; }

@media (min-width: 900px) {
	.tft-hero-widget--clock-right .tft-hero-widget__grid { grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); }
	.tft-hero-widget--clock-left .tft-hero-widget__grid { grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr); }
	.tft-hero-widget--clock-left .tft-hero-widget__message { order: 2; }
	.tft-hero-widget--clock-left .tft-hero-widget__clock { order: 1; }
}

.tft-hero-widget--clock-below .tft-hero-widget__grid,
.tft-hero-widget--clock-off .tft-hero-widget__grid { grid-template-columns: minmax(0, 1fr); }
.tft-hero-widget--clock-below .tft-hero-widget__clock { max-width: 620px; }

.tft-hero-widget__title { margin: 0 0 1.1rem; color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.25rem); line-height: 1.08; }
.tft-hero-widget__text { max-width: 60ch; color: rgba(255, 255, 255, .9); font-size: 1.12rem; }
.tft-hero-widget__text > *:last-child { margin-bottom: 0; }
.tft-hero-widget__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.9rem; }

/* Ghost button reads correctly on both dark and light hero backgrounds. */
.tft-btn--ghost { background: transparent; border-color: currentColor; }
.tft-hero-widget--bg-navy .tft-btn--ghost,
.tft-hero-widget--bg-flat .tft-btn--ghost { border-color: #fff; color: #fff !important; }
.tft-hero-widget--bg-navy .tft-btn--ghost:hover,
.tft-hero-widget--bg-flat .tft-btn--ghost:hover { background: #fff; border-color: #fff; color: var(--tft-navy) !important; }

/* Background variants */
.tft-hero-widget--bg-flat { background: var(--tft-navy); }
.tft-hero-widget--bg-flat::before { display: none; }

.tft-hero-widget--bg-none { background: none; }
.tft-hero-widget--bg-none::before { display: none; }

.tft-hero-widget--bg-light { background: var(--tft-cream); }
.tft-hero-widget--bg-light::before { display: none; }
.tft-hero-widget--bg-light .tft-hero-widget__title { color: var(--tft-navy); }
.tft-hero-widget--bg-light .tft-hero-widget__text { color: var(--tft-body); }
.tft-hero-widget--bg-light .tft-btn--ghost { border-color: var(--tft-navy); color: var(--tft-navy) !important; }
.tft-hero-widget--bg-light .tft-btn--ghost:hover { background: var(--tft-navy); color: #fff !important; }

/* Inherit-background variant keeps text readable on a dark Elementor section. */
.tft-hero-widget--bg-none .tft-hero-widget__title,
.tft-hero-widget--bg-none .tft-hero-widget__text { color: inherit; }

/* On a flat or inherited background the clock panel needs its own edge. */
.tft-hero-widget--bg-flat .tft-countdown,
.tft-hero-widget--bg-none .tft-countdown { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }

/* Elementor editor: keep the widget from collapsing inside narrow containers. */
.elementor-widget-tft-hero .tft-hero-widget { overflow: hidden; }

/* Breadcrumb-ish trail */
.tft-trail { margin-bottom: 1rem; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.tft-trail a { color: rgba(255, 255, 255, .92); text-decoration: none; }
.tft-trail a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   10. Content / entries
   ========================================================================== */
.tft-entry { margin-bottom: 3rem; }
.tft-entry__content > *:last-child { margin-bottom: 0; }
.tft-entry__content ul, .tft-entry__content ol { margin: 0 0 1.4rem; padding-left: 1.4rem; }
.tft-entry__content li { margin-bottom: .5rem; }
.tft-entry__thumb { margin-bottom: 1.5rem; }
.tft-entry__thumb img { width: 100%; border-radius: var(--tft-radius); }

.tft-entry-footer { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--tft-line); font-size: .92rem; }
.tft-entry-footer a { font-weight: 600; }

.tft-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 2rem; }
.tft-card {
	display: flex; flex-direction: column;
	background: #fff;
	border: 1px solid var(--tft-line);
	border-top: 4px solid var(--tft-navy);
	border-radius: var(--tft-radius);
	overflow: hidden;
	transition: transform var(--tft-transition), box-shadow var(--tft-transition), border-color var(--tft-transition);
}
.tft-card:hover { transform: translateY(-3px); box-shadow: var(--tft-shadow-lg); border-top-color: var(--tft-red); }
.tft-card__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tft-cream); }
.tft-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tft-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem; }
.tft-card__meta { margin-bottom: .5rem; color: var(--tft-muted); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.tft-card__title { margin: 0 0 .6rem; font-size: 1.3rem; }
.tft-card__title a { text-decoration: none; }
.tft-card__excerpt { margin: 0 0 1.1rem; font-size: .98rem; }
.tft-card__more { margin-top: auto; font-family: var(--tft-font-display); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.tft-card__more::after { content: " \2192"; }

/* ==========================================================================
   11. Sidebar & widgets
   ========================================================================== */
.tft-sidebar .widget {
	margin-bottom: 2rem;
	padding: 1.5rem;
	background: var(--tft-cream);
	border-left: 4px solid var(--tft-red);
	border-radius: var(--tft-radius);
}
.tft-sidebar .widget-title, .tft-sidebar .wp-block-heading {
	margin: 0 0 1rem;
	color: var(--tft-navy);
	font-family: var(--tft-font-display);
	font-size: 1.05rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.tft-sidebar ul { margin: 0; padding: 0; list-style: none; }
.tft-sidebar li { padding: .45rem 0; border-bottom: 1px solid rgba(0, 40, 104, .1); }
.tft-sidebar li:last-child { border-bottom: 0; }
.tft-sidebar a { text-decoration: none; font-weight: 600; }

/* ==========================================================================
   12. Countdown module (also used by the Elementor widget)
   ========================================================================== */
.tft-countdown {
	padding: 1.6rem;
	background: var(--tft-navy);
	border-radius: var(--tft-radius);
	color: #fff;
	text-align: center;
}
.tft-countdown__label { margin-bottom: 1rem; font-family: var(--tft-font-display); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }
.tft-countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.tft-countdown__unit { padding: .7rem .2rem; background: rgba(255, 255, 255, .08); border-bottom: 3px solid var(--tft-red); border-radius: var(--tft-radius); }
.tft-countdown__num { display: block; font-family: var(--tft-font-display); font-size: 1.85rem; font-weight: 700; line-height: 1; letter-spacing: .01em; }
.tft-countdown__unit span:last-child { display: block; margin-top: .3rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.tft-countdown__note { margin: 1rem 0 0; font-size: .84rem; color: rgba(255, 255, 255, .78); }

/* Stat strip */
.tft-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.25rem; }
.tft-stat { padding: 1.5rem; background: var(--tft-cream); border-top: 4px solid var(--tft-red); border-radius: var(--tft-radius); text-align: center; }
.tft-stat__num { display: block; color: var(--tft-navy); font-family: var(--tft-font-display); font-size: 2.4rem; line-height: 1; }
.tft-stat__label { display: block; margin-top: .45rem; font-size: .84rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tft-muted); }

/* Pull CTA band */
.tft-cta-band { padding: 3rem 0; background: var(--tft-red); color: #fff; text-align: center; }
.tft-cta-band h2 { color: #fff; }
.tft-cta-band p { max-width: 62ch; margin: 0 auto 1.6rem; color: rgba(255, 255, 255, .93); }
.tft-cta-band .tft-btn { background: #fff; border-color: #fff; color: var(--tft-red) !important; }
.tft-cta-band .tft-btn:hover { background: var(--tft-navy); border-color: var(--tft-navy); color: #fff !important; }

/* ==========================================================================
   13. Pagination & comments
   ========================================================================== */
.tft-pagination { margin-top: 2.5rem; }
.tft-pagination .page-numbers {
	display: inline-block;
	min-width: 44px;
	margin: 0 .25rem .5rem 0;
	padding: .55rem .7rem;
	border: 1px solid var(--tft-line);
	border-radius: var(--tft-radius);
	color: var(--tft-navy);
	font-family: var(--tft-font-display);
	text-align: center;
	text-decoration: none;
}
.tft-pagination .page-numbers:hover,
.tft-pagination .page-numbers.current { background: var(--tft-navy); border-color: var(--tft-navy); color: #fff; }

.comments-area { margin-top: 3.5rem; padding-top: 2rem; border-top: 4px solid var(--tft-navy); }
.comment-list { margin: 0 0 2rem; padding: 0; list-style: none; }
.comment-list li { margin-bottom: 1.5rem; }
.comment-body { padding: 1.25rem; background: var(--tft-cream); border-radius: var(--tft-radius); }
.comment-list .children { margin: 1.25rem 0 0 1.5rem; padding: 0; list-style: none; }
.comment-meta { margin-bottom: .5rem; font-size: .85rem; color: var(--tft-muted); }
.comment-author img { border-radius: 50%; margin-right: .5rem; vertical-align: middle; }

/* ==========================================================================
   14. Footer
   ========================================================================== */
.tft-footer { margin-top: auto; background: var(--tft-navy-dark); color: rgba(255, 255, 255, .78); }
.tft-footer a { color: #fff; text-decoration: none; }
.tft-footer a:hover { color: #FFC8D1; text-decoration: underline; }
.tft-footer__widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2.5rem; padding: 3.25rem 0 2.5rem; }
.tft-footer .widget-title, .tft-footer h2, .tft-footer h3 { color: #fff; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; }
.tft-footer ul { margin: 0; padding: 0; list-style: none; }
.tft-footer li { padding: .32rem 0; }
.tft-footer__brand img { max-height: 66px; width: auto; margin-bottom: 1.1rem; }
.tft-footer__bottom {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	padding: 1.25rem 0;
	border-top: 1px solid rgba(255, 255, 255, .14);
	font-size: .85rem;
}
.tft-footer__disclaimer { max-width: 70ch; padding-bottom: 1.5rem; font-size: .78rem; line-height: 1.6; color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   15. WordPress core alignment / block classes
   ========================================================================== */
.alignleft { float: left; margin: .35rem 1.75rem 1.25rem 0; }
.alignright { float: right; margin: .35rem 0 1.25rem 1.75rem; }
.aligncenter { display: block; margin: 0 auto 1.5rem; }
.alignwide { width: min(1140px, 100%); margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.wp-caption-text, .wp-block-image figcaption { font-size: .86rem; color: var(--tft-muted); text-align: center; }
.sticky .tft-card__title::before { content: "\2605 "; color: var(--tft-red); }
.bypostauthor > .comment-body { border-left: 3px solid var(--tft-red); }

/* Print */
@media print {
	.tft-topbar, .tft-header__actions, .tft-nav, .tft-footer, .tft-cta-band { display: none !important; }
	body { color: #000; font-size: 12pt; }
	.tft-hero { background: none; color: #000; padding: 0 0 1rem; }
	.tft-hero h1 { color: #000; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
