﻿/* ======================================================================
 Forthspring – Theme 2: Friendly Community
 Design tokens + base + components + utilities
 ====================================================================== */
/* ----------------------------- */
/* 0) CSS Reset / Base */
/* ----------------------------- */
* { box-sizing: border-box; }
html { margin: 0; padding: 0; overflow-x: hidden; }
body { margin: 0; padding: 0; }
html {
  /* Fluid type: scales gently with viewport width */
  font-size: clamp(16px, 0.7vw + 14px, 19px);
}
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink-900);
  background: var(--bg-page);
  line-height: 1.55;
}
/* Improve legibility on macOS / iOS */
body, input, button, select, textarea {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Focus visibility for keyboard users only */
:focus:not(:focus-visible) { outline: none; }
/* Visible, friendly focus ring */
:root {
  --focus-ring: 0 0 0 3px rgba(13,108,206,.18), 0 0 0 6px rgba(13,108,206,.10);
}
:focus-visible {
  outline: 2px solid #1971c2;
  outline-offset: 2px;
  box-shadow: var(--focus-ring);
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
/* Skip link for keyboard/screen reader users */
.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus {
  position: fixed; left: 16px; top: 16px; width: auto; height: auto;
  background: #fff; color: #111; padding: 10px 12px; border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  z-index: 2000;
}
/* ----------------------------- */
/* 1) Design Tokens */
/* ----------------------------- */
:root{
  /* Brand – warm, friendly blues with soft tints */
  --brand-900: #0B2A45; /* deep header/nav */
  --brand-800: #103a5f;
  --brand-700: #0d2c6c; /* primary buttons / links */
  --brand-600: #1b4d8a;
  --brand-050: #eaf1f7; /* backgrounds / accents */
  /* Supportive warmth (accents you can use sparingly) */
  --sun-500: #ffcc66; /* friendly highlight */
  --rose-500: #f26d6d; /* alert/notice */
  --leaf-500: #24a659; /* success */
  /* Greys / Ink */
  --ink-900: #1f2a37;
  --ink-800: #273449;
  --ink-700: #3b4252;
  --ink-600: #4b5563;
  --ink-500: #6B7280;
  --ink-400: #8b95a7;
  /* Surface + borders */
  --bg-page: #f6f7fb;
  --bg-card: #ffffff;
  --border: #e5e7eb;
  /* Geometry & effects */
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  /* Type scale */
  --fs-100: .875rem;
  --fs-200: 1rem;
  --fs-300: 1.125rem;
  --fs-400: 1.25rem;
  --fs-500: 1.5rem;
  --fs-600: 1.875rem;
  --fs-700: 2.25rem;
  --fs-800: clamp(2rem, 3vw, 3rem);
  /* Spacing (8pt-friendly) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
}
/* ----------------------------- */
/* 2) Typography & Links */
/* ----------------------------- */
h1, h2, h3, h4 {
  color: var(--brand-800);
  margin: 0 0 var(--space-3);
  line-height: 1.2;
}
h1 { font-size: var(--fs-700); }
h2 { font-size: var(--fs-600); }
h3 { font-size: var(--fs-500); }
h4 { font-size: var(--fs-400); }
p { margin: 0 0 var(--space-4); color: var(--ink-700); }
small, .text-small { font-size: var(--fs-100); color: var(--ink-500); }
.text-muted { color: var(--ink-500); }
a {
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover { filter: brightness(0.92); }

/* ----------------------------- */
/* 3) Layout Primitives */
/* ----------------------------- */

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
  padding-inline: 0;
}

.section {
  padding: var(--space-12) 0;
}

.section--tight {
  padding: var(--space-8) 0;
}

@media (max-width: 600px) {
  .section       { padding: var(--space-8) 0; }  /* 32px instead of 48px */
  .section--tight { padding: var(--space-5) 0; } /* 20px instead of 32px */
}

/* Vertical spacing helper */
.stack > * + * {
  margin-top: var(--space-4);
}

/* Grid system */
.grid {
  display: grid;
  gap: var(--space-5);
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Responsive grids */
@media (max-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

/* ----------------------------- */
/* Cards (base style) */
/* ----------------------------- */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.card--soft {
  background: #fff;
  border-color: #eef0f4;
}

.card h3 {
  margin-top: 0;
}

/* Programme cards (What we offer + Programmes page) */

.what-we-offer .card,
.page-programmes .grid--3 .card {
  display: flex;
  flex-direction: column;
}

/* Push the button container to the bottom */
.what-we-offer .card .card-action,
.page-programmes .grid--3 .card .card-action {
  margin-top: auto;
}

/* Stop buttons stretching */
.what-we-offer .btn,
.page-programmes .grid--3 .btn {
  align-self: flex-start;
}

/* Slightly smaller headings so "Community Activities" fits one line */
.page-programmes .grid--3 .card h2 {
  font-size: var(--fs-400);
}




/* ----------------------------- */
/* 4) Header & Navigation */
/* ----------------------------- */


.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--brand-900);
  color: #fff;
  box-shadow: 0 3px 14px rgba(0,0,0,.12);
}



.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-5);
  padding: 8px 20px;
  width: min(1400px, 100vw);
  margin-inline: auto;
}




.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  
}
.site-brand__logo { height: 96px; width: auto; display: block; }


.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-self: center;
  flex-wrap: wrap;
}
.primary-nav a {
  color: #fff;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color .18s ease;
}


.primary-nav a:hover,
.primary-nav a.is-active { background: rgba(255,255,255,.16); }
/* Right-side CTA (Volunteer / Donate) */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.header-cta .btn--donate {
  background: #ffffff; color: var(--brand-700); font-weight: 700; border: none; padding: 8px 12px; font-size: var(--fs-100);
}
.header-cta .btn--volunteer {
  background: #ffffff; color: var(--brand-700); font-weight: 700; border: none; padding: 8px 12px; font-size: var(--fs-100);
}
/* Footer and drawer: override for dark backgrounds */
.site-footer .btn--donate { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.site-footer .btn--volunteer { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.nav-drawer .btn { background: #fff; color: var(--brand-700); border: none; font-weight: 700; }
/* Mobile nav toggle */
.nav-toggle {
  display: none; /* shown on small screens */
  background: #ffffff;
  color: var(--brand-900);
  border: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
}
@media (max-width: 860px) {
  .header__inner { grid-template-columns: auto 1fr; padding: 12px 16px; }
  .primary-nav { display: none; }
  .header-cta  { display: none; }
  .nav-toggle  { grid-column: 2; display: inline-flex; justify-self: end; }
  /* Smaller logo on mobile: 52px logo + 12px × 2 padding = 76px header height */
  .site-brand__logo { height: 80px; }
  main.page { padding-top: 76px; }
  .nav-drawer { inset: 76px 0 auto 0; max-height: calc(100vh - 76px); overflow-y: auto; }
  /* When .nav-open is on <body>, show the drawer */
  body.nav-open .nav-drawer { transform: translateY(0); }
}
/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 112px 0 auto 0; /* below header (80px logo + 16px padding × 2) */
  background: var(--brand-900);
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transform: translateY(-120%);
  transition: transform .25s ease;
  z-index: 950;
}
.nav-drawer__inner {
  width: min(1200px, 92vw);
  margin-inline: auto;
  padding: 12px 8px 16px;
}
.nav-drawer a {
  display: block; color: #fff; text-decoration: none;
  padding: 12px 14px; border-radius: 10px;
}
.nav-drawer a:hover, .nav-drawer a.is-active { background: rgba(255,255,255,.16); }
.nav-drawer__sub { padding-left: 30px; font-size: var(--fs-100); opacity: 0.82; }
.nav-drawer__cta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px;
}
/* Push content below fixed header (80px logo + 16px padding each side = 112px) */
main.page { padding-top: 112px; }
/* ----------------------------- */
/* 5) Buttons & Badges */
/* ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 10px 14px;
  min-height: 44px; /* minimum touch target */
  border: none; border-radius: 12px;
  cursor: pointer; text-decoration: none;
  font: inherit; font-weight: 600;
  transition: filter .15s ease, transform .04s ease;
}
.btn:hover{
  filter: brightness(0.8);
}
.btn:active { transform: translateY(1px); }
/* All button variants — consistent neutral white */
.btn--donate     { background: #fff; color: var(--ink-800); border: 1px solid var(--border); }
.btn--volunteer  { background: #fff; color: var(--ink-800); border: 1px solid var(--border); }
.btn--primary    { background: #fff; color: var(--ink-800); border: 1px solid var(--border); }
.btn--secondary  { background: #fff; color: var(--ink-800); border: 1px solid var(--border); }
.btn--light      { background: #fff; color: var(--ink-800); border: 1px solid var(--border); }
.tag {
  display: inline-block; font-size: var(--fs-100);
  background: var(--brand-050); color: var(--brand-700);
  padding: 4px 10px; border-radius: 999px; border: 1px solid #dbe6f4;
  margin-bottom: var(--space-4);
}
/* ----------------------------- */
/* 6) Hero & Decorative Styles */
/* ----------------------------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 6vw, 48px);
  overflow: hidden;
}
/* Default subtle house watermark (applies to all unless overridden) */
.hero__watermark {
  position: absolute; inset: 0;
  background: url("../images/ForthspringHouse.png") center / min(800px, 53%) no-repeat;
  opacity: .12; pointer-events: none; z-index: 0;
}
/* Page-specific overrides */
.page-about .hero__watermark {
  position: absolute; inset: 0;
  background: url("../images/Tree.png") 55% center / min(800px, 45%) no-repeat;
  opacity: .12; pointer-events: none; z-index: 0;
}

.page-voices .hero__watermark,
.page-get-involved .hero__watermark,
.page-childcare .hero__watermark,
.page-youth .hero__watermark,
.page-community-activities .hero__watermark {
  position: absolute; inset: 0;
  background: url("../images/People.png") center / min(800px, 90%) no-repeat;
  opacity: .12; pointer-events: none; z-index: 0;
}




/* FINAL override */
.page-where-and-when .hero__watermark {
  background: url("../images/Belfast.png") calc(50% + 22px) 65% / min(950px, 73%) no-repeat;
  opacity: .12; pointer-events: none; z-index: 0;
}

.page-programmes .hero__watermark {
  background-image: url("../images/Paintbrush.png") !important;
  background-size: 18% !important;
  background-position: right 20% center !important;
  background-repeat: no-repeat !important;
  opacity: .12 !important;
}

.page-community-activities .hero__watermark {
  background-image: url("../images/Paintbrush.png") !important;
  background-size: 40% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  opacity: .12 !important;
}
/* Scale hero watermarks up on small screens so they fill the box */
@media (max-width: 600px) {
  .hero__watermark { background-size: 90% !important; }
  .page-programmes .hero__watermark { background-size: 100% !important; }
  .page-where-and-when .hero__watermark { background-size: 100% !important; }
}


.hero__content { position: relative; z-index: 1; text-align: center; }
.hero h1 { color: var(--brand-700); font-size: var(--fs-800); margin-bottom: 8px; }
.hero p  { color: var(--ink-600); max-width: 760px; margin: 0 auto 14px; }
/* CTA row inside hero */
.hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero__cta .btn { text-align: center; }
/* Stack to single column on phones (≤520px) so button text doesn't wrap */
@media (max-width: 520px) {
  .hero__cta { grid-template-columns: 1fr; }
}
/* ----------------------------- */
/* 7) Lists, Tables, Media */
/* ----------------------------- */
ul, ol { padding-left: 20px; }
li { margin: 6px 0; }
.table {
  width: 100%; border-collapse: collapse; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.table th, .table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.table thead th { background: #f5f7fb; color: var(--ink-700); }
.table tbody tr:hover { background: #fafcff; }
/* ----------------------------- */
/* 8) Forms */
/* ----------------------------- */
.form { display: grid; gap: 14px; }
label { font-weight: 600; color: var(--ink-800); }
input, select, textarea {
  width: 100%; padding: 12px 12px;
  border: 1px solid #d6dbe4; border-radius: 12px; background: #fff;
  font: inherit; color: var(--ink-900);
}
input::placeholder, textarea::placeholder { color: #9aa4b2; }
input:focus, select:focus, textarea:focus {
  outline: 2px solid #1971c2; outline-offset: 1px; box-shadow: var(--focus-ring);
}
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
@media (max-width: 720px) { .form__row { grid-template-columns: 1fr; } }
.text-note { color: var(--ink-500); font-size: var(--fs-100); }
/* ----------------------------- */
/* 9) What's On (Facebook links) */
/* ----------------------------- */
.fb-links-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.fb-link-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fb-link-card h3 { margin: 0; }
.fb-link-card p { margin: 0; flex: 1; }
.fb-link-card .btn { align-self: flex-start; margin-top: 6px; }
.fb-link-card__icon { line-height: 0; }
/* Make iframes nicely rounded */
.embed {
  width: 100%; border: 0; border-radius: var(--radius); display: block; background: #fff;
}
/* Volunteer sign-up form (MS Forms) */
.form-wrapper__iframe { height: 600px; }
.form-wrapper__fallback {
  display: none;
  font-size: var(--fs-100);
  text-align: center;
  margin-top: var(--space-3);
  color: var(--ink-600);
}
@media (max-width: 600px) {
  .form-wrapper__iframe { height: 800px; }
  .form-wrapper__fallback { display: block; }
}

/* ----------------------------- */
/* 10) Where & When (3 columns) */
/* ----------------------------- */

/* Overall layout: Find Us + This Week side by side, Upcoming Events below */
.ww-threecol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: stretch;
  width: min(1200px, 92vw);
  margin: 0 auto var(--space-12);
  padding: 0;
}

/* Find Us (map) spans both columns at the bottom */
.ww-threecol .ww-card:last-child {
  grid-column: 1 / -1;
  width: 100%;
}

/* Stack columns on smaller screens */
@media (max-width: 860px) {
  .ww-threecol {
    grid-template-columns: 1fr;
  }
  .ww-threecol .ww-card:last-child {
    grid-column: 1;
  }
}

/* Shared card styling */

.ww-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);

  /* NEW — required for equal heights */
  display: flex;
  flex-direction: column;
}

.ww-card h2 {
  margin-top: 0;
  color: var(--brand-700);
}

/* Map + Facebook iframe */
.ww-iframe {
  width: 100%;
  height: 350px;
  border: 0;
  border-radius: var(--radius);
  background: #fff;
}

/* ----------------------------- */
/* Calendar – Day Navigator */
/* ----------------------------- */

.day-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-2);
  align-items: center;
  margin: var(--space-4) 0 var(--space-5);
}

.day-nav__side {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.day-nav__side--left  { justify-content: flex-end; }
.day-nav__side--right { justify-content: flex-start; }

#dayPickBtn,
#dayToday { min-width: 4.5rem; }
@media (max-width: 420px) {
  .day-nav { gap: var(--space-1); }
  #dayPickBtn, #dayToday { min-width: 0; font-size: var(--fs-100); padding: 6px 10px; }
  #dayLabel { font-size: var(--fs-200); }
}

.day-nav__center {
  text-align: center;
}

#dayLabel {
  font-size: var(--fs-300);
  color: var(--ink-800);
}

#dateLabel {
  font-size: var(--fs-100);
  color: var(--ink-500);
}

/* ----------------------------- */
/* Calendar – Schedule */
/* ----------------------------- */

.schedule {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--space-4);
}

/* Each day block */
.schedule > li {
  background: #f8fbff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: var(--space-4) var(--space-4);
}

/* Day heading */
.schedule > li > strong {
  display: block;
  margin-bottom: var(--space-3);
  font-size: var(--fs-300);
  color: var(--brand-700);
}

/* Event list */
.schedule ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

/* Individual events */
.schedule ul li {
  position: relative;
  padding-left: 14px;
  font-size: var(--fs-200);
  color: var(--ink-700);
  line-height: 1.45;
}

/* Friendly dot marker */
.schedule ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--brand-600);
}

/* ----------------------------- */
/* Optional: Highlight active day */
/* (only applies if JS adds .is-active) */
/* ----------------------------- */

.schedule > li.is-active {
  border-left: 4px solid var(--brand-600);
  background: var(--brand-050);
}

/* ----------------------------- */
/* Empty / Weekend note */
/* ----------------------------- */

#weekendNote {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: #fff8e1;
  border-radius: var(--radius-sm);
  font-size: var(--fs-100);
  color: var(--ink-700);
}

/* ----------------------------- */
/* 11) Carousel */
/* ----------------------------- */
.carousel {
  width: 100%; max-width: 1165px; margin: 28px auto;
  border: 1px solid rgba(0,0,0,.10); border-radius: 14px; overflow: hidden;
  background: rgba(255,255,255,.7); box-shadow: var(--shadow-sm);
}
.carousel__viewport { overflow: hidden; padding: 12px; }
.carousel__track {
  display: flex;
  gap: 12px;
  will-change: transform;
}
.carousel__slide {
  flex: 0 0 var(--carousel-slide-w, 260px);
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.10);
  background: rgba(255,255,255,.8);
}
.carousel__slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
}
@media (max-width: 900px) {
  .carousel__slide img { height: clamp(260px, 40vw, 360px); }
}
@media (max-width: 600px) {
  .carousel__slide img { height: clamp(280px, 48vh, 480px); }
}
@media (prefers-reduced-motion: reduce) {
  /* Freeze the carousel for users who prefer no motion */
  .carousel__track { animation: none !important; will-change: auto; }
}

/* --- Programmes hero watermark: zoom Paintbrush --- */
.page-programmes .hero__watermark {
  background-size: min(1100px, 160%) !important; /* zoom in */
  opacity: .16;                                   /* slightly stronger, still subtle */
}




/* ----------------------------- */
/* 12) Announcement Banner */
/* ----------------------------- */
.announce {
  background: #fff7e0; color: #6a4d00; border: 1px solid #ffe7a8;
  padding: 10px 14px; border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
/* ----------------------------- */
/* 13) Footer */
/* ----------------------------- */
.site-footer {
  background: var(--brand-900);
  color: #fff;
  margin-top: auto;
}
.footer__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 48px 28px;
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1.4fr 1.2fr;
  gap: 48px;
  align-items: start;
}
/* Tablet: collapse to 2 columns before going full single-column */
@media (min-width: 701px) and (max-width: 1024px) {
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 36px 32px 24px; }
}
@media (max-width: 700px) {
  .footer__inner { grid-template-columns: 1fr; gap: 24px; padding: 32px 20px 20px; }
  .footer__logo { height: 100px; }
}
.footer__logo {
  height: 160px;
  width: auto;
  margin-bottom: 12px;
  display: block;
}
.footer__icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__col address .footer__icon:last-child {
  align-items: flex-start;
}
.footer__icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: #fff;
}
/* Individual icon colours: red → green → blue → yellow */
address .footer__icon:nth-of-type(1) svg { fill: #f87171; }
address .footer__icon:nth-of-type(2) svg { fill: #34d399; }
address .footer__icon:nth-of-type(3) svg { fill: #60a5fa; }
address .footer__icon:nth-of-type(4) svg { fill: #fb923c; }
.footer__tagline {
  font-size: var(--fs-200);
  line-height: 1.5;
  margin: 0;
  color: #fff;
}
.footer__heading {
  font-size: var(--fs-100);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #fff;
  margin: 0 0 10px;
}
.footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer__col nav a,
.footer__social {
  color: #fff;
  text-decoration: none;
  font-size: var(--fs-300);
  transition: color .15s;
}
.footer__col nav a:hover,
.footer__social:hover { color: rgba(255,255,255,0.75); font-weight: 700; }
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer__col address {
  font-style: normal;
  font-size: var(--fs-300);
  line-height: 1.8;
  color: #fff;
}
.footer__col address a {
  color: #fff;
  text-decoration: none;
  transition: color .15s;
}
.footer__col address a:hover { font-weight: 700; }
.footer__col address .footer__icon:hover { font-weight: 700; }
.footer__col address a:hover { color: rgba(255,255,255,0.75); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  text-align: center;
  padding: 14px 24px;
  font-size: var(--fs-200);
  color: #fff;
}
.footer__bottom p { margin: 0; color: #fff; }
.footer__bottom a { color: #fff; text-decoration: underline; }
.footer__bottom a:hover { color: rgba(255,255,255,0.75); }
.footer__col--cta { display: flex; flex-direction: column; align-items: flex-start; }
.footer__cta-btns { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 16px; }
.footer__cta-btns .btn { text-align: center; width: 100%; }
/* ----------------------------- */
/* Cookie Banner */
/* ----------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1200;
  background: var(--brand-900);
  color: #fff;
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  box-shadow: 0 -4px 20px rgba(0,0,0,.18);
  transform: translateY(0);
  transition: transform .3s ease;
}
.cookie-banner.is-hidden {
  transform: translateY(110%);
  pointer-events: none;
}
.cookie-banner p {
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: var(--fs-100);
  flex: 1;
  min-width: 200px;
}
.cookie-banner a { color: #fff; font-weight: 600; }
.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}
.cookie-banner .btn--accept {
  background: var(--sun-500);
  color: var(--ink-900);
  border: none;
  font-size: var(--fs-100);
  padding: 8px 16px;
  min-height: 36px;
}
.cookie-banner .btn--decline {
  background: transparent;
  color: rgba(255,255,255,.75);
  border: 1px solid rgba(255,255,255,.3);
  font-size: var(--fs-100);
  padding: 8px 16px;
  min-height: 36px;
}
@media (max-width: 500px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; padding: var(--space-4); }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner .btn--accept,
  .cookie-banner .btn--decline { flex: 1; justify-content: center; }
}

/* ----------------------------- */
/* Back to Top */
/* ----------------------------- */
.back-to-programmes {
  position: fixed;
  bottom: 76px;
  right: 20px;
  z-index: 1099;
  background: var(--brand-700);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  transition: filter .2s ease;
  cursor: pointer;
}
.back-to-programmes:hover { filter: brightness(1.15); color: #fff; }
@media (max-width: 520px) {
  .back-to-programmes { font-size: 0.7rem; padding: 6px 12px; bottom: 68px; }
}

.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 1100;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-900);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { filter: brightness(1.2); }
.back-to-top svg { display: block; }

/* ----------------------------- */
/* Privacy Policy page */
/* ----------------------------- */
.privacy-content {
  max-width: 780px;
  margin-inline: auto;
}
.privacy-content h2 {
  margin-top: var(--space-8);
  font-size: var(--fs-500);
  color: var(--brand-700);
}
.privacy-content h2:first-of-type {
  margin-top: var(--space-4);
}
.privacy-content p,
.privacy-content li {
  color: var(--ink-700);
  line-height: 1.7;
}
.privacy-content ul {
  margin-bottom: var(--space-4);
}
.privacy-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-6) 0 0;
}
.privacy-cookie-controls {
  background: var(--brand-050);
  border: 1px solid #dbe6f4;
  border-radius: var(--radius-sm);
  padding: var(--space-5);
  margin-top: var(--space-4);
}

/* ----------------------------- */
/* 14) Utilities */
/* ----------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--space-1) !important; }
.mt-2 { margin-top: var(--space-2) !important; }
.mt-3 { margin-top: var(--space-3) !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-6 { margin-top: var(--space-6) !important; }
.mt-8 { margin-top: var(--space-8) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-2 { margin-bottom: var(--space-2) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-6 { margin-bottom: var(--space-6) !important; }
.pt-0 { padding-top: 0 !important; }
.pt-6 { padding-top: var(--space-6) !important; }
.pb-6 { padding-bottom: var(--space-6) !important; }
/* Width helpers */
.w-100 { width: 100%; }
/* Hide on small screens */
@media (max-width: 720px) {
  .hide-sm { display: none !important; }
}
/* ----------------------------- */
/* 15) Volunteer flow chips */
/* ----------------------------- */
.flow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
}
.chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 9999px;
  background: var(--brand-050);
  color: var(--brand-700);
  border: 1px solid #dbe6f4;
  font-weight: 600;
  font-size: var(--fs-100);
}
.arrow {
  color: var(--ink-400);
  font-weight: 700;
}
@media (max-width: 520px) {
  .flow { gap: 8px; padding: 8px 10px; }
  .chip { padding: 6px 10px; }
}











/* ==========================================================
   FINAL OVERRIDES — Programmes hero watermark
   Place this block at the VERY END of assets/css/style.css
   to win against all earlier rules and shorthands.
   ========================================================== */

/* 1) Use the Paintbrush image explicitly (wins vs. base House image) */
.page-programmes .hero__watermark {
  background-image: url("../images/Paintbrush.png") !important;
  background-repeat: no-repeat !important;
  opacity: .12 !important;              /* keep the subtle, washed look */
  pointer-events: none;
  z-index: 0;
}

/* 2) Size and position */
.page-programmes .hero__watermark {
  background-size: 40% !important;
  background-position: center !important;
}

/* 3) Mobile */
@media (max-width: 600px) {
  .page-programmes .hero__watermark {
    background-size: 80% !important;
    background-position: center !important;
  }
}

/* 4) (Optional) If you prefer a fixed pixel size instead of %, use this:
.page-programmes .hero__watermark {
  background-size: 220px !important;    // try 180–260px
  background-position: right 26% center !important;
}
*/

/* ----------------------------- */
/* Impact Stats Bar */
/* ----------------------------- */
.impact-bar {
  background: var(--brand-900);
  color: #fff;
  padding: var(--space-8) var(--space-6);
  margin: 0;
}
.impact-bar__inner {
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.impact-bar__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
  align-self: center;
}
.impact-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  min-width: 130px;
}
.impact-stat__number {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  color: var(--sun-500);
  font-variant-numeric: tabular-nums;
}
.impact-stat__suffix {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  color: var(--sun-500);
}
.impact-stat__figure {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
}
.impact-stat__label {
  font-size: var(--fs-100);
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.02em;
  max-width: 160px;
  line-height: 1.4;
}
@media (max-width: 600px) {
  .impact-bar__divider { display: none; }
  .impact-bar__inner   { gap: var(--space-8); }
}

/* ----------------------------- */
/* Testimonials */
/* ----------------------------- */
.testimonials-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
}
/* Large decorative opening quote */
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 12px;
  left: 18px;
  font-size: 5rem;
  line-height: 1;
  color: var(--brand-050);
  font-family: Georgia, serif;
  pointer-events: none;
  aria-hidden: true;
}
.testimonial-card__quote {
  font-size: var(--fs-300);
  color: var(--ink-700);
  line-height: 1.65;
  margin: 0;
  padding-top: var(--space-6); /* clear the decorative quote mark */
}
.testimonial-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}
.testimonial-card__name {
  font-weight: 700;
  font-size: var(--fs-200);
  color: var(--brand-700);
}
.testimonial-card__role {
  font-size: var(--fs-100);
  color: var(--ink-500);
}

/* ----------------------------- */
/* Partners / Supported-by bar   */
/* ----------------------------- */
.partners-bar {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.partners-bar__label {
  font-size: var(--fs-100);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-400);
  margin: 0;
  white-space: nowrap;
}

.partners-bar__logos {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity 0.2s;
  text-decoration: none;
}

.partner-logo:hover {
  opacity: 1;
}

.partner-logo img {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .partners-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
  }
}

/* Partners acknowledgement (about page) */
.partners-acknowledgement {
  display: flex;
  gap: var(--space-8);
  align-items: center;
  margin-top: var(--space-6);
  padding: var(--space-6) var(--space-8);
  background: linear-gradient(135deg, #f0f7f4 0%, #e6f4ef 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(0, 106, 77, 0.18);
}

.partners-acknowledgement__logo {
  flex-shrink: 0;
}

.lloyds-logo-link {
  display: inline-block;
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 106, 77, 0.28);
  transition: box-shadow 0.2s, transform 0.2s;
}

.lloyds-logo-link:hover {
  box-shadow: 0 10px 30px rgba(0, 106, 77, 0.38);
  transform: translateY(-3px);
}

.lloyds-logo-img {
  height: 110px;
  width: auto;
  display: block;
}

.partners-acknowledgement__text h3 {
  color: var(--brand-700);
}

.partners-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-8) 0;
}

@media (max-width: 600px) {
  .partners-acknowledgement {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
    padding: var(--space-5);
  }
}

















