/* sub.php CSS 파일 */
body {
  font-family: 'Pretendard', sans-serif;
  color: var(--text-main);
  line-height: 1.5;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Pretendard Font */
@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('../fonts/pretendard/Pretendard-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

/* 서브페이지에 삽입될 수 있는 html 태그들 기본 스타일 설정 */
.sub-body h1,
.sub-body h2,
.sub-body p,
.sub-body ul,
.sub-body ol {
  line-height: 1.4;
}

.sub-body h1 {
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 600;
}

.sub-body h2 {
  font-size: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.sub-body h3 {
  font-size: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.sub-body p {
  font-size: 18px;
  margin: 20px 0;
}

.sub-body ul,
.sub-body ol {
  margin: 20px 0;
  font-size: 18px;
}

.sub-body ul li,
.sub-body ol li {
  list-style-type: disc;
  list-style-position: inside;
}

.sub-body table {
  margin: 30px 0;
}

.sub-body th,
.sub-body td {
  border: 1px solid #aaa;
  padding: 10px 15px;
}

.sub-body th {
  background-color: #edf2f9;
}

.sub-body tbody tr:nth-child(even) {
  background-color: #fafafa;
}

/* 서브페이지에서 form-modal을 사용하기 위해 include한 form.php 숨김처리 */
.sub-page .form {
  /* display: none; */
}

.sub-page section {
  /* padding: 50px 0; */
}

.qna-page-main-banner {
  padding: 120px 0px 80px 0px;
}

.sub-section-header {
  margin-bottom: 30px;
}

.sub-section-header__subtitle {
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 500;
}

.sub-section-header__title {
  font-size: 36px !important;
  font-weight: 600;
}

.highlight {
  color: #1c86ff;
}



/* Custom styles to supplement Tailwind CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700;900&display=swap');

:root {
  --primary: #2563eb;
  --primary-light: #eff6ff;
  --text-main: #111827;
  --text-muted: #4b5563;
  --text-light: #9ca3af;
  --bg-main: #ffffff;
  --bg-sub: #f8f9fa;
  --border-color: #e5e7eb;
  --bg-gray: #f8f9fa;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  font-family: 'Pretendard', 'Inter', sans-serif;
  background-color: #fff;
  color: var(--text-dark);
  min-height: 100vh;
}

/* Layout */
.container-custom {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}


/* ============================================
   Sub1 (car_1.php) — 자동차보험이란?
   모든 선택자: .sub1-page1 .클래스명 형태로 스코프
============================================ */

.sub1-page1 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Hero ─── */
/* common.css section{padding} 충돌 방지 위해 padding: 0 명시 */
.sub1-page1 .s1-hero {
  position: relative;
  height: 640px;
  padding: 80px 0 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sub1-page1 .s1-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sub1-page1 .s1-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sub1-page1 .s1-hero__overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.sub1-page1 .s1-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.sub1-page1 .s1-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  text-align: left;
}

.sub1-page1 .s1-hero__title {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sub1-page1 .s1-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid #fff;
  background: transparent;
  font-family: 'Pretendard', sans-serif;
  transition: background 0.2s;
}

.sub1-page1 .s1-hero__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sub1-page1 .s1-hero__btn-text {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.sub1-page1 .s1-hero__btn-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ─── Breadcrumb ─── */
.sub1-page1 .s1-breadcrumb {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}

.sub1-page1 .s1-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub1-page1 .s1-breadcrumb__home {
  width: 17px;
  height: 19px;
  object-fit: contain;
  flex-shrink: 0;
}

.sub1-page1 .s1-breadcrumb__arrow {
  width: 5px;
  height: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.sub1-page1 .s1-breadcrumb__current {
  font-size: 23px;
  font-weight: 600;
  color: #1a1a2e;
}

/* ─── Intro ─── */
.sub1-page1 .s1-intro {
  padding: 140px 0;
  text-align: center;
}

.sub1-page1 .s1-intro__text {
  font-size: 45px;
  font-weight: 500;
  line-height: 2;
  color: #333;
}

/* ─── Content sections ─── */
.sub1-page1 .s1-content {
  padding: 100px 0;
  background: #fff;
}

.sub1-page1 .s1-content__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* reverse: img가 DOM 1번째지만 시각적으로 오른쪽 배치 */
.sub1-page1 .s1-content--reverse .s1-content__img-wrap {
  order: 2;
}

.sub1-page1 .s1-content--reverse .s1-content__text-wrap {
  order: 1;
}

.sub1-page1 .s1-content__img-wrap {
  border-radius: 16px;
  overflow: hidden;
  width: 600px;
  height: 400px;
  flex-shrink: 0;
}

.sub1-page1 .s1-content__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sub1-page1 .s1-content__title {
  font-size: 40px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.3;
}

.sub1-page1 .s1-content__desc {
  font-size: 28px;
  font-weight: 300;
  color: #555;
  line-height: 1.2;
}

/* ─── Mid Banner ─── */
.sub1-page1 .s1-banner {
  position: relative;
  padding: 100px 0;
  background-image: url('../img/con2_img_01.webp');
  background-size: cover;
  background-position: center;
}

.sub1-page1 .s1-banner__overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.sub1-page1 .s1-banner .container {
  position: relative;
  z-index: 2;
}

.sub1-page1 .s1-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub1-page1 .s1-banner__title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.sub1-page1 .s1-banner__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.sub1-page1 .s1-banner__btn {
  flex-shrink: 0;
  padding: 14px 36px;
  border: 2px solid #fff;
  border-radius: 50px;
  background: transparent;
  font-family: 'Pretendard', sans-serif;
  transition: background 0.2s;
}

.sub1-page1 .s1-banner__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sub1-page1 .s1-banner__btn-text {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .sub1-page1 .s1-content__grid {
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .sub1-page1 .s1-hero {
    height: 360px;
    padding-top: 60px;
  }

  .sub1-page1 .s1-hero__title {
    font-size: 30px;
  }

  .sub1-page1 .s1-intro {
    padding: 60px 0;
  }

  .sub1-page1 .s1-intro__text {
    font-size: 16px;
  }

  .sub1-page1 .s1-content {
    padding: 64px 0;
  }

  .sub1-page1 .s1-content__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sub1-page1 .s1-content__img-wrap {
    width: 100%;
    height: 240px;
  }

  /* 모바일: reverse도 이미지 위, 텍스트 아래 */
  .sub1-page1 .s1-content--reverse .s1-content__img-wrap {
    order: 1;
  }

  .sub1-page1 .s1-content--reverse .s1-content__text-wrap {
    order: 2;
  }

  .sub1-page1 .s1-content__title {
    font-size: 24px;
  }

  .sub1-page1 .s1-banner {
    padding: 64px 0;
  }

  .sub1-page1 .s1-banner__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .sub1-page1 .s1-banner__title {
    font-size: 26px;
  }
}


/* ============================================
   Sub2 (car_2.php) — 자동차보험 안내
   모든 선택자: .sub2-page2 .클래스명 형태로 스코프
============================================ */

.sub2-page2 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Hero ─── */
.sub2-page2 .s2-hero {
  position: relative;
  height: 640px;
  padding: 80px 0 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sub2-page2 .s2-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sub2-page2 .s2-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}

.sub2-page2 .s2-hero__overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.sub2-page2 .s2-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.sub2-page2 .s2-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  text-align: left;
}

.sub2-page2 .s2-hero__title {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sub2-page2 .s2-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid #fff;
  background: transparent;
  font-family: 'Pretendard', sans-serif;
  transition: background 0.2s;
}

.sub2-page2 .s2-hero__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sub2-page2 .s2-hero__btn-text {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.sub2-page2 .s2-hero__btn-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ─── Breadcrumb ─── */
.sub2-page2 .s2-breadcrumb {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}

.sub2-page2 .s2-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub2-page2 .s2-breadcrumb__home {
  width: 17px;
  height: 19px;
  object-fit: contain;
  flex-shrink: 0;
}

.sub2-page2 .s2-breadcrumb__arrow {
  width: 5px;
  height: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.sub2-page2 .s2-breadcrumb__current {
  font-size: 23px;
  font-weight: 600;
  color: #1a1a2e;
}

/* ─── Intro ─── */
.sub2-page2 .s2-intro {
  padding: 140px 0;
  text-align: center;
}

.sub2-page2 .s2-intro__text {
  font-size: 45px;
  font-weight: 500;
  line-height: 2;
  color: #333;
}

/* ─── Content sections ─── */
.sub2-page2 .s2-content {
  padding: 100px 0;
  background: #fff;
}

.sub2-page2 .s2-content__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* reverse: img가 DOM 1번째지만 시각적으로 오른쪽 배치 */
.sub2-page2 .s2-content--reverse .s2-content__img-wrap {
  order: 2;
}

.sub2-page2 .s2-content--reverse .s2-content__text-wrap {
  order: 1;
}

.sub2-page2 .s2-content__img-wrap {
  border-radius: 16px;
  overflow: hidden;
  width: 600px;
  height: 400px;
  flex-shrink: 0;
}

.sub2-page2 .s2-content__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sub2-page2 .s2-content__title {
  font-size: 40px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.3;
}

.sub2-page2 .s2-content__desc {
  font-size: 28px;
  font-weight: 300;
  color: #555;
  line-height: 1.2;
}

/* ─── Mid Banner ─── */
.sub2-page2 .s2-banner {
  position: relative;
  padding: 100px 0;
  background-image: url('../img/sub2_con4_img.webp');
  background-size: cover;
  background-position: center;
}

.sub2-page2 .s2-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.sub2-page2 .s2-banner .container {
  position: relative;
  z-index: 2;
}

.sub2-page2 .s2-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub2-page2 .s2-banner__title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.sub2-page2 .s2-banner__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.sub2-page2 .s2-banner__btn {
  flex-shrink: 0;
  padding: 14px 36px;
  border: 2px solid #fff;
  border-radius: 50px;
  background: transparent;
  font-family: 'Pretendard', sans-serif;
  transition: background 0.2s;
}

.sub2-page2 .s2-banner__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sub2-page2 .s2-banner__btn-text {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .sub2-page2 .s2-content__grid {
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .sub2-page2 .s2-hero {
    height: 360px;
    padding-top: 60px;
  }

  .sub2-page2 .s2-hero__title {
    font-size: 30px;
  }

  .sub2-page2 .s2-intro {
    padding: 60px 0;
  }

  .sub2-page2 .s2-intro__text {
    font-size: 16px;
  }

  .sub2-page2 .s2-content {
    padding: 64px 0;
  }

  .sub2-page2 .s2-content__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sub2-page2 .s2-content__img-wrap {
    width: 100%;
    height: 240px;
  }

  /* 모바일: reverse도 이미지 위, 텍스트 아래 */
  .sub2-page2 .s2-content--reverse .s2-content__img-wrap {
    order: 1;
  }

  .sub2-page2 .s2-content--reverse .s2-content__text-wrap {
    order: 2;
  }

  .sub2-page2 .s2-content__title {
    font-size: 24px;
  }

  .sub2-page2 .s2-banner {
    padding: 64px 0;
  }

  .sub2-page2 .s2-banner__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .sub2-page2 .s2-banner__title {
    font-size: 26px;
  }
}


/* ============================================
   Sub3 (car_3.php) — 할인 / 혜택
   모든 선택자: .sub3-page3 .클래스명 형태로 스코프
============================================ */

.sub3-page3 .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── Hero ─── */
.sub3-page3 .s3-hero {
  position: relative;
  height: 640px;
  padding: 80px 0 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.sub3-page3 .s3-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sub3-page3 .s3-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.sub3-page3 .s3-hero__overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.sub3-page3 .s3-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.sub3-page3 .s3-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  width: 100%;
  text-align: left;
}

.sub3-page3 .s3-hero__title {
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sub3-page3 .s3-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid #fff;
  background: transparent;
  font-family: 'Pretendard', sans-serif;
  transition: background 0.2s;
}

.sub3-page3 .s3-hero__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sub3-page3 .s3-hero__btn-text {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
}

.sub3-page3 .s3-hero__btn-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ─── Breadcrumb ─── */
.sub3-page3 .s3-breadcrumb {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}

.sub3-page3 .s3-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub3-page3 .s3-breadcrumb__home {
  width: 17px;
  height: 19px;
  object-fit: contain;
  flex-shrink: 0;
}

.sub3-page3 .s3-breadcrumb__arrow {
  width: 5px;
  height: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.sub3-page3 .s3-breadcrumb__current {
  font-size: 23px;
  font-weight: 600;
  color: #1a1a2e;
}

/* ─── Intro ─── */
.sub3-page3 .s3-intro {
  padding: 140px 0;
  text-align: center;
}

.sub3-page3 .s3-intro__text {
  font-size: 45px;
  font-weight: 500;
  line-height: 2;
  color: #333;
}

/* ─── Content sections ─── */
.sub3-page3 .s3-content {
  padding: 100px 0;
  background: #fff;
}

.sub3-page3 .s3-content__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* reverse: img가 DOM 1번째지만 시각적으로 오른쪽 배치 */
.sub3-page3 .s3-content--reverse .s3-content__img-wrap {
  order: 2;
}

.sub3-page3 .s3-content--reverse .s3-content__text-wrap {
  order: 1;
}

.sub3-page3 .s3-content__img-wrap {
  border-radius: 16px;
  overflow: hidden;
  width: 600px;
  height: 400px;
  flex-shrink: 0;
}

.sub3-page3 .s3-content__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sub3-page3 .s3-content__title {
  font-size: 40px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.3;
}

.sub3-page3 .s3-content__desc {
  font-size: 28px;
  font-weight: 300;
  color: #555;
  line-height: 1.2;
}

/* ─── Mid Banner ─── */
.sub3-page3 .s3-banner {
  position: relative;
  padding: 100px 0;
  background-image: url('../img/sub3_con2_img.webp');
  background-size: cover;
  background-position: center;
}

.sub3-page3 .s3-banner__overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.sub3-page3 .s3-banner .container {
  position: relative;
  z-index: 2;
}

.sub3-page3 .s3-banner__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sub3-page3 .s3-banner__title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 12px;
}

.sub3-page3 .s3-banner__desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.sub3-page3 .s3-banner__btn {
  flex-shrink: 0;
  padding: 14px 36px;
  border: 2px solid #fff;
  border-radius: 50px;
  background: transparent;
  font-family: 'Pretendard', sans-serif;
  transition: background 0.2s;
}

.sub3-page3 .s3-banner__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.sub3-page3 .s3-banner__btn-text {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .sub3-page3 .s3-content__grid {
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .sub3-page3 .s3-hero {
    height: 360px;
    padding-top: 60px;
  }

  .sub3-page3 .s3-hero__title {
    font-size: 30px;
  }

  .sub3-page3 .s3-intro {
    padding: 60px 0;
  }

  .sub3-page3 .s3-intro__text {
    font-size: 16px;
  }

  .sub3-page3 .s3-content {
    padding: 64px 0;
  }

  .sub3-page3 .s3-content__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sub3-page3 .s3-content__img-wrap {
    width: 100%;
    height: 240px;
  }

  /* 모바일: reverse도 이미지 위, 텍스트 아래 */
  .sub3-page3 .s3-content--reverse .s3-content__img-wrap {
    order: 1;
  }

  .sub3-page3 .s3-content--reverse .s3-content__text-wrap {
    order: 2;
  }

  .sub3-page3 .s3-content__title {
    font-size: 24px;
  }

  .sub3-page3 .s3-banner {
    padding: 64px 0;
  }

  .sub3-page3 .s3-banner__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .sub3-page3 .s3-banner__title {
    font-size: 26px;
  }
}


/* ============================================
   QNA (qna.php) — 자주 묻는 질문
   모든 선택자: .qna-page .클래스명 형태로 스코프
============================================ */

/* ─── Hero ─── */
.qna-page .s4-hero {
  position: relative;
  height: 500px;
  padding: 80px 0 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.qna-page .s4-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.qna-page .s4-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.qna-page .s4-hero__overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.qna-page .s4-hero__container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.qna-page .s4-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  text-align: left;
}

.qna-page .s4-hero__title {
  font-size: 50px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.qna-page .s4-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 27px;
  border: 1px solid #fff;
  background: transparent;
  font-family: 'Pretendard', sans-serif;
  transition: background 0.2s;
}

.qna-page .s4-hero__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.qna-page .s4-hero__btn-text {
  font-size: 25px;
  font-weight: 500;
  color: #fff;
}

.qna-page .s4-hero__btn-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ─── Breadcrumb ─── */
.qna-page .s4-breadcrumb {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 14px 0;
}

.qna-page .s4-breadcrumb__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.qna-page .s4-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qna-page .s4-breadcrumb__home {
  width: 17px;
  height: 19px;
  object-fit: contain;
  flex-shrink: 0;
}

.qna-page .s4-breadcrumb__arrow {
  width: 5px;
  height: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.qna-page .s4-breadcrumb__current {
  font-size: 23px;
  font-weight: 600;
  color: #1a1a2e;
}

/* ─── FAQ ─── */
.qna-page .s4-faq {
  padding: 80px 0 120px;
}

.qna-page .s4-faq__container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

.qna-page .s4-faq__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qna-page .s4-faq__item {
  border: 1px solid #3B4CB6;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.qna-page .s4-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  /* border: 2px solid #3B4CB6; */
  cursor: pointer;
  text-align: left;
  font-family: 'Pretendard', sans-serif;
}

.qna-page .s4-faq__badge-q {
  font-size: 40px;
  font-weight: 700;
  color: #2563eb;
  flex-shrink: 0;
  line-height: 1;
}

.qna-page .s4-faq__question {
  flex: 1;
  font-size: 30px;
  font-weight: 500;
  color: #000;
  line-height: 1.5;
}

.qna-page .s4-faq__chevron {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.qna-page .s4-faq__item.is-open .s4-faq__chevron {
  transform: rotate(180deg);
}

/* Answer: 기본 숨김 */
.qna-page .s4-faq__a {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px 20px;
  background: #f0f4ff;
  border-top: 1px solid #d1d5db;
}

.qna-page .s4-faq__item.is-open .s4-faq__a {
  display: flex;
}

.qna-page .s4-faq__badge-a {
  font-size: 40px;
  font-weight: 700;
  color: #2563eb;
  flex-shrink: 0;
  line-height: 1.5;
}

.qna-page .s4-faq__answer {
  font-size: 30px;
  color: #374151;
  line-height: 1.7;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .qna-page .s4-hero {
    height: 260px;
    padding-top: 60px;
  }

  .qna-page .s4-faq__answer {
    font-size: 14px;
  }

  .qna-page .s4-hero__title {
    font-size: 30px;
  }

  .qna-page .s4-hero__btn-text {
    font-size: 15px;
  }

  .qna-page .s4-breadcrumb__current {
    font-size: 14px;
  }

  .qna-page .s4-faq {
    padding: 60px 0 80px;
  }

  .qna-page .s4-faq__question {
    font-size: 14px;
  }
}