.ps-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.ps-wrapper.ps-grid {
    display: grid;
    width: 100%;
    gap: 24px;
    align-items: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ps-wrapper.ps-grid.columns-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.ps-wrapper.ps-grid.columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ps-wrapper.ps-grid.columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ps-wrapper.ps-grid.columns-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ps-cards-grid {
    display: contents;
}

.ps-swiper {
    width: 100%;
}

.ps-swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.ps-swiper-slide {
    height: auto;
    width: 100% !important;
}

.ps-wrapper.ps-swiper .ps-card {
    width: 100%;
}

.ps-card {
    height: 100%;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    border-radius: 50px 50px 50px 0;
    background: #111;
    transition:
        transform .4s ease,
        box-shadow .4s ease;
    box-shadow:
        0 10px 30px rgba(0,0,0,.08);
}

.ps-card:hover {
    transform: translateY(-10px);
}

.ps-image {
    position: relative;
    overflow: hidden;
    height: 620px;
}

.ps-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.ps-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.92) 5%,
            rgba(0,0,0,.55) 35%,
            rgba(0,0,0,.05) 65%
        );
    z-index: 1;
}

.ps-card:hover img {
    transform: scale(1.05);
}

.ps-number {
    position: absolute;
    top: 25px;
    left: 25px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffb000;
    border-radius: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    z-index: 2;
}

.ps-region {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(20,20,20,.82);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 2;
}

.ps-content {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 40px;
    z-index: 2;
    color: #fff;
}

.ps-title {
    font-size: 44px;
    line-height: 1.05;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff !important;
}

.ps-popup-title{
	font-weight:700;	
}

.ps-location {
    color: rgba(255,255,255,.82);
    font-size: 20px;
    margin-bottom: 30px;
}

.ps-open-popup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    border: none;
    background: transparent;
    color: #ffb000;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding-top: 5px;
    border-top: 1px solid rgba(255,255,255,.18);
    transition: .3s ease;
}
ps-open-popup:hover, button:hover {
    background: transparent !important;
}
.ps-open-popup::after {
    content: "→";
    transition: transform .3s ease;
}

.ps-card:hover .ps-open-popup::after {
    transform: translateX(8px);
}

.ps-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .35s ease;
    z-index: 999999;
    padding: 40px;
}

.ps-popup.active {
    opacity: 1;
    visibility: visible;
}

.ps-popup.active .ps-popup-inner {
    transform: translateY(0);
}

.ps-popup-inner {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    width: 100%;
    transform: translateY(40px);
    transition: transform .35s ease;
}

.ps-popup-image {
    width: 50%;
}

.ps-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ps-popup-content {
    width: 50%;
    padding: 80px;
    overflow-y: auto;
    position: relative;
}

.ps-close-popup {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 50px;
    height: 50px;

    border: none;
    background: transparent;

    font-size: 40px;
    cursor: pointer;
}

body.ps-popup-open {
    overflow: hidden;
}

@media(max-width:768px){

    .ps-popup {
        padding: 0;
    }

    .ps-popup-inner {
        flex-direction: column;
        height: 100vh;
        overflow-y: auto;
    }

    .ps-popup-image,
    .ps-popup-content {
        width: 100%;
    }

    .ps-popup-image {
        height: 300px;
    }

    .ps-popup-content {
        padding: 30px;
    }
}

@media(max-width:768px){
    .ps-wrapper.ps-grid.columns-3,
    .ps-wrapper.ps-grid.columns-4 {
        grid-template-columns: 1fr;
    }
    .ps-image {
        height: 500px;
    }
    .ps-title {
        font-size: 32px;
    }
    .ps-content {
        padding: 28px;
    }
}