/* Dash Studios additions on top of the shared stylesheet. */

/* Buttons that open a dialog no longer carry a placeholder anchor. */
.clickable_wrap > .clickable_btn:only-child {
  display: block;
}

.store_buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.store_buttons .button_main_wrap {
  width: 100%;
}

.store_buttons .button_main_element {
  width: 100%;
  justify-content: space-between;
}

/* Nouns Hunt page */
.nh_hero {
  padding: 9rem 0 5rem;
}

.nh_hero_layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: 4rem;
  align-items: center;
}

.nh_hero_copy,
.nh_support {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.nh_hero_copy > *,
.nh_section h2,
.nh_section p {
  margin: 0;
}

.nh_icon {
  width: 6rem;
  height: 6rem;
}

.nh_lead {
  max-width: 38rem;
  font-size: 1.25rem;
  line-height: 1.5;
}

.nh_store {
  width: min(100%, 22rem);
}

.nh_shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.25rem;
}

.nh_section {
  padding: 5rem 0;
}

.nh_section h2 + * {
  margin-top: 1.5rem;
}

.nh_features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.nh_feature {
  padding: 1.5rem;
  border: 1px solid var(--_theme---border);
  border-radius: 1rem;
}

.nh_feature h3 {
  margin: 0 0 0.5rem;
}

.nh_gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 20rem));
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.nh_support a:not(.clickable_link) {
  text-decoration: underline;
}

.nh_section .nh_support > * {
  margin: 0;
}

@media (max-width: 767px) {
  .nh_hero {
    padding: 7rem 0 3rem;
  }

  .nh_hero_layout,
  .nh_features,
  .nh_gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .nh_hero_visual,
  .nh_gallery {
    justify-self: center;
    width: min(100%, 20rem);
    margin-left: auto;
    margin-right: auto;
  }

  .nh_section {
    padding: 3.5rem 0;
  }

  .nh_store {
    width: 100%;
  }
}

/* The header logo is black: invert it while the header sits over the dark footer. */
.nav_component.u-theme-dark img[src$="logoblack.png"] {
  filter: invert(1);
}

/* Contact dialogs: an email link replaces the former forms. */
.contact_mail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.contact_mail p {
  margin: 0;
}

.contact_mail p a {
  text-decoration: underline;
}

/* Footer: room for the support address, and side padding where the bottom row sits outside the container. */
.footer_bottom_link_list {
  flex-wrap: wrap;
}

.footer_wrap > .footer_bottom_wrap {
  padding-left: var(--site--margin);
  padding-right: var(--site--margin);
}

.nh_more {
  align-self: flex-start;
}
