/* شاین متحرک بنر ثبت‌نام */
.rank-preregister-strip__shine,
.rank-preregister-strip__dots {
  display: none !important;
}

/* آیپد: چیدمان مثل دسکتاپ (اسلایدر کنار کارت‌ها)
   قاب اسلایدر همان نسبت بنر (۱۰۲۴×۶۸۲) تا تصویر کامل داخل کادر بنشیند */
@media (min-width: 768px) and (max-width: 1366px) {
  .container:has(.hero-slider-maz) > .grid {
    display: grid !important;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  .hero-row-lg,
  .hero-slider-maz,
  .hero-promo-column {
    height: auto !important;
    min-height: 0 !important;
    grid-column: auto !important;
  }

  .hero-slider-maz--fit {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    align-self: start !important;
    width: 100% !important;
    aspect-ratio: 1024 / 682 !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .hero-promo-column {
    grid-column: 2 / 3 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-self: stretch !important;
    /* ارتفاع ردیف را بنر مشخص می‌کند؛ کارت‌ها داخل همان قاب می‌مانند */
    height: 0 !important;
    min-height: 100% !important;
    overflow: hidden !important;
  }

  .hero-promo-column > a {
    flex: 1 1 0% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  .hero-slider-maz--fit .hero-slider-embla {
    position: absolute !important;
    inset: 0 !important;
    height: 100% !important;
  }

  .hero-slider-maz--fit .hero-slider-embla > .flex {
    height: 100% !important;
    align-items: stretch !important;
  }

  .hero-slider-maz--fit .hero-slide-cell {
    height: 100% !important;
  }

  .hero-slider-maz--fit .hero-slide-cell > div:first-child {
    display: none !important;
  }

  .hero-slider-maz--fit .hero-slide-cell > div.hidden {
    display: block !important;
    position: relative !important;
    height: 100% !important;
    width: 100% !important;
  }

  .hero-slide-image {
    object-fit: cover !important;
  }
}

/* قبولی‌های ۱۴۰۳: فیروزه‌ای — سایه دسکتاپ بنفش را override می‌کند */
.samples-student-card--year-1403 {
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.12) !important;
}

@media (min-width: 640px) {
  .samples-student-card--year-1403 {
    box-shadow:
      0 4px 16px rgba(13, 148, 136, 0.18),
      0 1px 3px rgba(13, 148, 136, 0.1) !important;
  }
}

.samples-year-section--1403 h2 {
  color: #0f766e !important;
}

.samples-results-panel:has(.samples-year-section--1403):not(:has(.samples-year-section--1404)) {
  border-color: rgba(13, 148, 136, 0.22) !important;
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.98) 0%, #ccfbf1 100%) !important;
}

.samples-results-panel:has(.samples-year-section--1403):not(:has(.samples-year-section--1404)) p {
  color: #0f766e !important;
}
