/* Static-clone overrides */
body, customhtml { visibility: visible !important; }
body.single #maincontainer, body.page #maincontainer { display: block !important; }
.loader_holder, #nav_loadspin { display: none !important; }
.pagination { display: none !important; }

/* containerele grilei: pozitionate de masonry-ul din site.js */
#page_1, #page_2 { display: block; position: relative; margin: 0 auto; }
#page_2 { display: block !important; }

/* imaginile din proiecte sa incapa pe ecran */
.entry .project_content img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  cursor: pointer;
}

/* lightbox - fundal negru, imagine centrata (ca freshbox-ul Cargo) */
#dm-lightbox {
  position: fixed; inset: 0; z-index: 9999999;
  background: #000;
  display: flex; align-items: center; justify-content: center;
}
#dm-lightbox img { max-width: 94vw; max-height: 94vh; width: auto; height: auto; cursor: default; }
#dm-lightbox span {
  position: fixed; color: #fff; opacity: .65; cursor: pointer;
  font: 300 42px/1 Arial, sans-serif; user-select: none; padding: 12px 20px;
}
#dm-lightbox span:hover { opacity: 1; }
#dm-lb-close { top: 8px; right: 12px; }
#dm-lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
#dm-lb-next { right: 6px; top: 50%; transform: translateY(-50%); }



/* player audio minimalist */
.dm-player {
  display: flex; align-items: center; gap: 10px;
  width: 300px; margin: 14px auto 0; padding: 0;
  background: none; border: none; color: #1a1a1a;
}
.dm-player .dm-play {
  background: none; border: none; cursor: pointer; color: #1a1a1a;
  padding: 2px; line-height: 0; transition: opacity .2s;
}
.dm-player .dm-play:hover { opacity: .5; }
.dm-player .dm-vol-ico { line-height: 0; opacity: .45; }
.dm-player input[type=range] {
  -webkit-appearance: none; appearance: none;
  background: transparent; cursor: pointer; height: 14px;
}
.dm-player .dm-seek { flex: 1; }
.dm-player .dm-vol { width: 52px; }
.dm-player input[type=range]::-webkit-slider-runnable-track {
  height: 1px; background: #c9c9c9;
}
.dm-player input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 9px; height: 9px; border-radius: 50%;
  background: #1a1a1a; margin-top: -4px; border: none;
}
.dm-player input[type=range]::-moz-range-track { height: 1px; background: #c9c9c9; }
.dm-player input[type=range]::-moz-range-thumb {
  width: 9px; height: 9px; border-radius: 50%; background: #1a1a1a; border: none;
}
.dm-player input[type=range]:hover::-webkit-slider-thumb { transform: scale(1.25); }
