/*
  Author: Magdi Saad
  Version: 1.0.0 (Build 2026-01-20)

  Copyright © 2026 Sudanese Americans Association for Southern Colorado.
  Code (HTML/CSS/JS) is licensed under the MIT License (see LICENSE).
  Name, logo, and website content are © 2026 Sudanese Americans Association for Southern Colorado; all rights reserved (see NOTICE).
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');
/* SAASCO nonprofit theme (clean, airy, friendly) */
:root{
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #121826;
  --muted: rgba(18,24,38,0.72);
  --border: rgba(18,24,38,0.12);

  --primary: #f26522;     /* welfare orange */
  --secondary: #3bb54a;   /* welfare green */
  --accent: #0b5ed7;      /* link blue */

  --shadow: 0 14px 40px rgba(16, 24, 40, 0.10);
  --radius: 18px;
  --max: 1280px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 520px at 12% 8%, rgba(242,101,34,0.10), transparent 55%),
    radial-gradient(900px 520px at 90% 12%, rgba(59,181,74,0.10), transparent 55%),
    var(--bg);
  overflow-x:hidden;

  line-height: 1.5;
}

a{color:var(--accent); text-decoration:none}
a:hover{color: rgba(11,94,215,0.85); text-decoration: underline;}
.container{max-width:var(--max); margin:0 auto; padding:0 22px}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:18px; top:14px; width:auto; height:auto; padding:10px 12px;
  background:#fff; color:#000; border-radius:12px; z-index:9999;
  border:1px solid var(--border);
}

header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}
.brand img{
  height: clamp(44px, 6vw, 80px);
  width: auto;
  display: block;
  background: transparent;
  border-radius: 14px;
}
.brand .name strong{
  font-size: clamp(16px, 2.0vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}
nav a{
  font-size: 15px;
  font-weight: 800;
  color: rgba(18,24,38,0.85);
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration:none;
  border: 1px solid transparent;
}
nav a:hover{background: rgba(242,101,34,0.10); border-color: rgba(242,101,34,0.18);}
nav a.active{background: rgba(242,101,34,0.14); border-color: rgba(242,101,34,0.22);}
nav a:hover{
  background: rgba(255,255,255,0.65);
  border-color: var(--border);
}

main{padding: 20px 0 28px}

.card{
  background: var(--surface);
  border: 2px solid rgba(108, 160, 74, 0.85);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card.pad{padding: 18px}
.section{
  padding: 34px 0;
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 920px){ .grid2{grid-template-columns:1fr} }

.hero{
  padding: 28px 0 14px;
}
.hero .card.pad{
  position: relative;
  overflow:hidden;
}
.hero .card.pad::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 380px at 18% 15%, rgba(242,101,34,0.18), transparent 55%),
    radial-gradient(900px 380px at 88% 25%, rgba(59,181,74,0.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.96));
  pointer-events:none;
}
.hero .card.pad > *{position: relative;}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: stretch;
}


.eyebrow{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(5, 134, 5);
  border: 1px solid rgba(5, 134, 5);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.80);
}

h1{
  margin: 12px 0 10px;
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.16;
  letter-spacing: -0.01em;
}

@media (max-width: 920px){ h1{font-size: 32px} }
h2{margin: 18px 0 10px; font-size: 18px; letter-spacing:-.01em}
h3{margin: 14px 0 8px; font-size: 15px}

p{margin: 0 0 12px; color: var(--muted)}
strong{color: var(--ink)}
ul{margin: 0 0 12px; padding-left: 18px; color: var(--muted)}
li{margin: 6px 0}

.hl{
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hl::before{
  content:"";
  position:absolute;
  left:-6px; right:-6px;
  bottom: .08em;
  height: .45em;
  background: #3bb54a;
  border-radius: 999px;
  z-index:-1;
  transform: rotate(-1.2deg);
  opacity: .9;
}

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

/* Home hero actions: match main menu hover + formal ink color */
.actions .btn{
  background: rgba(255,255,255,0.65);
  border: 1px solid transparent;
  color: #121826;
  box-shadow: none;
}
.actions .btn:hover{
  background: rgba(242,101,34,0.10);
  border-color: rgba(242,101,34,0.18);
  box-shadow: none;
}
.actions .btn.primary{
  background: rgba(242,101,34,0.14);
  border-color: rgba(242,101,34,0.22);
  color: #121826;
}
.actions .btn.primary:hover{
  background: rgba(242,101,34,0.18);
  border-color: rgba(242,101,34,0.26);
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
}
.btn.primary{background: var(--primary); color:#fff;}
.btn.primary:hover{filter:brightness(0.96);}
.btn.secondary{background: rgba(59,181,74,0.12); color: rgba(18,24,38,0.92); border-color: rgba(59,181,74,0.22);}
.btn.secondary:hover{background: rgba(59,181,74,0.18);}
.btn:hover{
  border-color: rgba(31,111,235,0.35);
  box-shadow: 0 10px 24px rgba(31,111,235,0.14);
}
.btn.primary{
  border-color: rgba(31,111,235,0.45);
  background: linear-gradient(180deg, rgba(31,111,235,0.16), rgba(31,111,235,0.08));
  color: var(--ink);
}
.btn.primary:hover{
  background: linear-gradient(180deg, rgba(31,111,235,0.22), rgba(31,111,235,0.10));
}

.badges{margin-top: 10px}
.badge-container {
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center;     /* Centers vertically (if height is set) */
  width: 100%;
}
.badge{
  display:inline-block;
  margin: 10px 10px 0 0;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(18,24,38,0.14);
  background: rgba(255,255,255,0.82);
  color: rgba(18,24,38,0.78);
  font-size: 14px;
  font-weight: 800;
}

.figure .circle{
  position:absolute;
  right: 14px;
  top: 18px;
  width: 290px;
  aspect-ratio: 1/1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(154,230,180,0.45), transparent 55%),
    radial-gradient(circle at 70% 40%, rgba(31,111,235,0.28), transparent 58%),
    rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(17,24,39,0.10);
  display:flex;
  align-items:center;
  justify-content:center;
}
.figure .circle img{
  width: 78%;
  height:auto;
  display:block;
}
.figure .dots{
  position:absolute;
  left: 16px;
  bottom: 18px;
  width: 120px;
  height: 80px;
  background-image: radial-gradient(rgba(17,24,39,0.18) 1.2px, transparent 1.2px);
  background-size: 12px 12px;
  opacity: .7;
  /* Keep the frame subtle: minimal border + softer radius */
  border-radius: 12px;
}
.figure .tag{
  position:absolute;
  left: 16px;
  top: 18px;
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--border);
  font-weight: 800;
  font-size: 13px;
  color: rgba(17,24,39,0.85);
}

.note{
  padding: 12px 14px;
  /* Keep the frame subtle: minimal border + softer radius */
  border-radius: 12px;
  border: 1px solid rgb(130 174 101);
  background: rgb(239 242 231);
  color: rgba(17,24,39,0.86);
  margin-top: 12px;
  font-size: 13px;
}

footer{
  margin-top: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.45);
  color: rgba(17,24,39,0.70);
  font-size: 13px;
}
footer a{color: var(--ink); font-weight:800}
.small{font-size: 13px; color: rgba(17,24,39,0.70)}

/* Swiss-inspired modules */
.divider{
  height: 34px;
  margin: 18px 0;
  position: relative;
}
.divider svg{
  width: 100%;
  height: 100%;
  display:block;
}

/* Tight divider variant (used on index between the split card and next section) */
.divider--tight{
  height: 24px;
  margin: 10px 0;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.section-head p{max-width: 64ch}
.kicker{
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgb(5, 134, 5);
  
}
.icon-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px){ .icon-grid{grid-template-columns:1fr} }
.icon-card{
  background: rgba(255,255,255,0.86);
  border: 2px solid rgba(108, 160, 74, 0.85);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 14px 30px rgba(17,24,39,0.08);
}
.icon-row{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-bottom: 8px;
}
.icon{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 2px solid rgba(108, 160, 74, 0.85);
  background: rgba(255,255,255,0.78);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(17,24,39,0.78);
}
.icon svg{width: 22px; height: 22px; color: rgba(17,24,39,0.78)}
.icon i{font-size: 20px; line-height: 1;}
.icon-card h3{margin: 0; font-size: 15px}
.icon-card p{margin: 8px 0 0}
.split{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 980px){ .split{grid-template-columns:1fr} }
.cause{
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 14px 30px rgba(17,24,39,0.08);
}
.cause .meta{
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(17,24,39,0.70);
}
.progress{
  height: 10px;
  border-radius: 999px;
  background: rgba(17,24,39,0.08);
  overflow: hidden;
  border: 1px solid rgba(17,24,39,0.05);
  margin-top: 10px;
}
.progress > span{
  display:block;
  height:100%;
  width: var(--pct, 40%);
  background: linear-gradient(90deg, rgba(31,111,235,0.45), rgba(154,230,180,0.70));
}
.callout{
  border: 2px solid rgba(108, 160, 74, 0.85);
  background: rgba(31,111,235,0.05);
  border-radius: var(--radius);
  padding: 16px;
}
.mini{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.chip{
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.05);
  background: rgba(255,255,255,0.70);
  color: rgba(17,24,39,0.70);
}

/* Small-screen typography tweaks */
@media (max-width: 520px){
  h1{font-size:28px;}
  .card.pad{padding:14px;}
  .icon-grid{grid-template-columns:1fr;}
}

/* Prevent horizontal overflow for embeds/media across the site */
img, video, iframe{max-width:100%;}

@media (min-width: 1500px){
  :root{
  --bg: #f6f7f9;
  --surface: #ffffff;
  --ink: #121826;
  --muted: rgba(18,24,38,0.72);
  --border: rgba(18,24,38,0.12);

  --primary: #f26522;     /* welfare orange */
  --secondary: #3bb54a;   /* welfare green */
  --accent: #0b5ed7;      /* link blue */

  --shadow: 0 14px 40px rgba(16, 24, 40, 0.10);
  --radius: 18px;
  --max: 1280px;
}
}

@media (min-width: 1100px){
  .nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}
}

/* Welfare-like typography */
h1,h2,h3,.brand .name strong{
  font-size: clamp(16px, 2.0vw, 28px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}

/* Topbar (Welfare-inspired) */
.topbar{
  background: #121826;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.topbar a{color: rgba(255,255,255,0.92); text-decoration:none;}
.topbar a:hover{text-decoration:underline;}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
}
.topbar-left{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}
.topbar-sep{opacity:0.55;}
.topbar-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 800;
  letter-spacing: .2px;
}
.topbar-btn:hover{filter: brightness(0.95); text-decoration:none;}

.brand img{image-rendering: auto;}


/* --- Activities page video/layout fixes --- */
.grid2{min-width:0;}
.cause, .card, .note{min-width:0;}
.stack{grid-template-columns: 1fr !important;}

.page-activities .grid2.stack{
  grid-template-columns: 1fr !important;
}

/* Responsive 16:9 media frame (fixes centered tiny player + large gaps) */
.media-frame{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  position: relative;
  background: #000;
  /* Keep the frame subtle: minimal border + softer radius */
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(17,24,39,0.05);
  aspect-ratio: 16 / 9;
}

/* Fallback for older browsers that do not support aspect-ratio */
@supports not (aspect-ratio: 16 / 9){
  .media-frame{height: 0; padding-top: 56.25%;}
}

.media-frame > video,
.media-frame > iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

@media (max-width: 860px){
  .media-frame{border-radius: 10px;}
}

/* Calendar should be responsive and not force overflow */
.calendar-frame{width:100%; max-width:100%; margin: 0;}

.calendar-frame iframe{display:block; width:100%; height:650px; border:0;}

/* Typography override: use Inter across headings and brand */
h1,h2,h3,.brand .name strong{font-family: "Inter", sans-serif;}


/* WCAG 2.1 SC 1.4.12 (Text Spacing) — enable by adding: <body class="wcag-text-spacing"> */
body.wcag-text-spacing *{
  line-height: 1.5 !important;          /* >= 1.5 × font size */
  letter-spacing: 0.12em !important;     /* >= 0.12 × font size */
  word-spacing: 0.16em !important;       /* >= 0.16 × font size */
}
body.wcag-text-spacing p{
  margin-bottom: 2em !important;         /* >= 2 × font size */
}
/* Keep containers flexible so spacing does not cause horizontal scrolling */
body.wcag-text-spacing .container,
body.wcag-text-spacing header,
body.wcag-text-spacing main,
body.wcag-text-spacing footer{
  overflow-wrap: anywhere;
}


/* Robustness: prevent layout break if user applies large spacing via browser/extension */
nav{flex-wrap: wrap;}
nav a{white-space: normal;}
.btn{white-space: normal;}
.badge{white-space: normal;}

/* --- Featured initiatives: simple 3-box layout --- */
.initiatives-head h2{
  font-size: 22px; /* smaller section header */
}

.grid2.initiatives.blocks{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

@media (max-width: 1100px){
  .grid2.initiatives.blocks{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px){
  .grid2.initiatives.blocks{ grid-template-columns: 1fr; }
}

.fund-box{
  border: 2px solid rgba(108, 160, 74, 0.85);
  border-radius: 20px;
  background: #fff;
  padding: 26px 22px;
  box-shadow: none;
}

.fund-box h3{
  margin: 0 0 14px;
  font-size: 17px; /* smaller block title */
  line-height: 1.25;
  text-align: center;
  font-weight: 700;
}

.fund-progress{
  height: 10px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.20);
  overflow: hidden;
}

.fund-progress span{
  display:block;
  height: 100%;
  width: 55%;
  background: rgba(108, 160, 74, 0.55);
}

.fund-meta{
  display:flex;
  justify-content: space-between;
  margin-top: 14px;
  font-weight: 700;
}
.site-footer{
  margin-top: 26px;
  padding: 28px 0 18px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.45);
  color: rgba(17,24,39,0.75);
  font-size: 13px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 18px;
}

@media (max-width: 980px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }
}
@media (max-width: 360px){
  .footer-grid{ grid-template-columns: 1fr; }
}

.footer-title{
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: rgba(17,24,39,0.70);
}

.footer-text{ margin: 0 0 8px; }

.footer-links a{
  display: inline-block;
  width: auto;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--ink);
  font-weight: 800;
  opacity: .9;
  text-decoration: none;
}
.footer-links a:hover{
  opacity: 1;
  background: rgba(242,101,34,0.10);
  border-color: rgba(242,101,34,0.18);
}


/* === Footer quick-links: widget-style bar + arrow icons (per design reference) === */
.footer-links--quick{
  position: relative;
  padding-left: 16px; /* space for the green side panel */
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px; /* reduce space between first and second line */
}
.footer-links--quick::before{
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 6px;
  border-radius: 8px;
  background: var(--secondary);
}
.footer-links--quick a{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
}
.footer-links--quick a:hover{
  background: rgba(242,101,34,0.10);
  border-color: rgba(242,101,34,0.18);
  text-decoration: none;
}
.footer-links--quick .ql-ico{
  color: var(--secondary);
  font-size: 15px;
  line-height: 1;
}
.footer-links--quick span{ white-space: nowrap; }

.footer-bottom{
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
}

.footer-fineprint{
  max-width: 90ch;
  opacity: .85;
}

.footer-legal{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  white-space: normal;
}
.footer-legal a{ color: var(--ink); font-weight: 800; }
.footer-legal .dot{ opacity: .5; }

/* === Header navigation (responsive, scoped) === */
header .nav{
  align-items: center;
}
header #navMenu{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}
header #navMenu a{
  font-size: 15px;
  font-weight: 800;
  color: rgba(18,24,38,0.85);
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration:none;
  border: 1px solid transparent;
}
header #navMenu a:hover{
  background: rgba(242,101,34,0.10);
  border-color: rgba(242,101,34,0.18);
}
header #navMenu a.active{
  background: rgba(242,101,34,0.14);
  border-color: rgba(242,101,34,0.22);
}

/* Desktop: hide toggle */
header .nav-toggle{ display:none; }

/* Mobile/resize: show toggle and collapse menu */
@media (max-width: 980px){
  header .nav{
    flex-wrap: wrap;
    gap: 10px;
  }
  header .brand{
    min-width: 0;
    max-width: calc(100% - 64px);
  }
  header .brand .name strong{
    font-size: clamp(14px, 3.6vw, 18px);
    line-height: 1.15;
  }
  header .nav-toggle{
    display: inline-flex !important;
    margin-left: auto;
    align-items:center;
    justify-content:center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.92);
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
  }
  header .nav-toggle:focus{
    outline: 3px solid rgba(31,111,235,0.25);
    outline-offset: 2px;
  }

  header #navMenu{
    width: 100%;
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 10px 0 6px;
  }
  header #navMenu.is-open{ display:flex !important; }

  header #navMenu a{
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255,255,255,0.92);
  }
}

/* === Footer safety: do not let header nav rules affect footer nav === */
.site-footer nav,
.site-footer nav.footer-links{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: flex-start;
}
/* --- Donate page: Ways to Give (QR left, text right) --- */
.ways-give p{ margin: 10px 0; }
.ways-give ul{ margin-top: 6px; }
.give-note{ margin-top: 10px; }

.give-zelle{
  display:flex;
  gap: 14px;
  align-items: center;
}

.give-zelle__qr{ flex: 0 0 auto; }

.zelle-qr{
  display:block;
  width: 140px;
  max-width: 140px;
  height: auto;
  border: 1px solid rgba(17,24,39,0.14);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 8px 22px rgba(17,24,39,0.08);
}

.give-zelle__text{
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 720px){
  .give-zelle{
    flex-direction: column;
    align-items: flex-start;
  }
  .zelle-qr{
    width: 160px;
    max-width: 100%;
  }
}

/* --- Donate page: equal-height two-column cards and compact Ways to Give --- */
.donate-grid{ margin-top: 14px; align-items: stretch; }
.card-flat{ box-shadow: none; }

.ways-give-grid{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 16px;
  align-items: start;
}

.zelle-note{ margin-top: 0; padding: 12px 14px; }
.zelle-qr{
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto 10px;
  border: 1px solid rgba(17,24,39,0.14);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 8px 22px rgba(17,24,39,0.08);
}
.zelle-lead{ margin: 0 0 8px; }
.zelle-sub{ margin: 0; }

.ways-give-right h2{ margin-top: 0; }

@media (max-width: 900px){
  .ways-give-grid{ grid-template-columns: 1fr; }
  .zelle-qr{ margin-left: 0; }
}


/* === Mobile readiness enhancements === */

/* Make the site feel intentional on phones: spacing, tap targets, and wrapping */
@media (max-width: 720px){
  .container{ padding: 0 16px; }
  main{ padding: 16px 0 24px; }
  .hero{ padding: 22px 0 10px; }
  .section{ padding: 20px 0; }
  .divider{ height: 22px; margin: 10px 0; }
  .divider--tight{ height: 16px; margin: 6px 0; }

  /* Footer: allow wrapping without horizontal overflow */
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  .footer-legal{ white-space: normal; flex-wrap: wrap; }
}

@media (max-width: 520px){
  .container{ padding: 0 14px; }

  /* Topbar: stack cleanly */
  .topbar-inner{ flex-direction: column; align-items: center; text-align: center; }
  .topbar-left{ justify-content: center; gap: 6px; }
  .topbar-sep{ display: none; }
  .topbar-btn{ width: auto; min-width: 190px; max-width: 92%; padding: 10px 26px; margin-top: 8px; }

  /* Hero actions: full-width buttons for easier tapping */
  .actions{ gap: 10px; }
  .actions .btn{ flex: 1 1 100%; width: 100%; }

  /* Badges: compact and wrap without extra margins */
  .badges{ display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
  .badge{ margin: 0; font-size: 13px; padding: 8px 12px; }

  /* Footer legal: dots become awkward when wrapping */
  .footer-legal .dot{ display: none; }


  /* Footer: reduce vertical footprint on mobile */
  .site-footer{ padding: 18px 0 12px; }
  .footer-title{ margin-bottom: 6px; }
  .footer-text{ margin: 0 0 6px; }
  .footer-links{ display: flex; flex-wrap: wrap; gap: 6px 10px; }
  .footer-links a{ padding: 5px 8px; font-size: 13px; }

  /* Quick links widget: keep arrow-list spacing compact on mobile */
  .footer-links.footer-links--quick{ gap: 4px 16px; }
  .footer-links.footer-links--quick a{ padding: 2px 0; }

  /* Calendar iframe: less tall on phones */
  .calendar-frame iframe{ height: 560px; }


  /* Header: prevent the long title from taking over the sticky area on phones */
  header .nav{ padding: 10px 0; }
  header .brand .name strong{
    font-size: 15px;
    line-height: 1.12;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  header.is-scrolled .nav{ padding: 6px 0; }
  header.is-scrolled .brand .name{ display: none; }
  header.is-scrolled .brand img{ height: 56px; }
}

@media (max-width: 380px){
  .container{ padding: 0 12px; }
  h1{ font-size: 26px; }
}


/* --- Inline styles extracted from HTML (auto-generated) --- */
.u1{
  margin:6px 0 0;
}
.u2{
  margin:0;
}
.u3{
  margin-top:10px;
}
.u4{
  height:18px;
}
.u5{
  border-radius:16px;
  overflow:auto;
  width:100%;
}
.u6{
  height:12px;
}
.u7{
  margin-top:0;
}
.u8{
  margin-top:14px;
}
.u9{
  box-shadow:none;
}
.u10{
  margin-top:18px;
}
.u11{
  margin:6px 0 10px;
}
.u12{
  height:16px;
}
.u13{
  width:75%;
}
.u14{
  width:55%;
}
.u15{
  width:95%;
}


.page-lead{font-size: 14px; color: rgba(17,24,39,0.72); margin: 6px 0 14px;}

/* === One-page scroll helpers === */
.onepage #home,
.onepage .page-section{
  scroll-margin-top: 120px; /* leave room for topbar/header */
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}


/* Video caption note (without boxed .note styling) */
.media-note{
  color: var(--muted);
}
