/* Burge Flower Shop, the front page. Runs after site.css and adds only what this page needs. */

/* burdd: a dispatch block - its picture above its panel, green showing between the two. */
.burdd { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-between-blocks); }

/* The opening bars of the everyday panel and the closing panel are always the sunflower accent. */
[data-burr="1"] .burdd > .burp::before,
[data-burr="5"] .burdd > .burp::before { background: var(--colour-of-the-sunflower); }

/* burds: the sympathy pairing - the words panel is the wider column so its headline runs in three lines,
   and the rung reaches further right so the picture moves into the green that stood empty. */
@media (min-width: 56em) {
  [data-burr="2"] { margin-right: 4vw; }
  .buri.burds,
  .buri.burds.burw-first { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

/* burdc: a panel of running copy with a second block standing beside it on a desk screen.
   The panel's bar is a grid item too: it takes a whole row of its own, so the copy starts at the left edge. */
.burdc { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-between-blocks); }
.burdc::before {
  grid-column: 1 / -1;
  margin-bottom: calc(var(--space-inside-a-panel) - var(--space-between-blocks));
}
@media (min-width: 56em) {
  .burdc {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    column-gap: 2.5rem;
    row-gap: var(--space-between-blocks);
    align-items: start;
  }
}

/* burde: the closing panel - one column at every width, the call box directly under the copy. */
@media (min-width: 56em) {
  .burdc.burde { grid-template-columns: minmax(0, 1fr); }
}

/* burdl: the plain list of named pieces - no boxes, one row for each, the price at the right edge. */
.burdl { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; }

/* burdp: one row of that list - the name and its line at the left, the price flush right. */
.burdp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "piece price" "says price";
  column-gap: 1.25rem;
  align-items: baseline;
  padding: 0.85rem 0;
}
.burdp a {
  grid-area: piece;
  font-family: var(--face-of-the-headlines);
  font-weight: 900;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
  line-height: 1.08;
  text-decoration: none;
}
.burdp a:hover, .burdp a:focus-visible { text-decoration: underline; }
.burdp span { grid-area: says; font-size: var(--size-of-the-text); line-height: 1.45; }
.burdp strong {
  grid-area: price;
  font-family: var(--face-of-the-headlines);
  font-weight: 900;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  line-height: 1;
}

/* burdq: the quiet note under the list, on price and on what the cooler decides. */
.burdq { font-size: var(--size-of-the-small-text); max-width: 44em; }

/* burdr: the shop's number set large beside the delivery copy, with a line of plain talk under it.
   Only the number itself (the direct child link) is large; a link inside the sentence stays at text size. */
.burdr > a {
  display: inline-block;
  padding: 0.1em 0;
  font-family: var(--face-of-the-headlines);
  font-weight: 900;
  font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
  line-height: 1;
}
.burdr p { margin-top: 0.75rem; font-size: var(--size-of-the-text); line-height: 1.6; }
.burdr p a {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
  line-height: inherit;
  text-decoration: underline;
}
