/* Shared Malta/MGA font pairing. Page styles retain their own responsive sizing. */
:root {
  --font-sans: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-editorial: Georgia, 'Times New Roman', serif;
}

.home-hero h1 > span,
.estonia-hero .estonia-title-main,
.journey-hero .journey-title-main {
  font-family: var(--font-sans);
  font-weight: 800;
  font-style: normal;
}

.home-hero h1 em,
.estonia-hero .estonia-title-accent,
.journey-hero .journey-title-accent {
  font-family: var(--font-editorial);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.055em;
}

/* Match the homepage's softer italic line and comfortable title rhythm. */
.estonia-hero .estonia-title-accent,
.journey-hero .journey-title-accent {
  margin-top: 7px;
  font-size: 1.055em;
  line-height: 1.08;
  color: #c6e7ff;
}
.journey-hero--eu .journey-title-accent { color: #0072ce; }
@media (max-width: 760px) {
  .estonia-hero .estonia-title-accent,
  .journey-hero .journey-title-accent { margin-top: 5px; }
}
@media (max-width: 560px) {
  .estonia-hero .estonia-title-accent,
  .journey-hero .journey-title-accent { font-size: 1.09em; line-height: 1.13; }
}

/* Keep the EU page title together, retaining the bold / italic pairing. */
.journey-hero--eu .journey-title-main,
.journey-hero--eu .journey-title-accent {
  display: inline;
  margin-top: 0;
}
.guide-opening.journey-hero--eu h1 {
  white-space: nowrap;
  text-wrap: nowrap;
  overflow-wrap: normal;
}
.journey-hero--eu .journey-hero-copy { container-type: inline-size; }
html[lang="et"] .guide-opening.journey-hero--eu h1 {
  font-size: min(var(--guide-title-size), 10.5cqi);
}
