/*
 * Landing page styles — Affordability Texas.
 *
 * Loaded after style.css (the untouched _s base). Design source:
 * Figma "Affordability Texas Landing Page", 1440px reference frame.
 *
 * Display stack: Hantera Serif Bold is licensed and not committed with the
 * theme; inc/landing-page.php declares its @font-face only when
 * assets/fonts/hantera-serif-bold.woff2 exists. Until then Zilla Slab 700
 * renders. Hantera is a caps-only face, so display elements are uppercased
 * for parity under either font.
 */

/* --------------------------------------------------------------------------
 * Fonts + tokens
 * ------------------------------------------------------------------------ */

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

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

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

:root {
	--c-navy: #1b2d3a;
	--c-navy-2: #223849;
	--c-navy-hover: #16242e;
	--c-red: #bd232c;
	--c-red-hover: #a01d25;
	--c-cream: #f4efe6;
	--c-cream-2: #ede9df;
	--c-cream-70: rgba(244, 239, 230, 0.72);
	--c-navy-70: rgba(27, 45, 58, 0.7);
	--c-navy-60: rgba(27, 45, 58, 0.6);
	--c-navy-42: rgba(27, 45, 58, 0.42);
	--c-navy-22: rgba(27, 45, 58, 0.22);
	--c-navy-14: rgba(27, 45, 58, 0.14);
	--font-display: "Hantera Serif Bold", "Zilla Slab", georgia, serif;
	--font-body: "Source Sans 3", -apple-system, blinkmacsystemfont, "Segoe UI", roboto, sans-serif;
	--pad-x: clamp(20px, 8.33vw, 120px);
	--pad-x-wide: clamp(20px, 5.56vw, 80px);
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.5;
	color: var(--c-navy);
	background: var(--c-cream);
	overflow-x: clip;
	/* Grayscale smoothing — macOS subpixel AA fattens light-on-dark type
	   versus the Figma comp's rendering. */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
 * Shared
 * ------------------------------------------------------------------------ */

.text-accent {
	color: var(--c-red);
}

/*
 * Link colors. The _s base sets royalblue / purple-when-visited, and its
 * `a:visited` selector (type + pseudo-class) outranks any single class, so
 * every branded link and button has to declare :visited explicitly or the
 * browser default bleeds through. Only color/background/border-color are
 * styleable on :visited — browsers restrict the rest to block history sniffing.
 */
a {
	color: var(--c-red);
}

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

a:hover,
a:focus,
a:active {
	color: var(--c-red-hover);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-body);
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.15s ease;
}

.button--red {
	background: var(--c-red);
	color: var(--c-cream);
}

/* `a:visited` in the base sheet ties with a lone class, so it would win on
   source order alone; the type selector here settles it outright. */
a.button--red:visited {
	color: var(--c-cream);
}

.button--red:hover,
.button--red:focus,
.button--red:active {
	background: var(--c-red-hover);
	color: var(--c-cream);
}

.button:focus-visible {
	outline: 2px solid var(--c-navy);
	outline-offset: 2px;
}

/* --------------------------------------------------------------------------
 * Header / nav
 * ------------------------------------------------------------------------ */

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: var(--c-navy);
	padding: 26px var(--pad-x-wide);
}

.site-branding .custom-logo-link {
	display: block;
	line-height: 0;
}

.site-branding .custom-logo {
	height: 69px;
	width: auto;
}

/* Keep the text branding for screen readers; the logo carries it visually. */
.site-branding .site-title,
.site-branding .site-description {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
}

/* One-page site: no menu. Remove when the site grows pages. */
.main-navigation {
	display: none;
}

.donate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 221px;
	padding: 13px 26px;
	background: var(--c-red);
	color: var(--c-cream);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.15s ease;
}

a.donate-button:visited {
	color: var(--c-cream);
}

.donate-button:hover,
.donate-button:focus {
	background: var(--c-red-hover);
	color: var(--c-cream);
}

/* --------------------------------------------------------------------------
 * Announcement bar (Site Settings)
 * ------------------------------------------------------------------------ */

.announcement-bar {
	display: block;
	background: var(--c-red);
	color: var(--c-cream);
	text-align: center;
	padding: 10px 16px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
}

/* --------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------ */

.hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(56px, 7.08vw, 102px);
	background: var(--c-navy);
	color: var(--c-cream);
	text-align: center;
	padding: clamp(48px, 4.44vw, 64px) var(--pad-x) clamp(64px, 7.22vw, 104px);
}

.hero__copy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 26px;
	max-width: 1180px;
}

/*
 * Display sizes below are tuned for the Zilla Slab fallback, whose glyphs run
 * ~2x the width of Hantera's. When hantera-serif-bold.woff2 is present,
 * inc/landing-page.php injects the Figma-scale sizes after this sheet.
 */
.hero__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.25rem, 4.86vw, 4.375rem);
	line-height: 0.86;
	letter-spacing: -0.015em;
	text-transform: uppercase;
	color: var(--c-cream);
	margin: 0;
}

.hero__subhead {
	font-size: clamp(1.0625rem, 1.46vw, 1.3125rem);
	line-height: 1.5;
	color: var(--c-cream-70);
	max-width: 960px;
	margin: 0;
}

.button--hero {
	min-width: min(308px, 100%);
	padding: 21px 46px;
	font-size: 17px;
	letter-spacing: 0.094em;
}

.hero__media {
	width: min(1200px, 100%);
	border: 1px dashed rgba(244, 239, 230, 0.14);
	border-radius: 8px;
	background: var(--c-navy-2);
	box-shadow: 0 24px 53px rgba(0, 0, 0, 0.1), 0 96px 96px rgba(0, 0, 0, 0.09);
	overflow: hidden;
}

.hero__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1200 / 620;
	object-fit: cover;
}

.hero__media--placeholder {
	aspect-ratio: 1200 / 620;
}

.hero__media--video {
	aspect-ratio: 16 / 9;
	position: relative;
}

.hero__media--video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Self-hosted variant video. Fills the same 16/9 box the poster occupies, so
   pressing play causes no layout shift. Native controls = click-to-play. */
.hero__media--video .hero__video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	background: var(--c-navy);
	object-fit: cover;
}

/* --------------------------------------------------------------------------
 * Impact stat / quick message
 * ------------------------------------------------------------------------ */

.stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 34px;
	background: var(--c-cream);
	text-align: center;
	padding: clamp(64px, 7.22vw, 104px) var(--pad-x);
}

.stat__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
}

.stat__number {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2rem, 5vw, 4.5rem);
	line-height: 1.1;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--c-red);
	margin: 0;
}

.stat__label {
	font-size: clamp(0.875rem, 1.25vw, 1.125rem);
	font-weight: 700;
	letter-spacing: 0.167em;
	text-transform: uppercase;
	color: var(--c-navy);
	margin: 0;
}

.stat__message {
	width: min(1018px, 100%);
	background: var(--c-cream);
	border: 2px solid var(--c-navy-14);
	border-radius: 8px;
	padding: clamp(36px, 4.2vw, 60px) clamp(28px, 4.2vw, 60px);
	box-shadow: 0 9px 10px rgba(0, 0, 0, 0.05), 0 36px 18px rgba(0, 0, 0, 0.04);
}

.stat__message p {
	font-size: clamp(1.125rem, 1.88vw, 1.6875rem);
	line-height: 1.58;
	max-width: 920px;
	margin: 0 auto;
}

/* --------------------------------------------------------------------------
 * Endorsements carousel (toggled off by default)
 * ------------------------------------------------------------------------ */

.endorsements {
	background: var(--c-cream-2);
	padding: clamp(56px, 6.11vw, 88px) 0 clamp(64px, 6.67vw, 96px) var(--pad-x-wide);
}

.endorsements__header {
	padding-right: var(--pad-x-wide);
	margin-bottom: 36px;
}

.endorsements__kicker {
	font-size: clamp(0.875rem, 1.25vw, 1.125rem);
	font-weight: 700;
	letter-spacing: 0.167em;
	text-transform: uppercase;
	color: var(--c-red);
	margin: 0 0 10px;
}

.endorsements__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.75rem, 3.47vw, 3.125rem);
	line-height: 1.05;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--c-navy);
	margin: 0;
}

.endorsements__rail {
	display: flex;
	gap: clamp(24px, 3.13vw, 45px);
	list-style: none;
	margin: 0;
	padding: 0 var(--pad-x-wide) 12px 0;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
	scrollbar-color: var(--c-navy-22) transparent;
}

.endorsement-card {
	flex: 0 0 min(361px, 78vw);
	scroll-snap-align: start;
}

.endorsement-card__photo {
	aspect-ratio: 361 / 439;
	background: var(--c-navy);
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 23px;
}

.endorsement-card__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.endorsement-card__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.25rem, 1.53vw, 1.375rem);
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--c-navy);
	margin: 0 0 8px;
}

.endorsement-card__district {
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: 0.154em;
	text-transform: uppercase;
	color: var(--c-red);
	margin: 0;
}

/* --------------------------------------------------------------------------
 * Sign-up form section
 * ------------------------------------------------------------------------ */

.signup {
	position: relative;
	background: var(--c-navy);
	padding: clamp(64px, 6.67vw, 96px) var(--pad-x) clamp(72px, 7.22vw, 104px);
}

/* Texas-flag texture blended over the navy, as in the design. */
.signup::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/flag-texture.png") center / cover no-repeat;
	mix-blend-mode: soft-light;
	opacity: 0.29;
	pointer-events: none;
}

.signup__card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 32px;
	width: min(820px, 100%);
	margin: 0 auto;
	background: var(--c-cream);
	border-radius: 6px;
	padding: clamp(32px, 3.89vw, 56px) clamp(20px, 4.44vw, 64px);
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.signup__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2.125rem, 3.6vw, 2.5rem);
	line-height: 1.02;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	text-align: center;
	color: var(--c-navy);
	/* Figma pairs 70px type with a 640px box; 640/70 = 9.15em keeps that ratio
	   at any computed size, so the line always breaks after "For". */
	max-width: 9.15em;
	margin: 0 auto;
}

/* ----- Gravity Forms (plugin CSS disabled; the theme owns the markup) ---- */

.signup .gform_wrapper form {
	margin: 0;
}

.signup .gform_heading {
	display: none;
}

.signup .gform_fields {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.signup .gfield {
	grid-column: 1 / -1;
}

.signup .gfield.gf-half {
	grid-column: auto / span 1;
}

.signup .gfield_label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.123em;
	text-transform: uppercase;
	color: var(--c-navy-70);
	margin-bottom: 8px;
}

.signup .gfield_required {
	display: none;
}

.signup .ginput_container input[type="text"],
.signup .ginput_container input[type="email"],
.signup .ginput_container input[type="tel"],
.signup .ginput_container input[type="number"] {
	width: 100%;
	background: #fff;
	border: 1px solid var(--c-navy-22);
	border-radius: 4px;
	padding: 16px 18px;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: normal;
	color: var(--c-navy);
}

.signup .ginput_container input::placeholder {
	color: var(--c-navy-42);
	opacity: 1;
}

.signup .ginput_container input:focus {
	outline: 2px solid var(--c-navy);
	outline-offset: -1px;
	border-color: var(--c-navy);
}

/* GF renders some fields (consent) as fieldsets — neutralize browser chrome. */
.signup fieldset.gfield {
	border: 0;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.signup .gfield legend.gfield_label {
	display: block;
	float: none;
	width: auto;
	padding: 0;
}

/* Consent checkbox (compliance field — intentionally low-key). */
.signup .ginput_container_consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	line-height: 1.45;
	color: var(--c-navy-70);
}

.signup .ginput_container_consent input[type="checkbox"] {
	accent-color: var(--c-red);
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	flex-shrink: 0;
}

.signup .ginput_container_consent .gfield_consent_label {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--c-navy-70);
}

/* The Privacy Policy link inside the consent text. */
.signup .ginput_container_consent a,
.signup .ginput_container_consent a:visited {
	color: var(--c-red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.signup .ginput_container_consent a:hover,
.signup .ginput_container_consent a:focus {
	color: var(--c-red-hover);
}

.signup .gfield_description {
	font-size: 14px;
	color: var(--c-navy-60);
	margin-top: 6px;
}

/* Validation */
.signup .gform_validation_errors {
	background: rgba(189, 35, 44, 0.08);
	border: 1px solid var(--c-red);
	border-radius: 4px;
	padding: 12px 16px;
	margin-bottom: 18px;
}

.signup .gform_validation_errors h2 {
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 700;
	color: var(--c-red);
	margin: 0;
}

.signup .gform_validation_errors ol {
	display: none;
}

.signup .gfield_validation_message,
.signup .validation_message {
	font-size: 14px;
	font-weight: 600;
	color: var(--c-red);
	margin-top: 6px;
}

.signup .gfield_error .ginput_container input {
	border-color: var(--c-red);
}

/* Submit — sits outside the fields grid, so restate the 18px field gap. */
.signup .gform_footer {
	margin: 18px 0 0;
	padding: 0;
}

.signup .gform_footer input[type="submit"],
.signup .gform_footer button {
	width: 100%;
	background: var(--c-navy);
	color: var(--c-cream);
	border: 0;
	border-radius: 4px;
	padding: 22px;
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.signup .gform_footer input[type="submit"]:hover,
.signup .gform_footer input[type="submit"]:focus,
.signup .gform_footer button:hover,
.signup .gform_footer button:focus {
	background: var(--c-navy-hover);
}

/* Confirmation */
.signup .gform_confirmation_message {
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	line-height: 1.5;
	text-align: center;
	color: var(--c-navy);
}

/* --------------------------------------------------------------------------
 * 404
 * ------------------------------------------------------------------------ */

.error-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--c-navy);
	color: var(--c-cream);
	text-align: center;
	padding: clamp(72px, 9vw, 140px) var(--pad-x);
}

.error-404__code {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(4rem, 11vw, 9rem);
	line-height: 0.85;
	letter-spacing: -0.01em;
	color: var(--c-red);
	margin: 0 0 clamp(12px, 1.5vw, 20px);
}

.error-404__title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(1.75rem, 3.2vw, 2.75rem);
	line-height: 1;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--c-cream);
	margin: 0;
}

.error-404__message {
	font-size: clamp(1rem, 1.4vw, 1.25rem);
	line-height: 1.5;
	color: var(--c-cream-70);
	max-width: 34em;
	margin: 16px 0 0;
}

.error-404__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 18px;
	margin-top: clamp(28px, 3vw, 40px);
}

.error-404__home,
.error-404__home:visited {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-cream-70);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.error-404__home:hover,
.error-404__home:focus {
	color: var(--c-cream);
	border-bottom-color: rgba(244, 239, 230, 0.4);
}

/* --------------------------------------------------------------------------
 * Interior content pages (Privacy Policy, etc.)
 *
 * Scoped with :not(.landing) so the front page's full-bleed sections are
 * untouched. Any page added to a site from this template gets a readable
 * container for free.
 * ------------------------------------------------------------------------ */

/*
 * Deliberately NOT using --pad-x here. That token is the hero's full-bleed
 * gutter (up to 120px); inside a max-width column with border-box sizing it
 * eats the measure instead of adding breathing room. A content column just
 * needs a small gutter that matters on narrow screens.
 */
.site-main:not(.landing) {
	max-width: 780px;
	margin: 0 auto;
	padding: clamp(36px, 4vw, 56px) 24px clamp(48px, 5vw, 72px);
}

.site-main:not(.landing) .entry-header {
	margin-bottom: clamp(24px, 3vw, 40px);
}

.site-main:not(.landing) .entry-title {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	color: var(--c-navy);
	margin: 0;
}

.site-main:not(.landing) .entry-content {
	font-size: 17px;
	line-height: 1.65;
}

.site-main:not(.landing) .entry-content > * + * {
	margin-top: 1.15em;
}

/* Body font for content headings — easier to read than the display face at
   legal-copy length, and the hierarchy still reads clearly. */
.site-main:not(.landing) .entry-content h2,
.site-main:not(.landing) .entry-content h3,
.site-main:not(.landing) .entry-content h4 {
	font-family: var(--font-body);
	font-weight: 700;
	line-height: 1.25;
	color: var(--c-navy);
	margin-top: 1.9em;
	margin-bottom: 0.4em;
}

.site-main:not(.landing) .entry-content h2 {
	font-size: 1.5rem;
	letter-spacing: -0.005em;
}

.site-main:not(.landing) .entry-content h3 {
	font-size: 1.1875rem;
}

.site-main:not(.landing) .entry-content h4 {
	font-size: 1.0625rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--c-navy-70);
}

.site-main:not(.landing) .entry-content a,
.site-main:not(.landing) .entry-content a:visited {
	color: var(--c-red);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	overflow-wrap: break-word;
}

.site-main:not(.landing) .entry-content a:hover,
.site-main:not(.landing) .entry-content a:focus {
	color: var(--c-red-hover);
}

.site-main:not(.landing) .entry-content ul,
.site-main:not(.landing) .entry-content ol {
	padding-left: 1.35em;
}

.site-main:not(.landing) .entry-content li + li {
	margin-top: 0.4em;
}

.site-main:not(.landing) .entry-content blockquote {
	border-left: 3px solid var(--c-navy-22);
	padding-left: 1.15em;
	margin-left: 0;
	color: var(--c-navy-70);
}

.site-main:not(.landing) .entry-content img {
	max-width: 100%;
	height: auto;
}

.site-main:not(.landing) .entry-footer {
	margin-top: 2.5em;
	font-size: 13px;
	color: var(--c-navy-42);
}

/* --------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------ */

.site-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 27px;
	background: var(--c-cream);
	text-align: center;
	padding: 56px var(--pad-x-wide);
}

.footer-logo img {
	height: 75px;
	width: auto;
}

.footer-social-links {
	display: flex;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-social-links a {
	color: var(--c-navy);
	display: block;
	line-height: 0;
}

.footer-social-links a:hover {
	color: var(--c-red);
}

/* Disclaimer + source note sit closer together than the footer's 27px gap. */
.footer-fine-print {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

/* Citation for claims on the page — a step quieter than the disclaimer. */
.footer-source-note {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--c-navy-42);
}

/* The base template boxes the disclaimer; this design wants a plain line. */
.paid-for-disclaimer {
	border: 0;
	padding: 0;
	margin: 0;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--c-navy-60);
}

/* Legal + copyright share one quiet fine-print row. */
.site-footer .site-info {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 4px 12px;
	font-size: 12px;
	color: var(--c-navy-42);
}

.footer-legal-links a,
.footer-legal-links a:visited {
	color: var(--c-navy-42);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus {
	color: var(--c-navy);
	border-bottom-color: var(--c-navy-22);
}

/* Separator only when the legal link actually follows the copyright. */
.site-info__copyright + .footer-legal-links::before {
	content: "•";
	margin-right: 12px;
	color: currentcolor;
}

.site-footer .site-info a {
	color: inherit;
}

/* --------------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------------ */

@media (max-width: 782px) {
	.site-header {
		padding: 16px 20px;
	}

	.site-branding .custom-logo {
		height: 48px;
	}

	.donate-button {
		min-width: 0;
		padding: 10px 18px;
		font-size: 13px;
	}

	.footer-logo img {
		height: 56px;
	}
}

@media (max-width: 600px) {
	.signup .gform_fields {
		grid-template-columns: 1fr;
	}

	.signup .gfield.gf-half {
		grid-column: 1 / -1;
	}

	.button--hero {
		width: 100%;
	}
}
