/* This sheet is loaded only on small screens in the Kyiv edition. */
.shell { width: 94%; }
header { gap: 12px; padding: 12px 0; flex-wrap: nowrap; }
header .tagline { display: none; }
header .tools { display: flex; flex: 1; justify-content: flex-end; gap: 4px; min-width: 0; }
header .tools form {
    display: flex; align-items: center; width: min(100%, 225px); min-width: 0;
    border: 1px solid var(--line); border-radius: 24px;
}
header .tools input { width: 0; flex: 1; min-width: 0; border: 0; padding: 10px 0 10px 12px; font-size: 16px; }
header .tools form:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
header .tools input:focus { outline: none; }
header .mobile-search-submit, header .tools a[hreflang] {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px;
}
header .mobile-search-submit { border: 0; background: transparent; color: var(--ink); padding: 0; }
.shell > nav[aria-label] {
    display: flex; flex-wrap: wrap; white-space: normal; gap: 0 14px;
    padding: 2px 0; overflow: visible; border-bottom: 1px solid var(--line);
}
.shell > nav a, #catalog nav a, .sect a, footer a {
    display: inline-flex; align-items: center; min-height: 44px;
}
.reader { overflow-wrap: anywhere; }
.reader h1 { font-size: clamp(27px, 7vw, 36px); line-height: 1.13; text-wrap: balance; }
.reader p { font-size: 18px; line-height: 1.56; }
.reader img { max-width: 100%; height: auto; }
.reader figure { max-width: 100%; margin-inline: 0; }
.reader table, .reader pre { display: block; max-width: 100%; overflow-x: auto; }
#catalog .sect { gap: 10px; flex-wrap: wrap; }
#catalog .sect h1, #catalog .sect h2 { min-width: 0; overflow-wrap: anywhere; }
#catalog .sect small { letter-spacing: .04em; }
#catalog nav { white-space: normal; gap: 15px; }
@media (max-width: 599px) {
    #catalog .cards { grid-template-columns: minmax(0,1fr); gap: 22px; }
    #catalog .story .copy h3 { font-size: 20px; line-height: 1.2; }
    #catalog .copy { padding: 10px 0 0; }
    #catalog { margin-top: 26px; }
    #catalog > p { margin-bottom: 14px; }
    .shard span { font-size: 11px; }
    footer { flex-wrap: wrap; gap: 4px 14px; }
}
