/* The expanded menu serves both the home page and the family guides. */
.wide-nav {
  flex-wrap: wrap;
  gap: 0 clamp(12px, 1.5vw, 25px);
  line-height: 1.45;
}
.wide-nav a { white-space: nowrap; padding-block: 8px; }
.mobile-nav a[aria-current] { font-weight: bold; color: #42652c; }
.mobile-nav:not([hidden]) { max-height: 76vh; overflow-y: auto; }
.quick-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.quick a { text-align: center; min-height: 44px; padding-inline: 5px; }
@media (max-width: 620px) {
  .quick-in { grid-template-columns: 1fr 1fr; padding-block: 4px; }
  .quick-in a:last-child { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--rule); font-size: .9rem; }
  .mobile-nav:not([hidden]) { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .mobile-nav a { display: flex; align-items: center; min-height: 46px; }
}


.quick-in a.education-link {
  margin-inline: 8px;
  padding: 8px 12px;
  background: #f7e7a3;
  color: #203f32;
  border: 1px solid #b69a44;
  border-radius: 12px;
  line-height: 1.5;
}
.quick-in a.education-link i { flex-shrink: 0; background: #617743; }
.quick-in a.education-link strong { word-break: keep-all; }
.quick-in a.education-link:is(:hover, :focus-visible) {
  background: #efd06a;
  border-color: #83702e;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.quick-in a.education-link:active { background: #e8c157; }

.guide { --tint: #e4edcf; --accent: #68893d; margin-bottom: clamp(48px, 8vw, 100px); }
.guide-bags { --tint: #f5e6ce; --accent: #9e682c; }
.guide-events { --tint: #f7ddcf; --accent: #a9563e; }
.guide-fees { --tint: #f4e8b7; --accent: #8c6935; }
.guide-shell { width: min(960px, calc(100% - 40px)); margin-inline: auto; }
.crumb { display: flex; align-items: center; gap: .8em; margin-block: 1.1rem; font-size: .9rem; color: var(--soft); }
.crumb a, .guide-source a { text-decoration: underline; text-underline-offset: .22em; }
.guide-head {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: clamp(22px, 4vw, 44px); margin-bottom: clamp(20px, 4vw, 38px);
  background: var(--tint); border-radius: 6px 48px 12px 6px;
}
.guide-head h1 { font: 700 clamp(1.9rem, 4vw, 3.3rem)/1.35 var(--serif); }
.guide-head p { margin-top: .7rem; }
.guide-head img { width: clamp(60px, 10vw, 108px); height: auto; flex-shrink: 0; object-fit: contain; }
.guide-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2.5vw, 26px); }
.guide-card { border: 1px solid var(--rule); background: #fffdf6; }
.guide-card { border-radius: 12px; border-top: 4px solid var(--accent); padding: clamp(18px, 3vw, 32px); }
.guide-card.extended-hours { border-top-color: #c58974; }
.weekday-hours > h2 { margin-bottom: .7rem; }
.weekday-hours h3 { font: 700 1.12rem/1.55 var(--sans); }
.extension-price strong { color: #79452e; font-size: 1.22rem; }
.weekday-cost { margin-top: 14px; padding: 14px 18px; background: #f1ecd9; border-radius: 9px; }
.weekday-cost small { display: block; margin-top: .3rem; font-size: .92rem; color: var(--soft); }
.guide h2, .fee-table caption { font: 700 clamp(1.2rem, 2.5vw, 1.55rem)/1.5 var(--serif); }
.guide-number { font: 700 clamp(2.1rem, 4vw, 3.1rem)/1.45 var(--serif); margin: .35rem 0; }
.guide-number span { font-size: .55em; margin-inline: .2em; }
.guide-section { margin-top: 2rem; }
.guide-section h2 { margin-bottom: .7rem; }
.guide-rows { border-top: 1px solid var(--rule); }
.guide-rows div { display: grid; grid-template-columns: minmax(9rem, 30%) 1fr; border-bottom: 1px solid var(--rule); }
.guide-rows dt, .guide-rows dd { padding: .75rem 1rem; }
.guide-rows dt { background: #eaf0dd; font-weight: bold; }
.guide-note, .guide-source { font-size: .92rem; margin-top: .8rem; color: var(--soft); }
.guide-source { margin-top: 1.5rem; }
.guide-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2rem; }
.guide-link, .guide-links a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  font-size: .95rem; font-weight: bold; border: 1px solid #96a58d;
  border-radius: 24px; padding: 7px 18px; color: var(--ink); background: #fffdf6;
}
.guide-link { margin-top: 1rem; }
.guide-links a:hover, .guide-link:hover { background: #e6edd8; }
.guide table { width: 100%; border-collapse: collapse; }
.guide table thead { background: var(--tint); }
.guide table td, .guide table th { border-bottom: 1px solid var(--rule); padding: 13px 16px; }
.guide table th { text-align: left; }
.event-table tbody th { font: bold 1.5rem var(--serif); background: #fbefe2; width: 16%; white-space: nowrap; }
.event-table th small { font-size: .95rem; }
.event-table ul { list-style: none; margin: 0; padding: 0; }
.event-table li { display: grid; grid-template-columns: minmax(7em, 40%) 1fr; gap: .2rem 1rem; padding: .35rem 0; }
.event-table li span { color: var(--soft); }
.fee-table caption { text-align: left; padding-bottom: .8rem; }
.fee-table td, .guide .fee-table thead th:not(:first-child) { text-align: right; white-space: nowrap; }
.fee-table tbody td:first-of-type { font-weight: bold; background: #f7f1dc; }
.fee-table small { display: block; font-weight: normal; color: var(--soft); }
.guide-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
@media (max-width: 620px) {
  .guide-shell { width: calc(100% - 32px); }
  .guide-head { gap: 10px; padding: 20px 16px; border-top-right-radius: 32px; }
  .guide-head img { width: 56px; }
  .guide-head p { font-size: .95rem; }
  .guide-pair, .event-table li { grid-template-columns: 1fr; }
  .guide-rows div { grid-template-columns: 43% 1fr; }
  .guide-rows dt, .guide-rows dd { padding: .65rem; }
  .guide table td, .guide table th { padding: .6rem .4rem; }
  .guide .fee-table { font-size: .92rem; font-variant-numeric: tabular-nums; }
  .fee-table small { font-size: .84rem; line-height: 1.5; }
  .event-table li { gap: 0; line-height: 1.65; }
}

/* The two school handouts stay alongside their accessible text. */
.guide-bags .guide-head { margin-bottom: 14px; }
.guide-bags .guide-head img { mix-blend-mode: multiply; }
.bag-jumps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bag-jumps a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75em;
  min-height: 48px;
  padding: 8px;
  border: 1px solid #ccaaa1;
  border-radius: 10px;
  background: #fbebe7;
  font-weight: bold;
}
.bag-jumps a:last-child { background: #eaf0d9; border-color: #adbc8c; }
.bag-jumps a::after {
  content: "";
  width: 7px; height: 7px;
  border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.bag-jumps a:hover, .bag-handout a:hover span { text-decoration: underline; }
.bag-group { --age-color: #db9c91; margin-top: clamp(30px, 5vw, 54px); }
.bag-group#ages-3-5 { --age-color: #aabc78; }
.bag-group > h2 {
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  padding: 0 0 12px;
  border-bottom: 2px solid var(--age-color);
}
.bag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(180px, 1fr);
  align-items: start;
  gap: clamp(16px, 3.5vw, 42px);
  margin-top: 20px;
}
.bag-copy { display: grid; gap: 18px; }
.bag-copy h3 { font: 700 1.12rem/1.5 var(--sans); margin-bottom: 8px; }
.bag-copy ul { margin: 0; padding-left: 1.35em; }
.bag-copy li::marker { color: #778d63; }
.bag-bring { padding: 16px 18px; border: 1px solid #d9cdb2; border-radius: 12px; background: #fffdf5; }
.bag-bring ul { font-weight: bold; }
.bag-laundry { border-top: 1px dashed var(--rule); padding-top: 14px; }
.bag-laundry dl > div { margin-top: 5px; }
.bag-laundry dt { display: inline; font-weight: bold; }
.bag-laundry dd { display: inline; margin-inline-start: .6em; }
.bag-handout { background: #fffefa; border: 1px solid #ddd6c3; border-radius: 9px; padding: 7px; }
.bag-handout a { display: block; text-align: center; }
.bag-handout img { width: 100%; height: auto; border-radius: 4px; }
.bag-handout span { display: block; padding: 10px 6px 4px; font-size: .9rem; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .bag-layout { grid-template-columns: 1fr; }
  .bag-handout { justify-self: start; padding: 6px 14px 6px 6px; }
  .bag-handout a { display: flex; align-items: center; gap: 8px; }
  .bag-handout img { width: 95px; }
  .bag-handout span { padding: 0; }
  .bag-jumps a { gap: .45em; font-size: .95rem; }
}

/* School notices share the guide layout and the homepage noticeboard. */
.news-board { min-width: 0; }
.news-board .news-all { display: inline-flex; color: #4c602f; font-weight: 700; text-decoration: underline; text-underline-offset: .22em; }
.news-board .notice-row, .notice-list .notice-row { display: grid; justify-content: start; gap: 2px; overflow-wrap: anywhere; }
.notice-row time, .guide-news .guide-head time { font-size: .88rem; color: #65563e; }
.news-board .notice-row strong { font-weight: 650; }
.news-board li[hidden], .guide-news [hidden] { display: none; }
#news-latest:not(:empty) + ul li:not([hidden]) { border-top: 1px solid #ddcda7; }
.guide-news { --tint: #f6e8c3; }
.notice-list { list-style: none; margin: 0; padding: 0; }
.notice-list li { border-bottom: 1px solid var(--rule); }
.notice-list a { padding: 14px 0; }
.notice-list a:hover, .notice-pages a, .notice-article a { text-decoration: underline; text-underline-offset: .2em; }
.notice-article { max-width: 72ch; line-height: 1.9; overflow-wrap: anywhere; }
.notice-article :is(p, figure, ul, ol, blockquote, table) { margin-block: 1em; }
.notice-article :is(ol, ul) { padding-inline-start: 1.6em; }
.notice-article :is(img, video) { max-width: 100%; height: auto; }
.notice-article table { display: block; max-width: 100%; overflow: auto; }
.notice-article :is(th, td) { padding: .35em .65em; border: 1px solid var(--rule); }
.notice-pages { display: flex; flex-wrap: wrap; gap: 1.5em; margin-block: 1.4em; }
