/* Inner pages — site.css also linked in HTML for reliable variable loading */
@import url('site.css');

/* Subpage header — layout and compact state shared via site.css (.page-header) */

.page-header .site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.page-header .nav-menu {
  gap: 0.25rem 1.25rem;
}

.page-header .nav-menu a {
  font-size: 0.9rem;
  padding: 0.4rem 0.15rem;
}

.page-header .back-link {
  flex-shrink: 0;
  color: var(--hard-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  padding: 0.4rem 0;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.page-header .back-link:hover {
  color: #1b5e20;
}

@media (min-width: 769px) and (max-width: 1180px) {
  .page-header-inner {
    gap: 0.5rem 0.75rem;
  }

  .page-header .brand {
    height: var(--logo-height-tablet);
  }

  .page-header.is-compact .brand {
    height: var(--logo-height-sticky);
  }

  .page-header .logo-mark {
    max-width: min(420px, 40vw);
  }

  .page-header .nav-menu {
    flex-wrap: nowrap;
    gap: 0.15rem 0.55rem;
  }

  .page-header .nav-menu a {
    font-size: 0.8125rem;
  }

  .page-header .site-nav,
  .page-header .nav-menu {
    overflow: visible;
  }

  .page-header .back-link {
    font-size: 0.8125rem;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  .page-header-inner {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0;
  }

  .page-header .brand {
    flex: 0 0 100%;
    max-width: none;
    height: var(--logo-height-mobile);
    justify-content: center;
  }

  .page-header .logo-mark {
    height: 100%;
    max-width: min(540px, 98vw);
  }

  .page-header .back-link {
    order: 2;
    flex: 0 0 auto;
    margin: 0.35rem auto 0.5rem;
    text-align: center;
  }

  .page-header .site-nav {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    overflow-x: visible;
  }

  .page-header .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
  }

  .page-header.is-compact .page-header-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0.35rem 0;
  }

  .page-header.is-compact .back-link {
    order: unset;
    flex: 0 0 auto;
    margin: 0;
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

.page-hero {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--mint) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border-light);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text-dark);
}

.page-lead {
  margin-top: 0.75rem;
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.page-lead + .page-lead {
  margin-top: 0.5rem;
}

.page-lead a {
  color: var(--hyperlink-color);
  font-weight: 600;
}

.page-body {
  padding: 2.5rem 0 4rem;
}

.camp-section {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin: 1.5rem 0;
  padding: 1.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.camp-section:hover {
  border-color: var(--teal);
  box-shadow: 0 6px 20px var(--shadow);
}

.camp-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.camp-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  margin-bottom: 1rem;
}

.camp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.camp-table th,
.camp-table td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.camp-table th {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--teal);
}

.camp-table td {
  color: var(--text-light);
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 2rem 0 1rem;
  letter-spacing: -0.01em;
}

ul.camp-list {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
  color: var(--text-light);
}

ul.camp-list li {
  margin-bottom: 0.5em;
  font-size: 1rem;
  line-height: 1.65;
}

.emoji {
  font-size: 1.1em;
  margin-right: 0.25em;
}

.note {
  background: var(--mint);
  border-left: 3px solid var(--hard-green);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.25rem 0;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.info-btn {
  background: var(--hard-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.4em 1em;
  font-size: 0.875rem;
  font-weight: 600;
  margin-left: 0.5em;
  cursor: pointer;
  transition: background 0.2s ease;
  vertical-align: middle;
  text-decoration: none;
  display: inline-block;
}

.info-btn:hover,
.info-btn:focus {
  background: #1b5e20;
  outline: none;
  text-decoration: none;
  color: #fff;
}

.info-btn.disabled {
  background: #9e9e9e;
  cursor: not-allowed;
  opacity: 0.85;
  pointer-events: none;
}

.info-btn.disabled:hover,
.info-btn.disabled:focus {
  background: #9e9e9e;
  color: #fff;
  outline: none;
  text-decoration: none;
}

.info-btn.full {
  background: #c62828;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}

.info-btn.full:hover,
.info-btn.full:focus {
  background: #c62828;
  color: #fff;
  outline: none;
  text-decoration: none;
}

/* Flyer-style events (showcase, etc.) — centered CTA */
.event-cta {
  text-align: center;
  margin: 1.25rem 0 1.5rem;
}

.event-cta .info-btn {
  margin-left: 0;
  padding: 0.65em 1.5em;
  font-size: 0.95rem;
}

.camp-table .info-btn {
  font-size: 0.875rem;
  margin-left: 0;
}

.camp-table .info-btn[data-mobile-label]::after {
  content: 'Info!';
  display: inline;
}

.camp-table .info-btn[data-mobile-label] span {
  display: none;
}

@media (min-width: 601px) and (max-width: 1024px) {
  .camp-table .info-btn[data-mobile-label]::after {
    content: 'Sign Up!';
    display: inline;
  }

  .camp-table .info-btn.full[data-mobile-label]::after,
  .camp-table .info-btn.disabled[data-mobile-label]::after {
    content: 'Full';
    display: inline;
  }

  .camp-table .info-btn[data-mobile-label] span {
    display: none;
  }

  .camp-table .info-btn {
    white-space: nowrap;
  }
}

@media (min-width: 1025px) {
  .camp-table .info-btn[data-mobile-label]::after {
    content: '';
    display: none;
  }

  .camp-table .info-btn[data-mobile-label] span {
    display: inline;
  }
}

.camp-table .info-btn.disabled[data-mobile-label]::after,
.camp-table .info-btn.full[data-mobile-label]::after {
  content: 'Full';
  display: inline;
}

.camp-table td span[style*='#d32f2f'] {
  display: none;
}

@media (min-width: 601px) {
  .camp-table td span[style*='#d32f2f'] {
    display: inline;
  }

  .camp-table .info-btn[data-mobile-label]::after {
    content: '';
    display: none;
  }

  .camp-table .info-btn[data-mobile-label] span {
    display: inline;
  }

  .camp-table .info-btn.disabled[data-mobile-label]::after,
  .camp-table .info-btn.full[data-mobile-label]::after {
    content: '';
    display: none;
  }
}

.back-to-top {
  display: block;
  text-align: center;
  margin-top: 2rem;
}

.back-to-top-btn {
  background: var(--hard-green);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.6em 1.5em;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease;
}

.back-to-top-btn:hover {
  background: #1b5e20;
  text-decoration: none;
  color: #fff;
}

.camp-hero-img-wrapper {
  width: 100%;
  margin-bottom: 2rem;
}

.camp-hero-img {
  width: 100%;
  max-width: 100%;
  height: 400px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
}

@media (max-width: 600px) {
  h1,
  .page-hero h1 {
    font-size: 1.5rem;
  }

  .camp-section {
    padding: 1.25rem;
  }

  .container {
    padding: 0 16px;
  }

  .camp-hero-img {
    height: 220px;
  }
}

/* 404 */
.error-section {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin: 2.5rem 0;
  padding: 3rem 2rem;
  text-align: center;
}

.error-code {
  font-size: clamp(4rem, 12vw, 6rem);
  font-weight: 800;
  color: var(--hard-green);
  margin: 0.5rem 0;
  line-height: 1;
  letter-spacing: -0.04em;
}

.error-message {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin: 1.5rem 0;
  font-weight: 600;
}

.cute-message {
  font-size: 1.05rem;
  color: var(--text-light);
  margin: 1.5rem 0;
  line-height: 1.75;
}

.home-button {
  display: inline-block;
  background: var(--hard-green);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.75em 1.75em;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1.5rem;
  transition: background 0.2s ease;
}

.home-button:hover {
  background: #1b5e20;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 600px) {
  .error-section {
    padding: 2rem 1.25rem;
  }
}

