/* ===== SDC Opiniones Remote ===== */

.sdc-remote-grid{
  display:grid;
  gap:20px;
}

.sdc-remote-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.sdc-remote-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.sdc-remote-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.sdc-remote-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}

@media (max-width:1200px){
  .sdc-remote-cols-5,
  .sdc-remote-cols-4{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:992px){
  .sdc-remote-cols-5,
  .sdc-remote-cols-4,
  .sdc-remote-cols-3{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:768px){
  .sdc-remote-cols-5,
  .sdc-remote-cols-4,
  .sdc-remote-cols-3,
  .sdc-remote-cols-2{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:520px){
  .sdc-remote-grid{grid-template-columns:1fr}
}

.sdc-remote-card{
  background:#fff;
  border-radius:16px;
  box-shadow:0 6px 20px rgba(0,0,0,.06);
  overflow:hidden;
  display:flex;
  height:100%;
}

.sdc-remote-card-inner{
  padding:12px 14px 14px;
  display:flex;
  flex-direction:column;
  gap:7px;
  width:100%;
  align-items:center;
  text-align:center;
}

.sdc-remote-avatar{
  width:100%;
  display:block;
}

.sdc-remote-avatar img{
  width:100%;
  height:auto;
  display:block;
  border-radius:10px;
  cursor:zoom-in;
}

.sdc-remote-tags{
  display:flex;
  flex-direction:column;
  gap:6px;
  width:100%;
}

.sdc-remote-tag{
  display:block;
  width:100%;
  font-size:12px;
  line-height:1.15;
  padding:7px 8px;
  border-radius:10px;
  background:var(--sdc-color,#111827) !important;
  color:#fff !important;
  font-weight:700;
  text-align:center;
}

.sdc-remote-name{
  margin:4px 0 0 !important;
  font-size:15px !important;
  line-height:1.2 !important;
  font-weight:700 !important;
  color:#0a66c2 !important;
}

.sdc-remote-opinion{
  margin-top:4px;
  color:#111827;
}

.sdc-remote-opinion p{
  font-size:12px !important;
  line-height:1.45 !important;
  margin:0 0 6px !important;
}

.sdc-remote-linkedin{
  margin-top:auto;
  display:inline-block;
  text-decoration:none;
  font-weight:700;
  border-radius:12px;
  padding:9px 12px;
  font-size:13px;
  background:#0a66c2 !important;
  color:#fff !important;
  text-align:center;
  width:100%;
}

.sdc-remote-in-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#fff !important;
  color:#0a66c2 !important;
  font-weight:800;
  text-transform:lowercase;
  margin-left:6px;
  line-height:1;
}

.sdc-remote-empty{
  padding:18px;
  border-radius:12px;
  background:#f8fafc;
  color:#111827;
  text-align:center;
  font-weight:700;
}

/* ===== Carousel ===== */

.sdc-remote-carousel{
  position:relative;
  width:100%;
  overflow:hidden;
  padding:10px 34px;
}

.sdc-remote-carousel::before,
.sdc-remote-carousel::after{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:70px;
  z-index:2;
  pointer-events:none;
}

.sdc-remote-carousel::before{
  left:0;
  background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.86) 38%,rgba(255,255,255,0) 100%);
}

.sdc-remote-carousel::after{
  right:0;
  background:linear-gradient(270deg,#fff 0%,rgba(255,255,255,.86) 38%,rgba(255,255,255,0) 100%);
}

.sdc-remote-carousel-track{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  gap:16px;
  transition:transform .45s ease;
  will-change:transform;
}

.sdc-remote-carousel-slide{
  flex:0 0 calc((100% - (16px * (var(--sdc-remote-carousel-cols, 4) - 1))) / var(--sdc-remote-carousel-cols, 4));
  box-sizing:border-box;
  flex-shrink:0 !important;
}

.sdc-remote-carousel .sdc-remote-card,
.sdc-remote-carousel .sdc-remote-card-inner{
  height:100%;
}

.sdc-remote-carousel-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  border:none;
  border-radius:50%;
  background:#0a66c2 !important;
  color:#fff !important;
  font-size:28px !important;
  line-height:1 !important;
  cursor:pointer;
  z-index:5 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:0 0 3px 0 !important;
  text-align:center !important;
}

.sdc-remote-carousel-prev{left:0}
.sdc-remote-carousel-next{right:0}

@media (max-width:992px){
  .sdc-remote-carousel{--sdc-remote-carousel-cols:3 !important}
}
@media (max-width:768px){
  .sdc-remote-carousel{--sdc-remote-carousel-cols:2 !important}
}
@media (max-width:520px){
  .sdc-remote-carousel{
    --sdc-remote-carousel-cols:1 !important;
    padding:10px 34px;
  }
  .sdc-remote-carousel::before,
  .sdc-remote-carousel::after{
    width:38px;
  }
  .sdc-remote-carousel-slide{
    flex:0 0 100% !important;
  }
}

/* ===== Lightbox ===== */

.sdc-remote-lightbox-overlay{
  position:fixed !important;
  inset:0 !important;
  z-index:2147483647 !important;
  background:rgba(0,0,0,.86) !important;
  display:none;
  align-items:center;
  justify-content:center;
  padding:28px;
}

.sdc-remote-lightbox-overlay.is-active{
  display:flex !important;
}

.sdc-remote-lightbox-img{
  max-width:94vw;
  max-height:92vh;
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:8px;
  box-shadow:0 20px 60px rgba(0,0,0,.45);
}

.sdc-remote-lightbox-close{
  position:fixed;
  top:18px;
  right:22px;
  z-index:2147483647 !important;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#fff !important;
  color:#111827 !important;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}
