/* =====================================================
   SAVAGE SAINTS GLOBAL HEADER
===================================================== */

:root{
  --header-bg:#07150f;
  --header-bg-deep:#050d09;
  --header-bg-soft:#0b1d15;

  --header-gold:#d89b18;
  --header-gold-light:#f0c45b;
  --header-gold-soft:#ffe29a;

  --header-white:#ffffff;
  --header-muted:rgba(255,255,255,.68);
  --header-border:rgba(216,155,24,.24);

  --global-header-height:154px;
  --scripture-banner-height:150px;
}


/* =====================================================
   HEADER SHELL
===================================================== */

.site-header{
  position:relative;
  z-index:9999;

  width:100%;

  color:var(--header-white);

  background:
    radial-gradient(
      circle at 18% 0%,
      rgba(216,155,24,.09),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      var(--header-bg-soft) 0%,
      var(--header-bg) 58%,
      var(--header-bg-deep) 100%
    );

  border-bottom:1px solid var(--header-border);

  box-shadow:
    0 12px 30px rgba(0,0,0,.22);
}


/* =====================================================
   ACCOUNT NAVIGATION
   OVERLAYS THE SAME ROW AS THE LOGO
===================================================== */

.header-account-bar{
  position:absolute;
  top:0;
  right:0;
  left:0;

  z-index:4;

  height:92px;

  background:transparent;

  pointer-events:none;
}

.header-account-inner{
  width:min(1480px, 100%);
  height:92px;

  margin:auto;
  padding:0 28px;

  display:flex;
  align-items:center;
  justify-content:flex-end;

  box-sizing:border-box;
}

.header-account-brand{
  display:none;
}

.header-account-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;

  pointer-events:auto;
}

.header-account-nav > a,
.header-account-welcome,
.header-logout-button{
  min-height:40px;

  padding:0 15px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  border:0;
  border-left:1px solid rgba(255,255,255,.08);

  color:rgba(255,255,255,.76);
  background:transparent;

  font:inherit;
  font-size:.71rem;
  font-weight:700;

  text-decoration:none;
  white-space:nowrap;

  cursor:pointer;

  transition:
    color .18s ease,
    background .18s ease;
}

.header-account-nav > a:hover,
.header-logout-button:hover{
  color:var(--header-gold-light);

  background:rgba(255,255,255,.035);
}

.header-account-welcome{
  border-left:0;

  color:rgba(255,255,255,.52);
}

.header-member-greeting{
  gap:9px;
}

.header-member-greeting strong{
  color:var(--header-gold-light);
}

.header-member-avatar{
  width:29px;
  height:29px;

  display:grid;
  place-items:center;

  border:1px solid rgba(240,196,91,.65);
  border-radius:50%;

  color:#fff;
  background:#29343d;

  font-size:.62rem;
  font-weight:850;
}

.header-logout-button{
  color:var(--header-gold-light);
}


/* =====================================================
   MAIN LOGO ROW
===================================================== */

.header-main-row{
  position:relative;

  background:transparent;
}

.header-main-inner{
  position:relative;
  z-index:2;

  width:min(1480px, 100%);
  min-height:92px;

  margin:auto;
  padding:14px 28px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;

  box-sizing:border-box;
}

.header-main-brand{
  display:inline-flex;
  align-items:center;
  gap:14px;

  color:#fff;
  text-decoration:none;
}

.header-main-brand img{
  width:48px;
  height:48px;

  object-fit:contain;
}

.header-main-brand-copy{
  display:flex;
  flex-direction:column;
}

.header-main-brand-copy strong{
  color:#fff;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:1.08rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.header-main-brand-copy span{
  margin-top:3px;

  color:var(--header-gold-light);

  font-size:.59rem;
  font-weight:850;
  letter-spacing:.16em;
  text-transform:uppercase;
}


/* =====================================================
   DESKTOP NAVIGATION
===================================================== */

.header-primary-nav{
  position:relative;

  background:transparent;

  border-top:1px solid rgba(255,255,255,.055);
}

.header-primary-inner{
  position:relative;

  width:min(1480px, 100%);
  min-height:62px;

  margin:auto;
  padding:0 150px 0 28px;

  display:flex;
  align-items:center;
  justify-content:center;
  gap:clamp(24px, 2.6vw, 46px);

  box-sizing:border-box;
}

.header-primary-inner > a{
  position:relative;

  min-height:62px;

  padding:0;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  color:rgba(255,255,255,.92);

  font-size:.72rem;
  font-weight:850;
  letter-spacing:.065em;
  text-decoration:none;
  text-transform:uppercase;
  white-space:nowrap;

  transition:
    color .18s ease,
    transform .18s ease;
}

.header-primary-inner > a::after{
  content:"";

  position:absolute;

  right:0;
  bottom:9px;
  left:0;

  height:2px;

  transform:scaleX(0);
  transform-origin:center;

  background:var(--header-gold);

  transition:transform .18s ease;
}

.header-primary-inner > a:hover{
  color:var(--header-gold-light);
}

.header-primary-inner > a:hover::after{
  transform:scaleX(1);
}


/* =====================================================
   GIVE BUTTON
===================================================== */

.header-primary-inner .header-give-link{
  position:absolute;
  top:50%;
  right:28px;

  min-width:94px;
  min-height:44px;

  padding:0 25px;

  transform:translateY(-50%);

  border:1px solid rgba(255,224,154,.44);
  border-radius:11px;

  color:#171006;

  background:
    linear-gradient(
      180deg,
      #f5cb62,
      #d89b18
    );

  box-shadow:
    0 10px 23px rgba(216,155,24,.22),
    inset 0 1px rgba(255,255,255,.36);

  transition:
    transform .18s ease,
    filter .18s ease,
    box-shadow .18s ease;
}

.header-primary-inner .header-give-link::after{
  display:none;
}

.header-primary-inner .header-give-link:hover{
  color:#100c04;

  transform:
    translateY(calc(-50% - 2px));

  filter:brightness(1.06);

  box-shadow:
    0 14px 29px rgba(216,155,24,.3),
    inset 0 1px rgba(255,255,255,.38);
}


/* =====================================================
   MOBILE TOGGLE
===================================================== */

.header-menu-toggle{
  display:none;

  width:48px;
  height:48px;

  padding:0;

  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;

  border:1px solid rgba(240,196,91,.34);
  border-radius:12px;

  background:rgba(255,255,255,.055);

  cursor:pointer;
}

.header-menu-toggle span{
  width:21px;
  height:2px;

  border-radius:999px;

  background:#fff;

  transition:
    transform .2s ease,
    opacity .2s ease;
}

.header-menu-toggle.is-open span:nth-child(1){
  transform:
    translateY(8px)
    rotate(45deg);
}

.header-menu-toggle.is-open span:nth-child(2){
  opacity:0;
}

.header-menu-toggle.is-open span:nth-child(3){
  transform:
    translateY(-8px)
    rotate(-45deg);
}


/* =====================================================
   MOBILE MENU
===================================================== */

.header-mobile-menu{
  display:none;

  padding:18px;

  border-top:1px solid rgba(255,255,255,.08);

  background:
    linear-gradient(
      180deg,
      #0a1a13,
      #050c08
    );
}

.header-mobile-menu.is-open{
  display:block;
}

.header-mobile-account{
  margin-bottom:16px;
  padding-bottom:16px;

  border-bottom:1px solid rgba(255,255,255,.1);
}

.header-mobile-account-state{
  display:grid;
  gap:12px;
}

.header-mobile-account-state > span{
  color:var(--header-gold-light);

  font-size:.7rem;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.header-mobile-account-state > div{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}

.header-mobile-account-state > div a,
.header-mobile-account-state > div button{
  min-height:44px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(255,255,255,.1);
  border-radius:10px;

  color:#fff;
  background:rgba(255,255,255,.05);

  font:inherit;
  font-size:.71rem;
  font-weight:800;

  text-decoration:none;

  cursor:pointer;
}

.header-mobile-member{
  display:flex;
  align-items:center;
  gap:12px;

  color:#fff;
  text-decoration:none;
}

.header-mobile-member > span:last-child{
  display:grid;
  gap:2px;

  color:rgba(255,255,255,.65);

  font-size:.67rem;
}

.header-mobile-member strong{
  color:var(--header-gold-light);

  font-size:.8rem;
}

.header-mobile-avatar{
  width:38px;
  height:38px;

  display:grid;
  place-items:center;

  border:1px solid var(--header-gold);
  border-radius:50%;

  color:#fff;
  background:#26303a;

  font-size:.72rem;
  font-weight:850;
}

.header-mobile-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:9px;
}

.header-mobile-links a{
  min-height:48px;

  padding:0 13px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid rgba(255,255,255,.08);
  border-radius:10px;

  color:#fff;
  background:rgba(255,255,255,.045);

  font-size:.71rem;
  font-weight:800;
  letter-spacing:.05em;
  text-align:center;
  text-decoration:none;
  text-transform:uppercase;
}

.header-mobile-links .header-mobile-give{
  color:#171006;

  border-color:rgba(255,224,154,.38);

  background:
    linear-gradient(
      180deg,
      #f0c45b,
      #d89b18
    );
}


/* =====================================================
   HIDDEN STATES
===================================================== */

.header-account-nav[hidden],
.header-mobile-account-state[hidden],
.header-mobile-menu[hidden]{
  display:none !important;
}


/* =====================================================
   RESPONSIVE DESKTOP
===================================================== */

@media(max-width:1300px){

  .header-primary-inner{
    gap:24px;

    padding-right:140px;
  }

  .header-primary-inner > a{
    font-size:.66rem;
    letter-spacing:.045em;
  }

  .header-primary-inner .header-give-link{
    right:22px;

    min-width:88px;
    padding-right:21px;
    padding-left:21px;
  }

}


/* =====================================================
   TABLET + MOBILE
===================================================== */

@media(max-width:1050px){

  :root{
    --global-header-height:74px;
  }

  .header-account-bar{
    display:none;
  }

  .header-main-inner{
    min-height:74px;

    padding:12px 16px;

    justify-content:space-between;
  }

  .header-main-brand img{
    width:48px;
    height:48px;
  }

  .header-primary-nav{
    display:none;
  }

  .header-menu-toggle{
    display:flex;

    margin-left:auto;
  }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media(max-width:560px){

  .header-main-inner{
    padding-right:15px;
    padding-left:15px;
  }

  .header-main-brand{
    gap:10px;
  }

  .header-main-brand img{
    width:42px;
    height:42px;
  }

  .header-main-brand-copy strong{
    font-size:.8rem;
    letter-spacing:.1em;
  }

  .header-main-brand-copy span{
    font-size:.51rem;
    letter-spacing:.1em;
  }

  .header-menu-toggle{
    width:45px;
    height:45px;
  }

  .header-mobile-links{
    grid-template-columns:1fr;
  }

}