@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css");

html {
  font-family: 'Pretendard';
  scroll-behavior: smooth;
}

html .blog_ai_body * {
  /* font-size: 100%; */
  line-height: 1.9 !important;
  font-size: 17px;
}

.blogMainContentBody {
  padding: 0 0 60px 0 !important;
  margin: 80px 0 0 0 !important;
}

.blogMainContentBody main article {
  padding: 0 !important;
  margin: 0;
}


.nxt_content-section {
  scroll-margin-top: 80px;
}

#nxt_page-toc-nav ol {
  display: flex !important;
  flex-wrap: wrap !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0 -8px !important;
  counter-reset: toc-counter-page;
}

#nxt_page-toc-nav ol>li {
  counter-increment: toc-counter-page;
  display: flex;
  align-items: flex-start;
  width: 50% !important;
  /* 2단 정렬 강제 */
  padding: 0 8px !important;
  margin-bottom: 12px !important;
  box-sizing: border-box !important;
}

#nxt_page-toc-nav ol>li::before {
  content: counter(toc-counter-page) ". ";
  font-weight: 700;
  min-width: 1.5em;
  margin-right: 4px;
  color: #2563eb;
  font-size: 15px;
}

#nxt_page-toc-nav ol>li a {
  text-decoration: none !important;
  color: #1e293b;
  transition: color 0.2s;
  display: inline-block;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}

#nxt_page-toc-nav ol>li a:hover {
  color: #2563eb;
  text-decoration: underline !important;
}

.info-box {
  border-left-width: 4px;
  padding: 24px;
  /* 1.5rem → 24px */
  border-radius: 8px;
  /* 0.5rem → 8px */
  margin-top: 16px;
  /* 1rem → 16px */
  margin-bottom: 24px;
  /* 1.5rem → 24px */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.info-box h3 {
  margin-top: 0 !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 16px !important;
}

.info-box-default {
  border-color: #1a49db;
  background-color: #fff0eb;
}

.info-box-default h3 {
  color: #1a49db !important;
}

.info-box-default h4 {
  color: #1a49db !important;
}

.info-box ul li strong {
  color: #111 !important;
}

.info-box-green {
  border-color: #22c55e;
  background-color: #f0fdf4;
}

.info-box-green h3 {
  color: #15803d !important;
}

.info-box-green h4 {
  color: #15803d !important;
}

.info-box-blue {
  border-color: #3b82f6;
  background-color: #eff6ff;
}

.info-box-blue h3 {
  color: #1d4ed8 !important;
}

.info-box-blue h4 {
  color: #1d4ed8 !important;
}

.info-box-red {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.info-box-red h3 {
  color: #b91c1c !important;
}

.info-box-red h4 {
  color: #b91c1c !important;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
}

.custom-table th {
  background-color: #ede9fe;
  color: #5b21b6;
  padding: 12px 16px;
  /* 0.75rem 1rem → 12px 16px */
  text-align: left;
  font-weight: 600;
  border: 1px solid #e5e7eb;
}

.custom-table td {
  padding: 12px 16px;
  /* 0.75rem 1rem → 12px 16px */
  border: 1px solid #e5e7eb;
}

.custom-table tr:hover {
  background-color: #f9fafb;
}

/* 에디터 자체가 컨테이너일 때 내부 중복 article 스타일 보정 */
.jodit-wysiwyg article#nxt_blog-content {
  background-color: white !important;
  padding: 40px !important;
  margin: 0 auto !important;
  max-width: 1000px !important;
  box-shadow: none !important;
  /* 그림자 제거 */
  border-radius: 0 !important;
  /* 둥근 모서리 제거 */
}

#nxt_blog-content {
  background-color: #f8fafc !important;
  /* 기본 배경 */
  padding: 20px !important;
}

#nxt_blog-content h2 {
  font-size: 30px;
  /* 1.875rem → 30px */
  font-weight: 700;
  margin-bottom: 32px;
  /* 2rem → 32px */
  margin-top: 80px;
  /* 5rem → 80px */
  color: #111;
  padding-bottom: 8px;
  /* 0.5rem → 8px */
  border-bottom: 2px solid #cbd5e1;
}

#nxt_blog-content h3 {
  font-size: 24px;
  /* 1.5rem → 24px */
  font-weight: 600;
  margin-bottom: 24px;
  /* 1.5rem → 24px */
  margin-top: 40px;
  /* 2.5rem → 40px */
  color: #1a49db;
}

#nxt_blog-content h4 {
  font-size: 20px;
  /* 1.25rem → 20px */
  font-weight: 600;
  margin-bottom: 16px;
  /* 1rem → 16px */
}

#nxt_blog-content p {
  line-height: 1.75;
  margin-bottom: 16px;
  /* 1rem → 16px */
}


#nxt_blog-content ul.grid {
  list-style-type: none;
  padding: 0;
}

#nxt_blog-content ul {
  list-style-type: disc;
  padding-left: 24px;
  /* 1.5rem → 24px */
  margin-bottom: 16px;
  /* 1rem → 16px */
}

#nxt_blog-content ul li {
  margin-bottom: 8px;
  /* 0.5rem → 8px */
}

#nxt_blog-content ol {
  list-style-type: decimal;
  padding-left: 24px;
  /* 1.5rem → 24px */
  margin-bottom: 16px;
  /* 1rem → 16px */
}

#nxt_blog-content ol li {
  margin-bottom: 8px;
  /* 0.5rem → 8px */
}

#nxt_blog-content strong {
  color: #1a49db;
}

#nxt_blog-content a:not(.toc-link) {
  color: #6366f1;
  text-decoration: underline;
}

#nxt_blog-content a:not(.toc-link):hover {
  color: #1a49db;
}

/* == 인용구 == */
/* #nxt_blog-content blockquote { */
/* border-left: 4px solid #a78bfa; */
/* padding-left: 1rem; */
/* margin-left: 0; */
/* font-style: italic; */
/* color: #556677; */
/* } */
#nxt_blog-content blockquote {
  position: relative;
  margin: 0 0 0 80px !important;
  border-radius: 0px 20px 20px 20px !important;
  border: 1px solid #E5E5E5;
  background: #FFF;
  box-shadow: 10px 10px 20px 0px rgba(0, 0, 0, 0.05) !important;
  padding: 20px !important;
}

#nxt_blog-content blockquote:before {
  content: '';
  position: absolute;
  left: -80px;
  top: 0;
  width: 54px;
  height: 54px;
  background: url(../img/blog/blockquote_logo.webp) no-repeat center / cover;
}

#nxt_blog-content blockquote:after {
  content: '';
  position: absolute;
  left: -17px;
  top: -1px;
  width: 17px;
  height: 17px;
  background: url(../img/blog/blockquote_corner.webp) no-repeat center / cover;
}

#nxt_blog-content blockquote p {
  color: #000;
  font-family: Pretendard;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

#nxt_blog-content blockquote p span {
  font-size: 17px !important;
}

#nxt_blog-content blockquote a span {
  font-family: 'Pretendard-SemiBold';
  font-style: inherit !important;
  background-color: inherit !important;
  color: #2167FF;
  text-decoration: underline;
}

/* == // 인용구 == */


#nxt_blog-content img {
  border-radius: 8px;
  /* 0.5rem → 8px */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  margin-top: 16px;
  /* 1rem → 16px */
  margin-bottom: 8px;
  /* 0.5rem → 8px */
  max-width: 100%;
  height: auto;
}

#nxt_blog-content figcaption {
  text-align: center;
  font-size: 14px;
  /* 0.875rem → 14px */
  color: #6b7280;
  margin-top: 4px;
  /* 0.25rem → 4px */
  margin-bottom: 24px;
  /* 1.5rem → 24px */
  font-style: italic;
}

.nxt_process-step-number {
  flex-shrink: 0;
  width: 48px;
  /* 3rem → 48px */
  height: 48px;
  /* 3rem → 48px */
  background-color: #1a49db;
  color: white;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  /* 1.25rem → 20px */
  margin-right: 16px;
  /* 1rem → 16px */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nxt_process-step-title {
  font-size: 18px;
  /* 1.125rem → 18px */
  font-weight: 600;
  color: #111;
  margin-top: 0;
  margin-bottom: 4px;
  /* 0.25rem → 4px */
}

/* 목차 토글 버튼 스타일 */
#nxt_toggle-toc-button {
  cursor: pointer;
  padding: 0.2rem 0.2rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  /* text-xs */
  margin-left: 0.5rem;
}

.nxt_card {
  background-color: white;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nxt_card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  background: #fff0eb;
}

.nxt_card .border-blue-200 {
  border-color: #eee;
}


.nxt_card button {
  padding-right: 50px;
  position: relative;
  display: block;
}

.nxt_accordion-button:hover {
  background-color: #fff0eb !important;
}

.nxt_card button.nxt_accordion-button.active {
  background: #fff0eb;
}

.nxt_card button svg {
  top: 22px;
  right: 15px;
  position: absolute;
}

.nxt_card button.active svg {
  transform: rotate(180deg);
}


.nxt_accordion-content {
  background-color: #ffffff;
  margin: 0rem;
  color: black;
  font-weight: 400;
  border-radius: 0 0 16px 16px;
  /* 1rem → 16px */
}

.nxt_accordion-button:hover {
  background-color: #fff0eb !important;
}

.nxt_accordion-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s;
  color: #e11d48;
}

.nxt_accordion-button.active .nxt_accordion-arrow {
  transform: rotate(180deg);
  color: #e11d48;
}

.step-guide {
  counter-reset: step-counter;
  margin: 2rem 0;
}

.step-item {
  counter-increment: step-counter;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: #f8fafc;
  border-left: 4px solid #6366f1;
  border-radius: 0 0.5rem 0.5rem 0;
  position: relative;
}

.step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  background: #6366f1;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.step-title {
  font-weight: 600;
  font-size: 1.125rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.blog-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: none;
}

.blog-table th {
  background: #f8fafc;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #1e293b;
  border-bottom: 2px solid #e2e8f0;
}

.blog-table th:first-child {
  border-top-left-radius: 0.5rem;
}

.blog-table th:last-child {
  border-top-right-radius: 0.5rem;
}

.blog-table td {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
}

.blog-table tbody tr:last-child td {
  border-bottom: none !important;
}

.blog-table tbody tr:last-child {
  border-bottom: none !important;
}

.blog-table tr:last-child td {
  border-bottom: none !important;
}

/* 異붽� 媛뺤젣 �ㅽ��� - �뚯씠釉� �섎떒 蹂대뜑 �꾩쟾 �쒓굅 */
.blog-table tbody tr:last-child td,
.blog-table tbody tr:last-of-type td,
.blog-table tr:last-child td,
.blog-table tr:last-of-type td {
  border-bottom: none !important;
  border-bottom-width: 0 !important;
  border-bottom-style: none !important;
}

/* �뚯씠釉� �꾩껜�� ���� �섎떒 蹂대뜑 �쒓굅 */
.blog-table tbody:last-child tr:last-child td {
  border-bottom: none !important;
}

.blog-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 0.5rem;
}

.blog-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 0.5rem;
}

.blog-table tr:hover {
  background: #f8fafc;
}

/* CTA 諛뺤뒪 �ㅽ��� (諛깆뾽�먯꽌 媛��몄샂) */
.cta-box {
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: white;
  border-radius: 1rem;
  text-align: center;
}

.cta-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: white;
  color: #6366f1;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* FAQ �ㅽ��� (諛깆뾽�먯꽌 媛��몄샂) */
.faq-container {
  margin: 1.5rem 0 0 0;
  /* �곷떒留� �щ갚, �섎떒 �щ갚 �쒓굅 */
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  /* 肄섑뀗痢좎� 援щ텇�� */
}

.faq-container h3 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  text-align: left;
  /* �쇱そ �뺣젹濡� 蹂�寃� */
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #6366f1;
  display: block;
  width: 100%;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  overflow: hidden;
}

.faq-question {
  padding: 1rem 1.25rem;
  background: #f8fafc;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background: #f1f5f9;
}

.faq-answer {
  padding: 1rem 1.25rem;
  background: white;
  border-top: 1px solid #e2e8f0;
  line-height: 1.6;
  color: #475569;
  display: block;
}

/* ai_blog.css 제일 아래 추가 */
.h-\[400px\] {
  height: 400px;
}

@media (max-width: 767px) {
  html .blog_ai_body * {
    /* font-size: 100%; */
    line-height: 1.75 !important;
    font-size: 16px;
  }

  #nxt_blog-content h2 {
    font-size: 24px;
    margin-bottom: 30px;
    margin-top: 80px;
    padding-bottom: 8px;
  }

  #nxt_blog-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
    margin-top: 30px;
  }

  #nxt_blog-content h4 {
    font-size: 18px;
    margin-bottom: 14px;
  }

  #nxt_blog-content ul {
    padding-left: 14px;
    margin-bottom: 16px;
  }

  .nxt_process-step-number {
    width: 28px;
    height: 28px;
    font-size: 14px;
    margin-right: 10px;
  }

  /* 인용구 타입 1 */
  #nxt_blog-content blockquote {
    margin: 0 0 0 50px !important;
    padding: 14px !important;
    border-radius: 0px 14px 14px 14px !important;
    box-shadow: 5px 5px 20px 0px rgba(0, 0, 0, 0.05) !important;
  }

  #nxt_blog-content blockquote p {
    font-size: 15px !important;
    line-height: 24px !important;
  }

  #nxt_blog-content blockquote:before {
    left: -50px;
    top: 0;
    width: 34px;
    height: 34px;
  }

  #nxt_blog-content blockquote:after {
    left: -14px;
    top: -1px;
    width: 14px;
    height: 17px;
  }

  #nxt_blog-content blockquote p span {
    font-size: 15px !important;
  }

}

@media (max-width: 600px) {
  table.custom-table {
    width: 700px;
  }
}


/* faq 컨텐츠 */
.faqContentBox {
  position: relative;
}

.faqContentBox h3.font-bold {
  margin: 10px 0 14px 0 !important;
}

@media (max-width: 767px) {
  .faqContentBox .border-l-4 {
    padding-right: 1rem;
  }

  .faqContentBox .leading-relaxed {
    padding: 0 0 0 22px;
  }

  .faqContentBox h3.font-bold {
    margin: 10px 0 10px 0 !important;
  }

  .faqContentBox h3.font-bold span {
    font-size: 18px;
  }
}