/*
 * TSFA site fixes (1.24.1): layout, contrast and tap-target fixes from the Nov 23, 2026 visual check.
 * Loaded on every page. Homepage rules are scoped to #tsfa-homepage-wordpress, so they do nothing elsewhere.
 * Selectors start with "html body" so they beat the theme and the homepage's own inline <style>,
 * which loads after this file.
 */

/* ---------- Header: desktop menu overflowed between 1000 and about 1450 px wide ---------- */
@media (min-width: 1000px) and (max-width: 1499px) {
	html body #header-outer #top #logo img {
		height: 56px !important;
		width: auto !important;
	}
}

@media (min-width: 1000px) and (max-width: 1399px) {
	html body #header-outer #top nav > ul.sf-menu > li > a {
		margin-left: 10px !important;
		padding-left: 6px !important;
		padding-right: 6px !important;
	}
}

@media (min-width: 1000px) and (max-width: 1199px) {
	html body #header-outer #top .container {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}
	html body #header-outer #top nav > ul.sf-menu > li > a {
		margin-left: 2px !important;
		padding-left: 4px !important;
		padding-right: 4px !important;
		font-size: 13px !important;
	}
}

/* ---------- Header: content showed through the 91% white sticky header ---------- */
html body #header-outer,
html body[data-header-color="dark"] #header-outer { background-color: #ffffff; }

/* ---------- Tap targets ---------- */
/* Mobile menu button was 22x20. */
html body #header-outer #top .slide-out-widget-area-toggle a {
	box-sizing: content-box;
	padding: 12px;
	margin: -12px;
}

/* Footer links were 18 px tall. */
html body #footer-outer .widget a,
html body #tsfa-status-line a {
	display: inline-block;
	padding-top: 6px;
	padding-bottom: 6px;
}

/* ---------- Contrast: skip link and Close Menu used the 4.46:1 accent pink ---------- */
html body a.nectar-skip-to-content,
html body a.nectar-skip-to-content:focus,
html body .slide_out_area_close { color: #b0103b !important; }

/* =================================== Homepage =================================== */

/* The theme's Font Awesome rule span[class*="fa-"] matched every "tsfa-" class name and set the
   FontAwesome font (serif fallback for letters) and centred text. Undo it for homepage spans. */
html body #tsfa-homepage-wordpress span[class*="fa-"] {
	font-family: Arial, Helvetica, sans-serif;
	top: 0;
	word-spacing: normal;
}
/* 1.24.5: the same clash on every plugin-built page (Our Shops card labels and links rendered in a
   serif fallback). Applies to any span whose class has "tsfa-" inside a TSFA container. */
html body [id^="tsfa-"] span[class*="tsfa-"] {
	font-family: inherit;
	text-align: inherit;
	top: 0;
	word-spacing: normal;
}

html body #tsfa-homepage-wordpress .tsfa-combined-policy-point {
	align-items: flex-start;
	line-height: 1.45;
	text-align: left;
}
html body #tsfa-homepage-wordpress .tsfa-combined-mission-icon { text-align: center; }

/* ---------- Contrast ---------- */
#tsfa-homepage-wordpress { --tsfa-fix-gold-dark: #7d6220; }

/* Gold labels on white, cream and light blue were 2.1-2.3:1. Gold stays on the dark sections. */
html body #tsfa-homepage-wordpress .tsfa-combined-kicker { color: var(--tsfa-fix-gold-dark); }
html body #tsfa-homepage-wordpress .tsfa-combined-hero .tsfa-combined-kicker,
html body #tsfa-homepage-wordpress .tsfa-combined-policy .tsfa-combined-kicker { color: var(--tsfa-combined-gold); }
html body #tsfa-homepage-wordpress .tsfa-combined-disclosure .tsfa-combined-mark { color: var(--tsfa-fix-gold-dark); }

/* Red text links on cream were 4.2:1. */
html body #tsfa-homepage-wordpress .tsfa-combined-inline-links a,
html body #tsfa-homepage-wordpress .tsfa-combined-priority-link { color: var(--tsfa-combined-red-dark); }
html body #tsfa-homepage-wordpress .tsfa-combined-inline-links a:hover,
html body #tsfa-homepage-wordpress .tsfa-combined-priority-link:hover { color: #7f1f29; }

/* "ENACTED" pill was 3.7:1. */
html body #tsfa-homepage-wordpress .tsfa-combined-priority-top span { background: rgba(0, 0, 0, 0.24); }

/* Red sign-up band: 82% white text on #cf3f4b was 3.6:1. */
html body #tsfa-homepage-wordpress .tsfa-combined-final { background: #b8323d; }
html body #tsfa-homepage-wordpress .tsfa-combined-final p { color: #ffffff; }

/* ---------- Text under 12 px ---------- */
html body #tsfa-homepage-wordpress .tsfa-combined-brief-card > p:first-child,
html body #tsfa-homepage-wordpress .tsfa-combined-mission-item small,
html body #tsfa-homepage-wordpress .tsfa-combined-legal-note,
html body #tsfa-homepage-wordpress .tsfa-combined-priority-top span,
html body #tsfa-homepage-wordpress .tsfa-combined-bill small,
html body #tsfa-homepage-wordpress .tsfa-combined-priority-bottom small,
html body #tsfa-homepage-wordpress .tsfa-combined-work-number,
html body #tsfa-homepage-wordpress .tsfa-combined-source-link { font-size: 12px; }

/* ---------- Icons: plain text shapes (▦ ▤ □ ◇ ≡ ☑ ◉ ●●) looked like missing glyphs ---------- */
#tsfa-homepage-wordpress {
	--tsfa-ic-doc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l5 5v13H6z'/%3E%3Cpath d='M14 3v5h5M9 13h7M9 17h7'/%3E%3C/svg%3E");
	--tsfa-ic-users: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.5'/%3E%3Cpath d='M2.5 20c.6-3.6 3.3-6 6.5-6s5.9 2.4 6.5 6'/%3E%3Ccircle cx='17' cy='8.5' r='2.7'/%3E%3Cpath d='M16.8 14c2.6.3 4.2 2.4 4.7 5.5'/%3E%3C/svg%3E");
	--tsfa-ic-capitol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21v-9M9.7 21v-9M14.3 21v-9M19 21v-9M3 12h18L12 5z'/%3E%3Cpath d='M12 5V2'/%3E%3C/svg%3E");
	--tsfa-ic-store: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11v10h16V11'/%3E%3Cpath d='M3.5 4h17L22 9a2.5 2.5 0 0 1-5 0 2.5 2.5 0 0 1-5 0 2.5 2.5 0 0 1-5 0 2.5 2.5 0 0 1-5 0z'/%3E%3Cpath d='M10 21v-5h4v5'/%3E%3C/svg%3E");
	--tsfa-ic-box: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7.5 12 3l9 4.5v9L12 21l-9-4.5z'/%3E%3Cpath d='M3 7.5 12 12l9-4.5M12 12v9'/%3E%3C/svg%3E");
	--tsfa-ic-clipboard: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6v3H9z'/%3E%3Cpath d='M7 4.5H5V21h14V4.5h-2M9 13.5l2 2 4-4'/%3E%3C/svg%3E");
	--tsfa-ic-bell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 16v-5a6 6 0 0 1 12 0v5l2 2H4z'/%3E%3Cpath d='M10 21a2 2 0 0 0 4 0'/%3E%3C/svg%3E");
	--tsfa-ic-book: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5c3.2-1 6.5-.8 9 1.2C14.5 4.2 17.8 4 21 5v14c-3.2-1-6.5-.8-9 1.2-2.5-2-5.8-2.2-9-1.2z'/%3E%3Cpath d='M12 6.2v14'/%3E%3C/svg%3E");
	--tsfa-ic-chart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M6 21v-8M11 21V5M16 21v-11'/%3E%3C/svg%3E");
	--tsfa-ic-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.8-3.4 7.9-8 9-4.6-1.1-8-4.2-8-9V6z'/%3E%3C/svg%3E");
	--tsfa-ic-scale: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18M7 21h10M4 7h16'/%3E%3Cpath d='M6 7l-3 7a3 3 0 0 0 6 0zM18 7l-3 7a3 3 0 0 0 6 0z'/%3E%3C/svg%3E");
}

html body #tsfa-homepage-wordpress .tsfa-combined-button-primary .tsfa-combined-mark,
html body #tsfa-homepage-wordpress .tsfa-combined-button-secondary .tsfa-combined-mark,
html body #tsfa-homepage-wordpress .tsfa-combined-brief-line:nth-child(3) .tsfa-combined-mark,
html body #tsfa-homepage-wordpress .tsfa-combined-brief-line:nth-child(4) .tsfa-combined-mark,
html body #tsfa-homepage-wordpress .tsfa-combined-mission-item:nth-child(3) .tsfa-combined-mark,
html body #tsfa-homepage-wordpress .tsfa-combined-work-card .tsfa-combined-mark,
html body #tsfa-homepage-wordpress .tsfa-combined-coalition-card:nth-child(1) .tsfa-combined-mark,
html body #tsfa-homepage-wordpress .tsfa-combined-coalition-card:nth-child(2) .tsfa-combined-mark,
html body #tsfa-homepage-wordpress .tsfa-combined-principle:nth-child(1) .tsfa-combined-mark,
html body #tsfa-homepage-wordpress .tsfa-combined-principle:nth-child(3) .tsfa-combined-mark,
html body #tsfa-homepage-wordpress .tsfa-combined-principle:nth-child(4) .tsfa-combined-mark {
	width: var(--tsfa-ic-size, 20px);
	height: var(--tsfa-ic-size, 20px);
	font-size: 0 !important;
	background-color: currentColor;
	-webkit-mask: var(--tsfa-ic) center / contain no-repeat;
	mask: var(--tsfa-ic) center / contain no-repeat;
}

html body #tsfa-homepage-wordpress .tsfa-combined-button-primary .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-doc); --tsfa-ic-size: 18px; }
html body #tsfa-homepage-wordpress .tsfa-combined-button-secondary .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-users); --tsfa-ic-size: 18px; }
html body #tsfa-homepage-wordpress .tsfa-combined-brief-line:nth-child(3) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-capitol); }
html body #tsfa-homepage-wordpress .tsfa-combined-brief-line:nth-child(4) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-store); }
html body #tsfa-homepage-wordpress .tsfa-combined-mission-item:nth-child(3) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-shield); --tsfa-ic-size: 22px; }
html body #tsfa-homepage-wordpress .tsfa-combined-work-card:nth-child(1) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-capitol); }
html body #tsfa-homepage-wordpress .tsfa-combined-work-card:nth-child(2) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-clipboard); }
html body #tsfa-homepage-wordpress .tsfa-combined-work-card:nth-child(3) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-bell); }
html body #tsfa-homepage-wordpress .tsfa-combined-work-card:nth-child(4) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-book); }
html body #tsfa-homepage-wordpress .tsfa-combined-coalition-card:nth-child(1) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-store); --tsfa-ic-size: 28px; }
html body #tsfa-homepage-wordpress .tsfa-combined-coalition-card:nth-child(2) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-box); --tsfa-ic-size: 28px; }
html body #tsfa-homepage-wordpress .tsfa-combined-principle:nth-child(1) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-chart); --tsfa-ic-size: 18px; }
html body #tsfa-homepage-wordpress .tsfa-combined-principle:nth-child(3) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-shield); --tsfa-ic-size: 18px; }
html body #tsfa-homepage-wordpress .tsfa-combined-principle:nth-child(4) .tsfa-combined-mark { --tsfa-ic: var(--tsfa-ic-scale); --tsfa-ic-size: 18px; }

/* ================================ 1.24.2 design pass ================================ */

/* ---------- One text face: the menu was Cabin, the footer Roboto, the content Arial ---------- */
html body #header-outer .menu-title-text,
html body #footer-outer p,
html body #footer-outer a:not([class*="fa-"]):not([class*="icon"]),
html body #footer-outer li,
html body #footer-outer h1, html body #footer-outer h2, html body #footer-outer h3, html body #footer-outer h4,
html body #tsfa-homepage-wordpress .tsfa-combined-quote { font-family: Arial, Helvetica, sans-serif; }

/* Mobile slide-out menu: the theme sets Open Sans with a more specific selector. */
html body #slide-out-widget-area li.menu-item > a,
html body #slide-out-widget-area .slide_out_area_close { font-family: Arial, Helvetica, sans-serif !important; }

/* Its social icons were white at 70% opacity on #e81b52: 2.8:1, below 3:1 for icons. */
html body #slide-out-widget-area .off-canvas-social-links a { opacity: 1 !important; }

html body #tsfa-homepage-wordpress .tsfa-combined-quote {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.45;
}

/* ---------- Social links appeared three times: keep only the Follow TSFA band ---------- */
html body #header-outer #top nav li.button_social_group,
html body #footer-outer ul.social { display: none !important; }

/* ---------- Body copy was 12-13 px: card and supporting text to 15 px ---------- */
html body #tsfa-homepage-wordpress .tsfa-combined-brief-line span:not(.tsfa-combined-mark),
html body #tsfa-homepage-wordpress .tsfa-combined-work-card > p,
html body #tsfa-homepage-wordpress .tsfa-combined-coalition-card > p,
html body #tsfa-homepage-wordpress .tsfa-combined-disclosure > p,
html body #tsfa-homepage-wordpress .tsfa-combined-principle > p {
	font-size: 15px;
	line-height: 1.55;
}
html body #tsfa-homepage-wordpress .tsfa-combined-brief-line strong { font-size: 15px; }
html body #tsfa-homepage-wordpress .tsfa-combined-priority-bottom > p,
html body #tsfa-homepage-wordpress .tsfa-combined-policy-point { font-size: 15px; }

/* Links and buttons that were 12-13 px. */
html body #tsfa-homepage-wordpress .tsfa-combined-button-primary,
html body #tsfa-homepage-wordpress .tsfa-combined-button-secondary,
html body #tsfa-homepage-wordpress .tsfa-combined-final-action,
html body #tsfa-homepage-wordpress .tsfa-combined-inline-links a,
html body #tsfa-homepage-wordpress .tsfa-combined-priority-link,
html body #tsfa-homepage-wordpress .tsfa-combined-source-link { font-size: 14px; }

/* ---------- Focus ring: gold #c8a657 was 2.3:1 on white and cream ---------- */
html body #tsfa-homepage-wordpress a:focus-visible { outline-color: #7d6220; }
html body #tsfa-homepage-wordpress .tsfa-combined-hero a:focus-visible,
html body #tsfa-homepage-wordpress .tsfa-combined-policy a:focus-visible { outline-color: var(--tsfa-combined-gold); }
html body #tsfa-homepage-wordpress .tsfa-combined-final a:focus-visible { outline-color: #ffffff; }

/* ---------- Section labels: keep only the one that adds a fact ("Legislative leadership") ---------- */
html body #tsfa-homepage-wordpress .tsfa-combined-hero .tsfa-combined-kicker,
html body #tsfa-homepage-wordpress .tsfa-combined-section .tsfa-combined-kicker,
html body #tsfa-homepage-wordpress .tsfa-combined-history .tsfa-combined-kicker { display: none; }

/* ---------- 01-04 numbers on cards that aren't a sequence: keep the icon only ---------- */
html body #tsfa-homepage-wordpress .tsfa-combined-work-number > span:first-child:not(.tsfa-combined-mark) { display: none; }
html body #tsfa-homepage-wordpress .tsfa-combined-work-number { justify-content: flex-start; }
html body #tsfa-homepage-wordpress .tsfa-combined-work-card .tsfa-combined-mark { --tsfa-ic-size: 24px; }

/* ================= 1.24.4: Find My Legislator header band ================= */
/* Matches the Team, Contact and News pages. The doubled ID outranks the
   Salient theme's global heading and paragraph rules. */
html body #tsfa-fml-hero#tsfa-fml-hero {
  position: relative;
  margin: 0 0 44px;
  padding: 68px clamp(34px, 6vw, 88px) 76px;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 82% 20%, rgba(22, 95, 141, 0.7), transparent 36%),
    linear-gradient(125deg, #061f38 0%, #092f53 58%, #0c456f 100%);
}
html body #tsfa-fml-hero#tsfa-fml-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 7px;
  background: linear-gradient(90deg, #cf3f4b 0 34%, #c8a657 34% 67%, #4b97b8 67%);
}
html body #tsfa-fml-hero#tsfa-fml-hero h1,
html body #tsfa-fml-hero#tsfa-fml-hero p {
  margin-top: 0 !important;
  padding: 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-style: normal !important;
  text-transform: none !important;
}
html body #tsfa-fml-hero#tsfa-fml-hero p.tsfa-fml-kicker {
  margin-bottom: 14px !important;
  color: #c8a657 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 1.7px !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}
html body #tsfa-fml-hero#tsfa-fml-hero h1 {
  max-width: 760px;
  margin-bottom: 18px !important;
  color: #ffffff !important;
  font-size: clamp(38px, 5vw, 64px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  letter-spacing: -2px !important;
}
html body #tsfa-fml-hero#tsfa-fml-hero p.tsfa-fml-lead {
  max-width: 680px;
  margin-bottom: 0 !important;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 18px !important;
  line-height: 1.58 !important;
}
@media (max-width: 790px) {
  html body #tsfa-fml-hero#tsfa-fml-hero { padding: 56px 28px 64px; }
}
@media (max-width: 570px) {
  html body #tsfa-fml-hero#tsfa-fml-hero h1 { font-size: 42px !important; letter-spacing: -1.5px !important; }
  html body #tsfa-fml-hero#tsfa-fml-hero p.tsfa-fml-lead { font-size: 16px !important; }
}
