/* ===================== QLC NEW DESIGN CARDS ===================== */
.program-card {
  border-radius: 20px;
  padding: 24px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 28px rgba(46, 42, 38, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}
.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(46, 42, 38, 0.16);
}
.program-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.program-card-title {
  margin: 0;
  color: #fff;
  font-family: 'Baloo 2', sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}
.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.card-btn {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 18px;
  padding: 9px 20px;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  font-size: 13px;
  transition: 0.2s ease;
  text-decoration: none;
}
.card-btn:hover {
  transform: translateY(-1px);
  opacity: 0.94;
}

/* Pillar Card */
.pillar-card {
  background: #fff;
  border-radius: 22px;
  padding: 32px 24px;
  box-shadow: 0 14px 32px rgba(46, 42, 38, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(46, 42, 38, 0.14);
}
.pillar-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-title {
  margin: 0;
  font-family: 'Baloo 2', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
}
.pillar-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ===================== GENERAL APP CARDS ===================== */
.card_gallery{display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 20px;}
.card_gallery > div{width: 100%; cursor: pointer;}
.card_gallery .cgItem > div:first-child{position: relative;}
.card_gallery .cgItem > div:first-child > div:first-child{padding-bottom: 70%; border-radius: 16px; background-color: var(--bg_silver); transition: var(--transition);}
.card_gallery .cgItem:hover > div:first-child > div:first-child{box-shadow: 0px 0px 0px 3px var(--purple);}
.card_gallery .cgItem > div:first-child > div:nth-child(2){position: absolute; bottom: 10px; left: 10px; padding: 3px 8px; min-width: 20px; text-align: center; background: var(--bg_white); border-radius: 6px; font-size: 11px; font-weight: bold; color: var(--text_black);}
.card_gallery .cgItem > div:nth-child(2){margin-top: 8px; font-weight: bold;}

.card_news{display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-gap: 20px;}
.card_news > a{width: 100%;}
.card_news .cnItem > div:first-child{padding-bottom: 60%; border-radius: 16px; background-color: var(--bg_silver);}
.card_news .cnItem > div:nth-child(2){margin-top: 8px;}
.card_news .cnItem > div:nth-child(2) > div:first-child{color: var(--text_silver);}
.card_news .cnItem > div:nth-child(2) > div:nth-child(2){margin-top: 3px; font-weight: bold;}

.card_class_grid{grid-template-columns: 1fr 1fr 1fr; grid-gap: 20px;}
.card_class_grid > a{background: var(--bg_white); height: 100%; border-radius: 16px; border: 1px solid var(--bg_line); box-shadow: var(--shadow); overflow: hidden; color: var(--text_black); transition: var(--transition);}
.card_class_grid > a:hover{transform: translateY(-4px); box-shadow: var(--shadow-card-hover);}
.card_class_grid .ccItem .ciCover > div{padding-bottom: 40%; background-color: var(--bg_silver);}
.card_class_grid .ccItem .ciBody{padding: 15px;}
.card_class_grid .ccItem .ciBody > div:first-child{font-weight: bold; font-size: 16px;}
.card_class_grid .ccItem .ciBody > div:nth-child(2){margin-top: 5px; height: 125px; overflow: hidden; color: var(--ink-soft); line-height: 1.5;}
.card_class_grid .ccItem .ciBtn{padding: 10px 15px 15px;}
.card_class_grid .ccItem .ciBtn button{width: 100%;}

.card_course_resource{padding: 15px;}
.card_course_resource > div{padding: 12px 16px; border-radius: 14px; display: grid; grid-gap: 15px; grid-template-columns: 15px 1fr 15px; align-items: center; border: 1px solid var(--bg_line);}
.card_course_resource > div:nth-child(odd){background: var(--bg_white);}
.card_course_resource > div:nth-child(even){background: var(--bg_silversoft);}
.card_course_resource > div:not(:last-child){margin-bottom: 15px;}
.card_course_resource > div > div{width: 100%;}
.card_course_resource > div > div:first-child > div{width: 15px; height: 15px; background: var(--purple); border-radius: 4px;}
.card_course_resource > div > div:nth-child(3) > div{width: 15px; height: 15px;}

.card_hzl_course {
  overflow-x: auto;
  position: relative;
  width: 100%;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.card_hzl_course::-webkit-scrollbar {
  display: none;
}

.card_hzl_course .cnt_card {
  display: inline-block;
  white-space: nowrap;
  font-size: 0;
  padding: 0;
  margin: 0;
}

.card_hzl_course .cnt_card > a {
  display: inline-block;
  vertical-align: top;
  font-size: 13px;
  width: 240px;
  margin-right: 20px;
  text-decoration: none;
  color: var(--text_black);
}

.card_hzl_course .cnt_card > a:last-child {
  margin-right: 0;
}

.card_hzl_course .cnt_card > a .chcItem {
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--bg_line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: var(--bg_white);
  overflow: hidden;
}
.card_hzl_course .cnt_card > a .chcItem:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card_hzl_course .cnt_card .chcItem .ciCover > div {
  padding-bottom: 60%;
  background-color: var(--bg_silvercalm);
  position: relative;
  border-radius: 16px 16px 0 0;
  background-size: cover;
  background-position: center;
}

.card_hzl_course .cnt_card .chcItem .ciBody {
  padding: 14px;
  white-space: normal;
}
.card_hzl_course .cnt_card .chcItem .ciBody > div:first-child{font-family: 'bold'; font-size: 15px;}

.card_hzl_course:hover .scroll_card {
  opacity: 1;
}

.card_class_resource{padding: 15px; grid-template-columns: 1fr 1fr; grid-gap: 15px;}
.card_class_resource .ccrItem{grid-template-columns: 1fr 15px; background: var(--bg_white); padding: 12px 16px; border-radius: 14px; box-sizing: border-box; border: 1px solid var(--bg_line); box-shadow: var(--shadow);}
.card_class_resource .ccrItem > div:nth-child(2) > div{width: 15px; height: 15px;}

.card_class_report{margin: 15px;}
.card_class_report > div{padding: 18px; border-radius: 16px; background: var(--bg_white); border: 1px solid var(--bg_line); box-shadow: var(--shadow);}
.card_class_report > div:not(:last-child){margin-bottom: 15px;}
.card_class_report .ccrStar{margin-top: 10px;}
.card_class_report .ccrStar > div{display: inline-block; width: 20px; height: 20px;}
.card_class_report .ccrStar > div:not(:last-child){margin-right: 3px;}

.card_class_schedule{padding: 15px; grid-template-columns: 1fr 1fr; grid-gap: 15px; align-items: start;}
.card_class_schedule .ccsItem{grid-template-columns: 25px 1fr 15px; background: var(--bg_white); padding: 12px 16px; border-radius: 14px; box-sizing: border-box; border: 1px solid var(--bg_line); box-shadow: var(--shadow);}
.card_class_schedule .ccsItem > div::first-child{text-align: center; font-family: 'bold'; color: var(--purple);}
.card_class_schedule .ccsItem > div:nth-child(3) > div{width: 15px; height: 15px; transition: var(--transition);}
.card_class_schedule .ccsItem .rotated{rotate: -45deg;}
.card_class_schedule .ccsPreview{padding: 15px; display: none;}
.card_class_schedule .ccsPreview > div:first-child{font-weight: bold; margin-bottom: 10px;}

.card_course_class{padding: 15px;}
.card_course_class > div{padding: 12px 16px; border-radius: 14px; display: grid; grid-gap: 15px; grid-template-columns: 15px 1fr 15px; align-items: center; border: 1px solid var(--bg_line);}
.card_course_class > div:nth-child(odd){background: var(--bg_white);}
.card_course_class > div:nth-child(even){background: var(--bg_silversoft);}
.card_course_class > div:not(:last-child){margin-bottom: 15px;}
.card_course_class > div > div{width: 100%;}
.card_course_class > div > div:first-child{text-align: center; font-weight: bold; color: var(--purple);}
.card_course_class > div > div:nth-child(3) > div{width: 15px; height: 15px;}

.card_course_class_list{padding: 0px 15px 15px 15px;}
.card_course_class_list > div:not(:last-child){margin-bottom: 15px;}
.card_course_class_list .clItem{padding: 14px; border-radius: 16px; background: var(--bg_white); border: 1px solid var(--bg_line); box-shadow: var(--shadow);}
.card_course_class_list .clItem .ciHead{grid-template-columns: 35px 1fr; margin-bottom: 15px;}
.card_course_class_list .clItem .ciHead > div:first-child > div{padding-bottom: 100%; border-radius: 50%; background-color: var(--bg_silvercalm);}
.card_course_class_list .clItem .ciHead > div:nth-child(2){text-align: right; color: var(--purple); font-family: 'bold';}
.card_course_class_list .clItem .ciTitle{font-size: 17px;}

.card_schedule_date{display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 15px;}
.card_schedule_date > div{width: 100%; cursor: pointer; padding: 12px 0px; border-radius: 14px; transition: var(--transition); background: var(--bg_silvercalm); box-sizing: border-box; text-align: center; border: 1px solid transparent;}
.card_schedule_date > div:hover{box-shadow: inset 0px 0px 0px 2px var(--purple);}
.card_schedule_date > div.active{background: var(--bg_pinksoft); box-shadow: inset 0px 0px 0px 2px var(--purple);}
.card_schedule_date > div > div:first-child{font-weight: bold; color: var(--purple);}

.card_schedule_time > div{width: 100%; cursor: pointer; padding: 12px 16px; border-radius: 14px; transition: var(--transition); background: var(--bg_silvercalm); box-sizing: border-box; color: var(--purple); border: 1px solid transparent;}
.card_schedule_time > div:not(:last-child){margin-bottom: 15px;}
.card_schedule_time > div:hover{box-shadow: inset 0px 0px 0px 2px var(--purple);}
.card_schedule_time > div.active{background: var(--bg_pinksoft); box-shadow: inset 0px 0px 0px 2px var(--purple);}
.card_schedule_time .cstHead{margin-bottom: 5px;}
.card_schedule_time .cstHead > div:first-child{font-weight: bold;}
.card_schedule_time .cstHead > div:nth-child(2){color: var(--text_silver);}
.card_schedule_time .cstTime{padding: 5px 12px; border-radius: 8px; border: 1px solid var(--bg_line); display: inline-block; background: var(--bg_white);}

.card_testi{display: grid; grid-template-columns: 1fr 1fr; grid-gap: 25px;}
.card_testi > div{width: 100%; box-sizing: border-box; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--bg_line);}
.card_testi > div:nth-child(odd){background: var(--bg_white);}
.card_testi > div:nth-child(even){background: var(--bg_silversoft);}
.card_testi .ctItem{display: grid; grid-template-columns: 130px 1fr; grid-gap: 15px; align-items: center;}
.card_testi .ctItem > div{width: 100%; box-sizing: border-box;}
.card_testi .ctItem > div:first-child{height: 100%; position: relative;}
.card_testi .ctItem > div:first-child > div{position: absolute; border-radius: 20px; top: 0px; left: 0px; width: 100%; height: 100%;}
.card_testi .ctItem > div:nth-child(2){padding: 16px 16px 16px 0px;}
.card_testi .ctItem .ciHead > div{width: 100%;}
.card_testi .ctItem .ciHead .chName > div:first-child{font-weight: bold; font-size: 15px;}
.card_testi .ctItem .ciHead .chName > div:nth-child(2){font-size: 13px; color: var(--ink-soft);}
.card_testi .ciContent{height: 160px; overflow: hidden; position: relative; font-size: 14px; line-height: 1.6; color: var(--ink-soft); margin-top: 8px;}
.card_testi .ciContent::before{content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; pointer-events: none; visibility: hidden;}
.card_testi > div:nth-child(odd) .ciContent::before{background: linear-gradient(to bottom, transparent 0%, var(--bg_white) 100%);}
.card_testi > div:nth-child(even) .ciContent::before{background: linear-gradient(to bottom, transparent 0%, var(--bg_silversoft) 100%);}
.card_testi .ciContent.show-before::before{visibility: visible;}
.card_testi .ctItem.max{align-items: start;}
.card_testi .ctItem.max .ciContent{height: auto; overflow: unset;}
.card_testi .ctItem.max .ciContent::before{opacity: 0;}

.card_class > a:not(:last-child) > div{margin-bottom: 15px;}
.card_class .ccItem{color: var(--text_black); padding: 12px 16px; border: 1px solid var(--bg_line); display: grid; border-radius: 16px; grid-template-columns: 140px 1fr; grid-gap: 15px; background: var(--bg_white); box-shadow: var(--shadow);}
.card_class .ccItem > div{width: 100%;}
.card_class .ccItem > div:first-child > div{padding-bottom: 60%; border-radius: 12px; background-color: var(--bg_silvercalm);}
.card_class .ccItem .ciDesc > div:first-child{font-size: 12px; color: var(--ink-soft);}
.card_class .ccItem .ciDesc > div:nth-child(2){font-family: 'bold'; font-size: 15px;}

.card_class_list > div:not(:last-child){margin-bottom: 15px;}
.card_class_list .cclItem{background: var(--bg_white); border-radius: 16px; padding: 20px; cursor: pointer; transition: var(--transition); border: 1px solid var(--bg_line); box-shadow: var(--shadow);}
.card_class_list .cclItem:hover{border-color: var(--purple); box-shadow: var(--shadow-card-hover); transform: translateY(-2px);}
.card_class_list .cclItem .piTitle{font-size: 20px; font-weight: bold; font-family: 'Baloo 2', sans-serif;}
.card_class_list .cclItem .piDate{color: var(--text_silver); font-size: 13px;}
.card_class_list .cclItem .piList{margin-top: 8px; margin-bottom: 8px;}
.card_class_list .cclItem .piList > div{display: grid; grid-template-columns: 120px 1fr; align-items: center;}
.card_class_list .cclItem .piList > div > div{width: 100%;}
.card_class_list .cclItem .piList span.plTime{padding: 3px 8px; font-size: 12px; border-radius: 6px; margin: 3px; background: var(--bg_silvercalm);}
.card_class_list .cclItem .piPrice{display: grid; grid-template-columns: 120px 1fr; margin-top: 8px;}
.card_class_list .cclItem .piPrice > div{width: 100%;}
.card_class_list .cclItem .piPrice > div:nth-child(2){text-align: right; font-weight: bold; color: var(--purple);}
.card_class_list .cclItem .piBtn{margin-top: 15px;}
.card_class_list .cclItem .piBtn button{width: 120px;}

.card_class_full .ccfItem{border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 333px 1fr; border: 1px solid var(--bg_line); color: var(--text_black); background: var(--bg_white); box-shadow: var(--shadow);}
.card_class_full .ccfItem > div{width: 100%;}
.card_class_full .ccfItem .ciCover{padding-bottom: 42%; background-color: var(--bg_silvercalm); position: relative;}
.card_class_full .ccfItem .ciCover > div{position: absolute; top: 10px; left: 10px; padding: 6px 14px; border-radius: 999px; background: var(--purple); color: var(--text_white); font-size: 12px; font-weight: 700;}
.card_class_full .ccfItem .ciBox{padding: 16px;}
.card_class_full .ccfItem .ciBox .cbTitle > div:first-child{font-family: 'bold'; margin-bottom: 4px; font-size: 18px;}
.card_class_full .ccfItem .ciBox .cbTitle > div:nth-child(2){margin-bottom: 4px;}
.card_class_full .ccfItem .ciBox .cbDesc{color: var(--ink-soft); height: 24px; overflow: hidden; font-size: 14px;}
.card_class_full .ccfItem .ciLive{padding: 0px 16px 16px 16px;}
.card_class_full .ccfItem .ciLive > div{display: inline-block;}
.card_class_full .ccfItem .ciLive > div:first-child{padding: 5px 12px; border-radius: 999px; background: var(--purple); color: var(--text_white); font-size: 12px; font-weight: 700;}
.card_class_full .ccfItem .ciLive > div:first-child.ACTIVE{background: var(--green-deep);}
.card_class_full .ccfItem .ciLive > div:not(:last-child){margin-right: 15px;}

.card_voucher{border-radius: 16px; overflow: hidden; border: 1px solid var(--bg_line); background: var(--bg_white); box-shadow: var(--shadow);}
.card_voucher > div{padding: 14px 18px; cursor: pointer;}
.card_voucher > div:not(:last-child){border-bottom: 1px solid var(--bg_line);}
.card_voucher .cvCode{font-weight: bold; color: var(--purple);}
.card_voucher .cvDetail{border-radius: 10px; margin: 8px 0px; padding: 12px; background: var(--bg_silvercalm); font-size: 13px;}
.card_voucher .cvDate{font-size: 12px; color: var(--text_silver);}