.recent-link {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-top: 15px;
  color: var(--blue);
  font-size: .84rem;
}
.recent-link a, .seminar-detail a, .activity-jumps a {
  text-decoration: underline;
  text-decoration-color: #b0c6d7;
  text-underline-offset: 4px;
}
.activity-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin: -7px 0 28px;
  color: var(--blue);
  font-size: .84rem;
}
.visit-feature, .activity.illustrated {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: start;
  padding: clamp(20px, 3.2vw, 36px);
  background: #f5f8fb;
  border: 1px solid #d9e4ed;
  border-radius: 7px;
}
.visit-feature { gap: 22px 30px; }
.visit-copy, .activity-body, .event-media, .seminar-detail > div { min-width: 0; }
.activity-kicker {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: .77rem;
  font-weight: 600;
  letter-spacing: .025em;
}
.visit-copy h3, .activity-group-title {
  font: 400 clamp(24px, 2.6vw, 31px)/1.22 var(--serif);
  color: #214464;
  letter-spacing: -.45px;
}
.visit-copy p:not(.activity-kicker), .seminar-detail p:not(.seminar-date,.seminar-title) {
  margin-top: 12px;
  color: #475c6c;
  font-size: .925rem;
  line-height: 1.7;
}
.seminar-detail {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(150px, .42fr) 1fr;
  gap: 12px 30px;
  border-top: 1px solid #d5e2eb;
  padding-top: 20px;
}
.seminar-label { color: var(--blue); font-size: .91rem; font-weight: 600; }
.seminar-date { margin-top: 4px; font-size: .78rem; color: #536a7d; }
.seminar-title { font: 400 1.18rem/1.48 var(--serif); color: #264c70; }
.seminar-detail a { display: inline-block; margin-top: 12px; color: var(--blue); font-size: .83rem; }
.activity-group-title { margin: 40px 0 19px; }
.activity-subtitle {
  color: #476478;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .02em;
  margin: 24px 0 10px;
}
.activity-list:has(> .illustrated) { border-top: 0; }
.activity.illustrated {
  grid-template-areas: "date photos" "copy photos";
  grid-template-rows: auto 1fr;
  gap: 10px 30px;
  margin: 16px 0;
}
.illustrated > .activity-date {
  grid-area: date;
  padding: 0;
  color: var(--blue);
  font-weight: 600;
}
.illustrated > .activity-body { grid-area: copy; }
.illustrated > .event-media { grid-area: photos; }
.activity.illustrated:has(.panoramic-photo, .event-photo + .event-photo) {
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "date" "copy" "photos";
  grid-template-rows: auto;
}
.activity h4 {
  color: #264c70;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 5px;
}
.illustrated h4 {
  font: 400 clamp(23px, 2.3vw, 29px)/1.26 var(--serif);
  letter-spacing: -.4px;
  margin: 0 0 11px;
}
.illustrated .activity-place { font-size: .875rem; }
.illustrated .activity-role { margin-top: 9px; font-size: .93rem; line-height: 1.7; }
.activity h4 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.activity-role { max-width: 68ch; }
.event-status {
  display: inline-block;
  padding: 2px 8px;
  margin-bottom: 6px;
  background: #edf4f8;
  color: #225575;
  border-radius: 3px;
  font-size: .72rem;
  font-weight: 600;
}
.event-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.event-media:has(> figure + figure) { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 8px; }
.event-media:has(> .panoramic-photo) { margin-top: 8px; }
.event-photo { min-width: 0; margin: 0; }
.portrait-photo { width: min(100%, 345px); justify-self: center; }
.photo-link {
  display: block;
  position: relative;
  width: 100%;
  background: #f2f5f8;
  border: 1px solid #e2e9ef;
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
}
.event-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.event-photo figcaption {
  margin-top: 7px;
  color: #526879;
  font-size: .74rem;
  line-height: 1.5;
}
.photo-zoom {
  display: grid;
  place-items: center;
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 23px;
  height: 23px;
  border-radius: 3px;
  color: white;
  background: rgb(22 42 57 / 88%);
  font: 18px/1 var(--sans);
}
.photo-link:hover .photo-zoom, .photo-link:focus-visible .photo-zoom { background: var(--blue); }
.earlier-activities { margin-top: 30px; }
.photo-dialog {
  width: max-content;
  max-width: min(96vw, 1900px);
  max-height: 96vh;
  max-height: 96dvh;
  padding: 10px 14px 14px;
  margin: auto;
  color: var(--ink);
  background: white;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 12px 60px rgb(0 0 0 / 25%);
}
.photo-dialog::backdrop { background: rgb(16 32 46 / 83%); }
.photo-dialog figure { margin: 0; }
.photo-dialog img {
  display: block;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 75vh;
  max-height: 75dvh;
  object-fit: contain;
}
.photo-dialog figcaption { padding: 10px 0 0; font-size: .86rem; color: #3e5566; }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 7px; }
.viewer-bar a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; font-size: .86rem; }
.viewer-bar button {
  border: 1px solid #cbd8e3;
  background: #fff;
  border-radius: 3px;
  color: var(--blue);
  padding: 4px 14px;
  font-size: .86rem;
}
.not-found { max-width: 48rem; margin: 12vh auto; padding: 0 6%; }
.not-found .button { margin-top: 20px; }
@media (max-width: 760px) {
  .visit-feature, .activity.illustrated { grid-template-columns: minmax(0, 1fr); }
  .visit-feature { gap: 18px; }
  .activity.illustrated { grid-template-areas: "date" "copy" "photos"; grid-template-rows: auto; }
  .event-media, .event-media:has(> figure + figure) { grid-template-columns: minmax(0, 1fr); margin-top: 6px; }
  .seminar-detail { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 680px) {
  .activity-group-title { margin-top: 32px; }
  .activity:not(.illustrated) h4 { font-size: 17px; }
  .activity-jumps { gap: 6px 15px; }
}
