/* Scoped resets for custom pages that also load the experimental site.css.
   This keeps the live Mobirise menu/footer visually consistent with the
   current published-site pages while allowing the Resources content to keep
   its article-library styling. */

.cid-vog78Xt6uL .navbar .navbar-caption,
.cid-vog78Xt6uL .navbar .nav-link,
.cid-vog78Xt6uL .navbar .dropdown-item,
.cid-vog78Xt6uL .navbar .btn {
  font-family: 'Inter Tight', sans-serif !important;
  font-size: 1.4rem !important;
  line-height: 1.5 !important;
  min-height: 0 !important;
  text-decoration: none !important;
  transform: none !important;
}

.cid-vog78Xt6uL .navbar .navbar-caption,
.cid-vog78Xt6uL .navbar .nav-link,
.cid-vog78Xt6uL .navbar .dropdown-item {
  color: #232323 !important;
}

.cid-vog78Xt6uL .navbar .nav-link {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  padding: 16px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 1rem !important;
  background: transparent !important;
  font-weight: inherit !important;
}

.cid-vog78Xt6uL .navbar .nav-link::before {
  display: none !important;
}

@media (min-width: 992px) {
  .cid-vog78Xt6uL .navbar .navbar-nav .open .nav-link::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    height: 20px !important;
    max-width: none !important;
    background: transparent !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
}

.cid-vog78Xt6uL .navbar .nav-link:hover,
.cid-vog78Xt6uL .navbar .nav-link:focus,
.cid-vog78Xt6uL .navbar .dropdown-item:hover,
.cid-vog78Xt6uL .navbar .dropdown-item:focus {
  color: #000000 !important;
  background-color: rgba(27, 31, 10, 0.06) !important;
}

.cid-vog78Xt6uL .navbar .dropdown-item {
  padding: 12px !important;
  margin: 0 8px !important;
  border-radius: 0.5rem !important;
  background: transparent !important;
  font-weight: inherit !important;
}

@media (min-width: 992px) {
  .cid-vog78Xt6uL,
  .cid-vog78Xt6uL .navbar,
  .cid-vog78Xt6uL .navbar .container,
  .cid-vog78Xt6uL .navbar-collapse,
  .cid-vog78Xt6uL .navbar-nav,
  .cid-vog78Xt6uL .navbar .nav-item.dropdown {
    overflow: visible !important;
  }

  .cid-vog78Xt6uL {
    z-index: 1100 !important;
  }

  .cid-vog78Xt6uL .navbar .nav-item.dropdown {
    position: relative !important;
  }

  .cid-vog78Xt6uL .navbar .nav-item.dropdown::after {
    content: "" !important;
    position: absolute !important;
    top: 100% !important;
    left: -1rem !important;
    right: -1rem !important;
    height: 28px !important;
    background: transparent !important;
    pointer-events: auto !important;
  }

  .cid-vog78Xt6uL .navbar .nav-item.dropdown:hover > .dropdown-menu,
  .cid-vog78Xt6uL .navbar .nav-item.dropdown:focus-within > .dropdown-menu,
  .cid-vog78Xt6uL .navbar .nav-item.dropdown.open > .dropdown-menu,
  .cid-vog78Xt6uL .navbar .nav-item.dropdown.show > .dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1200 !important;
  }
}

.cid-vog78Xt6uL .navbar .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem 2rem !important;
  border-width: 2px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  white-space: normal !important;
  transition: all 0.2s ease-in-out !important;
}

.cid-voOllxWezj .footer-link.btn,
.cid-voOllxWezj .footer-links .btn {
  display: inline-flex !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  text-align: left !important;
  text-decoration: none !important;
}

.cid-voOllxWezj .footer-link.btn:hover,
.cid-voOllxWezj .footer-link.btn:focus {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

body {
  background: #eef8fb;
}

main > .hero:first-child,
main > .article-hero:first-child {
  width: 100% !important;
  margin: 0 auto !important;
  border-radius: 0 !important;
  padding-top: calc(90px + 6.25rem) !important;
}

main > .hero:first-child {
  padding-bottom: 3.75rem !important;
}

main > .article-hero:first-child {
  padding-bottom: 3.75rem !important;
}

@media (max-width: 767px) {
  main > .hero:first-child,
  main > .article-hero:first-child {
    padding-top: calc(72px + 4.25rem) !important;
  }
}

/* Resources library polish: keep the custom article-library content, but make
   its opening flow work with the live fixed Mobirise menu. */
main > .hero.hero-glass:first-child {
  background: #041525 !important;
}

main > .hero.hero-glass:first-child::before {
  background:
    linear-gradient(90deg, rgba(4, 21, 37, 0.98) 0%, rgba(5, 31, 58, 0.93) 52%, rgba(6, 45, 78, 0.82) 100%),
    url("../images/Water_Mitigation_CommercialDehumidifiers.webp") center/cover no-repeat !important;
}

main > .hero.hero-glass:first-child::after {
  height: 68% !important;
  background:
    linear-gradient(0deg, #041525 0%, rgba(4, 21, 37, 0.72) 44%, rgba(4, 21, 37, 0) 100%) !important;
}

main > .hero.hero-glass:first-child .hero-grid {
  align-items: center !important;
}

main > .hero.hero-glass:first-child h1 {
  max-width: 15ch !important;
  font-size: clamp(3.35rem, 6vw, 5rem) !important;
  line-height: 1 !important;
  letter-spacing: -0.055em !important;
}

main > .hero.hero-glass:first-child .hero-copy > p:not(.kicker) {
  max-width: 58rem !important;
  font-size: clamp(1.2rem, 1.45vw, 1.4rem) !important;
  line-height: 1.3 !important;
}

main > .hero.hero-glass:first-child .hero-card {
  padding: 2rem !important;
  background: rgba(6, 27, 49, 0.62) !important;
  border-color: rgba(223, 242, 248, 0.16) !important;
}

main > .hero.hero-glass:first-child .hero-card h2 {
  font-size: clamp(2.35rem, 3.4vw, 4rem) !important;
  line-height: 1 !important;
}

main > .hero.hero-glass:first-child .hero-card p {
  font-size: clamp(1.08rem, 1.3vw, 1.32rem) !important;
  line-height: 1.3 !important;
}

main > .hero.hero-glass:first-child .stats a {
  background: rgba(255, 255, 255, 0.075) !important;
}

main > .hero.hero-glass:first-child + .dark-panel {
  margin-top: -1px !important;
  padding-top: 2.65rem !important;
  padding-bottom: 7rem !important;
  background:
    linear-gradient(180deg, #041525 0%, rgba(4, 21, 37, 0.98) 5rem, rgba(5, 33, 56, 0.96) 16rem, rgba(5, 50, 82, 0.96) 46%, rgba(5, 50, 82, 0.96) 72%, #041525 100%),
    radial-gradient(circle at 16% 7%, rgba(73, 201, 109, 0.14), transparent 24rem),
    radial-gradient(circle at 89% 12%, rgba(91, 212, 255, 0.13), transparent 26rem) !important;
  box-shadow: inset 0 -14rem 12rem -10rem rgba(4, 21, 37, 0.96) !important;
}

main > .hero.hero-glass:first-child + .dark-panel::before {
  opacity: 0.075 !important;
}

main > .hero.hero-glass:first-child + .dark-panel .resource-tools {
  align-items: center !important;
  margin-bottom: 1.25rem !important;
}

main > .hero.hero-glass:first-child + .dark-panel h2 {
  max-width: 15ch !important;
  font-size: clamp(3rem, 5vw, 5rem) !important;
  line-height: 1 !important;
}

main > .hero.hero-glass:first-child + .dark-panel .search-box {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(218, 239, 248, 0.26) !important;
  box-shadow: 0 18px 54px rgba(4, 21, 37, 0.18) !important;
}

main > .hero.hero-glass:first-child + .dark-panel .resource-list {
  margin-top: 1rem !important;
}

main > .hero.hero-glass:first-child + .dark-panel + .cta {
  margin-top: -1px !important;
  padding-top: 6.25rem !important;
  background:
    linear-gradient(180deg, rgba(5, 50, 82, 1) 0%, rgba(5, 50, 82, 0.99) 4.5rem, rgba(4, 21, 37, 0.94) 11rem, rgba(4, 21, 37, 0.84) 100%),
    url("../images/auditorium+restoration.webp") center/cover no-repeat !important;
}

main > .hero.hero-glass:first-child + .dark-panel + .cta::before {
  opacity: 0.075 !important;
}

main > .hero.hero-glass:first-child + .dark-panel + .cta::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  z-index: 0 !important;
  height: 14rem !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(5, 50, 82, 1) 0%, rgba(5, 50, 82, 0.92) 42%, rgba(4, 21, 37, 0) 100%) !important;
}

main > .hero.hero-glass:first-child + .dark-panel + .cta .cta-inner {
  position: relative !important;
  z-index: 1 !important;
}

main > .hero.hero-glass:first-child + .dark-panel + .cta h2 {
  font-size: clamp(3rem, 5vw, 5rem) !important;
  line-height: 1 !important;
}

main > .hero.hero-glass:first-child + .dark-panel + .cta p:not(.kicker) {
  font-size: clamp(1.2rem, 1.45vw, 1.4rem) !important;
  line-height: 1.3 !important;
}

@media (max-width: 992px) {
  main > .hero.hero-glass:first-child h1 {
    max-width: 12.5ch !important;
    font-size: clamp(3rem, 12vw, 4rem) !important;
  }

  main > .hero.hero-glass:first-child + .dark-panel .resource-tools {
    grid-template-columns: 1fr !important;
  }
}

/* Resources bottom CTA: use the testimonial-page image style so the closing
   panel feels editorial instead of like a separate pasted-on block. */
main > .hero.hero-glass:first-child + .dark-panel + .resources-voice-cta {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  margin-top: -1px !important;
  min-height: 36rem !important;
  padding: 7rem 0 !important;
  display: flex !important;
  align-items: center !important;
  color: #ffffff !important;
  background:
    linear-gradient(90deg, rgba(4, 21, 37, 0.98), rgba(4, 21, 37, 0.84) 52%, rgba(4, 21, 37, 0.2)),
    url("../images/Water_Damage_Auditorium.webp") center / cover no-repeat !important;
}

main > .hero.hero-glass:first-child + .dark-panel + .resources-voice-cta::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: -1 !important;
  pointer-events: none !important;
  background:
    linear-gradient(180deg, rgba(4, 21, 37, 0.94) 0%, rgba(4, 21, 37, 0.62) 4.5rem, rgba(4, 21, 37, 0) 11rem) !important;
  opacity: 1 !important;
}

main > .hero.hero-glass:first-child + .dark-panel + .resources-voice-cta::after {
  content: "" !important;
  position: absolute !important;
  inset: auto 0 0 !important;
  z-index: -1 !important;
  height: 46% !important;
  pointer-events: none !important;
  background: linear-gradient(0deg, rgba(4, 21, 37, 0.92), rgba(4, 21, 37, 0)) !important;
}

.resources-voice-cta-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.45fr) !important;
  gap: 2rem !important;
  align-items: center !important;
}

.resources-voice-cta-copy {
  max-width: 54rem !important;
}

.resources-voice-cta .kicker {
  color: #d7edf6 !important;
}

.resources-voice-cta h2 {
  max-width: 13ch !important;
  margin-bottom: 1rem !important;
  color: #ffffff !important;
  font-size: clamp(3rem, 5vw, 5rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.055em !important;
}

.resources-voice-cta p {
  max-width: 43rem !important;
  color: #d7edf6 !important;
  font-size: clamp(1.2rem, 1.45vw, 1.4rem) !important;
  line-height: 1.45 !important;
}

.resources-voice-cta-proof {
  display: grid !important;
  gap: 0.75rem !important;
  align-content: center !important;
}

.resources-voice-cta-proof > div {
  padding-left: 0 !important;
  border-left: 0 !important;
}

.resources-voice-cta-proof blockquote {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 0 !important;
  color: #ffffff !important;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem) !important;
  font-style: italic !important;
  font-weight: 900 !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
}

.resources-voice-cta-proof small {
  display: block !important;
  margin-top: 0.75rem !important;
  color: #49c96d !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.09em !important;
  line-height: 1.25 !important;
  text-transform: uppercase !important;
}

.resources-voice-cta-choice {
  display: block !important;
  padding: 1rem !important;
  color: #ffffff !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(223, 242, 248, 0.2) !important;
  border-radius: 8px !important;
  backdrop-filter: blur(12px) !important;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease !important;
}

.resources-voice-cta-choice:hover,
.resources-voice-cta-choice:focus {
  color: #ffffff !important;
  text-decoration: none !important;
  background: rgba(91, 212, 255, 0.14) !important;
  border-color: rgba(91, 212, 255, 0.58) !important;
  transform: translateY(-0.15rem) !important;
}

.resources-voice-cta-choice span {
  display: block !important;
  color: #49c96d !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  line-height: 1.1 !important;
  text-transform: uppercase !important;
}

.resources-voice-cta-choice strong {
  display: block !important;
  margin-top: 0.35rem !important;
  color: #ffffff !important;
  font-size: 1.2rem !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
}

@media (max-width: 992px) {
  main > .hero.hero-glass:first-child + .dark-panel + .resources-voice-cta {
    padding: 5rem 0 !important;
  }

  .resources-voice-cta-grid {
    grid-template-columns: 1fr !important;
  }
}
