/* Conference record. Brand colors from the home tokens, used as solid blocks. */
.charlas-board {
  padding: 72px 0 80px;
  background: var(--paper, #f7f7f4);
  color: var(--atiemppo-ink, #102c45);
  overflow-x: clip;
}

.charlas-board *,
.charlas-teaser * {
  box-sizing: border-box;
}

.charlas-intro {
  max-width: 46rem;
  margin-bottom: 28px;
}

.charlas-intro .section-heading {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 3.3vw, 2.8rem);
}

.charlas-intro > p:last-child,
.charlas-note,
.charlas-profile,
.charlas-ventana > p:not(.charlas-ventana-label) {
  margin: 0;
  color: var(--atiemppo-muted, #496078);
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

.charlas-ventana > p {
  margin-bottom: 16px;
}

.charlas-ventana > p strong {
  color: var(--atiemppo-ink, #102c45);
}

.charlas-cifra {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 22px;
  padding: 28px 32px;
  background: var(--navy-deep, #071e35);
  border-radius: 16px;
}

.charlas-cifra strong {
  flex: none;
  font-family: var(--atiemppo-serif, "DM Serif Display", Georgia, serif);
  font-size: clamp(3.2rem, 7vw, 4.6rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--gold, #c38a2c);
}

.charlas-cifra span {
  max-width: 28ch;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.4;
}

.charlas-ventana h3,
.charlas-ventana-label,
.charlas-sub {
  margin: 0 0 8px;
  color: var(--atiemppo-ink, #102c45);
  font-family: var(--atiemppo-serif, "DM Serif Display", Georgia, serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.charlas-ventana h3,
.charlas-sub {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.charlas-sub {
  margin-top: 40px;
}

.charlas-note {
  margin: 0 0 14px;
}

.charlas-ventana-label {
  font-size: 1.35rem;
  line-height: 1.2;
}

.charlas-bars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.charlas-bars li {
  min-width: 0;
  padding: 18px 18px 16px;
  border-radius: 14px;
}

.charlas-bars li.charlas-grupo-ia {
  background: #246aaf;
  color: #fff;
}

.charlas-bars li.charlas-grupo-costos {
  background: #c38a2c;
  color: #071e35;
}

.charlas-bars li.charlas-grupo-innovacion {
  background: #2ca675;
  color: #071e35;
}

.charlas-bar-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
}

.charlas-bar-top span:first-child {
  min-width: 0;
  overflow-wrap: break-word;
}

.charlas-bar-top span:last-child {
  font-family: var(--atiemppo-serif, "DM Serif Display", Georgia, serif);
  font-size: 2.6rem;
  font-weight: 400;
  line-height: 0.9;
}

.charlas-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(7, 30, 53, 0.18);
}

.charlas-bars li.charlas-grupo-ia .charlas-track {
  background: rgba(255, 255, 255, 0.28);
}

.charlas-track > span {
  display: block;
  height: 100%;
  min-width: 8px;
  border-radius: inherit;
  background: currentColor;
}

.charlas-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #d5e0e8;
}

.charlas-list li {
  min-width: 0;
  padding: 18px 0 18px 16px;
  border-bottom: 1px solid #d5e0e8;
  border-left: 4px solid #246aaf;
}

.charlas-list li.charlas-grupo-costos {
  border-left-color: #c38a2c;
}

.charlas-list li.charlas-grupo-innovacion {
  border-left-color: #2ca675;
}

.charlas-when {
  margin: 0 0 8px;
  color: var(--atiemppo-ink, #102c45);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
}

.charlas-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.45;
}

.charlas-list li.charlas-grupo-ia .charlas-tag {
  background: #246aaf;
  color: #fff;
}

.charlas-list li.charlas-grupo-costos .charlas-tag {
  background: #c38a2c;
  color: #071e35;
}

.charlas-list li.charlas-grupo-innovacion .charlas-tag {
  background: #2ca675;
  color: #071e35;
}

.charlas-list h3 {
  margin: 0 0 6px;
  font-family: var(--atiemppo-sans, "Instrument Sans", system-ui, sans-serif);
  font-size: 1.15rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.charlas-list h3 a {
  color: var(--atiemppo-ink, #102c45);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.charlas-list h3 a:hover {
  color: #246aaf;
}

.charlas-tema {
  margin: 0;
  color: var(--atiemppo-muted, #496078);
  font-size: 0.98rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

.charlas-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.charlas-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 14px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.charlas-gallery figure {
  min-width: 0;
  margin: 0;
}

.charlas-gallery a {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: #071e35;
}

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

.charlas-gallery figcaption {
  margin-top: 8px;
  color: var(--atiemppo-muted, #496078);
  font-size: 0.85rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.charlas-profile {
  margin-top: 28px;
}

.charlas-profile a,
.charlas-more a {
  color: #246aaf;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.charlas-more {
  margin: 18px 0 0;
}

.charlas-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.charlas-teaser {
  min-width: 0;
  margin-top: 8px;
}

.charlas-gallery a:focus-visible,
.charlas-list a:focus-visible,
.charlas-profile a:focus-visible,
.charlas-more a:focus-visible,
.charlas-dialog-close:focus-visible {
  outline: 3px solid #8fc9f3;
  outline-offset: 3px;
}

.charlas-dialog {
  box-sizing: border-box;
  width: min(960px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 16px;
  overflow: auto;
  border: none;
  border-radius: 16px;
  background: #071e35;
  color: #fff;
}

.charlas-dialog::backdrop {
  background: rgba(7, 30, 53, 0.84);
}

.charlas-dialog img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72dvh, 720px);
  object-fit: contain;
  border-radius: 10px;
  background: #000;
}

.charlas-dialog p {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.charlas-dialog-close {
  display: block;
  min-height: 44px;
  margin: 0 0 10px auto;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .charlas-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .charlas-board {
    padding: 48px 0 56px;
  }

  .charlas-bars {
    grid-template-columns: minmax(0, 1fr);
  }

  .charlas-bar-top {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
  }

  .charlas-bar-top span:first-child {
    flex: 1;
  }

  .charlas-cifra {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .charlas-board,
  .charlas-teaser {
    scroll-behavior: auto;
  }
}
