/* ==========================================
   ESTILOS GLOBALES PARA PÁGINAS DE PERMISOS
   ========================================== */

.contenido-interno {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 40px 20px;
}

.contenido-interno h1 {
    color: var(--primario);
    font-size: 2.4rem;
    margin-bottom: 15px;
    font-weight: 800;
    border-bottom: 3px solid var(--borde);
    padding-bottom: 10px;
}

.contenido-interno h2 {
    color: var(--oscuro);
    font-size: 1.5rem;
    margin: 32px 0 12px;
    font-weight: 700;
}

.contenido-interno p {
    line-height: 1.7;
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: var(--texto);
}

.bloque-seo {
    background: #fff;
    border: 1px solid var(--borde);
    border-left: 5px solid var(--primario);
    padding: 22px;
    margin: 24px 0;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .02);
}

.bloque-seo h3 {
    margin: 0 0 10px;
    color: var(--primario);
    font-size: 1.2rem;
}

.lista-detallada {
    padding-left: 20px;
    margin-bottom: 20px;
}

.lista-detallada li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.lista-detallada strong {
    color: var(--primario);
}

.alerta-legal {
    background: #fce4e4;
    border: 1px solid #f5b0b0;
    padding: 16px;
    color: #6e2323;
    border-radius: 4px;
    font-weight: 600;
    margin: 30px 0;
}

.tabla-seo {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
}

.tabla-seo th,
.tabla-seo td {
    border: 1px solid var(--borde);
    padding: 12px;
    text-align: left;
}

.tabla-seo th {
    background: var(--primario);
    color: #fff;
    font-weight: 600;
}

.tabla-seo tr:nth-child(even) {
    background: #f9f8f4;
}

.cta-interno {
    background: var(--oscuro);
    color: #d5ccb8;
    padding: 35px;
    text-align: center;
    border-radius: 4px;
    margin-top: 50px;
}

.cta-interno h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.enlace-volver {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
    color: var(--primario);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 4px;
    background: rgba(110, 35, 35, .06);
    transition: all .2s;
}

.enlace-volver:hover {
    background: rgba(110, 35, 35, .12);
    transform: translateX(-3px);
}

/* Media Query específica para tablas adaptativas en dispositivos móviles */
@media (max-width: 650px) {
    .tabla-seo thead { display: none; }
    .tabla-seo, .tabla-seo tbody, .tabla-seo tr, .tabla-seo td {
        display: block; width: 100%; box-sizing: border-box;
    }
    .tabla-seo tr {
        margin-bottom: 25px; border: 1px solid var(--borde);
        border-top: 4px solid var(--primario); border-radius: 4px; background: #fff;
    }
    .tabla-seo td {
        text-align: left; padding: 12px 15px; border: none; border-bottom: 1px solid #eee;
    }
    .tabla-seo td:last-child { border-bottom: none; }
    .tabla-seo td::before {
        content: attr(data-label); display: block; font-weight: 700;
        color: var(--primario); margin-bottom: 4px; font-size: 0.85rem;
        text-transform: uppercase; letter-spacing: 0.5px;
    }
}
