
/* Staging-only visual refinements. Content and layout remain in the source pages. */
body { -webkit-font-smoothing: antialiased; }
h1, h2 { text-wrap: balance; }
h1 { letter-spacing: -.018em; }
h2 { letter-spacing: -.01em; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #2873a8;
  outline-offset: 4px;
}

/* Legal links stay beside the copyright until the screen needs a second row. */
.bravo-footer .footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.bravo-footer .footer-row > nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 16px;
  margin: 0 0 0 auto;
}
@media (max-width: 640px) {
  .bravo-footer .footer-row > nav {
    flex-basis: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }
}

/* Render navigation and buttons consistently without changing their labels. */
header nav :is(a, summary),
#bravo-primary-nav :is(a, summary),
#bravo-primary-nav .bravo-connect-links a,
body :is(button, input[type="button"], input[type="submit"], input[type="reset"], [role="button"]),
body a:is(.btn, .button, .home-action, .lc-button, .tb-button, .equipment-button, .vip-button, .butAction, .butActionDelete, .butActionRefused),
body a[href="/custom/bravonda/open.php"][style*="background"] {
  font-weight: 700;
  text-transform: uppercase;
}

/* Split the service image controls from their service navigation links. */
#tb-services .photo-card > a.service-photo,
#tb-services .photo-card > a.service-photo-details { height: auto; }

/* Shared site footer uses the Tech Bravo brand blue and white text. */
footer.bravo-footer { background:#2980B9; color:#fff; padding:10px 0; margin-top:0; }
footer.bravo-footer .footer-copy,
footer.bravo-footer a,
footer.bravo-footer a:visited { color:#fff; }
footer.bravo-footer a:focus-visible { outline-color:#fff; }

/* Shared controls retain their original labels and use consistent display typography. */
body :is(button, input[type="button"], input[type="submit"], input[type="reset"], [role="button"]),
body a:is(.btn, .button, .home-action, .lc-button, .tb-button, .equipment-button, .vip-button, .butAction, .butActionDelete, .butActionRefused, .bt-scan-jump, .bravo-support-subnav-link),
body a[href="/custom/bravonda/open.php"][style*="background"],
body input[type="file"]::file-selector-button,
footer.bravo-footer .footer-row > nav a {
  font-weight: 700 !important;
  text-transform: uppercase !important;
}

/* Home service rows and shared support panel. */
#home-service-links #home-services-overview {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(16px, 4vw, 52px);
  margin: 24px 0 0;
}
#home-services-overview a.tb-service {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) 16px;
  min-height: 52px;
  align-items: center;
  gap: 11px;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid #d6e3eb;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  text-align: left;
}
#home-services-overview a.tb-service:hover { color: #174e70; background: #f3f8fb; }
#home-services-overview a.tb-service:focus-visible { outline: 2px solid #174e70; outline-offset: 2px; }
#home-services-overview a.tb-service::after { content: '→' / ''; color: #386a87; justify-self: end; }
#home-service-links #home-services-overview .tb-icon { display: grid; place-items: center; width: 26px; height: 26px; background: transparent; color: #2980b9; }
#home-service-links #home-services-overview .tb-icon svg { width: 22px; height: 22px; }
#home-service-links + .home-lower { margin-top: 28px; }
.home-source .home-lower > .support-pathways {
  padding: 24px clamp(16px, 3vw, 34px);
  background: #f3f8fb;
  border: 0;
  border-radius: 8px;
}
.home-source .support-pathways .pathway-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.home-source .support-pathways .pathway-grid > article { padding: 0 clamp(12px, 2vw, 24px); border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.home-source .support-pathways .pathway-grid > article + article { border-left: 1px solid #cedde6; }
.home-source .support-pathways .pathway-grid > article:first-child { padding-left: 0; }
.home-source .support-pathways .pathway-grid > article:last-child { padding-right: 0; }
.home-source .support-pathways .pathway-icon { width: 28px; height: 28px; font-size: 16px; margin-bottom: 7px; }
@media (max-width: 620px) {
  #home-service-links #home-services-overview, .home-source .support-pathways .pathway-grid { grid-template-columns: minmax(0, 1fr); }
  .home-source .support-pathways .pathway-grid > article { padding: 12px 0; }
  .home-source .support-pathways .pathway-grid > article + article { border-left: 0; border-top: 1px solid #cedde6; }
  .home-source .support-pathways .pathway-grid > article:first-child { padding-top: 0; }
  .home-source .support-pathways .pathway-grid > article:last-child { padding-bottom: 0; }
}

footer.bravo-footer .footer-copy a.footer-admin { color: inherit; font-weight: inherit; text-decoration: none; }
footer.bravo-footer .footer-copy a.footer-admin:hover { opacity: .8; }
footer.bravo-footer .footer-copy a.footer-admin:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

/* Center footer social icons independently of the two side groups. */
.bravo-footer .footer-row:has(> .footer-social-links){display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:8px 16px}
.bravo-footer .footer-row > .footer-social-links{justify-content:center;gap:4px;margin:0;min-width:0}
.bravo-footer .footer-social-links a{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}
.bravo-footer .footer-social-links svg{display:block;width:19px;height:19px;fill:currentColor}
.bravo-footer .footer-social-links a:hover{background:rgba(255,255,255,.18)}
.bravo-footer .footer-social-links a:focus-visible{outline:2px solid currentColor;outline-offset:1px}
@media(max-width:1050px){
 .bravo-footer .footer-row:has(> .footer-social-links){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .bravo-footer .footer-row > .footer-social-links{grid-column:1/-1;grid-row:2}
 .bravo-footer .footer-row > nav[aria-label="Footer"]{grid-column:2;grid-row:1}
 .bravo-footer .footer-social-links a{width:38px;height:38px}
}
@media(max-width:640px){
 .bravo-footer .footer-row:has(> .footer-social-links){grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}
 .bravo-footer .footer-row > nav[aria-label="Footer"]{grid-column:1;grid-row:3;justify-content:center;margin:0}
}
