/**
 * Sablona 2026-007 Domov - vypis clanku (Rádce; navrh ho nekresli - mrizka 3 karet jako „Další články“ / homepage Rádce).
 * Markup jadra inc/clanky.php: #sekce > h1, .kategorie (kategorie clanku), .clanky_vypis (img, nadpis, uvod, odkaz).
 */
body.sekce_clanky #sekce { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; align-items: start; }
body.sekce_clanky #sekce > :not(.clanky_vypis) { grid-column: 1 / -1; }
body.sekce_clanky #sekce > .cl,
body.sekce_clanky #sekce > .cb,
body.sekce_clanky #sekce > .clanek_obsah:empty { display: none; }
#prostredek body.sekce_clanky #sekce > h1,
body.sekce_clanky #prostredek #sekce > h1 { margin: 8px 0 0; font-size: calc(44px - var(--tpl-head-shrink)); line-height: 1.15; }
body.sekce_clanky #sekce > .kategorie { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
body.sekce_clanky #sekce > .kategorie a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--tpl-border); border-radius: 22px; background: var(--tpl-surface); color: var(--tpl-text); font-size: 15px; font-weight: 500; text-decoration: none; }
body.sekce_clanky #sekce > .kategorie a:hover { border-color: var(--tpl-primary); color: var(--tpl-text); }
body.sekce_clanky .clanky_vypis { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; border: 0; background: none; float: none; width: auto; }
body.sekce_clanky .clanky_vypis > img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; margin: 0; border-radius: var(--tpl-thumb-radius); background: var(--tpl-surface-2); float: none; }
#prostredek body.sekce_clanky .clanky_vypis_nadpis h2,
body.sekce_clanky #prostredek .clanky_vypis_nadpis h2 { margin: 4px 0 0; font-size: calc(20px - var(--tpl-head-shrink)); line-height: 1.3; }
body.sekce_clanky .clanky_vypis_nadpis a { color: var(--tpl-primary); text-decoration: none; }
body.sekce_clanky .clanky_vypis_nadpis a:hover { text-decoration: underline; }
body.sekce_clanky .clanky_vypis_uvod { font-size: 15px; color: var(--tpl-text-light); }
body.sekce_clanky .clanky_vypis_uvod p { margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
body.sekce_clanky .clanky_odkaz { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1024px) { body.sekce_clanky #sekce { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    body.sekce_clanky #sekce { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    #prostredek body.sekce_clanky #sekce > h1,
    body.sekce_clanky #prostredek #sekce > h1 { font-size: calc(30px - var(--tpl-head-shrink)); }
}
