/* =========================================================
   Community Outreach page (community-outreach.html) — parts only this page uses.
   Shared parts come from home.css + camp.css.
   Named mua-outreach.css because the old site already has assets/css/community.css.
   ========================================================= */

/* ---------- Hero: text left, tall photo + quote right ---------- */
.o-hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.o-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 75% at 85% 20%, rgba(216, 176, 81, .18), transparent 60%); }
.o-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 150px; }
.o-hero__text { display: flex; flex-direction: column; gap: 22px; max-width: 580px; }
.o-hero h1 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 900; }
.o-hero__tag { font-family: var(--font-display); font-style: italic; font-weight: 700; color: var(--gold); font-size: 20px; margin: 0; }

.o-hero__media { position: relative; justify-self: end; width: min(100%, 440px); }
.o-hero__photo { aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--ph); box-shadow: 0 30px 70px rgba(0, 0, 0, .3); border: 4px solid rgba(255, 255, 255, .12); }
.o-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.o-hero__media::before { content: ""; position: absolute; right: -26px; top: -26px; width: 140px; height: 140px; border-radius: 50%; border: 2px solid rgba(216, 176, 81, .45); }
.o-quote { position: absolute; left: -48px; bottom: -36px; max-width: 320px; margin: 0; background: #fff; color: var(--ink); border-radius: 20px; padding: 18px 20px; box-shadow: var(--shadow); border-left: 5px solid var(--gold); }
.o-quote p { font-weight: 800; font-size: 15px; line-height: 1.45; }
.o-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 12px; color: var(--body); }

/* ---------- Facts strip (overlaps the hero) ---------- */
.o-facts { list-style: none; margin: 0; padding: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; background: #fff; border-radius: 24px; box-shadow: var(--shadow); }
.o-facts li { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; }
.o-facts li + li { border-left: 1px solid var(--line); border-radius: 0; }
.o-facts__icon { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--gold-soft); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.o-facts b { display: block; font-size: 17px; line-height: 1.3; }
.o-facts small { display: block; font-size: 13px; color: var(--body); line-height: 1.4; }

/* ---------- Programs ---------- */
.o-programs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.o-program { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform .2s, box-shadow .2s; }
.o-program:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(27, 47, 94, .1); }
.o-program__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.o-program__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; flex: none; }
.o-program__tag { font-size: 12px; font-weight: 800; color: #7A5A12; background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; }
.o-program h3 { font-size: 20px; font-weight: 900; }
.o-program > p { font-size: 15px; color: var(--body); flex: 1; }
.o-program dl { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.o-program dl div { display: flex; flex-direction: column; min-width: 0; }
.o-program dt { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-text); }
.o-program dd { margin: 0; font-size: 14px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.o-program--free { background: var(--navy); border-color: var(--navy); color: #fff; }
.o-program--free > p { color: var(--muted-on-dark); }
.o-program--free .o-program__icon { background: var(--gold); color: var(--ink); }
.o-program--free .o-program__tag { background: rgba(255, 255, 255, .14); color: var(--gold); }
.o-program--free dl { border-color: rgba(255, 255, 255, .15); }
.o-program--free dt { color: var(--gold); }
.o-program--free dd { color: #fff; }

/* ---------- Ways to help ---------- */
.o-help { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.o-help li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 12px; }
.o-help__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.o-help h3 { font-size: 19px; font-weight: 900; }
.o-help p { font-size: 15px; color: var(--body); flex: 1; }
.o-help a { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; color: var(--navy); text-decoration: none; }
.o-help a::after { content: "→"; transition: transform .15s; }
.o-help a:hover::after { transform: translateX(3px); }

/* ---------- Photo wall (the server photos are small, 257 x 230, so tiles stay small and sharp) ---------- */
.o-photos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.o-photos li { aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; background: var(--ph); }
.o-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.o-photos li:hover img { transform: scale(1.04); }

/* ---------- Partners ---------- */
.o-partners { margin-top: 56px; text-align: center; }
.o-partners h3 { font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 18px; }
.o-partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.o-partners li { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 14px; color: var(--ink); }

/* ---------- Join form (navy .mu-book box) ---------- */
.o-formwrap { display: contents; }
.o-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.mu-form textarea { min-height: 120px; resize: vertical; border-radius: 12px; border: 1.5px solid #CBD3E1; padding: 12px 14px; font: inherit; font-size: 15px; font-weight: 400; color: var(--ink); background: #fff; line-height: 1.55; }
.mu-form textarea:focus { border-color: var(--navy); outline: 3px solid rgba(216, 176, 81, .5); outline-offset: 0; }
.o-done { flex: 1 1 380px; min-width: 0; background: #fff; color: var(--ink); border-radius: 24px; padding: 40px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.o-done:focus { outline: none; }
.o-done__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.o-done h3 { font-size: 24px; font-weight: 900; }
.o-done p { color: var(--body); max-width: 360px; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .o-help { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .o-programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .o-hero__inner { grid-template-columns: 1fr; gap: 64px; padding-bottom: 140px; }
  .o-hero__media { justify-self: center; width: min(100%, 400px); }
  .o-quote { left: 16px; right: 16px; bottom: -30px; max-width: none; }
  .o-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .o-facts li:nth-child(3) { border-left: 0; }
  .o-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .o-hero__inner { padding-top: 36px; }
  .o-hero__photo { aspect-ratio: 1 / 1; }
  .o-hero__media::before { display: none; }
  .o-facts { padding: 6px; gap: 0; }
  .o-facts li { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 12px; }
  .o-facts__icon { width: 40px; height: 40px; border-radius: 12px; }
  .o-facts b { font-size: 15px; }
  .o-programs, .o-help { grid-template-columns: 1fr; }
  .o-program, .o-help li { padding: 22px; }
  .o-row { grid-template-columns: 1fr; }
  .o-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
