/* =========================================================================
   revamp.css  —  Modern UI layer (Phase 1)
   Loaded LAST in Master.cshtml so it cleanly overrides the legacy theme.
   Reuses the existing brand palette declared in home.css :root.
   ========================================================================= */

/* ---------------------------------------------------------------------------
   1. Design tokens (layered on top of the brand colours)
   --------------------------------------------------------------------------- */
:root {
  --rv-navy: var(--red, #1b264f);
  --rv-navy-deep: #131b3b;
  --rv-plum: var(--plum, #9a3324);
  --rv-mustard: var(--mustard, #f2a900);
  --rv-orange: var(--orange, #fd673e);
  --rv-biscuit: var(--biscuit-light, #f1f0eb);

  --rv-ink: #1e293b;
  --rv-muted: #5b6472;
  --rv-line: #e6e3db;
  --rv-surface: #ffffff;
  --rv-bg-soft: #f6f7f9;

  --rv-radius-sm: 8px;
  --rv-radius: 14px;
  --rv-radius-lg: 20px;
  --rv-radius-pill: 999px;

  --rv-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06), 0 1px 3px rgba(16, 24, 40, 0.1);
  --rv-shadow: 0 6px 16px rgba(16, 24, 40, 0.08);
  --rv-shadow-lg: 0 18px 40px rgba(16, 24, 40, 0.14);

  --rv-space-1: 0.5rem;
  --rv-space-2: 1rem;
  --rv-space-3: 1.5rem;
  --rv-space-4: 2rem;
  --rv-space-5: 3rem;

  --rv-maxw: 1200px;
  --rv-header-h: 76px;
  --rv-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------------------
   2. Base + fluid typography (stops oversized stacked text on phones)
   --------------------------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body.webkit {
  color: var(--rv-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Fluid headings — override the fixed legacy sizes only on content areas */
.rv-scope h1,
.page h1,
.qanda h1,
main h1 {
  font-size: clamp(2rem, 1.3rem + 3.4vw, 3.4rem);
  line-height: 1.1;
}

.rv-scope h2,
.page h2,
main h2 {
  font-size: clamp(1.6rem, 1.15rem + 2.2vw, 2.5rem);
  line-height: 1.15;
}

.rv-scope h3,
.page h3,
main h3 {
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.75rem);
  line-height: 1.2;
}

/* Responsive media everywhere */
img,
video,
iframe {
  max-width: 100%;
}

/* Smooth, consistent vertical rhythm for content sections */
.rv-section {
  padding: clamp(2rem, 1.2rem + 3vw, 4rem) 0;
}

.rv-container {
  width: min(100% - 2rem, var(--rv-maxw));
  margin-inline: auto;
}

/* Reusable aspect-ratio media box (replaces fixed-height iframes) */
.rv-media-16x9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--rv-radius);
  overflow: hidden;
  background: #0b1020;
}
.rv-media-16x9 iframe,
.rv-media-16x9 img,
.rv-media-16x9 video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* ---------------------------------------------------------------------------
   3. Buttons (modern, brand-coloured)
   --------------------------------------------------------------------------- */
.rv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 0;
  border-radius: var(--rv-radius-pill);
  font-family: var(--heading-font-family, "Raleway", sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s var(--rv-ease), box-shadow 0.2s var(--rv-ease),
    background-color 0.2s var(--rv-ease);
}
.rv-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--rv-shadow);
}
.rv-btn:active {
  transform: translateY(0);
}
.rv-btn--primary {
  background: var(--rv-navy);
  color: #fff;
}
.rv-btn--primary:hover {
  background: var(--rv-navy-deep);
  color: #fff;
}
.rv-btn--accent {
  background: var(--rv-mustard);
  color: var(--rv-navy);
}
.rv-btn--accent:hover {
  background: #ffba1a;
  color: var(--rv-navy);
}
.rv-btn--ghost {
  background: transparent;
  color: var(--rv-navy);
  border: 2px solid var(--rv-navy);
}
.rv-btn--ghost:hover {
  background: var(--rv-navy);
  color: #fff;
}

/* ===========================================================================
   4. SITE HEADER / NAVBAR  (markup in Views/Partials/HeaderView.cshtml)
   =========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 var(--rv-line), 0 6px 16px rgba(16, 24, 40, 0.04);
}

.site-header__inner {
  width: min(100% - 2rem, var(--rv-maxw));
  margin-inline: auto;
  min-height: var(--rv-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.site-header__logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ---- Desktop nav ---- */
.site-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  border-radius: var(--rv-radius-sm);
  color: var(--rv-ink);
  font-family: var(--heading-font-family, "Raleway", sans-serif);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s var(--rv-ease), background-color 0.15s var(--rv-ease);
}
.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
  color: var(--rv-navy);
  background: var(--rv-bg-soft);
}
.nav-item--has-children > .nav-link::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s var(--rv-ease);
  opacity: 0.7;
}

/* ---- Dropdowns (desktop) ---- */
.nav-submenu {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius);
  box-shadow: var(--rv-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s var(--rv-ease), transform 0.18s var(--rv-ease),
    visibility 0.18s var(--rv-ease);
}
.nav-item--has-children:hover > .nav-submenu,
.nav-item--has-children:focus-within > .nav-submenu,
.nav-item--has-children.is-open > .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-submenu .nav-link {
  display: block;
  width: 100%;
  font-weight: 500;
  border-radius: var(--rv-radius-sm);
}

/* Donate CTA in the bar */
.nav-item--cta {
  margin-left: 0.5rem;
}
.nav-item--cta .rv-btn {
  white-space: nowrap;
}

/* ---- Hamburger toggle (hidden on desktop) ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-sm);
  background: #fff;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--rv-navy);
  border-radius: 2px;
  transition: transform 0.25s var(--rv-ease), opacity 0.2s var(--rv-ease);
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 35, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--rv-ease), visibility 0.25s var(--rv-ease);
  z-index: 999;
}

/* ---------------------------------------------------------------------------
   Mobile / tablet nav  (drawer)
   --------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(86vw, 360px);
    background: #fff;
    box-shadow: var(--rv-shadow-lg);
    padding: calc(var(--rv-header-h) + 1rem) 1.25rem 2rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s var(--rv-ease);
    z-index: 1001;
  }
  .site-header.is-open .site-nav {
    transform: translateX(0);
  }
  .site-header.is-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }
  .site-header.is-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header.is-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }
  .site-header.is-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    width: 100%;
  }
  .nav-link {
    padding: 0.85rem 0.75rem;
    font-size: 1.05rem;
    border-radius: var(--rv-radius-sm);
  }
  .nav-item--has-children > .nav-link {
    justify-content: space-between;
  }
  .nav-item--has-children > .nav-link::after {
    transform: rotate(45deg);
  }
  .nav-item--has-children.is-open > .nav-link::after {
    transform: rotate(225deg) translateY(-2px);
  }

  /* Submenus become inline accordions on mobile */
  .nav-submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0.25rem 0.75rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s var(--rv-ease);
  }
  .nav-item--has-children.is-open > .nav-submenu {
    max-height: 480px;
  }
  .nav-submenu .nav-link {
    color: var(--rv-muted);
  }

  .nav-item--cta {
    margin: 0.75rem 0 0;
  }
  .nav-item--cta .rv-btn {
    width: 100%;
  }
}

/* Lock body scroll when the drawer is open */
body.rv-nav-open {
  overflow: hidden;
}

/* ===========================================================================
   5. DONATION CARDS  (markup generated in donations partials)
   =========================================================================== */
.donations-shell {
  width: min(100% - 2rem, var(--rv-maxw));
  margin-inline: auto;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem) 0;
}

.donations-head {
  text-align: center;
  margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}
.donations-head h2 {
  margin: 0 0 0.5rem;
}
.donations-head p {
  color: var(--rv-muted);
  margin: 0;
}

/* Responsive grid: 1-up mobile, 2-up tablet, 3-up desktop */
.donation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem);
}
@media (min-width: 600px) {
  .donation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .donation-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.donation-card {
  display: flex;
  flex-direction: column;
  background: var(--rv-surface);
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  overflow: hidden;
  box-shadow: var(--rv-shadow-sm);
  transition: transform 0.2s var(--rv-ease), box-shadow 0.2s var(--rv-ease);
}
.donation-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rv-shadow-lg);
}

.donation-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0b1020;
}
.donation-card__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.donation-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: clamp(1rem, 0.7rem + 1vw, 1.4rem);
  flex: 1 1 auto;
}
.donation-card__title {
  margin: 0;
  font-family: var(--heading-font-family, "Raleway", sans-serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--rv-ink);
  text-transform: none;
}
.donation-card__date {
  margin: 0;
  font-size: 0.8rem;
  color: var(--rv-muted);
}

.donation-card__donors {
  margin: 0;
  padding: 0.6rem 0.8rem;
  background: var(--rv-bg-soft);
  border-radius: var(--rv-radius-sm);
}
.donation-card__donors-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rv-plum);
  margin-bottom: 0.25rem;
}
.donation-card__donors ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}
.donation-card__donors li {
  list-style: disc;
}

.donation-card__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--rv-muted);
}
.donation-card__desc p {
  margin: 0 0 0.5rem;
}
/* line-clamp by default; .is-expanded removes the clamp */
.donation-card__desc.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.donation-card__foot {
  margin-top: auto;
  padding-top: 0.4rem;
}
.donation-card__more {
  background: none;
  border: 0;
  padding: 0;
  color: var(--rv-navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
}
.donation-card__more:hover {
  text-decoration: underline;
}

/* ---- Filter toolbar (donation-videos page) ---- */
.donation-filter {
  background: #fff;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-sm);
  padding: clamp(1rem, 0.7rem + 1vw, 1.5rem);
  margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}
.donation-filter__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  align-items: end;
}
@media (min-width: 700px) {
  .donation-filter__grid {
    grid-template-columns: repeat(2, 1fr) auto;
  }
}
@media (min-width: 992px) {
  .donation-filter__grid {
    grid-template-columns: 2fr 2fr 1fr 1fr auto;
  }
}
.donation-filter__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.donation-filter__field label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--rv-muted);
}
.donation-filter__field input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1.5px solid var(--rv-line);
  border-radius: var(--rv-radius-sm);
  font-size: 0.95rem;
  background: #fff;
  transition: border-color 0.15s var(--rv-ease), box-shadow 0.15s var(--rv-ease);
}
.donation-filter__field input:focus {
  outline: none;
  border-color: var(--rv-navy);
  box-shadow: 0 0 0 3px rgba(27, 38, 79, 0.12);
}
.donation-filter__actions {
  display: flex;
  align-items: end;
}
.donation-filter__actions .rv-btn {
  width: 100%;
}

/* Centre the load-more / view-more area */
.donations-actions {
  text-align: center;
  margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}

/* Empty + loading states */
.donations-empty {
  text-align: center;
  background: var(--rv-bg-soft);
  border: 1px dashed var(--rv-line);
  border-radius: var(--rv-radius-lg);
  padding: 2rem 1rem;
}
.donations-loading {
  text-align: center;
  padding: 1.5rem 0;
}

/* ===========================================================================
   6. FORMS  (footer sign-up, Contact Us, Umbraco Forms)
   =========================================================================== */
/* Modern card wrapper used by contact pages */
.rv-form-card {
  width: min(100% - 2rem, 640px);
  margin: clamp(2rem, 1.2rem + 3vw, 3.5rem) auto;
  background: #fff;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}
.rv-form-card > h1,
.rv-form-card > h2 {
  margin: 0 0 1.25rem;
  color: var(--rv-navy);
}

/* Shared field styling, scoped so we don't disturb donation forms etc. */
.rv-form-card label,
.rv-signup label,
.rv-umbraco-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--rv-ink);
  margin-bottom: 0.35rem;
  text-transform: none;
}

.rv-form-card .form-control,
.rv-form-card input[type="text"],
.rv-form-card input[type="email"],
.rv-form-card input[type="tel"],
.rv-form-card textarea,
.rv-signup .form-control,
.rv-umbraco-form input[type="text"],
.rv-umbraco-form input[type="email"],
.rv-umbraco-form input[type="tel"],
.rv-umbraco-form input[type="number"],
.rv-umbraco-form textarea,
.rv-umbraco-form select {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--rv-line);
  border-radius: var(--rv-radius-sm);
  font-size: 0.98rem;
  color: var(--rv-ink);
  background: #fff;
  transition: border-color 0.15s var(--rv-ease), box-shadow 0.15s var(--rv-ease);
}
.rv-form-card .form-control:focus,
.rv-form-card input:focus,
.rv-form-card textarea:focus,
.rv-signup .form-control:focus,
.rv-umbraco-form input:focus,
.rv-umbraco-form textarea:focus,
.rv-umbraco-form select:focus {
  outline: none;
  border-color: var(--rv-navy);
  box-shadow: 0 0 0 3px rgba(27, 38, 79, 0.12);
}

/* Buttons inside our form scopes -> brand pill (kills the old #007bff blue) */
.rv-form-card .btn,
.rv-form-card .btn-primary,
.rv-signup .btn,
.rv-signup .btn-primary,
.rv-umbraco-form .btn,
.rv-umbraco-form button[type="submit"],
.rv-umbraco-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: 0;
  border-radius: var(--rv-radius-pill);
  background: var(--rv-navy);
  color: #fff;
  font-family: var(--heading-font-family, "Raleway", sans-serif);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s var(--rv-ease), box-shadow 0.2s var(--rv-ease),
    background-color 0.2s var(--rv-ease);
}
.rv-form-card .btn:hover,
.rv-form-card .btn-primary:hover,
.rv-signup .btn:hover,
.rv-umbraco-form .btn:hover,
.rv-umbraco-form button[type="submit"]:hover,
.rv-umbraco-form input[type="submit"]:hover {
  background: var(--rv-navy-deep);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--rv-shadow);
}

.rv-form-card .alert,
.rv-signup .alert {
  border-radius: var(--rv-radius-sm);
}

/* Contact form fields stack with comfortable spacing */
.rv-form-card .form-group {
  margin-bottom: 1.1rem;
}

/* Umbraco Forms tidy-up */
.rv-umbraco-form .umbraco-forms-field {
  margin-bottom: 1.1rem;
}
.rv-umbraco-form .umbraco-forms-navigation {
  margin-top: 1rem;
}

/* ===========================================================================
   7. FOOTER  (sign-up section + footer link block)
   =========================================================================== */
.section--sign-up.rv-signup {
  background: var(--rv-bg-soft);
}
.rv-signup .section__container {
  width: min(100% - 2rem, var(--rv-maxw));
  margin-inline: auto;
}
.rv-signup #sharedcontactForm {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 1.25rem;
  align-items: end;
  margin: 1.5rem 0;
}
@media (min-width: 700px) {
  .rv-signup #sharedcontactForm {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 992px) {
  .rv-signup #sharedcontactForm {
    grid-template-columns: repeat(4, 1fr) auto;
  }
}
/* neutralise the Bootstrap column widths inside the grid */
.rv-signup #sharedcontactForm [class^="col"],
.rv-signup #sharedcontactForm [class*=" col"] {
  width: auto;
  max-width: none;
  flex: initial;
  padding: 0;
}
.rv-signup #sharedcontactForm .col {
  display: flex;
  align-items: end;
}
.rv-signup #sharedcontactForm .btn {
  width: 100%;
}

/* Footer link block refinements (content comes from the CMS) */
footer.footer {
  font-size: 0.95rem;
}
footer.footer .footer__container {
  width: min(100% - 2rem, var(--rv-maxw));
  margin-inline: auto;
}
footer.footer a {
  transition: color 0.15s var(--rv-ease), opacity 0.15s var(--rv-ease);
}
footer.footer a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* ===========================================================================
   8. INTERIOR CONTENT PAGES  (.page / .card-container / .card-body)
   =========================================================================== */
.page {
  padding: clamp(1.5rem, 1rem + 2.5vw, 3.5rem) 0;
  background: var(--rv-bg-soft);
}
.page .card-container {
  width: min(100% - 2rem, 920px);
  margin-inline: auto;
  padding: 0;
}
.page .card-body {
  background: #fff;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow);
  padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  margin: 0;
}
.page .card-body h1,
.page .card-body h2 {
  color: var(--rv-navy);
  margin-bottom: 1rem;
  text-transform: none;
}
.page .card-body p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--rv-muted);
  text-align: left;
  margin-bottom: 1rem;
}
.page .card-body p:last-child {
  margin-bottom: 0;
}
/* Keep an explicit centered intro if the page asks for it */
.page .card-body .text-center {
  text-align: center;
}

/* CTA buttons living inside content pages get a subtle modern lift */
.page .button--teal,
.page .button--large {
  border-radius: var(--rv-radius-pill) !important;
  transition: transform 0.15s var(--rv-ease), box-shadow 0.2s var(--rv-ease);
}
.page .button--teal:hover,
.page .button--large:hover {
  transform: translateY(-1px);
  box-shadow: var(--rv-shadow);
}

/* Hero strip used by some pages (page.css .banner-hero-text) */
.banner-hero-text {
  padding-top: clamp(2.5rem, 1.5rem + 6vw, 6rem);
  padding-bottom: clamp(1.5rem, 1rem + 3vw, 3rem);
}
.banner-hero-text .donate-btn {
  border-radius: var(--rv-radius-pill);
  transition: transform 0.15s var(--rv-ease), background-color 0.2s var(--rv-ease);
}
.banner-hero-text .donate-btn:hover {
  transform: translateY(-1px);
}

/* ===========================================================================
   9. HOMEPAGE — Mission & Vision band
   =========================================================================== */
.rv-mission {
  width: min(100% - 2rem, var(--rv-maxw));
  margin-inline: auto;
}
.rv-mission > .container.parbase {
  padding: 0;
}
.rv-mission > .container.parbase > h1 {
  color: var(--rv-navy);
  text-align: center;
  margin-bottom: clamp(1.25rem, 1rem + 1.5vw, 2rem);
}
/* Turn the flat charcoal block into a refined navy card */
.rv-mission .section--charcoal {
  background: linear-gradient(135deg, var(--rv-navy) 0%, var(--rv-navy-deep) 100%);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-lg);
  padding: clamp(1.75rem, 1.2rem + 3vw, 3.25rem);
  color: #fff;
}
.rv-mission .section--charcoal .section__container {
  width: 100%;
  max-width: none;
  padding: 0;
}
.rv-mission .mission {
  text-align: left;
  font-size: clamp(1.2rem, 1rem + 1vw, 1.55rem);
  line-height: 1.45;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--rv-mustard);
}
.rv-mission .section--charcoal p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.rv-mission .section--charcoal a {
  color: var(--rv-mustard);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* "$25 can feed a family" becomes a highlighted callout chip */
.rv-mission .section--charcoal ul {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}
.rv-mission .section--charcoal li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--rv-radius-pill);
  padding: 0.7rem 1.25rem;
  color: #fff;
  font-size: 1.05rem;
}
.rv-mission .section--charcoal li strong {
  color: var(--rv-mustard);
  font-size: 1.3rem;
  font-weight: 800;
}

/* ===========================================================================
   10. HOMEPAGE — Featured / 3-up card grids (Featured Services, Ways to give)
   =========================================================================== */
.rv-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem);
  width: 100%;
  align-items: stretch;
}
/* Neutralise the legacy float/width rules from .column__row--3-to-1 > .column */
.rv-feature-grid > .column,
.rv-feature-grid > .column.wrap-box_shadow {
  width: 100% !important;
  margin: 0 !important;
  float: none;
}
.rv-feature-grid .wrap-box_shadow {
  background: #fff;
  border: 1px solid var(--rv-line);
  border-radius: var(--rv-radius-lg);
  box-shadow: var(--rv-shadow-sm);
  overflow: hidden;
  height: 100%;
  display: flex;
  transition: transform 0.2s var(--rv-ease), box-shadow 0.2s var(--rv-ease);
}
.rv-feature-grid .wrap-box_shadow:hover {
  transform: translateY(-4px);
  box-shadow: var(--rv-shadow);
}
.rv-feature-grid .wrap-box_shadow > div {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.rv-feature-grid .responsiveimage {
  margin: 0;
}
.rv-feature-grid .responsiveimage img,
.rv-feature-grid .responsiveimage picture {
  display: block;
  width: 100%;
}
.rv-feature-grid .box_shadow_content {
  flex: 1 1 auto;
  padding: 1rem 1.25rem 0.5rem;
}
.rv-feature-grid .teaser__heading--hp {
  color: var(--rv-navy);
  font-size: 1.12rem;
  line-height: 1.45;
}
.rv-feature-grid .ctabutton {
  padding: 0.5rem 1.25rem 1.25rem;
  margin-top: auto;
}
.rv-feature-grid .ctabutton p {
  margin: 0;
}
.rv-feature-grid .button--teal,
.rv-feature-grid .button--large {
  border-radius: var(--rv-radius-pill);
  transition: transform 0.15s var(--rv-ease), box-shadow 0.2s var(--rv-ease);
}
.rv-feature-grid .button--teal:hover,
.rv-feature-grid .button--large:hover {
  transform: translateY(-1px);
  box-shadow: var(--rv-shadow);
}
