/* Exact approved internal-page header styling, rebuilt fresh. */
#rcp-fresh-internal-header,
#rcp-fresh-internal-header * { box-sizing:border-box; }

#rcp-fresh-internal-header.rcp-fresh-header{
  position:relative;
  width:100%;
  min-height:250px;
  background:#fff;
  border-bottom:1px solid #d8e1ec;
  padding:18px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  z-index:99990;
}
#rcp-fresh-internal-header .rcp-fresh-brand-link{
  display:block;
  line-height:0;
  flex:0 0 auto;
}
#rcp-fresh-internal-header .rcp-fresh-brand{
  display:block;
  width:292px;
  max-width:52vw;
  height:auto;
  flex:0 0 auto;
}
#rcp-fresh-internal-header .rcp-fresh-menu-button{
  width:68px;
  height:56px;
  border:0;
  border-radius:14px;
  background:#fff;
  box-shadow:0 4px 18px rgba(0,0,0,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  padding:0;
  flex:0 0 auto;
}
#rcp-fresh-internal-header .rcp-fresh-bar,
#rcp-fresh-internal-header .rcp-fresh-bar::before,
#rcp-fresh-internal-header .rcp-fresh-bar::after{
  content:"";
  display:block;
  width:38px;
  height:5px;
  background:#0b2d6b;
  border-radius:4px;
}
#rcp-fresh-internal-header .rcp-fresh-bar{position:relative}
#rcp-fresh-internal-header .rcp-fresh-bar::before,
#rcp-fresh-internal-header .rcp-fresh-bar::after{position:absolute;left:0}
#rcp-fresh-internal-header .rcp-fresh-bar::before{top:-11px}
#rcp-fresh-internal-header .rcp-fresh-bar::after{top:11px}

#rcp-fresh-internal-header .rcp-fresh-menu-panel{
  display:none;
  position:absolute;
  right:28px;
  top:calc(50% + 42px);
  width:340px;
  max-width:calc(100vw - 32px);
  background:#fff;
  border:1px solid #d8e1ec;
  border-radius:14px;
  box-shadow:0 10px 28px rgba(0,0,0,.14);
  overflow:hidden;
  z-index:100000;
  padding:8px 0;
}
#rcp-fresh-internal-header .rcp-fresh-menu-panel.open{display:block}
#rcp-fresh-internal-header .rcp-fresh-menu-panel a{
  display:block;
  padding:14px 18px;
  color:#0b2d6b;
  background:#fff;
  text-decoration:none;
  font-size:17px;
  font-weight:700;
  line-height:1.25;
}
#rcp-fresh-internal-header .rcp-fresh-menu-panel a:hover,
#rcp-fresh-internal-header .rcp-fresh-menu-panel a:focus{
  color:#f47a20;
  background:#fff;
}

/* Remove the old internal header/menu only on internal pages so there is one header. */
body.rcp-fresh-internal-header-active > header:not(#rcp-fresh-internal-header),
body.rcp-fresh-internal-header-active .wp-site-blocks > header:not(#rcp-fresh-internal-header),
body.rcp-fresh-internal-header-active #rcp-approved-header,
body.rcp-fresh-internal-header-active #rcp-approved-internal-header,
body.rcp-fresh-internal-header-active #rcp-shared-header,
body.rcp-fresh-internal-header-active .rcp-approved-header,
body.rcp-fresh-internal-header-active .rcp-shared-header,
body.rcp-fresh-internal-header-active #rcp-approved-menu-panel { display:none !important; }

@media(max-width:760px){
  #rcp-fresh-internal-header.rcp-fresh-header{min-height:180px;padding:14px 16px}
  #rcp-fresh-internal-header .rcp-fresh-brand{width:220px;max-width:62vw}
  #rcp-fresh-internal-header .rcp-fresh-menu-button{width:58px;height:50px}
  #rcp-fresh-internal-header .rcp-fresh-bar,
  #rcp-fresh-internal-header .rcp-fresh-bar::before,
  #rcp-fresh-internal-header .rcp-fresh-bar::after{width:32px;height:4px}
  #rcp-fresh-internal-header .rcp-fresh-menu-panel{right:16px;top:calc(50% + 38px)}
}
