/* ==========================================================================
   63395-2.css — 자주하는 질문 페이지
   ========================================================================== */

/* ---------- 공통: 매거진 히어로 ---------- */
.mh-hero { position: relative; overflow: hidden; color: #fff; }
.mh-hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.mh-hero__dim {
  position: absolute; inset: 0;
  background: linear-gradient(45deg, #141e30 0%, #243b55 100%);
  opacity: 0.6;
}
.mh-hero__content { position: relative; z-index: 1; }
.mh-hero__inner {
  min-height: 403px;
  padding-top: var(--space-70);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
}
.mh-hero__spacer-top { height: 0; flex-basis: 140px; }
.mh-hero__spacer-bottom { height: 0; flex-basis: 100px; }
.mh-hero__kicker {
  font-size: clamp(1.039rem, 1.039rem + ((1vw - 0.2rem) * 0.561), 1.6rem);
  font-weight: 700;
  letter-spacing: 7px;
  line-height: 1.2;
}
.mh-hero__title { opacity: 0.5; }
.mh-hero__bar { width: 48px; margin: 0 auto; padding-block: var(--space-20); color: #fff; }
.mh-hero__bar svg { display: block; width: 100%; height: auto; fill: currentColor; }

.mh-tabs-wrap {
  max-width: var(--content-size);
  margin-inline: auto;
  padding-inline: var(--root-pad-x);
}
.mh-tabs {
  background-color: #0000004f;
  display: flex;
  align-items: flex-end;
}
.mh-tab {
  display: block;
  color: var(--color-base);
  padding: 3px var(--space-10);
  transition: color 0.3s ease, background-color 0.3s ease;
}
.mh-tab p { text-align: center; padding-block: var(--space-20); }
a.mh-tab:hover { color: var(--color-primary); background-color: #0000004f; }
.mh-tab.is-active {
  background-color: var(--color-base);
  color: var(--color-contrast);
  border-top: 6px solid var(--color-primary);
  padding-block: 0;
}
@media (max-width: 780px) {
  .mh-hero__spacer-top, .mh-hero__spacer-bottom { display: none; }
}

/* ---------- FAQ 섹션 ---------- */
.faq-section {
  max-width: var(--content-size);
  margin-inline: auto;
  padding-inline: var(--root-pad-x);
  padding-block: var(--space-70);
}
.faq-section__spacer { height: 0; padding-block: var(--space-30); }
.faq-heading__tab {
  font-size: var(--fs-xxx-large);
  font-weight: 700;
  color: var(--color-step-20);
  padding-bottom: var(--space-50);
}
.faq-cols {
  display: grid;
  grid-template-columns: 45% 1fr;
  column-gap: var(--space-70);
  row-gap: var(--space-30);
  align-items: stretch;
}

/* 좌측 비주얼 */
.faq-visual__cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  clip-path: polygon(100% 0, 100% 100%, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%, 0 0);
  color: #fff;
}
.faq-visual__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.faq-visual__dim {
  position: absolute; inset: 0;
  background: linear-gradient(45deg, #141e30 0%, #243b55 100%);
  opacity: 0.4;
}
.faq-visual__inner {
  position: relative; z-index: 1;
  height: 100%;
  padding: var(--space-40);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.faq-visual__inner > * { flex-shrink: 0; }
.faq-visual__spacer { width: 100%; height: 100px; padding-block: var(--space-70); }
.faq-visual__label {
  font-size: var(--fs-large);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-20);
  margin-left: 3px;
}
.faq-visual__big {
  font-size: var(--fs-xxx-large);
  font-weight: 700;
  line-height: 1.2;
}
.faq-visual__btnrow { display: flex; padding-top: var(--space-40); }
.faq-visual__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: var(--fs-medium);
  color: #fff;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  padding-block: var(--space-10);
  transition: color 0.3s ease, border-color 0.3s ease;
}
.faq-visual__btn svg { width: 3em; height: auto; }
.faq-visual__btn:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ---------- 아코디언 (공통 .accordion 규칙 + FAQ 스코프 재정의) ---------- */
.faq-acc { border-bottom: 0; }
.faq-acc .accordion__summary {
  align-items: center;
  justify-content: space-between;
  column-gap: var(--space-30);
  border-top: 1px solid var(--color-step-4);
  border-bottom: 1px solid var(--color-step-4);
  margin-top: -1px;
  padding: var(--space-30) var(--space-20);
  font-size: inherit;
  font-weight: 400;
}
.faq-acc:first-child .accordion__summary { border-top-color: var(--color-step-13); }
.faq-acc .accordion__summary .icon { font-size: var(--fs-x-large); }
.faq-acc.is-open .accordion__summary { font-weight: 700; }
.faq-acc.is-open .faq-q__text { color: var(--color-primary); }
.faq-acc .accordion__summary:hover .faq-q__text { color: var(--color-primary); }
.faq-acc.is-open .accordion__panel { max-height: 800px; }

.faq-q { display: flex; column-gap: 0; flex: 1; }
.faq-q__mark {
  flex: 0 0 2em;
  font-size: var(--fs-large);
  font-weight: 900;
  line-height: 1.4;
}
.faq-q__text { flex: 1; }
.faq-a {
  display: flex;
  padding: var(--space-30) var(--space-20);
}
.faq-acc--pb .faq-a { border-bottom: 1px solid var(--color-step-4); }
.faq-a__mark {
  flex: 0 0 2em;
  font-size: var(--fs-large);
  font-weight: 900;
  line-height: 1.2;
}
.faq-a__body { flex: 1; display: flex; flex-direction: column; }
.faq-a__body p {
  font-size: var(--fs-medium);
  color: var(--color-step-13);
}

.faq-note { padding: var(--space-30) var(--space-20) 0; }
.faq-note p {
  font-size: var(--fs-small);
  color: var(--color-step-13);
}

.faq-end-spacer { height: 100px; }

/* ---------- 반응형 ---------- */
@media (max-width: 1024px) {
  .faq-cols { grid-template-columns: 1fr; }
}

/* 서브내비 탭: 전체 폭 균등 분할 (원본 정렬) */
.mh-tab { flex: 1 1 0; }
.mh-tab p { text-align: center; }

/* 이미지 카드 좌하단 문의 링크 (원본 배치) */
.faq-visual__inner--bottom { justify-content: flex-end; }

