/*
Theme Name: Make Voting Easy
Description: A lightweight civic theme with editable starter pages and native WordPress block patterns.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 7.4
Author: DC Web Systems
Text Domain: make-voting-easy
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face { font-family: 'Libre Franklin'; src: url('assets/fonts/LibreFranklin-Variable.ttf') format('truetype'); font-weight: 100 900; font-style: normal; font-display: swap; }
:root { --green: #009c60; --forest: #123e30; --ink: #182b25; --paper: #f7f7ef; --line: #d3dbcf; --mint: #d9efb7; --max: 1200px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; margin: 0; background: var(--paper); color: var(--ink); font-family: 'Libre Franklin', Arial, sans-serif; font-size: 18px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #d98c00; outline-offset: 5px; }
button, input, textarea, select { font: inherit; }
button, .button, .wp-block-button__link { cursor: pointer; }
img, svg, video { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -.045em; margin: 0 0 1.2rem; overflow-wrap: break-word; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.75rem); }
h2 { font-size: clamp(2.3rem, 4vw, 4rem); }
h3 { font-size: 1.65rem; }
p { margin: 0 0 1.4rem; }
[hidden] { display: none !important; }
.wrap { width: min(var(--max), calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -150px; left: 24px; z-index: 1000; background: white; padding: 12px 20px; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: relative; z-index: 10; }
.header-inner { width: min(var(--max), calc(100% - 96px)); margin: auto; min-height: 116px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-logo-link { display: block; width: 148px; max-width: 100%; }
.site-logo { display: block; width: 100%; height: auto; }
.custom-logo { max-height: 72px; width: auto; display: block; }
.menu { display: flex; align-items: center; gap: 32px; list-style: none; padding: 0; margin: 0; }
.menu a { font-size: 14px; font-weight: 650; text-decoration: none; display: inline-block; padding-block: 12px; }
.menu a:hover, .menu .current-menu-item > a { text-decoration: underline; }
.primary-nav > .menu > li:last-child > a { background: var(--ink); color: white; padding: 13px 22px; border-radius: 3px; }
.primary-nav li { position: relative; }
.sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--paper); padding: 12px 20px; list-style: none; border: 1px solid var(--line); }
.menu li:hover > .sub-menu, .menu li:focus-within > .sub-menu { display: block; }
.mobile-join-link { display: none; }
.eyebrow { text-transform: uppercase; font-size: 12px; letter-spacing: .15em; font-weight: 750; margin-bottom: 25px; }
.hero { width: 100%; max-width: none; margin-inline: 0; display: grid; grid-template-columns: 1.18fr 1fr; min-height: 665px; overflow: hidden; background: var(--forest); color: white; }
.hero-copy { padding: clamp(44px, 6vw, 96px) 36px clamp(44px, 6vw, 96px) max(48px, calc((100vw - var(--max)) / 2)); position: relative; z-index: 1; }
.hero h1 { max-width: 780px; margin-bottom: 40px; }
.hero .eyebrow { color: var(--mint); margin-bottom: 32px; }
.hero-accent { color: var(--mint); }
.hero-art { align-self: stretch; background: url('assets/images/ballot.svg') center / cover no-repeat; min-height: 380px; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button, .wp-block-button__link { display: inline-block; text-decoration: none; padding: 17px 27px; border-radius: 3px; background: var(--forest); color: white; font-size: 15px; line-height: 1.5; font-weight: 700; border: 1px solid transparent; transition: background .15s, transform .15s; }
.button:hover, .wp-block-button__link:hover { background: #205941; transform: translateY(-2px); }
.hero .wp-block-button__link { background: var(--mint); color: var(--ink); }
.hero .wp-block-button__link:hover { background: white; }
.section { padding: 90px max(48px, calc((100vw - var(--max)) / 2)); }
.mission-section { background: var(--paper); }
.mission-statement { font-size: clamp(1.7rem, 2.8vw, 2.65rem); font-weight: 600; line-height: 1.45; letter-spacing: -.035em; max-width: 1160px; margin: 0; }
.why-section { display: grid; grid-template-columns: 1fr 1.55fr; gap: 80px; border-top: 1px solid var(--line); background: #ebeee5; }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.65; }
.section-copy p:last-child { margin-bottom: 0; }
.join-section { background: var(--mint); position: relative; }
.join-section h2 { font-size: clamp(3rem, 6vw, 5.8rem); margin-bottom: 32px; }
.join-section .wp-block-button__link { overflow-wrap: anywhere; }
.site-footer { margin-top: auto; background: var(--ink); color: #f6f8ef; padding: 52px 0 30px; }
.footer-top { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding-bottom: 36px; }
.footer-name { font-size: 23px; font-weight: 750; letter-spacing: -.04em; text-decoration: none; }
.footer-top .menu { gap: 26px; }
.footer-top .menu a { font-size: 12px; font-weight: 500; }
.footer-bottom { padding-top: 28px; border-top: 1px solid #536158; }
.disclaimer { max-width: 850px; font-size: 12px; line-height: 1.8; color: #dce1d7; }
.copyright { font-size: 11px; margin: 24px 0 0; color: #c0cbc0; }
.page-main { padding-block: 72px 100px; min-height: 55vh; }
.page-heading { max-width: 960px; margin-bottom: 48px; }
.page-heading h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
.entry-content { max-width: 780px; }
.entry-content h2 { font-size: 1.8rem; margin-top: 48px; }
.entry-content h3 { margin-top: 32px; }
.entry-content p, .entry-content li { overflow-wrap: anywhere; }
.entry-content .privacy-list-intro { margin-bottom: 8px; }
.entry-content .privacy-list { margin: 0 0 1.4rem; padding-left: 1.5em; }
.entry-content .privacy-list li + li { margin-top: 10px; }
.entry-content .section { padding: 36px; margin-bottom: 36px; }
.entry-content .section h2 { margin-top: 0; }
.entry-content .why-section { grid-template-columns: 1fr; gap: 12px; }
.entry-content .join-section h2 { font-size: 3rem; }
.entry-content > .alignwide { max-width: var(--max); }
.featured-image { margin-bottom: 40px; }
.post-summary { border-top: 1px solid var(--line); padding: 36px 0; max-width: 800px; }
.post-summary h2 { font-size: 2.2rem; }
.post-summary h2 a { text-decoration: none; }
.navigation { margin-block: 40px; }
input[type='search'] { max-width: 100%; border: 1px solid #839083; padding: 12px; background: white; }
input[type='submit'] { padding: 12px 18px; background: var(--forest); color: white; border: 1px solid var(--forest); }
.screen-reader-text { clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; width: 1px; overflow: hidden; position: absolute !important; white-space: nowrap; }
@media (max-width: 1000px) { .hero { grid-template-columns: 1.25fr 1fr; min-height: 590px; } .hero h1 { font-size: 4rem; } .menu { gap: 18px; } .why-section { gap: 40px; } }
@media (max-width: 760px) {
  .wrap, .header-inner { width: calc(100% - 40px); }
  .header-inner { min-height: 92px; gap: 12px; }
  .site-brand { min-width: 0; }
  .custom-logo-link, .custom-logo { max-width: 100%; }
  .site-logo-link { width: 100px; }
  .mobile-join-link { display: inline-block; flex: none; padding: 11px 13px; border-radius: 3px; background: var(--ink); color: white; font-size: 13px; font-weight: 700; line-height: 1.2; text-decoration: none; white-space: nowrap; }
  .mobile-join-link:hover { text-decoration: underline; }
  .primary-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 52px 20px 44px; }
  .hero h1 { font-size: clamp(2.9rem, 9.5vw, 4.7rem); margin-bottom: 30px; }
  .hero-art { min-height: 270px; background-size: cover; background-position: center 48%; }
  .section { padding: 56px 24px; }
  .why-section { grid-template-columns: 1fr; gap: 16px; }
  .why-section h2 { margin-bottom: 12px; }
  .footer-top { display: block; }
  .footer-top .menu { margin-top: 22px; flex-wrap: wrap; gap: 8px 24px; }
  .page-main { padding-block: 48px 64px; }
  .entry-content .section { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print { .site-header, .hero-art, .footer-top { display: none; } body, .section, .hero, .site-footer { background: white; color: black; } .hero { display: block; } .section, .hero-copy { padding: 24px 0; } .disclaimer, .copyright, .hero-accent { color: black; } }
