/* =====================================
   GLOBAL NAVIGATION
   ===================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 10000;

  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 34px;

  background: rgba(8, 5, 3, 0.94);
  backdrop-filter: blur(18px);

  border-bottom: 1px solid rgba(212, 175, 90, 0.28);
}

.nav-brand {
  flex-shrink: 0;

  color: #f0d88a;

  font-family: Georgia, serif;
  font-size: 1.15rem;

  text-decoration: none;
}

.site-nav img{width:50%;max-width:100%;}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;

  margin-left: auto;
}

.main-nav a, .nav-item{
	 font-family: Inter, Arial, sans-serif;
	
}
.main-nav > a,
.dropdown-toggle {
 /* color: #fff;

  background: transparent;
  border: 0;

  text-decoration: none;
  text-transform: uppercase;

  letter-spacing: 0.12em;
  font-size: 11px;
  font-family: Inter, Arial, sans-serif;

  cursor: pointer;*/
	font-family: Inter, sans-serif;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: .12em;

    text-transform: uppercase;

    color:#fff;

    background:none;

    border:0;

    cursor:pointer;

    padding:0;

    margin:0;

    line-height:1;
	
	
	
}

.main-nav > a:hover,
.dropdown-toggle:hover {
  color: #f0d88a;
}


/* =====================================
   INSTITUTE DROPDOWN
   ===================================== */

.nav-item {
  position: relative;
	font-family: Inter, Arial, sans-serif;
}

.has-dropdown {
  display: flex;
  align-items: center;
	font-family: Inter, Arial, sans-serif;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 28px 0;
}

.institute-nav-title{font-family: Inter, Arial, sans-serif;}

.dropdown-arrow {
  display: inline-block;

  color: #f0d88a;

  font-size: 14px;

  transition: transform 0.25s ease;
}

.has-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;

  top: calc(100% - 4px);
  left: 50%;

  transform:
    translateX(-50%)
    translateY(10px);

  width: 280px;

  padding: 12px;

  background: rgba(5, 4, 3, 0.98);

  border: 1px solid rgba(212, 175, 90, 0.28);
  border-radius: 18px;

  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.35);

  opacity: 0;
  visibility: hidden;

  pointer-events: none;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;

  z-index: 10005;
}

.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;

  pointer-events: auto;

  transform:
    translateX(-50%)
    translateY(0);
}

.dropdown-menu a {
  display: block;

  padding: 12px 14px;

  color: #fff;

  border-radius: 10px;

  font-family: Georgia, serif;
  font-size: 1rem;

  text-decoration: none;
}

.dropdown-menu a:hover {
  color: #f0d88a;

  background: rgba(240, 216, 138, 0.08);
}


/* Optional desktop hover support */

@media (min-width: 1051px) {

  .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform:
      translateX(-50%)
      translateY(0);
  }

}


/* =====================================
   MOBILE MENU BUTTON
   ===================================== */

.mobile-menu-toggle {
  display: none;
}


/* =====================================
   MOBILE NAVIGATION
   ===================================== */

@media (max-width: 1050px) {

  .site-nav {
    padding: 0 20px;
  }

  .mobile-menu-toggle {
    position: relative;

    z-index: 10002;

    display: block !important;

    width: 46px;
    height: 46px;

    padding: 10px;

    border: 1px solid rgba(240, 216, 138, 0.55);
    border-radius: 50%;

    background: rgba(5, 4, 3, 0.9);

    cursor: pointer;

    pointer-events: auto;
	  right: 40px;
  }

  .mobile-menu-toggle span {
    display: block;

    width: 22px;
    height: 2px;

    margin: 4px auto;

    background: #f0d88a;

    transition:
      transform 0.3s ease,
      opacity 0.3s ease;
  }

  .site-nav .main-nav {
    position: fixed;

    top: 76px;
    right: -100%;

    display: flex !important;

    width: min(88vw, 380px);
    height: calc(100dvh - 76px);

    flex-direction: column;
    align-items: flex-start;

    gap: 0;

    margin: 0 !important;

    padding: 1.5rem 2rem 3rem;

    background: rgba(5, 4, 3, 0.99);

    border-left: 1px solid rgba(212, 175, 90, 0.28);

    overflow-y: auto;

    transition: right 0.35s ease;

    z-index: 10001;
  }

  .site-nav .main-nav.open {
    right: 0 !important;
  }

  .site-nav .main-nav > a,
  .site-nav .dropdown-toggle {
    width: 100%;

    padding: 1rem 0;

    justify-content: space-between;

    color: #fff;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    font-family: Georgia, serif;
    font-size: 1.2rem;

    text-align: left;
    text-transform: none;
    letter-spacing: 0.02em;
  }


  /* Mobile dropdown */

  .nav-item {
    width: 100%;
  }

  .has-dropdown {
    display: block;
  }

  .dropdown-menu {
    position: static;

    width: 100%;

    padding: 0;

    border: 0;
    border-radius: 0;

    box-shadow: none;

    background: rgba(255, 255, 255, 0.025);

    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform: none;

    max-height: 0;

    overflow: hidden;

    transition: max-height 0.35s ease;
  }

  .has-dropdown.open .dropdown-menu {
    max-height: 600px;
  }

  .dropdown-menu a {
    padding: 0.9rem 1rem 0.9rem 1.5rem;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    font-size: 1rem;

    color: #d8c7a7;
  }


  /* Hamburger -> X */

  .mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  body.menu-open {
    overflow: hidden;
  }

}

.main-nav a{
	font-family:inter;
	text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
	font-family:Inter, Arial, sans-serif;
	
}
.main-nav a.active{

    color:#f0d88a;

}

.main-nav a.active::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:100%;

    height:2px;

    background:#f0d88a;

}

.main-nav [data-nav].active-section{
  color: #f0d88a;
}

.main-nav [data-nav].active-section{
  color: #f0d88a;
  position: relative;
}

.main-nav [data-nav].active-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: #f0d88a;
  box-shadow:
    0 0 12px
    rgba(240, 216, 138, 0.5);
}
.has-dropdown.active-section
.dropdown-toggle {
  color: #f0d88a;
}


/* FORCE THE INSTITUTE NAV ITEM TO MATCH OTHER NAV LINKS */
.site-nav .main-nav .dropdown-toggle,
.site-nav .main-nav .dropdown-toggle > span:first-child {
    font-family: "Inter", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    color: #fff;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
}

.site-nav .main-nav .dropdown-arrow {
    font-family: Arial, sans-serif !important;
    font-size: 14px !important;
    color: #f0d88a;
}