/* Estilos generales del cuerpo */
body {
    font-family: 'Poppins', sans-serif;
    background: url('../img/Teatromania1.png') no-repeat center center fixed, linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 90%);
    background-size: cover;
    background-blend-mode: overlay;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Contenedor de la página */
.content-wrapper {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    margin-top: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Justificar los párrafos dentro de las noticias */
p {
    text-align: justify;
}

/* Justificar los párrafos con la clase descripcion */
.descripcion {
    text-align: justify;
}

/* Contenedor de las noticias */
.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Fila de noticias */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

/* Columna de noticia */
.col-2 {
    flex: 1 1 calc(50% - 20px);
    background: #4444447d;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

/* Títulos de las noticias */
.col-2 h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #f8f8f8;
}

/* Descripción de las noticias */
.col-2 p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #ddd;
}

/* Imagen de la noticia */
.col-2 img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
    object-fit: cover;
}

/* Media queries para responsividad */
@media (max-width: 1024px) {
    .content-wrapper {
        padding: 20px;
    }

    .col-2 {
        flex: 1 1 calc(100% - 20px);
    }

    .col-2 h1 {
        font-size: 1.6rem;
    }

    .col-2 p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .col-2 {
        flex: 1 1 100%;
    }

    .col-2 h1 {
        font-size: 1.5rem;
    }

    .col-2 p {
        font-size: 0.9rem;
    }

    .content-wrapper {
        padding: 20px;
        margin-top: 70px;
    }
}

@media (max-width: 480px) {
    .col-2 h1 {
        font-size: 1.3rem;
    }

    .col-2 p {
        font-size: 0.8rem;
    }

    .content-wrapper {
        padding: 15px;
        margin-top: 100px;
    }

    .col-2 img {
        margin-top: 15px;
    }
}
