/* Route page: the address on the card. Runs in the order the page is read. */

/* The two hero crops: a wide shallow bench crop, a shorter door crop, so the first window holds both. */
.burb img { aspect-ratio: 3 / 1; }
.buro + p { margin-top: 1rem; }
@media (min-width: 56em) {
  :root {
    --height-of-the-bench-crop: 20vh;
    --height-of-the-door-crop: 28vh;
  }
}

/* The article blocks: running text with small headings inside. */
.burr h3 { font-size: clamp(1.5rem, 1.2rem + 0.8vw, 1.875rem); margin: 1.1em 0 0.2em; }
.burr h2 + h3 { margin-top: 0.6em; }
.burr h2 { margin-top: 0; }
.burr .burh { font-size: var(--size-of-the-headlines); }
.buri .burn { margin-top: 0; }

/* burtn: the town stair (tn = town); five panels on named areas, each starting further right. */
.burtn {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "towns" "asheboro" "randleman" "ramseur" "another";
  row-gap: var(--space-between-blocks);
  margin-top: var(--space-between-sections);
}
.burtn > :nth-child(1) { grid-area: towns; margin: 0 12vw 0 2vw; }
.burtn > :nth-child(2) { grid-area: asheboro; margin: 0 10vw 0 5vw; }
.burtn > :nth-child(3) { grid-area: randleman; margin: 0 6vw 0 9vw; }
.burtn > :nth-child(4) { grid-area: ramseur; margin: 0 3vw 0 13vw; }
.burtn > :nth-child(5) { grid-area: another; margin: 0 0 0 17vw; }
.burtn .burh { margin-bottom: 0.3em; }
@media (min-width: 56em) {
  .burtn {
    grid-template-columns: 2vw 4vw 12vw 12vw 12vw minmax(0, 1fr);
    grid-template-areas:
      ". towns towns towns towns towns"
      ". . asheboro asheboro asheboro asheboro"
      ". . . randleman randleman randleman"
      ". . . . ramseur ramseur"
      ". . . . . another";
  }
  .burtn > * { margin: 0 !important; width: min(100%, 28rem); justify-self: start; }
  .burtn > :nth-child(1) { width: min(100%, 36rem); }
}

/* burnm: a town's name, set alone in the headline face at 72 px (nm = name). */
.burnm {
  font-size: 4.5rem;
  line-height: 0.95;
  margin: 0 0 0.15em;
}
.burtn .bury p {
  font-family: var(--face-of-the-headlines);
  font-weight: 900;
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  line-height: 1.05;
}
.burtn .bury a { text-decoration-thickness: 0.07em; }

/* burck: the list of what to confirm on the phone (ck = check). */
.burck ul {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "address" "timing" "cost" "there";
  gap: 1.25rem;
}
.burck li:nth-child(1) { grid-area: address; }
.burck li:nth-child(2) { grid-area: timing; }
.burck li:nth-child(3) { grid-area: cost; }
.burck li:nth-child(4) { grid-area: there; }
.burck strong {
  display: block;
  font-family: var(--face-of-the-headlines);
  font-weight: 900;
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem);
  line-height: 1.05;
  margin-bottom: 0.2em;
}
@media (min-width: 56em) {
  .burck ul {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "address timing" "cost there";
    column-gap: 3rem;
    row-gap: 1.75rem;
  }
}

/* burhd: the hand-off inside the last panel - the call on one side, the other pages on the other (hd = hand-off). */
.burhd {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "call" "pages";
  gap: 1rem;
}
.burhd > div { grid-area: call; }
.burhd ul { grid-area: pages; list-style: none; margin: 0; padding: 0; }
.burhd li a { display: inline-flex; align-items: center; min-height: 2.75rem; }
@media (min-width: 56em) {
  .burhd {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    grid-template-areas: "call pages";
    column-gap: 3rem;
    align-items: end;
  }
}
