/* Online (MailChimp) newsletter page. */
.newsletter-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eeeeee;
}

.newsletter-date {
  font-weight: 600;
}

.newsletter-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
}

.newsletter-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  font-weight: 600;
  color: #b85a00;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.newsletter-links a:hover,
.newsletter-links a:focus {
  color: #242403;
}

.newsletter-viewport {
  height: 80vh;
  min-height: 500px;
  margin-bottom: 3rem;
  overflow: hidden;
}

.newsletter-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  transform-origin: top left;
}

@media (max-width: 767.98px) {
  /* Edge to edge, so the newsletter gets the full width of the phone. */
  .newsletter-viewport {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 75vh;
    height: 75dvh;
    min-height: 420px;
    margin-bottom: 1.5rem;
  }

  /* The floating social bar would cover the newsletter text. */
  #social-icons {
    display: none !important;
  }
}
