/* =========================================================
   Gerbs Kosher Certification page — hero section styles.
   inc/kosher-page.php registers [gerbs_kosher_hero] and
   enqueues this file on is_page('kosher-certification').

   Class prefix: .gkosher-* (unique; no collision risk).
   Tokens: inherits from gerbs-tokens.css (declared dep).
   Breakpoints: 1024px (collapse to 1-col), 560px (phone)
   ========================================================= */

/* =========================================================
   Hero section wrapper
   ========================================================= */
.gkosher-hero {
  padding: 56px 24px 40px;
  font-family: var(--ff-body);
  box-sizing: border-box;
}
.gkosher-hero *,
.gkosher-hero *::before,
.gkosher-hero *::after {
  box-sizing: border-box;
}

/* =========================================================
   Two-column yellow card (Version B — Trust hero)
   ========================================================= */
.gkosher-card {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: var(--gerbs-yellow);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ---- Left column — headline + CTA ---- */
.gkosher-left {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gkosher-eyebrow {
  display: block;
  font-size: var(--fs-12);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
  color: var(--gerbs-blue);
  margin-bottom: 12px;
}

.gkosher-title {
  font-family: var(--ff-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-32);
  line-height: 1.15;
  color: var(--gerbs-ink);
  margin: 0 0 14px;
  letter-spacing: var(--ls-tight);
  text-wrap: balance;
}

.gkosher-lead {
  font-size: var(--fs-16);
  line-height: 1.6;
  color: #3d3a2c;
  margin: 0 0 26px;
  max-width: 42ch;
  text-wrap: pretty;
}

.gkosher-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  font-family: var(--ff-body);
  font-size: var(--fs-16);
  font-weight: var(--fw-semibold);
  padding: 12px 24px;
  min-height: 44px;
  border-radius: var(--radius-pill);
  background: var(--gerbs-blue);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.gkosher-btn:hover {
  background: var(--gerbs-blue-hover);
  text-decoration: none;
  color: #fff;
}
.gkosher-btn:active { background: var(--gerbs-blue-press); }
.gkosher-btn:focus-visible {
  outline: var(--focus-ring-width) solid var(--focus-ring-color);
  outline-offset: var(--focus-ring-offset);
}

/* ---- Right column — white panel ---- */
.gkosher-panel {
  background: #fff;
  margin: 18px;
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-md);
}

.gkosher-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gkosher-seal {
  width: 56px;
  height: 56px;
  color: var(--gerbs-blue);
  flex-shrink: 0;
  display: block;
}
.gkosher-seal svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gkosher-panel-name {
  font-family: var(--ff-display);
  font-size: var(--fs-20);
  font-weight: var(--fw-bold);
  display: block;
  color: var(--gerbs-ink);
  margin: 0;
}

.gkosher-panel-sub {
  display: block;
  font-size: var(--fs-12);
  color: var(--gerbs-ink-70);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  font-weight: var(--fw-semibold);
  margin-top: 2px;
}

/* ---- Proof points ---- */
.gkosher-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gkosher-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
}

.gkosher-points svg {
  width: 22px;
  height: 22px;
  color: var(--gerbs-blue);
  margin-top: 1px;
  flex-shrink: 0;
}

.gkosher-points b {
  font-size: var(--fs-14);
  font-weight: var(--fw-bold);
  color: var(--gerbs-ink);
  display: block;
}

.gkosher-points p {
  margin: 2px 0 0;
  font-size: var(--fs-14);
  line-height: 1.45;
  color: var(--gerbs-ink-70);
}

/* =========================================================
   Sellers band sub-line icon support (kosher-specific)
   .gkosher-sechead-sub is added alongside .gmerch-sechead__sub
   in gerbs_kosher_sellers_render() so the SVG check aligns inline.
   ========================================================= */
.gkosher-sechead-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gkosher-sechead-sub svg {
  width: 16px;
  height: 16px;
  color: var(--gerbs-blue);
  flex-shrink: 0;
}

/* =========================================================
   Responsive
   ========================================================= */

/* Tablet — collapse to single column */
@media (max-width: 1024px) {
  .gkosher-card {
    grid-template-columns: 1fr;
  }
  .gkosher-panel {
    margin: 0 18px 18px;
  }
}

/* Phone */
@media (max-width: 560px) {
  .gkosher-hero {
    padding: 40px 16px 32px;
  }
  .gkosher-left {
    padding: 32px 24px;
  }
  .gkosher-lead {
    max-width: none;
  }
}
