/* GoSim social links in the shared top header */
.gosim-top-social{
  display:flex;
  align-items:stretch;
  gap:18px;
  width:100%;
  box-sizing:border-box;
  padding:12px clamp(14px, 3vw, 42px) 14px;
  border-top:1px solid rgba(15,23,42,.06);
  border-bottom:1px solid rgba(15,23,42,.08);
  background:linear-gradient(100deg, #f1fbfd 0%, #fffdf5 53%, #fff2e8 100%);
}

.gosim-top-social__heading{
  display:flex;
  flex:0 0 220px;
  flex-direction:column;
  justify-content:center;
  padding:0 4px;
}

.gosim-top-social__eyebrow{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#16849a;
  font-size:12px;
  font-weight:900;
  letter-spacing:1px;
}

.gosim-top-social__heading h2{
  margin:3px 0 2px;
  color:#1f2b3a;
  font-size:22px;
  font-weight:900;
  line-height:1.2;
}

.gosim-top-social__hint{
  color:#6d7886;
  font-size:12px;
  line-height:1.4;
}

.gosim-top-social__rail{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  flex:1 1 auto;
  gap:10px;
  min-width:0;
}

.gosim-top-social__card{
  position:relative;
  display:block;
  min-height:92px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.85);
  border-radius:16px;
  background-position:center;
  background-size:cover;
  color:#fff;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(25,48,69,.13);
  isolation:isolate;
  transition:transform .18s ease, box-shadow .18s ease;
}

.gosim-top-social__card--shopee{background-image:url('../images/social/social-shopee.png')}
.gosim-top-social__card--instagram{background-image:url('../images/social/social-instagram.png')}
.gosim-top-social__card--facebook{background-image:url('../images/social/social-facebook.png')}
.gosim-top-social__card--threads{background-image:url('../images/social/social-threads.png')}

.gosim-top-social__card:hover,
.gosim-top-social__card:focus-visible{
  color:#fff;
  text-decoration:none;
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(25,48,69,.21);
}

.gosim-top-social__shade{
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg, rgba(8,18,32,.76), rgba(8,18,32,.22) 74%, rgba(8,18,32,.1));
}

.gosim-top-social__content{
  display:flex;
  align-items:center;
  gap:9px;
  height:100%;
  padding:11px 12px;
  box-sizing:border-box;
}

.gosim-top-social__icon{
  display:inline-flex;
  flex:0 0 34px;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border:1px solid rgba(255,255,255,.5);
  border-radius:11px;
  background:rgba(255,255,255,.17);
  font-size:17px;
  backdrop-filter:blur(7px);
}

.gosim-top-social__content > span:nth-child(2){
  display:flex;
  min-width:0;
  flex:1 1 auto;
  flex-direction:column;
}

.gosim-top-social__content strong{
  overflow:hidden;
  font-size:15px;
  font-weight:900;
  line-height:1.25;
  text-overflow:ellipsis;
  text-shadow:0 2px 8px rgba(0,0,0,.32);
  white-space:nowrap;
}

.gosim-top-social__content small{
  overflow:hidden;
  margin-top:3px;
  color:rgba(255,255,255,.9);
  font-size:11px;
  line-height:1.25;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.gosim-top-social__arrow{
  flex:0 0 auto;
  color:rgba(255,255,255,.92);
  font-size:12px;
}

@media (max-width:1250px){
  .gosim-top-social{gap:12px}
  .gosim-top-social__heading{flex-basis:190px}
  .gosim-top-social__content{padding:10px}
  .gosim-top-social__content strong{font-size:14px}
}

@media (max-width:1023px){
  .gosim-top-social{
    display:block;
    padding:10px 10px 12px;
  }
  .gosim-top-social__heading{
    display:flex;
    min-height:0;
    padding:0 3px 9px;
    flex-direction:row;
    align-items:baseline;
    gap:8px;
  }
  .gosim-top-social__heading h2{margin:0;font-size:18px}
  .gosim-top-social__eyebrow{font-size:11px}
  .gosim-top-social__hint{font-size:11px}
  .gosim-top-social__rail{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    overflow:visible;
    gap:9px;
    padding:1px 2px 5px;
  }
  .gosim-top-social__card{
    min-width:0;
    min-height:76px;
  }
}

@media (max-width:520px){
  .gosim-top-social__heading{
    display:grid;
    grid-template-columns:auto 1fr;
    gap:2px 8px;
  }
  .gosim-top-social__eyebrow{grid-column:1/-1}
  .gosim-top-social__hint{align-self:center}
  .gosim-top-social__content{gap:7px;padding:8px}
  .gosim-top-social__icon{flex-basis:30px;width:30px;height:30px;border-radius:9px;font-size:15px}
  .gosim-top-social__content strong{font-size:13px}
  .gosim-top-social__content small{font-size:10px}
}
