﻿.gallery-container {
    max-width: 100%;   /* ← antes era 1100px */
    margin: auto;
}

.carousel-inner {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.carousel-item {
    position: relative;
}

/* Más horizontal */
.gallery-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    object-position: center;
}

/* En lugar de height fija que distorsiona */
.gallery-image--contain {
    width: 100%;
    height: auto;
    min-height: 500px; /* ← fuerza más altura */
    object-fit: contain;
    background: #f5f5f5;
}

.image-info {
    position: absolute;
    left: 20px;
    bottom: 20px;
    max-width: 400px;
    padding: 15px 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,.85);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}

    .image-info h4 {
        margin: 8px 0 5px;
        font-size: 1.2rem;
    }

    .image-info p {
        margin: 0;
        font-size: .9rem;
    }

.carousel-inner {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    /* ← quita cualquier height fija que tengas aquí */
}
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
}

    .carousel-control-prev i,
    .carousel-control-next i {
        background: white;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #611232;
        box-shadow: 0 5px 20px rgba(0,0,0,.15);
    }


#myPrincipalwidget {
    display: block;
    background-color: rgba(0, 0, 0, 0.5);
}

    #myPrincipalwidget .widget-content {
        background-color: #9D2449;
        border-radius: 6px;
        padding: 10px;
    }

    #myPrincipalwidget .widget-header {
        background-color: #7A1C37;
        border-radius: 4px 4px 0 0;
        padding: 8px;
    }