/* V75: original Target Zemin service covers, distinct from the gallery. */
.target-v75-subservices{margin:20px 0 25px;max-width:100%;}
.target-v75-subservices-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;}
.target-v75-subservice{position:relative;display:block;overflow:hidden;border-radius:5px;aspect-ratio:3 / 3.7;background:#e8edf1;text-decoration:none;isolation:isolate;box-shadow:0 2px 12px rgba(6,35,66,.08)}
.target-v75-subservice img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease;}
.target-v75-subservice-shade{position:absolute;inset:auto 0 0;display:flex;align-items:end;justify-content:space-between;gap:7px;padding:32px 12px 15px;background:linear-gradient(transparent,rgba(3,24,44,.84));color:#fff;}
.target-v75-subservice-name{color:#fff;font-weight:700;font-size:14px;line-height:1.45;overflow-wrap:anywhere;text-shadow:0 1px 3px #0007;}
.target-v75-subservice-icon{color:#fff;font-size:20px;flex-shrink:0;line-height:1.1;}
.target-v75-subservice:focus-visible{outline:3px solid #078bc4;outline-offset:3px;}
@media(hover:hover){.target-v75-subservice:hover img{transform:scale(1.035)}}
@media(max-width:767px){.target-v75-subservices-grid{grid-template-columns:1fr;gap:12px}.target-v75-subservice{aspect-ratio:16 / 9}.target-v75-subservice-name{font-size:15px}}
@media(prefers-reduced-motion:reduce){.target-v75-subservice img{transition:none}}


/* V76: Service-image gallery: consistent with the V75 service cards.
   CSS only: preserve the DB-provided titles, alt texts, links and originals. */
.target-v33-main #resimler .target-v33-gallery-grid,
.target-v33-main .target-v34-gallery-list.target-v33-gallery-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:stretch;
}
.target-v33-main #resimler .target-v33-thumb,
.target-v33-main .target-v34-gallery-list .target-v33-thumb{
  position:relative!important;
  display:block!important;
  aspect-ratio:3 / 3.6!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:5px!important;
  background:#e6edf2!important;
  box-shadow:0 2px 12px rgba(6,35,66,.11);
  text-decoration:none!important;
  isolation:isolate;
  text-align:left!important;
}
.target-v33-main #resimler .target-v33-thumb img,
.target-v33-main .target-v34-gallery-list .target-v33-thumb img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
  object-position:center!important;
  transition:transform .25s ease;
}
/* The image title is an actual caption from the database, not generated keywords. */
.target-v33-main #resimler .target-v33-thumb > span,
.target-v33-main .target-v34-gallery-list .target-v33-thumb > span{
  position:absolute!important;
  inset:auto 0 0!important;
  z-index:1;
  display:block!important;
  padding:34px 11px 14px!important;
  margin:0!important;
  width:100%!important;
  box-sizing:border-box!important;
  color:#fff!important;
  background:linear-gradient(to bottom,transparent,rgba(3,24,44,.89))!important;
  font-size:13px!important;
  line-height:1.4!important;
  font-weight:700!important;
  text-align:left!important;
  text-shadow:0 1px 3px rgba(0,0,0,.5);
  overflow-wrap:anywhere;
}
.target-v33-main #resimler .target-v33-thumb:focus-visible,
.target-v33-main .target-v34-gallery-list .target-v33-thumb:focus-visible{
  outline:3px solid #078bc4!important;
  outline-offset:3px;
}
@media (hover:hover){
  .target-v33-main #resimler .target-v33-thumb:hover img,
  .target-v33-main .target-v34-gallery-list .target-v33-thumb:hover img{
    transform:scale(1.035);
  }
}
@media (max-width:991px){
  .target-v33-main #resimler .target-v33-gallery-grid,
  .target-v33-main .target-v34-gallery-list.target-v33-gallery-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
  }
}
@media (max-width:575px){
  .target-v33-main #resimler .target-v33-gallery-grid,
  .target-v33-main .target-v34-gallery-list.target-v33-gallery-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }
  .target-v33-main #resimler .target-v33-thumb,
  .target-v33-main .target-v34-gallery-list .target-v33-thumb{
    aspect-ratio:4 / 3.2!important;
  }
  .target-v33-main #resimler .target-v33-thumb > span,
  .target-v33-main .target-v34-gallery-list .target-v33-thumb > span{
    font-size:14px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .target-v33-main #resimler .target-v33-thumb img,
  .target-v33-main .target-v34-gallery-list .target-v33-thumb img{
    transition:none!important;
  }
}
