/* Event Detail Module Styles - matches marketing-event.html template */

.event-detail-module {
  /* Module wrapper */
}

/* ========== Layout & container ========== */
.event-detail-module .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== ERROR STATE ========== */
.event-detail-module .event-error {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border-radius: 12px;
  margin: 20px 0;
}

.event-detail-module .event-error h2 {
  color: #721c24;
  margin: 0 0 10px;
}

.event-detail-module .event-error p {
  color: #856404;
  margin: 0;
}

/* ========== HERO ========== */
.event-detail-module .event-hero {
  padding: 48px 0 32px;
}

.event-detail-module .event-hero__grid {
  display: grid;
  gap: 5vw;
  align-items: start;
  grid-template-columns: 1fr;
}

@media(min-width:1000px) {
  .event-detail-module .event-hero__grid {
    grid-template-columns: minmax(0, 640px) 420px;
  }
}

.event-detail-module .event-hero__left {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.event-detail-module .event-hero__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  background: #eef2f5;
  object-fit: cover;
}

.event-detail-module .event-hero__img--placeholder {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  background: #eef2f5;
}

/* Eyebrow styles moved to main.css for consistency */
}

.event-detail-module .event-title {
  font-size: 34px;
  line-height: 1.15;
  margin: .25rem 0 10px;
  font-weight: 700;
  color: #0c1b2a;
}

.event-detail-module .event-lead {
  font-size: 16px;
  line-height: 1.6;
  color: #3b4a58;
  max-width: 46ch;
}

.event-detail-module .event-datetime {
  font-weight: 600;
  color: #0c1b2a;
  margin-top: 10px;
}

/* Form card (right column) */
.event-detail-module .event-form__panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  padding: 0;
}

.event-detail-module .event-form__panel .hs-form fieldset {
  max-width: none;
}

.event-detail-module .event-form__panel .hs-form .input {
  margin-bottom: 10px;
}

.event-detail-module .event-form__panel .hs-form input,
.event-detail-module .event-form__panel .hs-form select,
.event-detail-module .event-form__panel .hs-form textarea {
  width: 100%;
  border-radius: 6px;
  border: 1px solid #cad5df;
  padding: 10px 12px;
  font-size: 14px;
}

.event-detail-module .event-form__panel .hs_submit .actions input[type=submit],
.event-detail-module .event-form__panel .hs_submit .actions .hs-button {
  background: #214e64;
  color: #fff;
  border: 0;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
}

/* ========== DESCRIPTION ========== */
.event-detail-module .event-desc {
  padding: 12px 0 8px;
}

.event-detail-module .event-desc__title {
  margin: 6px 0 12px;
  color: #0c1b2a;
}

.event-detail-module .prose {
  max-width: 95%;
}

.event-detail-module .prose p {
  margin: 0 0 16px;
  color: #2b3742;
}

.event-detail-module .prose ul {
  margin: 8px 0 16px 20px;
}

/* ========== SPEAKERS (image ABOVE name) ========== */
.event-detail-module .event-speakers {
  padding: 24px 0 48px;
}

.event-detail-module .event-speakers h2 {
  margin: 8px 0 16px;
  color: var(--off-black);
}

.event-detail-module .speaker-grid {
  display: grid;
  gap: 48px;
}

@media(min-width:900px) {
  .event-detail-module .speaker-grid {
    grid-template-columns: 1fr;
  }
}

.event-detail-module .speaker-card {
  background: #F7F5F3;
  border: none;
  border-radius: 1rem;
  padding: 2rem;
}

.event-detail-module .speaker-card--detailed {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Speaker content section with image and stats */
.event-detail-module .speaker-card__content {
  display: grid;
  grid-template-columns: 700px 1fr;
  gap: 4rem;
  align-items: start;
}

.event-detail-module .speaker-card__left {
  /* Image column */
}

.event-detail-module .speaker-card__right {
  /* Stats column */
}

.event-detail-module .speaker-card__img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--sand);
}

/* Stats section */
.event-detail-module .speaker-card__stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-detail-module .speaker-card__stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #D1C7BE;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #437382;
}

.event-detail-module .speaker-card__stat:last-child {
  border-bottom: none;
}

.event-detail-module .speaker-card__stat-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Speaker info section */
.event-detail-module .speaker-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-detail-module .speaker-card__name {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.4;
  color: #131412;
}

.event-detail-module .speaker-card__title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #5c6b77;
}

.event-detail-module .speaker-card__bio {
  color: #2b3742;
  line-height: 1.6;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 1.125rem;
}

@media (max-width: 767px) {
  .event-detail-module .speaker-card {
    border-radius: 12px;
    padding: 16px;
  }
  
  .event-detail-module .speaker-card__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .event-detail-module .speaker-card__img {
    width: 150px;
    height: 150px;
    justify-self: center;
  }
  
  .event-detail-module .speaker-card__stat {
    font-size: 1rem;
  }
  
  .event-detail-module .speaker-card__name {
    font-size: 1.5rem;
  }
  
  .event-detail-module .speaker-card__title {
    font-size: 1rem;
  }
  
  .event-detail-module .speaker-card__bio {
    font-size: 1rem;
  }
}

@media (max-width: 575px) {
  .event-detail-module .event-datetime {
    font-size: 0.875rem;
  }
}