/* The timetable uses the site's shared hero, type and colours. */
.hours-page .hours-content { padding-bottom: 16px; }
.hours-centre-picker { margin-bottom: 32px; }
.hours-centre-picker h2 { margin-bottom: 16px; font-size: 22px; letter-spacing: -.025em; }
.hours-centre-links { display: flex; flex-wrap: wrap; gap: 12px; }
.hours-centre-links a {
  display: flex;
  flex: 1 1 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 12px;
  min-width: max-content;
  min-height: 64px;
  padding: 16px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
.hours-centre-links span { font-size: 14px; font-weight: 400; }
.hours-centre-links a:hover { border-color: var(--navy); background: #e1eaf6; }
.hours-centre-links a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.hours-page .hours-centre {
  margin-bottom: 32px;
  padding: 40px;
  border: 0;
  border-radius: 16px;
  background: var(--white);
  scroll-margin-top: 24px;
  overflow-wrap: anywhere;
}
.hours-page .hours-centre-heading { align-items: center; gap: 16px 32px; margin-bottom: 24px; }
.hours-page .hours-centre-heading h2 { font-size: 40px; letter-spacing: -.035em; }
.hours-page .hours-centre-heading .text-link { flex-shrink: 0; font-size: 14px; }
.hours-activity-picker { display: flex; flex-wrap: wrap; gap: 0 24px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.hours-activity-picker a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 16px;
  border-bottom: 3px solid transparent;
  font-size: 17px;
  line-height: 1.5;
}
.hours-activity-picker a:hover { background: var(--paper); }
.hours-activity-picker a[aria-current] { border-bottom-color: var(--navy); font-weight: 600; }
.hours-activity { scroll-margin-top: 24px; }
.hours-activity + .hours-activity { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--line); }
.hours-enhanced .hours-activity { padding-top: 0; margin-top: 0; border-top: 0; }
.hours-activity h3 { margin-bottom: 16px; font-size: 28px; letter-spacing: -.025em; }
.hours-page .schedule-intro { max-width: 70ch; margin-bottom: 32px; font-size: 17px; line-height: 1.65; color: #334c69; }
.hours-page .schedule-intro a { color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }
.hours-period { margin-bottom: 24px; font-size: 16px; font-weight: 600; }
.pool-schedules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: start; }
.pool-schedule { min-width: 0; scroll-margin-top: 24px; }
.pool-schedule:only-child { grid-column: 1 / -1; max-width: 800px; }
.single-schedule { max-width: 800px; }
.hours-page .hours-table { font-size: 17px; line-height: 1.65; }
.hours-page .hours-table caption { margin-bottom: 20px; font-size: 22px; line-height: 1.4; letter-spacing: -.025em; }
.single-schedule .hours-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hours-page .hours-table th, .hours-page .hours-table td { padding: 16px; overflow-wrap: anywhere; }
.hours-page .hours-table th:first-child { width: 36%; }
.hours-page .hours-table thead { color: #334c69; background: var(--paper); font-size: 15px; }
.hours-page .hours-table thead th { font-weight: 500; }
.hours-page .hours-table tbody th { font-weight: 600; }
.hours-page .hours-table tbody tr:last-child > * { border-bottom: 0; }
.schedule-times { margin: 0; padding: 0; list-style: none; }
.schedule-times li + li { margin-top: 4px; }
.hours-page .hours-table .schedule-note { max-width: none; margin-top: 12px; font-size: 15px; }
.hours-page .class-days { gap: 32px 48px; margin: 0; }
.hours-page .class-day h4 { margin: 0 0 16px; font-family: var(--heading); font-weight: 400; font-size: 22px; }
.hours-page .class-day li { grid-template-columns: minmax(88px, max-content) minmax(0, 1fr); padding-block: 16px; font-size: 17px; }
.hours-page .class-day small { margin-top: 4px; font-size: 15px; }
.hours-page .hours-actions { justify-content: space-between; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.hours-page .schedule-checked { max-width: 80ch; margin: 24px 0 0; font-size: 14px; }
.hours-page .expired-schedule { margin: 0; background: var(--paper); }
.hours-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1100px) {
  .pool-schedules { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pool-schedule { max-width: 800px; }
  .hours-page .hours-centre { padding: 32px; }
  .hours-page .hours-centre-heading h2 { font-size: 34px; }
}
@media (max-width: 750px) {
  .hours-centre-links a { min-height: 56px; padding: 12px; font-size: 16px; }
  .hours-centre-links span { display: none; }
  .hours-page .hours-centre-heading { display: block; }
  .hours-page .class-days { grid-template-columns: minmax(0, 1fr); }
  .hours-activity-picker { gap: 0 8px; }
  .hours-activity-picker a { padding-inline: 12px; }
}
@media (max-width: 600px) {
  .hours-centre-picker { margin-bottom: 24px; }
  .hours-centre-picker h2 { font-size: 20px; }
  .hours-centre-links { gap: 8px; }
  .hours-centre-links a { padding-inline: 8px; border-radius: 8px; }
  .hours-page .hours-centre { padding: 24px 16px; margin-bottom: 24px; }
  .hours-page .hours-centre-heading h2 { font-size: 28px; }
  .hours-activity-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 24px; }
  .hours-activity-picker a { padding: 12px 8px; min-width: 0; font-size: 16px; overflow-wrap: anywhere; }
  .hours-activity h3 { font-size: 24px; }
  .hours-page .schedule-intro { margin-bottom: 24px; font-size: 16px; }
  .hours-page .hours-table { font-size: 16px; }
  .hours-page .hours-table caption { font-size: 20px; }
  .hours-page .hours-table th, .hours-page .hours-table td { padding: 12px 8px; }
  .hours-page .class-day li { grid-template-columns: minmax(76px, max-content) minmax(0, 1fr); font-size: 16px; gap: 12px; }
  .hours-page .hours-actions { align-items: flex-start; justify-content: flex-start; gap: 16px 24px; }
  .hours-page .hours-actions .text-link { font-size: 15px; }
}
@media (max-width: 360px) {
  .hours-centre-links { flex-direction: column; }
  .hours-page .class-day li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
@media (forced-colors: active) {
  .hours-centre-links a[aria-current] { outline: 3px solid Highlight; outline-offset: -5px; }
  .hours-activity-picker a[aria-current] { border-bottom-color: Highlight; }
}
@media print {
  .hours-centre-picker, .hours-activity-picker, .hours-page .hours-actions .button { display: none; }
  .hours-page .hours-centre[hidden], .hours-page .hours-activity[hidden] { display: block !important; }
  .hours-page .hours-centre { padding: 0; break-before: page; }
  .hours-page .hours-activity { margin-top: 32px; }
  .hours-page .hours-content { width: 100%; }
  .pool-schedules { display: block; }
  .pool-schedule { margin-top: 24px; }
  .hours-page .hours-table { font-size: 11pt; }
  .hours-page .hours-table tr { break-inside: avoid; }
}
