.inner {
  width: 1200px;
  margin: 0 auto;
}
/* ¦¡ ·¹ÀÌ¾Æ¿ô ¦¡ */
.instructor-container {
  display: flex;
  max-width: 1200px;
  min-height: 580px;
  margin: 40px auto;
}

/* ¦¡ ÁÂÃø ³×ºñ°ÔÀÌ¼Ç ¦¡ */
.course-sidebar {
  width: 200px;
}
.course-sidebar h2 {
  padding: 24px 0;
  text-align: center;
  background-color: #1c4b84;
  font-size: 18px;
  color: #fff;
  border-radius: 15px 15px 0 0;
}
.course-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #e5e5e5;
  border-radius: 0 0 15px 15px;
  overflow: hidden;
}
.course-nav-item {
  border-bottom: 1px solid #e5e5e5;
}
.course-nav-item:last-child {
  border-bottom: none;
}

.course-nav-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
  height: 55px;
  line-height: 55px;
}
.course-nav-btn a {
  width: 100%;
  display: inline-block;
  padding: 0px 10px 0 15px;
}
.course-nav-btn a span:first-child {
  width: 85%;
  display: inline-block;
}

.course-arrow {
  display: inline-block;
  transition: transform 0.2s;
  margin-right: 13px;
}

.course-nav-item.open .course-arrow {
  transform: rotate(90deg);
}

.course-submenu {
  list-style: none;
  display: none;
  padding: 8px 0;
  border-top: 1px solid #e1e1e1;
}

.course-submenu li {
  padding: 7px 14px;
  font-size: 14px;
  cursor: pointer;
}

.course-submenu li::before {
  content: "\F2EA";
  font-family: "bootstrap-icons";
  color: #000;
  margin-right: 5px;
}

.course-nav-item.open .course-submenu {
  display: block;
}

/* ¦¡ ¿ìÃø ÄÜÅÙÃ÷ ¦¡ */
.instructor-content {
  flex: 1;
  /* width: 1033px; */
  padding: 0 0 0 40px;
}
.instructor_header {
  width: 960px;
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid #d1d1d1;
  margin-bottom: 15px;
  padding: 10px 0 10px 0;
}
.es-cart-breadcrumb {
  font-size: 12px;
  color: #858f9a;
  float: right;
  margin-top: 10px;
}
.es-cart-breadcrumb a {
  color: #666;
  text-decoration: none;
}
.es-cart-breadcrumb .sep {
  margin: 0 6px;
  color: #aaa;
}

.instructor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

/* ¦¡¦¡¦¡ Ä«µå ÄÁÅ×ÀÌ³Ê ¦¡¦¡¦¡ */
.teacher-card {
  width: 470px;
  height: 207px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ¦¡¦¡¦¡ »ó´Ü ¸ÞÀÎ ¿µ¿ª (ÀÌ¹ÌÁö + ÅØ½ºÆ®) ¦¡¦¡¦¡ */
.teacher-card__main {
  display: flex;
  position: relative;
  height: 170px;
}

/* ÀÌ¹ÌÁö ¿µ¿ª */
.teacher-card__image {
  flex: 0 0 180px; /* ÀÌ¹ÌÁö ³Êºñ */
}
.teacher-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translate(15px, 0px);
}

/* ÅØ½ºÆ® ¿µ¿ª */
.teacher-card__content {
  min-width: 0; /* ¡ç flex ¾ÆÀÌÅÛÀÌ ÁÙ¾îµé ¼ö ÀÖ°Ô */
  flex: 1;
  padding: 24px 16px 16px 40px;
  display: flex;
  flex-direction: column;
}

/* ¿ìÃø »ó´Ü ·¹ÀÌºí */
.teacher-card__label {
  padding: 0 8px;
  /* width: 60px;
  height: 23px; */
  line-height: 23px;
  text-align: center;
  position: absolute;
  top: 16px;
  right: 16px;
  color: #fff;
  font-size: 12px;
  border-radius: 12px 12px 12px 0;
  /* background: #336EFF; */
  /* padding: 4px 10px; */
}

/* ÀÌ¸§ */
.teacher-card__name {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  color: #000;
}

/* ÅÂ±× */
.teacher-card__tags {
  max-width: 100%;
  margin-top: 10px;
  display: flex;
  gap: 5px;
  flex-wrap: nowrap;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.teacher-card__tags::-webkit-scrollbar {
  height: 2px;
}
.teacher-card__tags::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}
.teacher-card__tags::-webkit-scrollbar-track {
  background-color: transparent;
}
.teacher-card__tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border: 1px solid #336eff;
  border-radius: 12px;
  color: #336eff;
  white-space: nowrap;
}

/* ±¸ºÐ¼± */
.teacher-card__divider {
  margin: 10px 0;
  border: none;
  border-bottom: 1px dotted #ccc;
}

/* ¼³¸í */
.teacher-card__description {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.3;
  flex: 1;
}

/* ¦¡¦¡¦¡ ÇªÅÍ ¹öÆ° ¦¡¦¡¦¡ */
.teacher-card__footer a {
  display: block;
  width: 100%;
  text-align: right;
  padding: 8px 16px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-radius: 0 0 12px 12px;
}

.teacher-card__footer a::after {
  content: ">";
  margin-left: 10px;
}

/* Àü°øº° Ä«µå »ö */
.it-card {
  background-color: #f6f6f6;
}
.busi-card {
  /* background-color: #f6f6f6; */
  background-color: #56539709;
}
.math-card {
  /* background-color: #ecf8f2; */
  background-color: #2a8ba510;
}

.it-footer a,
.it-label {
  /* background-color: #1c4b83; */
  background-color: #1a3c72;
}
.busi-footer a,
.busi-label {
  /* background-color: #3366ff; */
  background-color: #8b0000;
}

.math-footer a,
.math-label {
  /* background-color: #18814d; */
  background-color: #014421;
}

.it-tag {
  border: 1px solid #1a3c72;
  color: #1a3c72;
}
.busi-tag {
  border: 1px solid #800020;
  color: #800020;
}
.math-tag {
  border: 1px solid #014421;
  color: #014421;
}

/* prof_detail============================================== */

.prof_sec1 img {
  width: 100%;
}

.prof_sec2 {
  height: 850px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
}

.prof_sec2 img {
  width: 90%;
  height: auto;
}

.prof_sec3 {
  height: 850px;
  padding: 50px 0;
}
.prof_sec3 > img {
  width: 90%;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.video-container {
  position: relative;
  width: 1200px;
  margin: 0 auto;
}

.video-thumb {
  position: relative;
}

.thumb-img {
  width: 80%;
  display: block;
  border-radius: 8px;
  margin: 0 auto;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  cursor: pointer;
  font-size: 50px;
  color: #1c4b84;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.3s;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.video-hidden {
  display: none;
  border-radius: 8px;
}

.prof_sec4 {
  height: 850px;
  background: url(/image/prof_sec4_bg.jpg) no-repeat right center;
  background-size: cover;
}

.prof_sec4 img {
  width: 90%;
  margin: 0 auto;
  display: block;
  text-align: center;
}
.title_line {
  border: 1px solid #bababa;
  width: 1060px;
  margin: 0 auto;
}

/* ¼½¼Ç ¹è°æ */
.review-grid-sec {
  padding: 28px 18px 36px;
  color: #0f172a;
}
.rg-inner {
  max-width: 1060px;
  margin: 0 auto;
}
/* Ä«µå ±×¸®µå */
.rg-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

/* Ä«µå */
.rg-card {
  flex: 0 0 calc(50% - 10px);
  box-sizing: border-box;
  height: 240px;
  display: flex;
  gap: 20px;
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  align-items: flex-start;
}
.rg-avatar {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(#e9edf3, #dfe5ee);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  margin-bottom: 75px;
}
/* º»¹® */
.rg-body {
  flex: 1;
  min-width: 0;
}
.rg-stars {
  font-size: 22px;
  letter-spacing: 2px;
  color: #ff7416;
  margin: 2px 0 6px;
}
.rg-name {
  font-weight: 700;
  margin-bottom: 6px;
  color: #3b3f46;
  font-size: 20px;
}
.rg-text {
  color: #4b5563;
  line-height: 1.4;
  font-size: 18px;
}

.prof_sec5 {
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}
.prof_sec5 img {
  width: 90%;
  margin: 0 auto;
  display: block;
  text-align: center;
}

/* ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ Å×ÀÌºí ÀüÃ¼ ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ */
.course_contents {
  width: 1060px;
  margin: 40px auto;
}
.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  font-weight: bold;
}
.course-table thead th {
  padding: 12px;
  text-align: center;
  background-color: #e6f1ff;
  font-size: 16px;
}
.course-table th,
.course-table td {
  padding: 12px;
  vertical-align: middle;
}

.courer_list {
  border-bottom: 1px solid #ddd;
}
.course-title-wrapper {
  /* background-color: red; */
  padding-left: 40px;
}

.course-table th:first-child,
.course-table td:first-child {
  text-align: center;
}

.course-table td:nth-child(2) {
  text-align: center;
}

/* ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ Ã¼Å©¹Ú½º ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ */
.course-checkbox {
  cursor: pointer;
  transform: scale(1.2);
  transform-origin: center;
}

/* ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ °­ÀÇ¸í & ¸ÞÅ¸ ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ */
.course-title {
  font-weight: 500;
  line-height: 1.4;
}

.course-meta {
  margin-top: 4px;
  font-size: 12px;
  color: #666;
}

/* ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ ¹èÁö(Badge) ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ */
.course-badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  /* color: #fff; */
  margin-right: 4px;
  vertical-align: middle;
}
.course-badge-best {
  background: #ffe7ec;
  color: #d7265e;
}
.course-badge-new {
  background: #dbefff;
  color: #0062d9;
}

/* ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ ¹öÆ° ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ */
.course-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.course-badges {
  margin-bottom: 5px;
}
.course-btn {
  font-size: 14px;
  font-weight: bold;
  padding: 6px 8px;
  border: 1px solid #1d4e8f;
  background: #fff;
  color: #1d4e8f;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 6px;
}

/* ¹öÆ° ±×·ìÀ» ¼¼·Î ½ºÅÃÀ¸·Î */
.course-btn-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ¹öÆ° °£ ±âÁ¸ ¿À¸¥ÂÊ ¸¶Áø Á¦°Å */
.course-info .course-btn {
  margin: 0;
}
.course-btn-cart {
  background-color: #1c4b84;
  color: #fff;
}
/* ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ °¡°Ý ¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡¦¡ */
.course-price {
  font-weight: bold;
  margin-left: 8px;
}

/* ¦¡¦¡¦¡ ¹Ù ÀüÃ¼ ¦¡¦¡¦¡ */
.cart-wrapper {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  overflow: visible;
  transition: height 0.3s ease;
  z-index: 1000;
  font-family: sans-serif;
}

.cart-wrapper.open {
  height: 300px;
}

.cart-wrapper.open .cart-content {
  height: 210px;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ¦¡¦¡¦¡ »ó¼¼ ÄÜÅÙÃ÷ ¦¡¦¡¦¡ */
.cart-content {
  height: 0;
  padding: 0 240px;
  background-color: #333;
  box-sizing: border-box;
  overflow: hidden;
  transition: height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
}

.cart-toggle-btn {
  position: absolute;
  top: -27px;
  right: 420px;
  background-color: #333;
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
}

.cart-list {
  list-style: none;
  margin: 0;
  width: 1200px;
  margin: 0 auto;
  padding: 0 68px;
}
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 16px;
  color: #ccc;
  border-bottom: 1px solid #444;
}
.item-name {
  flex: 1;
  margin-right: 10px;
}
.item-price {
  width: 100px;
  text-align: right;
}
.item-remove {
  cursor: pointer;
  margin-left: 17px;
  font-size: 20px;
}

/* ¦¡¦¡¦¡ »ó¼¼ ÇÏ´Ü ¾×¼Ç ¦¡¦¡¦¡ */
.cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-footer .summary {
  font-size: 14px;
  color: #cccccc;
}
.cart-footer .summary strong {
  color: #4fbfa8;
  margin: 0 4px;
  font-weight: 600;
}

.cart-actions ul {
  display: flex;
}

.cart-actions ul li {
  margin-left: 10px;
  font-size: 16px;
  cursor: pointer;
}

.cart-actions ul li a {
  width: 150px;
  height: 40px;
  line-height: 40px;
  border-radius: 5px;
  display: inline-block;
  color: #fff;
  text-align: center;
}

.to_cart a {
  background-color: transparent;
  border: 1px solid #4fbfa8;
  color: #4fbfa8;
}

.pay_now a {
  background-color: #4fbfa8;
  border: none;
  color: #ffffff;
}

/* ¦¡¦¡¦¡ ÇÏ´Ü Çì´õ(Åä±Û + ¿ä¾à) ¦¡¦¡¦¡ */
.cart-header {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: #333333;
  box-sizing: border-box;
}
.cart-hea-con {
  width: 1060px;
  height: 100%;
  /* padding: 0 68px; */
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header .summary .total_subjects {
  color: #fff;
  font-size: 18px;
}

.cart-header .summary .tuition {
  font-size: 28px;
  color: #8affea;
}

/* Àå¹Ù±¸´Ï È®ÀÎ ¸ð´Þ */
.cartconfirm_backdrop {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  opacity: 0;
  /* transition:opacity .2s ease; */
}
.cartconfirm_modal {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -46%) scale(0.98);
  width: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  opacity: 0; /* ¡ç ÀÌ ÁÙ ²À »ì·ÁµÎ±â */
  transition: transform 0.2s ease, opacity 0.2s ease;
  overflow: hidden;
  font-family: inherit;
}

.cartconfirm_modal.cartconfirm_open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cartconfirm_backdrop.cartconfirm_open {
  opacity: 1;
}

.cartconfirm_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 16px;
  border-bottom: 1px solid #eee;
  background: #1d4d8e;
  color: #fff;
}
.cartconfirm_head h3 {
  font-size: 21px;
  font-weight: 700;
  margin-top: 10px;
}
.cartconfirm_head h3::before {
  content: "\F270";
  font-family: bootstrap-icons;
  margin-right: 10px;
  font-size: 38px;
  font-weight: normal;
  vertical-align: middle;
  margin-bottom: 8px;
  display: inline-block;
}

.cartconfirm_close {
  border: none;
  background: transparent;
  font-size: 32px;
  cursor: pointer;
  padding: 4px 8px;
  color: #fff;
}

.cartconfirm_body {
  padding: 18px 16px 8px;
}
/* .cartconfirm_text {
  margin: 0 0 12px;
  font-size: 15px;
} */
/* .cartconfirm_text .cartconfirm_course {
  color: #1c4b84;
} */

.cartconfirm_meta {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #eee;
  border-radius: 8px;
}
.cartconfirm_meta li {
  display: flex;
  padding: 10px 12px;
  border-top: 1px solid #eee;
}
.cartconfirm_meta li:first-child {
  border-top: none;
}
.cartconfirm_lbl {
  width: 80px;
  color: #64748b;
  font-size: 14px;
}
.cartconfirm_val {
  flex: 1;
  color: #0f172a;
  font-size: 14px;
}

.cartconfirm_actions {
  display: flex;
  gap: 8px;
  padding: 16px;
  justify-content: flex-end;
}
.cartconfirm_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid #d0d7e1;
  background: #fff;
  color: #0f172a;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
}
.cartconfirm_btn:hover {
  background: #f2f6fb;
}
.cartconfirm_go {
  background: #1c4b84;
  color: #fff;
}
.cartconfirm_go:hover {
  background-color: #466994;
  color: #fff;
}

.cartconfirm_modal[hidden],
.cartconfirm_backdrop[hidden] {
  display: none;
}

.samplepop_modal {
  position: absolute;
  min-width: 300px;
  max-width: 400px;
  border: 1px solid #18477b;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 1000;
}

/* Çì´õ */
.samplepop_head {
  background: #18477b;
  color: #fff;
  padding: 10px 12px;
  position: relative;
}
.samplepop_head strong {
  font-size: 16px;
}
.samplepop_close {
  position: absolute;
  right: 8px;
  top: 6px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* ¹Ùµð */
.samplepop_body {
  padding: 10px 12px;
  max-height: 200px;
  overflow: auto;
}
.samplepop_list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.samplepop_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
}
.samplepop_item:last-child {
  border-bottom: 0;
}
.samplepop_title {
  font-size: 14px;
}
.samplepop_time {
  font-size: 12px;
  color: #666;
  margin-left: 6px;
}
.samplepop_btn {
  font-size: 12px;
  border: 1px solid #18477b;
  background: #fff;
  color: #18477b;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}
.samplepop_btn:hover {
  background: #18477b;
  color: #fff;
}
/* ==========top_btn====== */
#topBtn {
  position: fixed;
  bottom: 50px;
  right: 200px;
  z-index: 2147483647;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 7px;
  background-color: #1c4b84;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, background-color 0.2s;
}

#topBtn.is-show {
  opacity: 1;
  visibility: visible;
}

#topBtn:hover {
  background-color: #16365c;
}

#topBtn i {
  color: #fff;
  font-size: 22px;
}
