:root {
    --main-color: #ff0099;
    --secondary-color: #993399;
}

html {
    scroll-behavior: smooth;
}

.mobile-menu .wpml-ls-current-language {
    border-bottom: none;
}

.space-mobile-menu .space-mobile-menu-list ul li a {
    font-size: 1.1em;
    line-height: 1.2em;
    padding-right: 15px;
}

.mobile-menu .space-up {
    border-bottom: none;
}

.space-mobile-menu-block-ins .space-mobile-menu-list ul li ul.sub-menu {
    border-radius: 5px;
    padding-bottom: 15px;
    padding-right: 15px;
    background-color: rgba(255, 0, 153, 0.7);
}

.space-header-height .space-header-menu ul.main-menu .current-menu-item a {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}

.space-header-height .space-header-menu ul.main-menu .current-menu-parent a {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}

.space-header-height .space-header-menu ul.main-menu .current-menu-ancestor a {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}

.space-header-height .space-header-menu ul.main-menu li ul.sub-menu .current-menu-item a {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}

.space-header-height .space-header-menu ul.main-menu li ul.sub-menu .current-menu-parent a {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}

.space-header-height .space-header-menu ul.main-menu li ul.sub-menu .current-menu-item ul.sub-menu li a {
    color: var(--secondary-color);
    border-bottom: 1px solid transparent;
}

.space-header-height .space-header-menu ul.main-menu li ul.sub-menu .current-menu-parent ul.sub-menu li a {
    color: var(--secondary-color);
    border-bottom: 1px solid transparent;
}

.space-header-height .space-header-menu ul.main-menu li ul.sub-menu .current-menu-parent ul.sub-menu .current-menu-item a {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}

.space-header-height .space-header-menu ul.main-menu li ul.sub-menu .current-post-ancestor a {
    color: var(--secondary-color);
    border-bottom: 1px solid transparent;
}

.space-header-height .space-header-menu ul.main-menu li ul.sub-menu .current-menu-ancestor a {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}

.space-header-height .space-header-menu ul.main-menu .current-menu-ancestor a {
    color: var(--main-color);
    border-bottom: 2px solid var(--main-color);
}

.space-mobile-menu-list ul li.menu-item-has-children:after {
    font-size: 20px!important;
}

.space-mobile-menu-list ul li.menu-item-has-children.space-up:after {
    font-size: 20px!important;
}

.dynamic-typewriter h3 {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
}

/* === Společné styly pro banner === */
.custom-banner {
    position: relative;
    padding: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    color: white;
}

.banner-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* === Logo varianta === */
.custom-banner.with-logo {
    background: linear-gradient(to right, var(--main-color), #1d1d1b);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.with-logo .banner-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

/* === Textový obsah === */
.banner-text {
    flex: 1;
    min-width: 200px;
}

.banner-text h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.banner-text p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* === CTA tlačítko === */
.banner-cta {
    display: flex;
    align-items: center;
}

.banner-button {
    padding: 0.75rem 1.5rem;
    background-color: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: bold;
    white-space: nowrap;
    transition: background 0.3s;
}

.banner-button:hover {
    background-color: var(--secondary-color);
}

/* === Varianta s pozadím === */
.custom-banner.with-background {
    background-size: cover;
    background-position: center;
    color: white;
}

.with-background .banner-wrapper {
    background-color: rgba(0, 0, 0, 0.7); /* tmavý overlay */
    padding: 2rem;
    border-radius: inherit;
}

.with-background .banner-image {
    display: none; /* logo se ve variantě s pozadím skryje */
}

/* === Responzivita === */
@media (max-width: 768px) {
    .banner-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .banner-image img {
        margin-bottom: 1rem;
    }

    .banner-text h2 {
        font-size: 1.6rem;
    }

    .banner-text p {
        font-size: 1rem;
    }

    .banner-cta {
        justify-content: center;
    }
}

.space-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.space-page-content a:hover, .space-header-height .space-header-menu ul.main-menu li ul.sub-menu li a:hover {
    color: var(--main-color)!important;
}

a.btn {
    display: inline-block;
    text-decoration: none !important;
    padding: 16px 60px;
    font-weight: 700;
    font-size: 1em;
    line-height: 1.25em;
    color: #fff;
    border-radius: 5px;
    background-color: var(--main-color);
    box-shadow: 0px 0px 15px 0px rgb(255 255 255 / 35%);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

a.btn:hover {
    display: inline-block;
    text-decoration: none !important;
    padding: 16px 60px;
    font-weight: 700;
    font-size: 1em;
    line-height: 1.25em;
    color: #fff;
    border-radius: 5px;
    background-color: var(--secondary-color);
    box-shadow: 0px 0px 15px 0px rgb(255 255 255 / 35%);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.article-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(229, 147, 61, 0.2); /* ✨ stín */
    transition: box-shadow 0.3s,transform 0.3s;
    min-width: 245px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    margin: 0.5rem;
    height: 100%;
}

.article-card:hover {
    box-shadow: 0 5px 13px rgba(255, 0, 153, 0.4);
    transform: translateY(-4px);
}

.article-card:hover .article-title {
    color: var(--main-color);
}

.black-background .article-card {
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.7); /* ✨ stín */
}

.black-background .article-card:hover {
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.9); /* ✨ stín */
}

.color-background .article-card {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4); /* ✨ stín */
}

.color-background .article-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); /* ✨ stín */
}

.swiper-slide {
    overflow: visible !important; /* 👈 důležité */
}

.swiper-wrapper {
    overflow: visible !important;
}

.article-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    padding: 1rem;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    gap: 0.5rem;
}

.tab-article-content {
    justify-content: flex-start;
}

.article-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.article-excerpt {
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #777;
}

@media (max-width: 768px) {
    .article-meta {
        display:none;
    }
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff; /* barva šipky */
    background-color: #57606f; /* pozadí šipky */
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.2s;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* Hover efekt */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--main-color);
    transform: translateY(-50%) scale(1.05);
}

/* Lepší kontrast i na světlém pozadí */
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
}

/* Na mobilech jemnější pozice */
@media (max-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 36px;
        height: 36px;
        padding: 8px;
    }
}

.custom-wrapper {
    padding: 25px 0;
    margin: 25px 0;
}

.custom-wrapper.black-background {
    background-color: #1d1d1b;
}

.custom-wrapper.color-background {
    background-color: var(--main-color);
}

.section-heading {
    text-align: center;
    margin: 2rem auto 2rem;
    max-width: 800px;
    padding: 0 1rem;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1d1d1b;
}

.section-description {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
}

/* Responzivní úprava */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }

    .section-description {
        font-size: 1rem;
    }
}

.black-background .section-heading .section-description {
    color: white!important;
}

.black-background .section-heading .section-title {
    color: white;
}

.color-background .section-heading .section-title {
    color: white;
}

.color-background .section-heading .section-description {
    color: white;
}

.slider-button-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.color-background .slider-button-wrapper .btn {
    background-color: #1d1d1b;
}

.color-background .slider-button-wrapper .btn:hover {
    background-color: #57606f;
}

/* Záložky */
.custom-tabs-nav {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.custom-tabs-nav li {
    cursor: pointer;
    background: #57606f;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    font-weight: bold;
    color: white;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.custom-tabs-nav li.active {
    background: var(--main-color);
    color: white;
}

.custom-tabs-nav li:hover {
    color: #fff;
    background-color: var(--main-color);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.color-background .custom-tabs-nav li.active {
    background: #1d1d1b;
}

.color-background .custom-tabs-nav li:hover {
    background-color: #1d1d1b;
}


/* Panely */
.custom-tab-panel {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.custom-tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

.list-bullet {
    margin: 20px 0;
    padding-left: 40px;
}
.nestedListItem .list-bullet {
    list-style-type: circle;
    margin: 10px 0;
    padding-left: 40px;
}

.nestedListItem .list-bullet li {
    list-style-type: circle!important;
}

.list-number {
    list-style-type: decimal;
    margin: 20px 0;
    padding-left: 40px;
}
.nestedListItem .list-number {
    list-style-type: lowe-aplha;
    margin: 10px 0;
    padding-left: 40px;
}

.nestedListItem .list-number li {
    list-style-type: lower-alpha!important;
}

.nestedListItem {
    list-style: none!important;
}

.custom-category-brands-wrapper {
    padding: 0;
    margin: 0;
    margin-bottom: 25px;
    background-color: #1d1d1b;
}

/* Wrapper sloupců */
.listing-columns-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 3rem 0;
}

.listing-column {
    flex: 1 1 30%;
    min-width: 280px;
}

.listing-column h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #1d1d1b;
}

.listing-logo-wrap {
    position: relative;
    max-height: 60px;
    display: inline-block;    /* udrží rozměr jen podle <img> */
}

/* Vnitřní grid (seznam karet ve sloupci) */
.listing-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s, transform 0.3s;
    overflow: hidden;
}

.rank-over-img {
    position: absolute;
    top: -6px;                /* lehce „vyskočí“ nad obrázek */
    left: -6px;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    background: #151515;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    box-shadow: 1px 1px 3px white;
    z-index: 2;               /* jistota, že bude nad obrázkem */
}

.listing-logo-wrap:hover .rank-over-img {
    transform: scale(0.9);    /* kopíruje efekt obrázku (volitelné) */
    transition: transform 0.5s ease-in-out;
}

/* 4) Mobil – menší kruh, ať nepřekrývá moc plochy */
@media (max-width: 640px) {
    .rank-over-img {
        top: -4px;
        left: -4px;
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 0.6rem;
    }
}

.listing-btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;             /* na mobilu se zalomí */
}

.listing-btn-group .visit-btn {
    flex: 1 1 auto;              /* povolí růst, ale nechá min-width */
    padding: 5px!important;
}

/* Karta */
.listing-card {
    overflow: hidden;
}

/* Klikací oblast */
.listing-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
}

/* Logo vlevo */
.listing-logo img {
    width: 60px;
    height: 60px;
    border-radius: 5px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.listing-logo-wrap:hover {
    transform: scale(0.9);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/* Textová část */
.listing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.listing-content h3 {
    font-size: 1.05rem;
    margin: 0;
    color: #1d1d1b;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.listing-content h3:hover {
    color: var(--main-color);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.listing-bonus,
.listing-rating {
    font-size: 0.9rem;
    color: #555;
}

/* Tlačítko */
a.visit-btn {
    display: inline-block;
    color: white;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 0.9rem!important;
    margin-top: 0.5rem!important;
    margin-bottom: 0!important;
    transition: background-color 0.3s;
    text-decoration: none;
    max-width: 90px!important;
    text-align: center!important;
}

a.visit-btn:hover {
    border-radius: 0.5rem;
}

a.secondary-btn {
    background-color: #c0c6d1!important;
    color: #151515!important;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

a.secondary-btn:hover {
    background-color: #57606f!important;
    color: #ffffff!important;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/* Responzivita */
@media (max-width: 640px) {
    .listing-link {
        align-items: center;
        text-align: center;
    }

    .listing-logo img {
        margin-bottom: 0.5rem;
    }

    .listing-content {
        align-items: start;
        gap: 0.75rem;
    }

    .visit-btn {
        align-self: center;
    }

    .listing-rank {
        margin-bottom: 0.6rem;   /* oddělí číslo od loga */
    }

    .listing-btn-group {
        justify-content: center; /* na úzkém vycentruj tlačítka */
        margin: 0;
    }

    a.visit-btn {
        margin-top: 0!important;
    }

    .listing-btn-group .visit-btn {
        padding: 5px 10px!important
    }
}

a.btn-wide {
    display: block;                /* aby zabralo 100 % šířky sloupce */
    width: 100%;
    margin-top: 1rem;
    padding: 0.9rem 1.2rem;
    text-align: center;
    background: var(--main-color);
    color: #151515;
    background-color: #fff;
    border: solid 2px var(--main-color);
    font-weight: 700;
    border-radius: 1rem;
    text-decoration: none;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

a.btn-wide:hover {
    border: solid 2px #57606f;
    color: var(--main-color);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/* Mobilní breakpoint – širší okraje pro “dýchnutí” */
@media (max-width: 640px) {
    a.btn-wide {
        margin-inline: auto;       /* zarovná zleva/ zprava stejně */
    }
}

.black-background h2 {
    color: white;
}

.black-background .listing-card {
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.color-background h2 {
    color: white;
}

@media (max-width: 1235px) {
    .custom-wrapper .space-page-wrapper {
        margin: 0 15px;
    }

    .custom-wrapper .space-page-wrapper p {
        margin-right: 20px;
    }
}

.expert-slider-section {
    padding: 20px;
    background-color: #f1f3f4;
    text-align: center;
    margin: 25px 17px;
    border: none;
    border-radius: 5px;
    overflow: visible;
}

.expert-slider-section h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}


.swiper-wrapper {
    display: flex;
    align-items: stretch; /* zarovnání výšky karet */
}

.expert-slider {
    padding-bottom: 20px;
}

.swiper-slide {
    display: flex;
    height: auto;
}

.casino-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.casino-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.casino-card img {
    max-width: 80px;
    margin: 0 auto 10px;
}
.casino-card h3 {
    font-size: 1rem;
    margin: 10px 0;
}
.play-button {
    padding: 8px 16px!important;
    margin-top: 10px!important;
    margin-bottom: 0!important;
}
.play-button:hover {
    background-color: var(--secondary-color);
}
.tnc-text {
    display: block;
    margin-top: 10px;
    font-size: 0.75rem;
    color: gray;
    min-height: 1em; /* místo i když je prázdný */
}

/* Šipky */
.swiper-button-prev,
.swiper-button-next {
    color: white;
    top: 50%;
    transform: translateY(-50%);
}

.space-comments {
    margin-top: 10px!important;
    margin-bottom: 10px!important;
}

#float-bar-close {
    display: block;
    position: fixed;
    right: 80px;
    bottom: 90px;
    background: #1b1d21;
    padding: 5px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    color: var(--main-color);
}

#float-bar-show {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 25px;
    cursor: pointer;
    font-size: 24px;
    background: #1b1d21;
    color: var(--main-color);
    padding: 10px;
    border-radius: 50%;
    z-index: 9;
}

#float-bar-close:hover,
#float-bar-show:hover, #expand-bar:hover {
    opacity: 0.7;
}

@media (max-width: 400px) {
    .space-organization-float-bar-button {
        width: 100%!important;
        justify-content: center!important;
    }

    .space-organization-float-bar-button a {
        margin-top: 5px!important;
        margin-bottom: 0!important;
    }
}

.emoji {
    max-width: 1em!important;
}

.space-title-box-ins {
    padding-bottom: 50px;
}

.space-organization-float-bar-bg .space-organization-float-bar-bg-ins {
    padding-bottom: 0!important;
}

.cky-consent-container .cky-consent-bar {
    background-color: #f1f3f4!important;
    padding: 12px!important;
    padding-top: 8px !important;
}

.cky-btn-customize {
    display: none!important;
}

.cky-btn {
    padding: 2px 10px!important;
}

.cky-btn-reject {
    background-color: #ffffff!important;
    color: var(--main-color)!important;
    border-color: var(--main-color)!important;
}

.cky-notice-des * {
    font-size: 13px!important;
    line-height: 16px!important;
}

.cky-btn-accept {
    background-color: var(--main-color)!important;
    border-color: var(--main-color)!important;
}

@media (max-width: 768px) {
    .cky-notice-btn-wrapper .cky-btn-accept {
        margin-top: 0 !important;
    }

    .cky-notice-btn-wrapper .cky-btn-reject {
        margin-top: 0 !important;
    }
}

@media (max-width: 576px) {
    .cky-notice-btn-wrapper {
        flex-direction: row!important;
    }
    .cky-notice-btn-wrapper .cky-btn-accept {
        margin-right: 10px!important;
    }
}

@media (max-width: 425px) {
    .cky-notice-btn-wrapper {
        flex-direction: row!important;
    }
}

.space-organization-float-bar-bg {
    max-height: 110px!important;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
}

.float-bar-full {
    max-height: 500px; /* výška plné lišty */
    transition: max-height 0.5s ease;
}

.float-bar-collapsed {
    display: none;
    background: #1b1d21;
    height: 50px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.collapsed-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1120px;
    margin: 0 auto;
    text-align: center;
}

.small-bar-title {
    padding-top: 10px;
    text-align: center;
    width: 100%;
    font-size: 1.5em!important;
}

#expand-bar {
    background: #1b1d21;
    display: block;
    position: fixed;
    right: 80px;
    cursor: pointer;
    font-size: 20px;
    color: var(--main-color);
    padding: 0;
    margin: 0;
    padding-top: 10px;
}

.space-organization-float-bar-title-wrap {
    top: -12px;
}

.space-organization-float-bar-title-wrap a {
    color: #ffffff;
}

.space-organization-float-bar-title-wrap a:hover {
    opacity: 0.8;
}

.space-organization-float-bar-logo-img img:hover {
    opacity: 0.8;
}

.bottom-bar-link {
    color: var(--main-color)!important;
    text-decoration: none;
    padding-left: 10px;
}

.bottom-bar-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.bottom-bar-btn {
    margin-top: 10px!important;
}

@media (max-width: 768px) {
    #expand-bar, #float-bar-close {
        right: 10px;
    }

    .small-bar-title {
        font-size: 1.2em !important;
    }
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.counter-number {
    color: var(--main-color);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
}

.counter-label {
    margin-top: 1.5rem;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.space-footer-copy {
    background-color: #262161!important;
}

.space-archive-loop-item-img-category a, .space-title-box-category a, .space-news-3-item-img-category a {
    color: #ffffff!important;
    background-color: var(--secondary-color)!important;
}

.space-archive-loop-item-img-category a:hover, .space-title-box-category a:hover, .space-news-3-item-img-category a:hover {
    background-color: var(--main-color)!important;
    color: #fff!important
}

.space-news-3-item-title a:hover, .space-footer-area.space-widget a:hover, .space-archive-loop-item-title a:hover, .space-archive-loop-item-meta span.read-more a:hover {
    color: var(--main-color)!important;
}

div#ez-toc-container ul.ez-toc-list a {
    color: #206dd8!important;
}

div#ez-toc-container ul.ez-toc-list a:hover {
    color: var(--main-color)!important;
}

nav.pagination a {
    background-color: var(--secondary-color)!important;
    color: #fff!important
}

nav.pagination a:hover {
    background-color: var(--main-color)!important;
    color: #fff!important
}

nav.pagination span.current {
    background-color: var(--main-color)!important;
    color: #fff!important
}

a.btn {
    background-color: var(--secondary-color)!important;
    color: #fff!important
}

a.btn:hover {
    background-color: var(--main-color)!important;
    color: #fff!important
}

a.bottom-bar-btn {
    background-color: var(--main-color)!important;
    color: #fff!important
}

a.bottom-bar-btn:hover {
    background-color: var(--secondary-color)!important;
    color: #fff!important
}

input[type="submit"]:hover {
    background-color: var(--main-color)!important;
    color: #fff!important
}

.space-footer-copy-menu ul li a:hover {
    color: var(--main-color)!important;
}

.margin-bottom-0 {
    margin-bottom: 0!important;
}

.user-box a {
    color: #206dd8;
}

.user-box a:hover {
    color: var(--main-color);
}

.author-info-link {
    color: #7f8c8d!important;
}

.author-info-link:hover {
    color: var(--main-color)!important;
    text-decoration: underline!important;
}

.user-box {
    padding: 20px;
    padding-left: 0;
}

.user-box img {
    border-radius: 50%;
}

.user-box-extended {
    padding-bottom: 20px;
    margin: 0 8px;
}

@media screen and (max-width: 479px) {
    .user-box-photo {
        max-width: 50%;
        padding-bottom: 0;
    }
}

/* Kontejner pro layout s 6 sloupci */
.custom-container {
    display: grid;
    background-color: #1d1d1b;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    justify-items: center;
    gap: 10px; /* Mezera mezi sloupci */
    padding: 20px;
}

.elementor-widget-container .custom-wrapper .custom-container {
    background-color: white;
}

.custom-container:empty {
    justify-items: center;
}

/* Styl pro každý sloupec */
.custom-column {
    padding: 20px 10px;
    text-align: left;
    border-radius: 8px;
    box-sizing: border-box;
    position: relative; /* Pro pozicování ikony */
    display: flex;
    align-items: center;
    background-color: #444;
    justify-content: space-between; /* Zajišťuje, že obrázek a titulek jsou na opačných stranách */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Plynulý efekt pro zoom a stín */
    text-decoration: none!important;
}

/* Obrázek v každém sloupci */
.custom-column img {
    width: 33%;
    height: auto;
    border-radius: 50%!important;
}

/* Ikona hvězdičky s číslem v pravém horním rohu */
.star-rating {
    position: absolute;
    top: 0;
    right: 0;
    background-color: rgba(38, 33, 97, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 0 15% 0 15%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
}

.star-rating i {
    margin-right: 5px;
}

/* Efekt zoomování při najetí myší */
.custom-column:hover {
    transform: scale(1.05); /* Zoomujeme o 5% při najetí */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Jemný stín pro zvýraznění */
}

/* Media query pro obrazovky menší než 768px (mobilní zařízení a tablety) */
@media (max-width: 1076px) {
    .custom-container {
        grid-template-columns: repeat(2, 1fr); /* 2 sloupce vedle sebe */
    }

    .custom-column h3 {
        text-align: center;
        width: 100%;
    }
}

/* Media query pro obrazovky menší než 480px (velmi malé mobilní zařízení) */
@media (max-width: 480px) {
    .custom-container {
        grid-template-columns: repeat(2, 1fr); /* 2 sloupce vedle sebe */
    }

    .custom-column {
        max-width: 225px;
    }

    .custom-column h3 {
        margin-left: 5px !important;
        font-size: 0.8rem !important;
    }

    .star-rating {
        padding: 3px 5px;
        font-size: 0.6rem;
    }

    .custom-hp-container {
        padding: 0;
    }
}

.space-mobile-menu .space-mobile-menu-list ul li a {
    font-size: 1.1em;
    line-height: 1.2em;
    padding-right: 15px;
}

.mobile-menu .space-up {
    border-bottom: none;
}

.space-mobile-menu-block-ins .space-mobile-menu-list ul li ul.sub-menu {
    border-radius: 5px;
    padding-bottom: 15px;
    padding-right: 15px;
    background-color: rgba(153, 51, 153, 0.7);
}

.space-mobile-menu-list ul li.menu-item-has-children:after {
    font-size: 20px!important;
}

.space-mobile-menu-list ul li.menu-item-has-children.space-up:after {
    font-size: 20px!important;
}

.space-page-content h3 {
    font-size: 1.65em!important;
}

.tag-over-title {
    color: #ccff00!important;
}

/* Titulek pod obrázkem */
.custom-column h3 {
    font-size: 1rem!important;
    color:white;
    margin-left: 10px!important; /* Mezera mezi obrázkem a titulkem */
    flex-grow: 1; /* Zajišťuje, že titulek zabírá zbývající prostor */
    white-space: normal!important;
}

.space-header-height .space-header-search {
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.space-header-height .space-header-search:hover {
    color: var(--main-color)!important;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.space-footer-copy-menu ul li a, .space-footer-copy-left {
    color: #ffffff!important;
}

div#ez-toc-container {
    margin-bottom: 25px!important;
}

.attachment-mercury-custom-logo {
    max-width: 226px!important;
}

.fc-outline {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f5f5f5;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1rem!important;
    padding-top: 0.5rem!important;
    padding-bottom: 0.5rem!important;
    font-size: 0.95rem;
    margin-left: 0!important;
}

.fc-outline a {
    text-decoration: none!important;
    color: #206dd8!important;
}

.fc-outline a:hover {
    text-decoration: none!important;
    color: var(--main-color)!important;
}

.fc-outline li {
    margin-bottom: 5px;
    border: none!important;
    list-style: none!important;
}

.fc-outline-sub {
    padding-left: 20px;
    margin-top: 5px;
}

.fc-outline-headline {
    margin: 10px 0!important;
    font-size: 1.65em !important;
}

@media screen and (max-width: 479px) {
    .space-archive-loop-item-img, .space-archive-loop-item-title-box {
        float: left!important;
    }

    .space-archive-loop-item-img {
        width: 33.33333333%!important;
    }

    .space-archive-loop-item-title-box {
        width: 66.66666666%!important;
    }

    .space-archive-loop-item-meta, .space-archive-loop-item-img-category {
        display: none!important;
    }

    .space-archive-loop-item-more {
        display: block!important;
    }

    .space-archive-loop-item-title-box-ins {
        margin-top: 0!important;
    }

    .space-archive-loop-item {
        margin-bottom: 35px!important;
    }

    .space-archive-loop-item-title {
        margin-top: 0!important;
    }
}

@media screen and (max-width: 767px) and (min-width: 480px) {
    .space-archive-loop-item-excerpt {
        display: block!important;
    }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
    .space-archive-loop-item-excerpt {
        display: block!important;
    }
}