/* v0.16.70 | Unified About Us page side edges; no content/data changes. */
body.tg-about-merged {
    --tg-about-unified-width: 1260px;
    --tg-about-unified-gutter: 34px;
}
/* Include header/top bar/nav and the visible About Us page sections in the same ruler. */
body.tg-about-merged #tg-global-topbar .tg-container,
body.tg-about-merged #tg-global-header .tg-container,
body.tg-about-merged .tgabout-page .tgabout-shell {
    box-sizing: border-box !important;
    width: min(var(--tg-about-unified-width), calc(100% - var(--tg-about-unified-gutter))) !important;
    max-width: var(--tg-about-unified-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Do not allow the three quick cards and team cards to start farther inward. */
body.tg-about-merged .tgabout-page .tgabout-team-grid {
    max-width: none !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* The enquiry panel and both columns must share the same outer ruler. */
body.tg-about-merged .tgabout-page .tgabout-contact-grid {
    width: min(var(--tg-about-unified-width), calc(100% - var(--tg-about-unified-gutter))) !important;
    max-width: var(--tg-about-unified-width) !important;
    margin-inline: auto !important;
}
body.tg-about-merged .tgabout-page .tgabout-contact-grid > * {
    min-width: 0 !important;
}
@media (max-width: 900px) {
    body.tg-about-merged { --tg-about-unified-gutter: 30px; }
    body.tg-about-merged .tgabout-page .tgabout-team-grid {
        grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    }
}
@media (max-width: 560px) {
    body.tg-about-merged { --tg-about-unified-gutter: 24px; }
    body.tg-about-merged .tgabout-page .tgabout-team-grid {
        grid-template-columns: 1fr !important;
    }
}

/* v0.16.71: restore ONLY the quick contact cards to their pre-1670 width and position. */
body.tg-about-merged .tgabout-page .tg1657-quick .tg1657-quick-grid {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1020px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media(max-width:700px){
 body.tg-about-merged .tgabout-page .tg1657-quick .tg1657-quick-grid {
   width: calc(100% - 28px) !important;
 }
}
