/**
 * ESTILOS FRONTEND - TEXTOS LEGALES F10 PRO
 * ESTILOS PARA LOS DOCUMENTOS LEGALES RENDERIZADOS EN EL FRONTEND
 * MOBILE-FIRST Y RESPONSIVE
 */

/* ================================================================
   CONTENEDOR PRINCIPAL DEL DOCUMENTO LEGAL
   ================================================================ */

.tlf-documento {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 50px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    word-wrap: break-word;
    overflow-wrap: break-word;
    background: #fff;
}

/* ================================================================
   ENCABEZADOS
   ================================================================ */

.tlf-documento h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 10px;
    color: #1a1a1a;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* LINEA DECORATIVA DEBAJO DEL H1 */
.tlf-documento h1 + p,
.tlf-documento h1 + ul,
.tlf-documento h1 + ol {
    margin-top: 20px;
}

/* SEPARADOR VISUAL TRAS EL TITULO PRINCIPAL */
.tlf-documento > h1:first-child {
    padding-bottom: 20px;
    border-bottom: 3px solid var(--tlf-color-acento, #f28e2c);
    margin-bottom: 30px;
}

.tlf-documento h2 {
    font-size: 23px;
    font-weight: 700;
    margin: 45px 0 18px;
    color: #1a1a1a;
    padding: 12px 0 12px 16px;
    border-left: 4px solid var(--tlf-color-acento, #f28e2c);
    background: #f7f9fc;
}

.tlf-documento h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 35px 0 12px;
    color: #2c2c2c;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
}

.tlf-documento h4 {
    font-size: 17px;
    font-weight: 600;
    margin: 25px 0 10px;
    color: #2c2c2c;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 15px;
}

/* ================================================================
   PARRAFOS Y TEXTO
   ================================================================ */

.tlf-documento p {
    margin: 0 0 18px;
    text-align: justify;
}

.tlf-documento strong {
    font-weight: 700;
    color: #1a1a1a;
}

/* ================================================================
   LISTAS
   ================================================================ */

.tlf-documento ul,
.tlf-documento ol {
    margin: 12px 0 24px 10px;
    padding: 0 0 0 20px;
}

.tlf-documento li {
    margin-bottom: 10px;
    line-height: 1.7;
    padding-left: 6px;
}

.tlf-documento ul li::marker {
    color: var(--tlf-color-acento, #f28e2c);
}

/* ================================================================
   ENLACES
   ================================================================ */

.tlf-documento a {
    color: var(--tlf-color-acento, #f28e2c);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 115, 170, 0.3);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.tlf-documento a:hover {
    color: #005177;
    border-bottom-color: #005177;
}

/* ================================================================
   RESPONSIVE - DOCUMENTO LEGAL
   ================================================================ */

@media screen and (max-width: 1200px) {
    .tlf-documento {
        max-width: 100%;
        padding: 30px 40px;
    }
}

@media screen and (max-width: 768px) {
    .tlf-documento {
        padding: 20px;
        font-size: 15px;
    }

    .tlf-documento h1 {
        font-size: 26px;
    }

    .tlf-documento h2 {
        font-size: 20px;
        padding: 10px 0 10px 12px;
    }

    .tlf-documento h3 {
        font-size: 17px;
    }

    .tlf-documento p {
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    .tlf-documento {
        padding: 15px;
    }

    .tlf-documento h1 {
        font-size: 22px;
    }
}

/* ================================================================
   FOOTER LEGAL ESTATICO
   BARRA EN LA PARTE INFERIOR CON ENLACES A PAGINAS LEGALES
   ================================================================ */

/* CONTENEDOR PRINCIPAL DEL FOOTER LEGAL */
.tlf-footer-legal {
    width: 100%;
    background-color: #1a1a1a;
    padding: 12px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 13px;
    line-height: 1.4;
}

/* CONTENEDOR INTERNO CON FLEXBOX PARA ALINEAR COPYRIGHT Y ENLACES */
.tlf-footer-legal__contenedor {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* TEXTO DE COPYRIGHT A LA IZQUIERDA */
.tlf-footer-legal__copyright {
    color: #cccccc;
    white-space: nowrap;
}

/* NAVEGACION DE ENLACES LEGALES A LA DERECHA */
.tlf-footer-legal__enlaces {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

/* ENLACES INDIVIDUALES CON COLOR BLANCO */
.tlf-footer-legal__enlaces a {
    color: #ffffff;
    text-decoration: none;
    padding: 2px 8px;
    transition: color 0.2s ease;
}

/* HOVER EN ENLACES CON COLOR AZUL WORDPRESS */
.tlf-footer-legal__enlaces a:hover {
    color: #0073aa;
    text-decoration: underline;
}

/* SEPARADOR VERTICAL ENTRE ENLACES */
.tlf-footer-legal__separador {
    color: #666666;
    padding: 0 2px;
    user-select: none;
}

/* ================================================================
   RESPONSIVE - FOOTER LEGAL
   ================================================================ */

/* TABLET: CENTRA TODO */
@media screen and (max-width: 768px) {
    .tlf-footer-legal__contenedor {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .tlf-footer-legal__enlaces {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* MOVIL: ENLACES SE APILAN VERTICALMENTE */
@media screen and (max-width: 480px) {
    .tlf-footer-legal {
        padding: 10px 0;
        font-size: 12px;
    }

    .tlf-footer-legal__enlaces {
        flex-direction: column;
        gap: 4px;
    }

    .tlf-footer-legal__separador {
        display: none;
    }

    .tlf-footer-legal__enlaces a {
        padding: 4px 8px;
    }
}
