/* ----------------------------- */
/* Estilos Generales             */
/* ----------------------------- */

h1 {
    font-size: 32px;
    font-family: 'Forum', sans-serif;
    margin-top: 120px;
    text-align:center;
    color:#999999;
}

.contenido-pagina-section p {
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
    color:#666666;
}

/* ----------------------------- */
/* Titulo                        */
/* ----------------------------- */

.titulo {
    padding: 60px 20%;
    position: relative;
    overflow: hidden;
    background: url('../img/slide-02.jpg') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    height: 300px; /* Altura de la seccion */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

/* Capa de color superpuesta */
.titulo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #500a0a;
    opacity: 0.75;
    z-index: -1;
}

/* ----------------------------- */
/* Contenido                     */
/* ----------------------------- */

.contenido-pagina-section {
    padding: 60px 20%;
    position: relative;
    background-image: url('../img/slide-02.jpg');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    text-align: center;
    z-index: 2;
    overflow: hidden;
}

.contenido-pagina-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    filter: grayscale(100%) brightness(0.3);
    z-index: -1; 
}

.contenido-pagina-section .container {
    display: flex;
    gap: 20px;
}

.contenido-pagina-section .columna {
    flex: 1;
}

.contenido-pagina-section .columna.imagen {
    flex: 1;
}

.contenido-pagina-section .columna.contenido {
    flex: 2;
}

.contenido-pagina-section .columna.imagen img {
    width: 100%;
    max-height: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
}

.contenido-pagina-section h1 {
    margin-bottom: 0;
    font-size: 32px;
    text-align:center;
    color:#999999;
}

.contenido-pagina-section h1.tag {
    font-size: 18px;
    margin-bottom: 40px;
}

.contenido-pagina-section p {
    color:#666666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    text-align: justify;
}

/* ----------------------------- */
/* Estilos Responsive            */
/* ----------------------------- */

@media (max-width: 768px) {
    h1 {
        font-size:24px;
    }
    .titulo {
        padding: 60px 10%;
    }
}

@media (max-width: 480px) {
    h1 {
        margin-top: 80px;
    }
    .titulo {
        height:200px;
        padding: 60px 10%;
    }
    .contenido-pagina-section {
    padding: 40px 5%;
    }
    .contenido-pagina-section .container {
    flex-direction: column;
    }
}
