.pss-container-outer {
    position: relative;
    width: 100%;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
    overflow: clip;
}

/* 3 slides will mean 300vh height to scroll through */
.pss-sticky-frame {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #111;
}

body.admin-bar .pss-sticky-frame {
    height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
    top: var(--wp-admin--admin-bar--height, 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .pss-sticky-frame {
        height: calc(100vh - 46px);
        top: 46px;
    }
}

.pss-slides-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.9s cubic-bezier(0.645, 0.045, 0.355, 1);
    will-change: transform;
}

.pss-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
}

/* Left Side: 50% space */
.pss-left-side {
    width: 50%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.pss-img-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pss-bg-img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.pss-slide.pss-active .pss-bg-img {
    transform: scale(1);
}

/* Right Side: 50% space */
.pss-right-side {
    width: 50%;
    height: 100%;
    background-color: #4A2E22;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 80px;
    box-sizing: border-box;
    position: relative;
    color: #ffffff;
}

.pss-content-inner {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
	align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
}

.pss-slide.pss-active .pss-content-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Typography styles */
.pss-title {
    font-family: "Cormorant Garamond";
    font-size: 58.08px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin: 0 0 25px 0;
    text-transform: uppercase;
	white-space: nowrap;
}
.pss-portrait-wrapper img{
	width: 324px;
	height: 422px;
}
.pss-portrait-wrapper {
    width: 100%;
    aspect-ratio: 1.6;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 4px;
	text-align: center;
}

.pss-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pss-desc {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 30px 0;
    color: #E5DCD8;
    opacity: 0.9;
}

/* Button CTA */
.pss-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #4A2E22;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.pss-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #4A2E22;
    color: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.pss-btn:hover {
    background: #f0e6e2;
    transform: translateY(-2px);
}

.pss-btn:hover .pss-btn-icon {
    transform: rotate(-45deg);
}

/* Responsive Rules */
@media screen and (max-width: 991px) {
    .pss-slide {
        flex-direction: column;
    }
    .pss-left-side {
        width: 100%;
        height: 42%;
    }
    .pss-right-side {
        width: 100%;
        height: 100%;
        padding: 24px 20px;
    }
    .pss-content-inner {
        max-width: 100%;
        align-items: center;
        text-align: center;
    }
    .pss-title {
        font-size: 1.75rem;
        margin-bottom: 16px;
        letter-spacing: 0.03em;
    }
    .pss-portrait-wrapper {
        display: block !important;
        width: 100%;
        max-width: 380px;
        aspect-ratio: 1.2;
        margin: 0 auto 16px auto;
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    }
    .pss-desc {
        font-size: 0.82rem;
        line-height: 1.5;
        margin-bottom: 16px;
        max-width: 380px;
    }
    .pss-btn {
        padding: 10px 22px;
        font-size: 0.8rem;
    }
    .pss-btn-icon {
        width: 20px;
        height: 20px;
    }
}
