/* Contact page: opening reach block, routing index, hours and address. */

/* Opening */
.page-contact .opening__text { justify-content: center; gap: 0; }
.contact-line { font-size: 1.1875rem; line-height: 1.4; margin: 0 0 1.25rem; max-width: 30rem; }
.reach { display: grid; gap: 0.25rem; }
.reach a { display: inline-block; padding-block: 0.4rem; overflow-wrap: anywhere; }
.reach__tel { font-family: var(--display); font-size: clamp(2rem, 3.6vw, 2.6rem); line-height: 1.1; }
.reach__mail { font-size: clamp(1.05rem, 1.7vw, 1.4rem); line-height: 1.3; }
.contact-fig img { aspect-ratio: 3 / 2; }
@media (max-width: 55.99rem) {
  .contact-fig img { aspect-ratio: 4 / 3; }
  .page-contact .opening { gap: var(--gap); }
}

/* Routing index */
.route-head { margin-bottom: 0.25rem; }
.route-head h2 { max-width: 46rem; }
.route-head p { max-width: 46rem; }
.rows--route { --cols: minmax(0, 4.4fr) minmax(0, 2fr) minmax(0, 1.8fr) minmax(0, 3fr); }
.rows--route .row { padding-block: 1.125rem; }
.rows--route .row__no { align-self: start; }
.cell { min-width: 0; }
.cell p { margin: 0 0 0.5rem; }
.cell p:last-child { margin-bottom: 0; }
.cell--what .row__name { margin: 0 0 0.4rem; }
.cell--what .row__name .spike { margin-right: 0.25rem; vertical-align: 0.05em; }
.cell--what p:last-child { font-size: var(--fs-small); max-width: 36rem; }
.k { display: block; margin-bottom: 0.1rem; font-size: 0.9rem; line-height: 1.4; }
.cell a { display: inline-block; padding-block: 0.6rem; font-size: 1.125rem; white-space: nowrap; }
.subj {
  display: inline;
  padding-block: 0.1em;
  font-size: 1.0625rem;
  line-height: 1.5;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 0.45em no-repeat;
  transition: background-size 0.3s ease-out;
  overflow-wrap: anywhere;
}
.row:has(.mail:hover) .subj,
.row:has(.mail:focus-visible) .subj { background-size: 100% 0.45em; }
@media (min-width: 56rem) {
  .rows--route .row__body { align-items: start; gap: 0.25rem 1.5rem; }
  .rows--route .row__no { padding-top: 0.2rem; }
  .cell:not(.cell--what) { padding-top: 0.15rem; }
}
@media (max-width: 55.99rem) {
  .rows--route .row { align-items: flex-start; }
  .rows--route .row__body { gap: 0.75rem; }
  .cell a { white-space: normal; min-height: 2.75rem; }
  .row__no { flex-basis: 2.25rem; }
}

/* Hours and address */
.hours { font-size: 1.125rem; max-width: 40rem; }
.live {
  margin: 0.75rem 0 0;
  padding-top: 0.75rem;
  border-top: 0;
  background: linear-gradient(var(--accent), var(--accent)) 0 0 / 6rem var(--tape) no-repeat;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.25;
}
.page-contact address { font-style: normal; font-size: 1.125rem; line-height: 1.5; margin-bottom: 0.75rem; }
.page-contact .grid > .panel { min-width: 0; }
@media (max-width: 55.99rem) {
  .page-contact .grid > .panel + .panel { margin-top: 0; }
}
