.munacao-gallery-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.munacao-gallery-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align content to the right */
    padding: 5%;
    box-sizing: border-box;
    position: relative;
}

/* Optional: Add a subtle overlay to the whole slide to make text pop if needed, 
   but user asked for content inside a box, so we style .munacao-gallery-content */

.munacao-gallery-content {
    text-align: right;
    max-width: 500px;
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    /* Background color is set via controls */
    margin-right: 5%; /* Spacing from the right edge */
    z-index: 10;
}

.munacao-gallery-title {
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.munacao-gallery-subtitle {
    margin: 0;
    line-height: 1.5;
}

/* Navigation Arrows */
.munacao-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: 2px solid; /* Color set via controls */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    font-size: 24px;
}

.munacao-gallery-prev {
    left: 20px;
}

.munacao-gallery-next {
    right: 20px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .munacao-gallery-slide {
        justify-content: center; /* Center on mobile */
        align-items: flex-end; /* Bottom align on mobile often looks better, or center */
        padding-bottom: 80px; /* Space for pagination/nav */
    }

    .munacao-gallery-content {
        text-align: center;
        margin-right: 0;
        width: 90%;
        max-width: none;
    }
    
    .munacao-gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
