/* SUNOTI – Relacionados Post (social + colores por grupo) */

.snt-rel-wrap{
  margin: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* NO estilizamos el H2 principal para que use el CSS del theme */

/* ===== Sección base ===== */
.snt-rel-section{
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
}

/* Header sección */
.snt-rel-head{
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display:flex;
  align-items:center;
  justify-content:flex-start;
  position: relative;
}

.snt-rel-title{
  margin:0;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.2px;
  color:#111;
}

/* Línea por grupo */
.snt-rel-head:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height: 3px;
}

/* ===== Grid ===== */
.snt-rel-grid{
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px; /* menos espacio en blanco */
}

/* ===== Card ===== */
.snt-rel-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-decoration:none;
  background: transparent;
  border: none;
  border-radius: 18px;
  padding: 14px 8px 18px; /* un poco más grande */
  transform: translateZ(0);
  transition: transform .18s ease, filter .18s ease;
}

.snt-rel-card:hover{
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 14px 18px rgba(0,0,0,0.12));
}

/* Avatar: blanco pegado + azul exterior */
.snt-rel-avatar{
  width: 124px;  /* más grande */
  height: 124px; /* más grande */
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* blanco pegado a la imagen */
  border: 1px solid #ffffff;

  /* azul exterior */
  outline: 2px solid #1E90FF;
  outline-offset: 2px;

  box-shadow: 0 12px 24px rgba(0,0,0,0.14);
  transition: transform .18s ease, box-shadow .18s ease;
}

.snt-rel-card:hover .snt-rel-avatar{
  transform: scale(1.04);
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
}

/* Texto */
.snt-rel-meta{
  margin-top: 12px;
  text-align:center;
  width: 100%;
  display:flex;
  flex-direction:column;
  gap: 4px;
}

.snt-rel-alias{
  font-weight: 950;
  font-size: 1.12rem; /* un poco más grande */
  line-height: 1.1;
  color:#111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* @username sin negrita */
.snt-rel-handle{
  font-weight: 400;
  font-size: 0.95rem; /* un poco más grande */
  line-height: 1.1;
  color: rgba(0,0,0,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ===== Colores por grupo ===== */
.snt-group-age .snt-rel-head:after{
  background: linear-gradient(90deg, rgba(30,144,255,1), rgba(30,144,255,0));
}
.snt-group-zodiac .snt-rel-head:after{
  background: linear-gradient(90deg, rgba(138,43,226,1), rgba(138,43,226,0));
}
.snt-group-country .snt-rel-head:after{
  background: linear-gradient(90deg, rgba(0,180,120,1), rgba(0,180,120,0));
}
.snt-group-tag .snt-rel-head:after{
  background: linear-gradient(90deg, rgba(255,99,71,1), rgba(255,99,71,0));
}

/* ===== Responsivo ===== */
@media (max-width: 1100px){
  .snt-rel-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
  .snt-rel-avatar{
    width: 108px;
    height: 108px;
  }
}

@media (max-width: 720px){
  .snt-rel-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
  }
  .snt-hide-mobile{
    display:none !important;
  }
  .snt-rel-avatar{
    width: 86px;
    height: 86px;
  }
  .snt-rel-title{font-size: 1.4rem;}
  .snt-rel-alias{font-size: 0.9rem;}
  .snt-rel-handle{font-size: 0.8rem;}
}

@media (max-width: 420px){
  .snt-rel-avatar{
    width: 78px;
    height: 78px;
  }
  
 
}
