/*OBECNÉ*/

.wapp img {
    max-width: 40px;
}

.wapp {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 998;
}

/*NAŠE SLUŽBY*/

.id-1080 .sidebar-left {
    display: none;
}

.id-1080 #newsWrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px 30px;
    justify-content: center;
    margin: 40px 0;
}

.id-1080 #newsWrapper > div {
    width: auto;
    float: none;
    margin: 0;
}

.id-1080 #newsWrapper > div .image {
    aspect-ratio: 5/4;
    height: auto;
}

.id-1080 #newsWrapper > div .description {
    display: none;
}

.id-1080 #newsWrapper > div .title {
    border: 2px solid var(--color-primary);
    margin: 0;
    padding: 18px 28px;
    text-align: center;
    font-weight: 700;
    color: var(--color-primary);
    transition: all ease 300ms;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.id-1080 #newsWrapper > div .title:hover {
    background-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

.id-1080 .content-inner h1 {
    position: relative;
    height: 21vw;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}


.id-1080 .content-inner h1 span {
    position: relative;
    z-index: 1;
    font-size: 60px;
    text-transform: none;
    line-height: 1;
}

.id-1080 .content-inner h1::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: calc(100vw - var(--scrollbar-width));
    height: 100%;
}

.id-1080 .content-inner h1::after {
    content: none;
}

.services-contact {
    padding: 17px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.services-contact::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--color-primary);
    width: calc(100vw - var(--scrollbar-width));
    height: 100%;
}

.id-1080 .pagination-wrapper {
    margin: 0;
}

.bordered-btn {
    border: 2px solid #fff;
    padding: 18px 30px;
    font-weight: 600;
    color: #fff;
    background-color: transparent;
    position: relative;
    display: inline-flex;
    letter-spacing: 2px;
    text-decoration: none;
    line-height: 1;
    transition: all ease 300ms;
}

.bordered-btn::before {
    content: "";
    width: 16px;
    height: 16px;
    margin-right: 15px;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    background-color: #fff;
    transition: all ease 300ms;
}

.bordered-btn.myphone::before {
    mask-image: url("/user/documents/upload/kodovani/phone.svg");
    -webkit-mask-image: url("/user/documents/upload/kodovani/phone.svg");
}

.bordered-btn.mymail::before {
    mask-image: url("/user/documents/upload/kodovani/mail.svg");
    -webkit-mask-image: url("/user/documents/upload/kodovani/mail.svg");
}

.bordered-btn.myreservation::before {
    mask-image: url("/user/documents/upload/kodovani/calendar.svg");
    -webkit-mask-image: url("/user/documents/upload/kodovani/calendar.svg");
}

.bordered-btn:hover::before {
    background-color: var(--color-primary);
}

.bordered-btn:hover {
    background-color: #fff;
    color: var(--color-primary);
}

.id-1080 #content {
    margin-bottom: 80px;
}

/*RESPO*/

@media (max-width: 1600px) {
    .id-1080 #newsWrapper > div .title {
        padding: 15px;
    }
}

@media (max-width: 1439px) {
    .id-1080.multiple-columns-body .content {
        width: 100%;
    }
}

@media (max-width: 1199px) {
    .id-1080 #newsWrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .id-1080 .content-inner h1 {
        min-height: 300px;
    }
    .id-1080 .content-inner h1 span {
        font-size: 50px;
    }
    .id-1080 .content-inner h1 {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 991px) {
    .bordered-btn {
        padding: 16px 20px;
    }
    .id-1080 #newsWrapper {
        grid-template-columns: 1fr 1fr;
    }
    .id-1080 .content-inner h1 {
        min-height: 240px;
    }
    .id-1080 #content {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .id-1080 #newsWrapper {
        gap: 10px;
    }
    .services-contact {
        flex-direction: column;
        gap: 10px;
    }
    .services-contact .bordered-btn {
        min-width: 230px;
    }
}

@media (max-width: 499px) {
    .id-1080 .content-inner h1 span {
        font-size: 34px;
    }
    .id-1080 .content-inner h1 {
        min-height: 170px;
    }
    .id-1080 #newsWrapper {
        grid-template-columns: 1fr;
        margin: 20px 0;
    }
}
