.conecta-vinculos{
  padding:3rem 0 5rem;
  background:radial-gradient(120% 80% at 50% 0%, rgba(0, 55, 110, 0.04) 0%, transparent 55%), linear-gradient(180deg, #f1f5f9 0%, #fafbfc 35%, #fff 100%);
}
#administracion-escolar,
#suayed-en-numeros,
#mediacampus,
#lectura-cultura,
#bibliotecas,
#bienestar{
  scroll-margin-top:var(--anchor-scroll);
}

.conecta-note{
  font-size:0.95rem;
  color:var(--muted);
  font-style:italic;
  margin:-4px 0 20px;
  max-width:52rem;
  line-height:1.5;
}

.conecta-group{
  margin-bottom:2.75rem;
}

.conecta-group--last{
  margin-bottom:0;
}
.conecta-group .sh2.mb-3{
  margin-bottom:1rem !important;
}

.conecta-group__hint{
  font-size:0.88rem;
  color:#64748b;
  margin:0 0 1.25rem;
  line-height:1.55;
  max-width:900px;
}
.conecta-stack{
  list-style:none;
  margin:0;
  padding:0;
  border-radius:16px;
  border:1px solid rgba(13, 27, 42, 0.08);
  background:#fff;
  box-shadow:0 4px 24px rgba(13, 27, 42, 0.06);
  overflow:hidden;
}

.conecta-stack > li{
  margin:0;
  padding:0;
}
.conecta-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:1rem 1.25rem;
  padding:1rem 1.25rem;
  text-decoration:none;
  color:inherit;
  border-bottom:1px solid rgba(13, 27, 42, 0.07);
  transition:background 0.2s ease;
}

.conecta-row:last-child{
  border-bottom:none;
}

.conecta-row:hover{
  background:rgba(0, 55, 110, 0.035);
}

.conecta-row:focus-visible{
  outline:2px solid var(--blue);
  outline-offset:-2px;
  z-index:1;
  position:relative;
}

.conecta-row__logo{
  width:64px;
  height:64px;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:var(--off);
  border:1px solid rgba(13, 27, 42, 0.06);
  padding:6px;
}

.conecta-row__logo img{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
}

.conecta-row__logo--dgae{
  background:#1c3d6c;
}

.conecta-row__logo--dgire{
  background:var(--off);
  overflow:hidden;
}

.conecta-row__logo--mediacampus{
  background:#476bcf;
}

.conecta-row__logo--etica{
  background:#d1d5cd;
}

.conecta-row__logo--etica img{
  object-fit:cover;
  border-radius:6px;
}

.conecta-row__logo--orto{
  background:#dedcc8;
}

.conecta-row__logo--libros{
  background:#fff;
}

.conecta-row__logo--dc{
  background:#f32735;
}

.conecta-row__logo--bib{
  background:#fff;
}

.conecta-row__logo--genero{
  background:#33235b;
}

.conecta-row__logo--tableau{
  background:var(--unam-azul);
  overflow:hidden;
}

.conecta-row__logo--tableau img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:10px;
}

.conecta-row__logo--tableau-viz{
  background:var(--unam-azul);
  color:#fff;
  font-size:1.35rem;
}

.conecta-row__text{
  flex:1;
  min-width:min(100%, 220px);
}

.conecta-row__title{
  font-family:'DM Sans', sans-serif;
  font-size:1.02rem;
  font-weight:700;
  color:var(--navy);
  margin:0 0 0.2rem;
  line-height:1.25;
}

.conecta-row__desc{
  margin:0;
  font-size:0.86rem;
  color:#64748b;
  line-height:1.45;
}
.conecta-row__btn.tlink{
  flex-shrink:0;
  margin-top:0;
  pointer-events:none;
}

.conecta-row:hover .tlink{
  border-color:var(--blue);
  color:var(--navy);
}

.conecta-row:hover .tlink i{
  transform:translateX(4px);
}

@media (max-width: 767px){
  .conecta-row{
    flex-direction:column;
    align-items:stretch;
    text-align:center;
    padding:1.25rem 1rem;
  }

  .conecta-row__logo{
    margin:0 auto;
  }

  .conecta-row__btn.tlink{
    width:100%;
    justify-content:center;
  }
}

@media (max-width: 575px){
  .conecta-group .sh2,
  .conecta-group__hint{
    text-align:center;
  }
}
