/*
Theme Name: PONKO Main
Theme URI: https://downsouthagency.com
Author: DownSouth
Author URI: https://downsouthagency.com
Description: Block theme for ponkochicken.com. Fast-food layout built around ordering, menu and locations. Design tokens live in theme.json; every homepage section is a block pattern, so the PONKO team can rearrange and edit them in the WordPress editor.
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Version: 0.33.63
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ponko-main
Tags: block-theme, full-site-editing, restaurant
*/

/* theme.json owns colour, type and spacing. Only what blocks can't express lives here. */

/* Heights of the sticky chrome, so anything that has to sit below it can say
   so once instead of guessing. sticky-nav.js overwrites both with the real
   measurements on load and on resize; these are the values they settle at on
   a desktop viewport, used until it runs and if it never does. Several places
   used to hard-code their own guess, and every one of them was wrong at some
   breakpoint. */
:root {
  --ponko-header-h: 91px;
  --ponko-menu-rail-h: 61px;
  /* Brand red darkened for small red TEXT only (6:1 on white, 5.3:1 on
     cream). Fills, buttons and artwork keep the palette red. */
  --ponko-red-text: #c51600;
}

/* ── sticky header ────────────────────────────────────────────
   Sticky has to live on the template-part wrapper. On .ponko-header
   itself it has no scroll room — the wrapper is only as tall as the
   header, so it sticks to nothing. */
header.wp-block-template-part:has(.ponko-header),
.wp-block-template-part:has(> .ponko-header) {
  position: sticky;
  top: 0;
  z-index: 100;
}
.ponko-header { background: var(--wp--preset--color--base); }

/* WordPress puts a 1.5rem gap between top-level site blocks
   (`:where(.wp-site-blocks) > *`), which leaves a white band between the
   sticky header and the full-bleed hero at scroll-top. The hero is meant to
   sit flush under the header. */
.wp-site-blocks > main { margin-block-start: 0; }

/* The footer reaches the bottom of the window on pages shorter than it
   (Awards, the 404), instead of stopping partway with blank page below.
   Pages taller than the window are unaffected. */
.wp-site-blocks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px));
}
.wp-site-blocks > main { flex: 1 0 auto; }

/* ── hero ─────────────────────────────────────────────────── */
.ponko-hero { position: relative; isolation: isolate; }
.ponko-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(43, 43, 40, .88) 0%,
    rgba(43, 43, 40, .68) 42%,
    rgba(43, 43, 40, .15) 78%
  );
}
.ponko-hero > .wp-block-cover__inner-container { position: relative; z-index: 2; }
/* Gutenberg colours inline text with <mark>. We only ever use it to recolour a
   word, never to highlight it, so drop the browser's default yellow. */
.ponko-hero mark.has-inline-color { background-color: transparent; }

/* ── hero rotation ────────────────────────────────────────────
   Slides share one grid cell rather than being absolutely positioned, so the
   banner keeps the height of its tallest slide and nothing has to be measured
   in JS. Before the script runs — and if it never does — the first slide is
   visible on its own, so there's no empty flash and no-JS still gets a banner.

   Slides move sideways, frame to frame: the script parks the incoming slide
   off one edge and both travel together, so there is never a moment with
   nothing behind them (a crossfade let the white page show through halfway).
   The slide leaving stays visible until it has fully left, then hides, which
   also takes its buttons out of the tab order. */
.ponko-hero-slider { display: grid; position: relative; overflow: hidden; }
.ponko-hero-slider > .ponko-slide {
  grid-area: 1 / 1;
  margin-block: 0 !important;
  visibility: hidden;
  transition: transform .8s cubic-bezier(.65, 0, .35, 1), visibility 0s .8s;
}
.ponko-hero-slider:not(.is-ready) > .ponko-slide:first-child,
.ponko-hero-slider > .ponko-slide.is-active { visibility: visible; transition-delay: 0s; }

.ponko-hero-dots {
  position: absolute;
  z-index: 5;
  bottom: 1.75rem;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Each dot is a 24px button (the WCAG 2.2 minimum tap area) with the 12px
   dot drawn in its middle. */
.ponko-hero-dots button {
  display: grid; place-items: center;
  width: 24px; height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.ponko-hero-dots button::before {
  content: "";
  width: 12px; height: 12px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, .9);
  border-radius: 50%;
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.ponko-hero-dots button:hover::before { background: rgba(255, 255, 255, .55); }
.ponko-hero-dots button[aria-current="true"]::before {
  background: var(--wp--preset--color--red);
  border-color: var(--wp--preset--color--red);
  transform: scale(1.15);
}
.ponko-hero-dots button:focus-visible { outline: none; }
.ponko-hero-dots button:focus-visible::before {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
/* Pause / play, after the dots: the glyph in white, no dot. */
.ponko-hero-dots .ponko-hero-dots__pause { margin-left: .35rem; color: #fff; }
.ponko-hero-dots .ponko-hero-dots__pause::before { content: none; }
.ponko-hero-dots__pause svg { width: 12px; height: 12px; fill: currentColor; }
.ponko-hero-dots .ponko-hero-dots__pause:hover { opacity: .75; }
.ponko-hero-dots .ponko-hero-dots__pause:focus-visible { outline: 2px solid #fff; outline-offset: 0; border-radius: 50%; }

/* ── order pathway cards ──────────────────────────────────── */
.ponko-path {
  transition: transform .25s ease, box-shadow .25s ease;
}
.ponko-path:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -14px rgba(43, 43, 40, .45);
}

/* ── menu category tiles ──────────────────────────────────── */
.ponko-tile { position: relative; overflow: hidden; }
.ponko-tile img { transition: transform .5s ease; }
.ponko-tile:hover img { transform: scale(1.05); }
/* label sits over the photo */
.ponko-tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.25rem 1.1rem;
  margin: 0;
  background: linear-gradient(to top, rgba(35,31,32,.88), rgba(35,31,32,0));
  color: #fff;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-align: left;
}

/* ── angled band edge, a fast-food staple ─────────────────── */
.ponko-slant {
  clip-path: polygon(0 2.5vw, 100% 0, 100% 100%, 0 100%);
}

/* ── kicker label ─────────────────────────────────────────────
   Must be block-level. As inline-block, WordPress's constrained
   layout can't apply `margin-inline: auto`, so it sat flush to the
   container edge instead of lining up with the heading below it. */
.ponko-kicker {
  display: block;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink);
  margin: 0;
}
/* over photography */
.ponko-kicker--light { color: #fff; }
/* "Japanese × American × Award-Winning" over the hero: tighter tracking on
   small phones keeps it on one line instead of leaving a lone × at the end
   of the first. */
@media (max-width: 389px) { .ponko-hero .ponko-kicker { letter-spacing: .14em; } }
@media (max-width: 359px) { .ponko-hero .ponko-kicker { letter-spacing: .08em; } }
/* the red full stops and separators that punctuate the headings */
.ponko-dot { color: var(--wp--preset--color--red); }

@media (prefers-reduced-motion: reduce) {
  .ponko-path, .ponko-tile img { transition: none; }
  .ponko-path:hover { transform: none; }
  .ponko-tile:hover img { transform: none; }
  /* Dots still work; the script just stops advancing on its own. */
  .ponko-hero-slider > .ponko-slide { transition: none; }
}

/* ══════════════════════════════════════════════════════════
   MENU
   ══════════════════════════════════════════════════════════ */

/* The category rail.
   `top` is derived from the measured header rather than guessed. It used to be
   a hard-coded 72px against a 65px header, which left a 7px slit that page
   content scrolled through — and 13px on mobile, where the header is 51px. The
   extra -1px tucks the rail under the header, which sits at a higher z-index,
   so sub-pixel rounding can never reopen the gap. */
.ponko-menu__navwrap {
  position: sticky;
  top: calc(var(--ponko-header-h) - 1px);
  z-index: 20;
  margin-bottom: 1.5rem;
  background: var(--wp--preset--color--base);
  border-bottom: 1px solid var(--wp--preset--color--gray);
}
/* Edge fades and arrows: the rail's scrollbar is hidden, so these are what
   say the categories continue. Each shows only on the side that actually has
   more to reveal (sticky-nav.js sets the classes). The fade is solid under
   the arrow, so the chip behind never shows through around it. */
.ponko-menu__navwrap::before,
.ponko-menu__navwrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 1px;
  width: 3.75rem;
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
}
.ponko-menu__navwrap::before {
  left: 0;
  background: linear-gradient(to right, var(--wp--preset--color--base) 55%, transparent);
}
.ponko-menu__navwrap::after {
  right: 0;
  background: linear-gradient(to left, var(--wp--preset--color--base) 55%, transparent);
}
.ponko-menu__navwrap.can-scroll-left::before,
.ponko-menu__navwrap.can-scroll-right::after { opacity: 1; }
.ponko-menu__arrow {
  display: none;
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--wp--preset--color--gray);
  border-radius: 50%;
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--ink);
  box-shadow: 0 2px 8px -2px rgba(35, 31, 32, .25);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.ponko-menu__arrow svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
}
/* Hover colours only where there is a real hover. On a touch screen a tap
   leaves :hover stuck on whatever was tapped, so a chosen chip stayed red
   (and an arrow stayed black) after the finger lifted. */
@media (hover: hover) {
  .ponko-menu__arrow:hover { background: var(--wp--preset--color--ink); color: #fff; border-color: var(--wp--preset--color--ink); }
}
.ponko-menu__arrow:focus-visible { outline: 3px solid var(--wp--preset--color--red); outline-offset: 2px; }
.ponko-menu__arrow--prev { left: 0; }
.ponko-menu__arrow--next { right: 0; }
.ponko-menu__navwrap.can-scroll-left .ponko-menu__arrow--prev,
.ponko-menu__navwrap.can-scroll-right .ponko-menu__arrow--next { display: grid; }

.ponko-menu__nav {
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  padding: .9rem 0;
  scrollbar-width: none;
  /* Keeps a chip from being left half-cut after a swipe. */
  scroll-snap-type: x proximity;
}
.ponko-menu__nav::-webkit-scrollbar { display: none; }
.ponko-menu__nav a {
  flex: none;
  scroll-snap-align: start;
  scroll-margin-left: .4rem;
  /* Tightened from .55/1.1rem so all ten categories fit a 1240px rail
     without scrolling at all on desktop. Same fix as the Order pills:
     Josefin's caps ride high in the line box, so the leading is collapsed
     and the extra padding goes on top. Chip height is unchanged. */
  line-height: 1;
  padding: .9rem .85rem .7rem;
  border-radius: 999px;
  background: var(--wp--preset--color--gray-light);
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
@media (hover: hover) {
  .ponko-menu__nav a:hover { background: var(--wp--preset--color--red); color: #fff; }
}

/* Under the last section since 2026-10-20; that section's own bottom margin
   is the space above it. */
.ponko-menu__note {
  font-size: .9rem;
  color: var(--wp--preset--color--ink-soft);
}
/* price note, key and footnote each get their own line */
.ponko-menu__note p { margin: 0; }
.ponko-menu__note p + p { margin-top: .35rem; }
/* The key's star is the items' star at the items' size, not a copy scaled to
   the note, so it reads as the same mark. Each entry stays in one piece when
   the key wraps on a phone. */
.ponko-menu__key .ponko-item__fav,
.ponko-item__vlabel .ponko-item__fav {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800; font-size: 1.1rem; line-height: 1;
}
.ponko-menu__keyitem { white-space: nowrap; }
/* the allergy line, a step apart from the key */
.ponko-menu__note .ponko-menu__allergy { margin-top: .75rem; }
.ponko-menu__allergy a { color: inherit; text-decoration: underline; }
.ponko-menu__sep { margin: 0 .2em; }

.ponko-menu__section {
  /* html's scroll-padding already clears the header and the rail */
  scroll-margin-top: .5rem;
  margin-bottom: 4rem;
}
.ponko-menu__heading {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 900;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: -.02em;
  margin: 0 0 .35rem;
}
.ponko-menu__heading::after {
  content: "";
  display: block;
  width: 56px; height: 5px;
  margin-top: .6rem;
  background: var(--wp--preset--color--red);
  border-radius: 3px;
}
.ponko-menu__desc { color: var(--wp--preset--color--ink-soft); margin: .75rem 0 0; }

.ponko-menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.ponko-item {
  display: flex;
  flex-direction: column;
  background: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--gray);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.ponko-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -16px rgba(35,31,32,.45);
}
.ponko-item__media { aspect-ratio: 4 / 3; background: var(--wp--preset--color--gray-light); }
/* The photo carries the 4:3 itself. With height: 100% a photo narrower than
   4:3 (the ones cropped free of their white side bars) set its own height and
   stretched the card; now any shape fills the same frame and is cropped. */
.ponko-item__media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ponko-item__ph {
  display: block; width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg, rgba(35,31,32,.05) 0 10px, rgba(35,31,32,0) 10px 20px),
    var(--wp--preset--color--gray-light);
}

.ponko-item__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.ponko-item__name {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
  margin: 0 0 .4rem;
  text-transform: none;
}
.ponko-item__spicy { font-size: .9em; margin-left: .25em; }
.ponko-item__desc {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--wp--preset--color--ink-soft);
  margin: 0 0 .6rem;
}
.ponko-item__tags { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0 0 .75rem; }
.ponko-item__tags span,
.ponko-menu__code {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: .2rem .45rem;
  border-radius: 4px;
  background: var(--wp--preset--color--gray-light);
  color: var(--wp--preset--color--ink-soft);
}

/* variant rows — label left, price right, hairline between */
.ponko-item__variants { list-style: none; margin: 0 0 .9rem; padding: 0; }
.ponko-item__variants li {
  display: flex; align-items: baseline; justify-content: space-between; gap: .75rem;
  padding: .4rem 0;
  border-bottom: 1px solid var(--wp--preset--color--gray-light);
  font-size: .9rem;
}
.ponko-item__variants li:last-child { border-bottom: 0; }
.ponko-item__vlabel { color: var(--wp--preset--color--ink); }
.ponko-item__vlabel em {
  font-style: normal; font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; color: var(--wp--preset--color--ink-soft); margin-left: .4rem;
}
.ponko-item__vprice {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700; white-space: nowrap;
}
.ponko-item__fav { color: var(--wp--preset--color--red); margin-right: .25em; }
/* Starred cards keep the star where it was and line all their words up
   (PONKO, 2026-10-20): the star takes a column of its own at the left edge,
   as wide as the gap it used to push its words along by (star, margin and
   space), and in any card with a star, on its name or on a size, the name
   and everything under it start after that column. Cards without a star
   are unchanged. */
.ponko-menu { --ponko-fav-col: 1.65rem; }
.ponko-item__body:has(.ponko-item__fav) > * { margin-left: var(--ponko-fav-col); }
/* The star stays inline, so it sits on the text's baseline as before, and
   hangs back into the column. The templates print it with no space after,
   so its width alone sets where the words start. */
:is(.ponko-item__name, .ponko-item__vlabel, .ponko-menu__rname) > .ponko-item__fav {
  display: inline-block;
  width: var(--ponko-fav-col);
  margin: 0 0 0 calc(-1 * var(--ponko-fav-col));
}

.ponko-item__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem; margin-top: auto; padding-top: .5rem;
}
.ponko-item__price {
  flex: 1 1 8rem;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 900;
  font-size: 1.15rem;
}
/* the note under a price ("Rice or fries + drink…") gets its own line, so it
   wraps across the card instead of squeezing into a column beside the price */
.ponko-item__price em {
  display: block; margin: .2rem 0 0; line-height: 1.35;
  font-style: normal; font-weight: 600; font-size: .72rem;
  color: var(--wp--preset--color--ink-soft);
}
/* Josefin's caps sit high in their line box, so with symmetric padding the
   word rode 2.75px above the middle of the pill. Leading collapsed, line box
   centred, and 4px more padding above than below puts the ink in the middle. */
.ponko-item__order {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
  padding: .875rem 1rem .625rem;
  border-radius: 999px;
  background: var(--wp--preset--color--red);
  color: #fff;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background-color .2s ease;
}
.ponko-item__order:hover { background: var(--wp--preset--color--ink); text-decoration: none; }

@media (max-width: 600px) {
  .ponko-menu__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
  .ponko-item__body { padding: .85rem .9rem 1rem; }
}

/* The main menu's dishes as a list, like Uber Eats (PONKO picked it on
   2026-10-31): the words on the left, the photo down the right, one dish per
   row on phones and two side by side from 782px. Nothing is cut short, so a
   card with more options is taller and its photo with it. The photo is
   placed over its box rather than sizing it: a lazy image's stand-in size
   (sizes="auto") otherwise stretched cards hundreds of pixels tall. The
   catering menu has no photos and keeps its grid. */
.ponko-menu:not(.ponko-menu--catering) .ponko-menu__grid { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 782px) {
  .ponko-menu:not(.ponko-menu--catering) .ponko-menu__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}
.ponko-menu:not(.ponko-menu--catering) .ponko-item { flex-direction: row-reverse; border-radius: 12px; }
.ponko-menu:not(.ponko-menu--catering) .ponko-item__media {
  position: relative;
  overflow: hidden;
  flex: 0 0 36%; max-width: 190px; min-height: 150px;
  aspect-ratio: auto;
}
/* The photo's box is as wide as the photo is drawn: the full card height at
   4:3, centred, the panel cropping its sides. The same framing as covering
   the panel, but the browser's sizes="auto" now sees the drawn width. It saw
   the 166px panel and sent the 600px copy to a tall card drawing it 430px
   wide, so salads and other long cards came out soft (2026-11-06). The box
   has to state 4:3 itself: sizes="auto" images don't size from the file. */
.ponko-menu:not(.ponko-menu--catering) .ponko-item__media img {
  position: absolute; top: 0; left: 50%;
  height: 100%; width: auto; min-width: 100%; max-width: none;
  aspect-ratio: 4 / 3;
  transform: translateX(-50%);
}
.ponko-menu:not(.ponko-menu--catering) .ponko-item__body { padding: 1rem 1rem 1.1rem; min-width: 0; }

/* A dish with More info opens a pop-up (PONKO, 2026-10-31). Its name is the
   button, and the button's ::after covers the whole card or row, so a tap
   anywhere on the dish opens it; a card's own Order link sits above that.
   The focus ring goes round the card rather than the name. */
.ponko-item.has-more,
.ponko-menu__row.has-more { position: relative; cursor: pointer; }
.ponko-item__open {
  margin: 0; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; text-align: inherit;
  cursor: pointer;
}
.ponko-item__open::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ponko-item__open:focus-visible { outline: 0; }
:is(.ponko-item, .ponko-menu__row).has-more:has(.ponko-item__open:focus-visible) {
  outline: 3px solid var(--wp--preset--color--red);
  outline-offset: 2px;
}
.ponko-item.has-more .ponko-item__order { position: relative; z-index: 2; }
.ponko-menu__row.has-more:hover .ponko-item__open { color: var(--wp--preset--color--red); }
/* "More info ›" at the foot of the card says the dish opens. */
.ponko-item__more {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: .45em;
  margin-top: auto; padding-top: .5rem;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800; font-size: .74rem; line-height: 1;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--wp--preset--color--red);
}
.ponko-item__more::after {
  content: "";
  width: .42em; height: .42em;
  border: solid currentColor; border-width: 2px 2px 0 0;
  transform: translateY(-.08em) rotate(45deg);
}
.ponko-item__foot ~ .ponko-item__more { margin-top: .75rem; padding-top: 0; }
/* in a list or tile, on its own line under the name and any note */
.ponko-menu__row .ponko-item__more { order: 4; flex-basis: 100%; margin-top: .45rem; padding-top: 0; }
.ponko-item.has-more:hover .ponko-item__more { text-decoration: underline; text-underline-offset: 3px; }

/* The pop-up: a card in the middle of the screen, or from 600px down, a
   sheet up from the bottom. The words scroll under a fixed Order bar. */
.ponko-dish {
  width: min(560px, calc(100% - 2rem));
  max-width: none;
  max-height: min(88dvh, 860px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--ink);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.55);
}
.ponko-dish[open] { display: flex; flex-direction: column; }
.ponko-dish::backdrop { background: rgba(35,31,32,.62); }
html:has(.ponko-dish[open]) { overflow: hidden; }
.ponko-dish__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.ponko-dish__media { aspect-ratio: 4 / 3; background: var(--wp--preset--color--gray-light); }
.ponko-dish__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ponko-dish__body { padding: 1.35rem 1.5rem 1.5rem; }
.ponko-dish__name {
  margin: 0 0 .6rem;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800; font-size: 1.6rem; line-height: 1.15;
  letter-spacing: -.01em; text-transform: none;
}
/* No photo: the name keeps clear of the close button. */
.ponko-dish:not(:has(.ponko-dish__media)) .ponko-dish__name { padding-right: 2.75rem; }
.ponko-dish__desc { margin: 0 0 1rem; font-size: .95rem; line-height: 1.55; color: var(--wp--preset--color--ink-soft); }
.ponko-dish__info { margin: 0 0 1.1rem; font-size: .95rem; line-height: 1.6; }
.ponko-dish__info p { margin: 0 0 .8em; }
.ponko-dish__info p:last-child { margin-bottom: 0; }
.ponko-dish .ponko-item__variants { margin: 0 0 1rem; border-top: 1px solid var(--wp--preset--color--gray-light); }
.ponko-dish .ponko-item__price { margin: 0; }
/* the cards' star column, in the pop-up too */
.ponko-dish__body:has(.ponko-item__fav) > * { margin-left: var(--ponko-fav-col); }
.ponko-dish__name > .ponko-item__fav {
  display: inline-block;
  width: var(--ponko-fav-col);
  margin: 0 0 0 calc(-1 * var(--ponko-fav-col));
  font-size: 1.1rem; /* the cards' star, not the bigger heading's */
}
/* It takes focus itself as it opens, so a screen reader starts at its name;
   Tab then reaches the close button. */
.ponko-dish:focus { outline: 0; }
.ponko-dish__foot {
  flex: none;
  padding: .9rem 1.5rem calc(.9rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--wp--preset--color--gray-light);
  background: var(--wp--preset--color--base);
}
/* Centred like the cards' Order pill (see .ponko-item__order). */
.ponko-dish__order {
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  padding: 1.1rem 1rem .85rem;
  border-radius: 999px;
  background: var(--wp--preset--color--red);
  color: #fff;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800; font-size: .9rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: background-color .2s ease;
}
.ponko-dish__order:hover { background: var(--wp--preset--color--ink); color: #fff; text-decoration: none; }
.ponko-dish__order:focus-visible { outline: 3px solid var(--wp--preset--color--ink); outline-offset: 3px; }
.ponko-dish__close {
  position: absolute; top: .75rem; right: .75rem; z-index: 1;
  display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.94);
  box-shadow: 0 2px 10px rgba(0,0,0,.22);
  color: var(--wp--preset--color--ink);
  cursor: pointer;
}
.ponko-dish__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.ponko-dish__close:hover { background: #fff; color: var(--wp--preset--color--red); }
.ponko-dish__close:focus-visible { outline: 3px solid var(--wp--preset--color--red); outline-offset: 2px; }
@media (max-width: 600px) {
  .ponko-dish {
    width: 100%; max-width: 100%;
    max-height: 92dvh;
    margin: auto 0 0;
    border-radius: 16px 16px 0 0;
  }
  .ponko-dish__body { padding: 1.15rem 1.15rem 1.25rem; }
  .ponko-dish__name { font-size: 1.4rem; }
  .ponko-dish__foot { padding-inline: 1.15rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .ponko-dish[open] { animation: ponko-dish-in .24s ease-out; }
  .ponko-dish[open]::backdrop { animation: ponko-dish-fade .24s ease-out; }
}
@keyframes ponko-dish-in { from { opacity: 0; transform: translateY(24px); } }
@keyframes ponko-dish-fade { from { opacity: 0; } }

/* ── nav underline on hover (desktop) ─────────────────────── */
@media (min-width: 782px) {
  .ponko-header .wp-block-navigation-item__content {
    position: relative;
    padding-bottom: 4px;
  }
  .ponko-header .wp-block-navigation-item__content::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: var(--wp--preset--color--red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  }
  .ponko-header .wp-block-navigation-item__content:hover::after,
  .ponko-header .wp-block-navigation-item.current-menu-item .wp-block-navigation-item__content::after {
    transform: scaleX(1);
    transform-origin: left;
  }
  /* the underline replaces the default text-decoration */
  .ponko-header .wp-block-navigation-item__content:hover { text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ponko-header .wp-block-navigation-item__content::after { transition: none; }
}


/* ── order pathway cards: photo on top, copy beneath ──────── */
.ponko-path {
  background: var(--wp--preset--color--cream);
  border-radius: 18px;
  overflow: hidden;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
.ponko-path__media {
  /* 6:5, measured off the design's 428x357 card photos */
  aspect-ratio: 6 / 5;
  margin: 0;  /* .wp-block-image ships a bottom margin */
  overflow: hidden;
  background: var(--wp--preset--color--gray-light);  /* holds the space while the photo loads */
}
.ponko-path__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ponko-path__body {
  padding: 1.75rem 1.6rem 1.9rem;
  display: flex; flex-direction: column; flex: 1;
}
.ponko-path__body h3 { font-size: clamp(2rem, 2.6vw, 2.5rem) !important; }
.ponko-path__body p { font-size: 1rem !important; line-height: 1.55; }
/* Card buttons sit shorter than the header/hero ones. Top padding runs ~5px
   over the bottom to offset where Josefin Sans puts its baseline — see the
   button centring rule above. */
.ponko-path .wp-block-button__link { padding-top: 1.02rem; padding-bottom: .71rem; }

/* ── stacked section heads read best centred over a row of cards ── */
.ponko-sec-head { text-align: center; }

/* ── white footer ─────────────────────────────────────────── */
.ponko-footer { background: var(--wp--preset--color--base); }
.ponko-footer a { color: var(--wp--preset--color--ink); text-decoration: none; }
.ponko-footer a:hover { color: var(--wp--preset--color--red); text-decoration: none; }
.ponko-footer__legal a { color: var(--wp--preset--color--ink-soft); }
/* Copyright on the left, level with the policy links under the credit. */
.ponko-footer__legal { align-items: flex-end !important; }
@media (max-width: 781px) {
  .ponko-footer__legal { flex-direction: column; align-items: flex-start !important; }
  .ponko-footer__end { align-items: flex-start !important; }
}
.ponko-footer__head {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 .9rem;
}
.ponko-footer__links { line-height: 2.1; margin: 0; }
/* Small laptops: a narrower logo column leaves the link columns room
   for "Rice Bran Oil & Halal" and "Marietta Square Market" on one line. */
@media (min-width: 960px) and (max-width: 1199px) {
  .ponko-footer__row > .wp-block-column:first-child { flex-basis: 22% !important; }
}
/* Phones and tablets: logo and social icons share a row, and the link
   groups go two across (Who We Are beside Work With Us, then Our Locations;
   the Support column was dropped on 2026-11-05, Contact moved to Work With
   Us). Picked from four options on 2026-10-12 for phones; since the
   Our Locations column (2026-10-26) tablets up to 959px use it too, where
   five columns side by side wrapped their headings. */
@media (max-width: 959px) {
  .ponko-footer__row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem !important; }
  .ponko-footer__row > .wp-block-column { margin: 0 !important; }
  .ponko-footer__row > .wp-block-column:first-child {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .ponko-footer__row > .wp-block-column:first-child .wp-block-social-links { margin-top: 0 !important; }
}


/* ── content rail ───────────────────────────────────────────────
   Everything between the header and the footer sits in a 1048px rail:
   the 1240px site rail less 96px a side, the "Tighter +96" setting picked
   from the staging A/B on 2026-10-12. Overriding the constrained-layout
   variable per section pulls the CONTENT in while full-bleed backgrounds
   (the hero and catering photos, the red franchise band) still run edge to
   edge. The header and footer sit outside <main>, so they keep 1240.
   The page title on About and Contact is the template's, outside
   .entry-content, so it takes the same rail or it hangs 96px left of the
   copy under it. */
.entry-content > *,
main > .wp-block-post-title {
  --wp--style--global--content-size: 1048px;
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE v2
   ══════════════════════════════════════════════════════════ */

/* hero — the gradient only needs to carry the left third now that the
   headline sits tight to the rail */
.ponko-hero::before {
  background: linear-gradient(
    96deg,
    rgba(18, 16, 16, .82) 0%,
    rgba(18, 16, 16, .55) 38%,
    rgba(18, 16, 16, .05) 72%
  );
}
.ponko-hero__title { text-transform: uppercase; line-height: .92; }
/* Deliberately no max-width here. A constrained layout centres any child
   narrower than the rail — `.is-layout-constrained > :where(...)` sets
   `margin: auto !important` — so capping the width shunts the text into the
   middle of the page, and overriding the margin drops it out of the rail
   entirely. The design breaks these lines by hand, so the markup does too and
   the box stays full rail width. */
.ponko-hero__sub,
.ponko-band__sub {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  line-height: 1.7;
  text-transform: uppercase;
}

/* Josefin Sans has tall ascenders and a low baseline, so all-caps text in a
   padded pill ends up ~7px above centre once the half-leading is added.
   Collapse the leading and centre the line box explicitly instead of relying
   on symmetric padding. */
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* the header order button carries the bird mark in a cream disc, flush to the
   right edge of the pill */
.ponko-header .wp-block-button__link {
  position: relative;
  padding-right: 3.9rem;
}
.ponko-header .wp-block-button__link::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 50%;
  transform: translateY(-50%);
  width: 2.9rem;
  height: 2.9rem;
  /* The cream disc, bird and beak are composited into one image so the DISC
     sits centred. Centring the raw mark instead pushes the disc left, because
     the beak adds width on its right. */
  background: url("assets/images/v2-order-icon.png") center / contain no-repeat;
}

/* The design's header spacing (89px between links, 146px before the order
   button) only fits a wide desktop — held fixed, the row wraps around 1100px
   and the header triples in height. Interpolate from the design values at
   1440px down to something that still fits just above the hamburger
   breakpoint. Re-derived when Franchise made it five links: the design keeps
   its 95px gaps by widening the rail to 1531px, which we can't do at 1240, so
   the gaps take the design's logo:link:button ratio within the space we have. */
.ponko-header .wp-block-navigation ul {
  gap: clamp(.875rem, 7.34vw - 44.7px, 3.8rem);
}
.ponko-header > .wp-block-group > .wp-block-group {
  gap: clamp(1.25rem, 14.22vw - 93.8px, 6.95rem);
}

/* a white-outline button for use over photography */
.wp-block-button.is-style-outline-light > .wp-block-button__link {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.wp-block-button.is-style-outline-light > .wp-block-button__link:hover {
  background: #fff;
  color: var(--wp--preset--color--ink);
}

/* menu tiles — taller than wide, label bar flush along the bottom */
.ponko-tile { border-radius: 16px; }
.ponko-tile img { aspect-ratio: 9 / 10 !important; }
.ponko-tile figcaption {
  padding: 1.1rem .9rem 1.1rem;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .18em;
  text-align: center;
}

/* two-column story / promo splits */
.ponko-split__media { margin: 0; }
.ponko-split__media img { width: 100%; display: block; border-radius: 24px; }
.ponko-split h2 { font-size: clamp(2.4rem, 3.6vw, 3.4rem) !important; }
.ponko-split p:not(.ponko-kicker) { font-size: 1.1rem !important; line-height: 1.75; }

/* catering band */
.ponko-catering-band { position: relative; isolation: isolate; }
.ponko-catering-band::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    96deg,
    rgba(18, 16, 16, .88) 0%,
    rgba(18, 16, 16, .6) 40%,
    rgba(18, 16, 16, .1) 74%
  );
}
.ponko-catering-band > .wp-block-cover__inner-container { position: relative; z-index: 2; }
.ponko-catering-band mark.has-inline-color { background-color: transparent; }

/* locations store finder — red panel with the search field */
.ponko-finder {
  margin: 2.5rem auto 0;
  background: var(--wp--preset--color--red);
  border-radius: 10px;
  padding: 1.5rem;
}
.ponko-finder__row { display: flex; }
.ponko-finder__input {
  flex: 1; min-width: 0;
  border: 0; border-radius: 4px 0 0 4px;
  padding: 1.15rem 1.25rem;
  font-family: var(--wp--preset--font-family--body);
  font-size: 1rem;
  color: var(--wp--preset--color--ink);
  background: #fff;
}
.ponko-finder__input::placeholder { color: var(--wp--preset--color--ink-soft); opacity: 1; }
.ponko-finder__input:focus-visible { outline: 3px solid var(--wp--preset--color--ink); outline-offset: 2px; }
/* The field and its search button read as one control, so the field's ring
   goes round both. The button still gets its own ring when tabbed to. */
@supports selector(:has(*)) {
  .ponko-finder__input:focus-visible { outline: none; }
  .ponko-finder__row:has(.ponko-finder__input:focus-visible) {
    outline: 3px solid var(--wp--preset--color--ink);
    outline-offset: 2px;
    border-radius: 4px;
  }
}
.ponko-finder__go {
  flex: none; width: 4.25rem;
  border: 0; border-radius: 0 4px 4px 0;
  background: var(--wp--preset--color--gray-light);
  cursor: pointer;
  display: grid; place-items: center;
}
.ponko-finder__go svg { width: 24px; height: 24px; fill: var(--wp--preset--color--ink); }
.ponko-finder__go:hover { background: #fff; }
.ponko-finder__geo {
  display: block; margin: 1.1rem auto 0;
  background: none; border: 0; cursor: pointer;
  color: #fff;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 3px solid #fff;
  padding: 0 0 .35rem;
}
.ponko-finder__geo[hidden] { display: none; }

/* The location arrow inside the search box (left), beside the short hint. */
.ponko-finder__row { position: relative; }
.ponko-finder__arrow {
  position: absolute;
  z-index: 1;
  left: 0; top: 0; bottom: 0;
  width: 3rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 4px 0 0 4px;
  background: transparent;
  color: var(--wp--preset--color--red);
  cursor: pointer;
}
.ponko-finder__arrow[hidden] { display: none; }
.ponko-finder__arrow svg { width: 22px; height: 22px; fill: currentColor; }
.ponko-finder__arrow:hover { color: var(--wp--preset--color--ink); }
.ponko-finder__arrow:focus-visible { outline: 3px solid var(--wp--preset--color--ink); outline-offset: -3px; }
.ponko-finder__arrow[aria-busy="true"] svg { animation: ponko-arrow-pulse 1s ease-in-out infinite; }
@keyframes ponko-arrow-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) {
  .ponko-finder__arrow[aria-busy="true"] svg { animation: none; opacity: .5; }
}
.ponko-finder__row:has(.ponko-finder__arrow:not([hidden])) .ponko-finder__input { padding-left: 3rem; }
.ponko-finder__geo[disabled] { opacity: .6; cursor: default; }
.ponko-finder__msg {
  margin: .9rem 0 0;
  text-align: center;
  color: #fff;
  font-size: .85rem;
}
.ponko-finder__msg[hidden] { display: none; }

/* type-ahead suggestions
   Positioned against the row rather than the form so the list spans the input
   and the submit button together, and so the "Use my location" button below
   does not push it around. */
.ponko-finder__row { position: relative; }
.ponko-sug {
  position: absolute;
  top: calc(100% + .4rem); left: 0; right: 0;
  /* Above the decorative corner mark, which claims z-index 1. */
  z-index: 30;
  margin: 0; padding: .3rem;
  list-style: none;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgb(0 0 0 / .22);
  /* Tall enough for a full set of six two-line rows without scrolling. */
  max-height: 26rem;
  overflow-y: auto;
  text-align: left;
}
.ponko-sug[hidden] { display: none; }
.ponko-sug__item {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  padding: .65rem .8rem;
  border-radius: 5px;
  cursor: pointer;
}
/* Keyboard and pointer highlight are one state, so arrowing through the list
   looks exactly like hovering it. */
.ponko-sug__item.is-active,
.ponko-sug__item:hover { background: var(--wp--preset--color--cream); }
/* cream on white is too faint to follow with the arrow keys alone */
.ponko-sug__item.is-active { box-shadow: inset 3px 0 0 var(--wp--preset--color--ink); }
.ponko-sug__icon { display: grid; place-items: center; }
.ponko-sug__icon svg { width: 18px; height: 18px; fill: var(--wp--preset--color--ink-soft); }
.ponko-sug__item--store .ponko-sug__icon svg { fill: var(--wp--preset--color--red); }
.ponko-sug__text { min-width: 0; }
.ponko-sug__label {
  display: block;
  font-family: var(--wp--preset--font-family--body);
  font-size: .97rem;
  color: var(--wp--preset--color--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Only the typed fragment is bold, so the eye lands on what each row adds. */
.ponko-sug__label mark { background: none; color: inherit; font-weight: 700; }
.ponko-sug__meta {
  display: block;
  margin-top: .05rem;
  font-family: var(--wp--preset--font-family--display);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink-soft);
}
.ponko-sug__item--store .ponko-sug__meta { color: var(--ponko-red-text); }

/* decorative bird mark bleeding off the page edge. Pointer-events off so it
   can never sit over a link, and hidden from assistive tech. */
/* `vw` counts the scrollbar but the element box does not, so the corner marks
   below overshoot the viewport by half a scrollbar and raise a horizontal
   scrollbar of their own. Clipping at the root trims that sliver while still
   letting the artwork bleed to the edge. `clip` rather than `hidden` because
   `hidden` would create a scroll container and break the sticky map on the
   locations page. */
.wp-site-blocks { overflow-x: clip; }

.ponko-has-corner { position: relative; }
/* The artwork is already cropped at the top and along one side, so it needs no
   transform to look clipped — just flush placement. These sections sit on the
   content rail rather than full-bleed, so reaching the viewport edge needs the
   50%/50vw offset rather than a plain `right: 0`. It holds still on purpose: it
   used to tilt level as you scrolled, and was asked to stay in its resting
   pose. */
.ponko-corner {
  /* Two different things can limit this mark, and the roomier one wins.
     Past ~1710px the 1240px content rail leaves a gutter wide enough to hold
     the whole thing, so it can run at full size. Below that the gutter is
     narrower than the mark, which then hangs over the first row of content —
     so the limit becomes the band of white between the section's top edge and
     that row, about 140px tall. Sizing it off 15vw alone knew about neither,
     which is how it ended up sitting on the catering card's photo everywhere
     between roughly 1100px and 1700px. The 20px keeps it off the rail. */
  --ponko-corner-w: clamp(120px, max(min(140px, 16vw), (100vw - 1240px) / 2 - 20px), 215px);
  position: absolute;
  /* Flush against the section above (the hero, the catering band), not this
     section's own top edge. The layout puts one block gap between the two,
     and the PNG has a 7px clear border (of 546 across) above the cut, so the
     mark rises by both. All it rises into is that empty gap, so the section
     and its content stay exactly where they were. The extra 1px laps the cut
     over the edge above: an exact meet rounds to a white hairline at some
     widths, because both edges land on fractional pixels. */
  top: calc(-1 * var(--wp--style--block-gap) - var(--ponko-corner-w) * 7 / 546 - 1px);
  width: var(--ponko-corner-w);
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.ponko-corner--left { left: calc(50% - 50vw); }
/* mirrored, so the cut edge runs down the right-hand side of the page */
.ponko-corner--right {
  right: calc(50% - 50vw);
  transform: scaleX(-1);
}

@media (max-width: 781px) { .ponko-corner { display: none; } }

/* locations illustration */
.ponko-locations { padding-top: var(--wp--preset--spacing--70) !important; }
.ponko-locations__art { margin-inline: auto; }
.ponko-locations__art img { width: 100%; max-width: 760px; height: auto; display: block; }

/* franchise band
   Built to the approved Figma (Oct 11): the box of chicken stands across the
   seam with Locations, a dashed trail runs out from behind it to a map pin,
   and a yellow brush stroke sits under "to your City.".

   The box still sizes the band, as it always has. Its negative margins lift it
   out of the top by the design's share (153 of its 516px) and let it overhang
   the bottom by 8, so the band comes out 0.69x the box's height at any width,
   as in the design. They cancel the band's own padding through the same
   spacing presets the band's padding uses: change one, change the other. */
.ponko-franchise { position: relative; isolation: isolate; }
/* The design's skyline: cream at 7.5% along the floor of the band. */
.ponko-franchise::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: clamp(64px, 5.1vw, 98px);
  background: url(assets/images/franchise-skyline.webp) repeat-x 0 100% / auto 100%;
  opacity: .075;
  pointer-events: none;
}
.ponko-franchise__title { text-transform: uppercase; }
/* Type at the design's scale. The design sets the headline at 70px in a 532px
   column; here it is sized off its own column (cqi), so it keeps that share
   of the band at any width, and "Bring PONKO" (7.7em with the heavy PONKO)
   can never outgrow the column. The label keeps the design's 20:70 ratio to
   it, and the design's 34px of cap-to-cap space (0.49em) between the two. */
.ponko-franchise__row > .wp-block-column:first-child { container-type: inline-size; }
.ponko-franchise .ponko-franchise__row .ponko-franchise__title {
  font-size: min(12cqi, 4.375rem) !important;
  line-height: 1.013;
  margin-top: .32em !important;
}
.ponko-franchise .ponko-franchise__row .ponko-kicker { font-size: clamp(.75rem, 3.43cqi, 1.25rem); }
/* The paragraph at the design's 20/33px Medium, against its 1492px rail. */
.ponko-franchise__row { container-type: inline-size; }
.ponko-franchise__row > .wp-block-column:nth-child(2) p {
  font-size: clamp(.875rem, 1.34cqi, 1.25rem) !important;
  line-height: 1.65;
  font-weight: 500;
}
.ponko-franchise__title::after {
  content: "";
  display: block;
  width: 3.44em;
  aspect-ratio: 240.72 / 22.64;
  margin-top: -.035em;
  background: url(assets/images/franchise-swoosh.svg) no-repeat 0 0 / 100% 100%;
}
.ponko-franchise .ponko-franchise__row .ponko-franchise__art {
  --w: 77%; /* of the column: 27.7% of the rail, the design's 414 of 1492 */
  position: relative;
  z-index: 0;
  width: var(--w);
  margin: calc(var(--w) * -.3696 - var(--wp--preset--spacing--50)) 0 calc(var(--w) * -.0193 - var(--wp--preset--spacing--40));
}
.ponko-franchise__art img { display: block; width: 100%; height: auto; aspect-ratio: 828 / 1035; }
/* The trail starts behind the box, so it sits under the image. */
.ponko-franchise__art::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 77.1%;
  top: 51.9%;
  width: 56.3%;
  aspect-ratio: 505 / 463;
  background: url(assets/images/franchise-trail.webp) no-repeat 0 0 / 100% 100%;
}
@media (min-width: 782px) {
  /* Sit the box on the band's floor even when the copy is the taller side. */
  .ponko-franchise__row > .wp-block-column:last-child { align-self: flex-end; }
  /* Room above the band for the box's top: the design's 125px at a 1240 rail. */
  .ponko-locations { padding-bottom: calc(min(var(--wp--style--global--content-size), 100vw - 2 * var(--wp--style--root--padding-left)) * .0925 - 1rem) !important; }
}
@media (min-width: 782px) and (max-width: 1199px) {
  /* The headline needs less than its 38% here, and the paragraph would
     otherwise run to five short lines. */
  .ponko-franchise__row > .wp-block-column:first-child { flex-basis: 32% !important; }
  .ponko-franchise__row > .wp-block-column:nth-child(2) { flex-basis: 30% !important; }
}
@media (min-width: 782px) and (max-width: 999px) {
  /* ...and the button's padding gives its two lines room in a column this narrow. */
  .ponko-franchise .wp-block-button__link { padding-inline: 1.25rem; }
}

@media (max-width: 781px) {
  /* let the copy reflow to the narrow column instead of keeping the
     desktop line breaks */
  .ponko-hero__sub br, .ponko-band__sub br { display: none; }

  /* Franchise band, as the design's phone frame: the box first, centred
     across the seam, then the copy centred under it. */
  .ponko-franchise__row > .wp-block-column { text-align: center; }
  .ponko-franchise__row > .wp-block-column:last-child { order: -1; }
  .ponko-franchise .wp-block-buttons { justify-content: center; }
  .ponko-franchise__title { width: fit-content; margin-inline: auto; }
  /* The phone frame's 34px headline (with its looser 1.29 leading) and 14px
     label, against a 359px column. */
  .ponko-franchise .ponko-franchise__row .ponko-franchise__title { font-size: min(9.5cqi, 2.75rem) !important; line-height: 1.29; margin-top: .15em !important; }
  .ponko-franchise .ponko-franchise__row .ponko-kicker { font-size: min(3.9cqi, 1rem); }
  .ponko-franchise__row > .wp-block-column:nth-child(2) p { font-size: 1rem !important; line-height: 1.44; }
  .ponko-franchise__title::after { width: 4.5em; aspect-ratio: 153 / 13; margin-top: -.12em; }
  .ponko-franchise .ponko-franchise__row .ponko-franchise__art {
    --w: min(67.7%, 300px);
    margin: calc(var(--w) * -.4562 - var(--wp--preset--spacing--50)) auto 0;
  }
  .ponko-franchise__art::before { left: 78.6%; top: 56.9%; width: 47.7%; }
  .ponko-franchise::before { height: 98px; }
  .ponko-locations { padding-bottom: calc(min((100vw - 2 * var(--wp--style--root--padding-left)) * .677, 300px) * .414) !important; }
}


/* ── one content rail for the whole site ──────────────────────
   The header's inner row is capped at the same 1240px as page
   content, so the logo starts on the same line as every section
   heading and card grid below it. */
.ponko-header > .wp-block-group {
  max-width: 1240px;
  margin-inline: auto;
}

/* ── mobile header ───────────────────────────────────────────
   Logo, then Order Now pushed right, then the menu button in its ring at the
   far right — the Mobile Design frame of the Oct 11 Figma's layout. Sized up
   from the design's 31px on 2026-10-12: Order Now read too small to tap, so
   it and the menu button are a 44px touch target (stepping down to 42px and
   40px on the narrowest phones so the row still fits), and the logo grows to
   balance them. --ponko-tap carries the height to all three.

   The nav and the button sit inside a wrapper group, which normally makes
   that impossible — the logo can't get between two children of a sibling.
   `display: contents` drops the wrapper out of the layout so all three end
   up as siblings in one flex row that can be reordered freely.

   Sizes are trimmed because at 390px the three together otherwise overrun
   the content width by a few pixels, which wraps the row and strands the
   hamburger above the logo. */
/* Up to 959px, not WordPress's 600: between the two the five links, the logo
   and the order button don't fit one row, and the header wrapped to three
   rows with the links ahead of the logo on every iPad. */
@media (max-width: 959px) {
  .ponko-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .ponko-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  .ponko-header > .wp-block-group {
    justify-content: flex-start;
    gap: 5px;
  }
  .ponko-header > .wp-block-group > .wp-block-group { display: contents; }

  .ponko-header .wp-block-site-logo  { order: 1; }
  .ponko-header .wp-block-buttons    { order: 2; margin-left: auto; }
  .ponko-header .wp-block-navigation { order: 3; }

  .ponko-header { --ponko-tap: 44px; --ponko-tap-font: 14px; --ponko-logo-w: 120px; }

  /* Same wordmark as desktop, scaled to sit with the 44px controls. */
  .ponko-header .wp-block-site-logo,
  .ponko-header .wp-block-site-logo img { width: var(--ponko-logo-w); height: auto; }

  /* The menu button: a ring with two short bars, drawn here rather than with
     WordPress's 24px three-bar icon. */
  .ponko-header .wp-block-navigation__responsive-container-open {
    width: var(--ponko-tap);
    height: var(--ponko-tap);
    padding: 0;
    border: 1.5px solid var(--wp--preset--color--ink);
    border-radius: 50%;
    color: var(--wp--preset--color--ink);
    background:
      linear-gradient(currentColor 0 0) 50% calc(50% - 3px) / 14px 1.75px no-repeat,
      linear-gradient(currentColor 0 0) 50% calc(50% + 3px) / 14px 1.75px no-repeat;
  }
  .ponko-header .wp-block-navigation__responsive-container-open svg { display: none; }

  /* Menu open: WordPress's overlay covers the whole screen, header and all.
     The logo and Order Now are lifted above it so the top row stays put
     (both sit in the header wrapper's stacking context with the overlay),
     and the overlay's close button takes the menu button's ring in the same
     spot. The overlay pads its content 16px (24px on tablets) and the header
     20px, hence top: 4px; the right edges already line up. */
  .ponko-header .wp-block-site-logo,
  .ponko-header .wp-block-buttons { position: relative; z-index: 100001; }
  .ponko-header .wp-block-navigation__responsive-container-close {
    top: 4px;
    width: var(--ponko-tap);
    height: var(--ponko-tap);
    display: grid;
    place-items: center;
    border: 1.5px solid var(--wp--preset--color--ink);
    border-radius: 50%;
    color: var(--wp--preset--color--ink);
  }
  .ponko-header .wp-block-navigation__responsive-container-close svg { width: 20px; height: 20px; }

  /* The pill with the disc inside it, 4px from the edge. The right padding
     keeps NOW clear of the disc; the top padding drops Josefin's high-riding
     caps to the middle of the pill. */
  .ponko-header .wp-block-button__link {
    height: var(--ponko-tap);
    padding: .3em calc(var(--ponko-tap) + 6px) 0 20px;
    font-size: var(--ponko-tap-font);
    letter-spacing: .04em;
    white-space: nowrap;
  }
  .ponko-header .wp-block-button__link::after {
    right: 4px;
    width: calc(var(--ponko-tap) - 8px);
    height: calc(var(--ponko-tap) - 8px);
  }
}
@media (max-width: 389px) {
  .ponko-header { --ponko-tap: 42px; --ponko-tap-font: 13px; --ponko-logo-w: 104px; }
  .ponko-header > .wp-block-group { gap: 4px; }
  .ponko-header .wp-block-button__link { padding-left: 16px; }
}
@media (max-width: 359px) {
  .ponko-header { --ponko-tap: 40px; --ponko-tap-font: 12px; --ponko-logo-w: 90px; }
  .ponko-header .wp-block-button__link { padding-left: 14px; letter-spacing: .02em; }
}

/* order cards: narrower than the full rail, equal height, buttons on one
   baseline.
   Two gotchas here. `height: 100%` on a flex item resolves against an auto
   height parent and collapses to content height — which killed the default
   stretch. And WordPress prints its generated layout CSS inline in <head>,
   after the theme stylesheet, so matching specificity always loses; the
   blockGap margin needs !important to beat it. */
/* v2 runs the cards across the full content rail */
.ponko-paths-row {
  max-width: none;
  margin-inline: auto;
}
/* Core ships `.wp-block-columns{align-items:normal!important}` in an inline
   <style>, so !important is the only way to win this one. */
.wp-block-columns.ponko-paths-row { align-items: stretch !important; }
.ponko-path__body > .wp-block-buttons {
  margin-block-start: auto !important;
  padding-top: 1.5rem;
}

/* Phones: one Pickup card, with Delivery and Catering as a two-part bar
   across its foot — the Mobile Design frame of the Oct 11 Figma. Same three
   cards in the markup; the second and third show only their links, each
   with its icon from the store finder. Relies on the order Pickup, Delivery,
   Catering. Tablets keep the three side-by-side cards. */
@media (max-width: 599px) {
  .wp-block-columns.ponko-paths-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0 !important;
  }
  .ponko-paths-row > .ponko-path {
    margin: 0 !important;
    transform: none !important;
    box-shadow: none !important;
  }
  .ponko-paths-row > .ponko-path:first-child {
    grid-column: 1 / -1;
    border-radius: 25px 25px 0 0;
    text-align: center;
  }
  /* The column's 24px block gap would sit between photo and copy. */
  .ponko-paths-row .ponko-path__body { margin-block-start: 0 !important; }
  .ponko-path:first-child .ponko-path__body { padding: 16px 1.25rem 21px; }
  .ponko-path:first-child .ponko-kicker {
    font-size: .875rem !important;
    line-height: 1.2;
    letter-spacing: .2em;
    color: var(--wp--preset--color--ink);
  }
  .ponko-path:first-child h3 {
    font-size: 2.125rem !important;
    line-height: 1;
    margin-top: 9px !important;
  }
  .ponko-path:first-child .ponko-path__body p:not(.ponko-kicker) {
    max-width: 295px;
    margin: 6px auto 0;
    font-weight: 500;
    line-height: 1.265;
  }
  .ponko-path:first-child .ponko-path__body > .wp-block-buttons {
    justify-content: center;
    margin-block-start: 0 !important;
    padding-top: 8px;
  }
  .ponko-path:first-child .wp-block-button__link {
    height: 34px;
    padding: 4.5px 27px 0 !important;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: 0;
  }

  .ponko-paths-row > .ponko-path:not(:first-child) {
    background: var(--wp--preset--color--base);
    border: 1px solid #c7c7c7;
    border-radius: 0 0 25px 0;
  }
  .ponko-paths-row > .ponko-path:nth-child(2) { border-right: 0; border-radius: 0 0 0 25px; }
  .ponko-path:not(:first-child) .ponko-path__media,
  .ponko-path:not(:first-child) .ponko-path__body > :not(.wp-block-buttons) { display: none; }
  .ponko-path:not(:first-child) .ponko-path__body { padding: 0; }
  .ponko-path:not(:first-child) .ponko-path__body > .wp-block-buttons { padding: 0; }
  .ponko-path:not(:first-child) .wp-block-button { width: 100%; }
  .ponko-path:not(:first-child) .wp-block-button__link {
    width: 100%;
    height: 55px;
    gap: 6px;
    padding: 3px 0 0 !important;
    border-radius: 0;
    background: none;
    color: var(--wp--preset--color--ink-soft);
    font-family: var(--wp--preset--font-family--display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }
  .ponko-path:not(:first-child) .wp-block-button__link:hover { color: var(--wp--preset--color--ink); }
  .ponko-path:not(:first-child) .wp-block-button__link:focus-visible { outline-offset: -4px; }
  /* The store finder's van and cloche (ponko_service_icon()), in red. */
  .ponko-path:not(:first-child) .wp-block-button__link::before {
    content: "";
    flex: none;
    width: 28px;
    height: 28px;
    margin-top: -3px;
    background: var(--wp--preset--color--red);
    -webkit-mask: var(--ponko-icon) center / contain no-repeat;
    mask: var(--ponko-icon) center / contain no-repeat;
  }
  .ponko-path:nth-child(2) .wp-block-button__link {
    --ponko-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 8h-3V4H3a2 2 0 0 0-2 2v11h2a3 3 0 0 0 6 0h6a3 3 0 0 0 6 0h2v-5l-3-4zM6 18.5A1.5 1.5 0 1 1 7.5 17 1.5 1.5 0 0 1 6 18.5zm13.5-9 1.96 2.5H17V9.5h2.5zm-1.5 9a1.5 1.5 0 1 1 1.5-1.5 1.5 1.5 0 0 1-1.5 1.5z'/%3E%3C/svg%3E");
  }
  .ponko-path:nth-child(3) .wp-block-button__link {
    --ponko-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 17h20v2H2v-2zm11.84-9.21c.1-.24.16-.51.16-.79a2 2 0 1 0-4 0c0 .28.06.55.16.79C6.25 8.6 3.27 11.93 3 16h18c-.27-4.07-3.25-7.4-7.16-8.21z'/%3E%3C/svg%3E");
  }
}

/* ═══════════════════════════════════════════════════════════════
   LOCATIONS — store finder, result list, map, single store
   ═══════════════════════════════════════════════════════════ */

/* finder, page variant: wider and squarer than the homepage band */
.ponko-finder--page { max-width: 760px; margin-top: 2rem; border-radius: 14px; }

.ponko-locs { margin-top: 2.5rem; }
/* Order mode (from a menu Order button): the heading is hidden until its
   words are swapped, so the ordinary "Locations" never flashes up first. */
html.ponko-order:not(.ponko-order-ready) .ponko-locs-page .ponko-sec-head { visibility: hidden; }

.ponko-locs__miss {
  margin: 1rem auto 0;
  max-width: 760px;
  text-align: center;
  font-size: .95rem;
  color: var(--wp--preset--color--ink-soft);
}

.ponko-locs__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  margin: 2.25rem 0 1rem;
  padding-bottom: .9rem;
  border-bottom: 2px solid var(--wp--preset--color--gray-light);
}
.ponko-locs__count {
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--wp--preset--color--ink);
}
.ponko-locs__legend { display: flex; gap: .9rem; list-style: none; margin: 0; padding: 0; }

/* service icons */
.ponko-svc { display: grid; place-items: center; width: 26px; height: 26px; }
.ponko-svc svg { width: 20px; height: 20px; fill: var(--wp--preset--color--ink-soft); }

/* ── the split: scrolling results beside a sticky map ────────── */
.ponko-locs__split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}
.ponko-locs__list { list-style: none; margin: 0; padding: 0; }

.ponko-locs__mapwrap {
  /* Leaflet's panes sit at z-index 400+; keep them inside the map's own
     stacking context so the finder's suggestions (z-index 30) stay on top
     when the map is not sticky, below 1024px. */
  isolation: isolate;
  position: sticky;
  /* Clears the sticky header, measured rather than guessed. */
  top: calc(var(--ponko-header-h) + 1.5rem);
  border-radius: 20px;
  overflow: hidden;
  background: var(--wp--preset--color--gray-light);
}
.ponko-locs__map { height: clamp(420px, 68vh, 760px); width: 100%; }
/* the map element is itself the Leaflet container */
.ponko-locs__map.leaflet-container { font-family: var(--wp--preset--font-family--body); }
.ponko-locs__map .leaflet-control-attribution a { color: var(--wp--preset--color--ink-soft); }
.ponko-locs__map .leaflet-bar a {
  font-family: var(--wp--preset--font-family--display);
  color: var(--wp--preset--color--ink);
}
.ponko-locs__mapwrap:has(.ponko-locs__map:focus-visible) {
  outline: 3px solid var(--wp--preset--color--ink);
  outline-offset: 3px;
}

/* ── a result card ──────────────────────────────────────────── */
.ponko-loc {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--wp--preset--color--gray-light);
  cursor: pointer;
  scroll-margin-top: 1.5rem;
}
.ponko-loc:first-child { padding-top: .5rem; }
.ponko-loc:focus-visible { outline: 3px solid var(--wp--preset--color--red); outline-offset: 4px; }
.ponko-loc.is-active { background: var(--wp--preset--color--cream); }
.ponko-loc.is-active .ponko-loc__pin { background: var(--wp--preset--color--ink); }

/* lettered marker, matching the map pins */
.ponko-loc__pin {
  margin: 0;
  width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center;
  /* Josefin's capitals ride ~2px high on a centred line; extra room on top
     brings the letter to the middle of the disc. */
  box-sizing: border-box;
  padding-top: 4.5px;
  border-radius: 50%;
  background: var(--wp--preset--color--red);
  color: #fff;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700; font-size: .9rem; line-height: 1;
}

.ponko-loc__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.ponko-loc__name {
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700; font-size: 1.3rem; line-height: 1.1;
  letter-spacing: -.005em;
  text-transform: uppercase;
}
.ponko-loc__name a { color: var(--wp--preset--color--ink); text-decoration: none; }
.ponko-loc__name a:hover { color: var(--wp--preset--color--red); }
.ponko-loc__dist {
  margin: 0; flex: none;
  font-size: .82rem; font-weight: 700;
  color: var(--wp--preset--color--ink-soft);
  white-space: nowrap;
}

.ponko-loc__addr {
  margin: .4rem 0 0;
  font-size: .95rem;
  color: var(--wp--preset--color--ink-soft);
}

.ponko-loc__status {
  margin: .45rem 0 0;
  font-size: .9rem; font-weight: 600;
  color: var(--wp--preset--color--ink-soft);
}
/* set by locations-map.js once it knows the time in the store's timezone */
.ponko-loc__status.is-open, .ponko-store__status.is-open { color: #1d7a34; }
.ponko-loc__status.is-shut, .ponko-store__status.is-shut { color: var(--wp--preset--color--ink-soft); }
.ponko-loc__status.is-flag, .ponko-store__status.is-flag {
  color: var(--ponko-red-text); text-transform: uppercase;
  letter-spacing: .1em; font-size: .78rem; font-weight: 700;
}
.ponko-loc__note {
  margin: .35rem 0 0;
  font-size: .85rem;
  color: var(--ponko-red-text);
}

.ponko-loc__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: .7rem 0 0; }
.ponko-loc__link {
  font-size: .85rem; font-weight: 700;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--wp--preset--color--red);
  padding-bottom: 1px;
}
.ponko-loc__link:hover { color: var(--wp--preset--color--red); }

.ponko-loc__actions { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.ponko-loc__details {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
}
.ponko-loc__details:hover { color: var(--wp--preset--color--red); }
.ponko-loc__order { font-size: .8rem !important; padding: .85rem 1.5rem .6rem !important; }
/* Catering joins Order now only on the order path (Order buttons land on ?order=1) */
.ponko-loc__cater.is-ponko-ink { background: var(--wp--preset--color--ink); color: #fff; }
html:not(.ponko-order) .ponko-loc__cater { display: none; }

.ponko-loc__svc { display: flex; gap: .7rem; list-style: none; margin: .9rem 0 0; padding: 0; }

/* closed and not-yet-open stores read as secondary */
.ponko-loc.is-closed .ponko-loc__pin,
.ponko-loc.is-coming-soon .ponko-loc__pin { background: var(--wp--preset--color--gray); }

/* ── map pins ───────────────────────────────────────────────── */
/* Teardrop built from a rotated square plus a circle so the pin needs no
   image request and inherits the brand red. */
.ponko-pin { background: none; border: 0; }
.ponko-pin span {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  /* three round corners and one square one makes the teardrop point, so the
     pin needs no image request and inherits the brand red */
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--wp--preset--color--red);
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  color: #fff;
}
/* the wrapper is rotated to form the point, so the letter rotates back */
.ponko-pin b {
  transform: rotate(45deg);
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700; font-size: .85rem; line-height: 1;
}
.ponko-pin-origin { fill: var(--wp--preset--color--ink); stroke: #fff; stroke-width: 3; }

.leaflet-popup-content { font-family: var(--wp--preset--font-family--body); font-size: .9rem; }
.leaflet-popup-content a { color: var(--wp--preset--color--red); }

/* ── single store ───────────────────────────────────────────── */
.ponko-store__head { text-align: center; max-width: 760px; margin: 0 auto; }
.ponko-store__name {
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: var(--wp--preset--font-size--display);
  line-height: 1.02; letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink);
}
/* The "PONKO Chicken" kicker inside the store heading: the same line height
   and gap it had as a separate line above it. */
.ponko-store__name .ponko-kicker { line-height: 1.6; margin-bottom: .4rem; }
.ponko-store__addr { margin: .9rem 0 0; font-size: 1.05rem; color: var(--wp--preset--color--ink-soft); }
.ponko-store__status { margin: .5rem 0 0; font-weight: 700; }
.ponko-store__note { margin: .5rem 0 0; color: var(--ponko-red-text); font-size: .9rem; }
.ponko-store__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.ponko-store__cta .wp-element-button.is-ponko-ink { background: var(--wp--preset--color--ink); color: #fff; }
.ponko-store__cta .wp-element-button.is-ponko-outline {
  background: transparent;
  color: var(--wp--preset--color--ink);
  box-shadow: inset 0 0 0 2px var(--wp--preset--color--ink);
}

/* Hours and contact read as narrow columns; the map earns the extra width.
   Contact never goes narrower than its longest address and icon
   (cater.alpharetta@… needs 63px more than its share at 1024); hours keep
   their .8 of the 3.7 shares (5rem = the two gaps), so only the map gives
   way and the hours wrap exactly as they did. */
.ponko-store__grid {
  display: grid;
  grid-template-columns: minmax(170px, calc((100% - 5rem) * .8 / 3.7)) minmax(min-content, 1fr) minmax(0, 1.9fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}
.ponko-store__panel--map .ponko-locs__map {
  height: clamp(300px, 42vh, 460px);
  border-radius: 20px; overflow: hidden;
}
.ponko-store__h {
  margin: 0 0 .9rem;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 700; font-size: .72rem;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--wp--preset--color--ink);
}
.ponko-store__panel .ponko-store__h:not(:first-child) { margin-top: 2rem; }

.ponko-store__hours { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.25rem; margin: 0; }
.ponko-store__hours dt { font-weight: 700; font-size: .92rem; color: var(--wp--preset--color--ink); }
.ponko-store__hours dd { margin: 0; font-size: .92rem; color: var(--wp--preset--color--ink-soft); }

.ponko-store__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
/* A red phone / envelope icon beside each value, as on the catering cards;
   the Catering label keeps its own line above its address. */
.ponko-store__contact li { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .6rem; }
.ponko-store__contact .ponko-store__lbl { grid-column: 1 / -1; }
.ponko-store__contact .ponko-ico { width: 18px; height: 18px; color: var(--wp--preset--color--red); }
/* 320px phones: a smaller icon and gap keep cater.alpharetta@ponkochicken.com
   on one line. */
@media (max-width: 359px) {
  .ponko-store__contact li { column-gap: .45rem; }
  .ponko-store__contact .ponko-ico { width: 15px; height: 15px; }
}
.ponko-store__contact a { color: var(--wp--preset--color--ink); text-decoration: none; border-bottom: 2px solid var(--wp--preset--color--red); }
.ponko-store__contact a:hover { color: var(--wp--preset--color--red); }
.ponko-store__lbl {
  display: block; font-size: .7rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--wp--preset--color--ink-soft);
}
.ponko-store__partners { margin: 0; font-size: .92rem; color: var(--wp--preset--color--ink-soft); }
.ponko-store__muted { margin: 0; font-size: .92rem; color: var(--wp--preset--color--ink-soft); }
/* Each sentence on one line where the page is wide enough (PONKO, 2026-11-18).
   A sentence longer than the page, like Chamblee's, breaks into two even lines. */
.ponko-store__blurb { margin: 3rem auto 0; text-align: center; font-size: 1.05rem; line-height: 1.75; text-wrap: balance; }
/* A line's break between the description and the franchise sentence. */
.ponko-store__blurb + .ponko-store__blurb { margin-top: var(--wp--style--block-gap, 1.5rem); }
.ponko-store__back { text-align: center; margin-top: 3rem; }
.ponko-store__back a {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--wp--preset--color--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--wp--preset--color--red);
  padding-bottom: .3rem;
}
/* The class keeps the running-text link underline off it: one red rule, not two. */
.ponko-store__back a:hover { color: var(--ponko-red-text); text-decoration: none; }

/* ── store specials (inc/specials.php) ────────────────────────
   Under the store details, on a cream panel: up to three cards across, the
   same card as the menu's. A lone special lies on its side, photo left. */
.ponko-specials {
  margin-top: 3.5rem;
  padding: 2.4rem clamp(1.1rem, 3vw, 2.5rem) 2.6rem;
  background: var(--wp--preset--color--cream);
  border-radius: 24px;
  text-align: center;
}
.ponko-specials__title {
  margin: .4rem 0 0;
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink);
}
.ponko-specials__list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(240px, calc((100% - 2.5rem) / 3)), 1fr));
  gap: 1.25rem;
  text-align: left;
}
.ponko-special {
  display: flex;
  flex-direction: column;
  background: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--gray);
  border-radius: 14px;
  overflow: hidden;
}
.ponko-special__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.ponko-special__body { padding: 1.1rem 1.2rem 1.3rem; }
.ponko-special__name {
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.2;
  text-transform: none;
}
.ponko-special__when {
  margin: .4rem 0 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ponko-red-text);
}
.ponko-special__desc { margin-top: .6rem; font-size: .92rem; line-height: 1.55; color: var(--wp--preset--color--ink-soft); }
.ponko-special__desc p { margin: 0 0 .5em; }
.ponko-special__desc p:last-child { margin-bottom: 0; }
@media (min-width: 782px) {
  .ponko-specials__list:has(> .ponko-special:only-child) { grid-template-columns: minmax(0, 760px); justify-content: center; }
  .ponko-special:only-child:has(.ponko-special__media) { flex-direction: row; }
  .ponko-special:only-child .ponko-special__media { flex: 0 0 46%; }
  .ponko-special:only-child .ponko-special__media img { height: 100%; }
  .ponko-special:only-child .ponko-special__body { align-self: center; padding: 1.6rem 1.8rem; }
}
/* No photo (option B, picked 2026-10-24): a red bar across the top, the
   PONKO bird above a bigger name, and the text centred in the height its
   row gives it, so it sits evenly beside photo cards. A lone one centres. */
.ponko-special--nophoto::before { content: ''; flex: 0 0 6px; background: var(--wp--preset--color--red); }
.ponko-special--nophoto .ponko-special__body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 1.6rem 1.5rem 1.7rem; }
.ponko-special--nophoto .ponko-special__body::before { content: ''; width: 46px; height: 46px; margin-bottom: .9rem; background: url(assets/images/v2-mark.png) center / contain no-repeat; }
.ponko-special--nophoto .ponko-special__name { font-size: 1.5rem; }
@media (min-width: 782px) {
  .ponko-special--nophoto:only-child .ponko-special__body { align-items: center; text-align: center; padding: 2.2rem 2.5rem; }
}

/* ── desktop: the split view (not in use) ─────────────────────
   The client's mock-up ("locations Example Desktop Map", 2026-10-15):
   heading, finder, key and a scrolling list in a panel down the left; the
   map fills the rest of the window, from the header to the bottom edge and
   out to the right edge. .ponko-locs and its split step aside (display:
   contents) so their parts sit on the page group's own grid.
   On 2026-10-20 PONKO chose the classic layout instead (the list beside a
   sticky map, above), and /locations/ carries .ponko-locs-page--classic,
   which these rules skip. Kept so the page can switch back by dropping
   that class. */
@media (min-width: 1100px) {
  .entry-content > .ponko-locs-page:not(.ponko-locs-page--classic) {
    --ponko-panel-pad: clamp(1.5rem, 3.5vw, 3.5rem);
    display: grid;
    grid-template-columns: clamp(400px, 31vw, 480px) minmax(0, 1fr);
    /* head, finder, the "could not place" note, count and key, list */
    grid-template-rows: auto auto auto auto minmax(0, 1fr);
    height: calc(100vh - var(--ponko-header-h));
    height: calc(100dvh - var(--ponko-header-h));
    max-width: none;
    margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
    margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
    padding: 0 !important;
  }
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-locs,
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-locs__split { display: contents; }
  .ponko-locs-page:not(.ponko-locs-page--classic) > .ponko-sec-head,
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-finder--page,
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-locs__miss,
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-locs__bar {
    grid-column: 1;
    max-width: none;
    margin-left: var(--ponko-panel-pad) !important;
    margin-right: 1.75rem !important;
  }
  .ponko-locs-page:not(.ponko-locs-page--classic) > .ponko-sec-head { padding-top: 1.75rem; }
  .ponko-locs-page:not(.ponko-locs-page--classic) > .ponko-sec-head :is(p, h1) { text-align: left !important; }
  .ponko-locs-page:not(.ponko-locs-page--classic) > .ponko-sec-head h1 { font-size: clamp(2.5rem, 3.2vw, 3.25rem) !important; }
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-finder--page { margin-top: 1.25rem; }
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-locs__miss { text-align: left; }
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-locs__bar {
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    margin-top: 1.25rem;
    margin-bottom: 0;
  }
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-locs__legend { flex-wrap: wrap; row-gap: .25rem; }
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-locs__list {
    /* Relative so the cards' absolutely placed screen-reader labels are
       clipped by this scroller. Without it they were placed against the page
       group instead, at the foot of the unscrolled list, and left ~800px of
       blank page below the footer. */
    position: relative;
    grid-column: 1;
    grid-row: -2 / -1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin-left: var(--ponko-panel-pad);
    padding-right: 1.75rem;
  }
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-locs__mapwrap {
    grid-column: 2;
    grid-row: 1 / -1;
    position: relative;
    top: auto;
    border-radius: 0;
  }
  .ponko-locs-page:not(.ponko-locs-page--classic) .ponko-locs__map { height: 100%; }
}

/* ── narrow screens ─────────────────────────────────────────── */
@media (max-width: 1023px) {
  /* Map above the list rather than beside it: a sticky half-width map has
     nowhere to go once the columns collapse. */
  .ponko-locs__split { grid-template-columns: 1fr; gap: 1.75rem; }
  .ponko-locs__mapwrap { position: static; order: -1; }
  .ponko-locs__map { height: clamp(280px, 42vh, 380px); }
  /* Two columns of details, map full width beneath them. */
  .ponko-store__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ponko-store__panel--map { grid-column: 1 / -1; }
}

/* ── the drawer finder (see ponko_locations_drawer_head) ──
   The class is set below 1100px only. Without it the sheet wrapper steps
   aside and its head stays hidden, so the desktop page lays out exactly
   as above. */
.ponko-locs__sheet { display: contents; }
.ponko-locs__sheethead { display: none; }

/* "Select a location" over the list, which now says what it is for, and
   each store as its own bordered card, so the list reads as choices. */
html.ponko-finder-next .ponko-locs__count { display: none; }
html.ponko-finder-next .ponko-locs__bar { margin-top: 1rem; }
html.ponko-finder-next .ponko-locs__sheethead { display: block; }
html.ponko-finder-next .ponko-locs__grip { display: none; }
.ponko-locs__pick {
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700; font-size: 1.45rem; line-height: 1.1;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink);
}
.ponko-locs__pickcount { margin: .3rem 0 0; font-size: .85rem; color: var(--wp--preset--color--ink-soft); }
html.ponko-finder-next .ponko-locs__list { display: grid; gap: .75rem; padding-top: 1rem; }
html.ponko-finder-next .ponko-loc,
html.ponko-finder-next .ponko-loc:first-child {
  padding: 1.15rem 1.15rem 1.15rem 1rem;
  border: 1px solid var(--wp--preset--color--gray);
  border-radius: 14px;
  background: var(--wp--preset--color--base);
  scroll-margin-top: .75rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
html.ponko-finder-next .ponko-loc:hover { border-color: var(--wp--preset--color--ink-soft); }
/* The picked store: a red ring (a shadow, so nothing moves) and a dark pin,
   matching its pin on the map. */
html.ponko-finder-next .ponko-loc.is-active {
  border-color: var(--wp--preset--color--red);
  box-shadow: 0 0 0 1px var(--wp--preset--color--red);
  background: var(--wp--preset--color--base);
}
/* "Nearest to you" on the store picked after a search. Hidden if a tablet
   is turned past 1100px afterwards, back to the desktop list. */
html:not(.ponko-finder-next) .ponko-loc__tag { display: none; }
.ponko-loc__tag {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0 0 .7rem;
  padding: .38rem .7rem .28rem;
  border-radius: 999px;
  background: var(--wp--preset--color--red);
  color: #fff;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700; font-size: .66rem; line-height: 1;
  letter-spacing: .14em; text-transform: uppercase;
}

/* Phones and tablets: the map fills the screen under the header and the
   list is a drawer over it, like the big chains' store finders. It rests
   at a peek showing one store, drags or taps open to the full list, and
   down to just its header to see the whole map. Picking a store drops it
   back to the peek, so the map moving is always in view. */
@media (max-width: 1099px) {
  html.ponko-finder-next .ponko-locs__split {
    display: block;
    position: relative;
    height: calc(100vh - var(--ponko-header-h));
    /* The small viewport: fits with the browser's bars showing, and does not
       resize (and jolt the drawer) as they slide away on scroll. */
    height: calc(100svh - var(--ponko-header-h));
    margin-top: 1.25rem;
    margin-inline: calc(50% - 50vw);
    /* clip, not just hidden: a focused card or scrollIntoView must not be
       able to scroll this box and knock the drawer out of line. */
    overflow: hidden;
    overflow: clip;
    isolation: isolate;
  }
  html.ponko-finder-next .ponko-locs__mapwrap {
    position: absolute; inset: 0;
    z-index: 0;
    border-radius: 0;
  }
  html.ponko-finder-next .ponko-locs__map { height: 100%; }
  html.ponko-finder-next .ponko-locs__sheet {
    position: absolute; z-index: 1;
    /* Fully open, a strip of map still shows above it. */
    top: 3.5rem; left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column;
    background: var(--wp--preset--color--base);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -6px 26px rgba(35, 31, 32, .2);
    transform: translateY(var(--ponko-sheet-y, 0px));
  }
  html.ponko-finder-next .ponko-locs__sheet.is-settling { transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
  html.ponko-finder-next .ponko-locs__sheethead {
    flex: none;
    position: relative;
    padding: 1.45rem 1.25rem .8rem;
    border-bottom: 1px solid var(--wp--preset--color--gray-light);
    touch-action: none;
    cursor: grab;
    user-select: none; -webkit-user-select: none;
  }
  html.ponko-finder-next .ponko-locs__pick { font-size: 1.2rem; }
  html.ponko-finder-next .ponko-locs__pickcount { font-size: .8rem; }
  /* The whole head is the handle: a tap opens or closes the list. */
  html.ponko-finder-next .ponko-locs__grip {
    display: block;
    position: absolute; inset: 0;
    width: 100%;
    margin: 0; padding: 0;
    background: none; border: 0; border-radius: 20px 20px 0 0;
    cursor: inherit;
  }
  html.ponko-finder-next .ponko-locs__grip::before {
    content: "";
    position: absolute; top: .6rem; left: 50%;
    width: 2.75rem; height: 5px; margin-left: -1.375rem;
    border-radius: 3px;
    background: var(--wp--preset--color--gray);
  }
  html.ponko-finder-next .ponko-locs__grip:focus-visible { outline: 3px solid var(--wp--preset--color--ink); outline-offset: -3px; }
  html.ponko-finder-next .ponko-locs__list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: .9rem 1rem 1.5rem;
  }
  /* Until the drawer is open, a swipe on the list moves the drawer. */
  html.ponko-finder-next .ponko-locs__sheet:not(.is-full) .ponko-locs__list { overflow: hidden; touch-action: none; }
  /* Tablets: a floating panel down the left rather than a full-width sheet. */
  @media (min-width: 700px) {
    html.ponko-finder-next .ponko-locs__sheet { left: 1rem; right: auto; width: min(440px, calc(100% - 2rem)); }
  }
}
@media (max-width: 1099px) and (prefers-reduced-motion: reduce) {
  html.ponko-finder-next .ponko-locs__sheet.is-settling { transition: none; }
}

@media (max-width: 600px) {
  .ponko-loc { grid-template-columns: 1.9rem minmax(0, 1fr); gap: 0 .75rem; }
  .ponko-loc__pin { width: 1.7rem; height: 1.7rem; font-size: .78rem; padding-top: 3.5px; }
  .ponko-loc__head { flex-direction: column; gap: .2rem; align-items: flex-start; }
  .ponko-locs__bar { margin-top: 1.5rem; }
  .ponko-store__grid { grid-template-columns: 1fr; }
  .ponko-store__cta .wp-element-button { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   INNER PAGES — food truck, catering, press, rice bran oil & halal,
   accessibility, privacy, plus the sections added to About, Contact
   and the homepage. Built from the homepage's own pieces: the same
   kicker, section head, cream card and split. Nothing here restyles
   an existing component; every rule is scoped to a new class.
   ═══════════════════════════════════════════════════════════ */

/* Section ledes on these pages run longer than the homepage's one-liners, and
   a centred line 1240px long is unreadable. Capped and centred; the homepage
   heads are untouched because they don't carry these section classes. */
.ponko-page-head .ponko-sec-head > p:not(.ponko-kicker),
.ponko-cater-section .ponko-sec-head > p:not(.ponko-kicker),
.ponko-truck-menu .ponko-sec-head > p:not(.ponko-kicker),
.ponko-cross > p:not(.ponko-kicker) {
  max-width: 40rem;
  margin-inline: auto;
}

/* A split's H1 — the food truck hero — sized a step up from its H2s. */
.ponko-split h1 { font-size: var(--wp--preset--font-size--display) !important; line-height: 1; }
/* The Awards page's H1 is the Press page's Awards H2, moved up a level for
   the page outline only: it keeps the H2's size, not the hero split's. */
.ponko-awards-band .ponko-split h1 { font-size: clamp(2.4rem, 3.6vw, 3.4rem) !important; line-height: 1.02; }

/* Section label with a hairline under it, for long pages that need wayfinding
   more than they need another big centred head. */
.ponko-h-rule {
  font-size: 1.6rem !important;
  margin: 0 0 1.75rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--wp--preset--color--gray-light);
}

/* ── video grid ─────────────────────────────────────────────── */
.ponko-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.5rem;
}
.ponko-video-grid > * { margin: 0 !important; }
.wp-block-video video {
  /* the homepage's photo placeholder grey, not a black box */
  background: var(--wp--preset--color--gray-light);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 14px;
  background: var(--wp--preset--color--ink);
  display: block;
}
.wp-block-video figcaption {
  margin: .7rem 0 0;
  text-align: left;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--wp--preset--color--ink-soft);
}
/* The rice bran slideshow is portrait; let it be. */
.ponko-benefits__video video {
  aspect-ratio: auto;
  width: auto;
  max-width: 100%;
  max-height: 520px;
  /* right edge on the content rail, like the page's other media */
  margin-inline: auto 0;
}

/* ── press: print & online ──────────────────────────────────── */
.ponko-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.ponko-story {
  background: var(--wp--preset--color--cream);
  border-radius: 18px;
  padding: 1.75rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
}
.ponko-story__logo { margin: 0 0 1.4rem !important; height: 44px; display: flex; align-items: center; }
.ponko-story__logo img { max-height: 44px; width: auto; max-width: 100%; }
.ponko-story__title {
  font-size: 1.3rem !important;
  line-height: 1.25;
  text-transform: none !important;
  margin: 0 0 .75rem;
}
.ponko-story__title a { color: var(--wp--preset--color--ink); }
.ponko-story__title a:hover { color: var(--wp--preset--color--red); text-decoration: none; }
.ponko-story__title a::after { content: " ↗"; color: var(--wp--preset--color--red); }
.ponko-story__by {
  margin-top: auto !important;
  padding-top: 1rem;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink-soft);
}

/* ── quote cards: press fans, homepage reviews ──────────────── */
.ponko-quote-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: var(--wp--preset--spacing--40);
}
.ponko-quote-card {
  flex: 0 1 calc((100% - 3rem) / 3);
  margin: 0 !important;
  border: 0 !important;
  border-radius: 18px;
  padding: 1.75rem 1.6rem 1.6rem !important;
  background: var(--wp--preset--color--cream);
  display: flex;
  flex-direction: column;
}
.ponko-reviews .ponko-quote-card { background: var(--wp--preset--color--base); }
.ponko-quote-card::before {
  content: "\201C";
  display: block;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: 4rem;
  line-height: .7;
  height: 1.8rem;
  color: var(--wp--preset--color--red);
}
.ponko-quote-card p { font-size: 1.02rem; line-height: 1.6; margin: .6rem 0 0; color: var(--wp--preset--color--ink); }
/* The press page's fan quotes go without the red mark. */
.ponko-fans .ponko-quote-card::before { content: none; }
.ponko-fans .ponko-quote-card p { margin-top: 0; }
/* Editor only: an empty review card says what it's for, since the site
   leaves it off (ponko_empty_review_card). WordPress shows no placeholder
   here, even with the block's own placeholder set. Gone once clicked into. */
.ponko-quote-card .block-editor-block-list__block[data-empty="true"]:not(:focus)::before {
  content: "Type a fan review here. Until a card has one, this section stays hidden on the site.";
  font-style: italic;
  color: var(--wp--preset--color--ink-soft);
}
.ponko-quote-card cite,
.ponko-bigquote cite {
  display: block;
  margin-top: auto;
  padding-top: 1.1rem;
  font-style: normal;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink-soft);
}
/* The catering page's single big quote. No decorative glyph: the band is
   labelled with a kicker instead, and the quote carries its own marks. */
.ponko-bigquote {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 auto !important;
  text-align: center;
}
.ponko-bigquote p {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.25;
  color: var(--wp--preset--color--ink);
  margin: .5rem 0 0;
}
/* The band's "What They're Saying" kicker is red, in the darker text red:
   brand red is 4:1 on cream, short of the 4.5:1 small type needs (this is
   5.3:1). The quote band only appears on the catering page. */
.ponko-quote-band .ponko-kicker { color: var(--ponko-red-text); }

/* ── awards ─────────────────────────────────────────────────── */
.ponko-awards-art { margin: 0; }
.ponko-awards-art img { width: 100%; height: auto; }
/* Awards page top (PONKO, 2026-11-05): each award on one line, and the
   circles as big as the room left over. The band widens to the 1240px site
   rail, the text column takes the list's own width (the H1 wraps to fit and
   doesn't count), and the circles take the rest. Below 1100px there isn't
   room for both, so it keeps the 46/54 split and the awards wrap. The Press
   page's copy of the band doesn't have the class. */
@media (min-width: 1100px) {
  .ponko-awards-top { --wp--style--global--content-size: 1240px; }
  .ponko-awards-top > .wp-block-column:first-child { flex: 1 1 0 !important; min-width: 0; }
  .ponko-awards-top > .wp-block-column:last-child { flex: 0 1 auto !important; width: max-content; max-width: 60%; }
  .ponko-awards-top h1 { contain: inline-size; }
}
/* PONKO's "Awards Won" list (2026-11-04): who gave it in bold, a red bar,
   then the awards, lined up like the table PONKO sent. Subgrid keeps every
   bar in one line, at the width of the longest name. Phones stack the name
   over its awards. */
.ponko-awards-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: max-content 1fr; }
.ponko-awards-list li {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  margin: 0;
  padding: .45rem 0;
  line-height: 1.5;
  font-size: 1.02rem;
  border-bottom: 1px solid rgba(35, 31, 32, .1);
}
.ponko-awards-list li:last-child { border-bottom: 0; }
.ponko-awards-list li strong { font-weight: 600; padding-right: .9rem; margin-right: .9rem; border-right: 2px solid var(--wp--preset--color--red); }
@media (max-width: 599px) {
  .ponko-awards-list { display: block; }
  .ponko-awards-list li { display: block; padding: .6rem 0; }
  .ponko-awards-list li strong { display: block; padding: 0; margin: 0 0 .1rem; border-right: 0; }
}
/* The awards wall: every ribbon on the dark band, the award in bold and who
   gave it underneath. Five across on desktop (three even rows of 15 since
   2026-11-04; it was six), four on tablets, three on phones; a short last
   row sits centred. */
.ponko-awards-wall__grid { margin-top: var(--wp--preset--spacing--60); gap: 2rem 1.25rem; }
/* top-aligned, so the ribbons line up whatever their caption length (the
   flex layout's own default is centred) */
.ponko-awards-wall .ponko-awards-wall__grid { align-items: flex-start; }
.ponko-awards-wall__grid > .wp-block-image { flex: 0 0 calc((100% - 4 * 1.25rem) / 5); margin: 0; text-align: center; }
.ponko-awards-wall__grid > .wp-block-image img { width: 78%; max-width: 150px; height: auto; margin: 0 auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .35)); }
.ponko-awards-wall__grid > .wp-block-image figcaption { margin: .8rem 0 0; font-size: .8rem; line-height: 1.3; color: var(--wp--preset--color--gray); text-align: center; }
.ponko-awards-wall__grid > .wp-block-image figcaption strong {
  display: block;
  margin-bottom: .3rem;
  font-family: var(--wp--preset--font-family--display);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
}
@media (max-width: 1099px) {
  .ponko-awards-wall__grid > .wp-block-image { flex-basis: calc((100% - 3 * 1.25rem) / 4); }
}
@media (max-width: 781px) {
  .ponko-awards-wall__grid { gap: 1.6rem .9rem; }
  .ponko-awards-wall__grid > .wp-block-image { flex-basis: calc((100% - 2 * .9rem) / 3); }
  .ponko-awards-wall__grid > .wp-block-image img { width: 92%; }
  .ponko-awards-wall__grid > .wp-block-image figcaption { font-size: .75rem; }
  .ponko-awards-wall__grid > .wp-block-image figcaption strong { font-size: .8rem; }
}

/* ── catering: one card per store ───────────────────────────── */
.ponko-cater {
  list-style: none;
  margin: var(--wp--preset--spacing--40) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.ponko-cater__card {
  background: var(--wp--preset--color--cream);
  border-radius: 18px;
  padding: 1.75rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
}
/* Cards in a row share three rows: name + address, contact, button. A store
   name that wraps (Marietta Square Market) makes its whole row taller, so the
   rule above CALL / EMAIL and the buttons line up across the row instead of
   stepping down in that one card. Older browsers keep the flex column. */
@supports (grid-template-rows: subgrid) {
  .ponko-cater__card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; }
}
.ponko-cater__name {
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.75rem !important;
  margin: 0;
}
.ponko-cater__addr { margin: .45rem 0 0; font-size: .92rem; line-height: 1.5; color: var(--wp--preset--color--ink-soft); }
.ponko-cater__cta { margin: auto 0 0; padding-top: 1.5rem; }
.ponko-cater__cta .wp-element-button { padding-top: 1.02rem; padding-bottom: .71rem; }
.ponko-cater__contact {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid rgba(35, 31, 32, .12);
  display: grid;
  gap: .85rem;
}
/* A red phone / envelope icon beside the value. Below 390px the icon and gap
   shrink so cater.alpharetta@ponkochicken.com stays on one line; below 360px
   the icon moves above the address, which then gets the card's full width. */
.ponko-cater__contact li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; min-width: 0; }
.ponko-cater__contact .ponko-ico { width: 18px; height: 18px; color: var(--wp--preset--color--red); }
.ponko-cater__contact .ponko-ob { min-width: 0; overflow-wrap: anywhere; } /* last resort for a longer address */
@media (max-width: 389px) {
  .ponko-cater__card { padding-inline: 1.35rem; }
  .ponko-cater__contact li { gap: .45rem; }
  .ponko-cater__contact .ponko-ico { width: 15px; height: 15px; }
}
/* 320px phones: a little less padding and type keeps the longest address on
   one line there too. */
@media (max-width: 359px) {
  .ponko-cater__card { padding-inline: 1.25rem; }
  .ponko-cater__contact li { flex-direction: column; align-items: flex-start; gap: .3rem; font-size: .9rem; }
}

/* Phone and envelope icons, drawn in the text colour. Used on the catering
   cards, and before "Call" on tel: buttons and lines (ponko_call_icon()). */
.ponko-ico {
  display: inline-block;
  flex: none;
  width: 1.1em;
  height: 1.1em;
  background: currentColor;
  -webkit-mask: var(--ponko-icon) center / contain no-repeat;
  mask: var(--ponko-icon) center / contain no-repeat;
}
.ponko-ico--phone {
  --ponko-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56a.977.977 0 0 0-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
}
.ponko-ico--mail {
  --ponko-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}
.wp-element-button .ponko-ico { width: 1.05em; height: 1.05em; margin-right: .45em; vertical-align: -.15em; }
p > .ponko-ico { margin-right: .3em; vertical-align: -.18em; color: var(--wp--preset--color--red); }
/* [ponko_email icon="1"] and [ponko_phone icon="1"] (the Contact page): the
   icon and its address stay together on one line. */
.ponko-with-ico { white-space: nowrap; }
.ponko-with-ico .ponko-ico { margin-right: .4em; vertical-align: -.18em; color: var(--wp--preset--color--red); }

/* Obfuscated email/phone links — ink with a red rule, as on the store pages,
   wherever the new pages show contact details on a light background. */
.ponko-cater .ponko-ob a,
.ponko-prose .ponko-ob a,
.ponko-media-contact .ponko-ob a {
  color: var(--wp--preset--color--ink);
  border-bottom: 2px solid var(--wp--preset--color--red);
  text-decoration: none;
}
.ponko-cater .ponko-ob a:hover,
.ponko-prose .ponko-ob a:hover,
.ponko-media-contact .ponko-ob a:hover { color: var(--wp--preset--color--red); }
/* Catering cards: twelve ruled lines in two rows of cards read as clutter, so
   the rule waits for hover or keyboard focus. Transparent rather than removed,
   so nothing shifts when it appears; the CALL / EMAIL label and the heavier
   ink weight still mark the text as something to tap. */
.ponko-cater .ponko-ob a {
  font-weight: 600;
  border-bottom-color: transparent;
}
.ponko-cater .ponko-ob a:is(:hover, :focus-visible) { border-bottom-color: var(--wp--preset--color--red); }

/* ── food truck ─────────────────────────────────────────────── */
.ponko-truck-art { margin: var(--wp--preset--spacing--40) auto 0 !important; }
.ponko-truck-art img { width: min(720px, 100%); height: auto; }
.ponko-pills {
  list-style: none;
  padding: 0;
  margin: 2.25rem auto 0 !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .6rem;
}
.ponko-pills li {
  background: var(--wp--preset--color--base);
  border-radius: 999px;
  padding: .75rem 1.25rem .55rem;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.wp-block-columns.ponko-steps__row { align-items: stretch !important; }
.ponko-step {
  background: var(--wp--preset--color--cream);
  border-radius: 18px;
  padding: 1.75rem 1.6rem 1.8rem !important;
}
.ponko-step > * { margin: 0; }
.ponko-step__num {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--wp--preset--color--red);
  margin-bottom: .9rem !important;
}
.ponko-step h3 { margin-bottom: .5rem !important; }

/* ink band: the kicker would vanish in ink. Red on ink only reaches 3.7:1 at
   kicker size, so it goes cream. */
.ponko-dark-band .ponko-kicker { color: var(--wp--preset--color--cream); }
.ponko-dark-band__contact { font-size: 1.25rem; font-weight: 600; }
.ponko-dark-band .ponko-ob a {
  color: var(--wp--preset--color--base);
  text-decoration: none;
  border-bottom: 2px solid var(--wp--preset--color--red);
}
.ponko-dark-band .ponko-ob a:hover { color: var(--wp--preset--color--red); }

/* ── rice bran oil & halal ──────────────────────────────────── */
.ponko-checks {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem 1.5rem;
}
.ponko-checks li { position: relative; padding-left: 2rem; font-weight: 600; line-height: 1.4; }
.ponko-checks li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: .02em;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .72rem;
  background: var(--wp--preset--color--red);
  color: var(--wp--preset--color--base);
}
.ponko-source { font-size: .8rem !important; margin-top: 1.4rem !important; }

/* ── about: photo slots ─────────────────────────────────────────
   A wide banner under the title and a portrait beside The PONKO Story. The
   crop is set here, so any photo dropped in takes the same shape. Since
   2026-10-20 the banner is a row of photos (.ponko-marquee, below); these
   single-image rules only apply if it goes back to one image. */
.ponko-about-banner { margin-block: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40) !important; }
figure.ponko-about-banner img { display: block; width: 100%; aspect-ratio: 12 / 5; object-fit: cover; border-radius: 24px; }
.ponko-about-story__media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 24px; }
/* Full width (2026-10-18): edge to edge, so square corners, and capped so a
   wide window doesn't make it a wall. The default page template keeps its
   content in a 1240px column with nothing for "full" to break out to, so
   the banner spans the window itself; .wp-site-blocks clips the few pixels
   a desktop scrollbar adds to 100vw. */
.entry-content > .ponko-about-banner.alignfull {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
figure.ponko-about-banner.alignfull img { border-radius: 0; max-height: 560px; }
@media (max-width: 600px) {
  figure.ponko-about-banner img { aspect-ratio: 16 / 9; border-radius: 18px; }
  .ponko-about-story__media img { aspect-ratio: 4 / 3; border-radius: 18px; }
}

/* The About banner as a row of photos, all one height, drifting left on a
   loop (assets/js/marquee.js adds the track, the repeat and the pause
   button). Square corners and no gaps, so the photos butt up against each
   other (2026-10-20). Before the script runs, and if it never does, the
   photos still sit in one row. */
.ponko-marquee {
  --ponko-marquee-h: clamp(220px, 30vw, 420px);
  position: relative;
  display: flex;
  overflow: hidden;
}
.ponko-marquee__track { display: flex; flex: none; width: max-content; }
.ponko-marquee .wp-block-image { flex: none; margin: 0; }
.ponko-marquee .wp-block-image img {
  display: block;
  width: auto;
  max-width: none;
  height: var(--ponko-marquee-h);
}
.ponko-marquee.is-moving .ponko-marquee__track { animation: ponko-marquee 200s linear infinite; }
.ponko-marquee.is-moving:hover .ponko-marquee__track,
.ponko-marquee.is-paused .ponko-marquee__track { animation-play-state: paused; }
/* The track holds the photos twice, so half its width is one full lap. */
@keyframes ponko-marquee { to { transform: translateX(-50%); } }
/* Reduced motion: no drift; the row scrolls by hand. */
.ponko-marquee.is-static { overflow-x: auto; scroll-snap-type: x proximity; }
.ponko-marquee.is-static .wp-block-image { scroll-snap-align: start; }
.ponko-marquee__pause {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--wp--preset--color--ink);
  box-shadow: 0 2px 10px rgba(35, 31, 32, .25);
  cursor: pointer;
}
.ponko-marquee__pause svg { width: 16px; height: 16px; fill: currentColor; }
.ponko-marquee__pause:hover { background: var(--wp--preset--color--gray-light); }
@media (max-width: 600px) {
  .ponko-marquee__pause { right: 10px; bottom: 10px; width: 36px; height: 36px; }
}

/* ── about: video series and its callout ────────────────────── */
.ponko-about-videos > h2 { margin-bottom: 1.75rem; }
.ponko-callout { border-radius: 18px; padding: 1.75rem 1.9rem 1.9rem !important; }
.ponko-callout > * { margin-top: 0; }
.ponko-callout p { margin: .6rem 0 1.25rem; }

/* ── prose pages: accessibility, privacy ────────────────────── */
.ponko-prose h2 {
  font-size: 1.55rem !important;
  margin: 2.4rem 0 .6rem;
}
/* the block gap would otherwise push a heading as far from its own text as
   from the section above */
.ponko-prose h2 + * { margin-block-start: .6rem; }
.ponko-prose p { line-height: 1.75; }
.ponko-prose p.has-large-font-size { line-height: 1.55; }
.ponko-prose h3 {
  font-size: 1.2rem !important;
  margin: 1.9rem 0 .5rem;
}
.ponko-prose h3 + * { margin-block-start: .5rem; }
.ponko-prose ul { line-height: 1.7; padding-left: 1.25rem; }
.ponko-prose li + li { margin-top: .3rem; }
.ponko-prose p + ul { margin-block-start: .4rem; }
/* The privacy policy's table of service providers. Ruled rows rather than a
   grid; on a phone the three columns get narrow but still fit, and the
   block's own overflow scrolls sideways if a long word won't wrap. */
.ponko-prose-table table { border-collapse: collapse; width: 100%; font-size: .95rem; line-height: 1.5; }
.ponko-prose-table th,
.ponko-prose-table td { border: 0; border-bottom: 1px solid rgba(35, 31, 32, .15); padding: .65rem .75rem .65rem 0; text-align: left; vertical-align: top; }
.ponko-prose-table th { border-bottom: 2px solid var(--wp--preset--color--ink); font-weight: 700; }
.ponko-prose-table td:first-child { font-weight: 600; }

/* ── contact form ───────────────────────────────────────────── */
.ponko-contact-form-section { border-radius: 18px; padding: 2rem 2rem 2.2rem !important; }
.ponko-contact-form-section > h2 { margin: 0; }
/* Contact: each team's email sits close under its heading (PONKO asked for
   it tighter, 2026-11-04; it was the 24px block gap). */
.ponko-contact-teams .wp-block-column > h2 + p { margin-block-start: .55rem; }
.ponko-contact-form-section > p { margin: .6rem 0 1.5rem; }
.ponko-form__row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1rem;
}
.ponko-form__field { margin: 0 0 1.1rem; display: flex; flex-direction: column; gap: .45rem; }
.ponko-form__field label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--ink);
}
.ponko-form__opt { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--wp--preset--color--ink-soft); }
.ponko-form input,
.ponko-form select,
.ponko-form textarea {
  font: inherit;
  font-size: 1rem;
  width: 100%;
  padding: .85rem .95rem;
  /* 3:1 against the cream card, so the field reads as a field */
  border: 1px solid rgba(35, 31, 32, .6);
  border-radius: 10px;
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--ink);
  box-sizing: border-box;
}
.ponko-form textarea { resize: vertical; min-height: 9rem; }
/* The browser's own select chrome swapped for the same field look, with an
   ink chevron. */
.ponko-form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.75rem;
  cursor: pointer;
  background: var(--wp--preset--color--base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231f20' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 1rem center / 1.1rem no-repeat;
}
.ponko-form input:focus-visible,
.ponko-form select:focus-visible,
.ponko-form textarea:focus-visible { outline: 3px solid var(--wp--preset--color--red); outline-offset: 1px; }
.ponko-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ponko-form__actions { margin: .4rem 0 0; }
.ponko-form button.wp-element-button { border: 0; cursor: pointer; }
.ponko-form__notice { padding: .95rem 1.15rem; border-radius: 10px; margin: 0 0 1.4rem; font-weight: 600; }
.ponko-form__notice.is-ok { background: #e6f4ea; color: #1d5c2e; }
.ponko-form__notice.is-err { background: #fde8e6; color: #8a1c0f; }
/* The careers form's error line stays in the page so screen readers hear
   what gets written into it; empty, it takes no room. */
.ponko-form__notice:empty { display: none; }

/* ── careers ───────────────────────────────────────────────── */
.ponko-careers__note { margin-top: var(--wp--preset--spacing--40) !important; }
.ponko-form__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ponko-form__hint { font-size: .85rem; color: var(--wp--preset--color--ink-soft); }
/* equal opportunity line and privacy link, under the button */
.ponko-form__fine { margin: 1.1rem 0 0; font-size: .8rem; line-height: 1.55; color: var(--wp--preset--color--ink-soft); }
.ponko-form__fine a { color: inherit; text-decoration: underline; }
.ponko-form input[type="file"] { padding: .55rem; cursor: pointer; }
.ponko-form input[type="file"]::file-selector-button {
  margin-right: .9rem;
  padding: .6rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--wp--preset--color--ink);
  color: #fff;
  font: inherit;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}
.ponko-form button.wp-element-button:disabled { opacity: .7; cursor: progress; }
.ponko-apply__done { text-align: center; padding: 1.25rem 0; }
.ponko-apply__done:focus { outline: none; }
.ponko-apply__done p { margin: 0; color: var(--wp--preset--color--ink-soft); }
.ponko-apply__done .ponko-apply__done-title {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.2;
  color: var(--wp--preset--color--ink);
  margin-bottom: .5rem;
}

/* Full-bleed bands butt up against whatever is above them. WordPress puts its
   24px block gap between top-level blocks, which shows as a white strip the
   moment a band follows a photo or another colour — the reviews band under
   the homepage catering photo was the one that showed it. */
:is(.alignfull, .wp-block-cover) + :is(.ponko-reviews, .ponko-truck-menu, .ponko-dark-band, .ponko-quote-band, .ponko-awards-band, .ponko-benefits) { margin-block-start: 0 !important; }

/* In-page targets: the form's own #anchor after a submission, "Find Your
   Store", and the #halal and #rice-bran-oil links. Without this the sticky
   header lands on top of what was jumped to — after sending the form, the
   very notice saying it worked. */
#ponko-contact-form,
#ponko-apply,
#stores,
#halal,
#rice-bran-oil { scroll-margin-top: 1rem; }

/* ── inner pages on narrower screens ────────────────────────── */
@media (max-width: 1023px) {
  .ponko-video-grid, .ponko-story-grid, .ponko-cater { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ponko-quote-card { flex-basis: calc((100% - 1.5rem) / 2); }
}
/* Two store cards a row below 1200px: three squeezed the cards narrower than
   the longest address. */
@media (max-width: 1199px) {
  .ponko-cater { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 781px) {
  .ponko-form__row, .ponko-form__row--2 { grid-template-columns: 1fr; }
  .ponko-checks { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ponko-video-grid, .ponko-story-grid, .ponko-cater { grid-template-columns: 1fr; }
  .ponko-quote-card { flex-basis: 100%; }
  .ponko-contact-form-section { padding: 1.5rem 1.25rem 1.6rem !important; }
}

/* ══════════════════════════════════════════════════════════
   AUDIT FIXES (v0.19.0)
   From the October design audit: accessibility, tablet layout, and the
   store finder. Each rule says what it fixes.
   ══════════════════════════════════════════════════════════ */

/* Keyboard focus: one visible ring everywhere instead of the browser's
   default blue, white where the background is dark or red. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--wp--preset--color--ink);
  outline-offset: 3px;
}
:where(.has-ink-background-color, .has-red-background-color, .wp-block-cover, .ponko-dark-band)
  :where(a, button, [tabindex]):focus-visible { outline-color: #fff; }
/* the tile clips its own link's ring, so ring the tile */
.ponko-tile:has(a:focus-visible) {
  outline: 3px solid var(--wp--preset--color--ink);
  outline-offset: 3px;
}

/* Anything focused or jumped to lands below the sticky header (and the
   menu's category rail), never underneath it. */
html { scroll-padding-top: calc(var(--ponko-header-h) + .5rem); }
html:has(.ponko-menu__navwrap) {
  scroll-padding-top: calc(var(--ponko-header-h) + var(--ponko-menu-rail-h) + .5rem);
}

/* Photo banners use the page gutter, so their text lines up with the content
   below instead of sitting a few px further out (the cover's own 1em). */
.wp-block-cover:is(.alignfull, .ponko-hero) {
  padding-left: var(--wp--style--root--padding-left);
  padding-right: var(--wp--style--root--padding-right);
}

/* Kickers on coloured bands: ink on red and red on ink were 3.7:1. */
.ponko-franchise .ponko-kicker { color: #fff; }

/* Links inside running text: ink with a red rule, the house style already
   used for contact details on the newer pages. Colour alone was the only
   thing marking them, and red on cream fell short of 4.5:1. */
main :where(p, li, dd) > a:not([class]),
main .ponko-ob a {
  color: var(--wp--preset--color--ink);
  text-decoration: underline;
  text-decoration-color: var(--wp--preset--color--red);
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}
main :where(p, li, dd) > a:not([class]):hover,
main .ponko-ob a:hover { color: var(--ponko-red-text); }

/* Headings break into even lines rather than stranding one word; body copy
   avoids a lone last word. Menu item names stay as typed. */
:where(h1, h2, h3):not(.ponko-item__name) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }

/* ── menu: the category rail says where you are ────────────── */
.ponko-menu__nav a[aria-current="true"] {
  background: var(--wp--preset--color--ink);
  color: #fff;
}

/* ── menu: the page heading starts where the menu does ───────────
   Left-aligned "Menu"; from 1100px it takes the menu's 1240px rail and
   steps in past the sidebar (250px + its 1px rule + 2.75rem), so it sits
   on the same line as the key and the section headings below it. */
.ponko-menu-head :is(p, h1) { text-align: left; }
@media (min-width: 1100px) {
  .entry-content > .ponko-menu-head {
    --wp--style--global--content-size: 1240px;
    padding-left: calc(250px + 1px + 2.75rem) !important;
  }
}

/* ── menu: the desktop sidebar ──────────────────────────────────
   From 1100px the category rail becomes a panel down the left of the menu,
   as on Wendy's ordering site: a photo and the name per category, the one
   being read boxed in ink on cream. The menu takes the header's 1240px rail
   (not the 1048px content rail) so three columns of cards still fit beside
   it. Below 1100px nothing here applies and the chip rail is unchanged. */
.ponko-menu__thumb { display: none; }
@media (min-width: 1100px) {
  .entry-content > .ponko-menu { --wp--style--global--content-size: 1240px; }
  .ponko-menu {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: start;
  }
  .ponko-menu__navwrap {
    top: calc(var(--ponko-header-h) + 1.5rem);
    margin: 0;
    border: 0;
    background: none;
  }
  .ponko-menu__navwrap::before,
  .ponko-menu__navwrap::after,
  .ponko-menu__navwrap .ponko-menu__arrow { display: none; }
  .ponko-menu__nav {
    flex-direction: column;
    gap: .3rem;
    max-height: calc(100vh - var(--ponko-header-h) - 3rem);
    overflow: hidden auto;
    /* room for the focus ring and the active box's edge */
    padding: 3px 1rem 3px 3px;
    scroll-snap-type: none;
  }
  .ponko-menu__nav a {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: .5rem .75rem;
    border-radius: 14px;
    background: transparent;
    font-size: .92rem;
    line-height: 1.15;
    white-space: normal;
  }
  /* no photos (the catering menu): the same box around the name alone */
  .ponko-menu:not(.has-thumbs) .ponko-menu__nav a { padding: .95rem 1rem .75rem; }
  .ponko-menu__nav a[aria-current="true"] {
    background: var(--wp--preset--color--cream);
    color: var(--wp--preset--color--ink);
    box-shadow: inset 0 0 0 2px var(--wp--preset--color--ink);
  }
  /* Josefin's caps ride high; nudge the name to the photo's centre line */
  .ponko-menu__navlabel { padding-top: .18em; }
  .ponko-menu__thumb {
    flex: none;
    display: grid;
    place-items: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 0 0 1px var(--wp--preset--color--gray-light);
    color: var(--wp--preset--color--ink);
  }
  .ponko-menu__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 32% 50%; }
  .ponko-menu__thumb svg {
    width: 30px; height: 30px;
    fill: none; stroke: currentColor; stroke-width: 2.4;
    stroke-linecap: round; stroke-linejoin: round;
  }
  .ponko-menu__main {
    min-width: 0;
    padding-left: 2.75rem;
    border-left: 1px solid var(--wp--preset--color--gray);
  }
  /* the rail no longer sits over the content, so jumps clear the header only */
  html:has(.ponko-menu__navwrap) { scroll-padding-top: calc(var(--ponko-header-h) + 1.5rem); }
}
@media (min-width: 1100px) and (hover: hover) {
  .ponko-menu__nav a:hover { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--ink); }
}

/* ── menu: compact lists (sauces, drinks) ─────────────────────── */
.ponko-menu__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.75rem 2.5rem;
  margin-top: 1.75rem;
}
.ponko-menu__ghead {
  margin: 0;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ponko-menu__gdesc { margin: .5rem 0 0; font-size: .82rem; color: var(--wp--preset--color--ink-soft); }
.ponko-menu__list { list-style: none; margin: 0; padding: 0; }
.ponko-menu__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--wp--preset--color--gray-light);
}
.ponko-menu__row:last-child { border-bottom: 0; }
.ponko-menu__rname { font-weight: 700; color: var(--wp--preset--color--ink); }
.ponko-menu__rname .ponko-item__fav {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 800; font-size: 1.1rem; line-height: 1;
}
/* The same star column as the cards: in a list, every name in a group with
   a star starts after it; a tile is its own cell, so only a starred tile's
   note moves under its name. */
.ponko-menu__groups:not(.ponko-menu__groups--tiles) .ponko-menu__list:has(.ponko-item__fav) :is(.ponko-menu__rname, .ponko-menu__rmeta, .ponko-item__more),
.ponko-menu__groups--tiles .ponko-menu__row:has(> .ponko-menu__rname > .ponko-item__fav) > :is(.ponko-menu__rname, .ponko-menu__rmeta, .ponko-item__more) {
  padding-left: var(--ponko-fav-col);
}
.ponko-menu__rprice { order: 2; font-family: var(--wp--preset--font-family--display); font-weight: 700; white-space: nowrap; }
.ponko-menu__rmeta { order: 3; flex-basis: 100%; margin-top: .15rem; font-size: .78rem; color: var(--wp--preset--color--ink-soft); }
/* phones: two short columns per group instead of one long one */
@media (max-width: 600px) {
  .ponko-menu__groups { gap: 1.5rem; }
  .ponko-menu__list { columns: 2; column-gap: 1.25rem; }
  .ponko-menu__row { break-inside: avoid; padding: .5rem 0; }
}

/* Tiles (sauces): each group is a row of small boxes, the name and any
   note in each, bordered like the menu's cards. Groups stack. */
.ponko-menu__groups--tiles { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.ponko-menu__groups--tiles .ponko-menu__ghead { padding-bottom: 0; border-bottom: 0; }
.ponko-menu__groups--tiles .ponko-menu__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: .75rem;
  margin-top: .85rem;
  columns: auto;
}
.ponko-menu__groups--tiles .ponko-menu__row,
.ponko-menu__groups--tiles .ponko-menu__row:last-child {
  flex-flow: column nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  padding: .95rem 1.1rem .85rem;
  border: 1px solid var(--wp--preset--color--gray);
  border-radius: 14px;
  background: var(--wp--preset--color--base);
}
.ponko-menu__groups--tiles .ponko-menu__rmeta { flex-basis: auto; margin-top: .3rem; }
@media (max-width: 600px) {
  .ponko-menu__groups--tiles .ponko-menu__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .ponko-menu__groups--tiles .ponko-menu__row,
  .ponko-menu__groups--tiles .ponko-menu__row:last-child { padding: .8rem .85rem .7rem; }
}

/* ── store finder ──────────────────────────────────────────── */
/* The key names every service icon instead of leaving them to a tooltip. */
.ponko-locs__legend { flex-wrap: wrap; gap: .4rem 1rem; }
.ponko-locs__legend .ponko-svc {
  width: auto; height: auto;
  display: flex; align-items: center; gap: .35rem;
}
.ponko-locs__legend .screen-reader-text {
  position: static !important;
  clip: auto !important; clip-path: none !important;
  width: auto !important; height: auto !important;
  margin: 0 !important; overflow: visible !important;
  font-size: .75rem; font-weight: 600;
  color: var(--wp--preset--color--ink-soft);
  white-space: nowrap;
}
/* A store page's services: the same key, one per line under the hours. */
.ponko-store__svc { flex-direction: column; gap: .55rem; }
.ponko-store__svc .ponko-svc { gap: .55rem; }
.ponko-store__svc .screen-reader-text { font-size: .92rem; }
/* Two to a row from tablets up, so the list takes half the height beside
   the hours; phones keep one per line. */
@media (min-width: 782px) {
  .ponko-locs__legend.ponko-store__svc {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    /* 1rem, not more: at 1024 the hours column is 194px and the widest pair
       (Pickup + Drive-thru) needs 190 of it. */
    gap: .65rem 1rem;
  }
  /* Icons keep their size however long the label beside them. */
  .ponko-store__svc .ponko-svc svg { flex: none; }
}
/* The picked card's fill reaches past its text instead of touching it. A
   spread shadow, so nothing in the list moves. */
.ponko-loc.is-active {
  border-radius: 12px;
  box-shadow: 0 0 0 .75rem var(--wp--preset--color--cream);
}
/* The map pin follows the picked card; closed stores' pins go grey to match. */
.ponko-pin.is-active span { background: var(--wp--preset--color--ink); }
.ponko-pin.is-dim span { background: #8a8483; }
/* A store with no map: two columns of details, not three with a hole. */
.ponko-store__grid:not(:has(.ponko-store__panel--map)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 760px;
}

/* ── phones and tablets ────────────────────────────────────── */
@media (max-width: 959px) {
  /* The open menu inherited the desktop's 5.6rem link gap: links 112px apart
     and pinned to the right, away from the hamburger that opened them. */
  .ponko-header .wp-block-navigation__responsive-container.is-menu-open
    :is(.wp-block-navigation__responsive-container-content, .wp-block-navigation__container) {
    gap: 1.6rem;
    align-items: flex-start;
  }
  .ponko-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    font-size: 1.5rem;
  }
}

@media (max-width: 781px) {
  /* The hero's left-to-right fade carries the left third on desktop; on a
     phone the text runs the full width, over the white rice. */
  .ponko-hero::before {
    background: linear-gradient(
      180deg,
      rgba(18, 16, 16, .45) 0%,
      rgba(18, 16, 16, .7) 30%,
      rgba(18, 16, 16, .7) 72%,
      rgba(18, 16, 16, .4) 100%
    );
  }
  /* Menu tiles two by two instead of four full-width photos. */
  .wp-block-columns.ponko-tiles-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }
}

/* 600-781px: WordPress stacks every column set below 782px, so a tablet
   got the phone layout stretched — 746px-wide photos and a homepage 11,000px
   tall. Keep the two-up layouts side by side. */
@media (min-width: 600px) and (max-width: 781px) {
  body .wp-block-columns:is(.ponko-split, .ponko-steps__row) { flex-wrap: nowrap !important; }
  body .wp-block-columns:is(.ponko-split, .ponko-steps__row) > .wp-block-column {
    flex-basis: 0 !important;
    flex-grow: 1;
  }
  .ponko-path { flex-direction: row; }
  .ponko-path__media { flex: 0 0 42%; aspect-ratio: auto !important; }
  .ponko-path__media img { height: 100% !important; aspect-ratio: auto !important; }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .ponko-menu__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ponko-item, .ponko-item:hover { transition: none; transform: none; }
}
