 :root {
      --bg: #f6f7fb;
      --card: #ffffff;
      --ink: #1b1f2a;
      --muted: #5a6475;
      --brand: #1f3a5f;
      --line: #e6e8ef;
      --soft: #eef3ff;
      --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
      --radius: 12px;
    }

    * {
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      margin: 0;
      font-family: Arial, Helvetica, sans-serif;
      background: var(--bg);
      color: var(--ink);
      line-height: 1.55;
    }

    header {
      background: var(--brand);
      color: #fff;
      padding: 2.25rem 1rem 1.25rem;
      text-align: center;
    }

    header h1 {
      margin: 0.25rem 0 0.5rem;
      font-size: 1.9rem;
    }

    header p {
      margin: 0.1rem 0 0;
      opacity: 0.92;
    }

    main {
      max-width: 1100px;
      margin: 0 auto;
      padding: 1.5rem 1rem 2.5rem;
    }

    /* -----------------------------
         NAV (buttons linking to sections)
      ------------------------------ */
    nav {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(246, 247, 251, 0.95);
      backdrop-filter: blur(6px);
      border-bottom: 1px solid var(--line);
    }

    .nav-inner {
      max-width: 1100px;
      margin: 0 auto;
      padding: 0.75rem 1rem;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      justify-content: center;
    }

    .nav-inner a {
      display: inline-block;
      text-decoration: none;
      color: var(--brand);
      background: #fff;
      border: 1px solid var(--line);
      padding: 0.45rem 0.75rem;
      border-radius: 999px;
      font-size: 0.92rem;
    }

    .nav-inner a:hover,
    .nav-inner a:focus {
      outline: none;
      border-color: #cdd6ea;
      text-decoration: underline;
    }

    .grid {
      display: grid;
      gap: 1rem;
    }

    @media (min-width: 900px) {
      .grid.two {
        grid-template-columns: 1fr 1fr;
      }

      .grid.three {
        grid-template-columns: 1fr 1fr 1fr;
      }
    }

    section {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      padding: 1.25rem 1.25rem 1rem;
      box-shadow: var(--shadow);
    }

    section:target {
      outline: 3px solid rgba(31, 58, 95, 0.25);
      outline-offset: 4px;
    }

    h2 {
      margin: 0 0 0.75rem;
      font-size: 1.25rem;
      padding-bottom: 0.5rem;
      border-bottom: 2px solid var(--brand);
    }

    h3 {
      margin: 1rem 0 0.5rem;
      font-size: 1.05rem;
      color: var(--brand);
    }

    .label {
      display: inline-block;
      font-weight: 700;
      color: var(--brand);
      background: var(--soft);
      border: 1px solid #d9e4ff;
      padding: 0.25rem 0.55rem;
      border-radius: 999px;
      margin: 0.25rem 0 0.5rem;
      font-size: 0.9rem;
    }

    ul,
    ol {
      margin: 0.35rem 0 0.75rem;
      padding-left: 1.25rem;
    }

    li {
      margin: 0.25rem 0;
    }

    .muted {
      color: var(--muted);
    }

    .callout {
      background: var(--soft);
      border-left: 5px solid var(--brand);
      padding: 1rem 1rem 0.9rem;
      border-radius: 10px;
      margin: 0.75rem 0 0;
    }

    .row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem 1rem;
      align-items: center;
      margin: 0.5rem 0 0.75rem;
      color: var(--muted);
      font-size: 0.95rem;
    }

    a {
      color: var(--brand);
    }

    .row a {
      text-decoration: none;
    }

    .row a:hover {
      text-decoration: underline;
    }

    .hr {
      height: 1px;
      background: var(--line);
      margin: 1rem 0;
    }

    footer {
      text-align: center;
      padding: 1.25rem 1rem 2rem;
      color: #fff;
      background: var(--brand);
      margin-top: 1.25rem;
    }

    .small {
      font-size: 0.92rem;
    }

    .mono {
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    }

    .pill {
      display: inline-block;
      padding: 0.2rem 0.55rem;
      border: 1px solid var(--line);
      border-radius: 999px;
      background: #fff;
      color: var(--muted);
      font-size: 0.85rem;
    }

    .mini-grid {
      display: grid;
      gap: 0.75rem;
    }

    @media (min-width: 700px) {
      .mini-grid.two {
        grid-template-columns: 1fr 1fr;
        align-items: start;
      }
    }

    .kpi {
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
      margin: 0.75rem 0 0;
    }

    .kpi .box {
      flex: 1 1 220px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 0.85rem 0.9rem;
    }

    .kpi .box .title {
      font-size: 0.9rem;
      color: var(--muted);
      margin: 0 0 0.2rem;
    }

    .kpi .box .value {
      font-size: 1.35rem;
      font-weight: 800;
      margin: 0;
      color: var(--brand);
    }

    .toplink {
      display: inline-block;
      margin-top: 0.75rem;
      font-size: 0.92rem;
      text-decoration: none;
    }

    .toplink:hover {
      text-decoration: underline;
    }


    /* Needed volunteer styling */
.volunteer-needed {
  color: #e67e22;   /* orange */
  font-weight: bold;
}



/* ---------------------------
   SPONSOR FORM
---------------------------- */

.form {
  max-width: 760px;
}

.field {
  margin: 1rem 0;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 0.75rem;
  font: inherit;
  background: #fff;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(0,0,0,0.25);
  outline-offset: 2px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.help {
  margin: 0.4rem 0 0;
  font-size: 0.92rem;
  opacity: 0.85;
}

.help.small {
  font-size: 0.88rem;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  margin: 0;
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.1rem;
  border-radius: 0.9rem;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.status {
  margin-top: 0.85rem;
  font-weight: 600;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


#sponsor-table {
  width: 100%;
  border-collapse: separate;   /* allows spacing */
  border-spacing: 20px 10px;   /* column spacing | row spacing */
}

#sponsor-table th,
#sponsor-table td {
  text-align: left;
  padding: 6px 8px;
}

#sponsor-table thead th {
  border-bottom: 2px solid #ccc;
}


#all-volunteers {
    width: 100%;
    border-collapse: collapse;
}

#all-volunteers th,
#all-volunteers td {
    text-align: left;
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
}

#all-volunteers th {
    background-color: #f4f4f4;
}


/* Add to stylesheet.css */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}

.calendar-day {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  min-height: 90px;
}

.calendar-day .day-num {
  font-weight: 700;
  margin-bottom: 6px;
}

.calendar-day .dow {
  font-size: 0.85rem;
}

.calendar-event {
  display: block;
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(0,0,0,0.04);
  text-decoration: none;
}

.calendar-event .event-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.calendar-event .event-time {
  font-size: 0.85rem;
  opacity: 0.75;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 0;
  font-size: 0.9rem;
}