.gallery-thumb {
    width: 100%;
    /* Plná šírka v rámci rodiča */
    height: 200px;
    /* Fixná výška pre jednotný vzhľad */
    object-fit: cover;
    /* Orezanie obrázkov, aby vyzerali dobre */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-thumb:hover {
    transform: scale(1.05);
    /* Mierne zväčšenie pri hover */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pswp__caption {
    display: block;
    visibility: visible;
    opacity: 1;
    color: white;
    /* Farba textu */
    font-size: 14px;
    font-family: Arial, sans-serif;
    text-align: center;
    padding: 8px 16px;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    /* Polotransparentné čierne pozadie */
    z-index: 10;
    /* Gradient pre plynulý prechod (voliteľné) */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    /* Jemný tieň na texte pre extra čitateľnosť */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* schova div automaticky ak je prazdny */
.hidden-caption-content:empty {
    display: none;
    background: none;
}

.footer-links a {
    color: white;
}

.latest-events {
    list-style: none;
    padding: 0;
}

.latest-events li {
    margin-bottom: 10px;
}

.latest-events a {
    text-decoration: none;
    color: #333;
}

.latest-events a:hover {
    color: #d00;
}

.gallery-slider {
    width: 100%;
    margin: 0 auto;
}

.slider-image {
    width: 100%;
    height: auto;
}

.slider-image:hover {
    cursor: pointer;
}



/* title lista 02 - sensive */
.page-title {
    padding: 1.5rem 0;
    /* menej zhora aj zdola */
}

.page-heading {
    font-size: 2rem;
    /* trochu väčší nadpis */
    font-weight: 600;
    color: #333;
    margin: 0;
    /* odstránenie zbytočného vertikálneho priestoru */
    line-height: 1.2;
}

.breadcrumbs {
    display: flex;
    align-items: center;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    font-size: 1rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li::after {
    content: "/";
    margin-left: 0.5rem;
    color: #999;
}

.breadcrumb-list li:last-child::after {
    content: "";
    margin: 0;
}

.breadcrumb-list li a {
    text-decoration: none;
    color: #007bff;
    transition: color 0.2s ease-in-out;
}

.breadcrumb-list li a:hover {
    color: #0056b3;
}

.breadcrumb-list li.current {
    color: #555;
    font-weight: 500;
}

.mt-30 {
    margin-top: 30px;
}

.mb-0 {
    margin-bottom: 0;
    padding-bottom: 0;
}

.single-recent-blog-post .thumb img {
    width: 100%;
    height: 250px;
    /* Nastav výšku podľa potreby */
    object-fit: cover;
    /* Umožní, aby obrázok vyplnil oblasť, ale zachoval si správne proporcie */
}

.share-bar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 1.2rem;
}

.share-bar .share-title {
    font-weight: bold;
    margin-right: 10px;
}

.share-bar a {
    color: #444;
    font-size: 18px;
    transition: color 0.3s;
}

.share-bar a:hover {
    color: #007bff;
    /* alebo farba siete, ak chceš */
}

.hero-slider-ilo {
    position: relative;
    overflow: hidden;
    height: 550px;
}

.hero-banner-ilo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-banner-ilo.active {
    opacity: 1;
    z-index: 2;
}

.hero-banner-ilo__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 3;
}


/* events all start */
.news-block-one {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.inner-box {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.lower-box {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.lower-box h3 {
    margin-bottom: 12px;
}

/* filter bar start */

.filter-bar {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background: #f8f9fa;
    border-radius: 0;
    border: 1px solid #e0e4ea;
    margin-bottom: 2rem;
    align-items: center;
    gap: 1rem;
}

.filter-bar h2 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 0;
    color: #777777;
}

/*
.filter-bar form {
    min-width: 140px;
    margin-bottom: 0;
}

.filter-bar .form-select {
    border-radius: 0;
    background-color: #fff;
    font-size: 1rem;
    border: 1px solid #ccd7eb;
    box-shadow: none;
    transition: border-color .2s;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.filter-bar .form-select:focus {
    border-color: #22408a;
    outline: none;
}
*/
/* filter bar end */

/* events all end */

/* cookies START */
#cookie-banner,
#cookie-settings {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #222;
    color: #fff;
    text-align: center;
    padding: 15px;
    z-index: 2000;
}

#cookie-settings h3 {
    color: #fff;
}

.cookie-button {
    margin: 5px;
    padding: 10px;
    border: none;
    /*background: #007bff;*/
    /*color: #fff;*/
    cursor: pointer;
}

/* cookies END */

/* gallery list START */
.gallery-section .image-box img {
    height: 220px;
    object-fit: cover;
    width: 100%;
    background: #eee;
}

.gallery-section {
    padding: 0;
}

/* gallery list END */

.color-palate {
    display: block !important;
    position: fixed;
    top: 120px;
    right: 0;
    z-index: 9999;
}

.color-palate .color-trigger {
    cursor: pointer;
    background: #000;
    color: #fff;
    padding: 10px;
    border-radius: 6px 0 0 6px;
}

.post-title a {
    display: block;
    font-size: 1.2rem;
    line-height: 1.3;
    /* Môžeš upraviť podľa dizajnu */
    height: calc(1.3em * 2);
    /* výška presne na 2 riadky */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.main-slider .slider-content h1,
.main-slider .slider-content h2,
.main-slider .slider-content .text {
    color: #fff;
}

.btn-primary:focus,
.btn:focus,
.theme-btn:focus,
.submit-btn:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* slider mobile fix start */
/* Predvolené štýly */
.slider-content h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.slider-content h1 {
    font-size: 32px;
    margin-bottom: 20px;
}

.slider-content .text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.slider-content a {
    font-size: 16px;
    padding: 12px 20px;
}

/* Responzívne štýly pre mobilné zariadenia */
@media (max-width: 768px) {
    .slider-content h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .slider-content h1,
    .slider-content .text {
        display: none;
    }

    .slider-content {
        max-width: 90%;
        margin: 0 auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .slider-content a {
        font-size: 14px;
        padding: 10px 15px;
    }
}

/* slider mobile fix end */

.main-footer .tweets-widget .tweet .text {
    /*color: #ede7e7;*/
    color: #f1f1f1;
}

/* Pre aktívnu položku menu */
.navigation li.active>a {
    position: relative;
    /* Pre dolný border pomocou ::after */
    text-decoration: none;
    /* Bez podčiarknutia */
}

/* Dolný border pre aktívnu položku */
.navigation li.active>a::after {
    content: "";
    /* Potrebné pre pseudo-element */
    position: absolute;
    bottom: 0;
    /* Zarovnanie na spodok */
    left: 0;
    width: 100%;
    /* Na šírku položky */
    height: 3px;
    /* Hrúbka borderu */
}



/* galeria mobil start */
@media (max-width: 768px) {
    .gallery-section .row .col-12 {
        width: 100%;
        /* Zabezpečí, že každý kontajner bude na celú šírku */
        max-width: 100%;
        /* Obmedzí maximálnu šírku na 100% */
        flex: 0 0 100%;
        /* Flexbox vlastnosť na celú šírku */
    }

    .gallery-section img {
        width: 100% !important;
        /* Obrázok bude vyplňovať celú šírku */
        height: auto;
        /* Zachová proporcie obrázka */
        object-fit: cover;
        /* Zabezpečí konzistentné zobrazenie aj pre neštandardné proporcie */
    }

    .img-fluid {
        max-width: 100%;
        height: auto;
        width: 100% !important;
    }

}

/* galeria mobil end */