/* Webinar landing pages: details card and presenter row, used with landing.css. */

.wb-card {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  background: var(--dark-surface);
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: #fff;
}

.wb-details {
  display: grid;
  gap: 1.1rem;
  margin: 0 0 1.6rem;
}

.wb-details div {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

/* Dividers between rows only, not above the Register button */
.wb-details div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.wb-details dt {
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-yellow);
}

.wb-details dd {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.wb-card-btn {
  display: block;
  text-align: center;
}

.wb-presenter {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.wb-presenter img {
  flex: none;
  width: min(280px, 40%);
  height: auto;
  border-radius: 18px;
}

/* The heading and role use the shared .lp-head styles from landing.css */
.wb-presenter .lp-head {
  margin-bottom: 0;
}

/* Live and ended copy (see the page script): .btn's display would otherwise
   override the hidden attribute. */
[data-when][hidden] {
  display: none !important;
}

.wb-ended-note {
  margin: 0;
  font-weight: 700;
  color: var(--accent-yellow);
}

@media (max-width: 640px) {
  .wb-presenter {
    flex-direction: column;
    align-items: flex-start;
  }

  .wb-presenter img {
    width: 100%;
    max-width: 320px;
  }
}
