/* About page: the pieces beyond site.css, in the order the page is read. Class names are bur plus two letters, each defined where first written. */

/* burhl: the one short line under the opening sentence */
.burhl { margin-top: 0.75rem; font-size: var(--size-of-the-small-text); }

/* burbn: the bench legend block, reusing the picture and words areas of buri */
.burbn { align-items: start; }
.burbn h2 { font-size: clamp(2.25rem, 1.4rem + 2vw, 3.25rem); }
@media (min-width: 56em) {
  .burbn { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}

/* burvw: the frame that holds the bench photograph and its pins */
.burvw { position: relative; }
.burvw img { aspect-ratio: 16 / 9; }

/* burpn: a numbered yellow square set on a quiet bench area; its place comes from two custom properties */
.burpn {
  position: absolute;
  left: var(--across-the-picture);
  top: var(--down-the-picture);
  transform: translate(-50%, -50%);
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  background: var(--colour-of-the-sunflower);
  color: var(--colour-of-the-ink);
  font-family: var(--face-of-the-headlines);
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1;
}

/* burlg: the numbered legend, each number a square like its pin */
.burlg { list-style: none; margin: 1.25rem 0 0; padding: 0; counter-reset: legendnumber; }
.burlg li {
  counter-increment: legendnumber;
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  column-gap: 1rem;
  margin-bottom: 1.1rem;
}
.burlg li:last-child { margin-bottom: 0; }
.burlg li::before {
  content: counter(legendnumber);
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  background: var(--colour-of-the-sunflower);
  font-family: var(--face-of-the-headlines);
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1;
}

/* burow: the owner's words, three stepped panels in named areas (cut, bucket, card); burcu, burbk and burcd name the panels; burvo is the owner's larger running text */
.burow {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "cut" "bucket" "card";
  row-gap: var(--space-between-blocks);
}
.burcu { grid-area: cut; margin-right: 8vw; }
.burbk { grid-area: bucket; margin-left: 6vw; }
.burcd { grid-area: card; margin-right: 10vw; margin-left: 2vw; }
.burow .burp { align-self: start; }
.burow .burh { margin-bottom: 0.4em; }
.burvo { font-size: 1.1875rem; line-height: 1.55; max-width: 32em; }
@media (min-width: 56em) {
  .burow {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-template-areas:
      "cut cut cut cut cut . . ."
      ". . . bucket bucket bucket bucket bucket"
      ". card card card card card . .";
  }
  .burcu, .burbk, .burcd { margin: 0; }
  .burvo { font-size: 1.3125rem; }
}

/* burdo: an inner grid inside a panel (the bar stays the panel's own); burkn is the list of what the shop does */
.burdo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
.burkn { list-style: none; margin: 0; padding: 0; }
.burkn li { display: flex; align-items: center; min-height: 2.75rem; padding: 0.25rem 0; }
.burkn a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.burkn li:nth-child(even) { padding-left: 1.5rem; }
@media (min-width: 56em) {
  .burdo { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 3rem; }
  .burkn li { font-size: 1.1875rem; }
}

/* burtw: the two refusals side by side on desktop; burh3: their small condensed headings */
.burh3 { font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); margin-bottom: 0.3em; }
@media (min-width: 56em) {
  .burtw { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* burgl: the hand-off links in one row; burgo: each one a flat, larger control */
.burgl { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.burgo {
  min-height: 3.25rem;
  padding: 0.75rem 1.4rem;
  font-size: 1.1875rem;
  text-decoration: none;
}
@media (max-width: 30em) {
  .burgl li { flex: 1 1 100%; }
  .burgo { width: 100%; justify-content: flex-start; }
}
