/* Event department styles are intentionally namespaced and leave shared pages untouched. */
.event-department {
  --event-blue: var(--blue, #164d72);
  --event-deep: var(--blue-deep, #103b5b);
  --event-red: var(--red, #b83e3a);
  --event-ink: var(--ink, #223443);
  --event-muted: var(--ink-soft, #51616c);
  --event-line: var(--line, #d9e0e2);
  color: var(--event-ink);
}

.event-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: stretch;
  min-height: 480px;
  background: #f8faf9;
  border-bottom: 1px solid var(--event-line);
}

.event-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 7vw, 90px) clamp(30px, 6vw, 86px) clamp(42px, 7vw, 90px) max(32px, calc((100vw - var(--content, 1240px)) / 2));
}

.event-hero-copy .eyebrow { margin-bottom: 18px; }
.event-hero-copy h1 {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--event-deep);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(2.55rem, 4.6vw, 4.45rem);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.12;
}
.event-hero-subhead {
  max-width: 540px;
  margin-bottom: 13px;
  color: var(--event-red);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.2rem, 2vw, 1.62rem);
  line-height: 1.42;
}
.event-hero-intro {
  max-width: 545px;
  margin-bottom: 0;
  color: var(--event-muted);
  font-size: clamp(1.03rem, 1.3vw, 1.16rem);
  line-height: 1.65;
}
.event-hero-image {
  position: relative;
  min-height: 400px;
  margin: 0;
  overflow: hidden;
  background: #e6ece8;
}
.event-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  object-position: center;
}
.event-hero-image figcaption {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 10px 15px;
  color: var(--event-deep);
  background: rgba(255, 255, 255, .95);
  border-left: 2px solid var(--event-red);
  font-size: .91rem;
  font-weight: 650;
}

.event-product-section {
  width: min(calc(100% - 64px), var(--content, 1240px));
  margin-inline: auto;
  padding-block: clamp(58px, 7vw, 88px);
}
.event-product-section + .event-product-section { border-top: 1px solid var(--event-line); }
.event-section-heading { margin-bottom: 34px; }
.event-section-heading .eyebrow { margin-bottom: 12px; }
.event-section-heading h2 {
  margin: 0;
  color: var(--event-deep);
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.22;
}
.event-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}
.event-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--event-line);
  transition: box-shadow .2s ease, transform .2s ease;
}
.event-product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow, 0 16px 40px rgba(25, 54, 70, .1)); }
.event-product-photo {
  position: relative;
  display: grid;
  height: 268px;
  place-items: center;
  overflow: hidden;
  background: #f4f6f4;
  text-decoration: none;
}
.event-product-photo img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
  transition: transform .25s ease;
}
.event-product-card:hover .event-product-photo img { transform: scale(1.02); }
.event-photo-caption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 9px;
  color: var(--event-deep);
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(217, 224, 226, .9);
  font-size: .78rem;
  line-height: 1.35;
}
.event-product-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 22px 21px;
}
.event-product-number {
  margin-bottom: 7px;
  color: var(--event-red);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.event-product-copy h3 {
  margin-bottom: 8px;
  color: var(--event-deep);
  font-family: var(--serif, Georgia, serif);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.38;
}
.event-product-copy h3 a { color: inherit; text-decoration: none; }
.event-product-copy h3 a:hover { color: var(--event-red); text-decoration: underline; text-underline-offset: .16em; }
.event-product-configuration { margin: 0 0 12px; color: var(--event-ink); font-size: .9rem; line-height: 1.45; }
.event-product-use-case { margin-bottom: 12px; color: var(--event-muted); line-height: 1.52; }
.event-product-customization {
  margin: auto 0 12px;
  padding-top: 13px;
  color: var(--event-blue);
  border-top: 1px solid var(--event-line);
  font-weight: 650;
}
.event-product-price { display: flex; align-items: baseline; gap: 5px; margin: 0 0 14px; color: var(--event-deep); }
.event-product-price strong { font-size: 1.34rem; font-variant-numeric: tabular-nums; }
.event-product-price span { color: var(--event-muted); font-size: .9rem; }
.event-quote-only {
  margin: 0 0 14px;
  padding: 5px 10px;
  color: var(--event-deep);
  background: #f5f8f8;
  border: 1px solid #c8d6da;
  font-size: .87rem;
  font-weight: 700;
}
.event-availability-note {
  margin: 0 0 14px;
  padding: 10px 12px;
  color: #60441f;
  background: #fff8eb;
  border-left: 3px solid #c69b57;
  font-size: .88rem;
  line-height: 1.45;
}
.event-product-actions { display: grid; width: 100%; gap: 9px; }
.event-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: .97rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.event-action-primary { color: #fff; background: var(--event-blue); border-color: var(--event-blue); }
.event-action-primary:hover { color: #fff; background: var(--event-deep); border-color: var(--event-deep); }
.event-action-secondary { color: var(--event-deep); background: #fff; border-color: #9fb4bd; }
.event-action-secondary:hover { color: #fff; background: var(--event-red); border-color: var(--event-red); }
.event-product-detail-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--event-blue);
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
}
.event-product-detail-link:hover { color: var(--event-red); text-decoration: underline; text-underline-offset: .18em; }

@media (max-width: 1050px) {
  .event-hero { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .event-hero-copy { padding-left: 24px; padding-right: 34px; }
  .event-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .event-hero { grid-template-columns: 1fr; }
  .event-hero-copy { padding: 48px 24px 37px; }
  .event-hero-copy h1 { font-size: clamp(2.55rem, 11vw, 3.6rem); }
  .event-hero-image, .event-hero-image img { min-height: 290px; max-height: 390px; }
  .event-hero-image figcaption { right: 14px; bottom: 14px; }
  .event-product-section { width: min(calc(100% - 40px), var(--content, 1240px)); padding-block: 53px; }
  .event-section-heading { margin-bottom: 25px; }
  .event-product-grid { grid-template-columns: 1fr; gap: 18px; }
  .event-product-photo { height: clamp(220px, 65vw, 330px); }
  .event-product-copy { padding: 20px; }
}
@media (max-width: 380px) {
  .event-hero-copy { padding-inline: 20px; }
  .event-product-section { width: calc(100% - 32px); }
  .event-product-copy { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .event-product-card, .event-product-photo img, .event-action { transition: none; }
  .event-product-card:hover, .event-product-card:hover .event-product-photo img { transform: none; }
}
