/* ── Panel Destacados / Temas ───────────────────────────── */
.dest-panel {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 3px 16px rgba(12,73,143,.11);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.dest-head {
  background: #0c498f;
  padding: .85rem 1.1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.dest-head i   { color: #fff; font-size: .85rem; opacity: .9; }
.dest-head span {
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  line-height: 1;
}
.dest-panel nav {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dest-list {
  padding: .25rem .5rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  flex: 1;
  justify-content: space-around;
}
.dest-list li:not(:has(.dest-sep)) {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dest-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .62rem .7rem;
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  transition: background .18s ease, transform .18s ease;
  flex: 1;
}
.dest-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 3px;
  border-radius: 2px;
  background: var(--c, #0c498f);
  opacity: 0;
  transition: opacity .18s ease;
}
.dest-item:hover {
  background: #eef4fb;
  transform: translateX(4px);
}
.dest-item:hover::before { opacity: 1; }
.dest-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease;
}
.dest-item:hover .dest-icon { transform: scale(1.1); }
.dest-icon i { font-size: .85rem; }
.dest-label {
  font-size: 1rem;
  font-weight: 700;
  color: #1c2e4a;
  line-height: 1.2;
}
.dest-sublabel {
  font-size: .68rem;
  color: #64788f;
  font-weight: 500;
  display: block;
}
.dest-chevron {
  margin-left: auto;
  flex-shrink: 0;
  font-size: .65rem;
  color: #64788f;
  opacity: 0;
  transition: opacity .18s, transform .18s;
}
.dest-item:hover .dest-chevron {
  opacity: 1;
  transform: translateX(2px);
}
.dest-sep {
  height: 1px;
  background: #dde6f2;
  margin: 0 .7rem;
}

/* ── Gradiente título redes sociales ───────────────────── */
.text-gradient-purple {
  background: linear-gradient(135deg, #0c498f 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Accesibilidad ───────────────────────────────────────── */
.dis-non { display: none !important; }

#moduloAccesibilidad2 {
  top: 180px;
  left: 10px;
  width: 36px;
  background-color: transparent;
  position: fixed;
  z-index: 9999995;
  border-radius: 5px;
}
#moduloAccesibilidad2 > div {
  cursor: pointer;
  padding: 6px;
  background-color: #16288E;
  border-bottom: 1px solid #0066FF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: background .2s;
}
#moduloAccesibilidad2 > div:first-child { border-radius: 5px 5px 0 0; }
#moduloAccesibilidad2 > div:last-child  { border-radius: 0 0 5px 5px; border-bottom: none; }
#moduloAccesibilidad2 > div:hover { background-color: #121E6A; }
.active-accesibil { background-color: #0066FF !important; }

.aumentado  { zoom: 1.2 !important; }
.aumentado2 { zoom: 1.5 !important; }
.aumentado3 { zoom: 1.9 !important; }
.only-top-mobil { padding-top: 0; }

/* Banderas traducción */
.gflag { display: flex; align-items: center; cursor: pointer; }
.gflag img { width: 28px; height: auto; border-radius: 3px; }
#google_translate_element { display: none !important; }

/* Animaciones para el panel */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOutDown {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-20px); }
}
.animated.fadeInDown  { animation: fadeInDown  .4s ease forwards; }
.animated.fadeOutDown { animation: fadeOutDown .3s ease forwards; }

@media (max-width: 480px) {
  #moduloAccesibilidad2 {
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
  }
  #moduloAccesibilidad2 > div {
    border-bottom: none;
    border-right: 1px solid #0066FF;
    flex: 1;
    padding: 8px 4px;
  }
  #moduloAccesibilidad2 > div:last-child { border-right: none; border-radius: 0; }
  .only-top-mobil { padding-top: 36px; }
}
