/* Event-specific color tokens and supporting modules for the Health 360 layout. */
.event-profile[data-theme="indigo"] { --navy:#092d39; --navy2:#28686e; --teal:#50dbcb; --mint:#e3f5f1; --paper:#f1f8f6; }
.event-profile[data-theme="plum"] { --navy:#211442; --navy2:#554683; --teal:#b9a9ff; --mint:#eeebfc; --paper:#f6f3fc; }
.event-profile[data-theme="violet"] { --navy:#151840; --navy2:#444085; --teal:#9fd8ff; --mint:#e9efff; --paper:#f2f4fa; }
.event-profile[data-theme="rose"] { --navy:#3f1831; --navy2:#814058; --teal:#ffc4d7; --mint:#fbeaf1; --paper:#fcf4f7; }
.event-profile[data-theme="teal"] { --navy:#092e36; --navy2:#185c5b; --teal:#82decc; --mint:#e3f7f1; --paper:#f2f9f6; }
.event-profile[data-theme="sage"] { --navy:#142e28; --navy2:#3b6656; --teal:#a7dec0; --mint:#e8f4ec; --paper:#f3f9f3; }
.event-profile[data-theme="azure"] { --navy:#112b4b; --navy2:#215d92; --teal:#aad8ff; --mint:#e5f2fb; --paper:#f2f7fb; }
.event-profile[data-theme="amber"] { --navy:#442d25; --navy2:#754638; --teal:#ffd0a1; --mint:#fbefe6; --paper:#fbf7f3; }
.event-profile { --ink:color-mix(in srgb, var(--navy) 89%, #1e4b5e); --line:color-mix(in srgb,var(--navy) 15%,#fff); }
.event-profile .eyebrow:not(.light), .event-profile .card-index, .event-profile .theme .n {
  color: var(--navy2);
}
.event-profile .eyebrow.light { color: var(--teal); }
.event-profile :is(a, button, input, textarea, summary):focus-visible { outline: 2px solid #d28c38; outline-offset: 4px; }
.event-profile .hero { min-height: 560px; }
.event-profile .hero::before { content: none; }
.event-profile__hero-image {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 73%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}
.event-profile .hero::after {
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 27%, color-mix(in srgb, var(--navy) 88%, transparent) 39%, color-mix(in srgb, var(--navy) 40%, transparent) 57%, transparent 83%);
}
.event-profile .hero-inner { padding-block: clamp(72px, 8vw, 114px) clamp(64px, 7.5vw, 105px); }
.event-profile .hero h1 { max-width: 720px; font-size: clamp(41px, 5.1vw, 73px); overflow-wrap: anywhere; }
.event-profile .hero h1 span {
  display: block;
  margin-top: 14px;
  font-size: .48em;
  letter-spacing: -.04em;
  line-height: 1.24;
  color: #e7f4f5;
}
.event-profile .hero .lead { max-width: min(51vw, 555px); }
.event-profile .hero-meta { margin-top: 34px; gap: 12px 25px; }
.event-profile .hero .kicker {
  background: color-mix(in srgb, var(--navy2) 70%, transparent);
  border-color: color-mix(in srgb, var(--teal) 58%, transparent);
}
.event-profile .btn.primary:hover { background: color-mix(in srgb, var(--teal) 86%, #fff); }
.event-profile .audience, .event-profile .next { background: linear-gradient(115deg, var(--navy), var(--navy2)); }
.event-profile .concept-art {
  margin: 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: linear-gradient(135deg, var(--mint), #fff 57%, color-mix(in srgb, var(--teal) 30%, #fff));
  box-shadow: 0 15px 42px color-mix(in srgb, var(--navy) 12%, transparent);
}
.event-profile .concept-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 19px;
}
.event-profile .section { padding-block: clamp(45px, 6vw, 84px); }
.event-profile .info-card a, .event-profile .overview-status a, .event-profile .speaker-specialty { color: var(--navy2); }
.event-profile .speaker-art:not(.speaker-art--portrait) { background: linear-gradient(115deg, var(--navy), var(--navy2)); }
.event-profile .event-facts-context { margin: 0 auto 14px; font-size: 13px; color: #e1edf0; }
.event-profile .facts-grid strong { color: #ffd08d; }
.event-profile .fact--empty { font-size: 13px; }
.info-card .card-format { display: block; margin-top: 14px; color: var(--navy2); font-weight: 750; font-size: 13px; }
.event-evidence-list { display: grid; gap: 14px; }
.event-evidence .evidence-label { display: block; color: var(--navy2); font-size: .8rem; font-weight: 800; }
.event-evidence header h3 { margin: .5rem 0 1rem; }
.event-evidence__metrics { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 190px),1fr)); gap: .65rem; margin: 0; }
.event-evidence__metrics > div { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 11px; padding: .65rem .8rem; }
.event-evidence__metrics dt { order: 1; line-height: 1.35; }
.event-evidence__metrics dd { margin: 0; color: var(--navy); font-size: 1.38rem; font-weight: 800; }
.event-evidence__metrics .event-metric-note { order: 2; padding-top: .25rem; color: var(--muted); font-size: .8rem; font-weight: 500; }
.event-source-note { margin: 0; padding: 1rem; border-left: 3px solid var(--navy2); background: var(--mint); border-radius: 0 8px 8px 0; }
.event-timeline { list-style: none; padding: 0; margin: 0; }
.event-timeline li { display: grid; grid-template-columns: minmax(135px, .32fr) minmax(0, 1fr); gap: 12px; border-bottom: 1px solid var(--line); padding-block: 13px; }
.event-timeline__date { display: grid; align-content: start; gap: 2px; }
.event-timeline__date small { color: var(--muted); }
.event-timeline__date time { font-weight: 800; }
.event-timeline h3, .event-timeline p { margin: 0 0 .2rem; }
.event-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; }
.event-links a, .event-recording { color: var(--navy2); font-weight: 750; text-underline-offset: .16em; }
.event-archive { margin-top: 1.2rem; }
.event-archive summary { cursor: pointer; font-weight: 800; margin-bottom: 1rem; }
.event-recording-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 12px; margin-top: 1rem; }
.event-recording { border: 1px solid var(--line); border-radius: 11px; padding: 12px; background: #fff; }
.event-recording small { display: block; font-weight: 500; color: var(--muted); }
.event-video-table { overflow-x: auto; padding: 12px; margin-top: 14px; border: 1px solid var(--line); border-radius: 11px; }
.event-video-table table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.event-video-table caption { padding-bottom: .5rem; text-align: start; font-weight: 800; }
.event-video-table th, .event-video-table td { padding: .45rem; border-bottom: 1px solid var(--line); text-align: right; }
.event-video-table th:first-child { text-align: left; }
.event-video-table p { margin: .55rem 0 0; color: var(--muted); font-size: .82rem; }
.event-profile .event-form__draft textarea { background: var(--paper); }
.event-profile .event-form__draft a, .event-profile .event-form__draft button {
  background: transparent;
  color: var(--navy2);
  padding: 3px;
  text-decoration: underline;
  font-weight: 700;
}
@media (max-width: 850px) {
  .event-profile__hero-image { width: 100%; object-position: 68% center; }
  .event-profile .hero::after { background: linear-gradient(90deg, color-mix(in srgb, var(--navy) 96%, transparent), color-mix(in srgb, var(--navy) 54%, transparent)); }
  .event-profile .hero .lead { max-width: 49ch; }
}
@media (max-width: 620px) {
  .event-profile .hero { min-height: 0; }
  .event-profile__hero-image { height: 63%; object-position: center center; }
  .event-profile .hero::after { background: linear-gradient(180deg, color-mix(in srgb, var(--navy) 44%, transparent), var(--navy) 57%); }
  .event-profile .hero-inner { padding-block: 64px 54px; }
  .event-profile .hero h1 { font-size: clamp(34px, 9vw, 51px); }
  .event-timeline li { grid-template-columns: 1fr; gap: .3rem; }
}
.event-profile .profile-dates { margin-top: 1.25rem; scroll-margin-top: 105px; }
.event-profile .profile-dates article { scroll-margin-top: 105px; }
.event-profile .profile-dates h3 { margin-top: .7rem; }
.event-profile .event-source-note + .event-evidence-list { margin-top: 14px; }
.event-profile .speaker-topic { margin-top: .65rem; }
.event-profile .facts-grid { grid-template-columns: repeat(var(--event-facts-count), minmax(0, 1fr)); }
@media (max-width: 900px) {
  .event-profile .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.event-profile .evidence-source { display: inline-block; margin-top: .8rem; font-size: .86rem; font-weight: 750; }
.event-profile { --muted: #4f6473; }
.event-profile .format-card .label, .event-profile .card-kicker { color: var(--navy2); }

.event-profile #directions { background: linear-gradient(160deg, #fff, var(--paper)); }
.event-profile #directions .themes-grid { margin-top: 27px; gap: 16px; }
.event-profile #directions .theme {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: clamp(17px, 2vw, 26px);
  border-top: 4px solid var(--teal);
}
.event-profile #directions .theme:nth-child(3n+2) { border-top-color: color-mix(in srgb, var(--teal) 54%, #f38f4f); }
.event-profile #directions .theme:nth-child(3n+3) { border-top-color: color-mix(in srgb, var(--teal) 54%, #9690e8); }
.event-profile .theme::after { background: var(--mint); }
.event-profile .theme h3 { margin: 17px 0 8px; }
.event-profile .theme p { font-size: .88rem; }
.event-profile .theme-topics {
  display: grid;
  gap: .35rem;
  margin: .8rem 0;
  padding-inline-start: 1.08rem;
  color: var(--ink);
  font-size: .84rem;
  line-height: 1.45;
}
.event-profile .theme-topics li::marker { color: var(--navy2); }
.event-profile .theme a {
  align-self: start;
  margin-top: auto;
  padding-top: .35rem;
  color: var(--navy2);
  font-size: .8rem;
  font-weight: 750;
  text-underline-offset: .18em;
}
.event-profile .partner-formats { padding-block: clamp(38px, 5vw, 65px); }
.partner-formats {
  color: #fff;
  background: radial-gradient(ellipse at 92% 4%, var(--navy2), transparent 70%), var(--navy);
}
.event-profile .partner-formats h2 { margin: 0; color: #fff; font-size: clamp(29px, 3.6vw, 48px); }
.partner-formats__heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px 36px; margin-bottom: 20px; }
.partner-formats__heading p { max-width: 42ch; margin: 0; color: #e5eff1; }
.partner-formats__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.partner-formats__grid article {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(15px, 2.1vw, 25px);
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 16px;
  background: color-mix(in srgb, var(--navy) 78%, #fff);
}
.partner-formats__grid h3 { margin: 0; color: #fff; font: 800 1.06rem/1.36 Manrope,sans-serif; }
.partner-formats__grid p { margin: 0 0 9px; color: #e5eff1; font-size: .9rem; }
.partner-formats__grid a {
  display: inline-flex;
  align-items: center;
  align-self: start;
  min-height: 42px;
  margin-top: auto;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--teal);
  font-size: .85rem;
  font-weight: 800;
  text-decoration: none;
}
.partner-formats__grid a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .partner-formats__grid { grid-template-columns: 1fr; }
  .partner-formats__heading { display: block; }
  .partner-formats__heading p { margin-top: 10px; }
}
