/* static-fixes.css — QIC ESG Corporate Static Site */

/* Scroll-reveal content was hidden (opacity:0) until React's IntersectionObserver
   ran. React is disabled in this archive, so force it visible — otherwise tiles
   render as blank-but-clickable space (e.g. the case-studies listing). */
.animation-rise-and-fade {
  opacity: 1 !important;
}

/* Landing page: ESG overview heading sits above the hero image, enlarged. */
.esg-overview-hero-title {
  margin: 1.5rem 0 2rem;
}
.esg-overview-hero-title .herotitle {
  font-size: clamp(48px, 7vw, 80px) !important;
  line-height: 1.05 !important;
}

/* Nav dropdown display */
.nav-item .navbar-nav-items {
  display: none;
}

.nav-item:hover .navbar-nav-items,
.nav-item.show-subnav .navbar-nav-items {
  display: block;
}

/* Mobile nav open state */
body.nav-open {
  overflow: hidden;
}

/* Hide search icon (no search on static) */
.pageheader-navbar-wrapper .navbar-nav li:last-child .icon-outlined-search,
.homepageheader-navbar-wrapper .navbar-nav li:last-child .icon-outlined-search {
  display: none !important;
}

.pageheader-navbar-wrapper .mobile-nav .nav-link.search,
.homepageheader-navbar-wrapper .mobile-nav .nav-link.search {
  display: none;
}

/* ==========================================================================
   ESG static archive — minimal header + slim footer
   The full corporate nav has been replaced with a back-to-overview header.
   ========================================================================== */
.esg-archive-header {
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
}

.esg-archive-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.esg-archive-header__logo img {
  height: 40px;
  width: auto;
  display: block;
}

.esg-archive-header__back {
  font-family: markpro, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  white-space: nowrap;
}

.esg-archive-header__back:hover {
  text-decoration: underline;
}

/* Slim footer link row */
.esg-archive-footer__links .col-auto {
  margin-right: 1.5rem;
}

.esg-archive-footer__social {
  margin-left: auto;
}
