:root {
  /* Paleta Institucional UJA */
  --color1: #004921; /* Botón subir / Variación Verde Oscuro UJA */
  --color2: #006D38; /* Botón principal de acción (Inscríbete) / Verde Principal UJA */
  --color3: #00A65D; /* Acento claro / Variación Verde UJA */
  --color4: #636466; /* Sección de Inscripciones / Gris Secundario UJA */
  --color5: #006D38; /* Cabecera y Menú / Verde Principal UJA */
  --color6: #A68508; /* Detalle secundario / Dorado UJA */
  --color7: #231F20; /* Texto oscuro / Gris Oscuro UJA */
}

.background-color1 { background-color: var(--color1) !important; }
.background-color2 { background-color: var(--color2) !important; }
.background-color3 { background-color: var(--color3) !important; }
.background-color4 { background-color: var(--color4) !important; }
.background-color5 { background-color: var(--color5) !important; }
.background-color6 { background-color: var(--color6) !important; }
.background-color7 { background-color: var(--color7) !important; }

.text-color1 { color: var(--color1) !important; }
.text-color2 { color: var(--color2) !important; }
.text-color3 { color: var(--color3) !important; }
.text-color4 { color: var(--color4) !important; }
.text-color5 { color: var(--color5) !important; }
.text-color6 { color: var(--color6) !important; }
.text-color7 { color: var(--color7) !important; }

#sponsors img, #organization img {
  max-height: 120px;
}

ul {
  list-style: disc;
  margin-left: 1em;
}

li {
  margin-top: 0.5em;
}

.logo {
  max-height: 120px;
}

#committees img {
  max-width: 90px; 
}

.commitee {
  margin-top: 1rem !important;
}

/* Correos y enlaces del comité: Oscurecido (#184168) para garantizar un contraste superior a 4.5:1 (WCAG AA) */
.azulado {
  color: #184168 !important;
  font-weight: 600;
}

.oculto {
  display: none !important;
}

#programme tr {
  background-color: #F5F6F6; /* Fondo gris muy claro UJA */
}

.horas {
  width: 115px;
}

/* Pestañas accesibles */
.tabs ul li button {
  background: transparent;
  border: none;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0.5em 1em;
  color: inherit;
  width: 100%;
}

.tabs ul li button:focus-visible {
  outline: 3px solid var(--color6);
  outline-offset: -2px;
}

/* Indicador de foco visible global para navegabilidad por teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #A68508 !important;
  outline-offset: 2px !important;
}

/* Visibilidad accesibilidad (Oculto visualmente pero accesible para lectores de pantalla) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media screen and (min-width: 769px) { 
  #programme table {
    width: 80%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 768px) { 
  .sostenible {
    width: 40%;
  }
}