/*
Theme Name: Babita Campaign
Theme URI: https://babitaforpa.com/
Author: Babita for PA
Description: Lightweight custom campaign theme for Babita Rusyn for State Representative.
Version: 1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: babita-campaign
*/

:root {
  --navy: #0b2b59;
  --navy-2: #123f74;
  --red: #d51f2a;
  --cream: #f7f4ee;
  --ink: #17253a;
  --muted: #5c6573;
  --white: #ffffff;
  --max: 1180px;
  --shadow: 0 18px 50px rgba(4, 22, 48, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: "Source Sans 3", Arial, sans-serif; font-size: 18px; line-height: 1.55; background: #fff; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
.container { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 1000; background: var(--navy); border-bottom: 4px solid var(--red); box-shadow: 0 4px 18px rgba(0,0,0,.14); }
.header-inner { min-height: 106px; display: grid; grid-template-columns: 230px 1fr auto; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; align-self: stretch; background: #fff; padding: 8px 14px; text-decoration: none; box-shadow: 0 3px 14px rgba(0,0,0,.18); }
.brand img { width: 100%; max-height: 94px; object-fit: contain; }
.site-nav ul { display: flex; justify-content: flex-end; align-items: center; gap: 4px; list-style: none; padding: 0; margin: 0; }
.site-nav a { display: block; padding: 16px 12px; color: #fff; text-decoration: none; text-transform: uppercase; font-family: "Oswald", Arial, sans-serif; letter-spacing: .03em; font-size: 15px; }
.site-nav a:hover, .site-nav a:focus { color: #fff; background: rgba(255,255,255,.09); }
.contribute-button, .button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 24px; color: #fff; background: var(--red); border: 2px solid var(--red); text-decoration: none; font-family: "Oswald", Arial, sans-serif; text-transform: uppercase; letter-spacing: .055em; font-weight: 700; transition: .2s ease; }
.contribute-button:hover, .button:hover { color: var(--navy); background: #fff; border-color: #fff; transform: translateY(-1px); }
.menu-toggle { display: none; background: transparent; border: 0; color: #fff; font-size: 30px; cursor: pointer; }

.hero { min-height: 690px; position: relative; overflow: hidden; background: #201a1a; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,25,54,.84) 0%, rgba(6,25,54,.24) 37%, rgba(6,25,54,.03) 63%, rgba(6,25,54,.52) 100%); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.hero-inner { position: relative; z-index: 2; min-height: 690px; display: flex; align-items: center; justify-content: flex-end; }
.hero-copy { width: 45%; color: #fff; text-align: left; padding: 40px 0; }
.hero-kicker { margin: 0 0 16px; color: #fff; font-family: "Oswald", Arial, sans-serif; font-size: clamp(22px, 2vw, 32px); text-transform: uppercase; letter-spacing: .12em; }
.hero-roles { margin: 0; font-family: Georgia, serif; font-weight: 700; font-size: clamp(42px, 5vw, 76px); line-height: 1.03; text-shadow: 0 3px 22px rgba(0,0,0,.4); }
.hero-roles span { display: block; }
.hero-roles span:nth-child(2) { padding-left: .55em; }
.hero-roles span:nth-child(3) { padding-left: 1.1em; }
.hero-roles span:nth-child(4) { padding-left: 1.65em; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; }
.button.secondary { background: transparent; border-color: #fff; }
.button.secondary:hover { background: #fff; color: var(--navy); }

.section { padding: 88px 0; }
.section-title { margin: 0 0 20px; color: var(--navy); font-family: "Oswald", Arial, sans-serif; text-transform: uppercase; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: .025em; }
.section-title::after { content: ""; display: block; width: 76px; height: 5px; margin-top: 17px; background: var(--red); }
.lead { font-size: 22px; color: var(--muted); }
.meet { background: var(--navy); color: #fff; }
.meet .section-title { color: #fff; }
.meet-grid { display: grid; grid-template-columns: 1fr 1.06fr; gap: 58px; align-items: center; }
.meet-photo { min-height: 540px; width: 100%; object-fit: cover; object-position: center 22%; box-shadow: var(--shadow); }
.meet-copy p { max-width: 58ch; }

.priorities { background: var(--cream); }
.priority-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 42px; }
.priority-card { background: #fff; padding: 30px; border-top: 6px solid var(--red); box-shadow: 0 8px 24px rgba(10,38,77,.08); }
.priority-number { color: var(--red); font-family: "Oswald", Arial, sans-serif; font-size: 22px; font-weight: 700; }
.priority-card h3 { margin: 8px 0 12px; color: var(--navy); font-family: "Oswald", Arial, sans-serif; font-size: 28px; line-height: 1.08; }
.priority-card p { margin: 0; color: var(--muted); }

.cta { padding: 70px 0; color: #fff; text-align: center; background: linear-gradient(110deg, var(--red), #a81520); }
.cta h2 { margin: 0 0 12px; font-family: "Oswald", Arial, sans-serif; text-transform: uppercase; font-size: clamp(38px, 5vw, 64px); }
.cta p { max-width: 720px; margin: 0 auto 28px; font-size: 22px; }
.cta .button { background: #fff; color: var(--navy); border-color: #fff; }
.cta .button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.district-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 55px; align-items: center; }
.district-panel { position: relative; min-height: 430px; overflow: hidden; display: grid; place-items: center; padding: 42px; color: #fff; text-align: center; background: radial-gradient(circle at 35% 30%, #23558b, var(--navy)); box-shadow: var(--shadow); }
.district-panel::before { content: "96"; position: absolute; font-family: "Oswald", Arial, sans-serif; font-size: 300px; line-height: 1; font-weight: 700; color: rgba(255,255,255,.075); }
.district-panel strong { position: relative; z-index: 1; font-family: "Oswald", Arial, sans-serif; font-size: 54px; text-transform: uppercase; }

.site-footer { background: #071d3c; color: #fff; padding: 58px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 38px; }
.footer-logo { width: 250px; background: #fff; padding: 10px; }
.footer-title { margin: 0 0 12px; font-family: "Oswald", Arial, sans-serif; text-transform: uppercase; font-size: 22px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.disclaimer { margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); text-align: center; font-size: 14px; }

.content-page { padding: 70px 0 100px; }
.content-page .entry-title { font-family: "Oswald", Arial, sans-serif; color: var(--navy); text-transform: uppercase; font-size: clamp(42px, 6vw, 72px); line-height: 1; }
.content-page .entry-content { max-width: 850px; }
.content-page .entry-content h2, .content-page .entry-content h3 { font-family: "Oswald", Arial, sans-serif; color: var(--navy); }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 190px 1fr auto; min-height: 88px; }
  .brand img { max-height: 76px; }
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); border-bottom: 4px solid var(--red); }
  .site-nav.open { display: block; }
  .site-nav ul { display: block; padding: 10px 20px 20px; }
  .site-nav a { padding: 12px 10px; }
  .header-cta { display: none; }
  .hero, .hero-inner { min-height: 650px; }
  .hero-copy { width: 52%; }
  .meet-grid, .district-grid { grid-template-columns: 1fr; }
  .priority-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .container { width: min(100% - 28px, var(--max)); }
  .header-inner { grid-template-columns: 150px 1fr; gap: 14px; }
  .hero { min-height: 720px; }
  .hero-image { object-position: 44% center; }
  .hero::after { background: linear-gradient(0deg, rgba(5,20,44,.94) 0%, rgba(5,20,44,.1) 58%, rgba(5,20,44,.13) 100%); }
  .hero-inner { align-items: flex-end; min-height: 720px; }
  .hero-copy { width: 100%; padding: 0 0 48px; text-align: center; }
  .hero-roles { font-size: 45px; }
  .hero-roles span { padding-left: 0 !important; display: inline; }
  .hero-roles span::after { content: ". "; }
  .hero-roles span:last-child::after { content: "."; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .section { padding: 64px 0; }
  .meet-photo { min-height: 430px; }
  .priority-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo { width: 210px; }
}
