.site-header {
  --header-shrink: 0;
  position: sticky;
  /* Stay below Drupal admin toolbar trays/dropdowns. */
  top: var(--drupal-displace-offset-top, 0px);
  z-index: 500;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  transition: box-shadow 0.25s ease, top 0.2s ease;
  overflow: visible;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 16px rgba(31, 42, 68, 0.12);
}

.site-header__top {
  position: relative;
  z-index: 1;
  background: #263b8d;
  color: #fff;
  font-size: 0.8125rem;
  padding: 0.4rem 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease, opacity 0.2s ease;
  padding-top: 18px;
  padding-bottom: 18px;
}

.site-header.is-scrolled .site-header__top {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  pointer-events: none;
}

.site-header__container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: 1rem;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header__contact {
  color: #fff;
  font-size: 15px ;
  color: #ffffff ;
  margin-right: 8px ;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;

  i{
    margin-left: 18px ;margin-right: 6px ;
  }
}

.site-header__contact:hover {
  color: #fff;
  opacity: 0.9;
}

.site-header__main {
  position: relative;
  z-index: 2;
  background: #fff;
  overflow: visible;
  box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
}

.site-header__container--main {
  align-items: center;
  overflow: visible;
}

.site-header__brand {
  flex: 0 1 auto;
  min-width: 0;
  padding-bottom: 28px;
  padding-top: 24px;
  padding-left: 20px;
    padding-right: 20px;

}

.site-header__logo-link {
  display: block;
  line-height: 0;
}

.site-header__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 320px;
  max-height: calc(56px - 18px * var(--header-shrink));
}

.site-header__nav {
  padding-top: 37px !important;
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-self: center;
  
  overflow: visible;
}

.site-header__toggler {
  border: 1px solid #d0d5dd;
  background: #fff;
  border-radius: 0.375rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #2E3E8C;
}

.site-header__desktop {
  overflow: visible;
}

.site-header__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  overflow: visible;
}

.site-header__item {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 18px;
  padding-right: 18px;
}

.site-header__link {
  font-weight: 500;
  font-size: 16px;
  color: #263b8d;
  text-decoration: none;
  padding-bottom: 34px;
  display: inline-block;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-header__link:hover,
.site-header__link:focus-visible,
.site-header__item.is-active > .site-header__link,
.site-header__item:hover > .site-header__link,
.site-header__item:focus-within > .site-header__link {
  color: #C62828;
  border-bottom-color: #2E3E8C;
}

/* Desktop dropdowns open on hover (not click). */
.site-header__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1100;
  min-width: 240px;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  background: #eeeeee;
  border: 1px solid #e5e7eb;
  border-radius: 0.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.site-header__item:hover > .site-header__submenu,
.site-header__item:focus-within > .site-header__submenu,
.site-header__subitem:hover > .site-header__submenu,
.site-header__subitem:focus-within > .site-header__submenu {
  display: block;
}

.site-header__submenu--nested {
  top: 0;
  left: 100%;
  margin-left: -2px;
}

.site-header__subitem {
  position: relative;
  margin: 0;
}

.site-header__sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem;
  color: #263b8d;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.site-header__sublink-caret {
  font-size: 0.75rem;
  line-height: 1;
  color: inherit;
  flex-shrink: 0;
}

.site-header__sublink:hover,
.site-header__sublink:focus-visible,
.site-header__subitem.is-active > .site-header__sublink,
.site-header__subitem:hover > .site-header__sublink,
.site-header__subitem:focus-within > .site-header__sublink {
  color: #C62828;
  background: transparent;
}

.site-header__greeting {
  background: #fff;
  border: 0;
  padding: 60px 0px 30px;
}

.site-header__greeting h4 {
  
  font-weight: 700;
  color: #273b8b;
  font-size: 25px;
  margin-top: 0px;
    margin-bottom: 20px;
    line-height: 1.2;

}

.site-login-cta {
  display: flex;
  justify-content: center;
  padding-top: 60px;
  background: #fff;
}

.site-login-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ed1f24;
  color: #fff !important;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none !important;
  border-radius: 50rem;
  padding: 0.9rem 2rem;
  box-shadow: 0 6px 18px rgba(229, 57, 53, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.site-login-cta__button:hover {
  background: #C62828;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(198, 40, 40, 0.4);
  transform: translateY(-1px);
}

@media (max-width: 991.98px) {
  .site-header__container {
    max-width: 100%;
  }

  .site-header__container--main {
    align-items: center;
  }

  .site-header__brand {
    padding: 0.75rem 0 0.5rem 1rem;
  }

  .site-header__nav {
    padding-top: 37px !important;
    padding-left: 20px;
    padding-right: 20px;
    align-self: center;
  }

  .site-header__logo {
    max-height: calc(48px - 10px * var(--header-shrink));
    max-width: min(220px, 55vw);
  }

  .site-login-cta__button {
    font-size: 0.95rem;
    padding: 0.8rem 1.25rem;
    text-align: center;
  }
}

/* Phone / small tablet — match Kingster logo + plain hamburger */
@media (max-width: 767.98px) {
  .site-header__brand {
    padding: 14px 12px 14px 16px;
  }

  .site-header__nav {
    
    padding-top: 37px !important;
  }

  .site-header__logo {
    max-height: calc(60px - 12px * var(--header-shrink));
    max-width: min(260px, 70vw);
  }

  .site-header__toggler {
    border: 0;
    background: transparent;
    border-radius: 0;
    width: auto;
    height: auto;
    min-width: 28px;
    min-height: 28px;
    padding: 0.25rem;
    font-size: 1.75rem;
    color: #1a1a1a;
    box-shadow: none;
  }

  .site-header__toggler:hover,
  .site-header__toggler:focus-visible {
    color: #000;
    background: transparent;
  }

  .site-header__toggler i {
    line-height: 1;
  }
}

/* ----- Mobile full-screen menu overlay ----- */
body.site-header-menu-open {
  overflow: hidden;
}

.site-header__mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 1060;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.site-header__mobile-panel.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.site-header__mobile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.site-header__mobile-close {
  position: absolute;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 2.75rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.site-header__mobile-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 480px);
  height: 100%;
  background: #3f3f3f;
  overflow-y: auto;
  padding: 5rem 0 2rem;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
}

.site-header__mobile-menu {
  width: 100%;
}

.site-header__mobile-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__mobile-link {
  display: block;
  padding: 1.1rem 1.75rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-header__mobile-link:hover,
.site-header__mobile-link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.site-header__mobile-item.is-active > .site-header__mobile-link {
  color: #fbe108;
}

.site-header__mobile-submenu {
  padding: 0 0 0.5rem 1rem;
}

.site-header__mobile-submenu--nested {
  padding-left: 0.75rem;
}

.site-header__mobile-sublink {
  display: block;
  padding: 0.5rem 1.75rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.8125rem;
}

.site-header__mobile-sublink:hover,
.site-header__mobile-sublink:focus-visible {
  color: #fff;
}

@media (min-width: 992px) {
  .site-header__mobile-panel {
    display: none !important;
  }
}

