.youth-header nav { flex-wrap: wrap; gap: 0 16px; overflow: visible; font-size: .875rem; }
.youth-header nav a { padding-block: 4px; }
.youth-header a:focus-visible { outline: 3px solid #22536d; outline-offset: 3px; }

.youth {
  max-width: 1480px;
  padding: clamp(24px, 5vw, 64px) clamp(14px, 2.2vw, 32px);
}

.youth-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
  align-items: center;
  gap: clamp(14px, 3vw, 36px);
  padding: clamp(18px, 2.5vw, 34px);
  margin-bottom: 18px;
  text-align: left;
  background: #e3f2f4;
  border: 1px solid #bad7dc;
  border-radius: 22px;
}

.youth-hero h1 { margin: 0; font-size: clamp(1.85rem, 3.5vw, 3rem); }
.youth-hero p { margin: 10px 0 12px; max-width: 29ch; line-height: 1.45; }
.youth-hero img { display: block; width: min(100%, 280px); height: auto; justify-self: end; border-radius: 12px; }
.youth-shortcut { display: inline-block; font-weight: 650; }
.youth a:focus-visible, .youth summary:focus-visible { outline: 3px solid #22536d; outline-offset: 4px; }

.youth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3.6fr) minmax(0, 1fr);
  grid-template-areas: "joke paths challenge";
  align-items: start;
  gap: 16px;
}

.youth-paths { grid-area: paths; }
.youth-paths section > h2 { text-align: center; }
.youth h2 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); margin: 0 0 14px; }
.youth-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.youth-kids { --youth-tint: #f9ebc8; --youth-line: #c49a45; }
.youth-teens { --youth-tint: #e3f1e8; --youth-line: #5c927e; }
.youth-adults { --youth-tint: #e8eef8; --youth-line: #7c95ba; }
.youth-homeschool { --youth-line: #a388af; }

.youth-path {
  display: block;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  background: var(--youth-tint);
  border: 1px solid var(--youth-line);
  border-radius: 14px;
}

.youth-path span { font: 1.23rem/1.25 Georgia, serif; }
.youth-path:hover span { text-decoration: underline; }
.youth-path small, .youth-section h2 small { display: block; font: 650 .875rem/1.5 system-ui, sans-serif; }
.youth-path p { margin: 8px 0 0; font-size: 1rem; line-height: 1.4; }

.youth-note { padding: 14px; background: #fffdf8; border: 1px solid #dfd4c2; border-radius: 14px; }
.youth-note h2 { font-size: 1.12rem; margin-bottom: 8px; }
.youth-note p, .youth-note summary { font-size: 1rem; line-height: 1.5; }
.youth-note p { margin: 6px 0 0; }
.youth-note summary { cursor: pointer; text-decoration: underline; }
.youth-joke { grid-area: joke; background: #f9ebc8; }
.youth-challenge { grid-area: challenge; background: #e3f1e8; }

.youth-sections { display: grid; gap: 14px; margin-top: 28px; }
.youth-section { scroll-margin-top: 36px; padding: clamp(16px, 3vw, 30px); border: 1px solid #dfd4c2; border-left: 5px solid var(--youth-line); background: #fffdf8; border-radius: 12px; }
.youth-section:target { border-color: var(--youth-line); }
.youth-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.youth-adults .youth-content-grid, .youth-homeschool .youth-content-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.youth-content-grid h3 { font-size: 1.2rem; margin: 0; }
.youth-content-grid p { margin: 6px 0; }

@media (max-width: 980px) {
  .youth-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "paths paths" "joke challenge";
  }
}

@media (max-width: 590px) {
  .youth-content-grid, .youth-adults .youth-content-grid, .youth-homeschool .youth-content-grid { grid-template-columns: 1fr; }
  .youth-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); gap: 10px; padding: 14px; }
  .youth-path-grid { grid-template-columns: 1fr; }
  .youth-path p { margin-top: 3px; }
  .youth-layout { grid-template-columns: 1fr; grid-template-areas: "paths" "joke" "challenge"; }
}
