/* DTPHP — popup foto pejabat, scope khusus agar tidak mengubah layout website. */
#dtphp-photo-viewer-v2 {
  box-sizing:border-box;
  max-width:min(96vw,940px);
  max-height:96dvh;
  margin:auto;
  border:1px solid rgba(255,255,255,.3);
  border-radius:20px;
  padding:0;
  color:#163c30;
  background:rgba(249,252,249,.98);
  box-shadow:0 30px 90px rgba(0,0,0,.42);
  overflow:hidden;
}
#dtphp-photo-viewer-v2::backdrop {
  background:rgba(5,23,17,.82);
  backdrop-filter:blur(5px);
}
#dtphp-photo-viewer-v2 .dtphp-photo-viewer-frame {
  display:flex;
  flex-direction:column;
  align-items:center;
  position:relative;
  padding:17px 17px 14px;
  max-height:95dvh;
}
#dtphp-photo-viewer-v2 .dtphp-photo-viewer-image {
  display:block;
  max-width:min(88vw,875px);
  max-height:calc(89dvh - 82px);
  width:auto;
  height:auto;
  object-fit:contain;
  border-radius:11px;
  background:#e8f0eb;
}
#dtphp-photo-viewer-v2 .dtphp-photo-viewer-close {
  position:absolute;
  z-index:2;
  top:9px;
  right:9px;
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  padding:0;
  border:1px solid rgba(255,255,255,.35);
  border-radius:50%;
  background:#12503d;
  color:#fff;
  font-family:Arial,sans-serif;
  font-size:29px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 4px 18px rgba(0,0,0,.2);
}
#dtphp-photo-viewer-v2 .dtphp-photo-viewer-close:hover,
#dtphp-photo-viewer-v2 .dtphp-photo-viewer-close:focus-visible {
  background:#0b3d2e;
  outline:3px solid #e3bb63;
  outline-offset:2px;
}
#dtphp-photo-viewer-v2 .dtphp-photo-viewer-caption {
  margin:10px 46px 0;
  max-width:800px;
  text-align:center;
  font-size:.82rem;
  line-height:1.45;
  color:#315747;
}
@media (max-width:600px) {
  #dtphp-photo-viewer-v2{border-radius:14px;max-width:96vw}
  #dtphp-photo-viewer-v2 .dtphp-photo-viewer-frame{padding:11px 11px 12px}
  #dtphp-photo-viewer-v2 .dtphp-photo-viewer-image{
    max-width:calc(96vw - 24px);
    max-height:calc(89dvh - 88px);
  }
  #dtphp-photo-viewer-v2 .dtphp-photo-viewer-close{top:6px;right:6px;width:37px;height:37px}
  #dtphp-photo-viewer-v2 .dtphp-photo-viewer-caption{font-size:.76rem;margin:9px 38px 0}
}
