.individual-toolbox-sec .page-menu-wrapper li:has(a.active) {
  background: url(/sites/default/files/images/header/list-arrow-active.svg) no-repeat left center;
}
.icat-toolbox-sec .page-menu-wrapper li:has(a.active) {
  background: url(/sites/default/files/images/header/list-arrow-active.svg) no-repeat left center;
}
.individual-toolbox-sec .page-menu-wrapper a.active {
  color: #FF8E00;
}
.icat-toolbox-sec .page-menu-wrapper a.active {
  color: #FF8E00;
}

.custom-offset {
  padding-top: 80px; /* or margin-top */
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.path-search .toolbox-search-sec .search-page .btn-close {
  display: none !important;
}

header .desktop-header .nav-links li .nav-link-item.active {
    color: orange;
}

/* Card wrapper */
.knowledge-sharing-grid .card {
  border: none;
  overflow: hidden;
}

/* Image container – FIXED ASPECT RATIO */
.knowledge-sharing-grid .card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 379 / 218; /* Designer size */
  overflow: hidden;
  background-color: #f2f2f2; /* fallback */
}

/* Image itself */
.knowledge-sharing-grid .card-image img.img-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* KEY LINE */
}

/* Tag (NEWS) */
.knowledge-sharing-grid .card-image .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}

/* Arrow icon */
.knowledge-sharing-grid .card-image .icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
}

.knowledge-sharing-grid .card-image::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 70%; /* controls shadow height */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0)
  );
}

/* Card wrapper */
.news-events-sec .story-card {
  overflow: hidden;
  border-radius: 12px; /* optional, if design has rounded cards */
}

/* Image wrapper (create fixed aspect ratio) */
.news-events-sec .story-card img.img-bg {
  width: 100%;
  aspect-ratio: 520 / 300; /* Designer size */
  object-fit: cover;      /* IMPORTANT */
  display: block;
  background-color: #f2f2f2; /* fallback */
}

/* Remove blue border caused by nt-focus */
.nt-focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: transparent !important;
}

/* For menu links specifically */
.nav-link.nt-focus,
.menu a.nt-focus {
  outline: none !important;
  box-shadow: none !important;
}


/* Tablet */
@media (min-width: 768px) {
  .logo-img {
    height: 25px;
  }

  .logo-img:first-child {
    margin-right: 8px;
  }
}

/* Desktop & large screens */
@media (min-width: 1200px) {
  .logo-img {
    height: 48px;
  }
}

@media (max-width: 767px) {
  .nav-actions {   /* stack items */
    align-items: flex-start;  /* align to left */
    gap: 6px;                 /* space between */
  }

  button.btn-subscribe.btn-primary{
    margin-top:16px;
  }

  .nav-actions .search-btn img.search-icon {
    width: 35px; /* adjust size */
    height: 27px;
  }

  .nav-actions .language-switcher {
    font-size: 0.7rem;
  }

}