/* Interior-page visual alignment with the redesigned OSAT homepage.
   Layout rules are deliberately scoped to preserve specialized tables, galleries and forms. */
body.osat-designed-interior{
 --osat-ink:#172d3b;
 --osat-blue:#075a88;
 --osat-line:#d9e4ea;
 background:#fff;
}
body.osat-designed-interior .entry-header{
 padding-top:clamp(42px,4vw,66px);
 padding-bottom:28px;
 border-bottom:1px solid var(--osat-line);
}
body.osat-designed-interior .entry-header:not(.ast-no-title)::before{
 content:"";
 display:block;
 width:54px;
 height:3px;
 background:#0871ad;
 margin-bottom:22px;
}
body.osat-designed-interior .entry-title{
 max-width:1050px;
 font-family:"Inter Tight","Inter",Arial,sans-serif;
 font-size:clamp(38px,3.5vw,56px);
 line-height:1.08;
 font-weight:650;
 letter-spacing:-.04em;
 color:#172d3b;
}
body.osat-designed-interior .entry-content{
 padding-top:34px;
 padding-bottom:76px;
 font-family:"Inter",Arial,sans-serif;
 font-size:17px;
 line-height:1.7;
 color:#30434e;
}
body.osat-designed-interior .entry-content>p:first-child{
 max-width:980px;
 font-size:clamp(18px,1.4vw,21px);
 line-height:1.55;
 color:#3b505e;
 margin-bottom:34px;
}
body.osat-designed-interior .entry-content h2{
 font-family:"Inter Tight","Inter",Arial,sans-serif;
 font-size:clamp(24px,2vw,31px);
 line-height:1.18;
 font-weight:650;
 letter-spacing:-.025em;
 color:#1a394b;
 margin-top:44px;
 margin-bottom:16px;
 border-top:1px solid var(--osat-line);
 padding-top:20px;
}
body.osat-designed-interior .entry-content h3{
 font-family:"Inter Tight","Inter",Arial,sans-serif;
 font-size:clamp(21px,1.7vw,24px);
 line-height:1.24;
 font-weight:650;
 letter-spacing:-.018em;
 color:#1b4055;
}
body.osat-designed-interior .entry-content a:not(.wp-block-button__link):not(.button):not(.wpforms-submit){
 color:#075a88;
}
/* Inline links must remain discernible without relying on color alone. */
body.osat-designed-interior .entry-content p a:not(.wp-block-button__link):not(.button),
body.osat-designed-interior .entry-content li a:not(.wp-block-button__link):not(.button){
 text-decoration:underline!important;
 text-decoration-thickness:1px!important;
 text-underline-offset:3px!important;
}
body.osat-designed-interior .entry-content p a:focus-visible,
body.osat-designed-interior .entry-content li a:focus-visible{
 outline:2px solid #075a88;
 outline-offset:3px;
}
body.osat-designed-interior .entry-content a:hover{
 color:#004d78;
}
body.osat-designed-interior .entry-content .wp-block-button__link{
 background:#075a88;
 border-radius:3px;
 color:#fff;
 font-size:15px;
 font-weight:650;
}
body.osat-designed-interior .entry-content .wp-block-columns{
 max-width:min(100%,1100px);
 gap:clamp(20px,3vw,44px);
}
body.osat-designed-interior .entry-content .wpforms-container{
 border-top:1px solid var(--osat-line);
 margin-top:52px!important;
 padding-top:30px;
}
/* Broader header on large screens, consistent with the new homepage.
   Interior body text stays inside a stable reading column. */
@media(min-width:1440px){
 body.osat-designed-interior .entry-header,
 body.osat-designed-interior .entry-content{
  width:calc(100% - 112px);
  max-width:1240px;
  margin-inline:auto;
 }
 body.osat-designed-interior .entry-content>p,
 body.osat-designed-interior .entry-content>ul,
 body.osat-designed-interior .entry-content>ol{
  max-width:1040px;
 }
 body.osat-designed-interior #masthead .main-header-bar>.ast-container{
  width:calc(100% - 112px);
  max-width:1648px;
  margin-inline:auto;
 }
 body.osat-designed-interior #masthead .main-header-container{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:clamp(16px,2vw,28px)!important;
  min-height:96px;
  padding:10px 0;
 }
 body.osat-designed-interior #masthead .site-branding{
  grid-column:auto!important;
  grid-row:auto!important;
  flex:0 0 auto!important;
  margin:0!important;
  padding:0!important;
 }
 body.osat-designed-interior #masthead .custom-logo{
  width:195px!important;
  max-width:195px!important;
  height:auto!important;
  transform:none!important;
 }
 body.osat-designed-interior #masthead .ast-main-header-bar-alignment,
 body.osat-designed-interior #masthead .main-header-bar-navigation,
 body.osat-designed-interior #masthead #primary-site-navigation,
 body.osat-designed-interior #masthead .main-navigation{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
 }
 body.osat-designed-interior #masthead #primary-menu{
  display:flex!important;
  flex-wrap:nowrap!important;
  justify-content:flex-end!important;
  align-items:center!important;
  gap:clamp(5px,.7vw,13px)!important;
 }
 body.osat-designed-interior #masthead #primary-menu>li{
  grid-column:auto!important;
  grid-row:auto!important;
  position:relative!important;
  width:auto!important;
  margin:0!important;
  flex:0 0 auto!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.menu-item>.menu-link{
  min-height:44px;
  font-size:clamp(13px,.85vw,15px)!important;
  padding:7px clamp(4px,.45vw,8px)!important;
  white-space:nowrap;
  color:#19394a;
 }
 body.osat-designed-interior #masthead #primary-menu>.menu-item-547>.menu-link{
  background:#075a88!important;
  border:1px solid #075a88!important;
  color:#fff!important;
  padding:10px 15px!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.search-custom-menu-item{
  width:42px!important;
  margin:0!important;
  transform:none!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.osat-header-call{
  margin:0 4px!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.osat-header-call>.menu-link{
  color:#075a88!important;
  font-weight:750!important;
  white-space:nowrap;
 }
}

/* Interior masthead carries the homepage visual language without overlaying content. */
/* Normalize Astra's older two-row desktop header before applying homepage proportions. */
@media(min-width:1251px){
 body.osat-designed-interior #masthead .main-header-container{
  height:96px!important;
  min-height:96px!important;
  padding:0!important;
 }
 body.osat-designed-interior #masthead .main-header-bar,
 body.osat-designed-interior #masthead .main-header-bar>.ast-container{
  min-height:96px!important;
  height:96px!important;
 }
 body.osat-designed-interior #masthead .site-branding{
  width:190px!important;
  max-width:190px!important;
 }
 body.osat-designed-interior #masthead .ast-main-header-bar-alignment{
  padding:0!important;
  margin:0!important;
 }
 body.osat-designed-interior #masthead .custom-logo{
  width:184px!important;
  max-width:184px!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.search-custom-menu-item{
  width:112px!important;
  max-width:112px!important;
  order:85!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.search-custom-menu-item .ast-search-icon{
  display:none!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.search-custom-menu-item .search-form{
  display:block!important;
  width:112px!important;
  max-width:112px!important;
  margin:0!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.search-custom-menu-item .search-field{
  width:112px!important;
  max-width:112px!important;
  height:38px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.4)!important;
  border-radius:2px!important;
  color:#fff!important;
  padding:7px 9px!important;
  font-size:13px!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.search-custom-menu-item .search-field::placeholder{
  color:rgba(255,255,255,.82)!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.osat-header-call{
  order:90!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.osat-header-call>.menu-link{
  white-space:nowrap!important;
 }
}

body.osat-designed-interior #masthead .main-header-bar{
 background:#202a30!important;
 border-bottom:1px solid rgba(255,255,255,.13)!important;
}
body.osat-designed-interior #masthead .ast-site-identity{
 background:transparent!important;
 padding:0!important;
 margin:0!important;
}
body.osat-designed-interior #masthead .main-header-menu>.menu-item>.menu-link{
 color:#f5f8fa!important;
 background:transparent!important;
 text-decoration:none!important;
 font-family:"Inter",Arial,sans-serif;
 font-weight:600!important;
}
body.osat-designed-interior #masthead .main-header-menu>.menu-item>.menu-link:hover,
body.osat-designed-interior #masthead .main-header-menu>.menu-item>.menu-link:focus-visible{
 color:#9fd2f6!important;
}
body.osat-designed-interior #masthead #primary-menu .sub-menu{
 background:#fff!important;
 border:1px solid #d9e3e9;
}
body.osat-designed-interior #masthead #primary-menu .sub-menu .menu-link{
 color:#173447!important;
 background:#fff!important;
}
body.osat-designed-interior #masthead #primary-menu .sub-menu .menu-link:hover{
 color:#075a88!important;
 background:#f1f6f8!important;
}
body.osat-designed-interior #masthead .ast-search-icon,
body.osat-designed-interior #masthead .osat-search-toggle{
 color:#f5f8fa!important;
}
body.osat-designed-interior #masthead #primary-menu>.osat-header-call>.menu-link{
 color:#fff!important;
 font-weight:750!important;
}
body.osat-designed-interior #masthead #primary-menu>.menu-item-547>.menu-link{
 color:#fff!important;
 background:transparent!important;
 border:0!important;
 box-shadow:none!important;
}
body.osat-designed-interior #masthead #primary-menu>.menu-item-547>.menu-link:hover{
 color:#9fd2f6!important;
}
@media(min-width:1251px){
 body.osat-designed-interior #masthead .main-header-bar>.ast-container{
  width:calc(100% - 80px)!important;
  max-width:1660px!important;
  margin-inline:auto!important;
  padding:0!important;
 }
 body.osat-designed-interior #masthead .main-header-container{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:clamp(12px,1.7vw,28px)!important;
  min-height:96px!important;
  padding:10px 0!important;
  grid-template-columns:none!important;
 }
 body.osat-designed-interior #masthead .site-branding{
  grid-column:auto!important;grid-row:auto!important;
  flex:0 0 auto!important;max-width:230px!important;
  margin:0!important;padding:0!important;
 }
 body.osat-designed-interior #masthead .custom-logo{
  width:184px!important;
  max-width:184px!important;
  height:auto!important;
  transform:none!important;
 }
 body.osat-designed-interior #masthead .ast-main-header-bar-alignment,
 body.osat-designed-interior #masthead .main-header-bar-navigation,
 body.osat-designed-interior #masthead #primary-site-navigation,
 body.osat-designed-interior #masthead .main-navigation{
  display:block!important;
  flex:1 1 auto!important;
  min-width:0!important;
 }
 body.osat-designed-interior #masthead #primary-menu{
  display:flex!important;
  flex-wrap:nowrap!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:clamp(3px,.45vw,9px)!important;
 }
 body.osat-designed-interior #masthead #primary-menu>li{
  grid-column:auto!important;grid-row:auto!important;
  position:relative!important;
  align-self:center!important;
  width:auto!important;
  margin:0!important;
  flex:0 0 auto!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.menu-item>.menu-link{
  font-size:clamp(12px,.84vw,15px)!important;
  padding:8px clamp(3px,.3vw,7px)!important;
  min-height:44px!important;
  white-space:nowrap!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.search-custom-menu-item{
  width:112px!important;max-width:112px!important;
  margin:0!important;transform:none!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.osat-header-call{
  margin-left:4px!important;
  padding-left:12px!important;
  border-left:1px solid rgba(255,255,255,.35);
 }
 body.osat-designed-interior #masthead #primary-menu>.osat-header-call>.menu-link{
  font-size:clamp(13px,.85vw,15px)!important;
 }
}
/* The compact desktop retains a stacked layout rather than squeezing links. */
@media(min-width:922px) and (max-width:1250px){
 body.osat-designed-interior #masthead .main-header-bar>.ast-container{
  width:calc(100% - 52px)!important;
 }
 body.osat-designed-interior #masthead .main-header-container{
  padding-block:14px!important;
 }
 body.osat-designed-interior #masthead .custom-logo{
  width:185px!important;
 }
}
@media(max-width:921px){
 body.osat-designed-interior #masthead .main-header-bar{
  background:#202a30!important;
 }
 body.osat-designed-interior #masthead .ast-site-identity{
  background:transparent!important;
  padding:10px 0!important;
 }
 body.osat-designed-interior #masthead .menu-toggle,
 body.osat-designed-interior #masthead .menu-toggle .menu-toggle-icon,
 body.osat-designed-interior #masthead .menu-toggle .menu-toggle-icon::before,
 body.osat-designed-interior #masthead .menu-toggle .menu-toggle-icon::after,
 body.osat-designed-interior #masthead .ast-mobile-svg,
 body.osat-designed-interior #masthead .ast-mobile-svg path{
  color:#fff!important;fill:#fff!important;stroke:#fff!important;
 }
 body.osat-designed-interior #masthead #primary-menu{
  background:#202a30!important;
 }
}


/* Final interior header refinements: quiet near-black texture and responsive alignment. */
body.osat-designed-interior #masthead .main-header-bar{
 background-color:#1c2328!important;
 background-image:
  radial-gradient(ellipse at 13% 20%,rgba(255,255,255,.038),transparent 38%),
  radial-gradient(ellipse at 83% 68%,rgba(0,0,0,.18),transparent 53%),
  repeating-linear-gradient(112deg,rgba(255,255,255,.009) 0px,rgba(255,255,255,.009) 1px,transparent 1px,transparent 5px)!important;
 background-size:100% 100%,100% 100%,auto!important;
}
@media(min-width:922px) and (max-width:1550px){
 body.osat-designed-interior #masthead .main-header-bar,
 body.osat-designed-interior #masthead .main-header-bar>.ast-container{
  height:auto!important;min-height:0!important;
 }
 body.osat-designed-interior #masthead .main-header-bar>.ast-container{
  width:calc(100% - 48px)!important;max-width:1240px!important;
  padding:0!important;margin-inline:auto!important;
 }
 body.osat-designed-interior #masthead .main-header-container{
  display:flex!important;flex-wrap:wrap!important;
  width:100%!important;height:auto!important;min-height:0!important;
  padding:14px 0 12px!important;gap:0!important;
  grid-template-columns:none!important;
 }
 body.osat-designed-interior #masthead .site-branding{
  display:block!important;
  flex:0 0 100%!important;width:100%!important;max-width:none!important;
  padding:0 0 8px!important;margin:0!important;
  grid-column:auto!important;grid-row:auto!important;
 }
 body.osat-designed-interior #masthead .site-branding .ast-site-identity{
  margin:0!important;padding:0!important;
 }
 body.osat-designed-interior #masthead .custom-logo{
  display:block;width:190px!important;max-width:190px!important;
  transform:none!important;
 }
 body.osat-designed-interior #masthead .ast-main-header-bar-alignment,
 body.osat-designed-interior #masthead .main-header-bar-navigation,
 body.osat-designed-interior #masthead #primary-site-navigation,
 body.osat-designed-interior #masthead .main-navigation{
  display:block!important;
  flex:1 1 100%!important;width:100%!important;min-width:0!important;
  padding:0!important;margin:0!important;
 }
 body.osat-designed-interior #masthead #primary-menu{
  display:flex!important;flex-wrap:nowrap!important;
  align-items:center!important;justify-content:flex-end!important;
  width:100%!important;gap:clamp(4px,.65vw,11px)!important;
 }
 body.osat-designed-interior #masthead #primary-menu>li{
  grid-column:auto!important;grid-row:auto!important;
  flex:0 0 auto!important;position:relative!important;
  margin:0!important;width:auto!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.menu-item>.menu-link{
  font-size:clamp(12px,.96vw,14px)!important;
  padding:6px clamp(3px,.35vw,7px)!important;
  min-height:42px!important;white-space:nowrap!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.osat-header-call{
  margin-left:6px!important;padding-left:10px!important;
  border-left:1px solid rgba(255,255,255,.35)!important;
 }
}
@media(min-width:922px) and (max-width:1439px){
 /* Place the visible logo on the same x-axis as the centered 880px page title. */
 body.osat-designed-interior #masthead .site-branding{
  padding-left:0!important;
  margin:0!important;
  transform:none!important;
 }
 body.osat-designed-interior #masthead .site-branding .ast-site-identity{
  display:block!important;
  width:max-content!important;
  margin-left:max(0px,calc((100% - 880px)/2))!important;
  margin-right:0!important;
  padding:0!important;
  transform:none!important;
 }
 body.osat-designed-interior #masthead .site-branding .custom-logo-link{
  display:block!important;width:190px!important;margin:0!important;
  padding:0!important;transform:none!important;
 }
}
@media(min-width:1440px){
 body.osat-designed-interior #masthead .site-branding{
  margin-left:max(0px,calc((100% - 1240px)/2))!important;
 }
}
@media(min-width:1551px){
 body.osat-designed-interior #masthead .main-header-bar>.ast-container{
  width:calc(100% - 112px)!important;max-width:1648px!important;
 }
 body.osat-designed-interior #masthead .main-header-container{
  gap:18px!important;
 }
}
/* At smaller desktop widths, prevent navigation clipping: allow an orderly second row. */
@media(min-width:922px) and (max-width:1240px){
 body.osat-designed-interior #masthead #primary-menu{
  flex-wrap:wrap!important;
  justify-content:center!important;
  column-gap:12px!important;
  row-gap:0!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.menu-item>.menu-link{
  font-size:13px!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.osat-header-call{
  border-left:0!important;
  margin-left:0!important;
  padding-left:0!important;
 }
}
/* Reuse the homepage click-to-open magnifying glass, with no persistent search field. */
@media(min-width:922px){
 body.osat-designed-interior #masthead #primary-menu>.osat-desktop-search{
  display:block!important;flex:0 0 42px!important;
  width:42px!important;max-width:42px!important;
  order:100!important;position:relative!important;
  margin:0!important;padding:0!important;
 }
 body.osat-designed-interior #masthead #primary-menu>.osat-desktop-search .ast-search-menu-icon,
 body.osat-designed-interior #masthead #primary-menu>.osat-desktop-search .ast-search-icon{
  display:block!important;position:static!important;
  width:42px!important;height:44px!important;
 }
 body.osat-designed-interior #masthead .osat-search-toggle{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:42px!important;height:44px!important;
  padding:0!important;border:0!important;
  background:transparent!important;color:#fff!important;
  box-shadow:none!important;cursor:pointer;
 }
 body.osat-designed-interior #masthead .osat-search-toggle:focus-visible{
  outline:2px solid #9fd2f6!important;outline-offset:2px;
 }
 body.osat-designed-interior #masthead #primary-menu #osat-desktop-search-panel[hidden]{
  display:none!important;
 }
 body.osat-designed-interior #masthead #primary-menu #osat-desktop-search-panel{
  position:absolute!important;top:calc(100% + 8px)!important;
  right:0!important;left:auto!important;
  display:flex!important;align-items:center!important;gap:8px!important;
  width:340px!important;max-width:calc(100vw - 48px)!important;
  padding:12px!important;margin:0!important;
  background:#fff!important;border:1px solid #c4d0d7!important;
  box-shadow:0 12px 32px rgba(0,25,35,.2)!important;
  z-index:1000!important;opacity:1!important;visibility:visible!important;
  height:auto!important;overflow:visible!important;transform:none!important;
 }
 body.osat-designed-interior #masthead #osat-desktop-search-panel label{
  display:block!important;flex:1!important;min-width:0!important;
 }
 body.osat-designed-interior #masthead #osat-desktop-search-panel .search-field{
  display:block!important;
  width:100%!important;max-width:none!important;height:42px!important;
  padding:9px 10px!important;border:1px solid #bccbd3!important;
  background:#fff!important;color:#183342!important;font-size:16px!important;
 }
 body.osat-designed-interior #masthead #osat-desktop-search-panel .search-field::placeholder{
  color:#687e8d!important;
 }
 body.osat-designed-interior #masthead .osat-search-submit{
  padding:11px 14px!important;background:#0071cd!important;
  border:0!important;color:#fff!important;font-size:13px!important;
 }
}

@media(max-width:700px){
 body.osat-designed-interior .entry-header{
  padding-top:36px;
  padding-bottom:22px;
 }
 body.osat-designed-interior .entry-title{
  font-size:clamp(34px,8.5vw,46px);
 }
 body.osat-designed-interior .entry-content{
  padding-top:26px;
  padding-bottom:56px;
  font-size:16.5px;
 }
 body.osat-designed-interior .entry-content h2{
  font-size:25px;
  margin-top:34px;
 }
 body.osat-designed-interior .entry-content .wp-block-columns{
  gap:22px;
 }
}
