/* ============================================================
   Outdoor School Staff — shared styles for all pages
   - To change the main colors, edit the values under :root below.
   - Page text lives in the .html files. Look for [SQUARE BRACKETS]
     — those are placeholders to replace (dates, pay, location, etc.).
   ============================================================ */
:root {
  /* Palette: Forest — matches cwtour.net/odsnew/ */
  --green-dark: #1a3a18;   /* deep forest green — headings, dark panels, footer, banners */
  --green: #3d7a37;        /* forest green — links, checks, tags */
  --green-light: #dde7d3;  /* pale leaf — tinted boxes & photo frames */
  --amber: #3d7a37;        /* forest green — buttons, accent marks */
  --cream: #faf8f2;        /* warm off-white — page background */
  --ink: #1e1e10;          /* near-black olive — body text */
  --muted: #5a5a40;        /* muted olive-gray — secondary text */
  --white: #ffffff;        /* kept for the footer logo panel */
  --border: #cdd4c0;       /* pale sage border */
  --sand-alt: #eee9d8;     /* light tan — alternating sections & boxes */
  --shadow: 0 2px 10px rgba(20, 40, 15, 0.12);
  --radius: 12px;
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.2; color: var(--green-dark); font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 0.6em; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
a { color: var(--green); }

/* Phone: slightly smaller, tighter body text on every page */
@media (max-width: 560px) {
  body { font-size: 16px; line-height: 1.5; }
  .card p { font-size: 0.92rem; }
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 242, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 14px 24px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav .brand { order: 1; }
.nav > .btn { order: 2; margin-left: auto; }
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--green-dark);
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
}
.brand .logo { display: block; width: auto; }
.brand .logo-cvusd { height: 96px; }
.brand .logo-ods { height: 92px; }
.brand-text {
  white-space: nowrap;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
@media (max-width: 560px) {
  .brand .logo-cvusd { height: 76px; }
  .brand .logo-ods { height: 72px; }
  .brand-text { display: none; }
}
.nav-links {
  order: 3;
  flex-basis: 100%;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links a:hover { color: var(--green-dark); }
.nav-links a.current { color: var(--green-dark); border-bottom: 2px solid var(--amber); }
@media (max-width: 560px) {
  .nav { padding-left: 16px; padding-right: 16px; }
  .nav-links {
    gap: 12px;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow-x: auto;            /* fallback: scroll rather than wrap on tiny screens */
    -webkit-overflow-scrolling: touch;
  }
  .nav-links a { font-size: 0.8rem; white-space: nowrap; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--amber);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.08s ease, background 0.15s ease;
}
.btn:hover { background: #1e4a1b; transform: translateY(-1px); }
.btn.secondary {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green);
  box-shadow: none;
}
.btn.secondary:hover { background: var(--green-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(26,58,24,0.66), rgba(26,58,24,0.82)),
    url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600">\
    <rect width="1200" height="600" fill="%233d7a37"/>\
    <g fill="%232f5c2b">\
    <polygon points="0,600 180,240 360,600"/>\
    <polygon points="240,600 460,180 680,600"/>\
    <polygon points="560,600 780,260 1000,600"/>\
    <polygon points="880,600 1080,200 1280,600"/>\
    </g>\
    <g fill="%231a3a18">\
    <polygon points="120,600 300,320 480,600"/>\
    <polygon points="430,600 640,300 850,600"/>\
    <polygon points="760,600 960,340 1160,600"/>\
    </g></svg>');
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero .wrap { position: relative; z-index: 2; padding-top: 67px; padding-bottom: 73px; }
/* Title and lead paragraph share one framed panel over the hero photo. */
.hero-panel {
  width: 37rem;
  max-width: 100%;
  padding: 22px 26px;
  background: rgba(20, 40, 15, 0.5);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  border-radius: 14px;
  border: 7px solid var(--green-light);
  box-shadow: 0 0 0 2px var(--border), var(--shadow);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4.2vw, 2.7rem);
  margin: 0 0 14px;
}
.hero p.lead {
  color: var(--white);
  font-size: 1.2rem;
  margin: 0;
}
/* Phone: trim the hero panel so it isn't so dominant */
@media (max-width: 560px) {
  .hero-panel { padding: 16px 18px; }
  .hero h1 { font-size: 1.55rem; margin-bottom: 10px; }
  .hero p.lead { font-size: 1.05rem; }
}

/* ---------- Hero slideshow ---------- */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;      /* fill the box, crop as needed — box size never changes */
  object-position: center;
  opacity: 0;
  transition: opacity 900ms ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: transparent;   /* green tint removed */
}
.hero-dots {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-dot:hover { background: rgba(255, 255, 255, 0.55); }
.hero-dot.is-active { background: #fff; transform: scale(1.15); }
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}

/* Compact banner for interior pages (Season Dates, Pay) */
.page-head {
  background:
    linear-gradient(180deg, rgba(26,58,24,0.70), rgba(26,58,24,0.86)),
    url('data:image/svg+xml;utf8,\
    <svg xmlns="http://www.w3.org/2000/svg" width="1200" height="300">\
    <rect width="1200" height="300" fill="%233d7a37"/>\
    <g fill="%232f5c2b">\
    <polygon points="0,300 180,110 360,300"/>\
    <polygon points="300,300 520,80 740,300"/>\
    <polygon points="680,300 900,120 1120,300"/>\
    </g></svg>');
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.page-head .wrap { padding-top: 56px; padding-bottom: 56px; }
.page-head h1 { color: var(--white); margin-bottom: 0.2em; }
.page-head p { color: #c8e0c4; max-width: 60ch; margin: 0; }

/* Page-head banner with a framed photo on the right */
.page-head-split {
  display: flex;
  align-items: flex-start;
  gap: 44px;
}
.page-head-split .page-head-text { flex: 1 1 auto; min-width: 0; }
.page-head-split .section-photo { flex: 0 0 340px; width: 340px; }
@media (max-width: 800px) {
  .page-head-split { flex-direction: column; }
  .page-head-split .section-photo {
    flex-basis: auto;
    width: 100%;
    max-width: 420px;
    align-self: center;
  }
}

/* ---------- Sections ---------- */
section { padding: 70px 0; }
section:nth-of-type(even) { background: var(--sand-alt); }
.section-intro { max-width: 60ch; }

/* Divider between sections — a short strip that tiles across, inset 200px
   from each edge. Default is leaves; every other one uses deer tracks. */
.leaf-divider {
  height: 44px;
  margin: -6px 200px;
  background: url('images/web/leaves2.png') repeat-x center / auto 100%;
  opacity: 0.9;
  pointer-events: none;
}
.leaf-divider.tracks {
  background-image: url('images/web/tracks2.png');
}
@media (max-width: 900px) {
  .leaf-divider { margin: -6px 80px; }
}
@media (max-width: 600px) {
  .leaf-divider { height: 32px; margin: -6px 20px; }
}

/* ---------- Section body text beside a framed photo ----------
   The section <h2> sits full-width above .section-split, so the photo's
   top lines up with the first sentence, not the heading. */
.section-split {
  display: flex;
  align-items: flex-start;
  gap: 44px;
}
.section-split .section-body { flex: 1 1 auto; min-width: 0; }
.section-split .section-body > :first-child { margin-top: 0; }

/* Framed photo — shared border for every sectional picture */
.about-photo,
.section-photo {
  display: block;
  border-radius: 14px;
  border: 7px solid var(--green-light);               /* sage mat */
  box-shadow: 0 0 0 2px var(--border), var(--shadow); /* keyline + soft shadow */
  background: var(--green-light);
}
.about-photo {                 /* square crop (About) */
  flex: 0 0 320px;
  width: 320px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
.section-photo {              /* natural aspect ratio (Positions, Who We Want) */
  flex: 0 0 360px;
  width: 360px;
  max-width: 100%;
  height: auto;
}
@media (max-width: 760px) {
  .section-split { flex-direction: column; }
  .section-split .about-photo,
  .section-split .section-photo {
    flex-basis: auto;
    width: 100%;
    max-width: 440px;
    align-self: center;
  }
}

/* ---------- Section slideshow (Room & Board) ---------- */
.section-split .slideshow { flex: 0 0 400px; width: 400px; }
.slideshow-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 7px solid var(--green-light);
  box-shadow: 0 0 0 2px var(--border), var(--shadow);
  background: var(--green-light);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;          /* let vertical page scroll pass; we handle horizontal swipes */
}
.slideshow-frame .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}
.slideshow-frame .slide.is-active { opacity: 1; pointer-events: auto; }
.slideshow-frame video.slide { object-fit: contain; background: #000; }
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 12px;
}
.slideshow-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--green);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.slideshow-dot:hover { transform: scale(1.15); }
.slideshow-dot.is-active { background: var(--green); transform: scale(1.15); }
.slideshow-caption {
  margin-top: 8px;
  text-align: right;
  font-size: 0.85rem;
  color: var(--muted);
  min-height: 1.3em;
}
@media (max-width: 760px) {
  .section-split .slideshow {
    flex-basis: auto;
    width: 100%;
    max-width: 440px;
    align-self: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .slideshow-frame .slide { transition: none; }
}

/* ---------- Media section (2 videos + a slideshow, side by side) ---------- */
.media-row {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  align-items: flex-start;
}
.media-item { flex: 1 1 0; min-width: 0; }
.media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 7px solid var(--green-light);
  border-top-width: 24px;                 /* room for the caption */
  box-shadow: 0 0 0 2px var(--border), var(--shadow);
  background: #000;
}
.media-embed {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  overflow: hidden;
}
.media-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.media-caption {
  position: absolute;
  top: -24px;
  right: 4px;
  height: 24px;
  line-height: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}
.media-item .slideshow { width: 100%; }

/* Caption sits in the taller top border strip, top-right — shared by the
   media slideshow and the two Room & Board slideshows. */
#media .slideshow,
.section-split .slideshow { position: relative; }
#media .slideshow-frame { aspect-ratio: 16 / 9; }
#media .slideshow-frame,
.section-split .slideshow-frame {
  border-top-width: 24px;                 /* room for the caption, like the videos */
}
#media .slideshow-caption,
.section-split .slideshow-caption {
  position: absolute;
  top: 0;
  right: 11px;
  margin: 0;
  height: 24px;
  min-height: 0;
  line-height: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--green-dark);
  text-align: right;
  white-space: nowrap;
}
@media (max-width: 820px) {
  .media-row { flex-direction: column; }
  .media-item {
    width: 100%;
    max-width: 560px;
    align-self: center;
  }
}

/* ---------- Position cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
section:nth-of-type(even) .card { background: var(--green-light); border-color: var(--border); }
.card h3 { display: flex; align-items: center; gap: 8px; }
.card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--green);
  background: var(--sand-alt);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.card p { font-size: 0.98rem; margin-bottom: 0; color: var(--muted); }

/* Cards that link to their own page */
a.card {
  text-decoration: none;
  color: inherit;
  transition: transform 0.08s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
a.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--amber);
}
a.card .more {
  display: inline-block;
  margin-top: 14px;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Plain bulleted list (position pages) */
ul.bullets { margin: 18px 0 0; padding-left: 22px; }
ul.bullets li { margin-bottom: 8px; }

/* Weekly-schedule pages — day totals and notes */
.day-total { margin: 12px 0 0; font-weight: 700; color: var(--green-dark); }
.sched-note { margin-top: 10px; font-size: 0.9rem; color: var(--muted); font-style: italic; }
.session-total { margin-top: 12px; font-weight: 700; font-size: 1.05rem; color: var(--green-dark); }

/* Staff-training page — full-width day bands in alternating scheme colors */
.days .day { padding: 40px 0; }
.days .day:nth-child(odd)  { background: var(--sand-alt); }
.days .day:nth-child(even) { background: var(--green-light); }
.days .day h2 { margin-top: 0; }
.days .day h3 { margin-top: 22px; }
.days .day h3:first-of-type { margin-top: 6px; }

/* ---------- Detail lists ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.facts li {
  background: var(--sand-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
section:nth-of-type(even) .facts li { background: var(--cream); }
.facts .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--amber);
  font-weight: 800;
  margin-bottom: 4px;
}
.facts .value { font-weight: 600; color: var(--green-dark); }

/* A fact box that links somewhere */
.facts li.is-link { padding: 0; overflow: hidden; transition: border-color 0.15s ease; }
.facts li.is-link a {
  display: block;
  height: 100%;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
}
.facts li.is-link:hover { border-color: var(--amber); }
.facts .fact-more {
  margin-top: 6px;
  color: var(--amber);
  font-weight: 700;
  font-size: 0.82rem;
}

/* A fact box with two (or more) separate links, instead of one whole-card link */
.fact-links { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; }
.fact-links .fact-more { display: inline-block; margin-top: 0; text-decoration: none; }
.fact-links .fact-more:hover { text-decoration: underline; }

/* Camp Life, job-page, and sub-page fact boxes — styled to match the Seasonal Positions cards */
#camp-life .facts,
#position .facts,
#room-and-board .facts { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
#camp-life .facts li,
#position .facts li,
#room-and-board .facts li {
  background: var(--green-light);
  border: 1px solid var(--border);
  padding: 24px;
}
#camp-life .facts li.is-link,
#position .facts li.is-link,
#room-and-board .facts li.is-link { padding: 0; }
#camp-life .facts li.is-link a,
#position .facts li.is-link a,
#room-and-board .facts li.is-link a { padding: 24px; }
#camp-life .facts .label,
#position .facts .label,
#room-and-board .facts .label {
  display: inline-block;
  color: var(--green);
  background: var(--sand-alt);
  border: 1px solid var(--border);
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
#camp-life .facts .value,
#position .facts .value,
#room-and-board .facts .value { font-size: 1.05rem; font-weight: 700; color: var(--green-dark); }
#camp-life .facts .fact-more,
#position .facts .fact-more,
#room-and-board .facts .fact-more { margin-top: 14px; font-size: 0.9rem; }
#camp-life .facts li.is-link,
#position .facts li.is-link,
#room-and-board .facts li.is-link {
  transition: transform 0.08s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
#camp-life .facts li.is-link:hover,
#position .facts li.is-link:hover,
#room-and-board .facts li.is-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--amber);
}

ul.checks { list-style: none; padding: 0; margin: 24px 0 0; }
ul.checks li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 12px;
}
ul.checks li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ---------- Schedule table (Season Dates page) ---------- */
.table-wrap { overflow-x: auto; margin-top: 28px; }
table.schedule {
  border-collapse: collapse;
  width: 100%;
  min-width: 520px;
  background: var(--sand-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
table.schedule caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 12px 4px 0;
}
table.schedule th,
table.schedule td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
}
table.schedule thead th {
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
table.schedule tbody tr:last-child td { border-bottom: none; }
table.schedule tbody tr:nth-child(even) td { background: var(--cream); }
table.schedule td.name { font-weight: 700; color: var(--green-dark); }
table.schedule tr.divider td {
  background: var(--green-light);
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.6px;
}

/* ---------- Apply block ---------- */
.apply-box {
  background: var(--green-dark);
  color: var(--white);
  border-radius: 18px;
  padding: 44px;
  margin-top: 32px;
  text-align: center;
}
.apply-box h2 { color: var(--white); }
.apply-box p { color: #c8e0c4; max-width: 52ch; margin-left: auto; margin-right: auto; }
.apply-box .email {
  display: inline-block;
  margin: 14px 0 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  border-bottom: 3px solid var(--amber);
  padding-bottom: 2px;
  word-break: break-all;
}
.apply-box .steps {
  text-align: left;
  max-width: 560px;
  margin: 26px auto 0;
  padding-left: 22px;
}
.apply-box .steps li { margin-bottom: 10px; color: #c8e0c4; }
@media (max-width: 560px) {
  .apply-box { padding: 32px 22px; }
  .apply-box .email { font-size: 1.1rem; word-break: normal; overflow-wrap: anywhere; }
}

/* ---------- FAQ ---------- */
details.faq {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 20px;
  margin-bottom: 12px;
  background: var(--sand-alt);
}
section:nth-of-type(even) details.faq { background: var(--cream); }
details.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--green-dark);
  padding: 14px 0;
  list-style: none;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; float: right; font-size: 1.3rem; color: var(--amber); line-height: 1; }
details.faq[open] summary::after { content: "–"; }
details.faq p { padding-bottom: 14px; margin: 0; color: var(--muted); }

/* ---------- Footer ---------- */
footer.site {
  background: var(--green-dark);
  color: #b8d0b3;
  padding: 44px 0;
  font-size: 0.95rem;
}
footer.site a { color: var(--white); }
footer.site .fine { color: #82a37c; font-size: 0.85rem; margin-top: 18px; }
.footer-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 26px;
  width: max-content;
  max-width: 100%;
}
.footer-logos img { height: 117px; width: auto; display: block; }
@media (max-width: 480px) { .footer-logos img { height: 87px; } }

/* ---------- Pay-schedule calendar ---------- */
.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 22px;
  font-size: 0.9rem;
  color: var(--ink);
}
.cal-legend span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legend i {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: inline-block;
}
.cal-legend i.s-training { background: var(--sand-alt); border-color: #d8cfae; }
.cal-legend i.s-session  { background: var(--green-light); border-color: #b9cca8; }
.cal-legend i.s-pay      { background: var(--green-dark); border-color: var(--green-dark); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
  margin-top: 26px;
}
.cal-month {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 16px 18px;
}
.cal-month h3 { margin: 0 0 12px; font-size: 1.05rem; color: var(--green-dark); }
.cal-week,
.cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-week { margin-bottom: 4px; }
.cal-week span {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}
.cal-day {
  min-height: 40px;
  border-radius: 7px;
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 4px 5px;
  font-size: 0.8rem;
  color: var(--ink);
}
.cal-day.is-out { background: transparent; border-color: transparent; }
.cal-day.is-training { background: var(--sand-alt); border-color: #d8cfae; }
.cal-day.is-session  { background: var(--green-light); border-color: #b9cca8; }
.cal-day.is-pay {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  font-weight: 700;
}
.cal-day .cal-num { display: block; line-height: 1.2; }
.cal-day .cal-tag {
  display: block;
  margin-top: 2px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  line-height: 1.1;
}
.cal-note { margin: 12px 0 0; font-size: 0.82rem; color: var(--muted); }
.cal-note strong { color: var(--green-dark); }
.cal-note-sub { display: block; margin-top: 4px; font-style: italic; }
