/* ==========================================================================
   COMPONENTS — buttons, badges, chips, cards, stars, forms, accordions.
   Depends on tokens.css and base.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------ */
.g1-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--g1-space-2);
  height: 54px;              /* BPN computes 54px with 17px vertical padding */
  padding-inline: var(--g1-space-6);
  border: 2px solid transparent;
  border-radius: var(--g1-radius-sm);
  font-family: var(--g1-font-ui);
  font-size: 0.9375rem;
  font-weight: var(--g1-weight-bold);
  letter-spacing: var(--g1-tracking-wide);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--g1-duration-fast) var(--g1-ease-out),
    border-color var(--g1-duration-fast) var(--g1-ease-out),
    color var(--g1-duration-fast) var(--g1-ease-out);
}

.g1-btn--primary { background: var(--g1-text); color: var(--g1-text-invert); }
.g1-btn--primary:hover { background: var(--g1-text-strong); }

/* The red CTA - hero, add-to-cart, place-order. White on red is 4.67:1. */
.g1-btn--accent { background: var(--g1-red); color: var(--g1-text-invert); }
.g1-btn--accent:hover { background: var(--g1-red-hover); }

.g1-btn--secondary {
  background: transparent;
  color: var(--g1-text);
  border-color: var(--g1-text);
}
.g1-btn--secondary:hover { background: var(--g1-text); color: var(--g1-text-invert); }

.g1-btn--tertiary { background: var(--g1-surface-2); color: var(--g1-text); }
.g1-btn--tertiary:hover { background: var(--g1-surface-3); }

.g1-btn--ghost {
  background: transparent;
  color: var(--g1-text-muted);
  border-color: var(--g1-line-strong);
}
.g1-btn--ghost:hover { color: var(--g1-text); border-color: var(--g1-text); }

.g1-btn--sm { height: 44px; padding-inline: var(--g1-space-4); font-size: var(--g1-text-label); }
.g1-btn--lg { height: 60px; padding-inline: var(--g1-space-7); font-size: 1rem; }
.g1-btn--block { display: flex; width: 100%; }

.g1-btn[disabled],
.g1-btn.is-disabled { opacity: 0.4; pointer-events: none; }

.g1-btn.is-loading { color: transparent; position: relative; pointer-events: none; }
.g1-btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px; height: 18px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  color: currentColor;
  animation: g1-spin 0.7s linear infinite;
}
@keyframes g1-spin { to { transform: rotate(360deg); } }

/* Over dark imagery (the hero) the outline button inverts. */
.g1-hero .g1-btn--secondary,
.g1-section--dark .g1-btn--secondary {
  color: var(--g1-text-invert);
  border-color: var(--g1-text-invert);
}
.g1-hero .g1-btn--secondary:hover,
.g1-section--dark .g1-btn--secondary:hover {
  background: var(--g1-text-invert);
  color: var(--g1-text);
}

/* --------------------------------------------------------------------------
   Badges
   ------------------------------------------------------------------------ */
.g1-badge {
  display: inline-block;
  padding: 5px 9px;
  font-family: var(--g1-font-ui);
  font-size: 12px;
  font-weight: var(--g1-weight-bold);
  letter-spacing: var(--g1-tracking-wider);
  text-transform: uppercase;
  line-height: 1.4;
  border-radius: var(--g1-radius-sm);
}
.g1-badge--red { background: var(--g1-red); color: var(--g1-text-invert); }
.g1-badge--light { background: var(--g1-text); color: var(--g1-text-invert); }
.g1-badge--outline {
  background: rgba(255, 255, 255, 0.92);
  color: var(--g1-text-muted);
  box-shadow: inset 0 0 0 1px var(--g1-line-strong);
  backdrop-filter: blur(4px);
}
.g1-badge--stock { background: rgba(20, 128, 74, 0.12); color: var(--g1-success); }

/* --------------------------------------------------------------------------
   Chips (category filters)
   ------------------------------------------------------------------------ */
.g1-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: var(--g1-space-4);
  border: var(--g1-border-strong);
  border-radius: var(--g1-radius-pill);
  font-family: var(--g1-font-ui);
  font-size: var(--g1-text-label);
  font-weight: var(--g1-weight-semibold);
  letter-spacing: var(--g1-tracking-wide);
  text-transform: uppercase;
  color: var(--g1-text-muted);
  white-space: nowrap;
  transition: all var(--g1-duration-fast) var(--g1-ease-out);
}
.g1-chip:hover { color: var(--g1-text); border-color: var(--g1-text); }
.g1-chip.is-active,
.g1-chip[aria-pressed="true"],
.g1-chip[aria-current="page"] {
  background: var(--g1-text);
  border-color: var(--g1-text);
  color: var(--g1-text-invert);
}

.g1-chips {
  display: flex;
  gap: var(--g1-space-2);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: var(--g1-space-2);
}
.g1-chips::-webkit-scrollbar { display: none; }

/* --------------------------------------------------------------------------
   Star rating
   A single clipped overlay rather than five separate icons — it renders
   fractional ratings correctly and costs one element.
   ------------------------------------------------------------------------ */
.g1-stars {
  display: flex;
  align-items: center;
  gap: var(--g1-space-2);
  font-size: var(--g1-text-micro);
  color: var(--g1-text-subtle);
}

/* Two glyphs rather than one glyph at two opacities: opacity on the track
   would composite onto the fill as well, dimming it. Inlined as data URIs so
   they cost no request. */
.g1-stars {
  --g1-star-off: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'%3E%3Cpath fill='%23D5D2CF' d='M8 1l2 4.3 4.6.5-3.5 3.1 1 4.5L8 11.1 3.9 13.4l1-4.5L1.4 5.8 6 5.3z'/%3E%3C/svg%3E");
  --g1-star-on: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='14' viewBox='0 0 16 14'%3E%3Cpath fill='%23FFB020' d='M8 1l2 4.3 4.6.5-3.5 3.1 1 4.5L8 11.1 3.9 13.4l1-4.5L1.4 5.8 6 5.3z'/%3E%3C/svg%3E");
}

.g1-stars__track {
  position: relative;
  display: inline-block;
  width: 76px;
  height: 13px;
  background-image: var(--g1-star-off);
  background-size: 15.2px 13px;
  background-repeat: repeat-x;
}

/* Width is set inline as a percentage of the rating, so a 4.5 renders as
   exactly half a star. */
.g1-stars__fill {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  background-image: var(--g1-star-on);
  background-size: 15.2px 13px;
  background-repeat: repeat-x;
  overflow: hidden;
}

.g1-stars--empty { color: var(--g1-text-subtle); }
.g1-stars__count { color: var(--g1-text-subtle); }

/* --------------------------------------------------------------------------
   Product card
   The most-reused component on the site: PLP grid, best sellers, new
   arrivals, cross-sell rows and the mega-menu tile all render this.
   ------------------------------------------------------------------------ */
.g1-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--g1-surface);
  border: var(--g1-border);
  border-radius: var(--g1-radius-sm);
  overflow: hidden;
  transition:
    transform var(--g1-duration-base) var(--g1-ease-out),
    border-color var(--g1-duration-base) var(--g1-ease-out),
    box-shadow var(--g1-duration-base) var(--g1-ease-out);
}

@media (hover: hover) {
  .g1-card:hover {
    transform: translateY(-4px);
    border-color: var(--g1-line-strong);
    box-shadow: var(--g1-shadow-lift);
  }
}

/* Focus inside the card lifts the whole card, so keyboard users get the same
   affordance mouse users do. */
.g1-card:focus-within {
  border-color: var(--g1-line-strong);
  box-shadow: var(--g1-shadow-lift);
}

.g1-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--g1-bg);
  overflow: hidden;
}
.g1-card__media img,
.g1-card__media .g1-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--g1-duration-slow) var(--g1-ease-out);
}
@media (hover: hover) {
  .g1-card:hover .g1-card__media img { transform: scale(1.04); }
}

/* Secondary image, revealed on hover where one exists. */
.g1-card__img--alt {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--g1-duration-base) var(--g1-ease-out);
}
@media (hover: hover) {
  .g1-card:hover .g1-card__img--alt { opacity: 1; }
}

.g1-card__badge {
  position: absolute;
  top: var(--g1-space-3);
  left: var(--g1-space-3);
  z-index: 2;
}

.g1-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--g1-space-2);
  padding: var(--g1-space-4);
  flex: 1;
}

.g1-card__title {
  font-family: var(--g1-font-ui);
  font-size: 1.0625rem;
  font-weight: var(--g1-weight-bold);
  letter-spacing: var(--g1-tracking-wide);
  text-transform: uppercase;
  line-height: var(--g1-leading-tight);
}

/* Stretched link: the whole card is clickable, but only the title is a link
   in the accessibility tree — so screen readers announce one target, not five. */
.g1-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.g1-card__meta {
  font-size: var(--g1-text-micro);
  color: var(--g1-text-muted);
  letter-spacing: 0.02em;
}

.g1-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--g1-space-2);
  margin-top: auto;
  padding-top: var(--g1-space-2);
  font-family: var(--g1-font-ui);
  font-size: 1.25rem;
  font-weight: var(--g1-weight-bold);
  letter-spacing: var(--g1-tracking-wide);
}
.g1-card__price del { color: var(--g1-text-subtle); font-size: var(--g1-text-body-s); }
.g1-card__price ins { text-decoration: none; }

/* The CTA must sit above the stretched link to stay clickable. */
.g1-card__cta { position: relative; z-index: 2; }

/* --------------------------------------------------------------------------
   Category tile — square, on a light band
   Matches the BPN reference: 1:1 crop, title centred on both axes, "SHOP NOW"
   sitting over a short red underline. No permanent scrim; the photographs are
   dark enough on their own and a scrim on a light band looks like a mistake.
   ------------------------------------------------------------------------ */
.g1-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--g1-radius-sm);
  background: var(--g1-surface-3);
}

.g1-tile__media { position: absolute; inset: 0; display: block; }

.g1-tile__media img,
.g1-tile__media .g1-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--g1-duration-slow) var(--g1-ease-out);
}

@media (hover: hover) {
  .g1-tile:hover .g1-tile__media img { transform: scale(1.05); }
}

/* Just enough darkening for white type to hold at any crop. */
.g1-tile__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 12, 0.42);
  transition: background-color var(--g1-duration-base) var(--g1-ease-out);
}
@media (hover: hover) {
  .g1-tile:hover .g1-tile__media::after { background: rgba(12, 12, 12, 0.56); }
}

.g1-tile__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--g1-space-2);
  height: 100%;
  padding: var(--g1-space-4);
  text-align: center;
}

.g1-tile__title {
  font-family: var(--g1-font-ui);
  font-size: clamp(1.125rem, 2.2vw, 1.5rem);
  font-weight: var(--g1-weight-bold);
  letter-spacing: var(--g1-tracking-wide);
  text-transform: uppercase;
  color: var(--g1-text-invert);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

/* The red rule under SHOP NOW is the tile's only brand accent. */
.g1-tile__cta {
  position: relative;
  font-family: var(--g1-font-ui);
  font-size: var(--g1-text-label);
  font-weight: var(--g1-weight-bold);
  letter-spacing: var(--g1-tracking-wider);
  text-transform: uppercase;
  color: var(--g1-text-invert);
  padding-bottom: 6px;
}
.g1-tile__cta::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--g1-red);
  transform: translateX(-50%);
  transition: width var(--g1-duration-base) var(--g1-ease-out);
}
@media (hover: hover) {
  .g1-tile:hover .g1-tile__cta::after { width: 130%; }
}

/* --------------------------------------------------------------------------
   Icon-and-text block (trust strip, science pillars)
   ------------------------------------------------------------------------ */
.g1-feature { display: flex; flex-direction: column; gap: var(--g1-space-3); }
.g1-feature__icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid var(--g1-line-strong);
  border-radius: var(--g1-radius-sm);
  color: var(--g1-text);
}
.g1-feature__title {
  font-family: var(--g1-font-ui);
  font-size: var(--g1-text-h4);
  font-weight: var(--g1-weight-bold);
  letter-spacing: var(--g1-tracking-wide);
  text-transform: uppercase;
}
.g1-feature__text { color: var(--g1-text-muted); font-size: var(--g1-text-body-s); }

.g1-feature--center { align-items: center; text-align: center; }

/* --------------------------------------------------------------------------
   Quote card
   ------------------------------------------------------------------------ */
.g1-quote {
  display: flex;
  flex-direction: column;
  gap: var(--g1-space-4);
  padding: var(--g1-space-5);
  background: var(--g1-surface-2);
  border: var(--g1-border);
  border-radius: var(--g1-radius-sm);
  height: 100%;
}
.g1-quote__text { font-size: var(--g1-text-body-l); line-height: var(--g1-leading-snug); }
.g1-quote__by { margin-top: auto; }
.g1-quote__name {
  font-family: var(--g1-font-ui);
  font-weight: var(--g1-weight-bold);
  letter-spacing: var(--g1-tracking-wide);
  text-transform: uppercase;
  font-size: var(--g1-text-body-s);
}
.g1-quote__role { font-size: var(--g1-text-micro); color: var(--g1-text-subtle); }

/* --------------------------------------------------------------------------
   Placeholder-content notice
   Marks seeded reviews and demo copy so nothing fabricated can be mistaken
   for genuine. Removed when real content lands.
   ------------------------------------------------------------------------ */
.g1-demo-notice {
  display: flex;
  align-items: center;
  gap: var(--g1-space-3);
  padding: var(--g1-space-3) var(--g1-space-4);
  margin-bottom: var(--g1-space-5);
  background: rgba(180, 83, 9, 0.08);
  border-left: 3px solid var(--g1-warning);
  border-radius: var(--g1-radius-sm);
  color: var(--g1-warning);
  font-size: var(--g1-text-body-s);
}

/* --------------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------------ */
.g1-field { display: grid; gap: var(--g1-space-2); }

.g1-field label,
.g1-label {
  font-family: var(--g1-font-ui);
  font-size: var(--g1-text-label);
  font-weight: var(--g1-weight-semibold);
  letter-spacing: var(--g1-tracking-wide);
  text-transform: uppercase;
  color: var(--g1-text-muted);
}

.g1-input,
.g1-field input[type="text"],
.g1-field input[type="email"],
.g1-field input[type="tel"],
.g1-field input[type="password"],
.g1-field input[type="number"],
.g1-field input[type="search"],
.g1-field select,
.g1-field textarea {
  width: 100%;
  min-height: 50px;
  padding: var(--g1-space-3) var(--g1-space-4);
  background: var(--g1-bg);
  border: var(--g1-border-strong);
  border-radius: var(--g1-radius-sm);
  color: var(--g1-text);
  font-family: var(--g1-font-body);
  font-size: var(--g1-text-body);
  transition: border-color var(--g1-duration-fast) var(--g1-ease-out);
}

.g1-field textarea { min-height: 140px; resize: vertical; }

.g1-field input::placeholder,
.g1-field textarea::placeholder { color: var(--g1-text-subtle); }

.g1-field input:focus-visible,
.g1-field select:focus-visible,
.g1-field textarea:focus-visible {
  outline: none;
  border-color: var(--g1-red);
  box-shadow: 0 0 0 3px var(--g1-red-glow);
}

.g1-field [aria-invalid="true"] { border-color: var(--g1-error); }
.g1-field__error { font-size: var(--g1-text-body-s); color: var(--g1-error); }
.g1-field__hint { font-size: var(--g1-text-body-s); color: var(--g1-text-subtle); }

/* Native select arrow, drawn rather than imported. */
.g1-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2362605D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--g1-space-4) center;
  padding-right: var(--g1-space-8);
}

/* Quantity stepper. */
.g1-qty {
  display: inline-flex;
  align-items: stretch;
  border: var(--g1-border-strong);
  border-radius: var(--g1-radius-sm);
  overflow: hidden;
  background: var(--g1-bg);
}
.g1-qty button {
  width: 44px;
  display: grid;
  place-items: center;
  color: var(--g1-text-muted);
  transition: color var(--g1-duration-fast) var(--g1-ease-out),
              background-color var(--g1-duration-fast) var(--g1-ease-out);
}
.g1-qty button:hover { color: var(--g1-text); background: var(--g1-surface-3); }
.g1-qty input {
  width: 52px;
  min-height: 50px;
  border: 0;
  background: transparent;
  text-align: center;
  font-family: var(--g1-font-ui);
  font-weight: var(--g1-weight-bold);
  font-size: 1rem;
  -moz-appearance: textfield;
}
.g1-qty input::-webkit-outer-spin-button,
.g1-qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }

/* --------------------------------------------------------------------------
   Accordion
   Built on <details>, so it expands, collapses and responds to the keyboard
   with no JavaScript at all — and keeps working if a script fails.
   ------------------------------------------------------------------------ */
.g1-accordion { border-top: var(--g1-border); }

.g1-accordion__item { border-bottom: var(--g1-border); }

.g1-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--g1-space-4);
  padding-block: var(--g1-space-5);
  cursor: pointer;
  list-style: none;
  font-family: var(--g1-font-ui);
  font-size: var(--g1-text-h4);
  font-weight: var(--g1-weight-semibold);
  letter-spacing: var(--g1-tracking-tight);
  transition: color var(--g1-duration-fast) var(--g1-ease-out);
}
.g1-accordion__summary::-webkit-details-marker { display: none; }
.g1-accordion__summary:hover { color: var(--g1-red-text); }

.g1-accordion__icon {
  flex-shrink: 0;
  color: var(--g1-text-muted);
  transition: transform var(--g1-duration-base) var(--g1-ease-out);
}
.g1-accordion__item[open] .g1-accordion__icon { transform: rotate(45deg); }

.g1-accordion__body {
  padding-bottom: var(--g1-space-5);
  color: var(--g1-text-muted);
  max-width: 72ch;
}

/* --------------------------------------------------------------------------
   Data table (supplement facts)
   ------------------------------------------------------------------------ */
/* min-width:0 is what actually makes overflow-x:auto work here. As a grid or
   flex child the wrapper defaults to min-width:auto, so it stretches to fit
   the 420px table below instead of scrolling it — which pushed the PDP 76px
   past a 360px viewport. */
.g1-table-wrap {
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
}

.g1-table {
  width: 100%;
  min-width: 420px;
  font-size: var(--g1-text-body-s);
}
.g1-table th,
.g1-table td {
  padding: var(--g1-space-3) var(--g1-space-4);
  text-align: left;
  border-bottom: var(--g1-border);
}
.g1-table thead th {
  font-family: var(--g1-font-ui);
  font-size: var(--g1-text-label);
  font-weight: var(--g1-weight-bold);
  letter-spacing: var(--g1-tracking-wider);
  text-transform: uppercase;
  color: var(--g1-text-subtle);
  border-bottom-color: var(--g1-line-strong);
}
.g1-table td:first-child { color: var(--g1-text); font-weight: var(--g1-weight-medium); }
.g1-table td { color: var(--g1-text-muted); }

/* --------------------------------------------------------------------------
   Pagination
   ------------------------------------------------------------------------ */
.g1-pagination {
  display: flex;
  justify-content: center;
  gap: var(--g1-space-2);
  margin-top: var(--g1-space-8);
}
.g1-pagination .page-numbers {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding-inline: var(--g1-space-3);
  border: var(--g1-border);
  border-radius: var(--g1-radius-sm);
  font-family: var(--g1-font-ui);
  font-weight: var(--g1-weight-semibold);
  color: var(--g1-text-muted);
  transition: all var(--g1-duration-fast) var(--g1-ease-out);
}
.g1-pagination .page-numbers:hover { color: var(--g1-text); border-color: var(--g1-text); }
.g1-pagination .page-numbers.current {
  background: var(--g1-text);
  border-color: var(--g1-text);
  color: var(--g1-text-invert);
}

/* --------------------------------------------------------------------------
   Notices
   ------------------------------------------------------------------------ */
.g1-notice {
  padding: var(--g1-space-4) var(--g1-space-5);
  border-left: 3px solid var(--g1-line-strong);
  background: var(--g1-surface-2);
  border-radius: var(--g1-radius-sm);
  font-size: var(--g1-text-body-s);
}
.g1-notice--success { border-left-color: var(--g1-success); }
.g1-notice--error { border-left-color: var(--g1-error); }
.g1-notice--info { border-left-color: var(--g1-red); }

/* --------------------------------------------------------------------------
   Contact form
   ------------------------------------------------------------------------ */
.g1-contact { max-width: 720px; }

.g1-contact__form { display: grid; gap: var(--g1-space-5); margin-top: var(--g1-space-6); }

.g1-contact__row { display: grid; gap: var(--g1-space-5); grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .g1-contact__row { grid-template-columns: 1fr 1fr; }
}

/* Honeypot. Off-screen rather than display:none — some bots skip hidden
   fields, but almost all of them fill a positioned one. */
.g1-contact__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.g1-contact .g1-notice ul { display: grid; gap: var(--g1-space-2); }
.g1-contact .g1-notice li { list-style: disc; margin-left: 1.1rem; }

.g1-contact__form .g1-btn { justify-self: start; }

@media (max-width: 480px) {
  .g1-contact__form .g1-btn { justify-self: stretch; }
}

/* --------------------------------------------------------------------------
   Breadcrumb

   Lives here, not in woocommerce.css. page.php and single.php render a
   breadcrumb on every content page and blog post, but woocommerce.css only
   loads in shop contexts — so on About, Contact, FAQ, the policy pages and
   every article the <ol> fell back to browser defaults and stacked vertically
   with list indentation.
   ------------------------------------------------------------------------ */
.g1-breadcrumb { margin-bottom: var(--g1-space-5); font-size: var(--g1-text-micro); color: var(--g1-text-subtle); }
.g1-breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--g1-space-2); }
.g1-breadcrumb li + li::before { content: "/"; margin-right: var(--g1-space-2); color: var(--g1-line-strong); }
.g1-breadcrumb a:hover { color: var(--g1-text); }

/* An article with no featured image renders as a text card rather than a
   striped placeholder. Padding the top replaces the missing media block so the
   card still fills its grid cell instead of looking like a hole in the row. */
.g1-card--textonly .g1-card__body {
  /* The grid stretches every card to the tallest in the row, so without this
     the copy pins to the top and leaves a column of dead space underneath. */
  justify-content: center;
  padding-top: var(--g1-space-6);
  border-top: 3px solid var(--g1-red);
}
