/* Shared talks module: preserve each photograph's original proportions and event marks. */
.speaking-feature {
  background: #fbfaf6;
  border-bottom: 1px solid var(--line);
}

.speaking-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.speaking-copy h2 {
  max-width: 14ch;
  font-size: clamp(2.15rem, 3.5vw, 2.85rem);
  line-height: 1.15;
}

.speaking-intro {
  max-width: 47ch;
  margin-top: 22px;
  color: var(--muted);
  line-height: 1.85;
}

.speaking-copy .button {
  margin-top: 28px;
}

.speaking-photo {
  min-width: 0;
  margin: 0;
  padding: 8px;
  border: 1px solid #b8a582;
  border-radius: 18px;
  background: var(--forest);
  box-shadow: 0 18px 40px -28px #153f375c;
}

.speaking-photo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.speaking-photo figcaption {
  padding: 11px 8px 5px;
  color: #d5e5dd;
  font-size: .8125rem;
  line-height: 1.6;
}

.talks-page {
  --talks-champagne: #b8a582;
}

.talks-hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(36px, 5vw, 76px);
  padding-block: 78px 86px;
}

.talks-hero-copy {
  min-width: 0;
}

.talks-hero h1 {
  font-size: clamp(2.75rem, 4.7vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -.05em;
}

.talks-hero h1 span {
  color: var(--green);
}

.talks-lead {
  max-width: 47ch;
  margin-top: 25px;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.85;
}

.talks-explore {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 27px;
}

.talks-explore span {
  font-size: 1.2rem;
  text-decoration: none;
}

.talks-hero-photo {
  min-width: 0;
  margin: 0;
  padding: 8px;
  background: var(--forest);
  border: 1px solid var(--talks-champagne);
  border-radius: 18px;
  box-shadow: 0 18px 40px -28px #153f375c;
}

.talks-hero-photo img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.talks-hero-photo figcaption {
  padding: 11px 8px 5px;
  color: #d5e5dd;
  font-size: .8125rem;
  line-height: 1.6;
}

.talks-event {
  padding-block: 72px;
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.talks-event-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 36px;
}

.talks-event-heading > div {
  min-width: 0;
}

.talks-event-theme {
  max-width: 39ch;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.talks-panorama {
  margin: 0;
}

.talks-panorama img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--forest);
}

.talks-panorama figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.7;
}

.talks-gallery-section {
  padding-block: 78px 72px;
}

.talks-gallery-heading {
  margin-bottom: 34px;
}

.talks-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.talks-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--forest);
}

.talks-gallery figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: .8125rem;
  line-height: 1.7;
}

.talks-ending {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: clamp(28px, 4vw, 54px);
  padding: clamp(22px, 3vw, 38px);
  background: var(--forest);
  color: white;
  border: 1px solid #b8a58280;
  border-radius: 20px;
}

.talks-ending-photo {
  min-width: 0;
  margin: 0;
}

.talks-ending-photo img {
  width: 100%;
  height: auto;
  border: 1px solid #b8a58280;
  border-radius: 12px;
}

.talks-ending-photo figcaption {
  margin-top: 12px;
  color: #c1d5c9;
  font-size: .8125rem;
  line-height: 1.7;
}

.talks-ending-copy {
  padding-block: 6px;
}

.talks-ending-copy .eyebrow {
  color: #dfcfb1;
}

.talks-ending h2 {
  max-width: 18ch;
  font-size: clamp(1.85rem, 2.6vw, 2.5rem);
  line-height: 1.2;
}

.talks-ending-copy > p:last-child {
  max-width: 38ch;
  margin-top: 22px;
  color: #d5e5dd;
  font-size: 1rem;
  line-height: 1.85;
}

.talks-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  padding-block: 78px 60px;
}

.talks-connect-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.talks-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.talks-photo-note {
  padding-block: 20px 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.7;
}

@media (max-width: 1000px) {
  .speaking-layout,
  .talks-hero {
    gap: 34px;
  }

  .talks-hero h1 {
    font-size: clamp(2.55rem, 4.9vw, 3.25rem);
  }

  .talks-event-heading {
    align-items: start;
    flex-direction: column;
    gap: 20px;
  }

  .talks-event-theme {
    max-width: 65ch;
  }

  .talks-gallery {
    gap: 16px;
  }

  .talks-ending {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 28px;
  }

  .talks-ending h2 {
    font-size: 1.95rem;
  }
}

@media (max-width: 760px) {
  .speaking-layout,
  .talks-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .speaking-copy h2 {
    max-width: 20ch;
  }

  .speaking-intro,
  .talks-lead {
    max-width: 60ch;
  }

  .talks-hero {
    padding-block: 52px 60px;
  }

  .talks-hero h1 {
    font-size: clamp(2.8rem, 6.5vw, 3.65rem);
  }

  .talks-event {
    padding-block: 54px;
  }

  .talks-gallery-section {
    padding-block: 58px;
  }

  .talks-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .talks-gallery figure:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 18px) / 2);
    justify-self: center;
  }

  .talks-ending {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
  }

  .talks-ending h2 {
    max-width: 25ch;
    font-size: 2.15rem;
  }

  .talks-ending-copy > p:last-child {
    max-width: 60ch;
    margin-top: 18px;
  }

  .talks-connect {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
    padding-block: 58px 46px;
  }
}

@media (max-width: 480px) {
  .speaking-copy h2 {
    max-width: 15ch;
    font-size: 2rem;
  }

  .speaking-intro {
    margin-top: 19px;
    font-size: .9375rem;
  }

  .speaking-copy .button {
    width: 100%;
    margin-top: 24px;
  }

  .speaking-photo,
  .talks-hero-photo {
    padding: 6px;
    border-radius: 15px;
  }

  .speaking-photo figcaption,
  .talks-hero-photo figcaption {
    padding-inline: 5px;
    font-size: .75rem;
  }

  .talks-hero {
    padding-block: 42px 48px;
    gap: 29px;
  }

  .talks-hero .eyebrow {
    font-size: .6875rem;
    letter-spacing: .08em;
  }

  .talks-hero h1 {
    font-size: clamp(2.4rem, 10.4vw, 3.1rem);
  }

  .talks-lead {
    margin-top: 22px;
    font-size: 1rem;
  }

  .talks-event {
    padding-block: 46px;
  }

  .talks-event-heading {
    margin-bottom: 27px;
  }

  .talks-event-theme {
    font-size: .9375rem;
  }

  .talks-panorama img {
    border-radius: 10px;
  }

  .talks-gallery-heading {
    margin-bottom: 27px;
  }

  .talks-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .talks-gallery figure:last-child {
    grid-column: auto;
    width: 100%;
  }

  .talks-ending {
    padding: 18px;
    border-radius: 16px;
  }

  .talks-ending h2 {
    font-size: 1.85rem;
  }

  .talks-ending-copy > p:last-child {
    font-size: .9375rem;
  }

  .talks-connect-actions {
    align-items: stretch;
    width: 100%;
  }

  .talks-connect-actions .button {
    padding-inline: 15px;
    text-align: center;
  }

  .talks-back {
    justify-content: center;
  }
}
