/* The six navigation groups sit above the wordmark. */
@media (min-width: 1101px) {
  .footer-widgets.dna-footer-with-identity {
    grid-template-columns: .9fr 1.4fr 1.05fr 1.08fr .78fr .95fr !important;
  }
}

@media (max-width: 767px) {
  .footer-widgets.dna-footer-with-identity > #neuros_nav_menu_widget-7 {
    grid-column: auto;
  }

  .footer-widgets.dna-footer-with-identity #menu-legal-1 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Archive pages use the theme's native mobile menu. */
.mobile-header-menu-container .dna-mobile-quantum summary,
.mobile-header-menu-container .dna-mobile-quantum details > a {
  box-sizing: border-box;
  min-height: 44px;
  padding: 10px 40px;
  color: inherit;
  font: inherit;
  font-size: 14px;
}

.mobile-header-menu-container .dna-mobile-quantum summary {
  cursor: pointer;
}

.mobile-header-menu-container .dna-mobile-quantum details > a {
  display: block;
  padding-inline-start: 60px;
}

.dna-footer-wordmark {
  position: relative;
  width: calc(100% - clamp(40px, 7vw, 96px));
  max-width: 1180px;
  aspect-ratio: 16 / 3;
  margin: 0 auto;
  isolation: isolate;
  pointer-events: none;
}

.dna-footer-wordmark picture,
.dna-footer-wordmark img {
  display: block;
  width: 100%;
  height: 100%;
}

.dna-footer-wordmark iframe {
  /* The original component adds 24px on either side of its canvas. */
  position: absolute;
  top: 0;
  left: -24px;
  width: calc(100% + 48px);
  max-width: none;
  height: 100%;
  border: 0;
  pointer-events: none;
}

@media (max-width: 767px) {
  .dna-footer-wordmark { margin-block: 12px; }
}

/* The original component's brightness setting, applied to both display modes. */
.dna-footer-wordmark picture,
.dna-footer-wordmark iframe {
  background-color: #131313;
  filter: brightness(1.65);
}

@media (max-width: 767px) {
  .dna-footer-wordmark { width: calc(100% - 12px); }
}

.dna-footer-wordmark {
  overflow: hidden;
}

.dna-footer-wordmark iframe {
  transform-origin: top left;
}
