.schedule-importer-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.schedule-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  row-gap: 25px;
  margin-bottom: 30px;
}

.schedule-item {
  width: 150px;
  text-align: center;
}

.schedule-item img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
  cursor: zoom-in;
}

/* ==== Two-column front-end layout ==== */
.schedule-importer-block-layout {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 15px;
}

.schedule-importer-left {
  flex: 1 1 60%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.schedule-importer-right {
  flex: 1 1 35%;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.schedule-importer-block-item img {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: zoom-in;
}

.schedule-importer-title {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: left;
  color: #222;
}

/* ==== Popup ==== */
.schedule-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.schedule-popup-image {
  max-width: 70%;
  max-height: 70%;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
  .schedule-importer-block-layout {
    flex-direction: column;
  }
  .schedule-importer-right {
    order: -1;
    text-align: left;
  }
}
