/* Homepage lead: prominent feature, with room for the next news section. */
.weekend-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.weekend-grid > .story-card:first-child { grid-column: auto; }
.weekend-grid > .story-card .story-image img { aspect-ratio: 16 / 9; }
.weekend-grid > .story-card .story-content h3 { font-size: clamp(1.4rem,2.1vw,1.8rem); }
@media(max-width:760px) { .weekend-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media(max-width:530px) {
  .weekend-grid { grid-template-columns: 1fr; }
  .section-block .weekend-grid > .story-card { display:grid; grid-template-columns:minmax(0,1fr) 96px; gap:15px; padding-bottom:20px; border-bottom:1px solid var(--line); }
  .section-block .weekend-grid > .story-card .story-image { grid-column:2; grid-row:1; margin-top:4px; align-self:start; }
  .section-block .weekend-grid > .story-card .story-image img { aspect-ratio:1; }
  .section-block .weekend-grid > .story-card .story-content { grid-column:1; grid-row:1; padding-top:0; }
  .section-block .weekend-grid > .story-card h3 { font-size:24px; }
  .section-block .weekend-grid > .story-card .story-content > p { display:none; }
}
.front-grid .lead-story {
  grid-template-columns: minmax(0,1.15fr) minmax(0,1fr);
  min-height: 320px;
  padding-block: 36px;
  gap: clamp(24px,4vw,54px);
  align-items: center;
}
.lead-story .lead-copy h1 {
  font-size: clamp(38px,4.2vw,58px);
  line-height: 1.04;
  margin-block: 12px 16px;
}
.lead-story .lead-copy > p {
  font-size: clamp(18px,1.65vw,23px);
  line-height: 1.4;
  -webkit-line-clamp: 4;
}
.lead-story .lead-figure .full-frame {
  aspect-ratio: 16 / 9;
  width: 100%;
  max-height: 330px;
  object-fit: cover;
}
@media(max-width:760px) {
  .front-grid .lead-story { min-height: 0; grid-template-columns: 1fr; gap: 20px; padding-block: 24px; }
  .lead-story .lead-copy h1 { font-size: clamp(32px,7.5vw,44px); margin-block: 8px 12px; }
  .lead-story .lead-copy > p { font-size: 17px; -webkit-line-clamp: 3; }
  .lead-story .lead-figure { width: 100%; }
  .lead-story .lead-figure .full-frame { aspect-ratio: 2.1; max-height: 220px; }
}

.latest-issues { border-top: 1px solid var(--line); padding: 10px 0; }
.latest-issues summary { cursor: pointer; font-weight: 650; }
.latest-issues > div { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,290px),1fr)); gap: 20px; }
.latest-issues h3 { margin-bottom: 4px; }
.latest-issues ul { padding-left: 1.2em; }
.latest-issues li { margin: 6px 0; }

/* Front-page thumbnails share a crop; the lightbox uses the original photograph. */
.story-card .home-photo.story-image img,
.lead-story .home-photo.lead-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: none;
  object-fit: cover;
  object-position: var(--photo-focus, center);
}
.story-card .home-photo.story-image > a { overflow: hidden; }
.story-card .home-photo.story-image:hover img { transform: none; }

/* The same focal points apply to all three front pages, including archive cards. */
img[src*="/kn-slavik-koncerty-farna"] { --photo-focus: 50% 15%; }
img[src$="/miliarda-tepu-wisdom.webp"] { --photo-focus: 50% 13%; }
img[src$="/kn-261124-max.webp"] { --photo-focus: 50% 1%; }
img[src$="/photo-own-vltava-lipno-inline.webp"] { --photo-focus: 50% 23%; }
img[src$="/jensen-huang-stanford-duben-2026.webp"] { --photo-focus: 55% 32%; }

@media (max-width: 530px) {
  .section-block .story-card .home-photo.story-image img { aspect-ratio: 1; }
}
.lead-story.has-edited-summary .lead-copy > p {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
