/* Font from project assets */
@font-face {
  font-family: 'League Spartan';
  src: url('../assets/fonts/LeagueSpartan-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Exercise Wrapper – reserve right space, center content vertically */
.exercise-wrapper {
  width: 100%;
  max-width: 80rem;
  min-height: 100%;
  margin: 0 auto;
  position: relative;
  padding: 1.5rem 1rem;
  padding-right: 14rem;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.stufe-label {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #00699F;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1.25rem 0;
}

/* Pronunciation text block – larger, centered, full border */
.pronunciation-text {
  font-family: 'League Spartan', sans-serif;
  background-color: #fff;
  border-radius: 0.6rem;
  border: 0.1rem solid #e0e8ee;
  border-left: 0.1rem solid #e0e8ee;
  box-sizing: border-box;
  box-shadow: 0 0.15rem 0.4rem rgba(0, 0, 0, 0.06);
  padding: 2rem 2.5rem;
  max-width: 58rem;
  width: 100%;
}

.phrase-line {
  font-size: 1.55rem;
  line-height: 2.4;
  color: #1a1a1a;
  margin: 0;
}

.phrase-line + .phrase-line {
  margin-top: 0.35rem;
}

.phrase {
  white-space: nowrap;
}

.phrase-sep {
  margin: 0 0.75rem;
  color: #00699F;
  font-weight: 500;
  user-select: none;
}

/* Stressed letter – bold + underline (like reference image) */
.stress {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.18em;
  text-decoration-color: #00699F;
}

/* Stressed letter – bold + underline (e.g. capitals) */
.stress-strong {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.18em;
  text-decoration-color: #00699F;
}

/* Stressed letter – dot below + bold (e.g. Bergen, Tante, Onkel, Hans) */
.stress-dot {
  position: relative;
  font-weight: 700;
}

.stress-dot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.4em;
  transform: translateX(-50%);
  width: 0.25em;
  height: 0.25em;
  border-radius: 50%;
  background-color: #00699F;
}

/* Hide */
.hidden {
  display: none;
}

footer {
  display: none;
}

@media (max-width: 48rem) {
  .exercise-wrapper {
    padding: 1rem;
    padding-right: 8rem;
    justify-content: center;
  }

  .stufe-label {
    font-size: 1.05rem;
    margin-bottom: 1rem;
  }

  .pronunciation-text {
    padding: 1.25rem 1.5rem;
  }

  .phrase-line {
    font-size: 1.2rem;
    line-height: 2.2;
  }

  .phrase {
    white-space: normal;
  }

  .phrase-sep {
    margin: 0 0.5rem;
  }
}
