/* Estilos para el banner de San Antonio de Padua */
.hermandad-banner {
    width: 100%;
    height: 420px;
    position: relative;
    overflow: hidden;
}

.hermandad-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hermandad-banner .white-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 120px;
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
    z-index: 1;
}

.hermandad-banner .text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 760px; /* 40px menos que la caja para padding */
    padding: 10px 20px;
}

.hermandad-banner h1 {
    color: #0F4C81;
    font-family: 'Great Vibes', cursive;
    font-size: 4.5rem;
    font-weight: 400;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: 1px;
    line-height: 1.2;
}

/* Responsive */
@media (max-width: 900px) {
    .hermandad-banner {
        height: 300px;
    }
    .hermandad-banner .white-box,
    .hermandad-banner .text-container {
        width: 90% !important;
        max-width: 600px;
    }
    .hermandad-banner .white-box {
        height: 100px !important;
    }
    .hermandad-banner .text-container {
        width: calc(90% - 40px) !important; /* Mismo ancho que la caja menos padding */
    }
    .hermandad-banner h1 {
        font-size: 2.8rem !important;
    }
}

@media (max-width: 480px) {
    .hermandad-banner .white-box {
        height: 150px !important;
    }
    .hermandad-banner .text-container {
        width: calc(90% - 30px) !important;
        padding: 5px 15px !important;
    }
    .hermandad-banner h1 {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }
}

/* Estilos para el contenido de San Antonio de Padua */
.san-antonio {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Georgia', serif;
    color: #222;
}

.contenido-amplio {
    max-width: 1400px;
    margin: 0 auto;
}

.santo-container {
    display: flex;
    gap: 40px;
    margin: 0 auto 50px;
    flex-wrap: wrap;
}

.santo-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.santo-imagen img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
}

.santo-texto {
    flex: 1;
    min-width: 300px;
}

.santo-texto h2 {
    font-size: 2rem;
    color: #0F4C81;
    margin-bottom: 20px;
    border-left: 6px solid #D4AF37;
    padding-left: 12px;
    font-weight: normal; /* Para hacer la letra más fina */
}

.santo-texto p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.santo-texto strong {
    color: #0F4C81;
    font-weight: bold;
}

.santo-texto em {
    color: #0F4C81;
    font-style: italic;
}

/* Responsivo */
@media (max-width: 900px) {
    .santo-container {
        flex-direction: column;
        text-align: center;
    }

    .santo-texto h2 {
        border-left: none;
        padding-left: 0;
        text-align: center;
    }

    .santo-texto {
        text-align: left;
    }

    .santo-imagen img {
        max-width: 80%;
        margin: 0 auto 20px;
    }
}
