/* Scoped to the talks collection; other academic pages keep their original styles. */
.talks-intro { margin: -.35em 0 2em; color: #687277; font-size: .9em; line-height: 1.7; }
.talks-list { display: grid; gap: 26px; margin: 0 0 2.5em; }
.talk-card { display: grid; grid-template-columns: minmax(160px, 27%) minmax(0, 1fr); overflow: hidden; border: 1px solid #e3e7e8; border-radius: 10px; background: #fff; }
.talk-card__body { min-width: 0; padding: 26px 28px; }
.talk-card .talk-card__meta { margin: 0 0 12px; color: #627674; font-size: 11px; line-height: 1.7; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; }
.talk-card__meta span { padding: 0 5px; color: #a3aeac; }
.talk-card h2 { margin: 0 0 12px; padding: 0; border: 0; font-size: 20px; line-height: 1.4; font-weight: 600; letter-spacing: -.015em; }
.talk-card h2 a { color: #364449; text-decoration: none; }
.talk-card h2 a:hover { color: #496c67; text-decoration: underline; text-underline-offset: 4px; }
.talk-card .talk-card__location { margin: 0 0 12px; color: #687277; font-size: 12px; line-height: 1.5; }
.talk-card .talk-card__summary { margin: 0; color: #5d686e; font-size: 14px; line-height: 1.75; }
.talk-card__links { display: flex; flex-wrap: wrap; gap: 10px 23px; margin-top: 18px; }
.talk-card__links a { color: #436861; font-size: 12px; font-weight: 600; text-decoration: none; text-underline-offset: 4px; }
.talk-card__links a:hover { text-decoration: underline; }
.talk-card__links .talk-card__secondary { color: #687277; font-weight: 400; }
.talk-card__image { display: flex; align-items: center; justify-content: center; background: #f4f5f3; padding: 12px; }
.talk-card__image img { display: block; width: 100%; height: auto; max-height: 390px; object-fit: contain; }
.talk-card--featured { grid-template-columns: 1fr; border-color: #d9e1de; }
.talk-card--featured .talk-card__body { padding: 31px 32px 24px; }
.talk-card--featured h2 { max-width: 760px; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.34; }
.talk-card--featured .talk-card__summary { max-width: 680px; }
.talk-gallery { display: grid; grid-template-columns: 1.32fr 1fr 1fr; gap: 12px; min-width: 0; }
.talk-card--featured > .talk-gallery { margin: 0; padding: 0 22px 20px; }
.talk-gallery figure { display: block; min-width: 0; margin: 0; }
.talk-gallery figure a { display: block; overflow: hidden; border-radius: 5px; background: #f1f2ef; }
.talk-gallery img { display: block; width: 100%; height: 218px; object-fit: cover; margin: 0; }
.talk-gallery figcaption { margin: 9px 0 0; text-align: left; font-family: inherit; font-size: 11px; line-height: 1.5; color: #687277; }
.talk-card__body .talk-gallery { grid-template-columns: 1fr 1fr; margin-top: 23px; }
.talk-card__body .talk-gallery img { height: auto; aspect-ratio: 3 / 2; }
.talk-card a:focus-visible, .talk-gallery a:focus-visible { outline: 2px solid #62847c; outline-offset: 3px; }
.page__content .talk-gallery { margin: 28px 0; }
.talk-gallery--pair { grid-template-columns: 1fr 1fr; }
.talk-gallery--pair img { height: auto; aspect-ratio: 3 / 2; }
.talk-poster { display: block; max-width: 380px; margin: 24px auto; }
.talk-poster img { display: block; width: 100%; height: auto; border-radius: 5px; }
@media (max-width: 1100px) and (min-width: 701px) {
  .talk-card__body { padding: 22px; }
  .talk-gallery img { height: 190px; }
}
@media (max-width: 700px) {
  .talks-intro { margin-bottom: 1.6em; }
  .talks-list { gap: 20px; }
  .talk-card { grid-template-columns: 1fr; }
  .talk-card__body, .talk-card--featured .talk-card__body { padding: 23px 21px; }
  .talk-card__image { padding: 18px; }
  .talk-card__image img { width: auto; max-width: 100%; height: 270px; }
  .talk-gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .talk-card--featured > .talk-gallery { padding: 0 14px 18px; }
  .talk-gallery figure:first-child { grid-column: 1 / -1; }
  .talk-gallery figure:first-child img { height: auto; aspect-ratio: 4 / 3; }
  .talk-gallery img { height: auto; aspect-ratio: 3 / 4; }
  .talk-card__body .talk-gallery figure:first-child { grid-column: auto; }
  .talk-gallery--pair figure:first-child { grid-column: auto; }
  .talk-gallery--pair figure:first-child img { aspect-ratio: 3 / 2; }
  .talk-card__body .talk-gallery img { aspect-ratio: 3 / 2; }
}
