/* Loaded only on the Kyiv editorial homepage. */
.shell { width: min(1440px, 92%); }
.home-section, #catalog { margin-top: clamp(32px, 4vw, 64px); scroll-margin-top: 18px; }
.sect { border-top: 1px solid var(--line); padding-top: 14px; margin: 0 0 18px; align-items: baseline; }
.sect h2 { font-size: clamp(23px, 2.3vw, 35px); letter-spacing: -.035em; }
.sect a { flex-shrink: 0; }
.cards { column-gap: clamp(14px, 1.65vw, 25px); row-gap: 26px; }
.story { display: flex; flex-direction: column; }
.story .copy { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 12px 0 0; }
.copy h3 { margin: 0; line-height: 1.18; overflow-wrap: anywhere; }
.copy small { margin-top: auto; }
.thumb img { aspect-ratio: 16 / 9; }
.shard b { display: block; font-size: clamp(15px, 1.2vw, 20px); line-height: 1.15; }
@media (min-width: 1000px) {
    .five-items { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 600px) and (max-width: 999px) {
    .cards.four, #catalog .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards.five-items { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .five-items .story { grid-column: span 2; }
    .five-items .story:nth-last-child(-n+2) { grid-column: span 3; }
}
@media (max-width: 760px) {
    .shell { width: min(94%, 680px); }
    nav[aria-label] { flex-wrap: wrap; gap: 8px 17px; white-space: normal; }
    .shards { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; background: #fff; padding: 0; }
    .manifest, .shard { min-height: 185px; }
    .manifest { margin: 0; padding: 16px; clip-path: none; }
    .manifest h1 { font-size: clamp(30px, 6vw, 44px); }
    .shard, .shard img, .shard span, .shard b { transform: none; }
    .shard { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 5px; padding: 12px; isolation: isolate; }
    .shard img { position: absolute; inset: 0; z-index: -2; margin: 0; width: 100%; }
    .shard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent, #061e20e8); }
    .shard span, .shard b { position: static; max-width: 100%; }
    .shard b { padding: 0; background: transparent; font-size: clamp(14px, 3vw, 18px); }
}
@media (max-width: 599px) {
    .cards, .cards.four { grid-template-columns: minmax(0, 1fr); }
    .cards { row-gap: 22px; }
    .copy h3 { font-size: 20px; }
    .sect { gap: 12px; }
    .sect a { font-size: 12px; }
    footer { flex-wrap: wrap; gap: 10px 20px; }
}
