/* Contact page - the visit pair, the hours ledger, the directions and the hand-off, in the order they are read. */

/* The stepped pair, as the foundation sets it: a low strip upper right, the gap below it is the block gap. */
.burs { padding-bottom: 0; }
.burs .burb img { height: auto; aspect-ratio: 2 / 1; }
.burs .buro { margin-bottom: 0.9rem; }
main .burp h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
  line-height: 1;
  margin: 0 0 0.4em;
}
main .burp h2.burh { font-size: var(--size-of-the-headlines); line-height: 0.98; }
@media (min-width: 56em) {
  .burs .burb img { aspect-ratio: 3 / 1; }
}

/* burph: the shop phone number as a large link. burem: the shop email link. */
.burph {
  display: inline-block;
  font-family: var(--face-of-the-headlines);
  font-weight: 900;
  font-size: clamp(2.75rem, 1.8rem + 3.2vw, 3.75rem);
  line-height: 1.05;
  padding: 0.15rem 0;
}
.burem {
  display: inline-block;
  padding: 0.65rem 0;
  overflow-wrap: anywhere;
}
.burw p:last-child { margin-bottom: 0; }

/* The shop block: plain running text on a panel, left edge set by the foundation's rung. */
#inthestore + .burr { max-width: 40em; }

/* burhl: the hours ledger section, areas head, rows and pic. burhh: its head panel. */
.burhl {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "rows" "pic";
  gap: var(--space-between-blocks);
}
.burhl > .burhh { grid-area: head; align-self: start; }
@media (min-width: 56em) {
  .burhl {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
    grid-template-areas: "head pic" "rows pic";
  }
}

/* burdl: the list of seven days. burdy: one day row, a flat pale panel stepped right by its place in the week. */
.burdl {
  grid-area: rows;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.burdy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "name times" "mark mark";
  column-gap: 1rem;
  align-items: baseline;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  margin-left: calc(var(--rungs-from-the-first-day, 0) * 1.2vw);
  background: var(--colour-of-the-panels);
  font-size: var(--size-of-the-text);
  line-height: 1.4;
}
@media (min-width: 56em) {
  .burdy {
    grid-template-columns: 9rem minmax(0, 1fr) auto;
    grid-template-areas: "name mark times";
    margin-left: calc(var(--rungs-from-the-first-day, 0) * 1.6vw);
  }
}

/* burdn: the day's name. burtm: its hours. burtd: the word Today, written in by the script. */
.burdn { grid-area: name; font-weight: 600; }
.burtm { grid-area: times; text-align: right; }
.burtd { grid-area: mark; font-weight: 700; }

/* marked: today's row, filled sunflower; nothing else about it changes. */
.burdy.marked { background: var(--colour-of-the-sunflower); }

/* burpc: the sympathy crop beside the ledger. */
.burpc { grid-area: pic; margin: 0; align-self: start; }
.burpc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 56em) {
  .burpc img { aspect-ratio: 4 / 5; }
}

/* burdw: the directions block, areas words and action; the map link sits at the foot of the words. */
.burdw {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "words" "action";
  gap: 1rem;
  align-items: end;
}
.burdw > .burr { grid-area: words; }
.burdw > .buru { grid-area: action; justify-self: start; text-align: left; text-decoration: none; }
@media (min-width: 56em) {
  .burdw {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "words action";
    gap: 1rem 2rem;
  }
  .burdw > .buru { justify-self: end; }
}

/* burhg: the hand-off links in the yellow panel, areas send and read. burlk: one large headline-face link. */
.burhg {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "send" "read";
  gap: 0.25rem 2rem;
  margin-top: 1rem;
}
.burhg p:first-child { grid-area: send; }
.burhg p:last-child { grid-area: read; }
.burhg p { margin: 0; }
@media (min-width: 56em) {
  .burhg {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "send read";
  }
}
.burlk {
  display: inline-block;
  min-height: 2.75rem;
  padding: 0.25rem 0;
  font-family: var(--face-of-the-headlines);
  font-weight: 900;
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  line-height: 1.05;
}
.bury a:hover, .bury a:focus-visible { background-color: var(--colour-of-the-panels); }
