/* 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 so audio recorder never overlaps content */
.exercise-wrapper {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
  padding: 1rem;
  padding-right: 14rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Vocabulary list: 2 rows, 5 items per row (stays clear of recorder) */
.vocab-list {
  font-family: 'League Spartan', sans-serif;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  justify-items: center;
  gap: 0.5rem 1rem;
  width: 100%;
  max-width: 48rem;
}

.vocab-item {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: #00699F;
  background-color: #f0f6fa;
  padding: 0.35rem 0.75rem;
  border-radius: 0.35rem;
  white-space: nowrap;
}

/* Illustration block – no background */
.illustration-block {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

.room-illustration {
  width: 100%;
  max-width: 55rem;
  max-height: 22rem;
  object-fit: contain;
  border-radius: 0.5rem;
  background: transparent;
}

/* Speech bubble (bottom) – 2 columns */
.speech-bubble {
  font-family: 'League Spartan', sans-serif;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  background-color: #fff8e6;
  border: 0.2rem solid #f9b000;
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 0.1rem 0.3rem rgba(0, 0, 0, 0.08);
  width: 100%;
  max-width: 55rem;
  box-sizing: border-box;
}

.bubble-line {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
  margin: 0.35rem 0;
}

.bubble-line:first-child {
  margin-top: 0;
}

.bubble-line:last-child {
  margin-bottom: 0;
}

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

/* Hide footer */
footer {
  display: none;
}

