
/* SMRS V74 — precise centered institutional heading.
   Two separate lines, centered both axes within the header.
   Preserve all other page elements and content from V72. */

.site-header .nav-wrap {position:relative!important}
.site-header .brand-name {display:none!important}
.site-header .header-overline-line1,
.site-header .header-overline-line2,
.smrs-global-header-title .smrs-simple-header-text .header-overline-line1,
.smrs-global-header-title .smrs-simple-header-text .header-overline-line2 {
  display:block!important;
  white-space:nowrap!important;
  text-align:center!important;
  text-transform:none!important;
}
.site-header .header-overline-line2::before,
.smrs-global-header-title .smrs-simple-header-text .header-overline-line2::before {
  content:none!important;
}

/* Large screens: true viewport-center, vertically centered in the title band above navigation. */
@media (min-width:1320px) {
  .site-header .header-overline {
    display:flex!important;
    position:absolute!important;
    left:50vw!important;
    right:auto!important;
    top:34px!important;
    position:fixed!important;
    grid-column:1 / -1!important;grid-row:auto!important;
    transform:translate(-50%,-50%)!important;
    width:max-content!important;
    max-width:calc(100vw - 400px)!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    padding:0!important; margin:0!important;
    color:#9e6450!important;
    font-family:Inter,"Segoe UI",Arial,sans-serif!important;
    text-transform:none!important;
    text-align:center!important;
    letter-spacing:0!important;
    line-height:1.15!important;
    white-space:normal!important;
    z-index:6!important;
    pointer-events:none!important;
  }
  .site-header .header-overline-line1 {
    color:#9e6450!important;
    font-family:inherit!important;
    font-size:14px!important;
    font-weight:800!important;
    letter-spacing:.012em!important;
    line-height:1.2!important;
  }
  .site-header .header-overline-line2 {
    color:#9e6450!important;
    font-family:inherit!important;
    font-size:12px!important;
    font-weight:700!important;
    letter-spacing:.02em!important;
    margin:0!important;
    line-height:1.2!important;
  }
}

/* Tablet and laptop navigation: keep title centrally balanced with logo and hamburger. */
@media (min-width:651px) and (max-width:1319px) {
  .site-header .header-overline {
    display:flex!important;position:absolute!important;
    top:50%!important;left:50%!important;right:auto!important;
    transform:translate(-50%,-50%)!important;
    width:max-content!important;max-width:calc(100vw - 290px)!important;
    flex-direction:column!important;align-items:center!important;
    justify-content:center!important;gap:3px!important;
    margin:0!important;padding:0!important;
    text-align:center!important;white-space:normal!important;
    text-transform:none!important;letter-spacing:0!important;
    line-height:1.12!important;z-index:6!important;pointer-events:none!important;
  }
  .site-header .header-overline-line1 {
    font-size:clamp(11px,1.08vw,13.5px)!important;
    font-weight:800!important; color:#9e6450!important;letter-spacing:0!important;
  }
  .site-header .header-overline-line2 {
    margin:0!important;font-size:clamp(10px,.94vw,12px)!important;
    font-weight:700!important;color:#9e6450!important;letter-spacing:0!important;
  }
}

/* Phone: stay between the logo and menu, but center the two lines geometrically
   in both axes; use condensed typesetting to avoid illegible micro-text. */
@media (max-width:650px) {
  .site-header,.site-header.is-scrolled{height:90px!important}
  .site-header .nav-wrap {
    position:relative!important; display:block!important;
    width:100%!important;max-width:none!important;
    height:90px!important; padding:0!important;margin:0!important;
  }
  .site-header .brand {
    position:absolute!important; left:11px!important; top:8px!important;
    width:79px!important; min-width:0!important; max-width:79px!important;
    height:72px!important; margin:0!important; padding:0!important;
    z-index:6!important;
  }
  .site-header .brand-logo{
    width:79px!important;height:72px!important;flex:0 0 79px!important;
  }
  .site-header .brand-logo img{width:79px!important;height:72px!important;object-fit:contain!important}
  .site-header .nav-controls{
    position:absolute!important;right:10px!important;top:21px!important;
    margin:0!important;z-index:7!important;
  }
  .site-header .nav-toggle{width:46px!important;height:46px!important}

  .site-header .header-overline{
    display:flex!important;flex-direction:column!important;
    align-items:center!important;justify-content:center!important;
    position:absolute!important;
    top:50%!important;left:50%!important;right:auto!important;
    transform:translate(-50%,-50%)!important;
    width:max-content!important;max-width:none!important;
    gap:3px!important;margin:0!important;padding:0!important;
    text-align:center!important;text-transform:none!important;
    white-space:normal!important;letter-spacing:0!important;
    line-height:1.15!important;color:#30231f!important;
    z-index:6!important;pointer-events:none!important;
  }
  .site-header .header-overline-line1 {
    font-family:"Roboto Condensed","Arial Narrow",Arial,sans-serif!important;
    font-size:clamp(9.2px,2.86vw,11.5px)!important;
    font-weight:800!important;line-height:1.1!important;
    letter-spacing:0!important;
    color:#30231f!important;
  }
  .site-header .header-overline-line2 {
    font-family:Inter,"Segoe UI",Arial,sans-serif!important;
    font-size:clamp(9px,2.7vw,11px)!important;
    font-weight:700!important;line-height:1.1!important;
    letter-spacing:0!important;margin:0!important;
    color:#9e6450!important;
  }
  .main-nav{padding-top:106px!important}
  .page-index .hero-carousel,
  .page-index #heroCarousel{margin-top:90px!important}

  .smrs-global-header-title{height:90px!important}
  .smrs-global-header-title .smrs-simple-logo {
    left:11px!important;top:8px!important;width:79px!important;height:72px!important;flex:0 0 79px!important;
  }
  .smrs-global-header-title .smrs-simple-header-text {
    display:flex!important;flex-direction:column!important;align-items:center!important;
    justify-content:center!important;gap:3px!important;
    position:absolute!important;top:50%!important;left:50%!important;right:auto!important;
    transform:translate(-50%,-50%)!important;
    width:max-content!important;max-width:none!important;
    text-align:center!important;white-space:normal!important;letter-spacing:0!important;
    text-transform:none!important;line-height:1.15!important;margin:0!important;padding:0!important;
  }
  .smrs-global-header-title .smrs-simple-header-text .header-overline-line1 {
    font-family:"Roboto Condensed","Arial Narrow",Arial,sans-serif!important;
    font-size:clamp(9.2px,2.86vw,11.5px)!important;
    font-weight:800!important;line-height:1.1!important;
    letter-spacing:0!important;color:#30231f!important;
  }
  .smrs-global-header-title .smrs-simple-header-text .header-overline-line2 {
    font-family:Inter,"Segoe UI",Arial,sans-serif!important;
    font-size:clamp(9px,2.7vw,11px)!important;
    font-weight:700!important;line-height:1.1!important;
    letter-spacing:0!important;margin:0!important;color:#9e6450!important;
  }
}

@media (max-width:350px) {
  .site-header .brand {left:8px!important;width:65px!important;max-width:65px!important}
  .site-header .brand-logo{width:65px!important;flex-basis:65px!important}
  .site-header .brand-logo img{width:65px!important}
  .site-header .nav-controls{right:7px!important}
  .site-header .nav-toggle{width:42px!important;height:44px!important}
  .smrs-global-header-title .smrs-simple-logo{left:8px!important;width:65px!important;flex-basis:65px!important}
  .site-header .header-overline-line1,
  .smrs-global-header-title .smrs-simple-header-text .header-overline-line1 {
    font-size:9px!important;
  }
  .site-header .header-overline-line2,
  .smrs-global-header-title .smrs-simple-header-text .header-overline-line2{
    font-size:8.8px!important;
  }
}

/* The two special informational pages use an independent header. */
@media (min-width:651px) {
  .smrs-global-header-title .smrs-simple-header-text {
    display:flex!important; flex-direction:column!important;
    align-items:center!important;justify-content:center!important;
    position:absolute!important;top:50%!important;left:50%!important;
    right:auto!important;transform:translate(-50%,-50%)!important;
    width:max-content!important; max-width:calc(100vw - 270px)!important;
    text-align:center!important;text-transform:none!important;
    white-space:normal!important;letter-spacing:0!important;gap:3px!important;
    margin:0!important;padding:0!important;
  }
  .smrs-global-header-title .smrs-simple-header-text .header-overline-line1{
    color:#9e6450!important;font-size:14px!important;font-weight:800!important;
  }
  .smrs-global-header-title .smrs-simple-header-text .header-overline-line2{
    color:#9e6450!important;font-size:12px!important;font-weight:700!important;
    margin:0!important;
  }
}
