/* ==========================================================================
   PAGE: CHARLAS
   Secondary format page — light, short, CTA-led. Extends styles.css.
   ========================================================================== */

/* Active nav state */
.nav-capsule a.is-active { color: var(--paper); background: rgba(244, 242, 238, 0.1); }
.sticky-nav a.is-active { color: var(--paper); }

/* HERO — full-bleed stage photo, copy on the dark left side */
.page-charlas .hero--dark .hero-bg { object-position: 70% 50%; }
.page-charlas .hero--dark .hero-body { padding-right: 50%; }
.page-charlas .hero--dark .hero-copy .h1 { max-width: 16ch; font-size: clamp(36px, 4.4vw, 66px); }
.page-charlas .hero--dark .hero-copy .lead { max-width: 40ch; }
@media (max-width: 1100px) { .page-charlas .hero--dark .hero-body { padding-right: clamp(24px, 3.2vw, 48px); } }

/* --------------------------------------------------------------------------
   TEMAS DE CONFERENCIA — unnumbered list, ruled top/bottom
   -------------------------------------------------------------------------- */
.charla-topics-section { padding-bottom: clamp(48px, 5vw, 80px); }

.charla-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.charla-topic {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 6px;
}

.charla-topic .h3 { margin: 0; }
.charla-topic p {
  margin: 0;
  color: var(--stone);
  font-size: 15.5px;
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   AUDIENCIAS / FORMATO — reuses .def-list, tightened top/bottom spacing
   -------------------------------------------------------------------------- */
.charla-audience { padding-top: 0; padding-bottom: clamp(48px, 5vw, 80px); }
.charla-audience .def-list { max-width: 900px; }

/* --------------------------------------------------------------------------
   DE LA CHARLA AL TALLER — bridge card to the flagship product
   -------------------------------------------------------------------------- */
.charla-bridge-section { padding-block: clamp(56px, 6vw, 96px); }

.charla-bridge {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 4.6vw, 64px);
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 20px;
  text-align: left;
}

.charla-bridge .h2 { max-width: 20ch; }
.charla-bridge .h2 em { color: var(--sandia); }
.charla-bridge .lead { color: var(--stone); max-width: 58ch; }
.charla-bridge .wordmark-ra { font-size: 1.02em; }
.charla-bridge .btn { justify-self: start; }

@media (max-width: 560px) {
  .charla-bridge { padding: 28px 22px; }
}
.page-charlas .hero--dark { min-height: clamp(460px, 41vw, 660px); }
.page-charlas .hero--dark .hero-bg { object-position: 100% 50%; }
.page-charlas .hero--dark .hero-body { padding-top: clamp(36px, 4vw, 60px); }

/* Real photo: vertical, bleeds top/right/bottom, soft fade into black on the left */
.page-charlas .hero--dark .hero-bg { left: auto; right: 0; width: auto; height: 100%; max-width: 58%; object-fit: cover; object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 28%); mask-image: linear-gradient(90deg, rgba(0,0,0,0) 0%, #000 28%); }
.page-charlas .hero--dark::before { background: linear-gradient(90deg, rgba(11,11,11,.2) 0%, rgba(11,11,11,0) 40%); }
.page-charlas .hero--dark { min-height: clamp(520px, 46vw, 760px); }
.page-charlas .hero--dark .hero-body { padding-right: 48%; }
@media (max-width: 1100px) { .page-charlas .hero--dark .hero-bg { position: relative; max-width: none; width: 100%; height: clamp(320px, 70vw, 520px); -webkit-mask-image: none; mask-image: none; } }

/* Final: full-bleed keynote photo */
.page-charlas .hero--dark .hero-bg { position: absolute; inset: 0; left: 0; right: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 30%; -webkit-mask-image: none; mask-image: none; }
.page-charlas .hero--dark::before { background: linear-gradient(90deg, rgba(11,11,11,.9) 0%, rgba(11,11,11,.72) 30%, rgba(11,11,11,.25) 52%, rgba(11,11,11,0) 66%); }
.page-charlas .hero--dark { min-height: clamp(500px, 42vw, 680px); }
.page-charlas .hero--dark .hero-body { padding-right: 50%; }
@media (max-width: 1100px) {
  .page-charlas .hero--dark .hero-bg { position: relative; height: clamp(260px, 56vw, 460px); object-position: 70% 30%; }
  .page-charlas .hero--dark { min-height: 0; }
  .page-charlas .hero--dark .hero-body { padding-right: clamp(24px, 3.2vw, 48px); }
}
