/* Kalau nak tambah sikit lagi gap dari atas pill */
.wr-company-section .wr-company-meta {
    margin-top: 40px !important;
    padding-left: 0 !important;
}



/* Pastikan meta row align elok */
.wr-hero-meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* Copy button lebih jelas */
.wr-copy-btn{
  appearance:none;
  -webkit-appearance:none;
  border:2px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.14);
  color:#ffffff;                 /* ✅ paksa text putih */
  font-weight:600;
  padding:6px 12px;
  font-size:12px;
  line-height:1;
  border-radius:12px;            /* pill kecil */
  cursor:pointer;
  opacity:1 !important;          /* ✅ elak inherit opacity */
  transition:all .15s ease;
}

.wr-copy-btn:hover{
  background:rgba(255,255,255,.22);
  border-color:rgba(255,255,255,.55);
}

.wr-copy-btn:active{
  transform:scale(.98);
}

/* =====================================================
 * TESTIMONI - gambar full card + popup umum semua theme
 * ===================================================== */
.wr-testimonials{
  display:flex;
  flex-wrap:wrap;
  gap:18px;
}

.wr-testi-card{
  flex:1 1 260px;
}

.wr-testi-title,
.wr-testi-name{
  display:block;
  margin-bottom:12px;
  font-weight:700;
}

.wr-testi-image-link,
.wr-testi-image-btn{
  display:block;
  width:100%;
  margin:0 0 14px;
  padding:0;
  border:0;
  background:none;
  text-decoration:none;
  cursor:pointer;
}

.wr-testi-image-link img,
.wr-testi-image-btn img,
.wr-testi-image{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  border-radius:14px;
  object-fit:cover;
  box-shadow:0 8px 22px rgba(0,0,0,.10);
}

.wr-testi-popup[hidden]{
  display:none !important;
}

.wr-testi-popup{
  position:fixed;
  inset:0;
  z-index:99999;
}

.wr-testi-popup-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.76);
}

.wr-testi-popup-dialog{
  position:relative;
  z-index:2;
  width:min(92vw, 900px);
  max-height:90vh;
  margin:4vh auto;
  padding:16px;
  border-radius:18px;
  background:#ffffff;
  box-shadow:0 24px 60px rgba(0,0,0,.35);
  overflow:auto;
}

.wr-testi-popup-title{
  margin:0 44px 12px 0;
  font-size:18px;
  font-weight:700;
  line-height:1.35;
  color:#111827;
}

.wr-testi-popup-image{
  display:block;
  width:100%;
  height:auto;
  border-radius:14px;
}

.wr-testi-popup-close{
  position:absolute;
  top:10px;
  right:10px;
  width:38px;
  height:38px;
  border:0;
  border-radius:999px;
  background:#111827;
  color:#ffffff;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

body.wr-testi-popup-open{
  overflow:hidden;
}

@media (max-width: 640px){
  .wr-testi-popup-dialog{
    width:min(94vw, 94vw);
    margin:3vh auto;
    padding:14px;
    border-radius:16px;
  }

  .wr-testi-popup-title{
    font-size:16px;
    margin-right:40px;
  }
}


/* =====================================================
 * PATCH V5 - tajamkan gambar testimoni + center button X
 * ===================================================== */
.wr-testi-image-link img,
.wr-testi-image-btn img,
.wr-testi-image,
.wr-testi-popup-image{
  image-rendering:auto;
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
  transform:translateZ(0);
}

.wr-testi-popup-dialog img{
  max-width:100%;
  height:auto;
}

.wr-testi-popup-close{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  text-align:center;
  line-height:1;
}

.wr-testi-popup-close::before{
  content:none;
}
