.page-slider-container-995bfc1e {
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
}
.page-slide {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}
.page-slide-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.page-slide:hover .page-slide-image {
    transform: scale(1.05);
}
.page-slide-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
    text-align: center;
}
.page-slider-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}
.page-slide-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}
.page-slider-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: auto;
}
.page-slider-button:hover {
    opacity: 0.9;
}

/* Template 2: Overlay */
.ps-template-template2 .page-slide {
    position: relative;
}
.ps-template-template2 .page-slide-image-wrapper {
    height: 300px;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
}
.ps-template-template2 .page-slide-content {
    position: relative;
    z-index: 2;
    background: rgba(0,0,0,0.6);
    color: #fff;
    justify-content: flex-end;
    padding: 30px;
    min-height: 300px;
}
.ps-template-template2 .page-slider-title, 
.ps-template-template2 .page-slide-excerpt {
    color: #fff;
}

/* Template 3: Card (Image left, content right on desktop) */
@media (min-width: 768px) {
    .ps-template-template3 .page-slide {
        flex-direction: row;
        align-items: stretch;
    }
    .ps-template-template3 .page-slide-image-wrapper {
        width: 40%;
        height: auto;
        margin-bottom: 0;
    }
    .ps-template-template3 .page-slide-content {
        width: 60%;
        align-items: flex-start;
        text-align: left;
    }
}

/* Template 4: Minimal */
.ps-template-template4 .page-slide {
    box-shadow: none;
    border: 1px solid #eaeaea;
    border-radius: 0;
}
.ps-template-template4 .page-slide-image-wrapper {
    border-radius: 0;
}

/* Template 5: Modern (floating content) */
.ps-template-template5 .page-slide {
    background: transparent;
    box-shadow: none;
}
.ps-template-template5 .page-slide-image-wrapper {
    height: 250px;
    border-radius: 15px;
}
.ps-template-template5 .page-slide-content {
    background: #fff;
    margin: -50px 20px 0;
    position: relative;
    z-index: 2;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Template 6: Classic (Circle Image) */
.ps-template-template6 .page-slide-image-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 20px auto;
    border: 5px solid #f8f9fa;
}