* { box-sizing: border-box; }

/* 1. ELIMINAR EL PUNTITO Y EL EFECTO POR DEFECTO */
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }

.cke, .cke_top, .cke_bottom, .cke_toolbox { display: none !important; }

.info-page-wrapper {
    background-color: #0b1120; 
    min-height: 100vh;
    padding: 140px 20px 80px 20px;
    font-family: 'Montserrat', sans-serif;
}

.info-container { max-width: 1100px; margin: 0 auto; }

/* Tarjeta principal */
.card-estatica { 
    background: #111827; 
    border: 1px solid #1f2937; 
    border-radius: 12px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    overflow: hidden;
}

/* Título fijo */
.header-decorado {
    position: relative;
    padding: 40px;
    padding-bottom: 32px;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    background: #111827;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

/* Barra degradada bien visible debajo del título, con resplandor */
.header-decorado::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, #00e5ff, #3b82f6);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.7), 0 0 4px rgba(59, 130, 246, 0.6);
}

.body-estatico { padding: 40px; }

/* =========================================================================
   CONTENIDO DE TEXTO LIBRE (CKEditor): Términos, Quiénes Somos, Zonas, etc.
   Estas reglas peinan lo que se carga desde el panel de administración.
   ========================================================================= */

/* Párrafos: separación prolija entre bloques de texto */
.content-body p,
.faq-content p {
    margin-bottom: 18px;
    color: #e2e8f0;
    line-height: 1.8;
    font-size: 16px;
}

.content-body p:last-child,
.faq-content p:last-child {
    margin-bottom: 0;
}

/* Listas con viñetas y numeradas */
.content-body ul,
.content-body ol,
.faq-content ul,
.faq-content ol {
    padding-left: 24px;
    margin: 15px 0;
}

.content-body ul,
.faq-content ul {
    list-style-type: disc;
}

.content-body ol,
.faq-content ol {
    list-style-type: decimal;
}

.content-body li,
.faq-content li {
    margin-bottom: 12px;
    color: #e2e8f0;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
}

/* El color celeste distintivo en los puntos y números */
.content-body li::marker,
.faq-content li::marker {
    font-weight: 600;
    color: #00e5ff;
}

/* Negritas y cursivas que vengan del editor */
.content-body strong,
.faq-content strong {
    color: #ffffff;
    font-weight: 700;
}

.content-body em,
.faq-content em {
    color: #cbd5e1;
}

/* Enlaces del editor: se ven como texto normal, sin subrayado ni color
   distinto, para que un link mal armado (ej: quedó pegado a una sola letra)
   no se note como un elemento roto o fuera de lugar. Si en algún momento
   necesitás un link real y visible, agregale la clase "link-real" desde
   el editor (modo HTML) y va a verse destacado en celeste. */
.content-body a,
.faq-content a {
    color: inherit;
    text-decoration: none;
    cursor: text;
}

.content-body a.link-real,
.faq-content a.link-real {
    color: #00e5ff;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.content-body a.link-real:hover,
.faq-content a.link-real:hover {
    color: #3b82f6;
}

/* =========================================================================
   PREGUNTAS FRECUENTES: TARJETAS EN GRILLA
   ========================================================================= */

/* 2. GRILLA INDEPENDIENTE: align-items: start evita que se empujen entre sí */
.faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start; /* ESTO EVITA QUE SE ESTIREN Y PAREZCA QUE SE MUEVEN */
}

@media (max-width: 768px) {
    .faq-list { grid-template-columns: 1fr; }
}

.faq-accordion-item {
    background: #0f1a2e;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 20px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.faq-accordion-item:hover { border-color: #3b82f6; }

/* Resaltamos la tarjeta cuando está abierta, para que se note cuál es la activa */
.faq-accordion-item[open] {
    background: #111f38;
    border-color: #00e5ff;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.15);
}

/* Summary limpio */
.faq-summary {
    cursor: pointer;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none; /* Asegura que no salga el punto */
}

/* Flechitas */
.faq-summary::after { content: '+'; color: #00e5ff; font-size: 20px; margin-left: 10px; }
.faq-accordion-item[open] .faq-summary::after { content: '-'; }

.faq-content {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #1f2937;
    color: #cbd5e1;
    line-height: 1.6;
}