/* v21 · 3개 교육 카드만 재설계. 기존 20차의 !important 규칙을 안전하게 덮어씁니다.
   날씨 위젯, 협회 소개문, 메인배너, 운영과정 표는 수정하지 않습니다. */

/* Ref design: 세이지 / 웜 크림 / 파스텔 핑크 카드 */
#main .weather-showcase.quick-access-row .quick-program-grid > a.program-hobby {background:#eff3ee !important;}
#main .weather-showcase.quick-access-row .quick-program-grid > a.program-cert {background:#f8f5ee !important;}
#main .weather-showcase.quick-access-row .quick-program-grid > a.program-teach {background:#f6eeef !important;}

/* 섬세한 테두리, 3장 균등 배치 */
#main .weather-showcase.quick-access-row .quick-program-grid {
  gap:clamp(9px,1.05vw,16px) !important;
  align-items:stretch;
}
#main .weather-showcase.quick-access-row .quick-program-grid > a.program-card {
  position:relative !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  width:100% !important;
  min-width:0 !important;
  height:132px !important;
  min-height:132px !important;
  max-height:none !important;
  padding:16px 60px 15px 19px !important;
  border:1px solid #dde2d9 !important;
  border-radius:18px !important;
  gap:0 !important;
  box-shadow:none !important;
  font-family:'Apple SD Gothic Neo','Pretendard','Noto Sans KR','Malgun Gothic',system-ui,sans-serif;
  text-decoration:none !important;
  overflow:hidden !important;
}

/* 01 / ENJOY ART 등 원본 영문 라벨 완전히 복원 */
#main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .card-number {
  position:static !important;
  display:block !important;
  flex:0 0 auto !important;
  margin:0 0 12px !important;
  color:#b5795d !important;
  font-family:Arial,Helvetica,sans-serif !important;
  font-size:clamp(10px,.9vw,13px) !important;
  font-weight:800 !important;
  line-height:1.1 !important;
  letter-spacing:.075em !important;
  white-space:nowrap !important;
}
#main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .card-number span {
  display:inline !important; visibility:visible !important;
  font-size:inherit !important;
  font-weight:inherit !important;
  letter-spacing:inherit !important;
  padding:0 !important;
  white-space:nowrap !important;
}

/* 제목/설명은 같은 왼쪽 시작점, 과도한 상하 정렬 제거 */
#main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy {
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  flex:0 1 auto !important;
  gap:6px !important;
  margin:0 !important;
  min-height:0 !important;
  width:100% !important;
  max-width:100% !important;
  padding:0 !important;
}
#main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy strong {
  display:block !important;
  font-size:clamp(21px,1.85vw,28px) !important;
  font-weight:800 !important;
  letter-spacing:-.055em !important;
  line-height:1.16 !important;
  color:#2b4939 !important;
  white-space:nowrap;
}
#main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-description {
  display:block !important;
  overflow:visible !important;
  -webkit-line-clamp:unset !important;
  line-clamp:unset !important;
  font-size:clamp(11px,.98vw,14px) !important;
  font-weight:400 !important;
  letter-spacing:-.035em !important;
  line-height:1.4 !important;
  color:#758176 !important;
  word-break:keep-all !important;
  overflow-wrap:break-word !important;
}
#main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .arrow-circle {
  position:absolute !important;
  left:auto !important;
  top:50% !important;
  bottom:auto !important;
  right:13px !important;
  display:grid !important;
  place-items:center !important;
  width:44px !important;
  height:44px !important;
  flex:0 0 44px !important;
  border-radius:50% !important;
  border:1.5px solid #d4ded3 !important;
  background:#fbfcf9 !important;
  color:#426e56 !important;
  font-family:'Apple SD Gothic Neo',Arial,sans-serif !important;
  font-size:26px !important;
  font-weight:300 !important;
  line-height:1 !important;
  transform:translateY(-50%) !important;
}

/* 좁은 PC에서는 세 박스의 정보가 잘리지 않도록 배치만 비례 축소 */
@media (min-width:961px) and (max-width:1230px) {
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card {
    height:119px !important; min-height:119px !important;
    padding:13px 44px 12px 12px !important;
    border-radius:14px !important;
  }
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .card-number{
    font-size:10px !important; letter-spacing:.01em !important; margin-bottom:10px !important;
  }
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy{gap:5px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy strong {font-size:19px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-description {font-size:11px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .arrow-circle {
    width:32px !important; height:32px !important; flex-basis:32px !important;
    right:8px !important; font-size:22px !important;
  }
}
/* 태블릿에서 날씨는 윗줄, 카드 세 개는 가로 배열 */
@media (min-width:651px) and (max-width:960px) {
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card {
    height:120px !important; min-height:120px !important;
    padding:13px 46px 12px 14px !important;
    border-radius:15px !important;
  }
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .card-number {font-size:10.5px !important;margin-bottom:10px !important;letter-spacing:.04em !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy strong {font-size:20px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-description {font-size:11px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .arrow-circle {width:35px !important;height:35px !important;flex-basis:35px !important;right:8px !important;font-size:22px !important;}
}
/* 모바일에서는 세로 카드로, 원본 3행과 원형 화살표를 그대로 유지 */
@media (max-width:650px) {
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card {
    height:108px !important; min-height:108px !important; max-height:none !important;
    padding:14px 69px 13px 18px !important;
    border-radius:15px !important;
  }
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .card-number{
    font-size:11px !important; margin-bottom:9px !important; letter-spacing:.055em !important;
  }
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy {gap:4px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy strong{font-size:21px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-description {font-size:12px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .arrow-circle {
    width:43px !important;height:43px !important;flex-basis:43px !important;
    right:15px !important;font-size:26px !important;
  }
}
@media (max-width:355px) {
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card {padding-left:13px !important;padding-right:63px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .card-number{font-size:10px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-copy strong{font-size:20px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .quick-card-description{font-size:11px !important;}
  #main .weather-showcase.quick-access-row .quick-program-grid > a.program-card .arrow-circle {right:12px !important;width:39px !important;height:39px !important;flex-basis:39px !important;}
}
