/* Homolog: single de palestra — dark masthead, light paper body. */
.palestra-page .site-header {
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.palestra-hero {
  background: #111;
  color: #f7f7f6;
  padding: 8.5rem 0 4rem;
}
.palestra-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-secondary);
}
.palestra-hero .editions__ttl {
  color: #fff;
  max-width: 46rem;
}
.palestra-hero__speaker {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  color: #dcd6cc;
}
.palestra-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  margin: 1.4rem 0 0;
  padding: 0;
  color: rgba(247, 247, 246, 0.72);
  font-size: 0.95rem;
}
.palestra-meta i,
.palestra-meta .iw-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.4rem;
  color: var(--c-secondary);
}

.palestra-body.theme-light {
  color: var(--ink, #1a1712);
  background: #f7f4ee;
  padding: 4rem 0 6rem;
}
.palestra-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
  gap: 3rem 4rem;
  align-items: start;
}
.palestra-aside {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 6.5rem;
}
.palestra-media {
  margin: 0;
  border-radius: var(--rad-md, 18px);
  overflow: hidden;
  background: #141414;
}
.palestra-map {
  margin: 0;
  overflow: hidden;
  border-radius: var(--rad-md, 18px);
  background: #fff;
  border: 1px solid rgba(26, 23, 18, 0.08);
}
.palestra-map iframe {
  display: block;
  width: 100%;
  height: 14.5rem;
  border: 0;
}
.palestra-map figcaption {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem 1.05rem;
}
.palestra-map strong {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.palestra-map span {
  color: var(--ink-soft, #3f3a32);
  font-size: 0.88rem;
  line-height: 1.45;
}
.palestra-map a {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink, #c21850);
}
.palestra-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f4f2ee;
}
.palestra-prose + .palestra-prose {
  margin-top: 2.4rem;
}
.palestra-prose h2 {
  margin: 0 0 0.85rem;
  font-family: var(--f-primary);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.palestra-prose p {
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink-soft, #3f3a32);
}
.palestra-prose p:last-child {
  margin-bottom: 0;
}
.palestra-talks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.palestra-talks__open {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(26, 23, 18, 0.1);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}
.palestra-talks__open:hover,
.palestra-talks__open:focus-visible {
  border-color: rgba(255, 61, 136, 0.45);
  outline: none;
}
.palestra-talks__open:hover strong {
  text-decoration: underline;
}
.palestra-talks strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.35;
}
.palestra-talks span {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink-soft, #3f3a32);
}

.palestra-modal {
  position: fixed;
  inset: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: min(40rem, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  max-height: min(86svh, 44rem);
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
}
.palestra-modal::backdrop {
  background: rgba(17, 17, 17, 0.62);
}
.palestra-modal__panel {
  position: relative;
  padding: 1.6rem 1.5rem 1.5rem;
  background: #fff;
  color: var(--ink, #1a1712);
  border-radius: 20px;
  overflow: auto;
  max-height: min(86svh, 44rem);
}
.palestra-modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  color: rgba(26, 23, 18, 0.55);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.palestra-modal h3 {
  margin: 0 2rem 0 0;
  font-size: 1.28rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.palestra-modal__speaker {
  margin: 0.55rem 0 0;
  font-weight: 600;
  color: rgba(26, 23, 18, 0.68);
}
.palestra-modal__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.1rem;
  margin: 0.85rem 0 0;
  padding: 0;
  color: rgba(26, 23, 18, 0.62);
  font-size: 0.9rem;
}
.palestra-modal__meta i,
.palestra-modal__meta .iw-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.35rem;
  color: var(--c-secondary);
}
.palestra-modal__copy {
  margin-top: 1.1rem;
}
.palestra-modal__copy h4 {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.palestra-modal__copy p {
  margin: 0 0 0.75rem;
  line-height: 1.55;
}
.palestra-modal__facts {
  margin-top: 1.1rem;
}
.palestra-modal__actions {
  margin-top: 1.35rem;
}
.palestra-modal__actions .btn {
  width: 100%;
}

.palestra-facts {
  margin: 2.4rem 0 0;
}
.palestra-facts div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.45rem 1.1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(26, 23, 18, 0.08);
}
.palestra-facts div:last-child {
  border-bottom: 1px solid rgba(26, 23, 18, 0.08);
}
.palestra-facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink, #c21850);
}
.palestra-facts dd {
  margin: 0;
  color: var(--ink, #1a1712);
}

.palestra-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.75rem 0 0;
}
.palestra-social a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-ink, #c21850);
}

.palestra-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2.25rem;
}
.palestra-page .palestra-actions .btn.btn--primary {
  background: #141414;
  color: #fff;
}
.palestra-page .palestra-actions .btn.btn--sympla {
  background: #00c26f;
  color: #0b1f17;
}
.palestra-page .palestra-actions .btn.btn--sympla .btn__sympla-logo {
  filter: brightness(0) saturate(100%);
}
.palestra-page .btn.btn--soldout {
  background: #ececec;
  border: 1px solid transparent;
  color: rgba(20, 20, 20, 0.55);
  min-height: 3rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: default;
  pointer-events: none;
}
.palestra-page .btn__label--sympla {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.palestra-page .btn__sympla-logo {
  height: 0.95rem;
  width: auto;
}
.palestra-more {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink, #1a1712);
}

@media (max-width: 900px) {
  .palestra-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .palestra-aside {
    position: static;
  }
}
@media (max-width: 640px) {
  .palestra-hero .editions__ttl {
    text-wrap: pretty;
  }
  .palestra-hero {
    padding: 7.25rem 0 2.75rem;
  }
  .palestra-body.theme-light {
    padding: 2.5rem 0 4.5rem;
  }
  .palestra-facts div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}
