/* ==========================================================================
   TAUTAN WEBSITE & SOSIAL MEDIA WIDGET
   File: tautan-sosmed-widget.css
   Class khusus: pnbyw-ts-*
   ========================================================================== */

.widget_pnbyw_tautan_sosmed,
.pnbyw-tautan-sosmed-widget{
  width:100%;
  max-width:100%;
  margin:0 0 12px !important;
  padding:0 !important;
  box-sizing:border-box !important;
}

.pnbyw-ts-card{
  width:100%;
  max-width:100%;
  margin:0 0 10px !important;
  padding:0 !important;

  background:#fff;
  border:.5px solid #e2e4e8;
  border-radius:10px;

  overflow:hidden;
  box-shadow:none;
  box-sizing:border-box;
}

.pnbyw-ts-card:last-child{
  margin-bottom:0 !important;
}

.pnbyw-ts-head{
  display:flex;
  align-items:center;
  gap:8px;

  min-height:38px;
  padding:8px 14px;

  background:linear-gradient(135deg,#9a2109,#c0300f);
  color:#fff;

  border-radius:10px 10px 0 0;
  box-sizing:border-box;
}

.pnbyw-ts-title{
  margin:0 !important;
  padding:0 !important;

  color:#fff !important;
  font-family:var(--pnbyw-font-main,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif) !important;
  font-size:13px !important;
  font-weight:700 !important;
  line-height:1.35 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}

.pnbyw-ts-body{
  padding:8px 12px;
  background:#fff;
  box-sizing:border-box;
}

/* ==========================================================================
   TAUTAN WEBSITE
   ========================================================================== */

.pnbyw-ts-link-list{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
}

.pnbyw-ts-link-item{
  margin:0 !important;
  padding:5px 0 !important;

  border-bottom:1px dashed #e2e4e8;

  font-size:11px;
  line-height:1.45;
}

.pnbyw-ts-link-item:last-child{
  border-bottom:none;
}

.pnbyw-ts-link-item a{
  display:flex;
  align-items:center;
  gap:5px;

  color:#374151;
  font-size:11px;
  font-weight:600;
  line-height:1.45;
  text-decoration:none;

  transition:color .15s ease, padding-left .15s ease;
}

.pnbyw-ts-link-item a::before{
  content:'›';

  flex-shrink:0;

  color:#9a2109;
  font-size:14px;
  font-weight:800;
  line-height:1;
}

.pnbyw-ts-link-item a:hover{
  color:#9a2109;
  padding-left:3px;
}

/* ==========================================================================
   SOSIAL MEDIA
   ========================================================================== */

.pnbyw-ts-social-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
}

.pnbyw-ts-social-item{
  display:flex;
  align-items:center;
  gap:6px;

  min-width:0;
  min-height:31px;
  padding:6px 8px;

  background:#fff;
  border:.5px solid #e2e4e8;
  border-radius:7px;

  color:#374151;
  font-size:10px;
  font-weight:600;
  line-height:1.25;
  text-decoration:none;

  box-sizing:border-box;

  transition:
    border-color .15s ease,
    background .15s ease,
    color .15s ease,
    transform .15s ease;
}

.pnbyw-ts-social-item:hover{
  transform:translateY(-1px);
}

.pnbyw-ts-social-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 16px;

  width:16px;
  height:16px;

  line-height:1;
}

.pnbyw-ts-social-icon svg{
  display:block;
  width:16px;
  height:16px;

  fill:currentColor;
  stroke:currentColor;
}

/* YouTube butuh polygon putih */
.pnbyw-ts-social-youtube .pnbyw-ts-social-icon polygon{
  fill:#fff;
}

/* Instagram SVG pakai stroke */
.pnbyw-ts-social-instagram .pnbyw-ts-social-icon svg{
  fill:none;
  stroke:currentColor;
}

/* Label */
.pnbyw-ts-social-label{
  display:block;
  min-width:0;

  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

/* Warna platform */
.pnbyw-ts-social-facebook{
  color:#1877f2;
}

.pnbyw-ts-social-facebook:hover{
  background:#eef5ff;
  border-color:rgba(24,119,242,.35);
  color:#1877f2;
}

.pnbyw-ts-social-instagram{
  color:#c13584;
}

.pnbyw-ts-social-instagram:hover{
  background:#fff0f7;
  border-color:rgba(193,53,132,.35);
  color:#c13584;
}

.pnbyw-ts-social-twitter{
  color:#111827;
}

.pnbyw-ts-social-twitter:hover{
  background:#f3f4f6;
  border-color:rgba(17,24,39,.28);
  color:#111827;
}

.pnbyw-ts-social-youtube{
  color:#ff0000;
}

.pnbyw-ts-social-youtube:hover{
  background:#fff1f1;
  border-color:rgba(255,0,0,.35);
  color:#ff0000;
}

.pnbyw-ts-social-tiktok{
  color:#111827;
}

.pnbyw-ts-social-tiktok:hover{
  background:#f4f4f5;
  border-color:rgba(17,24,39,.28);
  color:#111827;
}

.pnbyw-ts-social-whatsapp{
  color:#128c4a;
}

.pnbyw-ts-social-whatsapp:hover{
  background:#ecfdf3;
  border-color:rgba(18,140,74,.35);
  color:#128c4a;
}

.pnbyw-ts-social-link{
  color:#9a2109;
}

.pnbyw-ts-social-link:hover{
  background:#fef3ee;
  border-color:rgba(154,33,9,.25);
  color:#9a2109;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media(max-width:768px){
  .widget_pnbyw_tautan_sosmed,
  .pnbyw-tautan-sosmed-widget{
    margin-bottom:12px !important;
  }

  .pnbyw-ts-head{
    min-height:38px;
    padding:8px 14px;
  }

  .pnbyw-ts-title{
    font-size:11.5px !important;
  }
}

@media(max-width:420px){
  .pnbyw-ts-social-grid{
    grid-template-columns:1fr 1fr;
    gap:5px;
  }

  .pnbyw-ts-social-item{
    padding:6px 7px;
    font-size:9.8px;
  }

  .pnbyw-ts-link-item,
  .pnbyw-ts-link-item a{
    font-size:10.8px;
  }
}
