/*
 * Aktuality – titulné obrázky bez orezu.
 * Funguje pre obe používané verzie prehľadu aktualít.
 */

/* Aktuálna verzia s triedou news-thumb */
.news-list-layout{
    grid-template-columns:190px minmax(0,1fr) !important;
    align-items:center !important;
}

.news-thumb-wrap{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:190px !important;
    height:125px !important;
    padding:6px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
    border:1px solid var(--border) !important;
    border-radius:14px !important;
    background:#f8fafc !important;
}

.news-thumb{
    display:block !important;
    width:190px !important;
    height:125px !important;
    padding:6px !important;
    box-sizing:border-box !important;
    object-fit:contain !important;
    object-position:center !important;
    border:1px solid var(--border) !important;
    border-radius:14px !important;
    background:#f8fafc !important;
}

.news-thumb-wrap .news-thumb{
    width:100% !important;
    height:100% !important;
    padding:0 !important;
    border:0 !important;
    border-radius:10px !important;
}

/* Staršia/kompaktnejšia verzia s triedou aktualita-thumb */
.aktualita-row{
    grid-template-columns:190px minmax(0,1fr) !important;
    align-items:center !important;
}

.aktualita-thumb{
    width:100% !important;
    height:125px !important;
    min-height:0 !important;
    padding:6px !important;
    box-sizing:border-box !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    overflow:hidden !important;
    background:#f8fafc !important;
    border:1px solid var(--border) !important;
}

.aktualita-thumb img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    min-height:0 !important;
    object-fit:contain !important;
    object-position:center !important;
    border-radius:10px !important;
    background:#f8fafc !important;
}

/* Mobil */
@media (max-width:720px){
    .news-list-layout,
    .aktualita-row{
        grid-template-columns:1fr !important;
    }

    .news-thumb-wrap,
    .news-thumb,
    .aktualita-thumb{
        width:100% !important;
        height:220px !important;
    }
}
