/* DILIGENT • Authentic six-project photo update
   Loaded on Projects listing and the six affected detail pages ONLY.
   All photography is the user's source JPEG, with no recompression or re-encoding.
*/
.diligent-projects-index .project-cover{
  border-radius:11px!important;
  aspect-ratio: 1.55 / 1;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  background:#eeeae3!important;
  overflow:hidden!important;
  box-shadow:none!important;
  border:0!important;
}
.diligent-projects-index .project-cover img{
  width:100%!important;height:100%!important;
  display:block!important;object-fit:cover!important;
  object-position:center!important;
  filter:none!important;
  transform:scale(1)!important;
  transition:transform .65s cubic-bezier(.2,.7,.2,1), filter .5s ease!important;
  image-rendering:auto;
}
/* Preserve the entire wide LCBO facade including its left corner. */
.diligent-projects-index a[href="project-lcbo.html"] .project-cover img{
  object-fit:contain!important;
}
.diligent-projects-index a[href="project-westminster.html"] .project-cover img{
  object-position:center 47%!important;
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .diligent-projects-index .project-tile:hover .project-cover img,
  .diligent-projects-index .project-tile:focus-visible .project-cover img{
    transform:scale(1.018)!important;
  }
}
.diligent-projects-index .project-tile:hover h3,
.diligent-projects-index .project-tile:focus-visible h3{
  color:#856339;transition:color .24s ease;
}
.diligent-projects-index .project-tile .sector{
  font-weight:650;letter-spacing:.145em;
}
.diligent-projects-index .project-tile .where{
  margin-top:17px;letter-spacing:.005em;
}
.diligent-projects-index .project-tile h3{
  margin-top:0;letter-spacing:-.036em;
}
.diligent-projects-index .project-tile{ text-decoration:none!important; }
.diligent-projects-index .project-tile:focus-visible{
  outline:2px solid #a67f47;outline-offset:6px;border-radius:2px;
}
/* The project hero retains the entire real photo with quiet, gradient-backed text. */
.diligent-project-detail .detail-hero-media img{
  object-fit:contain!important;object-position:center!important;
  image-rendering:auto;filter:none!important;
}
/* Let each supplied gallery image keep its native proportions, including portrait shots. */
.diligent-project-detail .detail-gallery-grid{
  align-items:start;gap:clamp(16px,2.8vw,34px);
}
.diligent-project-detail .detail-gallery-grid figure{
  border-radius:9px!important;overflow:hidden!important;
  background:#f0eeea!important;
  min-width:0!important;
}
.diligent-project-detail .detail-gallery-grid figure img{
  display:block!important;width:100%!important;height:auto!important;
  max-height:none!important;object-fit:contain!important;
  object-position:center!important;transform:none!important;
}
@media (max-width:760px){
  .diligent-projects-index .project-cover{aspect-ratio:1.5 / 1;}
  .diligent-projects-index .project-grid{gap:48px;}
  .diligent-project-detail .detail-gallery-grid{gap:20px;}
}
@media(prefers-reduced-motion:reduce){
  .diligent-projects-index .project-cover img{transform:none!important;transition:none!important}
}
