/*
Theme Name: Let2Live
Text Domain: let2live
*/

@font-face {
    font-family: 'Sora';
    src: url('../let2live/font/Sora-VariableFont_wght.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Sora';
    color: #182845;
}

.language-switcher li {
    list-style: none;
}

/*  */

.card {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* border-radius: 16px; */
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 40px;
}

.img {
    position: relative;
}

.listing-badge {
    z-index: 2;
    pointer-events: none;
}

.listing-badge.wynajete {
    position: absolute;
    background-color: black;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #caa65c;
    text-transform: uppercase;
    opacity: 0.5;
}

.listing-badge.wkrotce {
    background-color: #f39c12;
}

.listing-badge.dostępne {
    background-color: #27ae60;
}

.card .price {

    margin: 8px 0;
}

.card .btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 16px;
    background-color: #caa65c;
    color: #182845;
    border-radius: 8px;
    text-decoration: none;
    transition-duration: 600ms;
}

.card .btn:hover {
    background-color: #182845;
    color: #caa65c;
}

.card-thumbnail {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* aspect-ratio: 4 / 3;  */
}

@media only screen and (min-width: 640px) {
    .card-thumbnail {
        height: 100%;
        aspect-ratio: 4 / 3; 
    }
}

.apartments-grid {
    margin: 0 auto;
    max-width: 1230px;
}

/* .pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-numbers {
    width: 56px;
    height: 56px;
    border: 3px solid #182845;
    border-radius: 50%;
}

.current {
    border: 3px solid #E0C38A;
} */

.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    font-size: 26px;
    border: 3px solid #182845;
    border-radius: 50%;
    text-decoration: none;
    font-weight: bold;
    color: #182845;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.page-numbers:hover {
    border-color: #E0C38A;
    color: #E0C38A;
}

.page-numbers.current {
    border-color: #E0C38A;
    color: #182845;
}

.next {
    display: none;
}

.prev {
    display: none;
}

.mySwiper2 {
    height: auto;
    width: 100%;
}

.mySwiper {
    height: 100px;
    box-sizing: border-box;
    padding: 10px 0;
}

.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
    cursor: pointer;
}

.swiper-slide {
  max-height: 600px;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.swiper-button-next, .swiper-button-prev {
    /* color: #182845!important; */
    /* background: #D6B36A; */
    color: #D6B36A!important;
    background: #182845;
    padding: 25px;
    border-radius: 50%;
}

.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after  {
    font-size: 25px!important;
    font-weight: bold;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after  {
    font-size: 25px!important;
    font-weight: bold;
}