/* Preserve the original Figma SVG orientation; legacy icons use a flipped coordinate system. */
img[src$="/direction-mammology.svg"],img[src$="/mammology.svg"]{transform:none!important}

img[src$="/direction-vascular-surgery.svg"],img[src$="/vascular-surgery.svg"]{transform:none!important}

/* Responsive shared header, 2026-09-25. */
.site-header,
.service-header-wrap .site-header {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: calc(100% - 64px);
  max-width: 1817px;
  height: 104px;
  margin-inline: auto;
  padding: 0;
  position: relative;
  transform: none;
}
.site-header > .brand,
.site-header > .main-nav,
.site-header > .header-contact,
.site-header > .header-cta {
  position: static;
  inset: auto;
  transform: none;
  flex: 0 0 auto;
  margin: 0;
}
.site-header > .brand { width: 199px; height: 62px; }
.site-header > .brand img { width: 100%; height: 100%; object-fit: contain; }
.site-header > .main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: auto;
  height: auto;
  min-height: 50px;
  padding: 12px 24px;
  font-size: 16px;
  line-height: 24px;
}
.site-header > .main-nav a { flex: 0 0 auto; white-space: nowrap; }
.site-header > .header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  height: auto;
}
.site-header > .header-contact > img { width: 24px; height: 24px; margin: 0; }
.site-header > .header-contact div { gap: 2px; }
.site-header > .header-contact a { font-size: 16px; line-height: 24px; white-space: nowrap; }
.site-header > .header-contact span { font-size: 11px; line-height: 16px; white-space: nowrap; }
.site-header > .header-cta { display: grid; place-items: center; width: 219px; height: 52px; padding: 0 16px; font-size: 14px; }
.site-header > .mobile-actions { display: none; }
@media (min-width: 1280px) and (max-width: 1599px) {
  .site-header, .service-header-wrap .site-header { width: calc(100% - 48px); gap: 20px; }
  .site-header > .brand { width: 148px; height: 48px; }
  .site-header > .main-nav { gap: 18px; padding-inline: 18px; font-size: 14px; }
  .site-header > .header-contact { gap: 8px; }
  .site-header > .header-contact a { font-size: 14px; }
  .site-header > .header-cta { width: 190px; font-size: 13px; }
}
@media (max-width: 1279px) {
  .site-header, .service-header-wrap .site-header {
    width: 100%; max-width: none; height: 64px; padding: 12px 16px;
    gap: 12px; margin: 0; background: #24798f;
  }
  .site-header > .brand { width: 130px; height: 40px; }
  .site-header > .main-nav,
  .site-header > .header-contact,
  .site-header > .header-cta { display: none; }
  .site-header > .mobile-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; position: static; }
  .site-header > .mobile-actions > a,
  .site-header > .mobile-actions > button {
    display: grid; place-items: center; flex: 0 0 38px;
    width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
    background: #ffffff26;
  }
  .site-header > .mobile-actions img { width: 18px; height: 18px; }
}
/* Keep the header at CSS-pixel size above the scaled legacy content. */
@media (min-width: 1024px) and (max-width: 1919px) {
  .service-page > .service-header-wrap {
    zoom: calc(1920px / 100vw);
    width: calc(100vw - 26px);
    height: auto;
    margin: 10px auto 0;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .service-page > .service-header-wrap { width: 100vw; margin: 0; border-radius: 0; }
}

/* Keep desktop navigation between the logo and mobile controls on compact screens. */
@media (min-width: 900px) and (max-width: 1279px) {
  .site-header > .main-nav {
    display: flex;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    min-height: 38px;
    height: 38px;
    gap: 14px;
    padding: 0 16px;
    font-size: 13px;
    line-height: 20px;
  }
}
