/*
Theme Name: Saud for Auburn — MVP
Theme URI: https://saudforauburn.com.au
Author: North Degree
Author URI: https://northdegree.com.au
Description: MVP one-pager campaign site for Saud Abusamen — Auburn state election.
Version: 3.1.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: saud-mvp
*/

/* ── Tokens ── */
:root {
  --cobalt: #233E8B;
  --cobalt-light: #2B4794;
  --gold: #F2A31F;
  --flame: #D63B30;
  --ivory: #FAF6EE;
  --midnight: #111422;
  --white: #FFFFFF;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-script: 'Dancing Script', cursive;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-ui: 'Barlow', 'Helvetica Neue', sans-serif;
  --pad-x: 52px;
  --pad-y: 80px;
}

@media(max-width:991px){ :root{ --pad-x:32px; --pad-y:56px; } }
@media(max-width:767px){ :root{ --pad-x:20px; --pad-y:48px; } }

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;scroll-padding-top:70px;-webkit-text-size-adjust:100%;}
body{font-family:var(--font-body);font-size:1rem;line-height:1.6;color:var(--midnight);background:var(--ivory);-webkit-font-smoothing:antialiased;}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}

/* ── iOS / mobile viewport hardening ── */
html,
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden;
  overscroll-behavior-x:none;
  touch-action:pan-y pinch-zoom;
}

body{
  position:relative;
}

input,
select,
textarea,
button{
  max-width:100%;
}

/* ── Container ── */
.container{max-width:1440px;margin:0 auto;padding-left:var(--pad-x);padding-right:var(--pad-x);}

/* ── Section base ── */
.section{padding:var(--pad-y) 0;}
.section__label{font-family:var(--font-display);font-weight:700;font-size:0.875rem;letter-spacing:3px;text-transform:uppercase;text-align:center;margin-bottom:8px;}
.section__title{font-family:var(--font-display);font-weight:900;font-size:3rem;line-height:1.1;text-align:center;margin-bottom:16px;}
.section__desc{font-family:var(--font-body);font-size:1.0625rem;line-height:1.6;max-width:600px;margin:0 auto 40px;text-align:center;}
@media(max-width:767px){
  .section__title{font-size:2rem;}
  .section__desc{font-size:0.9375rem;margin-bottom:24px;}
}

/* ══════════════════════════════
   NAVBAR
   ══════════════════════════════ */
.site-header{background:var(--cobalt);position:sticky;top:0;z-index:100;}
.site-header .container{display:flex;align-items:center;justify-content:space-between;padding-top:16px;padding-bottom:16px;}
.site-logo__img{height:40px;width:auto;}
.nav-links{display:flex;align-items:center;gap:28px;}
.nav-links a{font-family:var(--font-ui);font-weight:500;font-size:0.9375rem;color:var(--white);transition:opacity .2s;}
.nav-links a:hover{opacity:0.8;}
.btn--donate{background:var(--flame);color:var(--white) !important;font-family:var(--font-display);font-weight:700;font-size:1rem;letter-spacing:1px;padding:10px 24px;border-radius:4px;text-transform:uppercase;transition:transform .15s,box-shadow .15s;display:inline-block;}
.btn--donate:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.2);opacity:1 !important;}
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:0.5rem;}
.menu-toggle span{display:block;width:24px;height:2px;background:var(--white);margin:5px 0;transition:.3s;}

@media(max-width:991px){
  .site-logo__img{height:32px;}
  .menu-toggle{display:block;}
  .nav-links{display:none;position:absolute;top:100%;left:0;right:0;background:var(--cobalt);flex-direction:column;padding:1.5rem var(--pad-x);gap:1rem;border-top:1px solid rgba(255,255,255,.15);box-shadow:0 8px 24px rgba(0,0,0,.15);z-index:99;}
  .nav-links.is-active{display:flex;}
  .btn--donate{width:100%;text-align:center;}
}

/* ══════════════════════════════
   HERO
   ══════════════════════════════ */
.hero{background:var(--gold);overflow:hidden;}
.hero__inner{display:grid;grid-template-columns:1fr 1fr;max-width:1440px;margin:0 auto;}
.hero__photo{position:relative;min-height:520px;overflow:hidden;}
.hero__photo img{width:100%;height:100%;object-fit:cover;object-position:center top;position:absolute;top:0;left:0;}
.hero__content{display:flex;flex-direction:column;justify-content:center;padding:64px var(--pad-x);gap:24px;}

.hero__wordmark{display:flex;flex-direction:column;}
.wm-line1{font-family:var(--font-display);font-weight:900;font-size:4.5rem;line-height:1;color:var(--cobalt);display:block;}
.wm-line2{display:flex;align-items:baseline;gap:0.35em;}
.wm-for{font-family:var(--font-display);font-weight:900;font-size:4.5rem;line-height:1;color:var(--cobalt);}
.wm-place{font-family:var(--font-display);font-weight:900;font-size:4.5rem;line-height:1;color:var(--cobalt);}
.hero__poster{display:none;width:100%;}
.hero__bio{font-family:var(--font-body);font-size:1.125rem;line-height:1.6;color:var(--midnight);max-width:500px;}

/* Hero form — Fluent Forms overrides */
.hero__form{max-width:559px;}
.hero__form .ff-el-input--label{display:none !important;}
.hero__form .ff-el-group{margin-bottom:14px !important;}
.hero__form input[type="text"],
.hero__form input[type="email"],
.hero__form input[type="tel"],
.hero__form input[type="number"],
.hero__form .ff-el-form-control{background:var(--white) !important;border:none !important;border-radius:4px !important;padding:16px !important;font-family:var(--font-ui) !important;font-size:0.9375rem !important;color:var(--midnight) !important;width:100%;}
.hero__form input::placeholder,
.hero__form .ff-el-form-control::placeholder{color:#999 !important;}
.hero__form input:focus,
.hero__form .ff-el-form-control:focus{outline:2px solid var(--cobalt) !important;outline-offset:-2px;}
.hero__form .ff-t-container{display:grid !important;grid-template-columns:1fr 1fr !important;gap:14px !important;}
.hero__form .ff_submit_btn_wrapper{margin-top:0 !important;}
.hero__form .ff-btn-submit,
.hero__form button[type="submit"]{width:100%;background:var(--flame) !important;color:var(--white) !important;border:none !important;border-radius:4px !important;padding:18px !important;font-family:var(--font-display) !important;font-weight:700 !important;font-size:1.25rem !important;letter-spacing:2px !important;text-transform:uppercase !important;cursor:pointer;transition:background .2s,transform .15s;}
.hero__form .ff-btn-submit:hover,
.hero__form button[type="submit"]:hover{background:var(--cobalt) !important;transform:translateY(-1px);}

@media(max-width:991px){
  .hero__inner{grid-template-columns:1fr;}
  .hero__photo{display:none;}
  .hero__poster{display:block;width:100%;}
  .hero__content{background:var(--cobalt);text-align:center;align-items:center;padding:28px 20px;}
  .hero__wordmark{display:none;}
  .hero__bio{color:var(--ivory);text-align:center;font-size:0.875rem;}
  .hero__form{max-width:100%;width:100%;}
  .hero__form input:focus{outline-color:var(--gold) !important;}
}

/* ══════════════════════════════
   WHAT SAUD STANDS FOR
   ══════════════════════════════ */
.stands-for{background:var(--ivory);}
.stands-for .section__label{color:var(--cobalt);}
.stands-for .section__title{color:var(--cobalt);}
.policy-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;max-width:1300px;margin:0 auto;}
.policy-card{background:var(--cobalt);border-radius:8px;padding:36px 32px;display:flex;flex-direction:column;gap:16px;transition:transform .2s,box-shadow .2s;}
.policy-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.12);}
.policy-card__title{font-family:var(--font-display);font-weight:800;font-size:1.75rem;line-height:1.2;color:var(--gold);}
.policy-card__desc{font-family:var(--font-body);font-size:1rem;line-height:1.6;color:var(--ivory);flex:1;}
.policy-card__link{font-family:var(--font-display);font-weight:700;font-size:0.875rem;letter-spacing:1.5px;color:var(--gold);text-transform:uppercase;transition:opacity .2s;}
.policy-card__link:hover{opacity:.8;}
.stands-for__cta{text-align:center;margin-top:40px;}
.btn--cta{display:inline-flex;align-items:center;justify-content:center;background:var(--flame);color:var(--white);font-family:var(--font-display);font-weight:700;font-size:1.25rem;letter-spacing:2px;padding:18px 48px;border-radius:6px;text-transform:uppercase;transition:transform .15s,box-shadow .15s;}
.btn--cta:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.15);}

@media(max-width:767px){
  .policy-cards{grid-template-columns:1fr;}
  .policy-card{padding:28px 24px;}
  .btn--cta{width:100%;padding:16px 32px;font-size:1rem;}
}

/* ══════════════════════════════
   DONATE
   ══════════════════════════════ */
.donate{background:var(--gold);}
.donate .section__label{color:var(--cobalt);}
.donate .section__title{color:var(--cobalt);font-size:3.5rem;}
.donate .section__desc{color:#402E0D;}
.donorbox-wrap{max-width:500px;margin:0 auto;background:var(--white);border-radius:12px;padding:2rem;box-shadow:0 8px 32px rgba(0,0,0,.08);min-height:200px;}

@media(max-width:767px){
  .donate .section__title{font-size:2.5rem;}
  .donorbox-wrap{margin-left:-4px;margin-right:-4px;padding:1rem;border-radius:8px;}
}

/* ══════════════════════════════
   GET INVOLVED
   ══════════════════════════════ */
.join{background:var(--cobalt);}
.join .section__label{color:var(--gold);}
.join .section__title{color:var(--white);}
.join .section__desc{color:var(--ivory);}
.ways-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;max-width:1300px;margin:0 auto;}
.way-card{background:var(--cobalt-light);border-radius:8px;padding:32px 28px;display:flex;flex-direction:column;gap:16px;transition:transform .2s,box-shadow .2s;}
.way-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.15);}
.way-card__title{font-family:var(--font-display);font-weight:800;font-size:1.375rem;color:var(--white);letter-spacing:.5px;}
.way-card__desc{font-family:var(--font-body);font-size:.9375rem;line-height:1.6;color:var(--ivory);flex:1;}
.way-card__link{font-family:var(--font-display);font-weight:700;font-size:.875rem;letter-spacing:1.5px;color:var(--gold);text-transform:uppercase;transition:opacity .2s;}
.way-card__link:hover{opacity:.8;}

@media(max-width:991px){.ways-grid{grid-template-columns:repeat(2,1fr);}}
@media(max-width:480px){.ways-grid{grid-template-columns:1fr;gap:16px;}}

/* ══════════════════════════════
   NEWSLETTER
   ══════════════════════════════ */
.newsletter{background:var(--flame);color:var(--white);padding:var(--pad-y) 0;text-align:center;}
.newsletter .section__title{color:var(--white);}
.newsletter__desc{font-family:var(--font-body);font-size:1.0625rem;line-height:1.6;max-width:550px;margin:0 auto 32px;color:rgba(255,255,255,.9);}
.newsletter__form-wrap{max-width:523px;margin:0 auto;}
.newsletter__form-wrap .ff-el-input--label{display:none !important;}
.newsletter__form-wrap .ff-el-group{margin-bottom:12px !important;}
.newsletter__form-wrap .ff-t-container{display:flex !important;gap:12px !important;}
.newsletter__form-wrap input[type="email"],
.newsletter__form-wrap input[type="text"],
.newsletter__form-wrap .ff-el-form-control{flex:1;padding:14px 20px !important;border:none !important;border-radius:4px !important;font-family:var(--font-ui) !important;font-size:.9375rem !important;background:var(--white) !important;color:var(--midnight) !important;width:100%;}
.newsletter__form-wrap input::placeholder,
.newsletter__form-wrap .ff-el-form-control::placeholder{color:#999 !important;}
.newsletter__form-wrap input:focus,
.newsletter__form-wrap .ff-el-form-control:focus{outline:2px solid var(--gold) !important;outline-offset:-2px;}
.newsletter__form-wrap .ff-btn-submit,
.newsletter__form-wrap button[type="submit"]{padding:14px 28px !important;background:var(--cobalt) !important;color:var(--white) !important;border:none !important;border-radius:4px !important;font-family:var(--font-display) !important;font-weight:700 !important;font-size:.9375rem !important;letter-spacing:1.5px !important;text-transform:uppercase !important;cursor:pointer;transition:background .2s;white-space:nowrap;width:auto;}
.newsletter__form-wrap .ff-btn-submit:hover,
.newsletter__form-wrap button[type="submit"]:hover{background:var(--midnight) !important;}

@media(max-width:480px){
  .newsletter__form-wrap .ff-t-container{flex-direction:column !important;}
  .newsletter__form-wrap .ff-btn-submit,
  .newsletter__form-wrap button[type="submit"]{width:100% !important;padding:16px !important;}
}

/* ══════════════════════════════
   FOOTER
   ══════════════════════════════ */
.site-footer{background:var(--midnight);color:var(--ivory);padding:48px 0 32px;}
.footer__top{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:1rem;}
.footer__logo-img{height:36px;width:auto;}
.footer__social{display:flex;gap:24px;}
.footer__social a{font-family:var(--font-ui);font-size:.875rem;color:var(--ivory);transition:color .2s;}
.footer__social a:hover{color:var(--gold);}
.footer__divider{border:none;height:1px;background:#333340;margin-bottom:16px;}
.footer__legal{font-family:var(--font-ui);font-size:.75rem;color:#737380;}

@media(max-width:767px){
  .site-footer{padding:32px 0 24px;}
  .footer__top{flex-direction:column;text-align:center;}
  .footer__social{justify-content:center;}
  .footer__legal{text-align:center;}
}

/* ══════════════════════════════
   VOLUNTEER PAGE
   ══════════════════════════════ */
.volunteer-form-wrap{
  width:calc(100% - 80px);
  max-width:820px;
  margin:40px auto 0;
  background:var(--white);
  border-radius:12px;
  padding:44px 52px;
  box-shadow:0 8px 32px rgba(0,0,0,.08);
}

.volunteer-form-wrap .ff-el-input--label{
  font-family:var(--font-ui);
  font-weight:500;
  color:var(--midnight);
}

.volunteer-form-wrap .ff-el-form-control,
.volunteer-form-wrap input,
.volunteer-form-wrap select,
.volunteer-form-wrap textarea{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  padding:14px 16px !important;
  border:1px solid #d8d8d8 !important;
  border-radius:4px !important;
  font-family:var(--font-ui) !important;
  font-size:1rem !important;
  background:var(--white) !important;
  color:var(--midnight) !important;
  box-shadow:none !important;
}

.volunteer-form-wrap .ff-el-form-control:focus,
.volunteer-form-wrap input:focus,
.volunteer-form-wrap select:focus,
.volunteer-form-wrap textarea:focus{
  outline:2px solid var(--cobalt) !important;
  outline-offset:-1px;
}

.volunteer-form-wrap .ff-btn-submit,
.volunteer-form-wrap button[type="submit"]{
  width:100% !important;
  background:var(--flame) !important;
  color:var(--white) !important;
  border:none !important;
  border-radius:4px !important;
  padding:16px 24px !important;
  font-family:var(--font-display) !important;
  font-weight:700 !important;
  font-size:1.125rem !important;
  letter-spacing:1.5px !important;
  text-transform:uppercase !important;
  cursor:pointer;
}

.volunteer-form-wrap .ff-btn-submit:hover,
.volunteer-form-wrap button[type="submit"]:hover{
  background:var(--cobalt) !important;
}

@media(max-width:991px){
  .volunteer-form-wrap{
    width:calc(100% - 48px);
    max-width:760px;
    padding:34px 30px;
  }
}

@media(max-width:767px){
  .volunteer-form-wrap{
    width:calc(100% - 32px);
    margin-top:24px;
    padding:24px 18px;
    border-radius:8px;
  }

  .volunteer-form-wrap .ff-el-form-control,
  .volunteer-form-wrap input,
  .volunteer-form-wrap select,
  .volunteer-form-wrap textarea{
    font-size:16px !important;
  }
}


/* Volunteer form — prevent iOS focus zoom and horizontal drag/overflow */
.volunteer-form-wrap,
.volunteer-form-wrap form,
.volunteer-form-wrap .fluentform,
.volunteer-form-wrap .frm-fluent-form,
.volunteer-form-wrap .ff-el-group,
.volunteer-form-wrap .ff-el-input--content,
.volunteer-form-wrap .ff-t-container,
.volunteer-form-wrap .ff-t-cell{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}

.volunteer-form-wrap .ff-t-container{
  overflow:visible !important;
}

@media(max-width:767px){
  .volunteer-form-wrap .ff-t-container{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:12px !important;
  }

  .volunteer-form-wrap input,
  .volunteer-form-wrap select,
  .volunteer-form-wrap textarea,
  .volunteer-form-wrap .ff-el-form-control{
    font-size:16px !important;
    line-height:1.4 !important;
    -webkit-text-size-adjust:100%;
  }
}


/* ══════════════════════════════
   HARD iOS SAFARI FORM / OVERFLOW FIX
   ══════════════════════════════ */

/* Safari can still expose horizontal rubber-banding when a child is wider than
   the layout viewport. Clip at the root and force all theme/form wrappers to
   stay within the viewport. */
html{
  overflow-x:clip !important;
  max-width:100% !important;
}

body{
  overflow-x:clip !important;
  max-width:100% !important;
  min-width:0 !important;
}

.site-header,
main,
section,
footer,
.container,
.volunteer-form-wrap,
.volunteer-form-wrap form,
.volunteer-form-wrap .fluentform,
.volunteer-form-wrap .frm-fluent-form,
.volunteer-form-wrap .ff-el-group,
.volunteer-form-wrap .ff-el-input--content,
.volunteer-form-wrap .ff-t-container,
.volunteer-form-wrap .ff-t-cell,
.volunteer-form-wrap .ff-el-form-control{
  min-width:0 !important;
  max-width:100% !important;
  box-sizing:border-box !important;
}

/* Keep Fluent Forms rows from retaining desktop widths on iPhone. */
@media(max-width:767px){
  .volunteer-form-wrap{
    width:100% !important;
    max-width:100% !important;
    margin:24px 0 0 !important;
    padding:24px 18px !important;
  }

  .volunteer-form-wrap .ff-t-container,
  .volunteer-form-wrap .ff-t-cell{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
  }

  /* 16px computed size is the key threshold that prevents iOS Safari's
     automatic focus zoom. Apply it to every native control and FF control. */
  .volunteer-form-wrap input:not([type="checkbox"]):not([type="radio"]),
  .volunteer-form-wrap select,
  .volunteer-form-wrap textarea,
  .volunteer-form-wrap .ff-el-form-control{
    font-size:16px !important;
    line-height:1.4 !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  /* Prevent long option/help/error text from forcing the viewport wider. */
  .volunteer-form-wrap,
  .volunteer-form-wrap *{
    overflow-wrap:anywhere;
    word-break:normal;
  }
}



/* ══════════════════════════════
   FLUENT FORMS CHECKBOX ALIGNMENT FIX
   Keeps checkbox/radio controls beside their labels on desktop and mobile.
   ══════════════════════════════ */

/* Never stretch checkbox/radio inputs to 100% width. */
.volunteer-form-wrap input[type="checkbox"],
.volunteer-form-wrap input[type="radio"],
.volunteer-form-wrap .ff-el-form-check-input{
  width:18px !important;
  height:18px !important;
  min-width:18px !important;
  max-width:18px !important;
  flex:0 0 18px !important;
  margin:0 !important;
  padding:0 !important;
  vertical-align:middle !important;
  box-sizing:border-box !important;
}

/* Each Fluent Forms checkbox option sits on one horizontal row. */
.volunteer-form-wrap .ff-el-form-check{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 0 12px !important;
  padding:0 !important;
}

/* Fluent Forms may put the input inside the label. Handle both structures. */
.volunteer-form-wrap .ff-el-form-check label,
.volunteer-form-wrap label.ff-el-form-check-label{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:10px !important;
  width:auto !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  font-family:var(--font-body) !important;
  font-size:1rem !important;
  line-height:1.45 !important;
  color:var(--midnight) !important;
  cursor:pointer;
}

/* Prevent generic form-input rules from turning checks into full-width bars. */
.volunteer-form-wrap .ff-el-form-check input{
  display:inline-block !important;
}

/* Keep the checkbox group itself aligned with the rest of the form. */
.volunteer-form-wrap .ff-el-group .ff-el-input--content{
  text-align:left !important;
}

/* Some Fluent Forms checkbox groups use UL/LI markup. */
.volunteer-form-wrap .ff-el-form-check-wrap,
.volunteer-form-wrap .ff-el-form-check-wrap ul,
.volunteer-form-wrap .ff-el-form-check-wrap li{
  width:100% !important;
  max-width:100% !important;
  margin-left:0 !important;
  padding-left:0 !important;
}

.volunteer-form-wrap .ff-el-form-check-wrap li{
  list-style:none !important;
}

/* Desktop form presentation */
@media(min-width:768px){
  .volunteer-form-wrap{
    max-width:900px !important;
    padding:44px 56px !important;
  }

  .volunteer-form-wrap .ff-el-form-check{
    max-width:100% !important;
  }
}

/* iOS/mobile: retain 16px text controls but NOT checkbox/radio dimensions. */
@media(max-width:767px){
  .volunteer-form-wrap input[type="checkbox"],
  .volunteer-form-wrap input[type="radio"],
  .volunteer-form-wrap .ff-el-form-check-input{
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    max-width:20px !important;
    flex-basis:20px !important;
    font-size:initial !important;
  }

  .volunteer-form-wrap .ff-el-form-check,
  .volunteer-form-wrap .ff-el-form-check label,
  .volunteer-form-wrap label.ff-el-form-check-label{
    align-items:flex-start !important;
  }
}



/* ══════════════════════════════
   iOS SAFARI — FLUENT FORMS CHECKBOX ROW FIX
   ══════════════════════════════ */

@media(max-width:767px){

  /* Force every Fluent Forms checkbox option into a true 2-column row:
     checkbox on the left, text on the right. */
  .volunteer-form-wrap .ff-el-form-check{
    display:grid !important;
    grid-template-columns:22px minmax(0,1fr) !important;
    grid-template-rows:auto !important;
    column-gap:12px !important;
    row-gap:0 !important;
    align-items:center !important;
    justify-content:start !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 0 14px !important;
    padding:0 !important;
  }

  .volunteer-form-wrap .ff-el-form-check > input[type="checkbox"],
  .volunteer-form-wrap .ff-el-form-check > input[type="radio"],
  .volunteer-form-wrap .ff-el-form-check .ff-el-form-check-input{
    grid-column:1 !important;
    grid-row:1 !important;
    display:block !important;
    width:20px !important;
    height:20px !important;
    min-width:20px !important;
    max-width:20px !important;
    margin:0 !important;
    padding:0 !important;
    border:1px solid #8d8d8d !important;
    border-radius:4px !important;
    box-sizing:border-box !important;
    -webkit-appearance:checkbox !important;
    appearance:checkbox !important;
    transform:none !important;
  }

  .volunteer-form-wrap .ff-el-form-check > label,
  .volunteer-form-wrap .ff-el-form-check label.ff-el-form-check-label{
    grid-column:2 !important;
    grid-row:1 !important;
    display:block !important;
    width:auto !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    font-family:var(--font-body) !important;
    font-size:16px !important;
    line-height:1.35 !important;
    color:var(--midnight) !important;
    text-align:left !important;
  }

  /* Some Fluent Forms builds wrap the checkbox inside the label.
     Keep that structure horizontal too. */
  .volunteer-form-wrap .ff-el-form-check > label:has(input[type="checkbox"]),
  .volunteer-form-wrap .ff-el-form-check > label:has(input[type="radio"]){
    grid-column:1 / -1 !important;
    display:grid !important;
    grid-template-columns:22px minmax(0,1fr) !important;
    column-gap:12px !important;
    align-items:center !important;
  }

  .volunteer-form-wrap .ff-el-form-check > label:has(input) input{
    grid-column:1 !important;
  }

  /* Keep the whole form comfortably inside the iPhone viewport. */
  .volunteer-form-wrap{
    width:100% !important;
    max-width:100% !important;
    margin:24px 0 0 !important;
    padding:22px 16px !important;
    overflow:hidden !important;
  }

  .volunteer-form-wrap form,
  .volunteer-form-wrap .frm-fluent-form,
  .volunteer-form-wrap .fluentform,
  .volunteer-form-wrap .ff-el-group,
  .volunteer-form-wrap .ff-el-input--content{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  /* 16px prevents iOS Safari focus zoom on text controls. */
  .volunteer-form-wrap input:not([type="checkbox"]):not([type="radio"]),
  .volunteer-form-wrap select,
  .volunteer-form-wrap textarea,
  .volunteer-form-wrap .ff-el-form-control:not([type="checkbox"]):not([type="radio"]){
    font-size:16px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }
}