/*
  Page-specific styles for: Century 21 Ballantyne (classic template)
  Loaded AFTER css/base.css and css/classic.css, so anything here overrides
  them for this page only. Put per-page layout tweaks in this file so a
  fix for this case study can never affect any other page.
  Scope every rule under #case-century-21-case-study.
*/

/* All 4 source photos share the same ~16:9 aspect ratio, so a uniform
   2x2 grid (instead of the guessed PDF-relative widths) reproduces them
   cleanly with no jagged row heights. */
#case-century-21-case-study .vbc-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 18px;
}
#case-century-21-case-study .vbc-gallery__item {
    width: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
#case-century-21-case-study .vbc-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 480px) {
    #case-century-21-case-study .vbc-gallery { grid-template-columns: 1fr; }
}
