/* =====================================
   WRAPPER (CENTRAR CONTENIDO GLOBAL)
===================================== */
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* =====================================
   SECCIÓN TRIMESTRAL
===================================== */
.page__seccion {
    margin: 50px 0;
}

.page__seccion.trimestre.wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}


/* =====================================
   COLUMNAS
===================================== */
.page__seccion__left {
    flex: 1;
}

.page__seccion__right {
    flex: 1;
}

.page__seccion__img {
    width: 100%;
    height: auto;
    display: block;
}

.page__seccion__content {
    width: 50%;
    flex: 1;
    font-family: 'Arial', sans-serif;
}

/* =====================================
   SELECT AÑO
===================================== */

.select.year {
    font-size: 15px;
    padding: 12px 45px 12px 16px; /* espacio extra derecha para flecha */
    width: 110px;
    border: 1px solid #D0D5DD;
    border-radius: 8px;
    background-color: #ffffff;
    color: #333;
    cursor: pointer;
    margin-bottom: 30px;
    transition: all 0.25s ease;

    /* Quitar flecha nativa */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Flecha personalizada SVG */
	background-image: url("data:image/svg+xml;utf8,<svg fill='%23000000' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 25px;
}

/* Hover */
.select.year:hover {
    border-color: #ce0058;
}

/* Focus (muy importante UX) */
.select.year:focus {
    outline: none;
    border-color: #ce0058;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}




/* =====================================
   LISTA POR AÑO
===================================== */
.tblist {
    display: none;
    width: 100%;
    border-bottom: 1px solid #ccc;
}

/* =====================================
   FILAS
===================================== */
.tblist__row {
    display: flex;
    width: 100%;
}

.tblist__col {
    border-top: 1px solid #ccc;
    padding: 15px 6px;
    width: 100%;
    box-sizing: border-box;
}

/* =====================================
   HEADER TRIMESTRE
===================================== */
.tblist__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.tblist__lbl.bold {
    font-weight: bold;
    color: #3A3A3A;
    line-height: 28px;
}

/* =====================================
   ICONO + / CRUZ DEL ACORDEÓN
===================================== */
.tblist__icon::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;          /* solid */
    content: "\f055";          /* icono + */
    display: inline-block;
    font-size: 14px;
    color: #ce0058;
    transition: transform 0.3s ease, color 0.3s ease;
}

.tblist__icon.active::before {
    transform: rotate(45deg);  /* gira + en x */
    color:#ce0058;            /* color al abrir */
}

/* =====================================
   CONTENIDO ACORDEÓN
===================================== */
.tblist__articles {
    display: none;
    margin-top: 20px;
    padding-left: 5px;
}

.tblist__article {
    margin-bottom: 18px;
}

.tblist__article a {
    text-decoration: underline;
    line-height: 28px;
    display: flex;
    align-items: center;
    color: #000;
}

.tblist__article img {
    width: 15px;
    margin-right: 10px;
}

/*=======================================
icono de pdf

======================================*/
.icono-pdf {
    padding-right: 10px;
    width: 34px;
    
    padding: 0px 0px 25px 26px;

/* =====================================
   RESPONSIVE
===================================== */
@media (max-width: 900px) {
    .page__seccion.trimestre.wrapper {
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
    }

    .page__seccion__content {
        max-width: 100%;
        text-align: center;
    }

    .page__seccion__left img {
        width: 80%;
        margin: 0 auto;
    }

    .page__seccion__content h2 {
        font-size: 1.5rem;
    }

    .page__seccion__content p {
        font-size: 0.95rem;
    }

    .cta-btn {
        width: 70%;
        text-align: center;
    }

	 .select.year {
        width: 100%;
        max-width: 250px;
    }
}
