/* Shared visitor information for Bishopstown, Churchfield and Douglas. */
.location-page :is(#hours, #find-us, #facilities, #app) { scroll-margin-top: 24px; }
.location-page #hours .section-heading { margin-bottom: 32px; }
.location-page .centre-hours-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 32px 48px;
  margin: 0;
  padding: 40px;
  background: var(--white);
  border-radius: 16px;
  align-items: start;
}
.centre-hours-summary > * { min-width: 0; }
.centre-hours-summary h3 { margin: 0 0 20px; font-size: 26px; line-height: 1.3; letter-spacing: -.025em; }
.centre-hours-guidance > p { max-width: 55ch; color: #334c69; font-size: 17px; line-height: 1.65; }
.location-page .hours-table { font-size: 17px; line-height: 1.65; }
.location-page .hours-table caption { font-family: Archivo, sans-serif; font-size: 16px; line-height: 1.6; margin: -8px 0 24px; }
.centre-schedule--gym .hours-table caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.location-page .hours-table th, .location-page .hours-table td { padding: 16px; overflow-wrap: anywhere; }
.location-page .hours-table th:first-child { width: 48%; }
.location-page .hours-table thead { color: #334c69; background: var(--paper); font-size: 15px; }
.location-page .hours-table thead th { font-weight: 500; }
.location-page .hours-table tbody th { font-weight: 600; }
.location-page .hours-table tbody tr:last-child > * { border-bottom: 0; }
.centre-schedule .schedule-times { padding: 0; margin: 0; list-style: none; }
.centre-schedule .schedule-times li + li { margin-top: 4px; }
.centre-timetable-links { margin-top: 24px; }
.centre-timetable-links a, .centre-visit-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.centre-timetable-links a:first-child, .centre-visit-links a:first-child { border-top: 1px solid var(--line); }
.centre-timetable-links a:last-child { border-bottom: 0; }
.centre-timetable-links a span, .centre-visit-links a span { min-width: 0; }
.centre-timetable-links .ti, .centre-visit-links .ti { color: var(--orange); font-size: 20px; }
.centre-timetable-links a:hover span, .centre-visit-links a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.centre-hours-footer {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.centre-hours-footer .action-group { gap: 12px 24px; }
.centre-hours-footer .text-link { font-size: 15px; }
.centre-hours-updated { flex: 0 1 42ch; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.centre-schedule .expired-schedule { margin: 0; background: var(--paper); }
.centre-schedule .expired-schedule a { display: inline-flex; align-items: center; min-height: 44px; }
.location-page .centre-visit-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.centre-visit-grid > * { min-width: 0; }
.location-page .centre-visit-grid h3 { margin: 0 0 20px; font-size: 26px; line-height: 1.3; letter-spacing: -.025em; }
.location-page .centre-visit-grid address { max-width: 48ch; margin-bottom: 16px; }
.centre-contact-links { list-style: none; margin: 0 0 24px; padding: 0; }
.centre-contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  padding-block: 8px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.5;
}
.centre-contact-links a span { min-width: 0; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.centre-contact-links .ti { font-size: 22px; }
.centre-contact-links a:hover { color: var(--blue); }
.centre-visit-links { margin-block: 24px; }
.location-page .centre-visit-grid .centre-visit-links a { text-decoration: none; }
.location-page .centre-visit-grid .centre-membership-note { margin: 0; max-width: 60ch; }
@media (max-width: 1100px) {
  .location-page .centre-hours-summary { padding: 32px; gap: 32px; }
  .location-page .hours-table th, .location-page .hours-table td { padding: 14px 12px; }
}
@media (max-width: 850px) {
  .location-page .centre-hours-summary, .location-page .centre-visit-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .centre-hours-guidance { padding-top: 32px; border-top: 1px solid var(--line); }
  .centre-hours-footer { align-items: flex-start; }
  .centre-hours-updated { flex-basis: 100%; max-width: 65ch; }
}
@media (max-width: 600px) {
  .location-page .centre-hours-summary { padding: 24px 16px; gap: 24px; }
  .centre-hours-summary h3, .location-page .centre-visit-grid h3 { font-size: 22px; margin-bottom: 16px; }
  .location-page .hours-table { font-size: 16px; }
  .location-page .hours-table caption { font-size: 15px; margin: -4px 0 20px; }
  .location-page .hours-table th, .location-page .hours-table td { padding: 12px 8px; }
  .location-page .hours-table th:first-child { width: 45%; }
  .centre-hours-guidance { padding-top: 24px; }
  .centre-hours-guidance > p { font-size: 16px; }
  .centre-timetable-links { margin-top: 20px; }
  .centre-hours-footer { gap: 20px; }
  .centre-hours-footer .action-group { flex-direction: column; align-items: flex-start; }
  .centre-contact-links a { font-size: 16px; }
}
@media print {
  .location-page .centre-hours-summary { display: block; padding: 0; }
  .centre-hours-guidance { margin-top: 24px; }
  .centre-hours-footer .button { display: none; }
  .location-page .hours-table { font-size: 11pt; }
  .location-page .hours-table tr { break-inside: avoid; }
}
