/* 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 – gallery left, speech-bubble right next to recorder */
.exercise-wrapper {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  position: relative;
  padding: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

/* Activity gallery – 3 slike + mikrofon / 4 slike */
.activity-gallery {
  font-family: 'League Spartan', sans-serif;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 68rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  border: 0.1rem solid #e0e8ee;
  aspect-ratio: 3 / 2;
  background-color: #f5f8fa;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-recorder-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
}

.gallery-recorder-slot .audio_recorder {
  position: static !important;
  left: auto !important;
  top: auto !important;
  justify-content: center;
}

/* Speech bubble (Redemittel) – right of gallery */
.speech-bubble {
  font-family: 'League Spartan', sans-serif;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  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);
  max-width: 20rem;
  min-width: 16rem;
  align-self: center;
}

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

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

footer {
  display: none;
}
