.elementor-24448 .elementor-element.elementor-element-f267b58 > .elementor-element-populated{padding:0px 0px 0px 0px;}.elementor-24448 .elementor-element.elementor-element-6a2055d > .elementor-element-populated{padding:0px 0px 0px 0px;}.elementor-24448 .elementor-element.elementor-element-ae9a5b8 > .elementor-element-populated{padding:0px 0px 0px 0px;}.elementor-24448 .elementor-element.elementor-element-befe0bd{--spacer-size:50px;}.elementor-24448 .elementor-element.elementor-element-05875c0 > .elementor-element-populated{padding:0px 0px 0px 0px;}.elementor-24448 .elementor-element.elementor-element-db58beb{--spacer-size:50px;}.elementor-24448 .elementor-element.elementor-element-f8d2d37{--spacer-size:50px;}/* Start custom CSS for section, class: .elementor-element-a8c6789 *//* =========================================================
   KBS AI Detail Page - Final Clean CSS
   기존 CSS는 지우고 이 CSS 하나만 사용하세요.
========================================================= */

.kbs-ai-school-page,
.kbs-ai-section {
  --text: #111827;
  --muted: #4b5563;
  --green: #2cb499;
  --green-dark: #153a37;
  --green-dark-2: #102c32;
  --line: rgba(44, 180, 153, 0.16);
  --line-strong: rgba(44, 180, 153, 0.28);
  --gold: #c7a463;
  --bg-soft: #f8fbfc;
  --bg-soft-2: #f1f7f6;
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(16, 44, 50, 0.16);
  --radius-lg: 20px;
  color: var(--text);
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

.kbs-ai-school-page,
.kbs-ai-school-page *,
.kbs-ai-section,
.kbs-ai-section * {
  box-sizing: border-box;
  min-width: 0;
}

.kbs-ai-school-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(44, 180, 153, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbfc 0%, #ffffff 46%, #f4faf9 100%);
}

.kbs-ai-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.kbs-ai-school-page :where(h1, h2, h3, h4),
.kbs-ai-section :where(h1, h2, h3, h4) {
  margin: 0;
  color: #111827;
}

.kbs-ai-school-page p,
.kbs-ai-section p {
  margin: 0;
}

.text-gradient-green {
  background: linear-gradient(135deg, #2cb499, #1f6ead);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 상단 로고 */
.KBS-logo-partnership {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, calc(100% - 32px));
  margin: clamp(48px, 8vw, 100px) auto 0;
}

.KBS-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.KBS-logo-badge img {
  display: block;
  width: auto;
  height: clamp(30px, 5vw, 40px);
  object-fit: contain;
}

/* 공통 섹션 */
.kbs-ai-section {
  padding: clamp(48px, 7vw, 84px) 0;
}

.kbs-ai-section-alt {
  background: var(--bg-soft-2);
}

.kbs-ai-section-soft {
  background: linear-gradient(to bottom, rgba(44, 180, 153, 0.08) 0%, #ffffff 100%);
}

.kbs-ai-section-head {
  max-width: 840px;
  margin: 0 auto 36px;
  text-align: center;
}

.kbs-ai-section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kbs-ai-section-head h2 {
  margin: 0 0 14px;
  color: #111827 !important;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.kbs-ai-section-head p {
  color: #4b5563 !important;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.8;
}

/* Hero */
.kbs-ai-hero {
  padding: clamp(40px, 7vw, 72px) 0 clamp(28px, 5vw, 48px);
}

.kbs-ai-hero-grid {
  display: block;
}

.kbs-ai-hero-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.kbs-ai-hero-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.kbs-ai-hero-desc {
  padding-top: 15px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}

/* 공통 그리드 */
.kbs-ai-grid {
  display: grid;
  gap: 18px;
}

.kbs-ai-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.kbs-ai-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.kbs-ai-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

/* 공통 카드 */
.kbs-ai-card,
.kbs-ai-benefit-card,
.kbs-ai-target-item {
  border-radius: 18px;
  border: 1px solid rgba(45, 212, 191, 0.16);
  box-shadow: var(--shadow);
}

.kbs-ai-card,
.kbs-ai-benefit-card {
  background: linear-gradient(180deg, #153a37 0%, #102c32 100%);
  color: #f8fafc;
}

.kbs-ai-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

.kbs-ai-card-center {
  text-align: center;
}

.kbs-ai-card h3,
.kbs-ai-benefit-card h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: clamp(18px, 2.6vw, 21px);
  line-height: 1.4;
}

.kbs-ai-card p,
.kbs-ai-benefit-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.9vw, 15px);
  line-height: 1.8;
}

.kbs-ai-card-icon,
.kbs-ai-benefit-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 212, 191, 0.12);
  color: #5eead4;
  border: 1px solid rgba(45, 212, 191, 0.22);
  font-weight: 800;
}

.kbs-ai-card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  font-size: 15px;
}

.kbs-ai-benefit-no {
  min-width: 52px;
  height: 34px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.kbs-ai-problem-card {
  min-height: 230px;
}

.kbs-ai-problem-card .kbs-ai-card-icon {
  margin-left: auto;
  margin-right: auto;
}

/* Course Overview */
.kbs-ai-story-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,251,252,0.98));
  border: 1px solid rgba(44, 180, 153, 0.18);
  box-shadow: 0 18px 44px rgba(16, 44, 50, 0.10);
}

.kbs-ai-overview-panel {
  text-align: left;
}

.kbs-ai-overview-head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.kbs-ai-overview-head h2,
.kbs-ai-story-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.kbs-ai-overview-head p,
.kbs-ai-story-panel p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.85;
}

.kbs-ai-overview-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.kbs-ai-overview-copy h3 {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.kbs-ai-overview-copy p {
  color: #4b5563;
}

.kbs-ai-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
  margin-top: 28px;
}

.kbs-ai-chip {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 999px;
  color: #153a37;
  background: rgba(44, 180, 153, 0.08);
  border: 1px solid rgba(44, 180, 153, 0.18);
  font-weight: 800;
  font-size: clamp(13px, 1.6vw, 15px);
  text-align: center;
}

.kbs-ai-overview-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kbs-ai-media-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #102c32;
  border: 1px solid rgba(44, 180, 153, 0.18);
  box-shadow: 0 14px 34px rgba(16, 44, 50, 0.16);
}

.kbs-ai-media-card img,
.kbs-ai-media-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.kbs-ai-media-card video {
  background: #071a18;
}

.kbs-ai-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(5, 17, 15, 0.52), rgba(5, 17, 15, 0.08), transparent);
  pointer-events: none;
}

.kbs-ai-media-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(5, 17, 15, 0.72);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  backdrop-filter: blur(8px);
}

/* 수강 정보 */
.kbs-ai-course-info-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(16, 44, 50, 0.10);
}

.kbs-ai-course-info-row {
  display: grid;
  grid-template-columns: minmax(92px, 160px) 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

.kbs-ai-course-info-row:first-child {
  padding-top: 0;
}

.kbs-ai-course-info-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.kbs-ai-course-info-row span {
  color: #4b5563;
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 700;
}

.kbs-ai-course-info-row strong {
  color: #111827;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.kbs-ai-course-info-price strong {
  color: #153a37;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
}

/* 커리큘럼 */
.kbs-ai-week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.kbs-ai-week-grid .week {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kbs-ai-week-grid .week:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.kbs-ai-week-grid .wtag {
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #2cb499;
  background: rgba(44, 180, 153, 0.1);
  font-size: 12px;
  font-weight: 700;
}

.kbs-ai-week-grid .week h3 {
  margin-bottom: 14px;
  color: #111827;
  font-size: 18px;
  line-height: 1.45;
}

.list {
  margin: 0;
  padding-left: 18px;
}

.kbs-ai-week-grid .list {
  margin-bottom: 20px;
}

.kbs-ai-week-grid .list li {
  margin-bottom: 8px;
  color: #4b5563;
  line-height: 1.6;
}

.week-media {
  width: 100%;
  margin-top: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #102c32;
  border: 1px solid rgba(44, 180, 153, 0.18);
}

.week-media img,
.week-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.week-media video {
  background: #071a18;
}

/* Benefit */
#benefit .kbs-ai-grid-4 {
  grid-template-columns: 1fr;
  gap: 18px;
}

.kbs-ai-benefit-card {
  width: 100%;
  min-width: 0;
  padding: 22px 20px;
}

.kbs-ai-benefit-card h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.35;
}

.kbs-ai-benefit-card p {
  font-size: clamp(14px, 1.9vw, 15px);
  line-height: 1.8;
}

/* 추천 대상 */
.kbs-ai-target-item {
  position: relative;
  padding: 18px 18px 18px 50px;
  background: linear-gradient(180deg, #153a37 0%, #102c32 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.7;
  font-weight: 700;
}

.kbs-ai-target-item::before {
  content: "✓";
  position: absolute;
  top: 17px;
  left: 18px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111, 199, 167, 0.12);
  color: #5eead4;
  font-size: 13px;
  font-weight: 800;
}

.kbs-ai-target-strong-grid .kbs-ai-target-item {
  min-height: clamp(140px, 14vw, 180px);
  padding: 58px 24px 30px;
  text-align: center;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
}

.kbs-ai-target-strong-grid .kbs-ai-target-item::before {
  top: 22px;
  left: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  transform: translateX(-50%);
}

/* 강사 섹션 */
.kbs-ai-instructor-section {
  background: #ffffff;
}

.kbs-ai-instructor-section .instructor-wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(16, 44, 50, 0.08);
}

.kbs-ai-instructor-section .instructor-img {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}

.kbs-ai-instructor-section .instructor-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kbs-ai-instructor-section .instructor-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 24px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, transparent 100%);
}

.kbs-ai-instructor-section .instructor-role {
  color: rgba(255,255,255,0.75);
  font-size: clamp(11px, 2.5vw, 13px);
}

.kbs-ai-instructor-section .instructor-name {
  color: #ffffff;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 800;
}

.kbs-ai-instructor-section .instructor-content {
  width: 100%;
  min-width: 0;
}

.kbs-ai-instructor-section .instructor-desc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin: 0 0 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.kbs-ai-instructor-section .instructor-desc p {
  color: #374151 !important;
  line-height: 1.7;
}

.kbs-ai-instructor-section .instructor-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width: auto;
  margin: 0;
}

.kbs-ai-instructor-section .social-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f9fafb;
  color: #111827;
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.kbs-ai-instructor-section .social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.kbs-ai-instructor-section .social-btn.instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #ffffff;
}

.kbs-ai-instructor-section .social-btn.threads:hover {
  background: #000000;
  color: #ffffff;
}

.kbs-ai-instructor-section .social-btn.youtube:hover {
  background: #ff0000;
  color: #ffffff;
}

.kbs-ai-instructor-section .social-svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.kbs-ai-instructor-section .history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.kbs-ai-instructor-section .history-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #111827 !important;
  font-size: 16px;
  font-weight: 800;
}

.kbs-ai-instructor-section .history-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111, 199, 167, 0.12);
  color: #2cb499;
  font-size: 12px;
}

.kbs-ai-instructor-section .history-grid ul {
  margin: 0;
  padding-left: 16px;
}

.kbs-ai-instructor-section .history-grid li {
  margin-bottom: 8px;
  color: #374151 !important;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* FAQ */
.kbs-ai-faq-section {
  background: #f8fbfc !important;
}

.kbs-ai-faq-section .faq {
  max-width: 900px;
  margin: 0 auto;
}

.kbs-ai-faq-section .faq-item {
  margin-bottom: 14px;
  border-radius: 18px;
  background: #ffffff !important;
  border: 1px solid #dce7e5 !important;
  box-shadow: 0 10px 28px rgba(16, 44, 50, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.kbs-ai-faq-section .faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 180, 153, 0.35) !important;
  box-shadow: 0 16px 36px rgba(16, 44, 50, 0.12);
}

.kbs-ai-faq-section .faq-q {
  width: 100%;
  min-height: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px;
  padding: clamp(18px, 3vw, 24px);
  background: transparent !important;
  border: none !important;
  color: #111827 !important;
  text-align: left;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.55;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none !important;
  outline: none !important;
}

.kbs-ai-faq-section .faq-q span {
  flex: 1 1 auto;
  min-width: 0;
}

.kbs-ai-faq-section .faq-q b {
  color: #c7a463 !important;
  font-size: 0.95em;
  margin-right: 4px;
}

.kbs-ai-faq-section .faq-q:hover,
.kbs-ai-faq-section .faq-q:focus,
.kbs-ai-faq-section .faq-q:active {
  background: rgba(44, 180, 153, 0.04) !important;
  color: #111827 !important;
}

.kbs-ai-faq-section .faq-q .plus {
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  margin-left: auto !important;
  border-radius: 12px;
  background: rgba(44, 180, 153, 0.08) !important;
  border: 1px solid rgba(44, 180, 153, 0.22) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #2cb499 !important;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.kbs-ai-faq-section .faq-q .plus svg {
  width: 18px;
  height: 18px;
}

.kbs-ai-faq-section .faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 clamp(18px, 3vw, 24px);
  color: #4b5563 !important;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.85;
  word-break: keep-all;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.kbs-ai-faq-section .faq-item.open .faq-a {
  max-height: 1200px;
  padding: 0 clamp(18px, 3vw, 24px) clamp(18px, 3vw, 24px);
}

.kbs-ai-faq-section .faq-item.open .faq-q .plus {
  transform: rotate(180deg);
  background: rgba(199, 164, 99, 0.14) !important;
  border-color: rgba(199, 164, 99, 0.35) !important;
  color: #9a7835 !important;
}

/* Responsive */
@media (max-width: 860px) {
  .kbs-ai-instructor-section .instructor-wrap {
    grid-template-columns: 1fr;
  }

  .kbs-ai-instructor-section .instructor-img {
    margin: 0 auto;
  }

  .kbs-ai-instructor-section .instructor-desc {
    grid-template-columns: 1fr;
  }

  .kbs-ai-instructor-section .instructor-social {
    justify-content: flex-start;
  }

  .kbs-ai-instructor-section .history-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kbs-ai-container {
    width: min(100%, calc(100% - 28px));
  }

  .kbs-ai-overview-media {
    grid-template-columns: 1fr;
  }

  .kbs-ai-course-info-panel {
    padding: 28px 24px;
  }

  .kbs-ai-course-info-row {
    display: block;
    padding: 20px 0;
  }

  .kbs-ai-course-info-row span {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.4;
  }

  .kbs-ai-course-info-row strong,
  .kbs-ai-course-info-price strong {
    display: block;
    font-size: 17px;
    line-height: 1.45;
    word-break: keep-all;
  }

  .kbs-ai-faq-section .faq-q {
    align-items: flex-start !important;
  }
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-fc39ac8 *//* =========================================================
   KBS AI Detail Page - Final Clean CSS
   기존 CSS는 지우고 이 CSS 하나만 사용하세요.
========================================================= */

.kbs-ai-school-page,
.kbs-ai-section {
  --text: #111827;
  --muted: #4b5563;
  --green: #2cb499;
  --green-dark: #153a37;
  --green-dark-2: #102c32;
  --line: rgba(44, 180, 153, 0.16);
  --line-strong: rgba(44, 180, 153, 0.28);
  --gold: #c7a463;
  --bg-soft: #f8fbfc;
  --bg-soft-2: #f1f7f6;
  --white: #ffffff;
  --shadow: 0 14px 36px rgba(16, 44, 50, 0.16);
  --radius-lg: 20px;
  color: var(--text);
  font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}

.kbs-ai-school-page,
.kbs-ai-school-page *,
.kbs-ai-section,
.kbs-ai-section * {
  box-sizing: border-box;
  min-width: 0;
}

.kbs-ai-school-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 0%, rgba(44, 180, 153, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbfc 0%, #ffffff 46%, #f4faf9 100%);
}

.kbs-ai-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.kbs-ai-school-page :where(h1, h2, h3, h4),
.kbs-ai-section :where(h1, h2, h3, h4) {
  margin: 0;
  color: #111827;
}

.kbs-ai-school-page p,
.kbs-ai-section p {
  margin: 0;
}

.text-gradient-green {
  background: linear-gradient(135deg, #2cb499, #1f6ead);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 상단 로고 */
.KBS-logo-partnership {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(100%, calc(100% - 32px));
  margin: clamp(48px, 8vw, 100px) auto 0;
}

.KBS-logo-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.KBS-logo-badge img {
  display: block;
  width: auto;
  height: clamp(30px, 5vw, 40px);
  object-fit: contain;
}

/* 공통 섹션 */
.kbs-ai-section {
  padding: clamp(48px, 7vw, 84px) 0;
}

.kbs-ai-section-alt {
  background: var(--bg-soft-2);
}

.kbs-ai-section-soft {
  background: linear-gradient(to bottom, rgba(44, 180, 153, 0.08) 0%, #ffffff 100%);
}

.kbs-ai-section-head {
  max-width: 840px;
  margin: 0 auto 36px;
  text-align: center;
}

.kbs-ai-section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kbs-ai-section-head h2 {
  margin: 0 0 14px;
  color: #111827 !important;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.kbs-ai-section-head p {
  color: #4b5563 !important;
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.8;
}

/* Hero */
.kbs-ai-hero {
  padding: clamp(40px, 7vw, 72px) 0 clamp(28px, 5vw, 48px);
}

.kbs-ai-hero-grid {
  display: block;
}

.kbs-ai-hero-copy {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.kbs-ai-hero-title {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.kbs-ai-hero-desc {
  padding-top: 15px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}

/* 공통 그리드 */
.kbs-ai-grid {
  display: grid;
  gap: 18px;
}

.kbs-ai-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.kbs-ai-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.kbs-ai-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

/* 공통 카드 */
.kbs-ai-card,
.kbs-ai-benefit-card,
.kbs-ai-target-item {
  border-radius: 18px;
  border: 1px solid rgba(45, 212, 191, 0.16);
  box-shadow: var(--shadow);
}

.kbs-ai-card,
.kbs-ai-benefit-card {
  background: linear-gradient(180deg, #153a37 0%, #102c32 100%);
  color: #f8fafc;
}

.kbs-ai-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px;
}

.kbs-ai-card-center {
  text-align: center;
}

.kbs-ai-card h3,
.kbs-ai-benefit-card h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: clamp(18px, 2.6vw, 21px);
  line-height: 1.4;
}

.kbs-ai-card p,
.kbs-ai-benefit-card p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(14px, 1.9vw, 15px);
  line-height: 1.8;
}

.kbs-ai-card-icon,
.kbs-ai-benefit-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 212, 191, 0.12);
  color: #5eead4;
  border: 1px solid rgba(45, 212, 191, 0.22);
  font-weight: 800;
}

.kbs-ai-card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  font-size: 15px;
}

.kbs-ai-benefit-no {
  min-width: 52px;
  height: 34px;
  margin-bottom: 18px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.kbs-ai-problem-card {
  min-height: 230px;
}

.kbs-ai-problem-card .kbs-ai-card-icon {
  margin-left: auto;
  margin-right: auto;
}

/* Course Overview */
.kbs-ai-story-panel {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(248,251,252,0.98));
  border: 1px solid rgba(44, 180, 153, 0.18);
  box-shadow: 0 18px 44px rgba(16, 44, 50, 0.10);
}

.kbs-ai-overview-panel {
  text-align: left;
}

.kbs-ai-overview-head {
  max-width: 780px;
  margin: 0 auto 34px;
  text-align: center;
}

.kbs-ai-overview-head h2,
.kbs-ai-story-panel h2 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3.8vw, 42px);
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.kbs-ai-overview-head p,
.kbs-ai-story-panel p {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.85;
}

.kbs-ai-overview-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
}

.kbs-ai-overview-copy h3 {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.kbs-ai-overview-copy p {
  color: #4b5563;
}

.kbs-ai-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
  margin-top: 28px;
}

.kbs-ai-chip {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 999px;
  color: #153a37;
  background: rgba(44, 180, 153, 0.08);
  border: 1px solid rgba(44, 180, 153, 0.18);
  font-weight: 800;
  font-size: clamp(13px, 1.6vw, 15px);
  text-align: center;
}

.kbs-ai-overview-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.kbs-ai-media-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #102c32;
  border: 1px solid rgba(44, 180, 153, 0.18);
  box-shadow: 0 14px 34px rgba(16, 44, 50, 0.16);
}

.kbs-ai-media-card img,
.kbs-ai-media-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.kbs-ai-media-card video {
  background: #071a18;
}

.kbs-ai-media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(5, 17, 15, 0.52), rgba(5, 17, 15, 0.08), transparent);
  pointer-events: none;
}

.kbs-ai-media-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(5, 17, 15, 0.72);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  backdrop-filter: blur(8px);
}

/* 수강 정보 */
.kbs-ai-course-info-panel {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 36px);
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 16px 40px rgba(16, 44, 50, 0.10);
}

.kbs-ai-course-info-row {
  display: grid;
  grid-template-columns: minmax(92px, 160px) 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid #e5e7eb;
}

.kbs-ai-course-info-row:first-child {
  padding-top: 0;
}

.kbs-ai-course-info-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.kbs-ai-course-info-row span {
  color: #4b5563;
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 700;
}

.kbs-ai-course-info-row strong {
  color: #111827;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.03em;
}

.kbs-ai-course-info-price strong {
  color: #153a37;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
}

/* 커리큘럼 */
.kbs-ai-week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.kbs-ai-week-grid .week {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 22px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kbs-ai-week-grid .week:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.kbs-ai-week-grid .wtag {
  display: inline-block;
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #2cb499;
  background: rgba(44, 180, 153, 0.1);
  font-size: 12px;
  font-weight: 700;
}

.kbs-ai-week-grid .week h3 {
  margin-bottom: 14px;
  color: #111827;
  font-size: 18px;
  line-height: 1.45;
}

.list {
  margin: 0;
  padding-left: 18px;
}

.kbs-ai-week-grid .list {
  margin-bottom: 20px;
}

.kbs-ai-week-grid .list li {
  margin-bottom: 8px;
  color: #4b5563;
  line-height: 1.6;
}

.week-media {
  width: 100%;
  margin-top: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #102c32;
  border: 1px solid rgba(44, 180, 153, 0.18);
}

.week-media img,
.week-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.week-media video {
  background: #071a18;
}

/* Benefit */
#benefit .kbs-ai-grid-4 {
  grid-template-columns: 1fr;
  gap: 18px;
}

.kbs-ai-benefit-card {
  width: 100%;
  min-width: 0;
  padding: 22px 20px;
}

.kbs-ai-benefit-card h3 {
  margin-bottom: 12px;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.35;
}

.kbs-ai-benefit-card p {
  font-size: clamp(14px, 1.9vw, 15px);
  line-height: 1.8;
}

/* 추천 대상 */
.kbs-ai-target-item {
  position: relative;
  padding: 18px 18px 18px 50px;
  background: linear-gradient(180deg, #153a37 0%, #102c32 100%);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.7;
  font-weight: 700;
}

.kbs-ai-target-item::before {
  content: "✓";
  position: absolute;
  top: 17px;
  left: 18px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111, 199, 167, 0.12);
  color: #5eead4;
  font-size: 13px;
  font-weight: 800;
}

.kbs-ai-target-strong-grid .kbs-ai-target-item {
  min-height: clamp(140px, 14vw, 180px);
  padding: 58px 24px 30px;
  text-align: center;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
}

.kbs-ai-target-strong-grid .kbs-ai-target-item::before {
  top: 22px;
  left: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  transform: translateX(-50%);
}

/* 강사 섹션 */
.kbs-ai-instructor-section {
  background: #ffffff;
}

.kbs-ai-instructor-section .instructor-wrap {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(16, 44, 50, 0.08);
}

.kbs-ai-instructor-section .instructor-img {
  position: relative;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}

.kbs-ai-instructor-section .instructor-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kbs-ai-instructor-section .instructor-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 24px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, transparent 100%);
}

.kbs-ai-instructor-section .instructor-role {
  color: rgba(255,255,255,0.75);
  font-size: clamp(11px, 2.5vw, 13px);
}

.kbs-ai-instructor-section .instructor-name {
  color: #ffffff;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 800;
}

.kbs-ai-instructor-section .instructor-content {
  width: 100%;
  min-width: 0;
}

.kbs-ai-instructor-section .instructor-desc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  margin: 0 0 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.kbs-ai-instructor-section .instructor-desc p {
  color: #374151 !important;
  line-height: 1.7;
}

.kbs-ai-instructor-section .instructor-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width: auto;
  margin: 0;
}

.kbs-ai-instructor-section .social-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f9fafb;
  color: #111827;
  border: 1px solid rgba(0,0,0,0.06);
  text-decoration: none;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.kbs-ai-instructor-section .social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.kbs-ai-instructor-section .social-btn.instagram:hover {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
  color: #ffffff;
}

.kbs-ai-instructor-section .social-btn.threads:hover {
  background: #000000;
  color: #ffffff;
}

.kbs-ai-instructor-section .social-btn.youtube:hover {
  background: #ff0000;
  color: #ffffff;
}

.kbs-ai-instructor-section .social-svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.kbs-ai-instructor-section .history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.kbs-ai-instructor-section .history-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: #111827 !important;
  font-size: 16px;
  font-weight: 800;
}

.kbs-ai-instructor-section .history-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(111, 199, 167, 0.12);
  color: #2cb499;
  font-size: 12px;
}

.kbs-ai-instructor-section .history-grid ul {
  margin: 0;
  padding-left: 16px;
}

.kbs-ai-instructor-section .history-grid li {
  margin-bottom: 8px;
  color: #374151 !important;
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* FAQ */
.kbs-ai-faq-section {
  background: #f8fbfc !important;
}

.kbs-ai-faq-section .faq {
  max-width: 900px;
  margin: 0 auto;
}

.kbs-ai-faq-section .faq-item {
  margin-bottom: 14px;
  border-radius: 18px;
  background: #ffffff !important;
  border: 1px solid #dce7e5 !important;
  box-shadow: 0 10px 28px rgba(16, 44, 50, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.kbs-ai-faq-section .faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(44, 180, 153, 0.35) !important;
  box-shadow: 0 16px 36px rgba(16, 44, 50, 0.12);
}

.kbs-ai-faq-section .faq-q {
  width: 100%;
  min-height: 0;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px;
  padding: clamp(18px, 3vw, 24px);
  background: transparent !important;
  border: none !important;
  color: #111827 !important;
  text-align: left;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.55;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none !important;
  outline: none !important;
}

.kbs-ai-faq-section .faq-q span {
  flex: 1 1 auto;
  min-width: 0;
}

.kbs-ai-faq-section .faq-q b {
  color: #c7a463 !important;
  font-size: 0.95em;
  margin-right: 4px;
}

.kbs-ai-faq-section .faq-q:hover,
.kbs-ai-faq-section .faq-q:focus,
.kbs-ai-faq-section .faq-q:active {
  background: rgba(44, 180, 153, 0.04) !important;
  color: #111827 !important;
}

.kbs-ai-faq-section .faq-q .plus {
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  margin-left: auto !important;
  border-radius: 12px;
  background: rgba(44, 180, 153, 0.08) !important;
  border: 1px solid rgba(44, 180, 153, 0.22) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #2cb499 !important;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.kbs-ai-faq-section .faq-q .plus svg {
  width: 18px;
  height: 18px;
}

.kbs-ai-faq-section .faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 clamp(18px, 3vw, 24px);
  color: #4b5563 !important;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.85;
  word-break: keep-all;
  transition: max-height 0.35s ease, padding 0.25s ease;
}

.kbs-ai-faq-section .faq-item.open .faq-a {
  max-height: 1200px;
  padding: 0 clamp(18px, 3vw, 24px) clamp(18px, 3vw, 24px);
}

.kbs-ai-faq-section .faq-item.open .faq-q .plus {
  transform: rotate(180deg);
  background: rgba(199, 164, 99, 0.14) !important;
  border-color: rgba(199, 164, 99, 0.35) !important;
  color: #9a7835 !important;
}

/* Responsive */
@media (max-width: 860px) {
  .kbs-ai-instructor-section .instructor-wrap {
    grid-template-columns: 1fr;
  }

  .kbs-ai-instructor-section .instructor-img {
    margin: 0 auto;
  }

  .kbs-ai-instructor-section .instructor-desc {
    grid-template-columns: 1fr;
  }

  .kbs-ai-instructor-section .instructor-social {
    justify-content: flex-start;
  }

  .kbs-ai-instructor-section .history-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kbs-ai-container {
    width: min(100%, calc(100% - 28px));
  }

  .kbs-ai-overview-media {
    grid-template-columns: 1fr;
  }

  .kbs-ai-course-info-panel {
    padding: 28px 24px;
  }

  .kbs-ai-course-info-row {
    display: block;
    padding: 20px 0;
  }

  .kbs-ai-course-info-row span {
    display: block;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.4;
  }

  .kbs-ai-course-info-row strong,
  .kbs-ai-course-info-price strong {
    display: block;
    font-size: 17px;
    line-height: 1.45;
    word-break: keep-all;
  }

  .kbs-ai-faq-section .faq-q {
    align-items: flex-start !important;
  }
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-c011ed0 *//* =========================
   KBS 수강 후기 섹션
========================= */

.kbs-ai-review-section {
  background: linear-gradient(180deg, #f7fbfa 0%, #ffffff 100%);
  color: #061d1a;
}

.kbs-ai-review-section .kbs-ai-section-head {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.kbs-ai-review-section .kbs-ai-section-label {
  margin: 0 0 12px;
  color: #2cb499;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.kbs-ai-review-section .kbs-ai-section-head h2 {
  margin: 0;
  color: #061d1a;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.kbs-ai-review-section .kbs-ai-section-desc {
  margin: 18px 0 0;
  color: #5c6f6b;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  font-weight: 500;
}

.kbs-review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(18px, 3vw, 28px);
}

.kbs-review-card {
  position: relative;
  min-height: 260px;
  padding: clamp(26px, 4vw, 34px);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #dbe9e6;
  box-shadow: 0 18px 45px rgba(13, 42, 38, 0.08);
  overflow: hidden;
}

.kbs-review-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, #2cb499, #c7a463);
}

.kbs-review-mark {
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(44, 180, 153, 0.12);
  color: #2cb499;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.kbs-review-card p {
  margin: 0;
  color: #152b28;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.85;
  font-weight: 650;
  word-break: keep-all;
}

.kbs-review-card span {
  display: block;
  margin-top: 22px;
  color: #879894;
  font-size: 14px;
  font-weight: 800;
}

.kbs-review-action {
  margin-top: 42px;
  text-align: center;
}

.kbs-review-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  background: #063f39;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(6, 63, 57, 0.18);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.kbs-review-action a:hover {
  transform: translateY(-2px);
  background: #052f2b;
}

/* 후기 카드 자동 캐러셀 */
.kbs-review-carousel {
  --review-gap: clamp(18px, 2.5vw, 28px);
  width: 100%;
  overflow: hidden;
  padding: 8px 0 18px;
}

.kbs-review-track {
  display: flex;
  width: max-content;
  animation: kbsReviewAutoSlide 42s linear infinite;
  will-change: transform;
}

.kbs-review-carousel:hover .kbs-review-track {
  animation-play-state: paused;
}

.kbs-review-group {
  display: flex;
  gap: var(--review-gap);
  padding-right: var(--review-gap);
  flex: 0 0 auto;
}

.kbs-review-carousel .kbs-review-card {
  width: clamp(280px, 32vw, 420px);
  flex: 0 0 clamp(280px, 32vw, 420px);
  min-height: 280px;
}

@keyframes kbsReviewAutoSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-621bc35 *//* 강사 소개 영역: 세로형 레이아웃으로 변경 */
.kbs-ai-instructor-section .instructor-wrap {
  max-width: 760px !important;
  display: block !important;
  padding: clamp(24px, 4vw, 42px) !important;
}

/* 사진 영역 */
.kbs-ai-instructor-section .instructor-profile {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 32px;
}

.kbs-ai-instructor-section .instructor-img {
  width: 100%;
  aspect-ratio: 4 / 5;
}

/* 사진 바로 아래 설명 */
.kbs-ai-instructor-section .instructor-desc {
  margin-top: 18px !important;
  padding-bottom: 24px !important;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.kbs-ai-instructor-section .instructor-desc p {
  display: block;
  margin: 0 0 16px !important;
  text-align: center;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 800;
  line-height: 1.5;
  white-space: normal;
}

/* 버튼 3개는 문구 아래 나란히 */
.kbs-ai-instructor-section .instructor-social {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: 0 !important;
}

.kbs-ai-instructor-section .social-btn {
  flex: 0 0 auto;
}

/* 이력 영역을 사진 하단으로 */
.kbs-ai-instructor-section .instructor-content {
  width: 100%;
  max-width: 100%;
}

/* 수상 경력 → 출강 이력 순서로 세로 배치 */
.kbs-ai-instructor-section .history-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 34px !important;
}

/* 각 이력 박스 */
.kbs-ai-instructor-section .history-grid > div {
  width: 100%;
}

/* 이력 제목 */
.kbs-ai-instructor-section .history-title {
  margin-bottom: 16px;
  font-size: 19px;
}

/* 리스트를 한 줄씩 아래로 */
.kbs-ai-instructor-section .history-grid ul {
  margin: 0;
  padding-left: 20px;
}

.kbs-ai-instructor-section .history-grid li {
  display: list-item;
  width: 100%;
  margin-bottom: 10px;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* 모바일 보정 */
@media (max-width: 640px) {
  .kbs-ai-instructor-section .instructor-wrap {
    max-width: 100% !important;
  }

  .kbs-ai-instructor-section .instructor-profile {
    max-width: 100%;
  }

  .kbs-ai-instructor-section .social-btn {
    flex: 1 1 auto;
  }
}

/* 강사 사진 + 설명 + SNS 중앙 정렬 */
.kbs-ai-instructor-section .instructor-profile {
  width: 100%;
  max-width: 420px;
  margin: 0 auto 36px !important;
  text-align: center;
}

/* 사진 박스 자체를 중앙 배치 */
.kbs-ai-instructor-section .instructor-img {
  width: 100%;
  max-width: 250px;
  margin: 0 auto !important;
}

/* 사진 안 글씨는 좌측 정렬 유지 */
.kbs-ai-instructor-section .instructor-overlay {
  text-align: left !important;
}

/* 사진 하단 설명 영역 중앙 정렬 */
.kbs-ai-instructor-section .instructor-desc {
  text-align: center;
}

.kbs-ai-instructor-section .instructor-desc p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* SNS 버튼 3개 중앙 정렬 */
.kbs-ai-instructor-section .instructor-social {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

/* 버튼은 내용 크기만큼 */
.kbs-ai-instructor-section .social-btn {
  flex: 0 0 auto !important;
  width: auto !important;
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-f179ae3 */.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* 아이콘 간격 살짝 증가 */

  padding: 14px 22px; /* ← 핵심: 버튼 크기 증가 */
  border-radius: 999px;

  background: #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.22);
  color: #0F766E;

  font-size: 15px; /* ← 글씨 키움 */
  font-weight: 600;
  line-height: 1;
  text-decoration: none;

  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.12); /* 살짝 더 강조 */
  opacity: 1;
  visibility: visible;

  transition: all 0.25s ease;
}

.back-btn:hover {
  background: #0F766E;
  color: #ffffff;
  border-color: #0F766E;
  transform: translateX(-3px); /* 살짝 더 강조 */
}/* End custom CSS */