/* Approved homepage header mapped to both existing header implementations. */
:is(.hd,.site-header) .wc-desktop-estimate-link {display:none;}
@media (min-width:700px) {
  :is(.hd,.site-header) {
    --navy:#16355c;
    --green:#648c4d;
    --green-deep:#2c7a3f;
    --green-soft:#eef6ec;
    --line:#dde9dd;
    box-sizing:border-box;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:13px;
    height:auto;
    min-height:108px;
    margin:0;
    padding:4px 26px;
    position:relative;
    top:0;
    z-index:100;
    background:#fff;
    color:#17355c;
    font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    font-size:16px;
    font-weight:400;
    line-height:1.5;
    box-shadow:0 1px 0 var(--line);
  }
  :is(.hd,.site-header) :is(img.logo,.emblem) {
    box-sizing:border-box;
    display:block;
    width:100px;
    height:100px;
    max-width:100%;
    margin:0;
    padding:3px;
    border:0;
    border-radius:50%;
    object-fit:contain;
    flex:none;
  }
  :is(.hd,.site-header) :is(.bt,.brand) {
    flex:none;
    margin:0;
    padding:0;
    line-height:1;
  }
  :is(.hd,.site-header) :is(.bt b,.brand strong) {
    display:block;
    margin:0;
    padding:0;
    color:var(--navy);
    font-size:36px;
    font-weight:700;
    line-height:1;
    letter-spacing:-.6px;
  }
  :is(.hd,.site-header) :is(.bt span,.brand span) {
    display:block;
    margin:6px 0 0;
    padding:0;
    color:var(--navy);
    font-size:13px;
    font-weight:700;
    line-height:1;
    letter-spacing:3px;
  }
  :is(.hd,.site-header) :is(.dv,.divider) {
    flex:none;
    width:1px;
    height:auto;
    align-self:stretch;
    margin:4px 2px;
    padding:0;
    background:#cfe0cf;
  }
  :is(.hd,.site-header) :is(.tg,.tagline) {
    flex:none;
    margin:0;
    padding:0;
    font-family:'Lora',serif;
    font-size:17px;
    font-weight:400;
    font-style:italic;
    line-height:1.28;
    color:var(--green);
  }
  :is(.hd,.site-header) :is(.mb,.menu-button,.hd-cta) {display:none;}
  :is(.hd,.site-header) :is(.nav-drop,.menu) {
    box-sizing:border-box;
    display:flex;
    position:static;
    width:auto;
    margin:0 0 0 auto;
    padding:0;
    background:none;
    border:0;
    border-radius:12px;
    box-shadow:none;
    align-items:center;
    gap:22px;
    z-index:99;
  }
  :is(.hd,.site-header) :is(.nav-drop,.menu) :is(a,button) {
    box-sizing:border-box;
    display:block;
    width:100%;
    margin:0;
    padding:0;
    border:0;
    border-radius:8px;
    font:inherit;
    font-size:15px;
    font-weight:700;
    line-height:1.5;
    letter-spacing:normal;
    color:var(--navy);
    text-decoration:none;
    text-align:left;
    background:none;
    cursor:pointer;
    white-space:nowrap;
  }
  :is(.hd,.site-header) :is(.nav-drop,.menu) :is(a,button):hover {
    color:var(--green);
    background:var(--green-pale);
  }
  :is(.hd,.site-header) :is(.nav-drop,.menu) a.active {
    color:var(--green-deep);
    background:var(--green-soft);
  }
  :is(.hd,.site-header) :is(.nav-drop,.menu) :is([href="#/estimate"],.estimate-trigger) {
    display:none;
  }
  :is(.hd,.site-header) :is(.nav-drop,.menu) .wc-desktop-estimate-link {
    display:block;
  }
  :is(.hd,.site-header):has(.wc-desktop-estimate-link) :is(.nav-drop,.menu) {
    gap:17px;
  }
}
@media (min-width:700px) and (max-width:1319px) {
  :is(.hd,.site-header) {
    flex-wrap:wrap;
    padding-bottom:14px;
  }
  :is(.hd,.site-header) :is(.nav-drop,.menu) {
    flex-basis:100%;
    flex-wrap:wrap;
    justify-content:center;
    gap:12px 18px;
    margin-left:0;
    width:100%;
  }
  :is(.hd,.site-header) :is(.nav-drop,.menu) :is(a,button) {
    width:auto;
  }
}

/* All nine interior links fit together near the desktop boundary. */
@media (min-width:700px) and (max-width:820px) {
  :is(.hd,.site-header):has(.wc-desktop-estimate-link) :is(.nav-drop,.menu) {gap:12px 8px;}
  :is(.hd,.site-header) :is(.nav-drop,.menu) :is(a,button) {font-size:14px;}
}
