.db-hire-gallery{width:100%;max-width:100%}
.db-hire-gallery-mainlink{display:block;border-radius:8px;overflow:hidden;background:#f1f1f1;line-height:0}
.db-hire-gallery-main{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;height:auto;max-height:520px}
.db-hire-gallery-thumbnails{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:12px}
.db-hire-gallery-thumb{padding:0;border:2px solid transparent;border-radius:6px;cursor:pointer;background:#fff;overflow:hidden;min-width:0}
.db-hire-gallery-thumb.is-active,.db-hire-gallery-thumb:focus-visible{border-color:#e00012;outline-offset:2px}
.db-hire-gallery-thumb img{width:100%;aspect-ratio:1;object-fit:cover;display:block}
@media(max-width:767px){.db-hire-gallery-thumbnails{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}}