/* ROUND 312 (AJ doc "Sentinel Tasks", 2 Dec 2026). */

/* ---- 2. Gallery page: the filter column stays in view while the photos scroll ------------------------------
   Round 63 made it sticky, round 66 put it back to scrolling with the page; it is sticky again here. It sits 24px
   under the fixed header (120px), never taller than the space between the header and the bottom of the window:
   a longer list (Show all) scrolls inside the column. It stops at the end of the photo grid, above the footer.
   Below 1024px the filters are the "Filter & Search" button, which already stays under the header. */
@media (min-width:1024px){
  .sh-r66.sh-r63 .gal__body > .gal__filters{position:sticky;top:calc(120px + 24px);align-self:flex-start;max-height:calc(100vh - 120px - 48px);overflow-x:hidden;overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain;padding-right:6px}
  body.admin-bar.sh-r66.sh-r63 .gal__body > .gal__filters{top:calc(32px + 120px + 24px);max-height:calc(100vh - 32px - 120px - 48px)}
}

/* ---- 3. Region pages, "Some of our recent work": the photo covers the card ---------------------------------
   r63.css gave the photo its natural height (height:auto) inside a card of a fixed shape, so a wide photo ended
   above the bottom of the card and the card's white ground showed under it. Cover: the photo fills the card and
   keeps its proportions; whatever does not fit is cropped evenly. */
.sh-r63.single-local_office .rg2-work .rg-gtile .gt__media{position:absolute;inset:0}
.sh-r63.single-local_office .rg2-work .rg-gtile .gt__media img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;display:block}

/* ---- 4. Region pages, same cards: no Gallery category tag -------------------------------------------------- */
.single-local_office .rg2-work .rg-gtile .gt__tag{display:none!important}

/* ---- 5. Region pages, contact form: Send Message at the standard button height -----------------------------
   The form card has a fixed height on desktop (r67.css) and is a column; the button was the one row that gave way,
   down to 24px. It keeps the site's 40px now and the message box takes up the difference. */
.single-local_office .rg-contact__form .book__submit{flex:none;min-height:40px;box-sizing:border-box}
