/* /beers/ only */

/* Page-top picture: the photo fills the band, the "OUR BEERS" title PNG
   (1920x1080, transparent) sits on top at full width, as live.
   Drawn by the shared .title-hero in site.css. */

/* Intro: live wrap padding 80px 30px 0, rules in the theme blue */
.page-beers .beers-intro { padding-top: 80px; padding-bottom: 32px; }
.page-beers .beers-intro__inner { padding: 0 30px; }
.page-beers .beers-intro p { margin-bottom: 0; }
.page-beers .beers-intro__rule {
  height: 0;
  margin: 36px 0 0;
  border: 0;
  border-top: 1px solid var(--c-theme-live);
}
/* tighter than the old site's 70px either side (America, 29 Oct 2026: the gap
   before the beers was so big she almost didn't know to scroll down) */
.page-beers .beers-intro__ontap { margin: 28px 0; text-align: center; }
.page-beers .beers-intro__ontap + .beers-intro__rule { margin-top: 0; }

/* Logo strip: live it sat on the grey "dark" band. The tap list under it is now the Food
   Menu's look, and America ruled out the grey for that look ("if it didn't turn into this
   gray", 29 Oct 2026), so the strip is black, as the cards are, and a road runs along its
   bottom into the yellow band: the yellow centre line in the cards' own dashes (30px dash,
   20px gap, fitted to the width so both ends are a gap), as the home page parts its intro
   from its cards. The road is drawn, so it is never read. */
.page-beers .beers-logo { --band-bg: #000; --road-h: 30px; padding-top: 24px; padding-bottom: calc(8px + var(--road-h)); }
.page-beers .beers-logo img { display: block; margin: 0 auto; }
.page-beers .beers-logo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--road-h);
  background: linear-gradient(90deg, transparent 0 20%, var(--c-yellow) 20% 80%, transparent 80%) 0 50% / 50px 5px, #000;
  background-repeat: round no-repeat;
  pointer-events: none;
}
@media (max-width: 767px) {
  .page-beers .beers-logo { --road-h: 24px; }
}
/* high contrast mode paints every band black; the drawn road goes, as the home page's does */
html.a11y-contrast .page-beers .beers-logo::after { display: none; }

/* ---------- The tap list: Food Menu cards ----------
   America, 29 Oct 2026: "Can we do the same thing now with the under our beers with the kind
   of menu". The cards, the band and the rows are drawn by assets/menu-cards.css: one black
   card per group with its name on the yellow tile, one row per drink, its pours and prices
   on the right (stacked, one pour to a line), the road line along the bottom. On a laptop
   the cards sit in the page's two columns, as the list did: the beers on the left, Cali
   Mojo and the ciders, the non-alcoholic beers, the slushie and the sodas on the right.
   On phones and tablets they follow one another in that order. A card keeps one column of
   rows at every width, so a beer's pours stay on the right of its name wherever the row
   has room for them. */
.page-beers .bt-cols { display: grid; gap: 32px; }
.page-beers .bt-card .fm-card__body { columns: auto; }
/* The tiles' names keep the menu tiles' size, but never more than 11.5% of the card's
   width (cqi, the card is a container): "ALCOHOLIC" is a long word, so on the narrowest
   phones with large text (and the wider WCAG 1.4.12 letter spacing) it keeps whole inside
   the tile with room to spare. From 375px wide with normal text, and on every tablet and
   laptop, the menu size is already the smaller, so nothing changes there. */
.page-beers .bt-card .fm-card__name { font-size: min(calc(var(--fs-h2) * 1.3), 11.5cqi); }
@media (min-width: 1024px) {
  .page-beers .bt-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  /* The two cards side by side start level: where "CALI MOJO & HARD CIDERS" takes two lines
     and "CRAFT BEER ON TAP" one, the shorter name's tile is as tall as two lines (1.05 each)
     with its one line in the middle, so the two tiles end, and the two photos start, on the
     same line. Where both take two lines (a small laptop, larger text) nothing changes. */
  .page-beers .bt-col > .fm-card:first-child .fm-card__name { display: flex; align-items: center; min-height: 2.1em; }
}
@media (max-width: 767px) {
  .page-beers .bt-cols { gap: 24px; }
}

/* ---------- Print: black words on white paper ----------
   The cards print as assets/menu-cards.css draws them, one under the next; the page goes
   white too, and the toolbar and the menu buttons go. */
@media print {
  body.page-beers > main { background: #fff; }
  .page-beers .bt-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body.page-beers .a11y-toolbar,
  body.page-beers .site-nav,
  body.page-beers .menu-toggle { display: none; }
  body.page-beers .site-footer { background: #fff; }
  body.page-beers .site-footer,
  body.page-beers .site-footer a { color: #000; }
}

@media (max-width: 767px) {
  .page-beers .beers-intro { padding-top: 56px; padding-bottom: 24px; }
  .page-beers .beers-intro__inner { padding: 0; }
  /* Gary's words and the cards under them take the full width, 16px each side, as the Live
     Music page does (America, 29 Oct 2026); the toolbar scrolls away with the page
     (site.css), so it never sits on them. */
  .page-beers .beers-intro > .container { padding-left: 16px; padding-right: 16px; }
  .page-beers .beers-intro__rule { margin-top: 28px; }
  .page-beers .beers-intro__ontap { margin: 22px 0; }
}
