/*
Theme Name: Jess Murphy for Congress
Theme URI: https://jessmurphyforcongress.com
Author: Jess Murphy for Congress Campaign
Author URI: https://jessmurphyforcongress.com
Description: Custom WordPress theme for the Jess Murphy for Congress campaign (NY-02).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jessmurphy
Tags: custom-theme, responsive-layout
*/

/* =========================================================
   TOKENS + BASE
   ========================================================= */

:root{
  --navy:#1F2A44;
  --cream:#F5F1E8;
  --red:#9F3A2E;
  --ink:#2B2E34;
  --muted:#6E7687;

  --radius:20px;
  --shadow: 0 18px 60px rgba(0,0,0,.12);
}

*,
*::before,
*::after{ box-sizing:border-box; }

html, body{
  width:100%;
  max-width:100%;
  overflow-x:hidden; /* prevents side scroll */
}

body{
  margin:0;
  font-family:'Montserrat', sans-serif;
  background:#fff;
  color: var(--ink);
}

img, svg, video, iframe{
  max-width:100%;
  height:auto;
  display:block;
}

.wrap{
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* Screen-reader helper */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* =========================================================
   HEADER / NAV (DESKTOP + MOBILE)
   ========================================================= */

header.nav{
  position: sticky;
  top: 0;
  z-index: 9999;
  background:#fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

header.nav .wrap.inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px 0;
}

header.nav .brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}

header.nav .brand img{
  width:auto;
  height:auto;
  max-height:52px;
  max-width:240px;
}

/* Desktop menu container */
header.nav nav.menu{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 18px;
  margin-left:auto;
}

/* WP menu list */
header.nav nav.menu ul{
  list-style:none;
  display:flex;
  align-items:center;
  gap: 22px;
  margin:0;
  padding:0;
}

header.nav nav.menu li{ margin:0; padding:0; }

header.nav nav.menu a{
  color: var(--muted);
  font-weight:700;
  text-decoration:none;
  white-space:nowrap;
}

header.nav nav.menu a:hover{ color: var(--red); }

/* Donate button (desktop) */
header.nav nav.menu .btn,
header.nav nav.menu .donate-btn{
  padding:10px 16px;
  border-radius:999px;
  background: var(--red);
  color:#fff;
  font-weight:900;
  text-decoration:none;
  border:0;
  box-shadow: 0 10px 26px rgba(0,0,0,.10);
}

header.nav nav.menu .btn:hover,
header.nav nav.menu .donate-btn:hover{
  filter: brightness(.96);
}

/* =========================================================
   NAV TOGGLE (HAMBURGER) — SINGLE SOURCE OF TRUTH
   ========================================================= */

/* Default: HIDE hamburger everywhere (desktop-first) */
.jm-nav-toggle{
  display:none;
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
}

/* Mobile only: show hamburger circle + 3-bar icon */
@media (max-width: 900px){
  .jm-nav-toggle{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;

    width:44px !important;
    height:44px !important;
    padding:0 !important;
    border-radius:999px !important;

    background: var(--cream) !important;
    border: 1px solid rgba(31,42,68,.18) !important;
    box-shadow: 0 10px 26px rgba(0,0,0,.08) !important;

    cursor:pointer;
    line-height:0 !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Wrapper should NOT be a bar */
  .jm-burger{
    position:relative !important;
    width:22px !important;
    height:16px !important;
    display:block !important;
    background:transparent !important;
  }

  /* Top/mid/bottom bars */
  .jm-burger::before,
  .jm-burger::after,
  .jm-burger > span{
    content:"" !important;
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    height:2px !important;
    border-radius:2px !important;
    background: var(--navy) !important;
    display:block !important;
  }

  .jm-burger::before{ top:1px !important; }
  .jm-burger > span{ top:50% !important; transform:translateY(-50%) !important; }
  .jm-burger::after{ bottom:1px !important; }

  /* Press feedback */
  .jm-nav-toggle:active .jm-burger::before,
  .jm-nav-toggle:active .jm-burger > span,
  .jm-nav-toggle:active .jm-burger::after{
    background: var(--red) !important;
  }
}

/* =========================================================
   MOBILE MENU (FULLSCREEN) + BACKDROP + LOCK SCROLL
   ========================================================= */

.jm-menu-backdrop{
  position:fixed;
  inset:0;
  background: rgba(31,42,68,.45);
  z-index: 1200;
  opacity:0;
  transition: opacity .22s ease;
}

/* When body gets jm-menu-open (optional), fade backdrop */
body.jm-menu-open .jm-menu-backdrop{ opacity:1; }

.jm-mobile-menu{
  position:fixed;
  inset:0;
  width:100%;
  height:100dvh;
  background: var(--navy);
  color: var(--cream);
  z-index: 1300;

  transform: translateX(105%);
  transition: transform .22s ease;

  padding: 18px 16px 22px;
  display:flex;
  flex-direction:column;
  gap: 14px;
}

.jm-mobile-menu.is-open{ transform: translateX(0); }

.jm-mobile-menu__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245,241,232,.18);
}

.jm-mobile-brand img{
  max-height:44px;
  width:auto;
}

.jm-nav-close{
  appearance:none;
  width:44px;
  height:44px;
  border-radius:999px;
  border: 1px solid rgba(245,241,232,.28);
  background: rgba(245,241,232,.10);
  color: var(--cream);
  cursor:pointer;

  display:inline-grid;
  place-items:center;
  font-size:18px;
}

.jm-mobile-menu__links{
  list-style:none;
  margin:0;
  padding:10px 0 0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.jm-mobile-menu__links li{ margin:0; padding:0; }

.jm-mobile-menu__links a{
  display:block;
  padding:14px 14px;
  border-radius:16px;
  background: rgba(245,241,232,.08);
  border: 1px solid rgba(245,241,232,.10);

  color: var(--cream);
  text-decoration:none;
  font-weight:800;
  font-size:18px;
}

.jm-mobile-menu__links a:hover,
.jm-mobile-menu__links a:active{
  background: rgba(245,241,232,.14);
}

.jm-mobile-menu__ctas{
  margin-top:auto;
  padding-top:10px;
}

.jm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 16px;
  border-radius:999px;
  font-weight:900;
  text-decoration:none;
}

.jm-btn--donate{
  width:100%;
  background: var(--red);
  color: var(--cream);
}

/* Lock scroll when menu open (your JS adds jm-lock on html/body) */
html.jm-lock,
body.jm-lock{
  overflow:hidden !important;
  height:100%;
}

/* Responsive nav visibility */
@media (min-width: 901px){
  .jm-menu-backdrop,
  .jm-mobile-menu{ display:none !important; }
}

@media (max-width: 900px){
  header.nav nav.menu ul{ display:none; }
  header.nav nav.menu .btn,
  header.nav nav.menu .donate-btn{ display:none; }
}

/* =========================================================
   HOME: HERO + BELT
   ========================================================= */

body.home{ background: var(--cream); }

#home.hero{
  background: var(--cream);
  padding: clamp(20px, 4vw, 56px) 0 0;
  margin:0;
}

#home.hero .grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(22px, 4vw, 56px);
  align-items:center;
}

#home.hero .kicker{
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}

#home.hero h1{
  font-size: clamp(44px, 5.8vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 18px;
  max-width: 18ch;
  text-wrap: balance;
}

#home.hero .lead{
  font-size:18px;
  line-height:1.55;
  color: var(--ink);
  opacity:.92;
  margin: 0 0 26px;
  max-width: 54ch;
}

#home.hero .cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:0;
}

#home.hero .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none;
  border:1px solid rgba(0,0,0,.08);
}

#home.hero .btn-primary{
  background: var(--red);
  color:#fff;
  border-color: transparent;
}

#home.hero .btn-secondary{
  background: var(--navy);
  color:#fff;
  border-color: transparent;
}

#home.hero .photo{
  width:100%;
  border-radius:28px;
  box-shadow: var(--shadow);
}

#home.hero .belt{
  margin-top: 18px;
  background: var(--navy);
  color:#fff;
  text-align:center;
  padding: 14px 18px;
  font-weight:800;
  letter-spacing:.04em;
}

@media (max-width: 900px){
  #home.hero .grid{ grid-template-columns:1fr; }
}

@media (max-width: 520px){
  #home.hero h1{
    font-size: 42px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    max-width: 14ch;
  }
  #home.hero .lead{ font-size:16px; }
  #home.hero .photo{ border-radius:22px; }
}

/* =========================================================
   PRESSBAR
   ========================================================= */

.pressbar{
  padding: 28px 0 52px;
  background:#fff;
}

.pressbar-inner{
  background:#fff;
  border:1px solid rgba(31,42,68,.14);
  border-radius:22px;
  padding: 22px 22px 26px;
  box-shadow: 0 18px 60px rgba(0,0,0,.08);
  position:relative;
}

.pressbar-inner::before{
  content:"";
  position:absolute;
  top:0;
  left:22px;
  height:4px;
  width:72px;
  background: var(--red);
  border-radius:999px;
}

.pressbar-kicker{
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color: var(--muted);
  font-weight:900;
  margin: 10px 0 18px;
}

.pressbar-quotes{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:24px;
}

.press-quote p{
  font-size:17px;
  line-height:1.35;
  font-weight:900;
  color: var(--navy);
  margin: 0 0 10px;
}

.press-quote cite{
  display:block;
  font-style:normal;
  font-size:13px;
  color: var(--muted);
  margin-bottom:6px;
}

.press-link{
  font-size:13px;
  font-weight:900;
  color: var(--navy);
  text-decoration:none;
}

.press-link:hover{ color: var(--red); }

.pressbar-cta{ margin-top:22px; }

.pressbar-link{
  display:inline-flex;
  align-items:center;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(31,42,68,.18);
  background:#fff;
  color:var(--navy);
  font-weight:900;
  text-decoration:none;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}

.pressbar-link:hover{
  border-color: rgba(159,58,46,.35);
  color: var(--red);
}

@media (max-width: 820px){
  .pressbar-quotes{
    grid-template-columns:1fr;
    gap:18px;
  }
}

/* =========================================================
   HOME ISSUES — FLIP CARDS (issue-card markup)
   ========================================================= */

.issues{
  background: linear-gradient(180deg, rgba(245,241,232,1) 0%, rgba(245,241,232,.78) 100%);
  padding: clamp(54px, 6.5vw, 86px) 0;
}

.issues .section-title{
  color: var(--navy);
  font-weight:900;
  letter-spacing:-0.03em;
  font-size: clamp(36px, 4.3vw, 56px);
  line-height:1.06;
  margin: 0 0 10px;
}

.issues .section-sub{
  font-size:16px;
  color: rgba(110,118,135,.95);
  margin: 0 0 22px;
  line-height:1.55;
}

.issues-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(14px, 2vw, 20px);
  align-items: stretch;
}

@media (max-width: 980px){
  .issues-grid{ grid-template-columns:1fr; }
}

/* Flip container */
.issue-card{
  position: relative;
  perspective: 1200px;
  min-height: 240px;
}

.issue-inner{
  position: relative;
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform .45s cubic-bezier(.2,.9,.2,1);
  border-radius: 24px;
}

/* Hover/focus on desktop + tap class on mobile (JS can add .is-flipped) */
.issue-card:hover .issue-inner,
.issue-card:focus-within .issue-inner,
.issue-card.is-flipped .issue-inner{
  transform: rotateY(180deg);
}

.issue-face{
  position:absolute;
  inset:0;
  border-radius:24px;
  padding:22px 22px 18px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(31,42,68,.10);
  box-shadow: 0 22px 70px rgba(0,0,0,.08);
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  overflow:hidden;

  display:flex;
  flex-direction:column;
  gap:10px;
}

.issue-face::before{
  content:"";
  position:absolute;
  left:22px;
  top:16px;
  width:44px;
  height:3px;
  border-radius:999px;
  background: var(--red);
  opacity:.92;
}

.issue-back{ transform: rotateY(180deg); }

/* Text */
.issue-kicker{
  margin-top: 18px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(31,42,68,.65);
}
.issue-title{
  margin: 0;
  font-size: 21px;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--navy);
  font-weight: 900;
}
.issue-link{
  margin-top:auto;
  font-weight: 900;
  color: rgba(31,42,68,.85);
}
.issue-summary{
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(43,46,52,.86);
}
.issue-cta{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  color: var(--navy);
  text-decoration:none;
}
.issue-cta:hover{ color: var(--red); }

.issues-footer{ margin-top: 18px; }
.issues-more{
  display:inline-flex;
  align-items:center;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(31,42,68,.18);
  background:#fff;
  color:var(--navy);
  font-weight:900;
  text-decoration:none;
  box-shadow:0 10px 26px rgba(0,0,0,.06);
}
.issues-more:hover{ color: var(--red); border-color: rgba(159,58,46,.35); }

/* =========================================================
   ISSUES PAGE (page-issues.php) — LONG FORM
   ========================================================= */

.issues-page{
  background: linear-gradient(180deg, var(--cream) 0%, #fff 55%, #fff 100%);
}

.issues-hero{
  padding: clamp(52px, 6vw, 92px) 0 18px;
  text-align:center;
}

.issues-hero h1{
  margin:0 0 14px;
  color: var(--navy);
  font-weight:900;
  letter-spacing:-0.03em;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height:1.03;
  text-wrap: balance;
}

.issues-intro{
  margin:0 auto;
  max-width:80ch;
  color: rgba(110,118,135,.95);
  font-size:16px;
  line-height:1.6;
}

.issues-layout{
  padding: 26px 0 clamp(70px, 7vw, 96px);
}

.issues-layout__grid{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap:22px;
  align-items:start;
}

.issues-nav{
  position: sticky;
  top: 96px;
}

.issues-nav__card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(31,42,68,.12);
  border-radius:22px;
  padding: 16px 16px 14px;
  box-shadow: 0 22px 70px rgba(0,0,0,.08);
  position:relative;
  overflow:hidden;
}

.issues-nav__card::before{
  content:"";
  position:absolute;
  top:14px;
  left:16px;
  width:56px;
  height:4px;
  border-radius:999px;
  background: var(--red);
}

.issues-nav__kicker{
  margin: 18px 0 10px;
  font-size:11px;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:900;
  color: rgba(110,118,135,.95);
}

.issues-nav__links{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.issues-nav__links a{
  color: var(--navy);
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  padding:10px 10px;
  border-radius:14px;
  border: 1px solid rgba(31,42,68,.10);
  background: rgba(245,241,232,.50);
}

.issues-nav__links a:hover{
  color: var(--red);
  border-color: rgba(159,58,46,.22);
  background: rgba(245,241,232,.88);
}

.issues-content{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.issue-section{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(31,42,68,.12);
  border-radius:22px;
  padding: 22px 22px 18px;
  box-shadow: 0 22px 70px rgba(0,0,0,.08);
  position:relative;
  overflow:hidden;
}

.issue-section::before{
  content:"";
  position:absolute;
  top:18px;
  left:22px;
  width:56px;
  height:4px;
  border-radius:999px;
  background: var(--red);
}

.issue-section h2{
  margin: 18px 0 10px;
  color: var(--navy);
  font-weight:900;
  letter-spacing:-0.02em;
  font-size:26px;
  line-height:1.12;
}

.issue-section__lede{
  margin:0 0 14px;
  color: rgba(43,46,52,.86);
  font-size:16px;
  line-height:1.6;
  max-width:85ch;
}

.issue-bullets{
  margin:0 0 16px;
  padding-left:18px;
  color: rgba(43,46,52,.86);
}

.issue-bullets li{
  margin:0 0 10px;
  line-height:1.55;
}

@media (max-width: 980px){
  .issues-layout__grid{ grid-template-columns:1fr; }
  .issues-nav{ display:none; }
  .issue-section{ padding: 18px 16px 16px; }
  .issue-section::before{ left:16px; }
}

/* =========================================================
   JM PAGE TEMPLATES (Volunteer/Contact/Meet)
   ========================================================= */

.jm-page { background: var(--cream); }

.jm-hero { padding: clamp(26px, 4vw, 56px) 0 10px; }

.jm-kicker{
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 900;
}

.jm-title{
  margin: 0 0 12px;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
}

.jm-subtitle{
  margin: 0;
  max-width: 62ch;
  color: rgba(43,46,52,.82);
  font-size: 18px;
  line-height: 1.55;
}

.jm-content { padding: 18px 0 clamp(54px, 6vw, 86px); }

/* Volunteer page layout — fluid + readable */
.jm-volunteer .jm-grid-2{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 720px);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

/* On very wide screens, let the form breathe */
@media (min-width: 1200px){
  .jm-volunteer .jm-grid-2{
    grid-template-columns: 1fr minmax(720px, 880px);
  }
}

/* Tablet & down: stack */
@media (max-width: 980px){
  .jm-volunteer .jm-grid-2{
    grid-template-columns: 1fr;
  }
}


.jm-grid-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.jm-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(31,42,68,.12);
  border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.08);
  padding: 18px 18px 16px;
}

.jm-card-title{
  margin: 0 0 6px;
  font-weight: 900;
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.jm-card-sub{
  margin: 0 0 12px;
  color: rgba(110,118,135,.95);
  line-height: 1.5;
}

.jm-callouts{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }

.jm-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration:none;
  border: 1px solid rgba(31,42,68,.16);
}

.jm-pill--red{ background: var(--red); color: #fff; border-color: transparent; }
.jm-pill--navy{ background: var(--navy); color: #fff; border-color: transparent; }
.jm-pill--cream{ background: rgba(245,241,232,.8); color: var(--navy); }

.jm-meet-hero { align-items:center; }

.jm-meet-photo .jm-photo{
  width:100%;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.jm-photo--empty{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height: 320px;
  color: rgba(110,118,135,.9);
}

.jm-longform{
  padding: clamp(28px, 3.2vw, 48px);
  border-radius: 26px;
}

.jm-meet-body .jm-longform{
  max-width: 1120px;
  margin: 0 auto;
}

.jm-meet-body .jm-longform > *{
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}

.jm-meet-body .jm-longform p{
  margin: 0 0 0.95rem;
  line-height: 1.62;
  font-size: 16.5px;
}

.jm-meet-body .jm-longform p:last-child{ margin-bottom: 0; }

.jm-meet-cards{
  margin-top: 22px;
  gap: 16px;
}

@media (max-width: 980px){
  .jm-grid-2{ grid-template-columns: 1fr; }
  .jm-grid-3{ grid-template-columns: 1fr; }
  .jm-longform{ padding: 24px 18px; border-radius: 22px; }
  .jm-meet-body .jm-longform > *{ max-width: 68ch; }
  .jm-meet-cards{ margin-top: 16px; }
}

/* =========================================================
   ACTION NETWORK EMBEDS (Volunteer/Contact/etc.)
   - Prevent overflow
   - Keep layout intact (no star * max-width rules)
   ========================================================= */

.jm-an-embed{ overflow:hidden; }
.jm-an-embed .can_embed{ max-width:100% !important; background:transparent !important; }
.jm-an-embed img,
.jm-an-embed iframe{ max-width:100% !important; }

/* Hide Action Network chrome headers */
.jm-an-embed .can_embed h1,
.jm-an-embed .can_embed .can_embed_heading,
.jm-an-embed .can_embed .can_embed_title,
.jm-an-embed .can_embed .can_embed_description,
.jm-an-embed .can_embed .can_embed_info,
.jm-an-embed .can_embed .action_info,
.jm-an-embed .can_embed .action_title,
.jm-an-embed .can_embed .action_description{
  display:none !important;
}

/* Hide "welcome back" user box */
.jm-an-embed .can_embed .can_embed_logged_in,
.jm-an-embed .can_embed .logged_in,
.jm-an-embed .can_embed .welcome_back,
.jm-an-embed .can_embed .user_welcome{
  display:none !important;
}

/* Make inputs feel native */
.jm-an-embed input,
.jm-an-embed select,
.jm-an-embed textarea{
  border-radius: 14px !important;
  border: 1px solid rgba(31,42,68,.18) !important;
  box-shadow: none !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  font-family: inherit !important;
  max-width: 100% !important;
}

.jm-an-embed label{
  font-weight: 600 !important;
  color: rgba(31,42,68,.9) !important;
  font-family: inherit !important;
}

/* Submit button */
.jm-an-embed .can_embed input[type="submit"],
.jm-an-embed .can_embed button[type="submit"]{
  border-radius: 999px !important;
  padding: 12px 18px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  width: 100% !important;
}

/* =========================================================
   HORIZONTAL SCROLL SAFETY (without breaking layout)
   ========================================================= */

body{ overflow-x:hidden; }

/* ============================
   ACTION NETWORK — checkbox layout fix
   ============================ */

/* Force each checkbox row to lay out cleanly */
.jm-an-embed .can_embed .checkbox,
.jm-an-embed .can_embed .can_checkbox,
.jm-an-embed .can_embed .can_checkboxes,
.jm-an-embed .can_embed .can_field.checkbox{
  margin: 10px 0 !important;
}

/* Make labels behave like a row: [box] [text] */
.jm-an-embed .can_embed .checkbox label,
.jm-an-embed .can_embed .can_checkbox label,
.jm-an-embed .can_embed label.checkbox,
.jm-an-embed .can_embed .can_field.checkbox label{
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  line-height: 1.3 !important;
  white-space: normal !important;
}

/* Keep checkbox from stretching / drifting */
.jm-an-embed .can_embed input[type="checkbox"]{
  width: 18px !important;
  height: 18px !important;
  flex: 0 0 18px !important;
  margin: 2px 0 0 !important;
}

/* Prevent weird text wrapping around the box */
.jm-an-embed .can_embed .checkbox label *{
  max-width: 100% !important;
}

/* =========================================
   ACTION NETWORK — DESKTOP 2-COLUMN WRAP
   (keeps mobile 1-col)
   ========================================= */

@media (min-width: 901px){

  /* Make the form area use full width of the card */
  .jm-an-embed,
  .jm-an-embed .can_embed,
  .jm-an-embed .can_embed form{
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Remove any hard max-width Action Network applies */
  .jm-an-embed .can_embed #can_embed_form_inner,
  .jm-an-embed .can_embed .can_embed_form_inner{
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Turn the core fields into a wrapping grid */
  .jm-an-embed .can_embed .can_embed_form_fields,
  .jm-an-embed .can_embed .can_embed_form_fields_inner,
  .jm-an-embed .can_embed .can_embed_fields,
  .jm-an-embed .can_embed .fields,
  .jm-an-embed .can_embed form{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px 14px !important;
    align-items: flex-start !important;
  }

  /* Each field becomes half-width by default */
  .jm-an-embed .can_embed .can_embed_form_fields > *,
  .jm-an-embed .can_embed form .can_embed_form_field,
  .jm-an-embed .can_embed form .can_embed_form_field_row,
  .jm-an-embed .can_embed form .form-group{
    flex: 1 1 calc(50% - 14px) !important;
    min-width: 240px !important;
    max-width: 100% !important;
  }

  /* Force full-width for checkboxes, paragraphs, textarea, submit */
  .jm-an-embed .can_embed .checkbox,
  .jm-an-embed .can_embed .can_checkboxes,
  .jm-an-embed .can_embed .can_embed_description,
  .jm-an-embed .can_embed textarea,
  .jm-an-embed .can_embed .can_embed_buttons,
  .jm-an-embed .can_embed input[type="submit"],
  .jm-an-embed .can_embed button[type="submit"],
  .jm-an-embed .can_embed .legal,
  .jm-an-embed .can_embed .disclaimer{
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  /* Make textarea taller so it doesn't feel cramped */
  .jm-an-embed .can_embed textarea{
    min-height: 110px !important;
  }

  /* Submit button full width (looks intentional) */
  .jm-an-embed .can_embed input[type="submit"],
  .jm-an-embed .can_embed button[type="submit"]{
    width: 100% !important;
  }
}

/* Mobile stays single column automatically */
@media (max-width: 900px){
  .jm-an-embed .can_embed form{
    display: block !important;
  }
}

/* ================================
   ACTION NETWORK — FULL-WIDTH FIX
   ================================ */

.jm-an-embed,
.jm-an-embed .can_embed,
.jm-an-embed .can_embed form,
.jm-an-embed .can_embed #can_embed_form_inner{
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 901px){

  .jm-an-embed .can_embed form{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px 16px !important;
  }

  /* Default: 2-column fields */
  .jm-an-embed .can_embed .form-group,
  .jm-an-embed .can_embed .can_embed_form_field,
  .jm-an-embed .can_embed .can_embed_form_field_row{
    flex: 1 1 calc(50% - 16px) !important;
    min-width: 260px !important;
  }

  /* Force full-width where it makes sense */
  .jm-an-embed textarea,
  .jm-an-embed .checkbox,
  .jm-an-embed .can_checkboxes,
  .jm-an-embed .can_embed_buttons,
  .jm-an-embed input[type="submit"],
  .jm-an-embed button[type="submit"],
  .jm-an-embed .legal{
    flex: 1 1 100% !important;
  }

  /* Taller textarea = less scrolling */
  .jm-an-embed textarea{
    min-height: 120px !important;
  }
}

.jm-an-embed .can_embed .can_embed_logged_in,
.jm-an-embed .can_embed .welcome_back,
.jm-an-embed .can_embed .user_welcome{
  display: none !important;
}
.jm-callouts--top{
  margin: 12px 0 18px;
}

/* =========================================
   VOLUNTEER PAGE — FIX FORM WIDTH
   ========================================= */

/* Kill the 2-column layout on Volunteer page */
.jm-volunteer .jm-volunteer-grid{
  grid-template-columns: 1fr !important;
  justify-items: center;
}

/* Make the form card expand nicely on desktop */
.jm-volunteer .jm-form-card{
  width: 100%;
  max-width: 860px;   /* sweet spot for forms */
  margin: 0 auto;
}
@media (min-width: 1200px){
  .jm-volunteer .jm-form-card{
    max-width: 980px;
  }
}

/* =========================================
   VOLUNTEER PAGE — ALIGNMENT FIX
   ========================================= */

/* Keep single-column, but LEFT align (not centered) */
.jm-volunteer .jm-volunteer-grid{
  grid-template-columns: 1fr !important;
  justify-items: start !important; /* <-- change from center */
}

/* Form card: full width + readable max, aligned to content left edge */
.jm-volunteer .jm-form-card{
  width: 100% !important;
  max-width: 980px;  /* adjust if you want narrower/wider */
  margin: 0 !important; /* remove centering */
}

/* If you want the Donate/Issues buttons to sit nicely */
.jm-volunteer .jm-callouts{
  justify-content: flex-start;
}
/* =========================================
   ISSUES PAGE — FIX DESKTOP LAYOUT
   ========================================= */

/* Desktop/tablet: show sidebar, hide mobile dropdown */
.issues-jump-mobile{
  display: none !important;
}

.issues-nav{
  display: block !important;
}

/* Ensure the issues grid behaves */
.issues-layout__grid{
  align-items: start;
}

/* If the dropdown exists, keep it from floating weirdly */
.issues-jump-mobile select{
  width: 100% !important;
  max-width: 360px;
}

/* Mobile: swap (dropdown ON, sidebar OFF) */
@media (max-width: 980px){
  .issues-jump-mobile{
    display: block !important;
    width: 100% !important;
    margin: 0 0 14px !important;
  }

  .issues-nav{
    display: none !important;
  }

  .issues-layout__grid{
    grid-template-columns: 1fr !important;
  }
}

/* =========================================
   MEET JESS — HERO IMAGE SIZE FIX
   ========================================= */

/* Target the Meet Jess page hero image wrapper */
.page-template-meet-jess .jm-hero-image,
.page-template-meet-jess .jm-hero-media,
.page-template-meet-jess .jm-hero figure {
  max-height: 60vh;
  min-height: unset;
}

/* Make sure the image scales naturally */
.page-template-meet-jess .jm-hero-image img,
.page-template-meet-jess .jm-hero-media img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 24px;
}

/* Mobile: slightly taller, but still controlled */
@media (max-width: 768px) {
  .page-template-meet-jess .jm-hero-image,
  .page-template-meet-jess .jm-hero-media {
    max-height: 70vh;
  }
}

/* =========================================
   MEET JESS — SIDE-BY-SIDE LAYOUT
   ========================================= */

/* Main Meet Jess section */
.jm-meet {
  padding-top: 48px;
}

/* Grid container — text left, photo right */
.jm-meet .jm-meet-inner,
.jm-meet .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* text | image */
  gap: 56px;
  align-items: center;
}

/* Text column */
.jm-meet .jm-meet-copy {
  max-width: 640px;
}

/* Photo column */
.jm-meet .jm-meet-photo {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  border-radius: 28px;
  overflow: hidden;
}

/* Image itself */
.jm-meet .jm-meet-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 28px;
}

/* Buttons spacing */
.jm-meet .jm-callouts {
  margin-top: 24px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===============================
   Mobile — stack cleanly
   =============================== */
@media (max-width: 900px) {
  .jm-meet .jm-meet-inner,
  .jm-meet .wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .jm-meet .jm-meet-photo {
    max-width: 100%;
    justify-self: start;
  }
}
/* =========================================
   MEET JESS — HERO SHOULD FILL THE SCREEN
   ========================================= */

/* Make the hero section take up (almost) the full viewport */
.jm-meet .jm-hero{
  /* subtract sticky header height so it doesn't overflow */
  min-height: calc(100svh - 86px);
  display: flex;
  align-items: center;
  padding: clamp(36px, 5vw, 72px) 0;
}

/* Keep the inner content wide + centered */
.jm-meet .jm-hero .wrap{
  width: min(1280px, 92vw);
}

/* 2-column hero layout (text left, image right) */
.jm-meet .jm-hero .wrap.jm-meet-inner,
.jm-meet .jm-hero .wrap{
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

/* Text column */
.jm-meet .jm-meet-copy{
  max-width: 60ch;
}

/* Image column: let it “use the space” but not explode */
.jm-meet .jm-meet-photo{
  justify-self: end;
  width: min(520px, 42vw);   /* responsive width */
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.jm-meet .jm-meet-photo img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}

/* Buttons spacing */
.jm-meet .jm-callouts{
  margin-top: 22px;
}

/* Mobile: stack and remove forced hero height */
@media (max-width: 900px){
  .jm-meet .jm-hero{
    min-height: unset;
    padding: 34px 0 18px;
  }

  .jm-meet .jm-hero .wrap.jm-meet-inner,
  .jm-meet .jm-hero .wrap{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .jm-meet .jm-meet-photo{
    width: 100%;
    max-width: 560px;
    justify-self: start;
  }
}
/* =========================================
   MEET JESS — BODY LAYOUT FIX (card spans full width)
   ========================================= */

/* Make sure the Meet page BODY is not inheriting a 2-col grid */
.jm-meet .jm-content .wrap{
  display: block !important;
}

/* If your body section accidentally has jm-grid-2 on it, override it */
.jm-meet .jm-content .jm-grid-2{
  grid-template-columns: 1fr !important;
}

/* Make the longform card span full available width */
.jm-meet .jm-meet-body,
.jm-meet .jm-meet-body .wrap{
  width: min(1120px, 92vw) !important;
  margin: 0 auto !important;
}

.jm-meet .jm-meet-body .jm-longform{
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
}

/* Keep the text inside readable even though the card is full width */
.jm-meet .jm-meet-body .jm-longform > *{
  max-width: 78ch;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================
   MEET JESS — HERO PHOTO SIZE / BALANCE
   ========================================= */

/* Give the left column a bit more space than the photo */
.jm-meet .jm-meet-hero{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr; /* was closer to 1fr 1fr */
  gap: clamp(18px, 3vw, 40px);
  align-items: center;
}

/* Constrain the photo block so the portrait doesn't dominate */
.jm-meet .jm-meet-photo{
  justify-self: end;              /* keeps it tucked to the right */
  width: min(420px, 38vw);        /* hard cap + responsive */
}

/* Make the image behave like a “framed” portrait */
.jm-meet .jm-meet-photo img,
.jm-meet .jm-meet-photo .jm-photo{
  width: 100%;
  height: auto;
  max-height: clamp(360px, 55vh, 520px); /* THIS is the key */
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* Mobile: stack and let the image be wide again */
@media (max-width: 900px){
  .jm-meet .jm-meet-hero{
    grid-template-columns: 1fr;
  }
  .jm-meet .jm-meet-photo{
    justify-self: start;
    width: 100%;
  }
  .jm-meet .jm-meet-photo img,
  .jm-meet .jm-meet-photo .jm-photo{
    max-height: 420px;
  }
}

/* =========================================
   MEET JESS — HERO PADDING TIGHTEN
   ========================================= */

/* Reduce excessive vertical padding */
.jm-meet .jm-hero{
  padding-top: clamp(32px, 5vw, 64px) !important;
  padding-bottom: clamp(32px, 5vw, 72px) !important;
}

/* Tighten the hero grid container */
.jm-meet .jm-meet-hero{
  max-width: 1120px;          /* align with rest of site */
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
}

/* Pull text + image closer together horizontally */
.jm-meet .jm-meet-hero{
  gap: clamp(16px, 3vw, 32px) !important;
}

/* Kill any sneaky min-height forcing extra space */
.jm-meet .jm-meet-hero,
.jm-meet .jm-hero{
  min-height: unset !important;
}

/* Ensure buttons don’t add phantom spacing */
.jm-meet .jm-callouts{
  margin-top: 14px !important;
}

/* =========================================================
   STABILITY LAYER (paste at very bottom)
   - fixes collisions + restores predictable layouts
   ========================================================= */

/* ---------- GLOBAL SECTION SPACING ---------- */
section { scroll-margin-top: 96px; }
.section-title { text-wrap: balance; }
.section-sub { text-wrap: pretty; }

/* ---------- FOOTER ---------- */
.site-footer{
  background: var(--navy);
  color: rgba(245,241,232,.92);
  padding: 26px 0 28px;
  margin-top: clamp(42px, 6vw, 72px);
}
.site-footer .footer-inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 18px;
  align-items:center;
}
.site-footer .footer-title{
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 16px;
  margin-bottom: 6px;
}
.site-footer .footer-paidfor{
  font-size: 12px;
  opacity: .85;
  line-height: 1.4;
}
.site-footer .footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap: 10px 16px;
}
.site-footer .footer-nav a{
  color: rgba(245,241,232,.92);
  text-decoration:none;
  font-weight: 800;
  font-size: 13px;
  opacity: .9;
}
.site-footer .footer-nav a:hover{ color:#fff; opacity:1; }
.site-footer .footer-cta .btn{
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}
@media (max-width: 900px){
  .site-footer .footer-inner{
    grid-template-columns: 1fr;
    gap: 14px;
    text-align:left;
  }
  .site-footer .footer-cta .btn{ width:100%; }
}

/* ---------- HOME: ABOUT + SIGNUP CARD (tighten padding / no weird width) ---------- */
.about{ padding: clamp(48px, 6vw, 80px) 0; background: var(--cream); }
.about .grid{
  display:grid;
  grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr);
  gap: clamp(18px, 3vw, 42px);
  align-items:center;
}
.about .portrait img{
  border-radius: 28px;
  box-shadow: var(--shadow);
  width:100%;
}
@media (max-width: 900px){
  .about .grid{ grid-template-columns:1fr; }
}

/* Signup card: make it feel intentional and stop overflow */
.signup{ padding: clamp(48px, 6vw, 84px) 0; background: var(--cream); }
.signup .card.jm-signup-card{
  display:grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: clamp(18px, 3vw, 34px);
  align-items:start;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 26px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(31,42,68,.12);
  box-shadow: 0 18px 60px rgba(0,0,0,.08);
}
.signup .jm-signup-photo img{
  width:100%;
  height:auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 980px){
  .signup .card.jm-signup-card{ grid-template-columns:1fr; }
}

/* ---------- ACTION NETWORK (HOMEPAGE + PAGES) ---------- */
/* Your markup uses .an-embed on the homepage. Your CSS targets .jm-an-embed.
   This maps the same rules to the homepage embed without rewriting HTML. */
.an-embed{ overflow:hidden; }
.an-embed .can_embed,
.an-embed form,
.an-embed #can_embed_form_inner,
.an-embed .can_embed_form_inner{
  width:100% !important;
  max-width:100% !important;
  background: transparent !important;
}

/* Desktop: two-column wrapping fields (not a single skinny column) */
@media (min-width: 901px){
  .an-embed .can_embed form{
    display:flex !important;
    flex-wrap:wrap !important;
    gap: 12px 14px !important;
    align-items:flex-start !important;
  }

  .an-embed .can_embed .form-group,
  .an-embed .can_embed .can_embed_form_field,
  .an-embed .can_embed .can_embed_form_field_row{
    flex: 1 1 calc(50% - 14px) !important;
    min-width: 260px !important;
    max-width: 100% !important;
  }

  /* full-width blocks */
  .an-embed .can_embed textarea,
  .an-embed .can_embed .checkbox,
  .an-embed .can_embed .can_checkboxes,
  .an-embed .can_embed .can_embed_buttons,
  .an-embed .can_embed input[type="submit"],
  .an-embed .can_embed button[type="submit"],
  .an-embed .can_embed .legal{
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  .an-embed .can_embed textarea{ min-height: 120px !important; }
}

/* Inputs look native */
.an-embed input,
.an-embed select,
.an-embed textarea{
  border-radius: 14px !important;
  border: 1px solid rgba(31,42,68,.18) !important;
  box-shadow: none !important;
  padding: 12px 14px !important;
  font-size: 15px !important;
  font-family: inherit !important;
}
.an-embed label{
  font-weight: 700 !important;
  color: rgba(31,42,68,.9) !important;
  font-family: inherit !important;
}

/* Submit button */
.an-embed .can_embed input[type="submit"],
.an-embed .can_embed button[type="submit"]{
  border-radius: 999px !important;
  padding: 12px 18px !important;
  font-weight: 900 !important;
  letter-spacing: .02em !important;
  width: 100% !important;
}

/* Hide Action Network clutter */
.an-embed .can_embed .can_embed_logged_in,
.an-embed .can_embed .welcome_back,
.an-embed .can_embed .user_welcome,
.an-embed .can_embed .can_embed_heading,
.an-embed .can_embed .can_embed_title,
.an-embed .can_embed .can_embed_description,
.an-embed .can_embed .can_embed_info,
.an-embed .can_embed .action_info,
.an-embed .can_embed .action_title,
.an-embed .can_embed .action_description{
  display:none !important;
}

/* Checkbox alignment */
.an-embed .can_embed .checkbox label,
.an-embed .can_embed .can_checkbox label,
.an-embed .can_embed label.checkbox,
.an-embed .can_embed .can_field.checkbox label{
  display:flex !important;
  align-items:flex-start !important;
  gap:10px !important;
  line-height:1.3 !important;
  white-space: normal !important;
}
.an-embed .can_embed input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  flex:0 0 18px !important;
  margin:2px 0 0 !important;
}

/* ---------- HOME: NEWS & UPDATES (stop issues-grid collision) ---------- */
.updates{ padding: clamp(48px, 6vw, 84px) 0; background: var(--cream); }
.updates-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 14px;
}
.updates-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(31,42,68,.12);
  border-radius: 22px;
  padding: 16px 16px 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.08);
}
.updates-title{
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 16px;
  line-height: 1.2;
}
.updates-excerpt{
  margin: 0 0 10px;
  color: rgba(43,46,52,.82);
  line-height: 1.55;
  font-size: 14px;
}
.updates-link{
  font-weight: 900;
  text-decoration: none;
  color: var(--navy);
}
.updates-link:hover{ color: var(--red); }
.updates-footer{ margin-top: 14px; }
@media (max-width: 980px){
  .updates-grid{ grid-template-columns: 1fr; }
}

/* ---------- MEET JESS: stop accidental grid on every .wrap ---------- */
/* This is the main culprit of “still wrong” + “too much padding”.
   Only apply grid inside the hero, not every wrap on the page. */
.jm-meet .jm-hero .wrap{
  display:grid !important;
  grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr);
  gap: clamp(18px, 3vw, 42px) !important;
  align-items:center !important;
}

/* Ensure the rest of the page uses normal flow */
.jm-meet .jm-content .wrap,
.jm-meet .jm-meet-body .wrap{
  display:block !important;
}

/* Hero spacing tighter + less empty padding */
.jm-meet .jm-hero{
  padding: clamp(28px, 4vw, 52px) 0 !important;
  min-height: unset !important;
}

/* Hero photo size: elegant but not dominating */
.jm-meet .jm-meet-photo{
  justify-self:end;
  width: min(440px, 38vw);
  border-radius: 28px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.jm-meet .jm-meet-photo img{
  width:100%;
  height: auto;
  max-height: clamp(340px, 52vh, 520px);
  object-fit: cover;
}

/* Mobile: stack */
@media (max-width: 900px){
  .jm-meet .jm-hero .wrap{
    grid-template-columns: 1fr !important;
  }
  .jm-meet .jm-meet-photo{
    width: 100%;
    max-width: 560px;
    justify-self:start;
  }
}

/* ---------- PRESSBAR: keep it from feeling “boxed in” ---------- */
.pressbar{ padding: 22px 0 46px; }
.pressbar-inner{ padding: 20px 20px 22px; }

/* =========================================
   HOMEPAGE SIGNUP — ACTION NETWORK CLEANUP
   (targets .an-embed on front page)
   ========================================= */

.signup .an-embed{ overflow:hidden; }

/* Hide AN headings/titles/descriptions */
.signup .an-embed .can_embed h1,
.signup .an-embed .can_embed .can_embed_heading,
.signup .an-embed .can_embed .can_embed_title,
.signup .an-embed .can_embed .can_embed_description,
.signup .an-embed .can_embed .can_embed_info,
.signup .an-embed .can_embed .action_info,
.signup .an-embed .can_embed .action_title,
.signup .an-embed .can_embed .action_description{
  display:none !important;
}

/* Hide the "Welcome back" box */
.signup .an-embed .can_embed .can_embed_logged_in,
.signup .an-embed .can_embed .logged_in,
.signup .an-embed .can_embed .welcome_back,
.signup .an-embed .can_embed .user_welcome{
  display:none !important;
}

/* Hide sponsor/paid-for lines INSIDE the embed */
.signup .an-embed .can_embed .sponsored_by,
.signup .an-embed .can_embed .paid_for_by,
.signup .an-embed .can_embed .disclaimer,
.signup .an-embed .can_embed .legal,
.signup .an-embed .can_embed .fineprint{
  display:none !important;
}

/* Hide the big Action Network logo block */
.signup .an-embed .can_embed .can_embed_footer,
.signup .an-embed .can_embed .action_network,
.signup .an-embed .can_embed img[alt*="Action Network" i]{
  display:none !important;
}

/* Make the embed feel like it belongs in your card */
.signup .an-embed .can_embed,
.signup .an-embed .can_embed #can_embed_form_inner,
.signup .an-embed .can_embed .can_embed_form_inner{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Tighten weird extra space AN sometimes adds */
.signup .an-embed .can_embed form,
.signup .an-embed .can_embed .can_embed_form_fields{
  margin: 0 !important;
  padding: 0 !important;
}

/* Keep the photo visually aligned with the form height */
.signup .card img{
  height: 100%;
  max-height: 520px;
  object-fit: cover;
}
@media (max-width: 980px){
  .signup .card img{ max-height: 420px; }
}

/* =========================================
   MEET JESS HERO — scale down (no crop)
   ========================================= */

.jm-meet .jm-meet-photo{
  width: min(460px, 38vw);   /* controls overall size */
  justify-self: end;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.jm-meet .jm-meet-photo img{
  width: 100%;
  height: auto !important;      /* keep natural proportions */
  max-height: none !important;  /* no artificial caps */
  object-fit: contain !important; /* ensures NO cropping */
  display: block;
  border-radius: 28px;
}

.jm-meet .jm-meet-hero{
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(20px, 3vw, 40px);
}

.wp-block-videopress video {
    width: 100%;
    height: auto;
}

.jm-meet .jm-meet-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to right,
    rgba(31,42,68,0) 60%,
    rgba(31,42,68,.35) 100%
  );
  border-radius:28px;
}
/* GLOBAL SOCIAL LINKS */

.jm-social{
  display:flex;
  gap:10px;
  margin-top:10px;
}

.jm-social a{
  width:32px;
  height:32px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background: rgba(31,42,68,.08);
  color: var(--navy);
  transition: all .18s ease;
}

.jm-social a:hover{
  background: var(--navy);
  color:#fff;
}

.jm-social svg{
  width:14px;
  height:14px;
}

/* =========================================
   FOOTER: add social column + visible icons
   ========================================= */

.site-footer .footer-inner{
  grid-template-columns: 1.2fr auto 1fr auto; /* brand | socials | links | donate */
  gap: 18px;
}

.site-footer .jm-social{
  margin: 0;                /* stop extra top margin */
  align-self: center;
  justify-content: center;
}

.site-footer .jm-social a{
  width: 30px;
  height: 30px;
  background: rgba(245,241,232,.12);  /* light on navy */
  color: rgba(245,241,232,.95);        /* visible */
  border: 1px solid rgba(245,241,232,.18);
}

.site-footer .jm-social a:hover{
  background: var(--red);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

.site-footer .jm-social svg{
  width: 14px;
  height: 14px;
}

/* Mobile: stack cleanly */
@media (max-width: 900px){
  .site-footer .footer-inner{
    grid-template-columns: 1fr;
  }
  .site-footer .jm-social{
    justify-content: flex-start;
  }
}