/* === service-event.css — layout adaptation for the Event & MICE page ===
   Re-composes the shared service-detail template into a card / pill /
   numbered-badge rhythm (soft rounded surfaces, circular step numbers,
   sticky section headers) while staying on brand tokens from style.css.
   No new copy — only new structural wrappers and presentation.
   Scoped to #service-event. */

.yh-svc-event {
  --ev-radius: 14px;
  --ev-surface: rgba(24, 23, 21, 0.035);
  --ev-surface-hover: rgba(24, 23, 21, 0.06);
}

/* INTRO — heading left, lead paragraph plain (no card) right ---------- */
.yh-svc-event .ev-intro__grid { align-items: stretch; }
.yh-svc-event .ev-card {
  display: flex; align-items: center;
}
.yh-svc-event .ev-figure {
  margin: 0 0 clamp(2rem, 4vw, 3rem)!important;
  border-radius: 0;
  position: relative;
}
.yh-svc-event .ev-figure img {
  height: clamp(200px, 26vw, 360px);
  border-radius: 0;
  transition: opacity 0.35s var(--ease-out);
}
/* Standards image crops to a short strip; anchor to the top so the
   staff's heads stay in frame instead of being cut off at center. */
.yh-svc-event .ev-figure img[src*="Event-3"] {
  object-position: center top;
}

/* TABS — full-width segmented switcher for produce / services / standards */
.yh-svc-event .ev-tabbar {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.yh-svc-event .ev-tab {
  appearance: none; border: none; cursor: pointer; flex: 1 1 0;
  padding: 0.85rem 1.6rem; border-radius: 0;
  font-family: var(--font-sans); font-weight: 500; font-size: 0.9rem;
  background: var(--ev-surface); color: var(--ink-muted);
  transition: background 0.25s ease, color 0.25s ease;
}
.yh-svc-event .ev-tab:hover { background: var(--ev-surface-hover); color: var(--c-black); }
.yh-svc-event .ev-tab.is-active { background: var(--c-blue); color: var(--c-cream); }
.yh-svc-event .ev-tab:focus-visible { outline: 2px solid var(--c-rust); outline-offset: 2px; }

.yh-svc-event .ev-tabpanel { display: none; }
.yh-svc-event .ev-tabpanel.is-active { display: block; }

@media (max-width: 640px) {
  /* stack full-width so all three tabs show at once, no scrolling needed */
  .yh-svc-event .ev-tabbar { flex-direction: column; flex-wrap: nowrap; }
  .yh-svc-event .ev-tab { width: 100%; }
}

/* WHAT WE PRODUCE — one category per line, right of the sticky head --- */
.yh-svc-event .ev-tabpanel[data-panel="categories"] .svc-index {
  columns: 1;
  max-width: 34rem;
}

/* OUR SERVICES / SIGNATURE STANDARDS — sticky head + numbered step cards */
.yh-svc-event .ev-steps__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.yh-svc-event .ev-steps__head {
  position: sticky; top: calc(var(--nav-h) + 2rem);
  margin: 0;
}

.yh-svc-event .ev-step-list {
  display: flex; flex-direction: column; gap: clamp(0.85rem, 1.6vw, 1.1rem);
  border-bottom: none;
}
.yh-svc-event .ev-step-card {
  grid-template-columns: 3rem 1fr;
  align-items: start;
  gap: 0.35rem 1.25rem;
  border-top: none;
  padding: clamp(1.35rem, 2.4vw, 1.75rem);
  background: var(--ev-surface);
  border: 1px solid var(--line);
  border-radius: var(--ev-radius);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.yh-svc-event .ev-step-card:hover { background: var(--ev-surface-hover); }
.yh-svc-event .ev-step-card .svc-item__no {
  grid-row: span 2;
  display: flex; align-items: center; justify-content: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--c-black); color: var(--c-cream);
  font-style: normal; font-size: 0.92rem;
  padding-top: 0.1em; /* optical centering for italic-free numerals */
}
.yh-svc-event .ev-step-card .svc-item__term { margin: 0.1rem 0 0; }
.yh-svc-event .ev-step-card .svc-item__desc { margin: 0; }

/* Signature standards panel — rust badge accent to set it apart ------- */
.yh-svc-event .ev-tabpanel[data-panel="standards"] .ev-step-card .svc-item__no {
  background: var(--c-rust); color: var(--c-cream);
}

/* CLOSING CTA — hairline separating it from the tabs content above ---- */
.yh-svc-event .svc-cta-block { border-top: 1px solid var(--line); }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 820px) {
  .yh-svc-event .ev-steps__grid { grid-template-columns: 1fr; }
  .yh-svc-event .ev-steps__head { position: static; }
}
@media (max-width: 720px) {
  .yh-svc-event .ev-intro__grid { grid-template-columns: 1fr; }
  .yh-svc-event .ev-step-card { grid-template-columns: 2.4rem 1fr; padding: 1.15rem; }
}
