:root { --warm-white: #faf7f2; }

:is(h1, h2, h3, h4, h5, h6, .section-title) :is(em, i),
.hero h1 em,
.cta-banner h2 em {
  font-style: normal;
}

.hero > .hero-content h1 { text-wrap: balance; }

.hero .button + .textlink {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-block-start: 1rem;
}

.tipbox { background-color: white; }

.translation-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  width: min(100%, 420px);
  justify-self: center;
}

.translation-preview figure { margin: 0; }

.translation-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(18px, 2.5vw, 30px);
  box-shadow: 0 20px 40px rgba(44, 24, 16, 0.08);
}

.translation-preview figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 901px) {
  .hero > .hero-content { transform: translateY(-5rem); }
  .hero > .hero-content h1 { margin-inline-end: -1rem; }
  main > .hero > div:first-child { transform: translateY(-2rem); }
}
