/* Workshop photo archive: editorial imagery with equal-size speaker covers. */
.workshop-photos-content { min-width: 0; padding: 0 22px; }
.workshop-photos-section { margin: 0 0 56px; scroll-margin-top: 24px; }
.workshop-photos-section-header { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 22px; padding-bottom: 15px; border-bottom: 1px solid #dbe8f0; }
.workshop-photos-section-number { flex: 0 0 auto; margin-top: 4px; color: #358cb8; font: 800 13px Arial,Helvetica,sans-serif; }
.workshop-photos-section-header h3 { margin: 0 0 5px; color: #1c3855; font-size: clamp(21px,2.1vw,28px); line-height: 1.22; }
.workshop-photos-section-header p { margin: 0; color: #607382; font: 13px/1.6 Arial,Helvetica,sans-serif; }

/* Speakers: a single cover opens the photo viewer; no duplicate expanded gallery. */
.workshop-photos-speakers { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,480px),1fr)); gap: 23px 20px; align-items: stretch; }
.workshop-photos-speaker { min-width: 0; border: 1px solid #d2e1eb; border-top: 4px solid #84c6e6; background: #ffffff; box-shadow: 0 5px 17px rgba(22,69,96,.055); }
.workshop-photos-speaker-summary { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px 12px; padding: 13px 15px 15px; }
.workshop-photos-speaker-cover { display: flex; grid-column: 1 / -1; width: 100%; padding: 0; border: 0; aspect-ratio: 16 / 10; align-items: center; justify-content: center; overflow: hidden; background: #e8f0f5; }
button.workshop-photos-speaker-cover { cursor: zoom-in; }
button.workshop-photos-speaker-cover:focus-visible { outline: 3px solid #61a9d0; outline-offset: 3px; }
.workshop-photos-speaker-cover img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform 190ms ease; }
button.workshop-photos-speaker-cover:hover img { transform: scale(1.025); }
.workshop-photos-cover-placeholder { display: flex; flex-direction: column; gap: 9px; align-items: center; justify-content: center; width: 100%; height: 100%; color: #668296; text-align: center; background: linear-gradient(145deg,#e0edf5,#f4f8fb); font: 13px Arial,Helvetica,sans-serif; }
.workshop-photos-cover-placeholder::before { content: '▧'; color: #9bb9cd; font-size: 40px; line-height: 1; }
.workshop-photos-speaker-index { grid-column: 1; grid-row: 2; color: #438daf; font: 800 14px Arial,Helvetica,sans-serif; }
.workshop-photos-speaker-text { display: flex; grid-column: 2; grid-row: 2; flex-direction: column; min-width: 0; gap: 6px; }
.workshop-photos-speaker-text strong { font-size: 19px; line-height: 1.25; color: #153857; }
.workshop-photos-affiliation { color: #617383; font: 12px/1.5 Arial,Helvetica,sans-serif; }
.workshop-photos-talk-title { color: #304958; font-size: 14px; line-height: 1.48; overflow-wrap: anywhere; }
.workshop-photos-slot { color: #59839c; font: 12px/1.5 Arial,Helvetica,sans-serif; }

/* Photo mosaic: a wide lead image and 4:3 tiles in all other positions. */
.workshop-photos-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; align-items: start; }
.workshop-photos-editorial-lead { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0,3.4fr) minmax(0,1fr); gap: 13px; align-items: start; }
.workshop-photos-editorial-side { display: grid; grid-template-columns: minmax(0,1fr); gap: 13px; }
.workshop-photos-photo-grid.has-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
.workshop-photos-photo-grid.has-single { grid-template-columns: minmax(0,1fr); max-width: 700px; }
.workshop-photos-photo-tile { display: flex; flex-direction: column; min-width: 0; margin: 0; overflow: hidden; border: 1px solid #dfe8ee; background: #fff; }
.workshop-photos-photo-button { display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #e8f0f5; cursor: zoom-in; }
.workshop-photos-photo-button img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 190ms ease; }
.workshop-photos-photo-feature .workshop-photos-photo-button { aspect-ratio: 2.1 / 1; }
.workshop-photos-photo-button:hover img,.workshop-photos-photo-button:focus-visible img { transform: scale(1.025); }
.workshop-photos-photo-tile figcaption { padding: 9px 12px; color: #35536a; font: 12px/1.45 Arial,Helvetica,sans-serif; overflow-wrap: anywhere; }
#moments .workshop-photos-photo-tile figcaption,
#gallery .workshop-photos-photo-tile figcaption { display: none; }
.workshop-photos-opening { display: flex; flex-direction: column; gap: 15px; }
.workshop-photos-opening-featured-row { display: grid; grid-template-columns: minmax(0,1fr); gap: 13px; align-items: start; }
.workshop-photos-opening-hero { min-width: 0; margin: 0; overflow: hidden; border: 1px solid #dfe8ee; background: #fff; }
.workshop-photos-opening-hero-button { display: block; width: 100%; aspect-ratio: 3 / 1; padding: 0; border: 0; overflow: hidden; background: #e8f0f5; cursor: zoom-in; }
.workshop-photos-opening-hero-button img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 80%; }
.workshop-photos-opening-hero figcaption { padding: 9px 12px; color: #35536a; font: 13px/1.45 Arial,Helvetica,sans-serif; }
.workshop-photos-opening-secondary { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; align-items: stretch; }
.workshop-photos-empty { margin: 6px 0 15px; padding: 17px 18px; color: #5f7484; background: #f7fafc; border: 1px dashed #c7d9e4; font-size: 13px; font-style: italic; }
.workshop-photos-empty[hidden] { display: none; }
.workshop-photos-archive-note { color: #607383; padding-top: 18px; border-top: 1px solid #dce8f0; font-size: 13px; }

/* The dialog always displays the complete, un-cropped image. */
.workshop-photos-lightbox { position: fixed; width: min(96vw,1150px); max-width: none; max-height: 94vh; max-height: 94dvh; margin: auto; padding: 48px 20px 14px; border: 0; border-radius: 5px; background: #f7fbfd; color: #244054; box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.workshop-photos-lightbox::backdrop { background: rgba(9,22,35,.86); }
.workshop-photos-lightbox-close { position: absolute; top: 4px; right: 8px; width: 44px; height: 42px; border: 0; background: transparent; color: #175378; font-size: 32px; cursor: pointer; }
.workshop-photos-lightbox-body { display: flex; align-items: center; gap: 10px; }
.workshop-photos-lightbox-body figure { margin: 0; min-width: 0; flex: 1; text-align: center; }
.workshop-photos-lightbox-body figure img { display: block; width: auto; max-width: 100%; max-height: 70vh; max-height: 70dvh; margin: auto; object-fit: contain; }
.workshop-photos-lightbox-body figcaption { margin: 11px 0 0; color: #365369; font: 13px/1.5 Arial,Helvetica,sans-serif; }
.workshop-photos-lightbox-arrow { flex: 0 0 44px; width: 44px; height: 54px; padding: 0; border: 1px solid #cbdfea; background: #e8f3f9; color: #15587c; font-size: 32px; cursor: pointer; }
.workshop-photos-lightbox-arrow[hidden] { display: none; }
.workshop-photos-lightbox-count { margin: 11px 0 0; color: #647c8b; text-align: center; font: 12px Arial,Helvetica,sans-serif; }

@media (max-width: 959px) {
  .workshop-photos-content { padding: 0 8px; }
  .workshop-photos-photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workshop-photos-opening-secondary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .workshop-photos-editorial-lead { grid-template-columns: 1fr; }
  .workshop-photos-editorial-side { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .workshop-photos-content { padding: 0; }
  .workshop-photos-section { margin-bottom: 39px; }
  .workshop-photos-section-header { gap: 11px; margin-bottom: 15px; }
  .workshop-photos-section-header h3 { font-size: 22px; }
  .workshop-photos-featured-photo,.workshop-photos-featured-placeholder { min-height: 205px; }
  .workshop-photos-speakers { gap: 16px; }
  .workshop-photos-speaker-summary { padding: 10px 11px 14px; }
  .workshop-photos-speaker-text strong { font-size: 17px; }
  .workshop-photos-photo-grid,.workshop-photos-photo-grid.has-pair { grid-template-columns: minmax(0,1fr); }
  .workshop-photos-opening-secondary { grid-template-columns: minmax(0,1fr); }
  .workshop-photos-opening-featured-row { grid-template-columns: minmax(0,1fr); }
  .workshop-photos-editorial-side { grid-template-columns: minmax(0,1fr); }
  .workshop-photos-lightbox { width: 98vw; max-height: 96dvh; padding: 43px 8px 10px; }
  .workshop-photos-lightbox-body { gap: 4px; }
  .workshop-photos-lightbox-arrow { flex-basis: 44px; width: 44px; height: 48px; }
  .workshop-photos-lightbox-body figure img { max-height: 65dvh; }
}
@media (max-width: 359px) {
  .workshop-photos-speaker-summary { grid-template-columns: 22px minmax(0,1fr); gap: 9px; }
  .workshop-photos-speaker-text strong { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .workshop-photos-photo-button img,.workshop-photos-speaker-cover img { transition: none; }
}
