
/* Exercise Wrapper */
.exercise-wrapper {
  width: 68rem;
  display: flex;
  justify-content: center;
}

/* Exercise Container */
.exercise-container {
  width: 68rem;
  height: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  position: relative;
  overflow: hidden;
}

/* Questions Column */
.questions-column {
  width: 22rem;
  padding: 1rem;
  border-right: 0.125rem solid #00699F;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Question Group */
.question-group {
  margin-bottom: 1rem;
}

.question-group:last-child {
  margin-bottom: 0;
}

/* Question */
.question {
  font-size: 1.1rem;
  font-weight: bold;
  color: #00699F;
  margin-bottom: 0.25rem;
}

/* Answer */
.answer {
  font-size: 1rem;
  color: #333;
  padding-left: 1rem;
}

/* Food Gallery */
.food-gallery {
  width: 58rem;
  height: 36rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  gap: 0.5rem;
  padding: 0.5rem;
}

/* Gallery Items */
.gallery-item {
  overflow: hidden;
  border-radius: 0.25rem;
  border: 0.125rem solid #e0e0e0;
  position: relative;
}

.gallery-item::before {
  content: "";
  display: block;
  padding-top: 100%; /* Forces 1:1 aspect ratio */
}

.gallery-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Item Sizes */
.small {
  grid-column: span 3;
  grid-row: span 3;
}

.medium {
  grid-column: span 4;
  grid-row: span 4;
}

.large {
  grid-column: span 6;
  grid-row: span 6;
}

/* Specific Item Positions - Based on mockup */
.food-gallery .gallery-item:nth-child(1) {
  grid-column: 1 / span 4;
  grid-row: 1 / span 4;
}

.food-gallery .gallery-item:nth-child(2) {
  grid-column: 5 / span 3;
  grid-row: 1 / span 3;
}

.food-gallery .gallery-item:nth-child(3) {
  grid-column: 8 / span 5;
  grid-row: 1 / span 6;
}

.food-gallery .gallery-item:nth-child(4) {
  grid-column: 1 / span 3;
  grid-row: 5 / span 3;
}

.food-gallery .gallery-item:nth-child(5) {
  grid-column: 4 / span 3;
  grid-row: 5 / span 3;
}

.food-gallery .gallery-item:nth-child(6) {
  width:11.5rem;
  grid-column: 8 / span 4;
  grid-row: 7 / span 4;
}

.food-gallery .gallery-item:nth-child(7) {
  grid-column: 1 / span 3;
  grid-row: 8 / span 3;
}

.food-gallery .gallery-item:nth-child(8) {
  grid-column: 4 / span 4;
  grid-row: 8 / span 4;
}

.food-gallery .gallery-item:nth-child(9) {
  grid-column: 8 / span 3;
  grid-row: 11 / span 2;
}

.food-gallery .gallery-item:nth-child(10) {
  grid-column: 11 / span 2;
  grid-row: 7 / span 2;
}

.food-gallery .gallery-item:nth-child(11) {
  grid-column: 1 / span 3;
  grid-row: 11 / span 2;
}

.food-gallery .gallery-item:nth-child(12) {
  grid-column: 11 / span 2;
  grid-row: 9 / span 4;
}

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

/* Make audio recorder visible */
.audio_recorder {
  position: absolute;
  z-index: 100;
}

/* Disable footer for this exercise */
footer {
  display: none;
}

/* Remove responsive media queries - fixed layout */