/* BongKnot catering hub and service pages.
   Prefixed bks- and scoped to .bks. The theme owns bk-, the menu page owns
   bkm-, the restaurant page owns bkr-. Buttons are reused from the theme and
   never redefined; the one addition is .bk-btn--ghost, which exists only for
   the maroon bands where the theme's outlined button would be invisible.
   Tokens come from the theme's :root. */

.bks {
  --bks-ink: var(--ink, #241512);
  --bks-ivory: var(--ivory-ground, #FAF6EF);
  --bks-paper: #F2EBE0;
  --bks-surface: var(--surface, #FFFFFF);
  --bks-maroon: var(--maroon, #7A1220);
  --bks-maroon-deep: var(--maroon-deep, #5A0D18);
  --bks-gold: var(--gold, #B08A3E);
  --bks-muted: var(--muted, #6E5A50);
  --bks-line: var(--line, #E3DACB);
  --bks-pad: clamp(52px, 7vw, 100px);

  display: block;
  background: var(--bks-ivory);
  color: var(--bks-ink);
}

/* Hello Elementor caps .site-main at 1140px with a selector of the same
   specificity as body.bks-page, and its stylesheet is printed after this one.
   The leading html wins the tie so the colour bands reach the edges. */
html body.bks-page .site-main,
html body.bks-page .page-content {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
html body.bks-page .page-header { display: none; }

.bks .bks-inner {
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

.bks p { margin: 0 0 1rem; }
.bks p:last-child { margin-bottom: 0; }

.bks .bks-label {
  font-family: var(--font-body, Karla), system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bks-gold);
  margin: 0 0 14px;
}

.bks .bks-note {
  max-width: 62ch;
  margin: 14px 0 0;
  color: var(--bks-muted);
  line-height: 1.7;
}

/* ---------- Buttons on maroon ---------- */
body .bks a.bk-btn--ghost {
  background: transparent;
  color: var(--bks-ivory);
  border-color: rgba(250, 246, 239, 0.6);
  text-decoration: none;
}
body .bks a.bk-btn--ghost:hover {
  background: var(--bks-ivory);
  color: var(--bks-maroon-deep);
  border-color: var(--bks-ivory);
}
.bks .bks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Hero ---------- */
.bks .bks-hero {
  background: var(--bks-maroon-deep);
  color: var(--bks-ivory);
  padding-block: clamp(56px, 8vw, 104px);
}
.bks .bks-hero h1 {
  color: var(--bks-ivory);
  max-width: 19ch;
  text-wrap: balance;
  margin: 0;
}
.bks .bks-hero .bks-label { color: rgba(250, 246, 239, 0.8); letter-spacing: 0.1em; }
.bks .bks-hero .bks-lede {
  margin: 20px 0 0;
  max-width: 52ch;
  font-size: 1.125rem;
  line-height: 1.65;
  color: rgba(250, 246, 239, 0.88);
}
.bks .bks-crumb {
  margin-bottom: 18px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body .bks .bks-crumb a {
  color: rgba(250, 246, 239, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(250, 246, 239, 0.3);
  padding-bottom: 2px;
}
body .bks .bks-crumb a:hover { color: var(--bks-ivory); border-bottom-color: var(--bks-gold); }

/* ---------- Opening: prose beside a short list ---------- */
.bks .bks-open { background: var(--bks-ivory); padding-block: var(--bks-pad); }
.bks .bks-open .bks-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.bks .bks-prose p {
  max-width: 56ch;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--bks-ink);
}
.bks .bks-prose p + p { margin-top: 1.1rem; color: var(--bks-muted); }

.bks .bks-covers h2 { font-size: 1.25rem; margin: 0 0 16px; }
.bks .bks-covers ul { list-style: none; margin: 0; padding: 0; }
.bks .bks-covers li {
  padding: 11px 0 11px 18px;
  border-top: 1px solid var(--bks-line);
  position: relative;
  font-size: 0.9375rem;
  color: var(--bks-ink);
}
.bks .bks-covers li:last-child { border-bottom: 1px solid var(--bks-line); }
.bks .bks-covers li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  border-top: 1px solid var(--bks-gold);
}

/* ---------- Live counts (hub) ---------- */
.bks .bks-stats { display: grid; gap: 22px; }
.bks .bks-stats div {
  padding-left: 18px;
  border-left: 1px solid var(--bks-gold);
}
.bks .bks-stats strong {
  display: block;
  font-family: var(--font-heading, Marcellus), Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  line-height: 1;
  color: var(--bks-maroon);
  font-variant-numeric: tabular-nums;
}
.bks .bks-stats span {
  display: block;
  margin-top: 7px;
  font-size: 0.8125rem;
  color: var(--bks-muted);
  max-width: 26ch;
}

/* ---------- The rule this event carries ---------- */
.bks .bks-rule { background: var(--bks-paper); padding-block: var(--bks-pad); }
.bks .bks-rule .bks-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.bks .bks-rule h2 { margin: 0 0 18px; font-size: clamp(1.625rem, 2.8vw, 2.25rem); max-width: 18ch; }
.bks .bks-rule p { max-width: 52ch; color: var(--bks-muted); line-height: 1.75; }
.bks .bks-musts { list-style: none; margin: 0; padding: 0; }
.bks .bks-musts li {
  padding: 14px 0 14px 26px;
  border-bottom: 1px solid rgba(36, 21, 18, 0.1);
  position: relative;
  line-height: 1.6;
}
.bks .bks-musts li:first-child { border-top: 1px solid rgba(36, 21, 18, 0.1); }
.bks .bks-musts li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 23px;
  width: 14px;
  border-top: 1px solid var(--bks-gold);
}

/* ---------- Menu cards ---------- */
.bks .bks-menus { background: var(--bks-ivory); padding-block: var(--bks-pad); }
.bks .bks-menus h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.bks .bks-group {
  margin: 40px 0 0;
  font-size: 1.0625rem;
  font-family: var(--font-body, Karla), system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bks-muted);
}
.bks .bks-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.bks .bks-card {
  display: flex;
  flex-direction: column;
  background: var(--bks-surface);
  border: 1px solid var(--bks-line);
  border-radius: var(--radius, 3px);
  padding: 24px;
}
.bks .bks-card-id {
  margin: 0 0 10px;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--bks-gold);
  font-variant-numeric: tabular-nums;
}
.bks .bks-card h4 {
  margin: 0 0 8px;
  font-family: var(--font-heading, Marcellus), Georgia, serif;
  font-size: 1.375rem;
  line-height: 1.2;
}
.bks .bks-card-tag { margin: 0 0 18px; font-size: 0.9rem; color: var(--bks-muted); line-height: 1.55; }
.bks .bks-spec { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--bks-line); }
.bks .bks-spec li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--bks-line);
  font-size: 0.8125rem;
}
.bks .bks-spec span { color: var(--bks-muted); }
.bks .bks-spec strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.bks .bks-price {
  margin: 0 0 18px;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
  color: var(--bks-maroon);
}
.bks .bks-price span {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bks-muted);
  margin-bottom: 3px;
}
.bks .bks-price small { font-size: 0.75rem; color: var(--bks-muted); }
body .bks a.bks-card-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bks-maroon);
  text-decoration: none;
  border-bottom: 1px solid var(--bks-gold);
  padding-bottom: 3px;
}
body .bks a.bks-card-link:hover { color: var(--bks-maroon-deep); border-bottom-color: var(--bks-maroon); }

.bks .bks-disclaimer {
  margin: 28px 0 0;
  max-width: 74ch;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--bks-muted);
  padding-left: 16px;
  border-left: 1px solid var(--bks-line);
}

/* ---------- Service formats, one line ---------- */
.bks .bks-formats {
  background: var(--bks-ivory);
  border-top: 1px solid var(--bks-line);
  border-bottom: 1px solid var(--bks-line);
  padding-block: 26px;
}
.bks .bks-formats p { font-size: 0.9375rem; color: var(--bks-muted); }
.bks .bks-formats strong { color: var(--bks-ink); }

/* ---------- Questions ---------- */
.bks .bks-faq { background: var(--bks-ivory); padding-block: var(--bks-pad); }
.bks .bks-faq h2 { margin: 0 0 8px; font-size: clamp(1.625rem, 2.6vw, 2.125rem); }
.bks .bks-faq dl { margin: 0; max-width: 78ch; }
.bks .bks-faq dt {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--bks-line);
  font-family: var(--font-heading, Marcellus), Georgia, serif;
  font-size: 1.1875rem;
}
.bks .bks-faq dd { margin: 10px 0 0; color: var(--bks-muted); line-height: 1.75; max-width: 66ch; }

/* ---------- Sideways links ---------- */
.bks .bks-siblings { background: var(--bks-paper); padding-block: clamp(36px, 5vw, 60px); }
.bks .bks-siblings ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
body .bks .bks-siblings a {
  font-size: 0.9375rem;
  color: var(--bks-ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
body .bks .bks-siblings a:hover { color: var(--bks-maroon); border-bottom-color: var(--bks-gold); }

/* ---------- Hub: the eight tiles ---------- */
.bks .bks-grid-wrap { background: var(--bks-paper); padding-block: var(--bks-pad); }
.bks .bks-grid-wrap h2 { margin: 0 0 30px; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.bks .bks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 18px;
}
body .bks a.bks-tile {
  display: flex;
  flex-direction: column;
  background: var(--bks-surface);
  border: 1px solid var(--bks-line);
  border-radius: var(--radius, 3px);
  padding: 26px 24px;
  text-decoration: none;
  color: var(--bks-ink);
  transition: border-color 160ms ease, transform 160ms ease;
}
body .bks a.bks-tile:hover { border-color: var(--bks-maroon); transform: translateY(-2px); }
.bks .bks-tile h3 {
  margin: 0 0 10px;
  font-size: 1.3125rem;
  line-height: 1.22;
  color: var(--bks-ink);
}
.bks .bks-tile p { margin: 0 0 20px; font-size: 0.9rem; color: var(--bks-muted); line-height: 1.6; }
.bks .bks-tile-go {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bks-maroon);
}
.bks .bks-tile-go::after { content: ' \2192'; }

/* ---------- Hub: service formats ---------- */
.bks .bks-serve { background: var(--bks-ivory); padding-block: var(--bks-pad); }
.bks .bks-serve h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.bks .bks-serve-list {
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0 32px;
}
.bks .bks-serve-item { min-width: 0; }
.bks .bks-serve-list dt {
  padding-top: 18px;
  border-top: 1px solid var(--bks-gold);
  font-family: var(--font-heading, Marcellus), Georgia, serif;
  font-size: 1.1875rem;
}
.bks .bks-serve-list dd { margin: 9px 0 30px; color: var(--bks-muted); font-size: 0.9375rem; line-height: 1.65; }

/* ---------- Hub: the sequence ---------- */
.bks .bks-steps { background: var(--bks-paper); padding-block: var(--bks-pad); }
.bks .bks-steps h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.bks .bks-step-list {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 28px;
  counter-reset: none;
}
.bks .bks-step-list li { padding-top: 18px; border-top: 1px solid rgba(36, 21, 18, 0.14); }
.bks .bks-step-n {
  display: block;
  font-family: var(--font-heading, Marcellus), Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--bks-gold);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
}
.bks .bks-step-list h3 { margin: 0 0 8px; font-size: 1.1875rem; line-height: 1.25; }
.bks .bks-step-list p { font-size: 0.9375rem; color: var(--bks-muted); line-height: 1.65; }

/* ---------- Closing call to action ---------- */
.bks .bks-cta {
  background: var(--bks-maroon);
  color: var(--bks-ivory);
  padding-block: clamp(56px, 8vw, 104px);
}
.bks .bks-cta h2 { color: var(--bks-ivory); margin: 0; font-size: clamp(1.875rem, 3.4vw, 2.75rem); }
.bks .bks-cta p { margin: 18px 0 0; max-width: 54ch; color: rgba(250, 246, 239, 0.82); line-height: 1.7; }

/* ---------- Narrow screens ---------- */
@media (max-width: 900px) {
  .bks .bks-open .bks-inner,
  .bks .bks-rule .bks-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .bks .bks-hero h1,
  .bks .bks-rule h2 { max-width: none; }
  .bks .bks-stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; }
}
@media (max-width: 480px) {
  .bks .bks-actions { flex-direction: column; align-items: stretch; }
  .bks .bks-actions .bk-btn { text-align: center; }
}
