/* /hosted-events and /hosted-events/:slug */

.hx-hero {
  position: relative;
  overflow: hidden;
  min-height: min(62vh, 560px);
  display: flex;
  align-items: center;
  padding: clamp(36px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
}
.hx-hero--detail { min-height: 0; }
.hx-hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hx-hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.5;
  animation: hx-glow 18s ease-in-out infinite;
}
.hx-hero__glow--a {
  width: 46vw;
  height: 46vw;
  left: -12%;
  top: -18%;
  background: radial-gradient(circle, color-mix(in srgb, #C67C4E 30%, transparent), transparent 68%);
}
.hx-hero__glow--b {
  width: 34vw;
  height: 34vw;
  right: -8%;
  bottom: -16%;
  background: radial-gradient(circle, color-mix(in srgb, #4FA0EA 18%, transparent), transparent 68%);
  animation-delay: -8s;
}
.hx-hero__stubs em {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid color-mix(in srgb, var(--bv-line) 55%, transparent);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--bv-ink) 50%, transparent);
  transform: rotate(var(--r));
}
.hx-hero__copy {
  position: relative;
  max-width: 38em;
  padding-inline-start: clamp(20px, 4vw, 56px);
}
.hx-hero__copy::before {
  content: "";
  position: absolute;
  inset: -28px -36px -36px -40px;
  background: radial-gradient(ellipse at 30% 40%, color-mix(in srgb, var(--bv-cream) 92%, transparent), transparent 72%);
  pointer-events: none;
  z-index: -1;
}
.hx-hero__inner {
  position: relative;
  z-index: 1;
}
.hx-hero__inner--detail {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hx-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.3vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.06;
  max-width: 14em;
}
.hx-hero h1 em {
  font-style: normal;
  background: var(--bv-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hx-hero__lede {
  margin: 18px 0 0;
  max-width: 34em;
  color: var(--bv-muted);
  font-size: 16px;
  line-height: 1.65;
}
.hx-meta {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--bv-muted);
  font-size: 15px;
  line-height: 1.5;
}
.hx-shot {
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--bv-line);
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.1);
}
.hx-shot img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.hx-shot--link { display: block; color: inherit; }

.hx-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 28px;
}
.hx-toolbar__label {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bv-muted);
}
.hx-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.hx-filter {
  appearance: none;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--bv-line);
  border-radius: 999px;
  background: var(--bv-paper);
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.hx-filter.is-on {
  background: var(--bv-ink);
  border-color: var(--bv-ink);
  color: #fff;
}
.hx-filter:focus-visible {
  outline: 2px solid #C67C4E;
  outline-offset: 3px;
}
.hx-list--one { grid-template-columns: minmax(0, 28rem); }
[data-hx-card][hidden],
[data-hx-empty][hidden] {
  display: none !important;
}
.hx-empty {
  margin: 8px 0 0;
  color: var(--bv-muted);
}

.hx-prose { max-width: 42em; }
.hx-prose h2 { margin: 0 0 16px; }
.hx-prose p {
  margin: 0 0 16px;
  color: var(--bv-muted);
  font-size: 16px;
  line-height: 1.7;
}
.hx-notes {
  margin: 8px 0 0;
  padding-left: 1.2em;
  color: var(--bv-muted);
  font-size: 16px;
  line-height: 1.7;
}

.hx-agenda {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.hx-agenda li {
  display: grid;
  grid-template-columns: minmax(7em, 9em) minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 16px 18px;
  border: 1px solid var(--bv-line);
  border-radius: 16px;
  background: var(--bv-paper);
}
.hx-agenda small {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #C67C4E;
}
.hx-agenda b {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hx-form {
  border: 1px solid var(--bv-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.hx-form iframe {
  display: block;
  width: 100%;
  min-height: 1680px;
  border: 0;
  background: #fff;
}
.hx-form__fallback {
  margin: 14px 0 0;
  color: var(--bv-muted);
  font-size: 14px;
}

@keyframes hx-glow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(3%, -5%, 0) scale(1.07); }
}

@media (max-width: 860px) {
  .hx-hero { min-height: 0; }
  .hx-hero__inner--detail { grid-template-columns: 1fr; }
  .hx-hero__stubs { display: none; }
  .hx-agenda li { grid-template-columns: 1fr; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-hero__glow { animation: none; }
}
