.home-grid{

    display:grid;

    grid-template-columns:2fr 1fr;

    gap:30px;

    margin:50px auto;

}

.news-box,
.events-box{    

    padding:30px;

   
}

.news-box h2,
.events-box h2{

    margin-bottom:25px;

    color:var(--primary);

}

.news-item{

    padding-bottom:20px;

    margin-bottom:20px;

    border-bottom:1px solid #eee;

}

.news-item:last-of-type{

    border-bottom:none;

}

.date{

    display:inline-block;

    background:#eef4fb;

    color:var(--primary);

    padding:5px 12px;

    border-radius:20px;

    font-size:.85rem;

    margin-bottom:10px;

}

.news-item h3{

    margin-bottom:8px;

}

.news-item a{

    color:var(--primary);

    font-weight:600;

}
/* =========================================
   PODSTRÁNKA AKTUALITY
   ========================================= */

.news-page{
    padding-bottom:60px;
}

.news-page-list{
    display:flex;
    flex-direction:column;
    gap:18px;

    max-width:900px;
    margin:0 auto;
}

.news-page-item{
    padding:26px 30px;
}

.news-page-date{
    display:flex;
    align-items:center;
    gap:8px;

    margin-bottom:10px;

    color:#667085;
    font-size:.9rem;
    font-weight:600;
}

.news-page-date i{
    color:var(--secondary);
}

.news-page-item h2{
    margin:0 0 10px;

    color:var(--primary);
    font-size:1.35rem;
}

.news-page-perex{
    margin:0 0 18px;

    color:#52606d;

    line-height:1.6;
}

.news-page-item .button-outline{
    display:inline-flex;
    align-items:center;
    gap:7px;
}

.news-empty{
    max-width:900px;
    margin:0 auto;

    padding:30px;

    text-align:center;
}

@media (max-width:768px){

    .news-page-item{
        padding:22px;
    }

    .news-page-item h2{
        font-size:1.2rem;
    }

}
/* =========================================
   DETAIL AKTUALITY
   ========================================= */

.news-detail-page{
    padding-bottom:60px;
}

.news-detail{
    max-width:900px;
    margin:0 auto;
    padding:34px;
}

.news-detail h1{
    margin:0 0 18px;
    color:var(--primary);
    font-size:1.8rem;
}

.news-detail-perex{
    margin:0 0 24px;

    color:#52606d;
    font-size:1.05rem;
    font-weight:600;
    line-height:1.6;
}

.news-detail-content{
    margin-top:24px;
    line-height:1.7;
}

.news-detail-image{
    display:block;

    width:100%;
    height:auto;

    margin:24px 0;

    border-radius:14px;
}

.news-detail-back{
    max-width:900px;
    margin:20px auto 0;
}

@media (max-width:768px){

    .news-detail{
        padding:24px;
    }

    .news-detail h1{
        font-size:1.5rem;
    }

}
.news-detail-gallery{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:18px;

    margin:24px 0;
}

.news-detail-gallery .news-detail-image{
    margin:0;
}

.news-detail-gallery .news-main-image{
    grid-column:1 / -1;
}

.news-detail-attachments{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;

    margin-top:28px;
}

.news-detail-attachments h2{
    margin:0 0 6px;

    color:var(--primary);
    font-size:1.1rem;
}

@media (max-width:650px){

    .news-detail-gallery{
        grid-template-columns:1fr;
    }

}
/* =========================================================
   PRÍLOHY AKTUALITY
========================================================= */

.news-attachments{
    margin-top:32px;
}

.news-attachments h2{
    display:flex;
    align-items:center;
    gap:9px;

    margin:0 0 16px;

    color:#173d62;
    font-size:1.2rem;
}

.news-attachments h2 i{
    color:#b85b32;
}


/* Zoznam */

.news-attachments-list{
    display:flex;
    flex-direction:column;
    gap:12px;
}


/* Jedna príloha */

.news-attachment{
    display:flex;
    align-items:center;
    gap:16px;

    padding:16px 18px;

    background:#f8fafc;

    border:1px solid #e1e8ef;
    border-radius:10px;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.news-attachment:hover{
    border-color:#c6d5e2;
    box-shadow:0 4px 14px rgba(0,0,0,.05);
}


/* PDF ikona */

.news-attachment-icon{
    display:flex;
    align-items:center;
    justify-content:center;

    flex:0 0 44px;

    width:44px;
    height:50px;

    border-radius:7px;

    background:#b85b32;

    color:#fff;
    font-size:1.55rem;
}


/* Názov */

.news-attachment-info{
    display:flex;
    flex-direction:column;
    gap:4px;

    flex:1;
    min-width:0;
}

.news-attachment-info strong{
    color:#173d62;
    font-size:1rem;

    overflow-wrap:anywhere;
}

.news-attachment-info span{
    color:#718096;
    font-size:.82rem;
}


/* Tlačidlá */

.news-attachment-actions{
    display:flex;
    align-items:center;
    gap:8px;
}

.news-attachment-actions a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;

    min-height:38px;
    padding:0 13px;

    border-radius:7px;

    font-size:.88rem;
    font-weight:600;

    text-decoration:none;

    transition:
        background-color .2s ease,
        border-color .2s ease;
}


/* Zobraziť */

.news-attachment-view{
    color:#1f5f9c;

    background:#fff;
    border:1px solid #1f5f9c;
}

.news-attachment-view:hover{
    background:#eef5fb;
}


/* Stiahnuť */

.news-attachment-download{
    color:#fff;

    background:#1f5f9c;
    border:1px solid #1f5f9c;
}

.news-attachment-download:hover{
    background:#174b7d;
    border-color:#174b7d;
}


/* Mobil */

@media (max-width:650px){

    .news-attachment{
        align-items:flex-start;
        flex-wrap:wrap;
    }

    .news-attachment-info{
        width:calc(100% - 65px);
    }

    .news-attachment-actions{
        width:100%;
        padding-left:60px;
    }

    .news-attachment-actions a{
        flex:1;
    }

}

@media (max-width:430px){

    .news-attachment-actions{
        padding-left:0;
    }

}
.news-detail-figure{
    margin:0;
}

.news-detail-figure.news-main-figure{
    grid-column:1 / -1;
}

.news-detail-figure .news-detail-image{
    display:block;
    width:100%;
    margin:0;
}

.news-detail-figure figcaption{
    padding:9px 12px;

    background:#f5f7f9;
    border:1px solid #e2e7eb;
    border-top:0;
    border-radius:0 0 7px 7px;

    color:#5d6873;
    font-size:.88rem;
    line-height:1.45;
}
.news-archive-date{
    margin:14px 0 0;

    color:#7a8794;
    font-size:.88rem;
}
.news-archive-actions{
    display:flex;
    justify-content:flex-end;

    margin:18px 0 28px;
}

.news-archive-button{
    display:inline-flex;
    align-items:center;
    gap:9px;

    padding:11px 17px;

    border:1px solid #cbd9e5;
    border-radius:9px;

    background:#fff;

    color:var(--primary);
    text-decoration:none;
    font-weight:600;

    box-shadow:0 4px 14px rgba(0,0,0,.04);

    transition:
        background-color .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.news-archive-button:hover{
    background:#eef5fa;
    border-color:var(--primary);

    transform:translateY(-1px);
}

.news-archive-button .bi-archive{
    font-size:1.05rem;
}

.news-archive-button .bi-arrow-right{
    font-size:.9rem;
}