/* Homepage only: the stylesheet is enqueued exclusively on the front page. */
.epoxy-restored-nav {
  overflow: visible;
}

.epoxy-restored-nav .epoxy-nav-group {
  position: relative;
  display: flex;
  align-items: center;
}

.epoxy-restored-nav .epoxy-dropdown {
  position: absolute;
  z-index: 9999;
  top: calc(100% + 8px);
  left: 0;
  min-width: 245px;
  padding: 8px;
  border: 1px solid #d9e1e8;
  border-radius: 10px;
  background: #0b1b2b;
  box-shadow: 0 18px 40px rgba(11, 27, 43, .24);
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.epoxy-restored-nav .epoxy-nav-group:hover .epoxy-dropdown,
.epoxy-restored-nav .epoxy-nav-group:focus-within .epoxy-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.epoxy-restored-nav .epoxy-dropdown a {
  display: block;
  width: 100%;
  padding: 9px 11px;
  border-radius: 6px;
  color: #f7fafc;
  font-size: .78rem;
  line-height: 1.3;
  white-space: normal;
}

.epoxy-restored-nav .epoxy-dropdown a:hover,
.epoxy-restored-nav .epoxy-dropdown a:focus {
  color: #fff;
  background: #24364b;
}

.epoxy-restored-mobile details {
  border-bottom: 1px solid #edf2f7;
}

.epoxy-restored-mobile summary {
  position: relative;
  padding: 14px 30px 14px 4px;
  color: #0b1b2b;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.epoxy-restored-mobile summary::-webkit-details-marker {
  display: none;
}

.epoxy-restored-mobile summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 12px;
  font-size: 1.25rem;
}

.epoxy-restored-mobile details[open] summary::after {
  content: "−";
}

.mobile-nav .epoxy-restored-mobile .epoxy-mobile-children {
  padding: 0 0 9px 14px;
}

.mobile-nav .epoxy-restored-mobile .epoxy-mobile-children a {
  padding: 9px 4px;
  font-size: .92rem;
  border-bottom: 0;
}

/* Compact visual treatment. These selectors exist only in the custom homepage. */
.hero-visual {
  max-width: 390px;
  justify-self: center;
  width: 100%;
}

.hero-preview {
  padding: 16px;
  gap: 11px;
}

.hero-preview .img {
  width: 100%;
  height: 180px;
  aspect-ratio: auto;
}

.products {
  align-items: stretch;
}

.product .pimg {
  height: 145px;
  aspect-ratio: auto;
}

.product .pimg img {
  max-width: 82%;
  max-height: 130px;
  margin: auto;
  padding: 8px;
}

.insight .iimg {
  height: 125px;
  min-height: 0;
  aspect-ratio: auto;
}

@media (max-width: 760px) {
  .hero-visual {
    max-width: 330px;
  }

  .hero-preview .img {
    height: 150px;
  }

  .product .pimg {
    height: 130px;
  }

  .insight .iimg {
    height: 110px;
  }
}

