/* ======== SECCIONES ======== */
.side-section {
  background-color: #EEEEEE; /* gris claro */
  padding: 20px;
  min-height: 100vh;
  transition: background-color 0.3s ease;
}

/* Centro */
.center-section {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding: 40px;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}


/* Títulos */
.center-section h1,
.center-section h2,
.center-section h3,
.center-section h5{
  color: #973026;
}

/* Tamaños base para títulos en la sección central */
.center-section h1 {
  font-size: 1.8rem;  /* antes era más grande, ahora más manejable */
}

.center-section h2 {
  font-size: 1.6rem;
}

.center-section h3 {
  font-size: 1.4rem;
}

.center-section h5 {
  font-size: 1.2rem;
}

.center-section.div.card-body{
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 8px;
  padding: 20px;
  margin: 30px auto;
  max-width: 900px;;
}

/* ======== MODO ALTO CONTRASTE ======== */
body.high-contrast {
  background-color: #000;
  color: #fff;
}

/* Laterales y centro en negro */
body.high-contrast .side-section,
body.high-contrast .center-section {
  background-color: #000 !important;
  color: #fff !important;
}

/* Bordes blancos en el centro */
body.high-contrast .center-section {
  border-left: 2px solid #fff;
  border-right: 2px solid #fff;
}

/* Títulos siguen siendo verdes */
body.high-contrast .center-section h1,
body.high-contrast .center-section h2,
body.high-contrast .center-section h3 {
  color: #61CE70;
}

body.high-contrast .center-section strong,
body.high-contrast .center-section b {
  color: #ffff00;
}

/* === RESET GLOBAL === */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;       /* al menos toda la altura de la ventana */
  display: flex;
  flex-direction: column;
  overflow-x: visible;
}

main.container, .container-fluid {
  flex: 1;               /* ocupa todo el espacio disponible */
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

/* Columnas laterales */
.side-section {
  background-color: #EEEEEE; /* tu gris original */
  padding: 20px;
  min-height: 100vh;
  transition: background-color 0.3s ease;
}

/* ====== Estilo de los acordeones ========== */
.faq-accordion {
    display: block;   
    max-width: 800px;
    margin: 0 auto; /* ok para centrar horizontalmente */
    /* padding-bottom: 16px; /* reemplaza margen inferior si quieres espacio */ 
}

.faq-item {
  display: block;  
  width: auto;
  max-width: 400px;        /* ancho inicial, ajusta a tu gusto */
   margin-bottom: 16px;
  transition: max-width 0.3s ease, width 0.3s ease;
}

.faq-item.open {
  display: block;
  width: 100%;             /* ocupa todo el ancho del center-section */
  max-width: 100%;
}

/*== Estilo de la pregunta == */
.faq-question {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background: #973026;
    border: 2px solid transparent;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: block;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

body.high-contrast .faq-question {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    background: #000;
    border: 2px solid transparent;
    border-color: #61CE70;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.faq-question:hover {
    
    border-color: #000;
}

body.high-contrast .faq-question:hover {
  border-color: #fff;
}

/* == Texto del acordeón == */
.faq-answer {
    display: block;
    padding: 12px 16px;
    color: #fff;
    background: #F79300;
    border: 2px solid transparent;
}

body.high-contrast .faq-answer {

    padding: 12px 16px;
    border: 2px solid transparent;
    border-color: #F79300;
    color: #fff;
    background: #000;
}

.arrow-img {
    transition: transform 0.3s ease;
}

.arrow-img.open {
    transform: rotate(180deg);
}



