/**
 * E11_U01_1 – Nachrichten aus den Ferien.
 * 4 stolpci (Ort, Wetter, Aktivitäten, Essen) z flex in div.
 * Pod vsakim stolpcem ozadje background.png.
 */

.exercise-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

.columns-wrapper {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
  height: 28rem;
  flex-shrink: 0;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.column {
  flex: 0 0 18rem;
  width: 18rem;
  min-width: 18rem;
  max-width: 18rem;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0.35rem;
  border-radius: 0.5rem;
  background-image: url(background.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border: 0.1rem solid rgba(0, 105, 159, 0.3);
  box-sizing: border-box;
}

.column-header {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.column-icon {
  margin-bottom: 0.75rem;
  max-height: 2.5rem;
}

.column-icon img {
  max-width: 100%;
  max-height: 4.5rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.column-drops {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  align-items: center;
  margin-top: 1.5rem;
}

/* Drop – enaka velikost kot drag, višina za dvovrstično besedilo */
.column .drop_element {
  width: 12rem;
  min-width: 12rem;
  height: 2.6rem;
  min-height: 2.6rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0.15rem solid #F9B002;
  border-radius: 0.9rem;
  background-color: #fff;
  padding: 0 0.4rem;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.column .drop_element.dragover {
  background-color: rgba(249, 176, 2, 0.15);
}

.column .drop_element.correct {
  border-color: #258174;
  background-color: rgba(37, 129, 116, 0.1);
}

.column .drop_element.incorrect {
  border-color: #e00;
  background-color: rgba(255, 0, 0, 0.08);
}

.column .drop_element .drag_element {
  border: 0;
  background-color: transparent;
}

/* Drag elements – 2 vrsti po 6, ne prekrivata footerja */
.answers-container {
  display: grid;
  grid-template-columns: repeat(6, 12rem);
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  box-sizing: border-box;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.answers-container.dragover {
  background-color: rgba(0, 105, 159, 0.08);
}

/* Drag – zmanjšana širina, vsi enako visoki (dvovrstično besedilo) */
.drag_element {
  width: 12rem;
  min-width: 12rem;
  height: 2.6rem;
  min-height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  font-size: 1rem;
  user-select: none;
  padding: 0 0.5rem;
  box-sizing: border-box;
  background-color: #fff;
  border: 0.15rem solid #00699F;
  border-radius: 0.9rem;
  text-align: center;
}

/* Dvovrstični drag element – enaka višina kot enovrstični */
.drag_element.two-lines {
  flex-direction: column;
  justify-content: center;
  gap: 0;
}
.drag_element .drag-line {
  display: block;
  line-height: 1.2;
}

.drag_element.dragging {
  opacity: 0.5;
  cursor: grabbing;
}

.drag_element.correct {
  border-color: #258174;
}

.drag_element.incorrect {
  border-color: #e00;
}

@media (hover: none) {
  .drag_element {
    touch-action: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
}
