:root { --blue: #1b3f73; --ink: #14233a; --gold: #f0b323; --red: #952626; --green: #318f31; --paper: #f5f6f4; --white: #ffffff; --rule: #c5cbd3; --muted: #46546a; --measure: 68rem; /* max content width */ --gutter: 1.25rem; /* side padding */ --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; --font-sign: "Arial Black", "Helvetica Neue", Arial, system-ui, sans-serif; } /* ---------- Reset-ish ---------- */ *, *::before, *::after { box-sizing: border-box; } [hidden] { display: none !important; } html { -webkit-text-size-adjust: 100%; } body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; } a { color: var(--gold); text-decoration: none; } a:hover { text-decoration: underline; } img { max-width: 100%; height: auto; } /* Lets full-width bars keep their text aligned to the content column */ .site-header, .site-footer, main { padding-inline: max(var(--gutter), calc((100% - var(--measure)) / 2)); } /* ---------- Skip link ---------- */ .skip-link { position: absolute; left: var(--gutter); top: -4rem; z-index: 10; padding: 0.6rem 1rem; background: var(--gold); color: var(--ink); font-weight: 700; } .skip-link:focus { top: 0.5rem; } /* ---------- Header ---------- */ .site-header { background: var(--blue); color: var(--white); border-bottom: 6px solid var(--gold); padding-block: 1rem 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.5rem 2rem; } .masthead { display: flex; align-items: center; gap: 0.9rem; padding-bottom: 0.9rem; } #header-icon { width: 56px; height: 56px; object-fit: contain; background: var(--white); padding: 4px; border-radius: 4px; flex: none; } .site-header h1 { margin: 0; font-family: var(--font-sign); font-weight: 900; font-size: clamp(1.5rem, 4.5vw, 2.25rem); line-height: 1; letter-spacing: -0.02em; } /* ---------- Nav ---------- */ .site-header nav { display: flex; flex-wrap: wrap; gap: 0.25rem; } .site-header nav a { display: block; padding: 0.7rem 1rem 0.8rem; color: var(--white); font-weight: 700; text-decoration: none; border-bottom: 4px solid transparent; margin-bottom: -6px; /* sits on top of the gold rule */ } .site-header nav a:hover { border-bottom-color: var(--gold); } /* Set by app.js for the current page */ .site-header nav a[aria-current="page"] { background: var(--gold); color: var(--ink); border-bottom-color: var(--gold); } /* ---------- Loader ---------- */ #loader { padding: 0.6rem var(--gutter); background: var(--ink); color: var(--white); font-weight: 600; font-size: 0.95rem; border-left: 8px solid var(--gold); } /* ---------- Main content area ---------- */ main { flex: 1; padding-block: 2.5rem 4rem; } main:focus { outline: none; } /* Baseline styles so loaded pages look right without extra work */ main>* { max-width: 44rem; } main>.wide { max-width: none; } main h2, main h3 { font-family: var(--font-sign); font-weight: 900; line-height: 1.1; letter-spacing: -0.015em; color: var(--blue); } main h2 { font-size: clamp(1.75rem, 5vw, 2.75rem); margin: 0 0 1rem; } main h3 { font-size: 1.35rem; margin: 2.25rem 0 0.5rem; } main p { margin: 0 0 1.1rem; } main a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 0.2em; } main a:hover { background: var(--gold); text-decoration-color: transparent; } main ul { padding-left: 1.25rem; } main li { margin-bottom: 0.35rem; } /* ---------- Footer ---------- */ .site-footer { background: var(--ink); color: #d8dee8; border-top: 6px solid var(--gold); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.25rem 2rem; font-size: 0.95rem; } .site-footer p { margin: 0; } .site-footer .tagline { font-family: var(--font-sign); font-weight: 900; color: var(--white); } /* ---------- Focus ---------- */ :focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; } main :focus-visible { outline-color: var(--blue); } /* ---------- Small screens ---------- */ @media (max-width: 36rem) { .site-header { padding-top: 0.75rem; } .masthead { padding-bottom: 0.6rem; } #header-icon { width: 44px; height: 44px; } .site-header nav { width: 100%; margin-inline: calc(var(--gutter) * -1); width: calc(100% + var(--gutter) * 2); } .site-header nav a { flex: 1 1 auto; text-align: center; padding-inline: 0.5rem; } main { padding-block: 1.75rem 3rem; } } @media (prefers-reduced-motion: no-preference) { .site-header nav a { transition: border-color 0.12s; } } /* ---------- Join form ---------- */ .form { max-width: 44rem; margin: 0 auto 2rem; background: var(--white); padding: 1.5rem; border-radius: 0.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .form h2 { margin-top: 0; } .form p { margin-bottom: 1.5rem; } .form .field { margin-bottom: 1.5rem; } .form .field label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--ink); } .form .field input, .form .field textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--rule); border-radius: 0.3rem; font-size: 1rem; color: var(--ink); background: var(--paper); transition: border-color 0.2s; } .form .field input:focus, .form .field textarea:focus { border-color: var(--gold); outline: none; } .form .field textarea { resize: vertical; min-height: 8rem; } .form .field .hint { display: block; margin: 0.5rem 0 1rem 0; color: var(--muted); font-size: 0.9rem; } .form .hp { display: none; } .form .btn { width: 100%; padding: 0.75rem; background: var(--gold); color: var(--ink); border: none; border-radius: 0.3rem; font-weight: 700; cursor: pointer; transition: background 0.2s; } .form .btn:hover { background: #e6a800; } .form .form-status { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); } .form fieldset.field { border: 0; padding: 0; min-width: 0; } .required-field-asterix { color: var(--red); } .form fieldset.field legend { padding: 0; margin-bottom: 0.5rem; font-weight: 600; color: var(--ink); } .form .field .radio-group input[type="radio"] { width: auto; padding: 0; margin: 0; accent-color: var(--blue); } .form .field .radio-group { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 0.5rem; } .radio-group label { display: inline-flex; align-items: center; gap: 0.5rem; margin-bottom: 0; font-weight: 600; color: var(--ink); cursor: pointer; } .radio-group label:has(input[type="radio"]:checked) { color: var(--blue); } /* ---------- Community section ---------- */ .community { max-width: 44rem; margin: 2rem auto 0; } .community h2 { margin-top: 0; } .community p { margin-bottom: 1.5rem; } .community a { color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 0.2em; } .community a:hover { background: var(--gold); text-decoration-color: transparent; } /* ---------- Calendar styles ---------- */ .calendar { background: var(--white); border: 1px solid var(--rule); border-radius: 0.5rem; padding: 1rem; margin-bottom: 2rem; } .calendar .cal-controls { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; } .calendar .cal-controls button { background: none; border: none; color: var(--blue); font-size: 1.2rem; cursor: pointer; padding: 0.5rem; } .calendar .cal-controls button:hover { color: var(--gold); } .calendar .cal-month { font-size: 1.2rem; font-weight: 600; color: var(--ink); } .calendar .cal-grid { width: 100%; border-collapse: collapse; } .calendar .cal-grid th, .calendar .cal-grid td { padding: 0.5rem; text-align: center; border: 1px solid var(--rule); } .calendar .cal-grid th { background-color: var(--paper); } .calendar .cal-grid td { background-color: var(--paper); } .calendar .cal-grid .day { font-weight: 600; color: var(--ink); } .calendar .cal-grid .today { background-color: var(--gold); color: var(--ink); } .calendar .cal-grid .event { background-color: var(--gold); color: var(--ink); font-weight: 600; } .calendar .cal-detail { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--rule); } .calendar .cal-detail p { margin: 0; font-size: 0.95rem; color: var(--muted); } /* ---------- Upcoming events ---------- */ .upcoming-title { margin-top: 2rem; font-size: 1.2rem; font-weight: 600; color: var(--blue); } .event-list { list-style: none; padding: 0; margin: 0; } .event-list li { padding: 0.75rem 1rem; margin-bottom: 0.5rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 0.3rem; } .event-list li:hover { background: var(--gold); color: var; } /* ---------- Landing page ---------- */ .hero { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); align-items: center; gap: 1.5rem 2.5rem; padding: 2rem; margin-bottom: 2.5rem; background: var(--white); border: 1px solid var(--rule); border-radius: 0.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .hero img { width: 100%; max-width: 11rem; max-height: 11rem; object-fit: contain; justify-self: center; } .hero .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; } .pillars { margin-bottom: 2.5rem; } .pillars-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1rem; } .pillar { background: var(--white); padding: 1.5rem; border: 1px solid var(--rule); border-radius: 0.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .pillar h4 { margin: 0 0 0.5rem; font-family: var(--font-sign); font-weight: 900; font-size: 1.15rem; color: var(--blue); } .pillar .statement { margin: 0 0 0.75rem; font-size: 1.125rem; font-weight: 600; color: var(--ink); } .callout { background: var(--white); padding: 1.75rem 2rem; border: 1px solid var(--rule); border-radius: 0.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .callout .actions { margin-top: 1rem; } .btn { display: inline-block; padding: 0.7rem 1.25rem; border-radius: 0.3rem; font-weight: 700; text-decoration: none; } .btn-primary { background: var(--gold); color: var(--ink); } .btn-primary:hover { background: #e6a800; } .btn-secondary { background: var(--paper); color: var(--blue); border: 1px solid var(--rule); } .btn-secondary:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); } @media (max-width: 48rem) { .hero { grid-template-columns: 1fr; text-align: center; padding: 1.5rem; } .hero img { max-width: 7.5rem; max-height: 7.5rem; } .hero .actions { justify-content: center; } .pillars-grid { grid-template-columns: 1fr; } } /* ---------- About page ---------- */ .page-intro { margin-bottom: 2.5rem; } .page-intro .lead { max-width: 48rem; margin-bottom: 0; } .values-section { background: var(--white); padding: 1.75rem 2rem; margin-bottom: 2.5rem; border: 1px solid var(--rule); border-radius: 0.5rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); } .values-section h3 { margin-top: 0; } .values { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 1.5rem; } .values li { display: flex; align-items: baseline; gap: 0.55rem; margin: 0; padding: 0.55rem 0.75rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 0.35rem; } .values-break { grid-column: 1 / -1; margin-top: 0.5rem; } li .stance-pro { color: var(--green); font-weight: 800; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.03em; } li .stance-anti { color: var(--red); font-weight: 800; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.03em; } @media (max-width: 48rem) { .values-section { padding: 1.5rem; } .values { grid-template-columns: 1fr; } } /* ---------- Take Action / counties ---------- */ .breadcrumb { margin-bottom: 1rem; font-size: 0.95rem; color: var(--muted); } .official-list { list-style: none; padding: 0; display: grid; gap: 0.65rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); } .official-list li { margin: 0; padding: 0.75rem 1rem; background: var(--white); border: 1px solid var(--rule); border-radius: 0.35rem; } .county-map { max-width: 28rem; margin: 1rem auto 1.5rem; } .county-map svg { width: 100%; height: auto; } .county-map path { fill: var(--white); stroke: var(--blue); stroke-width: 0.75; } .county-map a:hover path, .county-map a:focus path { fill: var(--gold); } .county-grid { list-style: none; padding: 0; columns: 14rem; column-gap: 1.5rem; } .county-grid li { margin: 0 0 0.35rem; break-inside: avoid; }