/* ---
 * ARCHIVO: /themes/cedoc/assets/pawtucket/css/main.css
 * TEMA: CEDOC CNAC (GUIA GRAFICA WEB CEDOC 2025)
 * PROPÓSITO: Hoja de estilos de SOBRESCRITURA (OVERRIDE).
 * --- */



/* --- 1. Definición de Colores (CEDOC 2025) --- */
:root {
    /* Colores Primarios (Grises y Negro) [cite: 10, 11, 12, 14, 16] */
    --primary-color: #000;
    --text-main-color: #4A4A4A;
    --text-secondary-color: #8A8A8A;
    --border-light-color: #DEDEDE;

    /* Colores de Acento (CEDOC 2025)  */
    --accent-blue: #1269b3ff;
    --accent-red: #e22c2c;
}

/* --- ARREGLO PARA FRANJA BLANCA (Scrollbar) --- */
html, body {
    overflow-x: hidden; /* Previene el scroll horizontal */
    width: 100%;
}

/* --- 2. Estilos Globales (Sobrescribir Lato con Roboto) --- */
body {
    font-family: 'Roboto', sans-serif !important;
    font-size: 18px !important;
    font-weight: 400; /* Regular */
    color: var(--text-main-color) !important;
    background-color: #FFF; /* */
    margin-bottom: 0px !important; 
    position: relative; /* Añadido para ayudar al overflow */
}

/* --- 3. Estilos de Tipografía (H1-H6, p) [cite: 19, 23] --- */
H1, h1, .mainPageContent h1 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important; /* Bold  */
    font-size: 40px !important; /*  */
    color: var(--primary-color) !important;
    text-align: left !important; /* [cite: 24] */
    text-transform: none !important;
    border-bottom: 2px solid var(--accent-blue); /* Usamos el nuevo acento */
    padding-bottom: 10px;
    margin-top: 20px !important;
    margin-bottom: 20px;
}

H2, h2 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important; /* Bold  */
    font-size: 32px !important; /* Un tamaño H2 lógico */
    color: var(--primary-color) !important;
    text-align: left !important; /* [cite: 24] */
}

H3, h3, div.listItemText h3 a {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important; /* Bold  */
    font-size: 28px !important; /* Un tamaño H3 lógico */
    color: var(--text-main-color) !important;
    text-align: left !important; /* [cite: 24] */
    text-transform: none !important;
}
    
H4, h4 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important; /* Bold  */
    font-size: 24px !important;
    color: var(--text-main-color) !important;
    text-align: left !important; /* [cite: 24] */
}

H5, h5 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important; /* Bold  */
    font-size: 20px !important;
    color: var(--text-secondary-color) !important;
    text-transform: none !important;
}

p {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400; /* Regular  */
    font-size: 20px !important; /*  */
    color: var(--text-main-color);
    line-height: 1.5 !important; /*  */
}

/* --- 4. Enlaces (Sobrescribir color #11808D) --- */
a, a:hover {
    color: var(--accent-blue) !important; /* [cite: 13] */
}
a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

/* --- 5. Barra de Navegación (Confirmada por Guía CEDOC 2025) [cite: 29, 31] --- */
.navbar {
    background-color: var(--primary-color) !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
	margin-bottom: 0px !important;
	padding: 20px;
}

/* Enlaces del menú (blancos en vez de negros) */
.navbar-default .navbar-nav > li > a {
    font-family: 'Roboto', sans-serif !important; /*  */
    font-weight: 400; /* Regular */
    font-size: 15px !important;
    color: #ffffff !important; 
    text-shadow: none !important;
    line-height: 27px !important; 
}

/* Hover y Activo */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
    color: var(--text-secondary-color) !important; /* Gris claro para hover */
    background-color: transparent !important;
}

/* --- 6. Botones (Estilo CEDOC 2025) [cite: 30, 31] --- */
.btn-default {
    background-color: var(--primary-color) !important; /* [cite: 10] */
    color: #ffffff !important; /* [cite: 11] */
    border: 0px !important;
    text-shadow: none !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 18px !important;
    border-radius: 0 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    padding: 6px 12px !important;
}

.btn-default:hover, 
.btn-default:focus, 
.btn-default:active, 
.btn-default.active {
    background-color: var(--border-light-color) !important; /* [cite: 16] */
    color: var(--primary-color) !important;
}

/* --- 7. ESTILOS DEL FOOTER (SPRINT 0.4) --- */

#footer-cedoc {
    background-color: var(--primary-color, #000); /* Fondo negro */
    color: var(--border-light-color, #DEDEDE); /* Texto gris claro */
    padding-top: 50px;
    padding-bottom: 50px;
    margin-top: 50px;
    border-top: 1px solid var(--border-light-color);
	padding-left: 40px !important;  /* <--- AÑADIDO */
    padding-right: 40px !important; /* <--- AÑADIDO */
}

#footer-cedoc .footer-col {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

#footer-cedoc #logo-footer {
    height: 150px; /* Un poco más grande que en el header */
    margin-bottom: 20px;
}

#footer-cedoc .footer-address p {
    font-size: 14px !Important;
	font-weight: bold;
    color: var(--border-light-color);
    line-height: 1.3;
}

#footer-cedoc h5 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important; /* Bold */
    font-size: 18px !important;
    color: #ffffff !important; /* Blanco puro para títulos */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

#footer-cedoc a {
    color: var(--border-light-color) !important;
    text-decoration: none !important;
}

#footer-cedoc a:hover {
    color: #ffffff !important; /* Blanco al pasar el mouse */
    text-decoration: underline !important;
}

#footer-cedoc .footer-nav li,
#footer-cedoc .footer-legal li {
    margin-bottom: 8px;
}

#footer-cedoc .social-icons {
    margin-bottom: 20px;
}

#footer-cedoc .social-icons li a {
    font-size: 28px; /* Tamaño de los íconos */
    margin-right: 15px;
    color: #ffffff !important;
    opacity: 0.8;
}

#footer-cedoc .social-icons li a:hover {
    opacity: 1;
    text-decoration: none !important;
}

/* --- 8. ESTILOS DE PÁGINA DE INICIO (SPRINT 0.3) --- */

/* El contenedor principal de la imagen de fondo */
.parallax {
    position: relative;
    /* Carga la imagen de fondo que subiste */
    background-image: url("../graphics/cedoc-hall.jpg"); 
    height: 60vh; /* 60% de la altura de la ventana */
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
/* --- INICIO: CÓDIGO AÑADIDO PARA FULL-BLEED --- */
    width: 100vw; /* 100% del ancho de la ventana */
    left: 50%;
    right: 50%;
    margin-left: -50vw; /* Tira hacia la izquierda la mitad del ancho de la ventana */
    margin-right: -50vw; /* Tira hacia la derecha la mitad del ancho de la ventana */
    /* --- FIN: CÓDIGO AÑADIDO --- */
}



/* Capa oscura sobre el fondo para que el texto resalte */
.parallax:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.4);
}

.heroSearch {
    position: relative;
    z-index: 2; /* Por encima de la capa oscura */
    text-align: left;
    color: #ffffff;
}

.heroSearch h2 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 300 !important; /* Light */
    font-size: 36px !important;
    color: #ffffff !important;
}

.heroSearch h1 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important; /* Bold */
    font-size: 60px !important;
    color: #ffffff !important;
    line-height: 1.1em;
    margin-top: 0px;
    border-bottom: none !important; /* Quita el borde de H1 */
}

.heroSearch .formOutline {
    border: 0px;
    box-shadow: none;
    background-color: #ffffff;
    border-radius: 4px;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.heroSearch .form-group {
    width: 90%;
    margin-bottom: 0;
    vertical-align: middle;
}

.heroSearch .form-control, 
.heroSearch .form-control:focus {
    border: 0px;
    box-shadow: none;
    font-size: 18px;
    height: 44px;
    width: 100%;
}

.heroSearch .btn-search {
    background-color: transparent;
    border: none;
    font-size: 20px;
    color: #000;
}

/* Sección "Conócenos" */
#conocenos {
    background-color: #ffffff;
    padding-top: 50px;
    padding-bottom: 50px;
}

.hpGalleries .galleryTile {
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.hpGalleries .galleryTile img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

.hpGalleries .galleryTile a.hpGalleryTitle {
    position: absolute;
    top: 40%;
    text-align: center;
    width: 100%;
    left: 0px;
    color: #ffffff;
    z-index: 3;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important; /* Bold */
    font-size: 32px !important;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
    text-decoration: none !important;
    opacity: 0;
    transition: all 0.3s ease;
}

.hpGalleries .galleryTile:hover img {
    transform: scale(1.1);
    opacity: 0.7;
}

.hpGalleries .galleryTile:hover a.hpGalleryTitle {
    opacity: 1;
    top: 45%;
}

/* --- 9. REFINAMIENTOS DE SPRINT (Basado en Feedback) --- */

/* --- Arreglo 1: Sección "Hero" (Márgenes, Título, Búsqueda) --- */

.parallax {
    /* Arregla el margen superior negativo que causaba problemas */
    margin-top: 0px !important; 
    /* Aumenta la altura para que se vea mejor */
    height: 70vh; 
}

.heroSearch h1 {
    font-size: 50px !important; /* Reduce el tamaño de 60px a 50px */
}

.heroSearch h2 {
    font-size: 30px !important; /* Reduce el tamaño de 36px a 30px */
}

.heroSearch .form-group {
    width: 95% !important; /* Ensancha la barra de búsqueda (de 90% a 95%) */
}

/* --- Arreglo 2: Texto de Introducción (Centrado, Tamaño, Interlineado) --- */

/* (Este es el <H3 class="home text-center"> de tu archivo) */
section H3.home {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important; /* Regular (no bold) */
    font-size: 26px !important; /* Ligeramente más pequeño */
    line-height: 1.6 !important; /* Mejor interlineado */
    color: var(--text-main-color) !important;
    text-align: center !important;
    max-width: 800px; /* Evita que se extienda demasiado en pantallas anchas */
    margin-left: auto;
    margin-right: auto;
}

/* --- Arreglo 3: "Conócenos" Hover (Opacidad y Contraste) --- */

.hpGalleries .galleryTile a.hpGalleryTitle {
    /* El texto ya es blanco, así que el truco es oscurecer más el fondo */
    text-shadow: none; /* Quitamos la sombra de texto que no ayuda */
}

.hpGalleries .galleryTile:hover img {
    opacity: 0.2; /* Mucho más oscuro (de 0.7 a 0.2) */
    transform: scale(1.05); /* Reducimos el zoom para que sea más sutil */
}

.hpGalleries .galleryTile:hover a.hpGalleryTitle {
    opacity: 1;
    top: 45%;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5); /* Sombra suave para resaltar */
}

/* --- Arreglo 4: Franja Blanca después del Footer --- */

body {
    /* El "default/main.css" añade un margen de 82px. Lo forzamos a 0. */
    margin-bottom: 0px !important;
}

/* --- 10. REFINAMIENTOS DE PÁGINA DE INICIO (SPRINT 0.3c) --- */

/* Arreglo 1: Eliminar franja blanca sobre el Hero (EL ARREGLO CORRECTO) */
/* El archivo default aplica padding a #pageArea. Lo forzamos a 0 SÓLO en la página de inicio. */
body.frontContainer #pageArea {
    padding-top: 0px !important;
}

/* Arreglo 2 y 3: Hero más alto */
.parallax {
    height: 80vh !important; 


    /* El resto de las reglas (width, left, right, etc.) quedan igual */
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Arreglo 4: Sección Gris (intro) a ancho completo */
.parallax + section {
    background-color: #d5d5d5; 
    padding-top: 50px;
    padding-bottom: 50px;

    /* "truco" de ancho completo */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Arreglo 5: Tamaño de fuente del texto gris (como lo ajustamos antes) */
section H3.home {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 400 !important;
    font-size: 26px !important; /* Ajustado a 26px */
    line-height: 1.6 !important;
    color: var(--text-main-color) !important;
    text-align: center !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- 12. REFINAMIENTO FOOTER (ALINEAR COLUMNA DERECHA) --- */

/* Solo aplica esto en pantallas medianas (md) o más grandes (>= 992px) */
@media (min-width: 992px) {
    /* Selecciona la última columna del footer */
    #footer-cedoc .footer-col:last-child {
        text-align: right; /* ¡Alinea todo el contenido a la derecha! */
    }

    /* Asegura que la lista de íconos sociales se alinee a la derecha también */
    #footer-cedoc .footer-col:last-child .social-icons {
        float: right; /* Fuerza la lista de íconos a la derecha */
    }

    /* Asegura que la lista legal se alinee a la derecha */
    #footer-cedoc .footer-col:last-child .footer-legal {
        /* Como la lista de íconos está flotando, necesitamos limpiar el float */
        clear: both;
        float: right;
        padding-right: 0; /* Asegura que no haya padding extra */
    }
}

/* --- 12. REFINAMIENTO FOOTER (ALINEAR COLUMNA DERECHA) --- */

/* Solo aplica esto en pantallas medianas (md) o más grandes (>= 992px) */
@media (min-width: 992px) {
    /* Selecciona la última columna del footer */
    #footer-cedoc .footer-col:last-child {
        text-align: right; /* ¡Alinea todo el contenido a la derecha! */
    }

    /* Asegura que la lista de íconos sociales se alinee a la derecha también */
    #footer-cedoc .footer-col:last-child .social-icons {
        float: right; /* Fuerza la lista de íconos a la derecha */
    }

    /* Asegura que la lista legal se alinee a la derecha */
    #footer-cedoc .footer-col:last-child .footer-legal {
        /* Como la lista de íconos está flotando, necesitamos limpiar el float */
        clear: both;
        float: right;
        padding-right: 0; /* Asegura que no haya padding extra */
    }
}

/* --- 13. ESTILOS DE ACCESIBILIDAD (SPRINT 0.2c --- */

#accessibility-toolbar {
    margin-left: 10px; 
}

/* Estilo base del botón (círculo gris claro) */
/* Selectores de ID para máxima especificidad */
#a11y-decrease,
#a11y-increase {
    background-color: #f3f3f3 !important; /* Gris claro */
    color: #000 !important; /* Texto negro */
    font-family: 'Roboto', sans-serif !important;
    font-weight: 700 !important;
    border-radius: 50%; /* Círculo */
    width: 34px;
    height: 34px;
    line-height: 34px !important;
    text-align: center;
    padding: 0 !important;
    margin-top: 8px; 
    margin-right: 5px;
    outline: none !important;
}

/* Estilo para hover, focus (tab) y active (clic) */

#a11y-decrease:hover, #a11y-increase:hover, 
#a11y-decrease:focus, #a11y-increase:focus, 
#a11y-decrease:active, #a11y-increase:active {
    background-color: #8a8a8a !important; 
    color: #000 !important;
    text-decoration: none !important;
    outline: none !important;
}

/* --- Definiciones de Tamaño de Texto --- */

/* Tamaño Mediano */
body.text-medium p,
body.text-medium .form-control,
body.text-medium .detail .unit,
body.text-medium section H3.home {
    font-size: 22px !important;
    line-height: 1.6 !important;
}

/* Tamaño Grande */
body.text-large p,
body.text-large .form-control,
body.text-large .detail .unit,
body.text-large section H3.home {
    font-size: 24px !important;
    line-height: 1.7 !important;
}

/* Estilo general para todas las páginas estáticas */
.cedoc-static-page {
    margin-top: 30px;
    margin-bottom: 50px;
}

/* Estilo para los títulos principales en los .tmpl */
.cedoc-page-title {
    color: #005a9c; /* Azul institucional */
    font-weight: bold;
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* Contenedor de texto para que no se pegue a los bordes */
.cedoc-body-content {
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

/* --- ESTILOS INSTITUCIONALES CEDOC PARA PÁGINAS ESTÁTICAS --- */

/* Contenedor principal para dar aire a los contenidos */
.cedoc-static-page {
    margin-top: 50px;
    margin-bottom: 80px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; /* O la fuente que use el CNAC */
}

/* Título principal con el azul oficial y línea decorativa */
.cedoc-page-title {
    color: #005a9c; 
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 10px;
    border-bottom: 4px solid #005a9c;
    padding-bottom: 15px;
    display: inline-block;
    width: 100%;
}

/* Estilo para subtítulos y encabezados secundarios */
.cedoc-static-page h2, 
.cedoc-static-page h3 {
    color: #333;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Cuerpo de texto optimizado para lectura larga */
.cedoc-body-content {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    text-align: justify;
}

/* Estilo para las listas (Servicios, etc) */
.cedoc-body-content ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.cedoc-body-content li {
    margin-bottom: 10px;
}

/* Sidebar / Cuadro de información lateral */
.cedoc-sidebar {
    background-color: #f4f7f9;
    padding: 30px;
    border-radius: 4px;
    border-left: 6px solid #005a9c;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.cedoc-sidebar h4 {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #005a9c;
    margin-top: 0;
}

/* Estilo para los nombres en la lista de equipo */
.cedoc-sidebar strong {
    color: #222;
    font-size: 15px;
}

/* =========================================================
   ESTILO UNIFICADO (IGUAL AL CATÁLOGO)
   ========================================================= */
/* 1. Fondo BLANCO, Sombra y Bordes */
ul.menuItems .dropdown-menu {
    background-color: #ffffff !important;
    border: 1px solid #ddd;
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
    border-radius: 0 0 4px 4px;
    padding: 5px 0;
    margin-top: 0;
    min-width: 180px;
}

/* 2. ALINEACIÓN (CRÍTICO) */
/* Esto obliga al menú a caer debajo del botón, no a la izquierda de la pantalla */
.navbar-right .dropdown-menu {
    left: 0 !important;
    right: auto !important;
    text-align: left;
}

/* 3. Enlaces: Gris oscuro y Azul al pasar el mouse */
ul.menuItems .dropdown-menu > li > a {
    color: #333 !important; 
    padding: 8px 20px;
    font-size: 14px;
}

ul.menuItems .dropdown-menu > li > a:hover {
    background-color: #f5f5f5 !important;
    color: #005a9c !important; /* Azul Institucional */
    text-decoration: none;
}

/* 4. HOVER: Abrir menú automáticamente */
@media (min-width: 768px) {
    ul.menuItems li.dropdown:hover > ul.dropdown-menu {
        display: block;
    }
}


/* =========================================================
   RESETEO Y CENTRADO DEFINITIVO PÁGINAS ESTÁTICAS (2025)
   ========================================================= */

/* 1. Forzar el contenedor a 1200px y centrarlo */
.cedoc-static-page {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
    display: block !important;
    padding: 40px 15px !important; /* 15px es el estándar de Bootstrap */
}

/* 2. Título: Quitamos la línea global de los H1 para que no se duplique */
h1.cedoc-page-title {
    border-bottom: none !important; /* Mata la línea del H1 global */
    padding-bottom: 0 !important;
    margin-bottom: 5px !important;
    font-size: 40px !important;
    color: var(--primary-color) !important;
    text-transform: uppercase !important;
}

/* 3. La línea azul única (ajustada a tu guía gráfica) */
.cedoc-title-underline {
    height: 4px;
    background-color: var(--accent-blue) !important;
    width: 100%;
    margin-bottom: 20px;
    border: none;
}

/* 4. Subtítulo: Alineación limpia */
.cedoc-page-subtitle {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--text-main-color) !important;
    margin-top: 0 !important;
    margin-bottom: 30px !important;
}

/* 5. Contenido: Asegurar que las filas internas no desborden */
.cedoc-main-content {
    width: 100% !important;
    padding: 0 !important;
}

/* Si usas .row dentro del bodytext, esto evita que se salga de los 1200px */
.cedoc-main-content .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

/* =========================================================
   AJUSTES PARA MÓVILES (PANTALLAS < 768px)
   ========================================================= */
@media (max-width: 768px) {
    
    /* Reducimos el tamaño base del cuerpo (antes 20px) */
    body {
        font-size: 18px !important;
    }

    /* Título principal más equilibrado (antes 40px) */
    h1.cedoc-page-title {
        font-size: 30px !important;
        line-height: 1.1 !important;
    }

    /* Subtítulo (antes 28px o 32px) */
    .cedoc-page-subtitle {
        font-size: 22px !important;
    }

    /* Párrafos del contenido (antes 20px) */
    p, .cedoc-main-content p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }

    /* Reducimos un poco el padding del contenedor para ganar espacio lateral */
    .cedoc-static-page {
        padding-top: 20px !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Estilo para los placeholders visuales CEDOC */
.cedoc-img-placeholder {
    background: #f4f4f4;
    border-left: 5px solid var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    color: #8A8A8A;
    font-size: 14px;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}
.cedoc-icon-box {
    font-size: 40px;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

/* --- DISEÑO INSTITUCIONAL FAQ CEDOC 2025 --- */

/* Contenedor de la cuadrícula */
.cedoc-faq-grid {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Títulos de Categoría */
.faq-cat-header {
    width: 100%;
    padding: 0 15px;
    margin-top: 40px !important;
    margin-bottom: 25px !important;
    border-bottom: 3px solid var(--accent-blue);
}

.faq-cat-header h3 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    text-transform: uppercase;
    margin: 0 0 10px 0 !important;
}

/* Tarjeta de Pregunta Individual */
.faq-box {
    width: 50%; /* Dos columnas */
    padding: 0 15px;
    margin-bottom: 30px;
    display: flex;
}

@media (max-width: 768px) { .faq-box { width: 100%; } }

.faq-box-inner {
    background-color: #fff;
    border: 1px solid #DEDEDE;
    padding: 25px;
    width: 100%;
    transition: transform 0.2s ease;
}

.faq-box-inner:hover {
    border-color: var(--accent-blue);
    background-color: #fcfcfc;
}

.faq-q-text {
    color: var(--accent-blue) !important;
    font-weight: 700;
    font-size: 20px !important;
    margin-bottom: 12px;
    display: block;
    line-height: 1.3;
}

.faq-a-text {
    font-size: 18px !important;
    color: var(--text-main-color);
    line-height: 1.5;
    margin: 0;
}