@media (min-width: 1020px) {
  body:has(.hero, .hero-home, .hero-image-wrapper) .inner-header {
    background-color: transparent;
    color: #FBFDFF;
    box-shadow: 0px 0px 0px rgba(190, 190, 190, 0.41);
  }
  body:has(.hero, .hero-home, .hero-image-wrapper) .inner-header:not(.active) .header-icon.logo-white {
    display: block;
  }
  body:has(.hero, .hero-home, .hero-image-wrapper) .inner-header:not(.active) .header-icon.logo-color {
    display: none;
  }
  body:has(.hero, .hero-home, .hero-image-wrapper) .inner-header.always-white {
    background-color: #fff;
    color: #00154A;
    box-shadow: 0px 0px 10px rgba(190, 190, 190, 0.41);
  }
  body:has(.hero, .hero-home, .hero-image-wrapper) .inner-header.always-white .header-icon.logo-white {
    display: none;
  }
  body:has(.hero, .hero-home, .hero-image-wrapper) .inner-header.always-white .header-icon.logo-color {
    display: block;
  }
}

header {
  position: relative;
}

body .inner-header {
  position: fixed;
  top: var(--header-offset);
  animation: fadeIn 1s;
  background-color: #fff;
  padding-inline: var(--layout-padding);
  z-index: 99;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
  width: 100%;
  padding-block: 12px;
  box-shadow: 0px 0px 10px rgba(190, 190, 190, 0.41);
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
body .inner-header .header-icon.logo-white {
  display: none;
}
body .inner-header.active {
  position: fixed;
  box-shadow: 0px 0px 10px rgba(40, 40, 40, 0.1);
  background-color: #fff;
  color: #00154A;
  top: calc(var(--wp-admin--admin-bar--height, 0px));
}
body .inner-header.active .header-icon.logo-white {
  display: none;
}
body .inner-header.active .header-icon.logo-color {
  display: block;
}

.over-header {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /* border-bottom: 4px solid #50788E; */
  background: #111933;
  padding-left: var(--layout-padding);
}

.over-header .over-header-link {
  color: #FBFDFF;
  text-align: center;
  font-family: Nexa, sans-serif;
  font-size: 1rem;
  padding: 20px 24px;
  text-decoration: none;
  height: 100%;
  box-shadow: inset 0px 0px 0px transparent;
  transition: 0.3s;
}

.over-header .over-header-link.active {
  box-shadow: inset 0px -4px 0px var(--link-color);
}

/* First Link */
.over-header .over-header-link:hover {
  box-shadow: inset 0px -4px 0px var(--link-color);
}

.inner-header .header-icon {
  width: 225px;
  height: 44px;
}

.inner-header .header-icon {
  width: 225px;
  height: 44px;
  object-fit: contain;
}

.inner-header svg * {
  pointer-events: none;
}

.inner-header .header-links-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  column-gap: var(--layout-padding);
}

.inner-header .header-links-container .inner-header-link {
  color: inherit;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.inner-header .header-button:hover {
  cursor: pointer;
}

.topnav {
  overflow: hidden;
  position: relative;
}

.topnav a {
  padding: 15px 24px;
  text-decoration: none;
  display: block;
}

.topnav a.icon {
  /* background: black; */
  display: block;
  position: absolute;
  right: 0;
  top: 7px;
}

.additional-links-text {
  padding: 0 16px;
  color: #4B5B80;
  margin-bottom: 8px;
}

@media (min-width: 992px) {
  .btn-nav-toggle, #mobile-header-additional-links {
    display: none;
  }
}
@media (max-width: 992px) {
  .site-logo {
    z-index: 99;
  }
  .over-header {
    display: none;
  }
  .inner-header {
    padding-inline: 24px;
    background: #fff;
    position: fixed;
    top: var(--header-offset, 0px);
  }
  .inner-header .header-button {
    display: none;
  }
  .logo-white {
    display: none;
  }
  .inner-header .header-icon {
    width: 162px;
    height: auto;
  }
  .btn-nav-toggle {
    color: var(--Birthright-Israel-Navy);
    cursor: pointer;
    border: 0;
    outline: 0;
    background: transparent;
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    z-index: 88;
  }
  .inner-header .header-links-container {
    padding-block: 6rem;
    padding-inline: 1.5rem;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateX(100%);
    transition: all 0.3s;
    opacity: 0;
    z-index: 33;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .inner-header .header-links-container.shown {
    left: 0;
    transform: translateX(0%);
    opacity: 1;
  }
  #mobile-header-additional-links {
    display: flex;
    flex-direction: column;
  }
  .additional-links-text {
    padding: 26px 1rem 8px 1rem;
    margin: 0;
  }
  .mobile-header-additional-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .inner-header .header-links-container .inner-header-link, .mobile-header-additional-link {
    font-weight: 600;
    color: #00154A;
    text-align: start;
    font-size: 1.125rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 21, 74, 0.2392156863);
  }
}
#nav-toggle {
  width: 22px;
  height: 18px;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.5s ease-in-out;
  -moz-transition: 0.5s ease-in-out;
  -o-transition: 0.5s ease-in-out;
  transition: 0.5s ease-in-out;
  cursor: pointer;
}

#nav-toggle span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--Birthright-Israel-Navy);
  border-radius: 15px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: 0.25s ease-in-out;
  -moz-transition: 0.25s ease-in-out;
  -o-transition: 0.25s ease-in-out;
  transition: 0.25s ease-in-out;
}

#nav-toggle span:nth-child(1) {
  top: 0px;
}

#nav-toggle span:nth-child(2), #nav-toggle span:nth-child(3) {
  top: 50%;
  transform: translateY(-50%);
}

#nav-toggle span:nth-child(4) {
  bottom: 0px;
}

#nav-toggle.open span:nth-child(1) {
  top: 9px;
  width: 0%;
  left: 50%;
}

#nav-toggle.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#nav-toggle.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

#nav-toggle.open span:nth-child(4) {
  top: 18px;
  width: 0%;
  left: 50%;
}

a:not([href]), a[href=""] {
  pointer-events: none; /* Disables click events */
  cursor: default; /* Changes cursor to default instead of pointer */
  color: grey; /* Optional: change color to indicate it's inactive */
  text-decoration: none; /* Optional: remove underline or other styles */
}

/**************************************************************************/
/*********************** START BREADCRUMBS SECTION ***********************/
.breadcrumbs {
  max-width: 996px;
  /*margin: calc(72px + 2rem) auto 40px;*/
  margin-inline: auto;
  margin-bottom: 2rem;
}

.breadcrumbs ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

.breadcrumbs li {
  display: flex;
  justify-content: center;
  align-items: center;
}

.breadcrumbs a {
  font-weight: 500;
  text-decoration: none;
  color: #7e919c;
  font-size: 0.875rem;
}

.breadcrumbs li:last-child a {
  color: #EE7149;
  pointer-events: none;
}

.breadcrumbs .separator svg {
  fill: #7E919C;
}

@media (max-width: 640px) {
  .breadcrumbs {
    max-width: 100%;
    width: 100%;
    padding: 1.5rem;
    margin: 0;
    background-color: #00154a;
  }
}
/************************ END BREADCRUMBS SECTION ************************/
/**************************************************************************/
.header-notification-bar {
  position: fixed;
  top: calc(var(--header-offset) + 68px);
  width: 100%;
  z-index: 1;
  background-color: #ee7149;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}
.header-notification-bar.active {
  top: 68px;
}
@media (max-width: 992px) {
  .header-notification-bar {
    top: 56px;
  }
  .header-notification-bar.active {
    top: 56px;
  }
}
.header-notification-bar .notification-bar-content-wrapper {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 24px;
}
.header-notification-bar .notification-bar-content {
  font-size: 14px;
  color: rgb(12, 25, 55);
  font-weight: 450;
  font-size: 16px;
  line-height: 150%;
  vertical-align: middle;
  text-align: left;
}
.header-notification-bar .notification-bar-content a {
  font-size: 14px;
  line-height: 1.5;
  color: white;
  text-decoration: underline;
}
.header-notification-bar .notification-bar-close {
  cursor: pointer;
  width: 32px;
  min-width: 32px;
  height: 32px;
  background: url(../images/close.png) no-repeat center center;
  background-size: contain;
}

@media (max-width: 992px) {
  .notification-bar-content-wrapper {
    align-items: flex-start;
  }
}
