/************************************
           PAGINATION styling             
*************************************/
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    margin-bottom: 20px;
    width: 100%;
    clear: both;
}

.pagination-wrap a,
.pagination-wrap span.dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    color: var(--main-text-color) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.pagination-wrap a:hover:not(.active):not(.disabled) {
    background: var(--main-link-color);
    color: #fff !important;
    border-color: var(--main-link-color);
    transform: translateY(-3px);
}

.pagination-wrap a.active {
    background: var(--main-link-color);
    color: #fff !important;
    border-color: var(--main-link-color);
    cursor: default;
    pointer-events: none;
}

.pagination-wrap a.arrow {
    background: #f8f9fa;
}

.pagination-wrap a.disabled {
    opacity: 0.3;
    pointer-events: none;
}

.pagination-wrap span.dots {
    border: none;
    background: transparent;
    box-shadow: none;
    cursor: default;
}

@media screen and (max-width: 600px) {

    .pagination-wrap a,
    .pagination-wrap span.dots {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
}


/************************************
*************************************/

/* Sjednocení mezer mezi odstavci pro editor a frontend */
.content p {
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.content p:last-child {
    margin-bottom: 0;
}

/* Zajištění výšky pro prázdné odstavce v editoru i na webu */
.content p:empty::before {
    content: "\00a0";
    /* Non-breaking space */
    display: inline-block;
}

/* Aktivní stav pro filtry v referencích */
ul#filters li a.filter.active {
    background: #24abe2;
    box-shadow: 0 15px 34px rgba(0, 0, 0, 0.18);
    color: #fff;
}

/* Phone Owl Carousel inside reference screen slider */
.reference-screen-slider>.phone .phone-content-carousel {
    position: relative;
    z-index: 1;
}


.reference-screen-slider>.phone .phone-content-carousel .owl-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.reference-screen-slider>.phone .phone-content-carousel .owl-dots {
    display: none !important;
}

/* Allow click/drag events to pass through the phone frame overlay to the underlying links and carousel */
.reference-screen-slider>.phone::after {
    pointer-events: none;
}