/* =========================================================
   HERO
   ========================================================= */
.event-detail-hero{
  position: relative;
  background: #0b1220;
}

.event-detail-hero__media{
  position: relative;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  max-height:480px;
  width: 100%;
}

.event-detail-hero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(.95) contrast(1.02);
}

@media (max-width: 767.98px){
  .event-detail-hero__media{ aspect-ratio: 16 / 9; }
}

/* Badge over hero */
.event-detail-hero__badge{
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 10;
}

/* Category chip (main category) */
.category-chip{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
}

.category-chip__mark{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.14);
}

.category-chip__text{
  font-weight: 800;
  letter-spacing: -.01em;
  font-size: 16px;
  line-height: 1;
}

/* Chip colors */
.category-chip--move{ background: var(--feature-green); }
.category-chip--discover{ background: var(--feature-gold); }
.category-chip--connect{ background: var(--feature-teal); }

/* =========================================================
   TYPE BAR (below hero)
   ========================================================= */
.event-typebar{
  background: #fff;
  border-bottom: 1px solid rgba(17,24,39,.10);
}

.event-typebar__inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  text-align: center;
  color: rgba(17,24,39,.55);
  font-size: 14px;
  font-weight: 700;
}

.event-typebar__item{
  color: rgba(17,24,39,.60);
}

.event-typebar__item:hover{ color: rgba(17,24,39,.85); }

.event-typebar__sep{
  margin: 0 10px;
  opacity: .45;
}

/* =========================================================
   PAGE GRID
   ========================================================= */
.event-detail{
  padding: 26px 0 56px;
}

.event-detail__grid{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 26px;
  align-items: start;
}

@media (max-width: 991.98px){
  .event-detail__grid{ grid-template-columns: 1fr; }
  .event-detail__aside{ display: none; }
}

/* =========================================================
   HEADER
   ========================================================= */
.event-detail__header{
  padding: 8px 0 14px;
}

.event-detail__title{
  font-size: clamp(34px, 4.3vw, 44px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
}

.event-detail__lede{
  margin: 0;
  max-width: 820px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* =========================================================
   KEY FACTS CARD (price/date/location/hosted + CTA)
   ========================================================= */
.kv-card{
  background: #fff;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
  overflow: hidden;
  margin-top: 14px;
}

.kv-row{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 16px;
  border-top: 1px solid rgba(17,24,39,.10);
}

.kv-row:first-child{ border-top: 0; }

.kv-icon{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(17,24,39,.14);
  color: rgba(17,24,39,.9);
  flex: 0 0 40px;
}

.kv-text{ min-width: 0; }

.kv-primary{
  font-weight: 800;
  color: rgba(17,24,39,.92);
}

.kv-secondary{
  color: rgba(17,24,39,.65);
  font-size: 14px;
  margin-top: 2px;
}

.kv-row--split{
  justify-content: space-between;
  align-items: center;
}

.kv-left{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.kv-right{
  margin-left: 12px;
  flex: 0 0 auto;
}

.kv-link{
  font-weight: 800;
  color: #1d4ed8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kv-link:hover{ opacity: .85; }

.kv-row--cta{
  background: rgba(17,24,39,.02);
}

.kv-hosted{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(17,24,39,.72);
}

.kv-hosted__icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(17,24,39,.16);
  color: rgba(17,24,39,.85);
}

.kv-cta{
  border-radius: 999px;
  padding: 12px 26px;
}

/* Mobile: stack CTA row nicely */
@media (max-width: 575.98px){
  .kv-row--split{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .kv-right{ margin-left: 0; }
}

/* =========================================================
   GALLERY
   ========================================================= */
.event-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.event-gallery__item{
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 10px 20px rgba(17,24,39,.06);
}

.event-gallery__item img{
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

@media (max-width: 767.98px){
  .event-gallery{
    grid-template-columns: 1fr;
  }

  .event-gallery__item img{ height: 190px; }
}

/* =========================================================
   SECTION TITLES
   ========================================================= */
.section-title{
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 22px 0 12px;
  color: rgba(17,24,39,.85);
}

/* =========================================================
   GOOD TO KNOW LIST
   ========================================================= */
.info-list{
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 10px 22px rgba(17,24,39,.05);
  overflow: hidden;
}

.info-row {
    display: grid;
    grid-template-columns: 52px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-top: 1px solid rgba(17, 24, 39, .10);
}

.info-row--text {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
}
.info-row--text .info-value-text {
	text-align: left;
    padding-right: 20px;
}
.info-row--text .info-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
}

.info-row--text .info-label {
    grid-column: 2;
    grid-row: 1;
}

.info-row--text .info-value {
    grid-column: 2;
    grid-row: 2;
    white-space: normal;
}

.info-row--text .info-label,
.info-row--text .info-value {
    text-align: left;
}

.info-row:first-child{ border-top: 0; }

.info-icon{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(17,24,39,.14);
  color: rgba(17,24,39,.9);
}

.info-label{
  font-weight: 900;
  color: rgba(17,24,39,.78);
}
.info-label.tbd {
  font-weight:500;
}

.info-value{
  font-weight: 800;
  color: rgba(17,24,39,.58);
}

@media (max-width: 575.98px){
  .info-row{
    grid-template-columns: 52px 1fr;
  }
  .info-value{
    grid-column: 3 / 3;
  }
}

/* =========================================================
   MAP
   ========================================================= */
.map-card{
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17,24,39,.10);
  box-shadow: 0 10px 22px rgba(17,24,39,.05);
  overflow: hidden;
}

.map-embed{
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
}

.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================================================
   RELATED EVENTS
   ========================================================= */
.related-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

@media (max-width: 991.98px){
  .related-grid{ grid-template-columns: 1fr; }
}

.related-card{
  background: #fff;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(17,24,39,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.related-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(17,24,39,.10);
}

.related-card__media{
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.related-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.related-card__body{
  padding: 12px 12px 14px;
}

.related-card__kicker{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(17,24,39,.55);
  margin-bottom: 6px;
}

.related-card__title{
  font-size: 18px;
  line-height: 1.2;
  margin: 0 0 6px;
}

.related-card__title a{
  text-decoration: none;
}
.related-card__title a:hover{ text-decoration: underline; }

.related-card__meta{
  margin: 0;
  color: rgba(17,24,39,.60);
  font-size: 14px;
}

.related-footer{
  margin-top: 14px;
  text-align: center;
}

.related-all{
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.related-all:hover{ opacity: .85; }

/* =========================================================
   OPTIONAL STICKY ASIDE (desktop)
   ========================================================= */
.event-detail__aside{
  position: sticky;
  top: 16px;
}

.aside-card{
  background: #fff;
  border: 1px solid rgba(17,24,39,.12);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(17,24,39,.08);
  padding: 16px;
}

.aside-card__title{
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 8px;
}

.aside-card__text{
  margin: 0 0 12px;
  color: rgba(17,24,39,.65);
  line-height: 1.55;
}

.aside-card__cta{
  width: 100%;
  border-radius: 999px;
  padding: 12px 18px;
}

/* Make "What to Bring" not bold WITHOUT changing the value column alignment */
.info-value-text{
  font-weight: 400;
  color: var(--ink-2);
  line-height: 1.5;
  text-align: right;      /* keeps it aligned like other values */
  display: inline-block;  /* respects right alignment */
}

/* If the field outputs <p> tags, kill margin */
.info-value-text p{ margin: 0; }
/* Hosted: circular icon style like the others */
.kv-hosted{
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

/* Circular icon container */
.kv-hosted__logo{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(17,24,39,.14);
  background: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 40px;
}

/* Constrain logo size inside circle */
.kv-hosted__logo img{
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}

/* Hosted text styling */
.kv-hosted__text{
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 14px;
  color: rgba(17,24,39,.72);
}
/* Badge positioning */
.event-detail-hero{ position: relative; }

.event-detail-hero__badge{
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 3;
}

/* Big square badge */
.hero-badge{
  width: 132px;
  height: 132px;
  border-radius: 18px;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 14px 12px 12px;
  color: #fff;
  box-shadow: 0 18px 30px rgba(0,0,0,.22), 0 2px 6px rgba(0,0,0,.14);
  grid-template-rows: auto auto;
  gap: 8px;
}

/* Logo “tile” */
.hero-badge__logo{
  width: 70px;        /* slightly larger now that there's no box */
  height: 70px;
  display: grid;
  place-items: center;
}

.hero-badge__logo img{
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}

/* Category name */
.hero-badge__text{
  font-weight: 500;
  letter-spacing: .02em;
  font-size: 18px;
  line-height: 1.1;
  text-align: center;
}

/* Category background colors (match experiences tokens) */
.hero-badge--move{ background: var(--feature-green); }
.hero-badge--discover{ background: var(--feature-gold); }
.hero-badge--connect{ background: var(--feature-teal); }

/* Mobile */
@media (max-width: 575.98px){
  .event-detail-hero__badge{ left: 16px; top: 16px; }

  .hero-badge{
    width: 112px;
    height: 112px;
    border-radius: 16px;
    padding: 12px 10px 10px;
  }

  .hero-badge__logo{
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

  .hero-badge__logo img{
    width: 60px;
    height: 60px;
  }

  .hero-badge__text{ font-size: 16px; }
}
.backlink{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 14px;
  color: rgba(17,24,39,.72);
  text-decoration: none;
}

.backlink i{
  font-size: 13px;
  transform: translateY(1px);
}

.backlink:hover{
  color: rgba(17,24,39,.95);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.aside-meta{
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
}
.aside-meta__item{
  display: flex;
  align-items: center; /* ???? vertical center fix */
  gap: 12px;
}
.aside-meta__icon{
  width: 42px;
  height: 42px;
  min-width: 42px;   /* prevents shrink */
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 16px;
}
.aside-meta__text{
  line-height: 1.35;
}
.aside-meta__muted{
  color: rgba(17,24,39,.7);
  font-weight: 500;
}
.aside-card__fineprint{
  margin: 0 0 14px;
  color: rgba(17,24,39,.7);
  font-size: 13px;
}
.btn--external{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn--external i{
  font-size: 14px;
  transform: translateY(-1px);
}
/* Mobile: prevent price + badges collision by stacking top rows */
@media (max-width: 720px){

  /* Turn the top row into a vertical stack */
  .event-card__top{
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Make right-side badges row appear first */
  .event-card__top-right{
    order: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
  }

  /* Move price underneath */
  .event-card__top-left{
    order: 2;
  }

  .event-card__price{
    margin: 0;           /* remove any previous spacing assumptions */
    justify-content: flex-start;
  }

  /* Ensure badge doesn't try to auto-push like desktop */
  .badge{
    margin-left: 0 !important;
  }
}
/* Mobile: keep Hosted/Category right-aligned, move price underneath */
@media (max-width: 720px){

  /* Force grid so we can place rows predictably */
  .event-card .event-card__top{
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-areas:
      "right"
      "left";
    row-gap: 8px;
    align-items: start;
  }

  .event-card .event-card__top-right{
    grid-area: right;
    justify-self: end;              /* right aligned */
    display: flex !important;       /* override inline-flex */
    flex-wrap: wrap !important;     /* override nowrap */
    gap: 8px !important;
    width: 100%;
    justify-content: flex-end;      /* right aligned contents */
  }

  .event-card .event-card__top-left{
    grid-area: left;
    justify-self: start;
    width: 100%;
  }

  .event-card .event-card__price{
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  /* Your desktop rule pushes badge; undo on mobile */
  .event-card .badge{
    margin-left: 0 !important;
  }
}
/* Mobile: hide price icons */
@media (max-width: 720px){
  .event-card__price i{
    display: none;
  }
}
/* ---------------------------------
   Back to Top (Mobile - Experiences Only)
---------------------------------- */
@media (max-width: 720px){

  body .back-to-top{
    position: fixed;
    bottom: 20px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 0;
    background: var(--feature-teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    z-index: 999;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .25s ease, transform .25s ease;
  }

  body .back-to-top.is-visible{
    opacity: 1;
    transform: translateY(0);
  }

  body .back-to-top:active{
    transform: scale(.95);
  }

  body .back-to-top i{
    font-size: 16px;
  }
}
