@charset "UTF-8";
/* Single Event page — hero, tab bar, two-column layout with a sticky
   sidebar, and every layouts/events-blocks/* block. Self-contained
   (no reliance on course-single-layout.css or other single-* stylesheets). */
.single-event {
  background: #f1f1f1;
}

/* Same purple band used above the hero on single-courses.php et al. */
.single-event .top-spacer {
  height: 160px;
  background-color: #473089;
}
/* ── Hero ─────────────────────────────────────────────────────────────── */
.event-hero {
  position: relative;
  background-color: #1a1a2e;
  background-size: cover;
  background-position: center;
  padding: 30px 0 40px;
  color: #fff;
}

/* .top-spacer collapses to 0 below this breakpoint (see rule above) —
   compensate here so the hero doesn't sit under the fixed nav. */
.event-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 30, 0.55) 0%, rgba(20, 20, 30, 0.85) 100%);
}

.event-hero-inner {
  position: relative;
  z-index: 1;
}

.event-breadcrumbs {
  font: 400 13px "Roboto", sans-serif;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 44px;
  letter-spacing: 0.04em;
}

.event-breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.event-breadcrumbs a:hover {
  text-decoration: underline;
}

.event-breadcrumbs span {
  color: #7288C4;
}

.event-hero-title {
  font: 400 50px/1.2 "Roboto", sans-serif;
  margin: 0 0 6px;
  color: #fff;
}

.event-hero-excerpt {
  font: 400 20px/1.5 "Roboto", sans-serif;
  color: #fff;
  max-width: 940px;
  margin: 0 0 30px;
}

.event-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 36px;
}

.event-hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font: 400 15px "Roboto", sans-serif;
}

.event-hero-meta-label {
  color: #F1F1F1;
  margin-right: 6px;
}

.event-hero-meta-value {
  color: #fff;
  font-weight: 500;
}

.event-hero-register-btn,
.event-sidebar-register-btn,
.event-block-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #7288c4;
  color: #fff;
  font: 400 15px "Roboto", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1;
  text-decoration: none;
  padding: 15px 29px;
  border-radius: 0;
  border-top-right-radius: 25px;
  transition: background 0.2s;
}

.event-hero-register-btn:hover,
.event-sidebar-register-btn:hover,
.event-block-cta-button:hover {
  color: #fff;
  background: #2563eb;
}

/* ── Tabs ─────────────────────────────────────────────────────────────── */
.event-tabs-bar {
  border-bottom: 1px solid #9EA2AC;
  position: sticky;
  top: 0;
  z-index: 130;
  margin: 30px 0;
  background: #F1F1F1;
}

.event-tabs-list {
  list-style: none;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 50px;
  gap: 30px;
}

.event-tab-link {
  display: inline-block;
  padding: 14px 0;
  font: 700 18px "Roboto", sans-serif;
  color: #363636;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.event-tab-link:hover {
  color: #363636;
}

.event-tab-link.active {
  color: #363636;
  border-bottom-color: #428fec;
}

/* ── Layout grid + sticky sidebar ────────────────────────────────────── */
.event-layout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: flex-start;
  padding: 17px 0 80px;
}

.event-content-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-top-right-radius: 25px;
  padding: 40px 30px;
}

.event-content-column > section {
  padding-top: 63px;
}

.event-content-column > section:first-of-type {
  padding-top: 0px;
}

.event-sidebar {
  height: 100%;
}

.event-sidebar-inner.sticky-element {
  position: sticky;
  top: 140px;
  background: #fff;
  border-top-right-radius: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  padding: 20px;
}

.event-sidebar-image {
  position: relative;
}

.event-sidebar-image img {
  width: 100%;
  height: 200px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.event-sidebar-image-title {
  position: absolute;
  left: 16px;
  bottom: 12px;
  right: 16px;
  color: #fff;
  font: 700 16px/1.3 "Roboto", sans-serif;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.event-sidebar-details-title {
  font: 700 20px "Roboto", sans-serif;
  color: #363636;
  margin: 30px 0 16px;
}

.event-sidebar-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.event-sidebar-details-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  font: 400 14px "Roboto", sans-serif;
  color: #363636;
}

.event-sidebar-register-btn {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 20px;
}

/* ── Shared block chrome ─────────────────────────────────────────────── */
.event-block {
  scroll-margin-top: 120px;
}

.event-block-eyebrow {
  display: inline-block;
  font: 400 11px "Roboto", sans-serif;
  letter-spacing: 0.06em;
  color: #7288C4;
  padding: 4px 9px;
  border-radius: 4px;
  margin-bottom: 12px;
  border: 1px solid #7288C4;
}

.event-block-title {
  font: 700 25px "Roboto", sans-serif;
  color: #363636;
  margin: 0 0 12px;
}

.event-block-description {
  font: 400 16px/1.6 "Roboto", sans-serif;
  color: #363636;
  margin: 0 0 20px;
}

.event-block-intro {
  font: 400 15px/1.7 "Roboto", sans-serif;
  color: #444;
  margin-bottom: 8px;
}

.event-block-intro h3 {
  font: 400 25px/1.7 "Roboto", sans-serif;
  color: #444;
  margin-bottom: 6px;
}

.event-block-intro p {
  line-height: 1.3;
}

/* ── Overview ─────────────────────────────────────────────────────────── */
.event-overview-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 23px;
}

.event-overview-item {
  background: #F1F1F1;
  border-radius: 8px;
  padding: 16px 16px 13px;
  border: 1px solid #9EA2AC;
}

.event-overview-item-label {
  font: 700 16px "Roboto", sans-serif;
  color: #363636;
  margin: 0 0 9px;
}

.event-overview-item-text {
  font: 400 16px/1.3 "Roboto", sans-serif;
  color: #363636;
  margin: 0;
}

/* ── Products ─────────────────────────────────────────────────────────── */
.event-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.event-product-card {
  background: #F1F1F1;
  border-top-right-radius: 25px;
  overflow: hidden;
}

.event-product-card-image {
  background: #f0f0f0;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 12px;
}

.event-product-card-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.event-product-card-content {
  padding: 0 24px 25px;
}

.event-product-card-title {
  font: 700 20px "Roboto", sans-serif;
  color: #363636;
  margin: 0 0 6px;
}

.event-product-card-text {
  font: 400 15px/1.2 "Roboto", sans-serif;
  color: #363636;
  margin: 0 0 28px;
}

.event-product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #000;
  font: 400 17px "Roboto", sans-serif;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.event-product-card-link:hover {
  text-decoration: underline;
}

.event-block-products .event-block-cta-button {
  margin: 0 auto;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 40px;
}

/* ── Logistics ────────────────────────────────────────────────────────── */
.event-logistics-venue-image {
  background: repeating-conic-gradient(#e9e9e9 0% 25%, #f4f4f4 0% 50%) 50%/24px 24px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/5.6;
  margin-bottom: 30px;
}

.event-logistics-venue-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.event-logistics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.event-logistics-item {
  border: 1px solid #9EA2AC;
  border-radius: 8px;
  padding: 14px 16px;
}

.event-logistics-item-label {
  font: 700 16px "Roboto", sans-serif;
  color: #363636;
  margin: 0 0 8px;
}

.event-logistics-item-text {
  font: 400 16px/1.5 "Roboto", sans-serif;
  color: #363636;
  margin: 0;
}

/* ── Agenda ───────────────────────────────────────────────────────────── */
.event-agenda-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-agenda-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-agenda-time {
  flex: 0 0 40px;
  font: 400 16px "Roboto", sans-serif;
  color: #363636;
  background: #F1F1F1;
  border-radius: 8px;
  padding: 16px 16px;
  text-align: center;
}

.event-agenda-session {
  height: 100%;
  background: #D4E9F9;
  font: 400 16px "Roboto", sans-serif;
  color: #363636;
  min-width: 370px;
  padding: 16px 16px;
  border-radius: 8px;
}

/* ── Photos ───────────────────────────────────────────────────────────── */
.event-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px 20px;
}

.event-photos-grid-item {
  background: repeating-conic-gradient(#e9e9e9 0% 25%, #f4f4f4 0% 50%) 50%/20px 20px;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.event-photos-grid-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.event-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-faq-item {
  background: #F1F1F1;
  border-radius: 8px;
  overflow: hidden;
}

.event-faq-item.is-active {
  background: #D4E9F9;
}

.event-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 15px 16px;
  cursor: pointer;
  font: 700 16px "Roboto", sans-serif;
  color: #363636;
}

.event-faq-icon {
  flex-shrink: 0;
  color: #428fec;
  transition: transform 0.2s ease;
}

.event-faq-item.is-active .event-faq-icon {
  transform: rotate(180deg);
}

.event-faq-content {
  padding: 5px 16px 13px;
}

.event-faq-answer {
  font: 400 16px/1.1 "Barlow", sans-serif;
  color: #555;
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1216px) {
  .single-event .top-spacer {
    height: 0;
  }
  .event-hero {
    padding-top: 100px;
  }
}

@media (max-width: 1023px) {
  .event-layout-grid {
    grid-template-columns: 1fr;
  }
  .event-sidebar-inner.sticky-element {
    position: static;
  }
  .event-products-grid,
  .event-photos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .event-logistics-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .event-hero {
    padding: 100px 0 32px;
  }
  .event-hero-title {
    font-size: 28px;
  }
  .event-content-column {
    padding: 30px 20px;
  }
  .event-agenda-session {
    min-width: initial;
    display: block;
    width: 100%;
  }
  .event-tabs-bar::before,
  .event-tabs-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    pointer-events: none;
    z-index: 1;
  }
  .event-tabs-bar::before {
    left: 0;
    background: linear-gradient(to right, #F1F1F1, rgba(241, 241, 241, 0));
  }
  .event-tabs-bar::after {
    right: 0;
    background: linear-gradient(to left, #F1F1F1, rgba(241, 241, 241, 0));
  }
  .event-tabs-list {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 25px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  .event-tabs-list::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  .event-tab-link {
    white-space: nowrap;
  }
  .event-products-grid,
  .event-photos-grid {
    grid-template-columns: 1fr;
  }
}