﻿/*--------------------------- Banner SAA2025 --------------------------- */

    .home-container-institucional section.banner-home-institucional .banner-saa {
      width:100%;
      max-width: 1100px;
      justify-content: center !important;
      margin: auto;
      margin-bottom: 2rem;
    }

    figure.banner-saa {
      width: 100%;
      display: block;
    }

    figure.banner-saa a {
      display: flex;
      justify-content: center;
      border-bottom: none;
      border: 1px solid #fff;
      border-radius: 5px;
      overflow: hidden;
    }

    figure.banner-saa a:hover {
      border: 1px solid #1a3850;
    }

    figure.banner-saa img {
      width: 100%;
    }

      /* @media only screen and (max-width: 1080px) {
        .home-container-institucional section.banner-home-institucional ul li:nth-child(2){
          width:70%;
        }
      } */

      /* @media only screen and (max-width: 780px) {
        .home-container-institucional section.banner-home-institucional ul li:nth-child(2){
          width:90%;
        }
      } */
/* 
      @media only screen and (max-width: 580px) {

        .home-container-institucional section.banner-home-institucional ul li {
          flex-direction: row !important;
          align-content: center !important;
          justify-content: center !important;
      }
        .home-container-institucional section.banner-home-institucional ul {
            flex-direction: column !important;
            gap: 2rem;
        }

        .home-container-institucional section.banner-home-institucional ul li:nth-child(2){
          order:0;
        }
        .home-container-institucional section.banner-home-institucional ul li:nth-child(1){
          order:1;
          border-top: 1px solid var(--color-gray);
          border-bottom: 1px solid var(--color-gray);
          padding: 1rem 0;
        }
        .home-container-institucional section.banner-home-institucional ul li:nth-child(3){
          order:2;
        }
      } */


/*--------------------------- Página SAA2025 --------------------------- */

.interior-container .grid-2columnas {
	display:none;
}

h2 {
	margin: 2rem 0 1rem;
}

.feedback-container h2 {
	margin-top:auto;
}

.introFitur {
	font-size: 1.1rem;
	display: flex;
	flex-direction: row-reverse;
}

/* ==========================================================================
   2. INTRO / HERO SECTION (Página SAA2025)
   ========================================================================== */
.introFitur {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(90deg, #ffffff 0%, #fcfdfe 100%);
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    font-size: 1.1rem; /* Mantenido del antiguo */
}

.introFitur div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.introFitur p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.introFitur p:first-of-type {
    font-size: 1.15rem;
    color: #1a1a1a;
    font-weight: 400;
}

.introFitur p:nth-of-type(2) {
    border-left: 4px solid #0072c6;
    padding-left: 1.5rem;
    font-style: italic;
    color: #555;
    font-weight: 700;
}

.introFitur a {
    flex: 0 0 320px;
    display: block;
}

.introFitur a img.right {
    width: 100%;
    height: auto;
    margin-top: 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.introFitur a img.right:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   3. ESTRUCTURA DE TABS Y AGENDA
   ========================================================================== */
.content-agenda,
.seccionFITUR2021 {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 2rem;
    position: relative;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.content-agenda .tabs-y-agenda {
    width: 82%; /* Balance entre el 82% nuevo y 83% antiguo */
    display: flex;
    flex-direction: column;
}

/* --- TABS (CALENDARIO) --- */
.FITUR2021-caja1 {
    width: 100%;
    margin-top: 1rem;
    border-bottom: 2px solid #e1e1e1;
    font-weight: 700;
}

.FITUR2021-caja1-calendario {
    display: flex;
    width: 100%;
    gap: 5px;
}

.FITUR2021-caja1-calendario > div {
    flex: 1;
}

.FITUR2021-caja1-calendario div p {
    font-size: .85rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: -2px;
    padding: 12px 5px;
    background-color: #f7f7f7;
    color: #333;
    border: 1px solid #ddd;
    border-bottom: none;
    border-radius: 8px 8px 0 0;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    line-height: 1.2;
}

div[aria-selected="true"] p,
.FITUR2021-caja1-calendario div p:hover {
    background: #0072c6 !important;
    color: #fff !important;
    border-color: #0072c6 !important;
    z-index: 10;
    position: relative;
    box-shadow: 0 -4px 10px rgba(0, 114, 198, 0.15);
    text-decoration: none;
}

/* --- CONTENIDO DE LA AGENDA --- */
.FITUR2021-caja2 {
    width: 100%;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.FITUR2021-caja2-hijo {
    max-height: 65vh;
    overflow-y: auto;
    padding: 0.5rem;
}

/* Scrollbars personalizados */
.content-consent::-webkit-scrollbar,
.FITUR2021-caja2-hijo::-webkit-scrollbar { width: 6px; }
.content-consent::-webkit-scrollbar-track,
.FITUR2021-caja2-hijo::-webkit-scrollbar-track { background: #f1f1f1; }
.content-consent::-webkit-scrollbar-thumb,
.FITUR2021-caja2-hijo::-webkit-scrollbar-thumb { background: #0072c6; border-radius: var(--border-radius); }

/* --- ITEMS DE LA AGENDA --- */
.FITUR2021-caja2-item {
    display: flex;
    flex-direction: row;
    padding: 1.8rem 1.5rem;
    border-top: 1px solid #f0f0f0;
    gap: 2%;
    transition: background-color 0.3s ease;
}

div.FITUR2021-caja2-item:first-child {
    border-top: none;
    margin-top: 0.5rem;
}

/* --- COLUMNAS (HORA Y TÍTULO) --- */
.FITUR2021-caja2 .FITUR2021-caja2-hora,
.FITUR2021-caja2 .FITUR2021-caja2-titulo {
    position: relative;
    border-right: 1px solid #eee;
}

.FITUR2021-caja2 .FITUR2021-caja2-hora {
    width: 30%;
    font-weight: 700;
    color: #0072c6;
    padding-left: 2.5rem;
    padding-right: 1rem;
}

.FITUR2021-caja2 .FITUR2021-caja2-titulo {
    width: 45%;
    font-weight: 700;
    color: #1a1a1a;
    padding-left: 2.5rem;
    padding-right: 1.5rem;
    span.descripcion-conlista {
        display: block; /* Importante para que acepte márgenes */
        line-height: 1.6;

        /* Si quieres sangrar las líneas que empiezan con el punto (•) */
        & br + text { 
            /* Nota: Esto es teórico, mejor usar la opción 2 para control total */
        }
    }
}

.FITUR2021-caja2 .FITUR2021-caja2-hora span,
.FITUR2021-caja2 .FITUR2021-caja2-titulo span {
    display: block;
    font-weight: 400;
    color: #555;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Iconos de Material Symbols */
.FITUR2021-caja2-titulo::before,
.FITUR2021-caja2-hora::before {
    font-family: "Material Symbols Outlined";
    position: absolute;
    left: 5px;
    top: -7px;
    font-size: 1.5rem;
    color: #0072c6;
    font-weight: 100;
}
.FITUR2021-caja2-titulo::before { content: "\e614"; }
.FITUR2021-caja2-hora::before { content: "\e8b5"; }

/* ==========================================================================
   4. BOTONES, FOLLETOS Y PRIVACIDAD (INTEGRADO)
   ========================================================================== */
p.FITUR2021-caja2-lugar-link {
    width: 23%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 1rem;
}

p.FITUR2021-caja2-lugar-link a.btn-masInfo,
p.FITUR2021-caja2-lugar-link input[type=button] {
    font-weight: 600;
    cursor: pointer;
    width: 100%;

    font-size: .8rem;
    font-weight: 700;
    padding: 6px 10px;
    background: #f0f7ff;
    color: #0072c6;
    border-radius: 4px;
    display: block;
    margin-top: 10px;
    text-align: center;
    border: 1px solid #d0e6ff;
    min-width: inherit;
    margin-left: 0;
}

p.FITUR2021-caja2-lugar-link a.btn-masInfo:hover,
p.FITUR2021-caja2-lugar-link input[type=button]:hover {
    border-color: var(--color-primary);
}

p.FITUR2021-caja2-lugar-link input[type=button]:disabled {
    background-color: transparent;
    color: #c3c3c3;
    border: 1px solid #c3c3c3;
    cursor: not-allowed;
}

/* Folletos con icono PDF */
.enlace-folleto {
    display: block;
    margin-top: 1rem;
}

.enlace-folleto a:before {
    font-family: var(--FontAwesomeSolid, "Font Awesome 5 Free");
    padding-right: .5em;
    content: "\f1c1";
    color: #a40638;
}

.enlace-folleto a.rspkr_dr_link:before {
    content: none;
}

/* Advertencia de privacidad */
span.aceptar-privacidad {
    font-size: .75rem;
    margin-top: 10px;
    font-weight: 700;
    line-height: 1.4;
}

/* Etiquetas adicionales */
span.aforo-libre, 
span.conexion-streaming {
    font-size: .8rem;
    font-weight: 700;
    padding: 6px 10px;
    background: #f7f7f7;
    color: #0072c6;
    border-radius: 4px;
    display: block;
    margin-top: 10px;
    text-align: center;
    border: 1px solid #d0e6ff;
}

/* ==========================================================================
   5. SECCIÓN STREAMING Y VIDEOS (Antigua Clave)
   ========================================================================== */
.seccion-streaming {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-bottom: 5rem;
}

.seccion-streaming article.video-home {
    /* background: var(--background-highlight, #f9f9f9); */
    border-radius: 1rem;
    margin-top: 2rem;
    width: 48%;
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    border-left: 6px solid var(--background-highlight);
}

.seccion-streaming article.video-home span.fecha-streaming {
    font-size: .8rem;
    font-weight: 600;
    color: #555;
    padding-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: .3rem;
}

.seccion-streaming article.video-home p {
    padding: 1.5rem 1rem 0 3.5rem;
    position: relative;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: .7rem;
}

.seccion-streaming article.video-home p:before {
    content: "\e998";
    font-family: "Material Symbols Outlined";
    position: absolute;
    top: 14px;
    left: 20px;
    font-size: 1.8rem;
    font-weight: 100;
    color: #0072c6;
}

.seccion-streaming article.video-home iframe {
    width: 95%;
    aspect-ratio: 16/9;
    margin: 1rem auto 0;
    border: none;
}

       @media only screen and (max-width: 1080px) {
        .seccion-streaming {
             flex-direction: column;
        }
        .seccion-streaming article.video-home {
            width: 100%;
        }
      } 

/* ==========================================================================
   6. COLUMNA LATERAL (CONSENTIMIENTO) Y MEMORIAS
   ========================================================================== */
.content-consent {
    width: 17%;
    background-color: #f7f7f7;
    border-radius: var(--border-radius);
    padding: 1.2rem;
    border: 1px solid #e1e1e1;
    position: sticky;
    top: 20%;
    max-height: 40vh;
    overflow-y: auto;
    margin-top: 5rem;
}

.tratamiento-datos {
    font-size: .8rem;
    line-height: 1.3;
    color: #555;
    margin-left: 1rem;
}

main input[type=checkbox].check-susc {
    margin-right: 0.6rem;
    margin-left: -27px;
    line-height: 0;
    display: inline;
}

.enlace-SAA, .memoria-SAA {
    margin: 2rem auto 3rem;
    background-color: var(--color-white);
    border: 1px solid #e1e1e1;
    border-left: 6px solid var(--background-highlight);
    display: flex;
    align-items: center;
    padding: 10px 20px;
    position: relative;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    margin-bottom: .5rem;
}
.enlace-SAA:hover {
    border-color: #0072c6;
    background: #f0f7ff !important;
}

.enlace-SAA {
    a {
        display: block;
        /* padding: 1.2rem; */
        font-weight: 500;
        color: #333;
        text-decoration: none !important;
        border-bottom: none !important;
        &:after{
            content: ' →';
            opacity: 0;
            transition: opacity 0.3s;
            color: var(--color-primary);
            font-size: 1.3rem;
        }
    }
    &:hover a:after {
        opacity: 1;
    }

}
.memoria-SAA a:before {
    font-family: var(--FontAwesomeSolid);
    content: "\f1c1";
    color: #a40638;
    padding-right: 0.5em;
}

/* ==========================================================================
   7. RESPONSIVE UNIFICADO
   ========================================================================== */
@media only screen and (max-width: 1080px) {
    .home-container-institucional section.banner-home-institucional ul li:nth-child(2) { width: 70%; }
    .FITUR2021-caja1-calendario div p { font-size: 90%; }
}

@media only screen and (max-width: 1024px) {
    .introFitur { flex-direction: column; gap: 2rem; }
    .introFitur a { margin: 0 auto; width: 100%; text-align: center; }
    
    .content-agenda .tabs-y-agenda, 
    .content-consent { width: 100%; margin-top: 1rem; position: static; }

    .FITUR2021-caja2-item { flex-direction: column; }
    .FITUR2021-caja2 .FITUR2021-caja2-hora,
    .FITUR2021-caja2 .FITUR2021-caja2-titulo,
    p.FITUR2021-caja2-lugar-link {
        width: 100%;
        border-right: none;
        padding-left: 2.5rem;
    }
    
    .FITUR2021-caja1-calendario { flex-wrap: wrap; }
    .FITUR2021-caja1-calendario > div { flex: none; width: 48%; }
}

@media only screen and (max-width: 580px) {
    .home-container-institucional section.banner-home-institucional ul { flex-direction: column !important; }
    .home-container-institucional section.banner-home-institucional ul li:nth-child(2) { width: 90%; order: 0; }
}

@media only screen and (max-width: 480px) {
    .FITUR2021-caja1-calendario > div { width: 100%; }
}