/* Texto y listas */
.section-text {
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.autores-list,
.section-list {
    list-style-type: disc;
    margin: 0.5rem auto 2.5rem;
    color: #4b5563;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: clamp(1rem, 2.5dvw, 1.15rem);
    line-height: 1.75;
}

.autores-list li,
.section-list li {
    margin-bottom: 0.6rem;
}

.section-list li a,
.section-text a {
    font-family: inherit;
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.section-list li a:hover,
.section-text a:hover,
.section-list li a:focus,
.section-text a:focus {
    text-decoration: underline;
    outline: none;
}

.section-list li a:active,
.section-text a:active {
    color: inherit;
    text-decoration: underline;
}

.info-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0rem auto 2.5rem;
}

.info-button {
    padding: 0.75rem 1.5rem;
    background-color: #0e7c86;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    width: fit-content;
}

.info-button:hover {
    background-color: #095f66;
}

/* -----------------------------
   Estilos para párrafos + imágenes
--------------------------------*/

/* Contenedor flex general */
.text-and-images {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* Texto */
.text-block {
    flex: 2;
}

/* Imágenes escritorio/portátil */
.side-images-desktop {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.side-images-desktop img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: default;
    transition: none;
}

.side-images-desktop img:hover {
    transform: none;
}

/* Imágenes móvil */
.side-images-mobile {
    display: none;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: center;
    /* centra las imágenes */
    flex-wrap: wrap;
    /* permite que ambas entren si falta espacio */
}

.side-images-mobile img {
    width: 47.5%;
    /* max-width: px; */
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: default;
    transition: none;
}

/* Responsive: móvil */
@media (max-width: 768px) {
    .text-and-images {
        flex-direction: column;
    }

    .side-images-desktop {
        display: none;
    }

    .side-images-mobile {
        display: flex;
    }
}