/* ---------- Single event template ---------- */
.single-event #primary {
  margin-top: 0;

}

@media (max-width: 992px) {
  .single-event #primary {
    padding-top: 0;
  }
}

.single-event__hero {
  position: relative;
  padding: 96px 24px 110px;
  color: #fff;
  isolation: isolate;
  margin-bottom: 0;
}

.single-event__svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.single-event__hero-bg {
  position: absolute;
  top: 0;
  left: calc(-1 * (100vw - 100%) / 2);
  width: 100vw;
  height: 100%;
  background-color: #f1f5f9;
  background-image: url('/wp-content/uploads/2025/10/Rectangle-81-scaled.png');
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  z-index: -1;
  -webkit-clip-path: url(#single-event-hero-curve);
  clip-path: url(#single-event-hero-curve);
}

.single-event__hero::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100%;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  background-color: #f1f5f9;
  z-index: -1;
}

.single-event__hero.has-banner .single-event__hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 28, 64, 0.55) 0%,
    rgba(5, 28, 64, 0.9) 100%
  );
}

.single-event__hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 1200px) {
  .single-event__hero {
    padding-bottom: 130px;
  }
}

.single-event__hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.single-event__past-badge {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #fff;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.single-event__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.single-event__subheading {
  font-size: 1.125rem;
  margin: 0 auto 20px;
  max-width: 720px;
  opacity: 0.9;
}

.single-event__meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
}

.single-event__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.single-event__body {
  max-width: min(100%, 1400px);
  margin: 0 auto;
  padding: 48px 24px;
  --single-event-section-pad-top: 3.25rem;
  --single-event-section-gap: 48px;
}

/* In-page nav: transparent below hero, becomes a thin brand-blue bar when stuck. */
.single-event__nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f1f5f9;
  padding: 16px 0;
  /* border-top: 1px solid #FFF;
  border-bottom: 1px solid #FFF; */
  transition:
    background 0.2s ease,
    padding 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  width: 100vw;
  box-shadow: none;
}

.single-event__nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.single-event__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
}

.single-event__nav-link {
  display: inline-block;
  padding: 8px 4px;
  color: #051c40;
  font-family: 'proxima-nova', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition:
    color 0.15s ease,
    opacity 0.15s ease;
  min-height: 44px;
  line-height: 28px;
  opacity: 0.9;
}

.single-event__nav-link:hover,
.single-event__nav-link:focus-visible {
  opacity: 1;
}

.single-event__nav-link.is-active {
  position: relative;
}

.single-event__nav-link.is-active::after {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.single-event__nav-item--intro-combined {
  display: none;
}

.single-event__nav.is-stuck {
  background: #051c40;
  padding: 4px 0;
  border-top: none;
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 16px rgba(5, 28, 64, 0.18);
}

.single-event__nav.is-stuck .single-event__nav-link {
  color: #fff;
  font-size: 0.9rem;
  min-height: 40px;
  line-height: 24px;
  padding: 6px 4px;
}

.single-event__nav-sentinel {
  height: 0px;
  width: 100%;
  margin: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Account for the sticky nav (and any sticky main header above it) when
   smooth-scrolling to in-page anchors. JS sets `scroll-padding-top` directly
   on <html>; this per-element scroll-margin-top fallback covers the moment
   between page load and JS execution. */
.single-event [id] {
  scroll-margin-top: var(--single-event-anchor-offset, 180px);
}

@media (prefers-reduced-motion: reduce) {
  .single-event__nav {
    transition: none;
  }
}

.single-event__body > section {
  padding-top: var(--single-event-section-pad-top);
  margin-bottom: var(--single-event-section-gap);
}

.single-event__body
  > .single-event__intro-sections
  > .single-event__registration {
  padding-top: var(--single-event-section-pad-top);
  margin-bottom: var(--single-event-section-gap);
}

.single-event__body > section:last-child {
  margin-bottom: 0;
}

.single-event__body
  > .single-event__registration.single-event__registration--cta-in-agenda {
  margin-bottom: 0;
}

.single-event__body
  > .single-event__intro-sections
  > .single-event__registration.single-event__registration--cta-in-agenda {
  margin-bottom: 0;
}

.single-event__body
  > .single-event__countdown-section
  .single-event__countdown-acf {
  margin-top: 0;
}

.single-event__share .social-share {
  background-color: #1f3464;
  border-radius: 20px;
  color: #fff;
  padding: 20px 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 24px;
}

.single-event__share .social-share h3 {
  color: #fff;
  font-family: 'proxima-nova', Sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: capitalize;
  line-height: 42px;
  margin: 0;
}

.single-event__share .social-share .button {
  background-color: transparent;
  font-family: 'Poppins', Sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 30px;
  color: #fff;
  text-transform: uppercase;
  border: 2px solid #fff;
  border-radius: 100px;
  padding: 10px 20px;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.single-event__section-title {
  color: #051c40;
  font-weight: 700;
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  font-family: 'proxima-nova', sans-serif;
  line-height: 1.15;
}

.single-event__subsection-title {
  color: #051c40;
  font-weight: 700;
  margin: 40px 0 12px;
  font-family: 'proxima-nova', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  text-align: center;
}

.single-event__details {
  padding-top: 60px;
}

.single-event__details-anchor {
  margin-bottom: var(--single-event-section-gap);
}

.single-event__details .single-event__meta--details {
  margin-bottom: 28px;
  padding: 12px 20px;
  background: #f1f5f9;
  border-radius: 12px;
}

.single-event__details .single-event__meta-item {
  color: #051c40;
  opacity: 1;
}

.single-event__details-actions {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.single-event__details-actions .single-event__cta,
.single-event__details-actions .single-event__agenda-btn {
  margin: 0;
}

.single-event__details .single-event__location--nested {
  margin-top: 20px;
}

.single-event__location--nested .single-event__rich {
  margin-bottom: 20px;
}

.single-event__location--nested .single-event__rich + .single-event__embed {
  margin-top: 20px;
}

.single-event__countdown-acf {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 56px;
  padding: 44px 24px;
  background: #051c40;
  text-align: center;
}

.single-event__location--nested + .single-event__countdown-acf {
  margin-top: 48px;
}

.single-event__countdown-acf__kicker {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.single-event__countdown-acf__units {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 32px;
}

.single-event__countdown-acf__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 4.75rem;
}

.single-event__countdown-acf__value {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.single-event__countdown-acf__unit-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.single-event__rich {
  color: #1f2937;
  line-height: 1.6;
}

.single-event__rich a {
  text-decoration: underline;
  color: #ef4123;
}

.single-event__rich p:last-child {
  margin-bottom: 0;
}

.single-event__form {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(5, 28, 64, 0.12);
}

.single-event__cta,
.single-event__agenda-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    background 0.15s ease;
}

.single-event__cta {
  display: flex;
  width: fit-content;
  background: #c14c32;
  color: #fff;
  margin-left: auto;
  margin-right: auto;
}

.single-event__cta:hover,
.single-event__cta:focus-visible {
  background: #051c40;
  color: #fff;
}

.single-event__agenda-cta {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #f1f5f9;
  padding: 18px 24px;
  text-align: center;
}

.single-event__body > .single-event__agenda-cta {
  padding: 3rem 0;
}

.single-event__agenda-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.single-event__agenda-actions .single-event__cta,
.single-event__agenda-actions .single-event__agenda-btn {
  margin: 0;
}

.single-event__agenda-btn {
  background: transparent;
  color: #051c40;
  border: 2px solid #051c40;
}

.single-event__agenda-btn:hover {
  background: #051c40;
  color: #fff;
}

.single-event__embed {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(5, 28, 64, 0.12);
}

.single-event__embed--map iframe,
.single-event__embed--agenda iframe {
  display: block;
  width: 100%;
}

/* Speakers grid + cards */
.speakers-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.speakers-grid .speaker-card {
  flex: 0 1 260px;
  width: min(100%, 260px);
}

.speaker-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(5, 28, 64, 0.08);
}

.speaker-card__btn {
  background-color: #f1f5f9;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 20px 16px;
  cursor: pointer;
  height: 100%;
  min-height: 44px;
  transition: background-color 0.3s ease;
}

.speaker-card__btn:hover {
  background-color: #e2e8f0;
}

.speaker-card__btn:focus,
.speaker-card__btn:focus-visible {
  background-color: #e2e8f0;
  outline: 2px solid #051c40;
  outline-offset: 2px;
}

.speaker-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}

.speaker-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #051c40, #0b2a63);
}

.speaker-card__photo--placeholder::before {
  content: '';
  display: block;
  width: 56%;
  height: 56%;
  background: #e2e8f0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.speaker-card__name {
  display: block;
  font-weight: 700;
  color: #051c40;
  font-size: 1rem;
}

.speaker-card__title {
  display: block;
  margin-top: 4px;
  color: #475569;
  font-size: 0.875rem;
}

.speaker-card__readmore {
  display: inline-block;
  margin-top: 10px;
  color: #c14c32;
  font-size: 0.875rem;
  text-decoration: underline;
}

/* Speaker modal */
html.speaker-modal-open {
  overflow: hidden;
}

.speaker-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.speaker-modal[hidden] {
  display: none;
}

.speaker-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 28, 64, 0.7);
  backdrop-filter: blur(2px);
}

.speaker-modal__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(5, 28, 64, 0.4);
}

/*
 * Shared-element morph: JS assigns view-transition-name `speaker-modal-morph`
 * to `.speaker-card` (open: old) then `.speaker-modal__panel` (open: new); reverse on close.
 */
::view-transition-group(speaker-modal-morph) {
  animation-duration: 250ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/*
 * Headshots: separate named transition so circles morph card ↔ modal instead of
 * stretching inside the rectangular panel snapshot.
 */
::view-transition-group(speaker-photo-morph) {
  animation-duration: 250ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 50%;
  overflow: hidden;
}

::view-transition-new(speaker-photo-morph),
::view-transition-old(speaker-photo-morph) {
  animation: none;
}

.speaker-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--Accent, #c14c32);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center center;
}

.speaker-modal__close:hover {
  background: var(--Accent, #c14c32);
  transform: scale(1.08);
}

.speaker-modal__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.speaker-modal__photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin: 0 auto 16px;
}

.speaker-modal__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.speaker-modal__name {
  text-align: center;
  margin: 0 0 4px;
  color: #051c40;
}

.speaker-modal__title {
  text-align: center;
  margin: 0 0 16px;
  color: #475569;
}

.speaker-modal__bio {
  color: #1f2937;
  line-height: 1.6;
  text-align: center;
  padding-bottom: 0;
}

.speaker-modal__bio > :last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  .speaker-modal,
  .single-event__cta,
  .single-event__agenda-btn {
    transition: none;
  }

  .speaker-modal__close {
    transition: none;
  }

  .speaker-modal__close:hover {
    transform: none;
  }

  ::view-transition-group(speaker-modal-morph),
  ::view-transition-group(speaker-photo-morph) {
    animation-duration: 1ms !important;
  }

  ::view-transition-new(speaker-photo-morph),
  ::view-transition-old(speaker-photo-morph) {
    animation: none !important;
  }
}

/* Related events grid (mirrors .custom-posts-grid testimonial treatment) */
.event-related-section {
  margin-top: 20px;
  padding-bottom: 24px;
}

.event-related-section .custom-posts-grid {
  justify-content: center;
}

.event-related-title {
  text-align: center;
  color: #051c40;
  font-weight: 700;
  margin-bottom: 32px;
  font-family: 'proxima-nova', sans-serif;
  font-size: clamp(2.5rem, 3vw, 2rem);
}

.event-related-section .custom-post {
  gap: 16px;
}

@media (min-width: 768px) {
  .event-related-section .custom-post {
    width: calc((100% - 60px) / 3);
  }
}

.event-related-section .custom-post .featured-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.event-related-section .custom-post .featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.event-related-section .custom-post .post-meta {
  margin-top: 4px;
}

.event-related-section .related-event-card .post-meta {
  margin-top: 0;
  gap: 10px;
}

.event-related-section .related-event-card .event-location,
.event-related-section .related-event-card .event-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #051c40;
  font-family: 'proxima-nova', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
}

.event-related-section .related-event-card .event-location::before,
.event-related-section .related-event-card .event-date::before {
  content: '';
  width: 16px;
  height: 16px;
  background: #3c89c9;
  flex: 0 0 16px;
}

.event-related-section .related-event-card .event-location::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C8.69 2 6 4.69 6 8c0 4.42 6 12 6 12s6-7.58 6-12c0-3.31-2.69-6-6-6Zm0 8.5A2.5 2.5 0 1 1 14.5 8 2.5 2.5 0 0 1 12 10.5Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2C8.69 2 6 4.69 6 8c0 4.42 6 12 6 12s6-7.58 6-12c0-3.31-2.69-6-6-6Zm0 8.5A2.5 2.5 0 1 1 14.5 8 2.5 2.5 0 0 1 12 10.5Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.event-related-section .related-event-card .event-date {
  padding-left: 10px;
  border-left: 1px solid #9fb5cb;
}

.event-related-section .related-event-card .event-date::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 4h-1V2h-2v2H8V2H6v2H5a2 2 0 0 0-2 2v13a3 3 0 0 0 3 3h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 16H6a1 1 0 0 1-1-1V10h14Zm0-12H5V6h14Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 4h-1V2h-2v2H8V2H6v2H5a2 2 0 0 0-2 2v13a3 3 0 0 0 3 3h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm0 16H6a1 1 0 0 1-1-1V10h14Zm0-12H5V6h14Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.event-related-section .custom-posts-grid--related-centered {
  justify-content: center;
}

/* Responsive polish for single-event layout */
@media (max-width: 1024px) {
  .single-event__hero {
    padding: 84px 20px 96px;
  }

  .single-event__body {
    padding: 40px 20px;
    --single-event-section-pad-top: 2.75rem;
    --single-event-section-gap: 40px;
  }

  .single-event__countdown-acf,
  .single-event__agenda-cta {
    padding: 18px 20px;
  }

  .single-event__countdown-acf__units {
    gap: 18px 24px;
  }
}

@media (min-width: 1086px) {
  .single-event__body > .single-event__intro-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 60px;
    /* padding-top: var(--single-event-section-pad-top); */
    margin-bottom: var(--single-event-section-gap);
    align-items: start;
  }

  .single-event__body
    > .single-event__intro-sections.single-event__intro-sections--single-col {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-event__body
    > .single-event__intro-sections
    > .single-event__registration {
    padding-top: var(--single-event-section-pad-top);
    margin-bottom: 0;
  }

  .single-event__body
    > .single-event__intro-sections
    > .single-event__details-anchor {
    padding-top: var(--single-event-section-pad-top);
    margin-bottom: 0;
  }

  .single-event__body
    > .single-event__intro-sections
    > .single-event__details-anchor
    .single-event__details {
    padding-top: 0;
  }
}

@media (max-width: 768px) {
  .single-event__hero {
    padding: 72px 16px 82px;
  }

  .single-event__subheading {
    font-size: 1rem;
    margin-bottom: 16px;
  }

  .single-event__body {
    padding: 32px 16px;
    --single-event-section-pad-top: 2.25rem;
    --single-event-section-gap: 34px;
  }

  .single-event__nav-inner {
    padding: 0 16px;
  }

  .single-event__nav-list {
    gap: 2px 14px;
  }

  .single-event__nav-link {
    font-size: 0.9rem;
  }

  .single-event__section-title {
    font-size: clamp(2rem, 8vw, 2.4rem);
  }

  .single-event__details .single-event__meta--details {
    border-radius: 12px;
    padding: 10px 14px;
    gap: 8px 14px;
  }

  .single-event__share .social-share {
    gap: 16px;
    margin-top: 14px;
    padding: 16px 14px;
  }

  .single-event__share .social-share h3 {
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .single-event__share .social-share .button {
    min-height: 42px;
    padding: 8px 16px;
    font-size: 0.9rem;
    line-height: 1.1;
  }

  .single-event__form {
    padding: 22px 18px;
    border-radius: 14px;
  }

  .single-event__countdown-acf,
  .single-event__agenda-cta {
    padding: 16px 16px;
  }

  .single-event__agenda-actions {
    flex-direction: column;
    align-items: stretch;
    width: min(100%, 320px);
    margin: 0 auto;
  }

  .single-event__agenda-actions .single-event__cta,
  .single-event__agenda-actions .single-event__agenda-btn {
    width: 100%;
  }

  .single-event__countdown-acf {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .single-event__countdown-acf {
    margin-top: 42px;
  }

  .single-event__location--nested + .single-event__countdown-acf {
    margin-top: 34px;
  }

  .single-event__countdown-acf__units {
    gap: 14px 18px;
  }

  .single-event__countdown-acf__unit {
    min-width: 4rem;
    gap: 8px;
  }

  .speaker-modal {
    padding: 16px;
  }

  .speaker-modal__panel {
    padding: 24px 18px;
    border-radius: 14px;
  }

  .speaker-modal__photo {
    width: 160px;
    height: 160px;
  }

  .event-related-title {
    margin-bottom: 22px;
  }

  .event-related-section .related-event-card .post-meta {
    gap: 8px;
  }

  .event-related-section .related-event-card .event-location,
  .event-related-section .related-event-card .event-date {
    font-size: 0.9rem;
  }
}

@media (min-width: 1086px) {
  .single-event__nav-item--intro-separate {
    display: none;
  }

  .single-event__nav-item--intro-combined {
    display: list-item;
  }
}

@media (max-width: 480px) {
  .single-event__body {
    --single-event-section-pad-top: 2rem;
    --single-event-section-gap: 30px;
  }

  .single-event__past-badge {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .single-event__section-title {
    font-size: clamp(1.85rem, 9vw, 2.2rem);
    margin-bottom: 12px;
  }

  .single-event__subsection-title {
    font-size: 1.05rem;
  }

  .single-event__share .social-share {
    gap: 12px;
    padding: 14px 12px;
    border-radius: 14px;
  }

  .single-event__share .social-share h3 {
    font-size: 1.2rem;
  }

  .single-event__share .social-share .button {
    width: 100%;
    max-width: 210px;
    margin: 0 auto;
  }

  .single-event__countdown-acf__value {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .speaker-card__btn {
    padding: 18px 14px;
  }

  .speaker-modal__close {
    width: 42px;
    height: 42px;
    font-size: 1.3rem;
  }
}

div.hs-richtext,
div.hs-richtext a {
  color: red !important;
}