/* 51차 | 모바일 메인배너 아래 3개 교육과정 카드를 1행 가로형으로 재구성 */

@media (max-width: 650px) {
  #main .weather-showcase.quick-access-row .quick-program-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card {
    height: 92px !important;
    min-height: 92px !important;
    padding: 8px 8px 10px !important;
    border-radius: 14px !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    border-color: rgba(214, 220, 212, .95) !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .card-number {
    display: block !important;
    margin: 0 0 6px !important;
    font-size: 8.2px !important;
    line-height: 1.1 !important;
    letter-spacing: .045em !important;
    color: #b5795d !important;
    white-space: nowrap !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .card-number span {
    display: none !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy {
    width: 100% !important;
    gap: 0 !important;
    padding: 0 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy strong {
    font-size: 14px !important;
    line-height: 1.28 !important;
    letter-spacing: -.055em !important;
    font-weight: 720 !important;
    white-space: normal !important;
    word-break: keep-all !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-description {
    display: none !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .arrow-circle {
    width: 22px !important;
    height: 22px !important;
    flex-basis: 22px !important;
    right: 8px !important;
    top: 8px !important;
    transform: none !important;
    font-size: 13px !important;
    border-width: 1px !important;
    background: rgba(255,255,255,.72) !important;
    color: #496c59 !important;
  }
}

@media (max-width: 390px) {
  #main .weather-showcase.quick-access-row .quick-program-grid {
    gap: 7px !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card {
    height: 88px !important;
    min-height: 88px !important;
    padding: 8px 7px 8px !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .card-number {
    font-size: 7.7px !important;
    margin-bottom: 5px !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy strong {
    font-size: 13px !important;
    line-height: 1.24 !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .arrow-circle {
    width: 20px !important;
    height: 20px !important;
    flex-basis: 20px !important;
    right: 7px !important;
    top: 7px !important;
    font-size: 12px !important;
  }
}

@media (max-width: 340px) {
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card {
    height: 84px !important;
    min-height: 84px !important;
    padding: 7px 6px 7px !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .card-number {
    font-size: 7.2px !important;
    margin-bottom: 4px !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy strong {
    font-size: 12px !important;
  }

  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .arrow-circle {
    width: 18px !important;
    height: 18px !important;
    flex-basis: 18px !important;
    right: 6px !important;
    top: 6px !important;
    font-size: 11px !important;
  }
}
