/*****************************************************
NAVIGATION
*****************************************************/

@media screen {

/*****************************************************
INSTITUTION STRIP
*****************************************************/

.institution-strip {
  padding: 0.38rem 0;
  color: rgba(245, 243, 240, 0.58);
  background: #1e2a22;
  border-bottom: 1px solid rgba(245, 243, 240, 0.18);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.institution-strip__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0 clamp(0.75rem, 3vw, 2rem);
}

.institution-strip a {
  color: rgba(245, 243, 240, 0.66);
  text-decoration: none;
  border-bottom: 0;
}

.institution-strip a:hover {
  color: #fff;
}

/*****************************************************
TOPNAV
*****************************************************/

.navbar {
  position: relative;
  z-index: 20;

  /* Box Model */
  padding: 0.45rem var(--spacing-sm);

  /* Typography */
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-on-dark) !important;

  /* Visual */
  background-color: var(--bg-nav) !important;
  border-bottom: 2px solid rgba(184, 149, 106, 0.75);
}

.navbar-brand {
  /* Typography */
  max-width: 36rem;
  font-size: 0.98rem;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--text-on-dark) !important;  /* Explicit color for template users */
  text-decoration: none;

  /* Visual */
  border-bottom: none;
}

.navbar-brand:hover {
  /* Typography */
  color: var(--sage-pale) !important;
}

.navbar-toggler {
  /* Visual */
  border-color: var(--text-on-dark);
}

.navbar-toggler:focus {
  /* Visual */
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler-icon {
  /* Visual - Use Bootstrap's icon but with custom color */
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(232, 228, 223, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
  /* Display */
  display: flex;
  list-style: none;
  gap: 0.35rem;
}

/* Use Bootstrap's .nav-link class for consistency */
.nav-link {
  position: relative;

  /* Box Model */
  display: inline-block;
  padding: 0.42rem 0.68rem;

  /* Typography */
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  color: rgba(232, 228, 223, 0.55) !important;

  /* Visual */
  border-radius: var(--radius-sm);
  border: 1px solid transparent;

  /* Interactivity */
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.nav-link:visited {
  /* Typography */
  color: var(--text-on-dark) !important;
}

.nav-link:hover,
.nav-link:focus {
  /* Typography */
  color: var(--warm-white) !important;

  /* Visual */
  background: rgba(245, 243, 240, 0.08);
  border-color: rgba(184, 149, 106, 0.42);
}

.nav-link.active,
.nav-link.active:visited {
  color: var(--warm-white) !important;
  border-bottom: 2px solid var(--golden-clay);
}

.nav-link.active:hover,
.nav-link.active:focus {
  color: var(--warm-white) !important;
  border-bottom: 2px solid var(--golden-clay);
}

.nav-link.active::after {
  display: none;
}


ul .dropdown-menu {
  /* Box Model */
  padding: 0.25rem 0 !important;

  /* Visual */
  background-color: var(--bg-nav) !important;
  border: 1px solid var(--border-light) !important;
  box-shadow: var(--shadow-md) !important;
}

.dropdown-item {
  /* Box Model */
  padding: 0.25rem 0.75rem !important;

  /* Typography */
  font-size: 0.85rem !important;
  line-height: 1.3 !important;
  color: var(--text-on-dark) !important;
  text-decoration: none !important;

  /* Visual */
  background: transparent !important;
  border-left: 2px solid transparent !important;

  /* Interactivity */
  transition: border-color var(--transition-fast) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  /* Typography */
  color: var(--interactive-hover) !important;

  /* Visual */
  background: transparent !important;
  border-left-color: var(--interactive-hover) !important;
}

.dropdown-divider {
  /* Box Model */
  margin: 0.1rem 0 !important;

  /* Visual */
  border-color: var(--text-on-dark) !important;
  opacity: 0.3 !important;
}

.nav-link.dropdown-toggle.show {
  /* Typography */
  color: var(--text-on-dark);

  /* Visual */
  background-color: transparent;
}

@media (max-width: 991.98px) {
  .navbar-nav {
    gap: 0.2rem;
    padding-top: var(--spacing-xs);
  }

  .nav-link {
    width: 100%;
  }

  .nav-link.active,
  .nav-link.active:visited,
  .nav-link.active:hover,
  .nav-link.active:focus {
    border-bottom: none;
    border-left: 2px solid var(--golden-clay);
  }
}




/*****************************************************
BREADCRUMB NAVIGATION
*****************************************************/
.breadcrumb-nav-list {
  /* Display */
  display: flex;
  list-style: none;
  gap: 8px;
  
  /* Box Model */
  margin: 0 0 16px 0;
  padding: 0;
}

.breadcrumb-nav-list-item a {
  /* Typography */
  font-size: 1rem;
  text-decoration: none;
  color: var(--info);
}

.breadcrumb-nav-list-item span {
  /* Typography */
  font-size: 1rem;
  color: var(--text-muted);
}


} /* end media screen */


/*****************************************************
FOOTER
*****************************************************/

footer.site-footer {
  margin-top: auto;
  padding: clamp(1.5rem, 4vw, 2.4rem) clamp(1rem, 3vw, 2rem);
  color: var(--warm-white);
  background: var(--sage-dark);
  border-top: 2px solid rgba(184, 149, 106, 0.45);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  max-width: 82rem;
  margin: 0 auto;
}

.site-footer__brand {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.2;
  color: var(--warm-white);
  text-decoration: none;
  border-bottom: 0;
}

.site-footer__brand:visited,
.site-footer__brand:hover {
  color: var(--golden-clay);
}

.site-footer__credit {
  max-width: 52rem;
  margin: 0;
  font-size: clamp(0.82rem, 1.2vw, 0.98rem);
  line-height: 1.55;
  text-align: left;
  color: rgba(245, 243, 240, 0.65);
}

.site-footer__credit a {
  color: var(--warm-white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 0;
  transition: color var(--transition-fast);
}

.site-footer__credit a:hover {
  color: var(--golden-clay);
}

@media (max-width: 768px) {
  .institution-strip {
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.58rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
