/* 이음멘토 — 기존 아임웹 사이트(eum-plan.com) 디자인을 그대로 옮긴 스타일 */
:root {
  --navy: #1D2951;
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --amber: #F59E0B;
  --gray-bg: #f0f4f8;
  --line: #e2e8f0;
  --text: #404040;
  --text-dark: #212121;
  --muted: #64748b;
  --body-font: helvetica, Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", "Noto Sans", sans-serif;
  --pretendard: Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --heading-font: "Libre Baskerville", Pretendard, "Apple SD Gothic Neo", "Malgun Gothic", "Nanum Gothic", "Noto Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: var(--body-font); font-size: 13px; line-height: 1.6; font-weight: 700;
  word-break: keep-all;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--heading-font); margin: 0; }
p { margin: 0; }
button, input, select, textarea { font-family: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: #000; color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.sec { position: relative; }
.sec-navy { background: var(--navy); }
.sec-gray { background: var(--gray-bg); }
.sec-white { background: #fff; }

/* ---------- 헤더 ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.06); }
.header-inner { display: flex; align-items: center; height: 76px; padding: 0 15px; }
.logo { display: flex; align-items: center; margin-right: auto; }
.logo-pc { width: 85px; height: 76px; display: block; }
.logo-m { display: none; }
.logo-text { font-family: var(--pretendard); font-size: 20px; font-weight: 700; color: var(--text-dark); margin-left: 0; white-space: nowrap; }
.gnb { display: flex; height: 76px; align-items: center; }
.gnb a { display: flex; align-items: center; height: 40px; padding: 0 15px; font-family: helvetica, Pretendard, sans-serif; font-size: 15px; font-weight: 700; color: var(--text-dark); position: relative; }
.gnb a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px; background: transparent; }
.gnb a:hover::after, .gnb a.active::after { background: #e5e7eb; }
.header-btn {
  margin-left: 15px; display: inline-flex; align-items: center; justify-content: center;
  height: 46px; padding: 8px 14px; border: 3px solid #d3d3d3; border-radius: 9px;
  background: var(--blue); color: #fff; font-size: 14px; font-weight: 700; letter-spacing: 1px; line-height: 20px;
}
.header-btn:hover { background: var(--blue-dark); }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: 10px; padding: 10px 8px; background: none; border: 0; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: #fff; margin: 6px 0; }
.m-menu { display: none; }

@media (max-width: 991px) {
  .site-header { background: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,.25); }
  .header-inner { height: 46px; padding: 0 10px; }
  .logo-pc { display: none; }
  .logo-m { display: block; width: 30px; height: 27px; margin-right: 18px; }
  .logo-text { font-size: 15px; color: #fff; }
  .gnb { display: none; }
  .header-btn { height: 30px; padding: 0 6px; border: 1px solid #d3d3d3; border-radius: 4px; background: #fff; color: var(--text-dark); font-size: 11px; letter-spacing: 1px; }
  .header-btn:hover { background: #fff; }
  .menu-btn { display: block; }
  .m-menu:not([hidden]) { display: flex; flex-direction: column; background: var(--navy); border-top: 1px solid rgba(255,255,255,.15); }
  .m-menu a { padding: 14px 20px; color: #fff; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .m-menu a.active { color: #93c5fd; }
}

/* ---------- 메인 히어로 ---------- */
.mentorship-hero { padding: 35px 20px; text-align: center; font-family: var(--pretendard); max-width: 1200px; margin: 0 auto; }
.mentorship-hero h1 { font-size: 38px; font-weight: 700; color: #fff; margin-bottom: 16px; line-height: 1.3; }
.mentorship-hero p { font-size: 21px; color: #e2e8f0; margin-bottom: 40px; line-height: 1.5; }
.cta-container { display: flex; justify-content: center; gap: 20px; max-width: 700px; margin: 0 auto; }
.cta-box {
  flex: 1; border-radius: 10px; padding: 24px 20px; text-align: center; font-family: var(--pretendard);
  font-weight: 700; font-size: 24px; display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: all .2s ease; cursor: pointer; line-height: 1.6;
}
.cta-box.phone { background: #fff; color: var(--navy); box-shadow: 0 4px 15px rgba(0,0,0,.1); }
.cta-box.phone svg { width: 26px; height: 26px; fill: currentColor; }
.cta-box.phone:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.cta-box.primary { background: var(--blue); color: #fff; box-shadow: 0 4px 15px rgba(37,99,235,.2); }
.cta-box.primary:hover { transform: translateY(-2px); background: var(--blue-dark); box-shadow: 0 6px 20px rgba(37,99,235,.3); }
@media (max-width: 768px) {
  .mentorship-hero { padding: 40px 20px 20px; }
  .mentorship-hero h1 { font-size: 26px; }
  .mentorship-hero p { font-size: 15px; margin-bottom: 30px; }
  .cta-container { flex-direction: column; gap: 12px; }
  .cta-box { font-size: 18px; padding: 18px 20px; }
}

/* ---------- 신뢰 지표 ---------- */
.trust-bar-wrap { font-family: var(--pretendard); max-width: 1050px; margin: 0 auto; padding: 40px 20px; }
.trust-bar-box {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.03);
  display: flex; justify-content: space-between; align-items: flex-start; padding: 45px 20px;
}
.trust-item { flex: 1; text-align: center; position: relative; padding: 0 30px; display: flex; flex-direction: column; align-items: center; }
.trust-item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 10%; height: 80%; width: 1px; background: #f1f5f9; }
.trust-pill { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); background: #eff6ff; padding: 6px 16px; border-radius: 20px; margin-bottom: 20px; letter-spacing: -.3px; }
.trust-metric { font-size: 46px; font-weight: 900; color: var(--navy); margin-bottom: 14px; line-height: 1; letter-spacing: -1px; }
.trust-metric .small { font-size: 20px; font-weight: 600; color: #94a3b8; letter-spacing: 0; margin-left: 2px; }
.trust-metric .highlight { color: var(--blue); }
.trust-title { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.trust-desc { font-size: 14.5px; font-weight: 500; color: var(--muted); line-height: 1.5; }
@media (max-width: 768px) {
  .trust-bar-box { flex-direction: column; align-items: stretch; padding: 40px 20px; gap: 48px; }
  .trust-item { padding: 0 10px; }
  .trust-item:not(:last-child)::after { display: none; }
}

/* ---------- 공통 섹션 (문제/원칙/핵심) ---------- */
.sec-wrap { font-family: var(--pretendard); padding: 70px 20px; }
.sec-header { text-align: center; margin-bottom: 50px; }
.sec-main-title { font-family: var(--pretendard); font-size: 34px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.sec-sub-title { font-size: 17px; font-weight: 500; color: var(--muted); }

.prob-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.prob-card {
  background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--navy); border-radius: 10px;
  padding: 35px 30px; display: flex; align-items: center; gap: 18px; box-shadow: 0 4px 12px rgba(0,0,0,.02); transition: all .3s ease;
}
.prob-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(29,41,81,.12); border-left-color: var(--amber); }
.prob-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: #ffe4e6; color: #e11d48; border-radius: 50%; font-size: 20px; font-weight: 900; flex-shrink: 0; }
.prob-text { font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.5; }

.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1050px; margin: 0 auto; }
.sol-card {
  background: #fff; border-top: 6px solid var(--navy); border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 45px 30px; text-align: center; border-radius: 0 0 10px 10px; box-shadow: 0 4px 10px rgba(0,0,0,.02); transition: all .3s ease;
}
.sol-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(29,41,81,.12); border-top-color: var(--amber); }
.sol-card h3 { font-family: var(--heading-font); font-size: 22px; color: var(--navy); margin-bottom: 18px; font-weight: 800; }
.sol-card p { font-size: 17px; color: #334155; line-height: 1.6; font-weight: 500; }

.step-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.step-card { background: #fff; border: 1px solid var(--line); padding: 45px 35px; border-radius: 10px; text-align: center; box-shadow: 0 4px 10px rgba(0,0,0,.02); transition: all .3s ease; }
.step-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(29,41,81,.12); border-color: var(--navy); }
.step-num { width: 48px; height: 48px; background: var(--navy); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 800; margin: 0 auto 20px; transition: all .3s ease; }
.step-card:hover .step-num { background: var(--amber); }
.step-card h3 { font-family: var(--heading-font); font-size: 20px; margin-bottom: 14px; font-weight: 800; color: var(--navy); }
.step-card p { font-size: 16px; color: #334155; line-height: 1.6; font-weight: 500; }

@media (max-width: 768px) {
  .prob-grid, .sol-grid, .step-grid { grid-template-columns: 1fr; }
  .sec-main-title { font-size: 26px; }
  .prob-card { padding: 25px 20px; }
  .prob-text { font-size: 17px; }
  .sol-card, .step-card { padding: 35px 25px; }
}

/* ---------- 수강후기 제목 ---------- */
.review-heading { width: 100%; padding: 100px 20px 30px; text-align: center; }
.review-heading h2 { font-family: var(--heading-font); font-size: 30px; font-weight: 800; color: #111; letter-spacing: -1px; margin-bottom: 15px; }
.review-heading p { font-size: 16px; color: #666; font-weight: 400; letter-spacing: -.5px; margin-bottom: 35px; }
.review-heading hr { width: 40px; border: none; border-top: 3px solid #111; margin: 0 auto; }

/* ---------- 게시판 (카드형 목록) ---------- */
.board-page { padding-bottom: 80px; }
.eum-heading-section { padding: 50px 15px 40px; }
.heading-wrapper { display: flex; align-items: center; justify-content: center; gap: 20px; width: 100%; }
.heading-line { flex: 1; height: 1px; background-color: #d1d5db; max-width: 350px; }
.heading-title { font-size: 28px; font-weight: 700; color: #111; white-space: nowrap; }
@media (max-width: 768px) {
  .eum-heading-section { padding: 35px 15px; }
  .heading-title { font-size: 24px; }
  .heading-line { max-width: 80px; }
}

.board-wrap { padding: 20px 15px 60px; max-width: 1280px; margin: 0 auto; }
.card-grid { list-style: none; margin: 0 -15px; padding: 0; display: flex; flex-wrap: wrap; }
.card { width: 25%; padding: 0 15px 30px; }
.card a { display: block; border: 1px solid #eee; background: #fff; height: 100%; }
.card-head { display: block; aspect-ratio: 1 / 1; background: #eee; overflow: hidden; }
.card-head img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.card a:hover .card-head img { transform: scale(1.03); }
.card-body { display: block; padding: 20px; color: var(--text-dark); }
.card-title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 700; color: #000; line-height: 1.3; min-height: 2.6em; margin-bottom: 18px; }
.card-author, .card-date { display: block; font-size: 11px; color: #8a8a8a; line-height: 1.6; }
.card-date { font-weight: 700; }
@media (max-width: 991px) { .card { width: 50%; } }
@media (max-width: 480px) { .card-grid { margin: 0 -6px; } .card { padding: 0 6px 12px; } .card-body { padding: 14px 12px; } .card-title { font-size: 13px; } }
.board-empty { text-align: center; color: #666; font-weight: 400; font-size: 15px; padding: 40px 0; }
.board-empty a { color: var(--blue); text-decoration: underline; }

/* ---------- 게시글 보기 ---------- */
.board_view { padding: 30px 15px 0; max-width: 1280px; margin: 0 auto; }
.view-head { padding-bottom: 20px; border-bottom: 1px solid #eee; margin-bottom: 40px; }
.board-title { font-family: var(--body-font); font-size: 20px; font-weight: 700; color: var(--text); line-height: 1.6; margin-bottom: 15px; }
.view-author { font-size: 12px; font-weight: 700; color: var(--text-dark); }
.view-meta { font-size: 11px; color: #888; display: flex; gap: 8px; }
.board_txt_area { font-size: 16px; color: #444; line-height: 1.9; font-weight: 400; }
.board_txt_area p { margin: 0 0 30px; }
.board_txt_area img { display: block; width: 600px; max-width: 100%; height: auto; }
.board_txt_area .post-h { font-family: var(--heading-font); font-size: 22px; font-weight: 700; color: #111; line-height: 1.2; margin: 60px 0 25px; }
.board_txt_area .post-h:first-child { margin-top: 0; }
.board_txt_area .h-num { font-size: 26px; color: #d4d4d4; font-weight: 300; margin-right: 6px; }
.post-toc { margin: 0 0 60px; padding: 35px 30px; background: #fff; border: 1px solid #ebebeb; border-radius: 12px; }
.post-toc .toc-title { display: inline-block; margin: 0 0 20px; padding-bottom: 8px; font-size: 16px; font-weight: 700; color: #111; border-bottom: 2px solid #111; }
.post-toc ul { list-style: none; padding: 0; margin: 0; font-size: 16px; color: #444; line-height: 2.2; }
.board_txt_area .post-toc strong { color: #111; margin-right: 6px; }
.board_txt_area .post-sub { margin: 24px 0 12px; }
.board_txt_area .post-sub strong { font-size: 18px; color: rgb(11, 83, 148); }
.board_txt_area strong { color: rgb(255, 0, 0); font-weight: 700; }
.board_txt_area blockquote { margin: 0 0 40px; padding: 35px 30px; background: #fff; border: 1px solid #ebebeb; border-radius: 12px; }
.board_txt_area blockquote ul { list-style: none; padding: 0; margin: 0; }
.board_txt_area blockquote strong { color: #111; }
.board_txt_area a { color: var(--blue); }
.post-cta { margin-top: 40px; }
.view-foot { display: flex; justify-content: flex-end; padding: 40px 0 0; border-top: 1px solid #eee; margin-top: 60px; }
.btn-list { display: inline-block; padding: 6px 20px; font-size: 12px; background: #c8cbd4; border: 1px solid #c8cbd4; color: #fff; }
.btn-list:hover { background: #abb0be; border-color: #abb0be; }
.policy .board_txt_area { max-width: 900px; margin: 0 auto; font-size: 15px; }
.policy .board_txt_area p { margin-bottom: 14px; }
.policy .post-h { font-size: 18px; margin: 36px 0 12px; }

/* ---------- 소개 페이지 ---------- */
.eum-intro-top { font-family: var(--pretendard); text-align: center; padding: 60px 20px 60px; max-width: 800px; margin: 0 auto; }
.eum-intro-label { color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: 1.5px; margin-bottom: 15px; text-transform: uppercase; }
.eum-intro-heading { font-family: var(--pretendard); font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1.4; letter-spacing: -1px; margin-bottom: 20px; }
.eum-intro-desc { font-size: 16px; color: var(--muted); line-height: 1.6; font-weight: 500; }
.about-eum-wrap { font-family: var(--pretendard); max-width: 1000px; margin: 0 auto; padding: 80px 20px; }
.about-header { text-align: center; margin-bottom: 60px; }
.about-badge { display: inline-block; font-size: 13px; font-weight: 700; color: var(--blue); background: #eff6ff; padding: 6px 16px; border-radius: 20px; margin-bottom: 20px; letter-spacing: .5px; }
.about-title { font-family: var(--pretendard); font-size: 36px; font-weight: 800; color: var(--navy); line-height: 1.4; letter-spacing: -1px; }
.about-content-box { background: #fff; border-top: 4px solid var(--navy); border-radius: 8px; box-shadow: 0 15px 40px rgba(0,0,0,.04); padding: 60px; display: flex; flex-direction: column; gap: 40px; }
.about-quote { font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1.5; position: relative; padding-left: 24px; }
.about-quote::before { content: '"'; position: absolute; left: 0; top: -10px; font-size: 40px; color: var(--blue); font-weight: 900; font-family: serif; }
.about-letter { font-size: 16px; line-height: 1.8; color: #475569; font-weight: 500; }
.about-letter p { margin-bottom: 20px; }
.about-letter p:last-child { margin-bottom: 0; }
.about-letter strong { color: var(--navy); font-weight: 700; }
.about-promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 40px; }
.promise-item { display: flex; flex-direction: column; gap: 12px; }
.promise-icon { width: 32px; height: 32px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.promise-title { font-size: 17px; font-weight: 700; color: var(--navy); }
.promise-desc { font-size: 14px; color: var(--muted); line-height: 1.5; font-weight: 500; }
.eum-closing-bottom { font-family: var(--pretendard); max-width: 850px; margin: 0 auto; padding: 40px 20px 80px; }
.eum-closing-card { background-color: var(--navy); border-radius: 16px; padding: 50px 40px; text-align: center; box-shadow: 0 10px 30px rgba(29,41,81,.15); }
.eum-closing-quote { font-size: 22px; font-weight: 700; color: #fff; line-height: 1.5; margin-bottom: 15px; }
.eum-closing-quote .highlight { color: #38bdf8; }
.eum-closing-sub { font-size: 15px; color: #94a3b8; line-height: 1.6; margin-bottom: 30px; font-weight: 500; }
.eum-closing-sign { display: inline-block; border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; font-size: 16px; font-weight: 600; color: #fff; }
@media (max-width: 768px) {
  .eum-intro-heading { font-size: 26px; }
  .about-title { font-size: 26px; }
  .about-content-box { padding: 36px 24px; }
  .about-quote { font-size: 19px; }
  .about-promises { grid-template-columns: 1fr; }
  .eum-closing-card { padding: 40px 24px; }
  .eum-closing-quote { font-size: 19px; }
}

/* ---------- 상담 신청 ---------- */
.consult { padding: 50px 15px; scroll-margin-top: 60px; }
.consult-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; align-items: start; }
.eum-left-wrap { display: flex; flex-direction: column; gap: 20px; font-family: var(--pretendard); max-width: 420px; width: 100%; margin: 0 auto; }
.mentor-card { background: #fff; border: 1px solid #eaeaea; border-radius: 16px; padding: 40px 30px; box-shadow: 0 4px 20px rgba(0,0,0,.03); }
.mentor-badge { display: inline-block; background-color: #f1f5f9; color: var(--blue); font-size: 11px; font-weight: 700; padding: 6px 14px; border-radius: 20px; margin-bottom: 20px; letter-spacing: .5px; }
.mentor-title { font-family: var(--pretendard); font-size: 26px; font-weight: 800; line-height: 1.4; margin: 0 0 20px; color: var(--navy); }
.mentor-desc { font-size: 15px; line-height: 1.6; color: #475569; margin: 0 0 35px; font-weight: 500; }
.mentor-sign { border-top: 1px solid #eaeaea; padding-top: 20px; font-size: 16px; font-weight: 700; color: var(--navy); }
.kakao-card { background: #fff; border: 1px solid #eaeaea; border-radius: 16px; padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,.03); text-align: center; }
.kakao-title { font-family: var(--heading-font); font-size: 18px; font-weight: 700; color: #111; margin: 0 0 8px; }
.kakao-desc { font-size: 14px; color: #666; margin: 0 0 20px; line-height: 1.5; font-weight: 500; }
.btn-kakao { display: flex; align-items: center; justify-content: center; background-color: #FEE500; color: #191919; font-size: 15px; font-weight: 700; padding: 16px; border-radius: 8px; gap: 8px; transition: all .2s ease; }
.btn-kakao:hover { background-color: #f4dc00; transform: translateY(-2px); }

.form-card { background: #fff; border: 1px solid #eaeaea; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.03); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.f-row { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.f-row > label, .f-row legend { font-size: 13px; font-weight: 700; color: var(--text); padding: 0; margin-bottom: 2px; }
.req { color: #e53935; font-style: normal; margin-left: 2px; }
.form-card input[type=text], .form-card input[type=tel], .form-card select, .form-card textarea {
  width: 100%; height: 34px; padding: 6px 12px; font-size: 13px; color: var(--text-dark); background: #fff;
  border: 1px solid rgba(0,0,0,.1); border-radius: 3px; font-weight: 400;
}
.form-card textarea { height: 76px; resize: vertical; }
.form-card select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23999'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; font-weight: 700; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { border-color: var(--blue); outline: none; }
.form-card [aria-invalid="true"] { border-color: #e53935 !important; }
.phone-group { display: flex; align-items: center; gap: 6px; }
.phone-group input { width: 80px !important; }
.phone-group span { color: #999; }
.check { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 400; color: var(--text); cursor: pointer; padding: 4px 0; }
.check input { width: 15px; height: 15px; margin: 0; accent-color: var(--blue); }
.agree-more { font-size: 12px; color: #999; text-decoration: underline; font-weight: 400; align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 13px; font-weight: 700; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: #e53935; }
.form-msg.is-ok { color: var(--blue); background: #eff6ff; padding: 12px 14px; border-radius: 6px; }
.f-submit { text-align: center; padding-top: 6px; }
.btn-submit { display: block; width: 100%; height: 54px; padding: 0 20px; background: var(--blue); border: 0; color: #fff; font-family: var(--pretendard); font-size: 17px; font-weight: 700; cursor: pointer; border-radius: 10px; box-shadow: 0 4px 15px rgba(37,99,235,.25); transition: all .2s ease; }
.btn-submit:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,99,235,.3); }
.btn-submit[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 991px) {
  .consult-inner { grid-template-columns: 1fr; gap: 20px; }
  .eum-left-wrap { max-width: none; }
  .form-card { padding: 24px 20px; }
}

/* ---------- 푸터 ---------- */
.site-footer { background: #fff; border-top: 1px solid #eee; padding: 40px 15px 50px; text-align: center; font-size: 12px; color: #888; font-weight: 400; }
.footer-inner { display: flex; flex-direction: column; gap: 6px; }
.footer-name { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.site-footer a { color: #555; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .bar { color: #ccc; margin: 0 4px; }
.footer-copy { color: #aaa; margin-top: 6px; }

/* ---------- 관리자 ---------- */
.admin-bar { background: #111827; color: #fff; font-size: 13px; font-weight: 500; }
.admin-bar-inner { max-width: 1280px; margin: 0 auto; padding: 8px 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.admin-bar strong { color: #fbbf24; }
.admin-bar a { color: #e5e7eb; }
.admin-bar a:hover { color: #fff; text-decoration: underline; }
.admin-bar form { margin: 0 0 0 auto; }
.admin-bar button { background: none; border: 1px solid rgba(255,255,255,.3); color: #fff; font: inherit; padding: 3px 10px; border-radius: 4px; cursor: pointer; }
.board-tools { max-width: 1280px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: flex-end; }
.btn-write { display: inline-block; padding: 8px 22px; font-size: 13px; font-weight: 700; background: var(--blue); color: #fff; border-radius: 4px; }
.btn-write:hover { background: var(--blue-dark); }
.card-head { position: relative; }
.card-lock { position: absolute; top: 10px; left: 10px; background: rgba(17,24,39,.85); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 3px; }
.paging { display: flex; justify-content: center; gap: 6px; padding-top: 20px; }
.paging a, .paging strong { min-width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e5e7eb; font-size: 13px; }
.paging strong { background: var(--navy); border-color: var(--navy); color: #fff; }
.paging a:hover { border-color: var(--navy); }
.view-foot { gap: 8px; align-items: center; }
.inline-form { margin: 0; }
.btn-list { cursor: pointer; font-family: inherit; font-weight: 700; }
.btn-danger { background: #ef4444; border-color: #ef4444; }
.btn-danger:hover { background: #dc2626; border-color: #dc2626; }
.private-note { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; padding: 10px 14px; border-radius: 6px; font-size: 13px; margin-bottom: 20px; }

.admin-wrap { max-width: 960px; margin: 0 auto; padding: 30px 15px 60px; font-family: var(--pretendard); }
.admin-wrap.wide { max-width: 1280px; padding-top: 0; }
.admin-title { font-family: var(--pretendard); font-size: 26px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.admin-form { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.admin-form .f-row > label, .admin-form .lbl, .admin-form legend, .admin-form summary { font-size: 14px; font-weight: 700; color: var(--navy); }
.admin-form summary { cursor: pointer; }
.admin-form details[open] { display: flex; flex-direction: column; gap: 14px; }
.admin-form input[type=text], .admin-form input[type=date], .admin-form select, .fallback-body, .admin-login input[type=password] {
  width: 100%; height: 42px; padding: 8px 12px; font-size: 15px; font-weight: 400; color: var(--text-dark); background: #fff; border: 1px solid #d1d5db; border-radius: 6px; font-family: var(--pretendard);
}
.fallback-body { height: auto; min-height: 400px; line-height: 1.7; }
.admin-form input:focus, .admin-form select:focus, .admin-login input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px #dbeafe; }
.admin-form .check { font-size: 14px; }
.admin-hint { font-size: 12.5px; color: var(--muted); font-weight: 400; line-height: 1.6; }
.admin-hint b { color: var(--navy); }
.hero-picker { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; }
.hero-picker img { width: 180px; height: 180px; object-fit: cover; border: 1px solid #e5e7eb; border-radius: 8px; }
.hero-actions { display: flex; gap: 8px; }
.btn-line { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border: 1px solid #d1d5db; border-radius: 6px; background: #fff; font-size: 13px; font-weight: 700; color: var(--navy); cursor: pointer; font-family: inherit; }
.btn-line:hover { border-color: var(--navy); }
.admin-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.admin-actions .btn-submit { width: auto; min-width: 160px; }
.admin-actions .btn-list { padding: 12px 22px; font-size: 14px; }
.admin-login { max-width: 420px; margin: 0 auto 60px; }
.toastui-editor-defaultUI { font-weight: 400; }
.toastui-editor-contents { font-family: var(--body-font); font-size: 16px; }
.toastui-editor-contents strong { color: rgb(255, 0, 0); }
.table-scroll { overflow-x: auto; }
.admin-table { border-collapse: collapse; width: 100%; background: #fff; font-size: 13.5px; font-weight: 400; }
.admin-table th, .admin-table td { border: 1px solid #e5e7eb; padding: 10px 12px; text-align: left; vertical-align: top; }
.admin-table th { background: var(--gray-bg); color: var(--navy); font-weight: 700; white-space: nowrap; }
.admin-table td.msg { min-width: 220px; white-space: pre-wrap; }
@media (max-width: 768px) { .admin-form { padding: 20px 16px; } .admin-actions { flex-direction: column-reverse; align-items: stretch; } .admin-actions .btn-submit { width: 100%; } }

/* ---------- 수강후기 양식 (아임웹과 같은 모양) ---------- */
.board_txt_area .review-info { margin: 0 0 40px; padding: 35px 30px; background: #fff; border: 1px solid #ebebeb; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.03); }
.board_txt_area .review-info h3, .board_txt_area .review-section > h3 { margin: 0 0 20px; font-size: 18px; font-weight: 700; color: #111; line-height: 1.4; }
.board_txt_area .review-info ul { list-style: none; padding: 0; margin: 0; font-size: 15px; color: #555; line-height: 2.2; }
.board_txt_area .review-info strong { color: #222; }
.board_txt_area .review-section { margin-bottom: 30px; padding-left: 5px; }
.board_txt_area .review-section > h3 { margin-bottom: 15px; }
.board_txt_area .review-text, .board_txt_area .review-text p { font-size: 15px; color: #555; line-height: 1.8; }
.board_txt_area .review-text p { margin: 0 0 16px; }
.review-gallery { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 30px 0; }
.review-gallery img { width: 600px; max-width: 100%; border-radius: 8px; border: 1px solid #ebebeb; }
.board_txt_area p { letter-spacing: -0.5px; }
.info-fields { gap: 12px; padding: 20px; background: var(--gray-bg); border-radius: 8px; }
.info-fields > legend { float: left; width: 100%; margin-bottom: 4px; }
.info-fields .f-row > label { font-weight: 600; font-size: 13px; }
.gallery-picker { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-picker:empty { display: none; }
.gallery-picker li { position: relative; width: 120px; height: 120px; }
.gallery-picker img { width: 100%; height: 100%; object-fit: cover; border: 1px solid #e5e7eb; border-radius: 6px; }
.g-remove { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: rgba(17,24,39,.8); color: #fff; font-size: 15px; line-height: 1; cursor: pointer; }

[hidden] { display: none !important; }
