#faq {
  margin-top: 95px;
  background: #fff;
  font-size: 17px;
  line-height: 1.7;
  font-family: 'Pretendard', 'Dotum', sans-serif;
}

#faq strong {
  font-weight: 700;
}

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

.check {
  color: #ec1c24;
}

.faq-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  padding: 0 28px;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  transition: background-color .3s;
}

.faq-btn:hover {
  background: #051551;
}


/* ---------- 상단 제목 영역 ---------- */
.faq-hero {
  background: #e9edf4;
  padding: 40px 0 44px;
}
.faq-hero .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 14px;
  color: #7a7a7a;
}
.faq-hero .breadcrumb li + li::before {
  content: "›";
  margin: 0 8px;
  color: #ababab;
}
.faq-hero .breadcrumb a {
  color: #7a7a7a;
}
.faq-hero .breadcrumb a:hover {
  color: #333;
  text-decoration: underline;
}
.faq-hero .breadcrumb [aria-current] {
  color: #494949;
}
.faq-hero .hero-title {
  margin-block: 14px;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
}
.faq-hero .hero-intro {
  max-width: 780px;
  color: #494949;
  font-size: 18px;
  font-weight: 500;
}

.faq-hero .updated {
  font-size: 14px;
  color: #7a7a7a;
}

/* ---------- 목록 레이아웃 ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  padding-top: 36px;
  padding-bottom: 80px;
}
.faq-content {
  min-width: 0;
}

.faq-tools {
  margin-bottom: 8px;
}
.faq-search {
  position: relative;
}
.faq-search .search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  color: #7a7a7a;
  pointer-events: none;
}
.faq-search input {
  width: 100%;
  height: 58px;
  padding: 0 18px 0 52px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  font-size: 17px;
}
.faq-search input::placeholder {
  color: #ababab;
}
.faq-search input:focus {
  outline: none;
  border-color: #176AF0;
  box-shadow: 0 0 0 3px rgba(23, 106, 240, .15);
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.faq-tab {
  display: flex;
  align-items: center;
  line-height: 1;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  color: #313131;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.faq-tab:hover {
  border-color: #b8c6de;
}
.faq-tab[aria-pressed="true"] {
  background: #0D2270;
  border-color: #0D2270;
  color: #fff;
}
.faq-tab .tab-count {
  margin-left: 2px;
  font-size: 13px;
  opacity: .7;
}

.faq-status {
  margin-top: 12px;
  font-size: 14px;
  color: #7a7a7a;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.faq-group {
  margin-top: 40px;
}
.faq-group-title {
  margin-bottom: 12px;
  color: #000;
  font-size: 22px;
  font-weight: 700;
}
#faq .faq-group[hidden],
#faq .faq-item[hidden],
#faq .faq-empty[hidden] {
  display: none !important;
}

.faq-item {
  border-top: 1px solid #e0e0e0;
  background: #fff;
}
.faq-group .faq-item:last-of-type {
  border-bottom: 1px solid #e0e0e0;
}
.faq-item summary {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 4px;
  cursor: pointer;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover .q-text {
  color: #005FFF;
}
.q-num {
  flex: none;
  min-width: 42px;
  color: #005FFF;
  font-weight: 800;
}
.q-text {
  flex: 1;
}
.q-text mark,
.faq-a-body mark,
.faq-a mark {
  background: #fff3a3;
  color: inherit;
  border-radius: 2px;
}
.q-icon {
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border-radius: 50%;
  background: #e9edf4;
  position: relative;
  transition: transform .2s;
}
.q-icon::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-right: 2px solid #313131;
  border-bottom: 2px solid #313131;
  transform: rotate(45deg);
}
.faq-item[open] .q-icon {
  transform: rotate(180deg);
  background: #0D2270;
}
.faq-item[open] .q-icon::before {
  border-color: #fff;
}
.faq-item[open] summary .q-text {
  color: #005FFF;
}
.faq-a {
  margin: 0 0 22px 58px;
  padding: 20px 24px;
  border-radius: 12px;
  background: #F7F8FB;
}
.faq-a-body p + p {
  margin-top: 10px;
}
.faq-a-body .lead {
  color: #000;
  font-weight: 700;
}
.faq-src {
  font-size: 14px;
  color: #7a7a7a;
  line-height: 1.6;
}
.faq-more {
  display: inline-flex;
  gap: 4px;
  margin-top: 14px;
  color: #005FFF;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}
.faq-more:hover {
  text-decoration: underline;
}
.faq-empty {
  padding: 40px 20px;
  border: 1px dashed #c4c4c4;
  border-radius: 20px;
  text-align: center;
  color: #494949;
}
.faq-empty a {
  color: #005FFF;
  font-weight: 700;
}
.faq-content .updated {
  margin-top: 24px;
  font-size: 14px;
  color: #7a7a7a;
}

.detail-pages {
  margin-top: 56px;
}
.detail-pages h2 {
  color: #000;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 14px;
}
.detail-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.detail-cards a {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  padding: 20px 22px;
  border: 1px solid #eee;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 15px rgba(0, 0, 0, .05);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.detail-cards a:hover {
  border-color: #176AF0;
  box-shadow: 0 10px 20px rgba(23, 106, 240, .1);
}
.dc-title {
  color: #000;
  font-weight: 600;
  line-height: 1.5;
}
.dc-more {
  color: #005FFF;
  font-size: 15px;
  font-weight: 700;
}

.side-col {
  position: sticky;
  top: calc(94px + 24px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  padding: 32px 24px 26px;
  border: 1px solid #eee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 15px rgba(0, 0, 0, .05);
  text-align: center;
}
.side-title {
  color: #000;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.3;
}
.side-sub {
  margin-top: 6px;
  color: #494949;
  font-size: 16px;
  font-weight: 500;
}
.side-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 16px;
  color: #313131;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -1px;
  text-decoration: none;
}
.side-tel .call-icon {
  width: 34px;
  height: 34px;
  flex: none;
}
.side-card .consultFormBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 8px;
  background: #176AF0;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
  transition: background-color .3s;
}
.side-card .consultFormBtn:hover {
  background: #0D2270;
}
.side-note {
  margin-top: 12px;
  font-size: 14px;
  color: #7a7a7a;
  line-height: 1.5;
}

/* ---------- 자세히 보기 페이지 ---------- */
.article > * + * {
  margin-top: 20px;
}
.article h2 {
  margin-top: 56px;
  color: #000;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
}
.article h3 {
  margin-top: 36px;
  color: #000;
  font-size: 20px;
  font-weight: 700;
}
.article p a,
.article li a {
  color: #005FFF;
  font-weight: 600;
}

.article .link-text {
  text-decoration: underline;
}

.conclusion {
  margin-top: 0;
  padding: 26px 28px;
  border: 2px solid #176AF0;
  border-radius: 20px;
  background: #eef4fe;
}
.conclusion-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: #0D2270;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.conclusion-label svg {
  width: 18px;
  height: 18px;
}
.conclusion-text {
  margin-top: 14px;
  color: #000;
  font-weight: 500;
}

.toc-side {
  padding: 22px 24px;
  border: 1px solid #eee;
  border-radius: 20px;
  background: #fff;
}
.toc-title {
  font-size: 14px;
  font-weight: 700;
  color: #7a7a7a;
}
.toc-side ol,
.toc-m ol {
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.5;
}
.toc-side ol {
  margin-top: 8px;
  max-height: calc(100vh - 94px - 102px - 440px);
  overflow-y: auto;
}
.toc-side li,
.toc-m li {
  padding: 4px 0;
  list-style: decimal;
}
.toc-side li::marker,
.toc-m li::marker {
  color: #005FFF;
  font-weight: 700;
}
.toc-side a,
.toc-m a {
  color: #313131;
  font-weight: 600;
  text-decoration: none;
}
.toc-side a:hover,
.toc-m a:hover {
  color: #005FFF;
  text-decoration: underline;
}
.toc-m {
  display: none;
}

.table-wrap {
  margin-top: 28px;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  overflow: hidden;
}
.rtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}
.rtable thead th {
  background: #0D2270;
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: 13px 16px;
}
.rtable tbody th,
.rtable td {
  padding: 14px 16px;
  border-top: 1px solid #e0e0e0;
  text-align: left;
  vertical-align: top;
}
.rtable tbody th {
  color: #000;
  font-weight: 700;
  background: #F7F8FB;
  white-space: nowrap;
}

.formula {
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 15px;
  background: #24303d;
  color: #fff;
}
.formula-label {
  color: #FFE102;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
}
.formula-row {
  margin-top: 8px;
}
.f-lhs {
  font-weight: 700;
}
.f-eq {
  color: #FFE102;
  font-weight: 800;
}
.f-rhs {
  color: #e3e8ef;
}

.note {
  padding: 18px 22px;
  border-left: 4px solid #b8c6de;
  border-radius: 0 12px 12px 0;
  background: #F7F8FB;
}
.note-label {
  font-weight: 700;
  color: #494949;
  margin-bottom: 4px;
}

.bullets,
.checklist,
.steps {
  padding: 0;
  list-style: none;
}
.bullets li {
  position: relative;
  padding-left: 18px;
}
.bullets li + li,
.checklist li + li {
  margin-top: 8px;
}
.bullets li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #176AF0;
}
.checklist {
  padding: 6px 0;
}
.checklist li {
  position: relative;
  padding: 12px 16px 12px 52px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 15px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0D2270 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.steps {
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 0 0 18px 50px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0D2270;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: grid;
  place-items: center;
}
.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 2px;
  width: 2px;
  background: #b8c6de;
}

.sources h2,
.related h2 {
  margin-top: 64px;
}
.qa {
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid #e0e0e0;
  border-radius: 15px;
}
.qa-q {
  display: flex;
  gap: 10px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 !important;
}
.q-badge {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0D2270;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-top: 1px;
}
.qa-a {
  margin-top: 10px;
  padding-left: 36px;
}

.sources h2 {
  font-size: 19px !important;
}
.sources ul {
  margin-top: 12px;
  padding: 18px 22px;
  border-radius: 12px;
  background: #F7F8FB;
  font-size: 15px;
  line-height: 1.6;
}
.sources li + li {
  margin-top: 6px;
}
.sources a {
  text-decoration: underline;
  color: #494949 !important;
  font-weight: 500 !important;
}

.sources a::before {
  content: "•";
    display: inline-block;
    line-height: 1;
    margin-right: 5px;
    font-size: 18px;
    font-weight: 800;
}

.checked-date {
  margin-top: 10px !important;
  font-size: 15px;
  color: #494949;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px !important;
  padding: 28px 30px;
  border-radius: 20px;
  background: linear-gradient(#176AF0, #2E78F1);
  color: #fff;
}
.cta-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
}
.cta-sub {
  margin-top: 4px;
  font-size: 15px;
  color: rgba(255, 255, 255, .85);
}
.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  flex: none;
}

.cta-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
  text-decoration: none;
}

.related h2 {
  font-size: 22px !important;
}
.related ul {
  margin-top: 12px;
  padding: 0;
  list-style: none;
  border-top: 1px solid #e0e0e0;
}
.related li {
  border-bottom: 1px solid #e0e0e0;
}
.related a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  color: #313131 !important;
  font-weight: 600 !important;
  text-decoration: none;
}
.related a span {
  color: #005FFF;
}
.related a:hover {
  color: #005FFF !important;
}
.back-all {
  margin-top: 32px !important;
  text-align: center;
}
.back-all a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 26px;
  border: 1px solid #0D2270;
  border-radius: 8px;
  color: #0D2270;
  font-weight: 700;
  text-decoration: none;
}
.back-all a:hover {
  background: #0D2270;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item .q-icon,
  .detail-cards a,
  .side-card .consultFormBtn,
  .back-all a {
    transition: none !important;
  }
}