/* AiNex Edu — 고객지원 help center (2026-10 redesign, matches the course guide pages).
   Shell: include/design/public_legacy_start.php — blue hero (search + 고객센터 card), a tab strip
   overlapping the hero edge, then one white panel that holds the legacy page body (.sp-legacy).
   Screens: notice, notice_view, faq, ask, ask_view, enterprise, edudata, edudata_view, remote. */

.hc {
  --hc-ink: #12141a;
  --hc-accent: #0d3f76;
  background: #f6f8fc;
  color: var(--hc-ink);
}

.hc-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.hc-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================= hero ================= */
.hc-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 120px;
  border-radius: 0 0 40px 40px;
  color: #fff;
  background:
    radial-gradient(700px 480px at 88% 20%, rgb(175 210 255 / 0.4), transparent 62%),
    radial-gradient(760px 520px at 0% 110%, rgb(14 36 160 / 0.6), transparent 60%),
    var(--p);
}

.hc-heroGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  align-items: center;
  gap: 48px;
}

.hc-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: rgb(255 255 255 / 0.75);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hc-eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: rgb(255 255 255 / 0.6);
}

.hc-title {
  margin: 18px 0 0;
  font-size: clamp(32px, 3.6vw, 50px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.hc-lead {
  max-width: 34em;
  margin: 12px 0 0;
  color: rgb(255 255 255 / 0.8);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  word-break: keep-all;
}

.hc-search {
  display: flex;
  align-items: center;
  max-width: 600px;
  height: 62px;
  margin: 28px 0 0;
  padding: 0 7px 0 18px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 6px rgb(255 255 255 / 0.12), 0 28px 56px -24px rgb(6 16 90 / 0.6);
  color: var(--hc-ink);
  transition: box-shadow 0.2s ease;
}

.hc-search:focus-within {
  box-shadow: 0 0 0 6px rgb(255 255 255 / 0.32), 0 28px 56px -24px rgb(6 16 90 / 0.6);
}

.hc-searchIco {
  flex: none;
  color: var(--hc-accent);
}

.hc-search-label {
  flex: 1;
  min-width: 0;
}

.hc-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--hc-ink);
  font: inherit;
  font-size: 16px;
  font-weight: 500;
}

.hc-search input:focus {
  outline: none;
}

.hc-search input::placeholder {
  color: #98a2b3;
}

.hc-search button {
  flex: none;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: var(--hc-ink);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.hc-search button:hover,
.hc-search button:focus-visible {
  background: var(--hc-accent);
}

.hc-quick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 16px 0 0;
  font-size: 13px;
}

.hc-quick span {
  margin-right: 4px;
  color: rgb(255 255 255 / 0.65);
  font-weight: 600;
}

.hc-quick a {
  padding: 5px 11px;
  border: 1px solid rgb(255 255 255 / 0.26);
  border-radius: 4px;
  background: rgb(255 255 255 / 0.1);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.hc-quick a:hover,
.hc-quick a:focus-visible {
  background: #fff;
  color: var(--hc-accent);
}

/* 고객센터 card */
.hc-call {
  padding: 26px;
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: 6px;
  background: rgb(255 255 255 / 0.12);
  backdrop-filter: blur(12px);
}

.hc-callLabel {
  margin: 0;
  color: rgb(255 255 255 / 0.75);
  font-size: 13px;
  font-weight: 700;
}

.hc-tel {
  display: block;
  width: fit-content;
  margin-top: 4px;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-decoration: none;
}

.hc-hours {
  margin: 8px 0 0;
  color: rgb(255 255 255 / 0.82);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
}

.hc-hours a {
  color: #fff;
  text-decoration: none;
}

.hc-callBtns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}

.hc-callPrimary,
.hc-callLine {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 16px;
  white-space: nowrap;
  border-radius: 6px;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hc-callPrimary {
  background: #fff;
  color: var(--hc-ink);
}

.hc-callPrimary:hover,
.hc-callPrimary:focus-visible {
  background: #eef3f9;
}

.hc-callLine {
  border: 1px solid rgb(255 255 255 / 0.4);
  color: #fff;
}

.hc-callLine:hover,
.hc-callLine:focus-visible {
  border-color: #fff;
  background: rgb(255 255 255 / 0.1);
}

.hc-callMore {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin: 14px 0 0;
  font-size: 13.5px;
}

.hc-callMore a {
  color: rgb(255 255 255 / 0.85);
  font-weight: 600;
  text-decoration: none;
}

.hc-callMore a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hc-hero a:focus-visible,
.hc-hero button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ================= tab strip (overlaps the hero edge) ================= */
.hc-cats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  max-width: 1136px;
  margin: -64px auto 0;
  padding: 8px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.05), 0 30px 60px -30px rgb(10 30 120 / 0.4);
}

.hc-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 8px 16px;
  border-radius: 6px;
  color: #344054;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.hc-cat-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: #eef3f9;
  color: var(--hc-accent);
  transition: background 0.18s ease, color 0.18s ease, transform 0.25s ease;
}

.hc-cat-icon svg {
  width: 22px;
  height: 22px;
}

.hc-cat-label {
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  word-break: keep-all;
}

.hc-cat:hover,
.hc-cat:focus-visible {
  background: #f5f7fc;
  color: var(--hc-ink);
}

.hc-cat:hover .hc-cat-icon {
  transform: translateY(-2px);
}

.hc-cat.is-on {
  background: var(--p);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(13,63,118,0.7);
}

.hc-cat.is-on .hc-cat-icon {
  background: rgb(255 255 255 / 0.2);
  color: #fff;
}

.hc-cat:focus-visible {
  outline: 2px solid var(--hc-accent);
  outline-offset: 2px;
}

/* ================= panel ================= */
.hc-stage {
  padding: 32px 0 96px;
}

.hc-panel {
  padding: 32px 36px 36px;
  border: 1px solid #e3e7ec;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.04), 0 24px 48px -36px rgb(16 24 60 / 0.4);
}

.hc-panel-head {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid #eef1f6;
}

.hc-crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #98a2b3;
  font-size: 13px;
}

.hc-crumb li {
  display: inline-flex;
  align-items: center;
}

.hc-crumb li:not(:last-child)::after {
  content: "/";
  margin: 0 8px;
  color: #d0d5dd;
}

.hc-crumb a {
  color: #667085;
  text-decoration: none;
}

.hc-crumb a:hover {
  color: var(--hc-accent);
}

.hc-crumb [aria-current="page"] {
  color: #344054;
  font-weight: 700;
}

.hc-panel-id {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.hc-panel-mark {
  display: grid;
  flex: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: var(--p);
  color: #fff;
  box-shadow: 0 12px 22px -12px rgba(13,63,118,0.8);
}

.hc-panel-mark svg {
  width: 24px;
  height: 24px;
}

.hc-panel-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.25;
}

.hc-panel-head p {
  margin: 4px 0 0;
  color: #667085;
  font-size: 14.5px;
  line-height: 1.5;
}

/* ================= legacy body: shared ================= */
.sp-legacy .top_section,
.sp-legacy .notice-board-head h3,
.sp-legacy .support_content > #wrap > h2 {
  display: none;
}

.sp-legacy .support_content #wrap,
.sp-legacy #wrap {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.sp-legacy form[name="listScriptForm"] {
  display: none;
}

.sp-legacy .count {
  margin: 0;
  color: #667085;
  font-size: 13.5px;
  font-weight: 600;
}

.sp-legacy .count span {
  color: var(--hc-accent);
  font-weight: 800;
}

.sp-legacy p.hc-empty,
.sp-legacy td.hc-empty {
  margin: 0;
  padding: 48px 16px;
  border: 1px dashed #d9dee8;
  border-radius: 6px;
  background: #fafbfd;
  color: #667085;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.sp-legacy p.hc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.sp-legacy .hc-empty i {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #eef3f9;
  color: var(--hc-accent);
  font-size: 26px;
}

.sp-legacy td.hc-empty i {
  margin: 0 auto 10px;
}

/* filter bar: segmented categories + search */
.sp-legacy .notice-board-head {
  margin: 0 0 18px;
}

.sp-legacy .course-list-actions,
.sp-legacy .notice-actions,
.sp-legacy .edudata_top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 0;
  background: none;
}

.sp-legacy .course-list-categories,
.sp-legacy .category ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 4px;
  list-style: none;
  border-radius: 6px;
  background: #f2f4f7;
}

.sp-legacy .course-list-categories a,
.sp-legacy .category a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #667085;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.sp-legacy .course-list-categories a:hover,
.sp-legacy .category a:hover {
  color: var(--hc-ink);
}

.sp-legacy .course-list-categories li.on a,
.sp-legacy .category li.on a {
  background: #fff;
  color: var(--hc-ink);
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.08), 0 2px 8px rgb(16 24 40 / 0.05);
}

.sp-legacy .category {
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.sp-legacy .category li {
  padding: 0;
  border: 0;
}

.sp-legacy .category li.on {
  border: 0;
  color: inherit;
}

.sp-legacy .course-list-search,
.sp-legacy .edudata_top .search_box {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 260px;
  height: 46px;
  margin-left: auto;
  padding: 0 4px 0 14px;
  border: 1px solid #e4e7ec;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sp-legacy .course-list-search:focus-within,
.sp-legacy .edudata_top .search_box:focus-within {
  border-color: var(--hc-accent);
  box-shadow: 0 0 0 4px rgba(13,63,118,0.12);
}

.sp-legacy .course-list-search input,
.sp-legacy .edudata_top .search_box input {
  flex: 1;
  min-width: 0;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-size: 14.5px;
}

.sp-legacy .course-list-search input:focus,
.sp-legacy .edudata_top .search_box input:focus {
  outline: none;
}

.sp-legacy .course-list-search button,
.sp-legacy .edudata_top .search_box .search_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #667085;
  cursor: pointer;
}

.sp-legacy .course-list-search button:hover,
.sp-legacy .edudata_top .search_box .search_btn:hover {
  background: #eef3f9;
  color: var(--hc-accent);
}

.sp-legacy .edudata_top {
  margin: 0 0 16px;
}

/* ================= notices: list rows that expand in place ================= */
.sp-legacy .notice-table {
  border: 0;
}

.sp-legacy .notice-table-head {
  display: none;
}

.sp-legacy .notice-table-body {
  border-top: 2px solid var(--hc-ink);
}

.sp-legacy .notice-row {
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid #eef0f4;
  border-radius: 0;
  background: #fff;
}

.sp-legacy .notice-row-summary {
  display: grid;
  grid-template-columns: 52px auto minmax(0, 1fr) auto 32px;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 0;
  padding: 20px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sp-legacy .notice-col-no {
  display: block;
  color: #98a2b3;
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.sp-legacy .notice-row-summary:hover {
  background: #f8faff;
}

.sp-legacy .notice-row-summary:hover .notice-col-title {
  color: var(--hc-accent);
}

.sp-legacy .notice-row-summary:focus-visible {
  outline: 2px solid var(--hc-accent);
  outline-offset: -2px;
}

.sp-legacy .notice-col-title {
  overflow: hidden;
  color: var(--hc-ink);
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.sp-legacy .notice-col-date {
  color: #98a2b3;
  font-size: 13.5px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.sp-legacy .notice-col-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f2f4f7;
  color: #667085;
  transition: background 0.15s ease, color 0.15s ease, transform 0.25s ease;
}

.sp-legacy .notice-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--hc-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.sp-legacy .notice-badge.general {
  background: #f2f4f7;
  color: #475467;
}

.sp-legacy .notice-row:has(.notice-badge.notice) {
  background: #fafbff;
}

.sp-legacy .notice-row.is-open .notice-row-summary {
  background: #f5f7ff;
}

.sp-legacy .notice-row.is-open .notice-col-title {
  color: var(--hc-accent);
}

.sp-legacy .notice-row.is-open .notice-col-toggle {
  background: var(--hc-accent);
  color: #fff;
}

.sp-legacy .notice-row-detail-inner {
  padding: 8px 32px 28px 76px;
  background: #f5f7ff;
  color: #344054;
  font-size: 15px;
  line-height: 1.8;
}

.sp-legacy .notice-attachments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #fff;
  font-size: 13px;
}

.sp-legacy .notice-attachments strong {
  color: #344054;
}

.sp-legacy .notice-attachments a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  color: var(--hc-accent);
  font-weight: 600;
}

/* ================= faq: Q / A accordion ================= */
.sp-legacy .faq-list {
  display: grid;
  gap: 10px;
}

.sp-legacy .faq-card {
  overflow: hidden;
  border: 1px solid #e3e7ec;
  border-radius: 6px;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sp-legacy .faq-card:hover {
  border-color: #c9d6ff;
}

.sp-legacy .faq-card-question {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
}

.sp-legacy .faq-card-question:focus-visible {
  outline: 2px solid var(--hc-accent);
  outline-offset: -2px;
}

.sp-legacy .faq-card-q {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #eef3f9;
  color: var(--hc-accent);
  font-size: 14px;
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.sp-legacy .faq-card-title {
  flex: 1;
}

.sp-legacy .faq-card-toggle {
  color: #98a2b3;
  transition: transform 0.25s ease;
}

.sp-legacy .faq-card.is-open {
  border-color: #c9d6ff;
  box-shadow: 0 16px 32px -24px rgba(13,63,118,0.5);
}

.sp-legacy .faq-card.is-open .faq-card-question {
  background: transparent;
}

.sp-legacy .faq-card.is-open .faq-card-q {
  background: var(--hc-accent);
  color: #fff;
}

.sp-legacy .faq-card-answer-inner {
  position: relative;
  margin: 0 20px 20px;
  padding: 18px 20px 18px 56px;
  border-radius: 6px;
  background: #f5f7fc;
  color: #344054;
  font-size: 15px;
  line-height: 1.8;
}

.sp-legacy .faq-card-answer-inner::before {
  content: "A";
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #12b76a;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

/* ================= pagination ================= */
.sp-legacy .course-list-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 28px 0 0;
}

.sp-legacy .course-list-pagination a,
.sp-legacy .course-list-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  color: #475467;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.sp-legacy .course-list-pagination a:hover {
  background: #f2f4f7;
}

.sp-legacy .course-list-pagination .on {
  background: var(--hc-ink);
  color: #fff;
}

/* ================= tables: 1:1 문의 list, 학습자료실 ================= */
.sp-legacy .support_content > #wrap > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0 0 18px;
  padding: 0 20px;
  border: 0;
  border-radius: 6px;
  background: var(--hc-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sp-legacy .support_content > #wrap > button:hover {
  background: var(--hc-accent);
  color: #fff;
}

.sp-legacy .support_content > #wrap > .count {
  margin-bottom: 10px;
}

.sp-legacy .tableTypeA {
  margin: 0;
  overflow: hidden;
  border: 0;
  border-top: 2px solid var(--hc-ink);
  border-radius: 0;
}

.sp-legacy .tableTypeA table {
  width: 100%;
  border-collapse: collapse;
}

.sp-legacy .tableTypeA th {
  padding: 14px 12px;
  border-bottom: 1px solid #e4e7ec;
  background: #fafbfd;
  color: #475467;
  font-size: 13.5px;
  font-weight: 700;
}

.sp-legacy .tableTypeA td {
  padding: 18px 12px;
  border-bottom: 1px solid #eef0f4;
  color: #475467;
  font-size: 14.5px;
}

.sp-legacy .tableTypeA tbody tr {
  transition: background 0.15s ease;
}

.sp-legacy .tableTypeA tbody tr:hover {
  background: #f8faff;
}

.sp-legacy td.al {
  color: var(--hc-ink);
  font-weight: 650;
  text-align: left;
}

.sp-legacy td.al a {
  color: inherit;
  text-decoration: none;
}

.sp-legacy td.al a:hover {
  color: var(--hc-accent);
}

.sp-legacy td.fcred {
  color: var(--hc-accent);
  font-style: normal;
  font-weight: 700;
}

.sp-legacy .edudata_content .tableTypeA img.download,
.sp-legacy .tableTypeA img.download_view {
  width: 16px;
  height: auto;
  margin-right: 6px;
  vertical-align: middle;
}

/* ================= article views (notice / ask / edudata) ================= */
.sp-legacy .tableTypeA_top {
  padding-bottom: 20px;
  border-bottom: 1px solid #eef0f4;
}

.sp-legacy .tableTypeA_top .title {
  color: var(--hc-ink);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.4;
  word-break: keep-all;
}

.sp-legacy .tableTypeA_top .fcskyblue,
.sp-legacy .fcskyblue {
  display: inline-block;
  margin-right: 10px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--hc-accent);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  vertical-align: 5px;
}

.sp-legacy .tableTypeA_top .fcskyblue:empty {
  display: none;
}

.sp-legacy .tableTypeA_top .detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0;
  color: #667085;
  font-size: 13.5px;
}

.sp-legacy .tableTypeA_top .detail span {
  margin-right: 6px;
  color: #98a2b3;
  font-weight: 600;
}

.sp-legacy .tableTypeA_top .bar {
  width: 1px;
  height: 12px;
  background: #e4e7ec;
}

.sp-legacy .tableTypeA_top + .tableTypeA {
  border-top: 0;
}

.sp-legacy .tableTypeA_top + .tableTypeA tbody tr:hover {
  background: transparent;
}

.sp-legacy .tableTypeA_top + .tableTypeA th {
  width: 160px;
  background: transparent;
  text-align: left;
}

.sp-legacy td.content,
.sp-legacy .tableTypeA td.content {
  padding: 28px 4px 32px;
  border-bottom: 1px solid #eef0f4;
  background: transparent;
  color: #344054;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  text-align: left;
}

.sp-legacy .comment {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  margin-top: 20px;
  padding: 22px;
  border-radius: 6px;
  background: #f5f7ff;
}

.sp-legacy .comment .left span {
  display: inline-grid;
  place-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--hc-accent);
  color: #fff;
  font-weight: 800;
}

.sp-legacy .comment .right b {
  display: block;
  margin-bottom: 4px;
}

.sp-legacy .comment .right span {
  display: block;
  margin-bottom: 8px;
  color: #667085;
  font-size: 13px;
}

.sp-legacy .comment .right p {
  line-height: 1.8;
}

.sp-legacy .button_wrap,
.sp-legacy .submit_btn,
.sp-legacy .btn_wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.sp-legacy .button_wrap button,
.sp-legacy .edudata_content .button_wrap button {
  min-height: 48px;
  min-width: 120px;
  padding: 0 22px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  color: var(--hc-ink);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.sp-legacy .button_wrap button:hover {
  border-color: var(--hc-ink);
}

.sp-legacy .button_wrap .btn_01,
.sp-legacy .edudata_content .button_wrap .btn_01 {
  border-color: var(--hc-ink);
  background: var(--hc-ink);
  color: #fff;
}

.sp-legacy .button_wrap .btn_01:hover {
  border-color: var(--hc-accent);
  background: var(--hc-accent);
}

/* ================= remote support ================= */
.sp-legacy .remote_wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  padding: 36px 40px;
  border-radius: 6px;
  background: linear-gradient(150deg, #f5f7fa 0%, #fff 70%);
}

.sp-legacy .remote_wrap strong {
  display: block;
  margin-bottom: 14px;
  color: var(--hc-ink);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.35;
  word-break: keep-all;
}

.sp-legacy .remote_wrap span {
  display: block;
  margin-bottom: 24px;
  color: #475467;
  font-size: 15.5px;
  line-height: 1.75;
  word-break: keep-all;
}

.sp-legacy .remote_wrap button {
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: var(--hc-ink);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 30px -14px rgb(18 20 26 / 0.5);
  transition: background 0.15s ease;
}

.sp-legacy .remote_wrap button:hover {
  background: var(--hc-accent);
  color: #fff;
}

.sp-legacy .remote_wrap img {
  width: 100%;
  border-radius: 6px;
}

/* ================= enterprise consult form ================= */
.sp-legacy .af-narrow,
.sp-legacy .hc-consult {
  max-width: none;
  margin: 0;
}

.sp-legacy .hc-consult {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 20px;
}

.sp-legacy .hc-span {
  grid-column: 1 / -1;
}

.sp-legacy .af-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.sp-legacy .af-label {
  color: #344054;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sp-legacy .af-requiredMark {
  margin-left: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  background: #eef3f9;
  color: var(--hc-accent);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.sp-legacy .af-form .af-input,
.sp-legacy .hc-consult .af-input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #d9dee6;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(16 24 40 / 0.04);
  color: var(--hc-ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.sp-legacy .hc-consult .af-input:hover {
  border-color: #c4cad4;
}

.sp-legacy .hc-consult select.af-input {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>");
  background-position: right 14px center;
  background-repeat: no-repeat;
}

.sp-legacy .af-form textarea.af-input,
.sp-legacy .hc-consult textarea.af-input {
  min-height: 160px;
  line-height: 1.6;
  resize: vertical;
}

.sp-legacy .af-form .af-input:focus,
.sp-legacy .hc-consult .af-input:focus {
  outline: none;
  border-color: var(--hc-accent);
  box-shadow: 0 0 0 4px rgba(13,63,118,0.14);
}

.sp-legacy .af-checkRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 16px 18px;
  border-radius: 6px;
  background: #f5f7fc;
}

.sp-legacy .af-checkRow input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--hc-accent);
}

.sp-legacy .af-checkRow label {
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
}

.sp-legacy .af-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
}

.sp-legacy button.af-submit,
.sp-legacy a.af-submit {
  min-width: 160px;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 6px;
  background: var(--hc-ink);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 30px -14px rgb(18 20 26 / 0.5);
  transition: background 0.15s ease;
}

.sp-legacy button.af-submit:hover,
.sp-legacy a.af-submit:hover {
  background: var(--hc-accent);
  color: #fff;
}

.sp-legacy a.af-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  color: var(--hc-ink);
  font-weight: 700;
  text-decoration: none;
}

.sp-legacy .af-checkRow a,
.sp-legacy .af-notice a {
  color: var(--hc-accent);
  font-weight: 800;
  text-decoration: none;
}

.sp-legacy .af-checkRow a:hover,
.sp-legacy .af-notice a:hover {
  text-decoration: underline;
}

.sp-legacy .af-notice,
.sp-legacy .af-error {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 18px;
  border-radius: 6px;
  line-height: 1.65;
}

.sp-legacy .af-notice {
  background: #f5f7fc;
  color: var(--hc-ink);
}

.sp-legacy .af-error {
  background: #fff4f0;
  color: #c2410c;
}

/* ================= 1:1 inquiry modal + completion dialog ================= */
#modal01.modal-wrap2 {
  width: min(560px, calc(100vw - 28px));
  max-height: min(86vh, 780px);
  padding: 30px 26px 24px;
  overflow: auto;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgb(16 24 40 / 0.24);
}

#modal01 h2 {
  margin: 0 36px 6px 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

#modal01 .close-btn {
  top: 16px;
  right: 18px;
}

#modal01 .input_wrap {
  margin-top: 16px;
}

#modal01 .title {
  margin: 0 0 6px;
  color: #344054;
  font-size: 13.5px;
  font-weight: 700;
}

#modal01 select,
#modal01 .input-title,
#modal01 .input-content {
  box-sizing: border-box;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9dee6;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

#modal01 select:focus,
#modal01 .input-title:focus,
#modal01 .input-content:focus {
  outline: none;
  border-color: #0d3f76;
  box-shadow: 0 0 0 4px rgba(13,63,118,0.14);
}

#modal01 .input-content {
  min-height: 150px;
  resize: vertical;
}

#modal01 .captcha_box {
  display: grid;
  gap: 8px;
}

#modal01 .captcha img {
  height: 48px;
  border-radius: 8px;
}

#modal01 .submit_btn {
  margin-top: 20px;
  text-align: right;
}

#modal01 .submit_btn button {
  min-width: 128px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  background: #12141a;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

#modal01 .submit_btn button:hover {
  background: #0d3f76;
}

#modal02.modal-wrap {
  width: min(480px, calc(100vw - 28px));
  padding: 38px 28px 28px;
  border-radius: 6px;
  box-shadow: 0 30px 70px rgb(16 24 40 / 0.24);
  text-align: center;
}

#modal02 .close-btn {
  top: 16px;
  right: 18px;
}

#modal02 .complete_inner i {
  color: #0d3f76;
  font-size: 52px;
}

#modal02 .complete_inner strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 22px;
  font-weight: 800;
}

#modal02 .complete_inner p {
  color: #475467;
  line-height: 1.6;
}

#modal02 .btn {
  margin-top: 22px;
}

#modal02 .btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  background: #12141a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* ================= responsive ================= */
@media (width <= 1100px) {
  .hc-heroGrid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hc-call {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 24px;
  }

  .hc-callBtns {
    grid-row: 1 / span 3;
    grid-column: 2;
    grid-template-columns: repeat(2, auto);
    margin-top: 0;
  }

  .hc-callMore {
    justify-content: flex-start;
  }

  .hc-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-right: 24px;
    margin-left: 24px;
  }
}

@media (width <= 760px) {
  .hc-inner {
    padding: 0 16px;
  }

  .hc-hero {
    padding: 40px 0 92px;
    border-radius: 0 0 28px 28px;
  }

  .hc-title {
    font-size: 30px;
  }

  .hc-search {
    height: 56px;
    padding: 0 5px 0 14px;
  }

  .hc-search button {
    height: 44px;
    padding: 0 16px;
  }

  .hc-call {
    display: block;
    padding: 20px;
  }

  .hc-callBtns {
    margin-top: 16px;
  }

  .hc-tel {
    font-size: 30px;
  }

  .hc-cats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: -56px 16px 0;
    padding: 6px;
    border-radius: 6px;
  }

  .hc-cat {
    gap: 8px;
    padding: 12px 4px;
    border-radius: 6px;
  }

  .hc-cat-icon {
    width: 38px;
    height: 38px;
    border-radius: 6px;
  }

  .hc-cat-label {
    font-size: 12.5px;
  }

  .hc-stage {
    padding: 20px 0 64px;
  }

  .hc-panel {
    padding: 22px 16px 26px;
    border-radius: 6px;
  }

  .hc-panel-head h2 {
    font-size: 22px;
  }

  .hc-panel-mark {
    width: 44px;
    height: 44px;
  }

  .sp-legacy .course-list-search,
  .sp-legacy .edudata_top .search_box {
    width: 100%;
    min-width: 0;
    margin-left: 0;
  }

  .sp-legacy .notice-row-summary {
    grid-template-columns: auto minmax(0, 1fr) 28px;
    gap: 10px;
    padding: 16px 4px;
    font-size: 15px;
  }

  .sp-legacy .notice-col-no,
  .sp-legacy .notice-col-date {
    display: none;
  }

  .sp-legacy .notice-row-detail-inner {
    padding: 4px 14px 20px;
  }

  .sp-legacy .faq-card-question {
    padding: 16px;
    font-size: 15px;
  }

  .sp-legacy .faq-card-answer-inner {
    margin: 0 12px 14px;
  }

  .sp-legacy .hc-consult {
    grid-template-columns: 1fr;
  }

  .sp-legacy .af-actions {
    justify-content: stretch;
  }

  .sp-legacy button.af-submit,
  .sp-legacy a.af-submit {
    width: 100%;
  }

  .sp-legacy .remote_wrap {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 18px;
  }

  .sp-legacy .remote_wrap strong {
    font-size: 22px;
  }

  .sp-legacy .tableTypeA_top .title {
    font-size: 21px;
  }

  .sp-legacy .comment {
    grid-template-columns: 1fr;
  }

  .sp-legacy .tableTypeA .mh,
  .sp-legacy .edudata_content .tableTypeA .mh {
    display: none;
  }
}

/* legacy.css boxes every .content — the article body here is a plain reading area */
.sp-legacy td.content,
.sp-legacy .tableTypeA td.content {
  border: 0;
  border-bottom: 1px solid #eef0f4;
  border-radius: 0;
  margin: 0;
}

.sp-legacy .tableTypeA_top + .tableTypeA th + td {
  text-align: left;
}

/* 학습자료실 uses the older .pagination markup */
.sp-legacy .pagination {
  margin: 28px 0 0;
}

.sp-legacy .pagination ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-legacy .pagination li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 6px;
  background: transparent;
  color: #475467 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.sp-legacy .pagination li a:hover {
  background: #f2f4f7;
}

.sp-legacy .pagination li.on a {
  background: var(--hc-ink);
  color: #fff !important;
}
