/* ============================================================
 * home-layout.css — 홈페이지 레이아웃 컴포넌트 (design-system 토큰 기반)
 * home-temp.css 의 컴포넌트 규칙을 정식 분리. /temp 전용 override는 제외.
 * 홈/서브페이지 및 갤러리(Public 테마)에서 로드.
 * ============================================================ */
/* ── Button: 신규 변형 (design-system 편입 후보) ── */
.ds-btn--pill { border-radius: var(--ds-radius-full); }
.ds-btn--cta {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: var(--ds-font-weight-medium);
  gap: var(--ds-space-2);
}
/* 보조 CTA (히어로 '데모 보기') — 실물: 중립 아웃라인 4px, pill 아님 */
.ds-btn--cta-secondary {
  background: transparent;
  color: #111111;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: var(--ds-radius-sm);
  box-shadow: none;
}
.ds-btn--cta-secondary:not(:disabled):not([disabled]):not(.disabled):not(.is-disabled):hover {
  border-color: var(--ds-color-primary);
  color: var(--ds-color-primary);
}
/* primary CTA 그림자: 기존 구-blue(#2F51FF) 잔재를 navy 토큰 기반으로 정리 */
.ds-btn--cta.ds-btn--primary {
  box-shadow: 0 2px 8px rgba(15, 59, 94, 0.25);
}
.ds-btn--cta.ds-btn--primary:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 59, 94, 0.35);
}
.ds-btn--cta.ds-btn--primary:active { transform: translateY(0); }

/* ── Badge: dot 포함 변형 (히어로 태그 pill) ── */
.ds-badge--dot::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  margin-right: var(--ds-space-2);
  border-radius: 50%;
  background: var(--ds-color-primary);
  vertical-align: middle;
}
/* 히어로 태그: navy 아웃라인 pill + 은은한 글로우 */
.ds-badge--hero-tag {
  padding: 6px 16px;
  font-size: var(--ds-font-size-sm);
  font-weight: var(--ds-font-weight-medium);
  color: var(--ds-color-primary);
  background: transparent;
  border: 1px solid rgba(15, 59, 94, 0.3);
  box-shadow: 0 0 28px rgba(15, 59, 94, 0.14);
}

/* ── Layout: 신규 (design-system 편입 후보) ── */
/* 히어로 2단 split 그리드 (기존 .ds-home-hero-grid 재현) */
.ds-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 102px;
  position: relative;
  z-index: 2;
}
.ds-hero__body { position: relative; z-index: 1; }
.ds-hero__visual { position: relative; z-index: 1; display: flex; justify-content: center; }

/* 스탯 2x2 그리드 (기존 .service1 .ds-home-hero-stats 재현) */
.ds-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 100%;
  max-width: 440px;
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .ds-hero { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Layout: Container / Section Header ===== */
.ds-container { max-width: 1200px; margin: 0 auto; padding: 0 var(--ds-space-6); }
.ds-section-header { text-align: center; margin-bottom: var(--ds-space-12); }
.ds-section-badge {
  display: inline-flex; align-items: center; gap: var(--ds-space-1);
  background: var(--ds-color-primary-soft); color: var(--ds-color-primary);
  font-size: 13px; font-weight: var(--ds-font-weight-bold);
  padding: var(--ds-space-1) var(--ds-space-3);
  border-radius: var(--ds-radius-full); margin-bottom: 6px;
}
.ds-section-title {
  font-size: clamp(2rem, 4vw, 2.75rem); font-weight: var(--ds-font-weight-bold);
  color: var(--ds-color-neutral-900); margin: 0 0 var(--ds-space-3);
  letter-spacing: -0.02em; line-height: 1.3;
}
.ds-section-subtitle {
  font-size: var(--ds-font-size-md); color: var(--ds-color-neutral-600);
  line-height: 1.6; max-width: 600px; margin: 0 auto;
}

/* ===== Layout: Card Grid ===== */
.ds-card-grid { display: grid; gap: var(--ds-space-6); }
.ds-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ds-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ds-card-grid--auto { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (max-width: 768px) { .ds-card-grid--2, .ds-card-grid--3 { grid-template-columns: 1fr; } }

/* ===== Feature Grid (실물: 정사각 카드 + 우상단 워터마크 번호) ===== */
.ds-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
@media (max-width: 768px) { .ds-feature-grid { grid-template-columns: 1fr; } }
.ds-feature-card {
  position: relative;
  overflow: hidden;
  background: #F8F7F4;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 0;
  padding: 48px 40px;
  text-align: left;
  transition: background .3s ease, border-color .3s ease;
}
.ds-feature-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ds-color-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.ds-feature-card:hover::before { transform: scaleX(1); }
.ds-feature-card:hover { background: rgba(37, 99, 235, 0.04); border-color: rgba(0, 0, 0, 0.07); }
.ds-feature-card__num {
  position: absolute; top: 12px; right: 16px;
  font-family: 'DM Mono', 'SF Mono', 'Fira Code', monospace;
  font-size: 48px; letter-spacing: 2px;
  color: rgba(15, 59, 94, 0.07); line-height: 1;
}
.ds-feature-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--ds-color-primary-soft);
  border-radius: 12px;
  color: var(--ds-color-primary);
  margin-bottom: 20px;
  transition: background .3s ease, color .3s ease;
}
.ds-feature-card:hover .ds-feature-card__icon { background: var(--ds-color-primary); color: #fff; }
.ds-feature-card__title { font-size: 20px; font-weight: var(--ds-font-weight-bold); color: var(--ds-color-neutral-900); line-height: 1.3; margin: 0 0 8px; }
.ds-feature-card__desc { font-size: 14px; font-weight: 400; color: #737373; line-height: 1.8; margin: 0; }

/* ===== Service Card (실물: radius 20, padding 32/28, 좌측정렬) ===== */
.ds-service-card {
  position: relative;
  background: var(--ds-color-bg);
  border: 1px solid var(--ds-color-neutral-200);
  border-radius: var(--ds-radius-2xl);
  padding: 32px 28px;
  text-align: left;
  display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.ds-service-card:hover { transform: translateY(-4px); box-shadow: var(--ds-shadow-lg); border-color: var(--ds-color-primary); }
.ds-service-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--ds-color-primary-soft);
  border-radius: 16px;
  color: var(--ds-color-primary);
  margin-bottom: 16px;
}
.ds-service-card__title { font-size: 18px; font-weight: var(--ds-font-weight-bold); color: var(--ds-color-neutral-900); margin: 0 0 12px; line-height: 1.25; }
.ds-service-card__desc { font-size: 14px; color: var(--ds-color-neutral-600); line-height: 1.6; margin: 0 0 16px; }
.ds-service-card__features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.ds-service-card__features li { position: relative; padding-left: 16px; font-size: 14px; color: var(--ds-color-neutral-800); line-height: 1.5; }
.ds-service-card__features li::before { content: "\2713"; position: absolute; left: 0; color: var(--ds-color-success); font-weight: var(--ds-font-weight-bold); }
.ds-service-card__cta { margin-top: auto; text-align: right; }
.ds-service-card__cta .ds-btn--primary { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.ds-service-card__cta .ds-btn--primary:hover { background: var(--ds-color-primary-light) !important; border-color: var(--ds-color-primary-light) !important; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15, 59, 94, 0.25); }

/* ===== Bank Select Grid (실물: label 120px, img 52px, border 2px) ===== */
.ds-bank-grid { display: flex; flex-wrap: wrap; gap: 15px; width: 660px; max-width: 100%; list-style: none; padding: 0; margin: 0; }
.ds-bank-grid li { position: relative; }
.ds-bank-grid input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.ds-bank-grid label { display: inline-block; width: 120px; padding: 21px 0 18px; border: 2px solid var(--ds-color-bg); border-radius: 12px; text-align: center; cursor: pointer; transition: all .2s; }
.ds-bank-grid label:hover { border-color: var(--ds-color-primary); }
.ds-bank-grid input:checked + label { border-color: var(--ds-color-primary); background: var(--ds-color-primary-soft); }
.ds-bank-grid img { width: 52px; height: 52px; object-fit: contain; }
.ds-bank-grid span { display: block; margin-top: 8px; font-size: 18px; color: var(--ds-color-neutral-900); }

/* ===== Channel Layout (다양한 채널을 지원합니다) ===== */
.ds-channel-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .ds-channel-layout { grid-template-columns: 1fr; } }

/* 좌측 채널 선택 패널 */
.ds-channel-panel { background: var(--ds-color-bg); border: 1px solid var(--ds-color-neutral-200); border-radius: 28px; padding: 12px; }
.ds-channel-group { padding: 4px 0; }
.ds-channel-group + .ds-channel-group { border-top: 1px solid var(--ds-color-neutral-100); margin-top: 4px; padding-top: 8px; }
.ds-channel-group-header { display: flex; align-items: center; gap: 10px; padding: 12px 8px; }
.ds-channel-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: rgba(15, 59, 94, 0.08); border-radius: 12px; color: var(--ds-color-primary); flex-shrink: 0; }
.ds-channel-group-title { font-size: 14px; font-weight: 700; color: var(--ds-color-neutral-800); margin: 0; }
.ds-channel-group-subtitle { font-size: 11px; color: var(--ds-color-neutral-400); margin: 1px 0 0; }
.ds-channel-items { display: flex; flex-direction: column; gap: 4px; }
.ds-channel-item { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; border-radius: 10px; background: transparent; border: none; width: 100%; cursor: pointer; text-align: left; }
.ds-channel-item:hover { background: var(--ds-color-neutral-100); }
.ds-channel-item--active { background: #F0EEFF; }
.ds-channel-item-name { font-size: 14px; font-weight: 500; color: var(--ds-color-primary); }
.ds-channel-item-time { font-size: 11px; color: var(--ds-color-primary); }
.ds-channel-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; box-sizing: border-box; margin-top: 8px; padding: 10px 16px; border-radius: 8px; background: linear-gradient(135deg, #059669, #6B2FD4); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; }

/* 우측 요금제 영역 */
.ds-channel-pricing { display: flex; flex-direction: column; gap: 16px; }
.ds-channel-pricing-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border: 1px solid var(--ds-color-neutral-200); border-radius: 28px; background: var(--ds-color-bg); }
.ds-channel-pricing-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 0; }
.ds-channel-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 4px 10px; border-radius: 100px; }
.ds-channel-pill--time { background: #FFF9E6; color: #92650A; }
.ds-channel-pill--type { background: var(--ds-color-primary-soft); color: var(--ds-color-primary); }
.ds-channel-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ds-channel-pricing-title { font-size: 20px; font-weight: 700; color: var(--ds-color-neutral-800); margin: 0; }
.ds-channel-pricing-desc { font-size: 13px; color: var(--ds-color-neutral-400); margin: 0; }
.ds-channel-note { font-size: 12px; color: var(--ds-color-neutral-600); line-height: 1.7; margin: 4px 0 0; }
.ds-channel-sim { display: flex; justify-content: center; margin-top: 24px; }
.ds-channel-sim .ds-btn { padding: 16px 32px; border-radius: var(--ds-radius-full); font-size: 16px; font-weight: var(--ds-font-weight-bold); box-shadow: 0 4px 12px rgba(15, 59, 94, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.2); }

/* 요금제 카드 그리드 */
.ds-pricing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .ds-pricing-cards { grid-template-columns: 1fr; } }
.ds-pricing-card { position: relative; background: var(--ds-color-bg); border: 1px solid var(--ds-color-neutral-200); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; min-height: 560px; }
.ds-pricing-card--recommend { border-color: var(--ds-color-primary); box-shadow: var(--ds-shadow-md); }
.ds-pricing-card__badge { position: absolute; top: 16px; right: 16px; background: var(--ds-color-primary); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.ds-pricing-card__head { font-size: 14px; font-weight: 600; color: var(--ds-color-neutral-800); margin-bottom: 16px; }
.ds-pricing-card__price { font-size: 24px; font-weight: 700; color: var(--ds-color-neutral-900); text-align: center; }
.ds-pricing-card__was { display: block; font-size: 13px; color: var(--ds-color-neutral-400); text-decoration: line-through; text-align: center; margin-bottom: 2px; }
.ds-pricing-card__term { font-size: 12px; color: var(--ds-color-neutral-600); text-align: center; margin-top: 4px; }
.ds-pricing-card__note { font-size: 12px; color: var(--ds-color-neutral-600); text-align: center; margin-top: 8px; }
.ds-pricing-card__divider { height: 1px; background: var(--ds-color-neutral-300); margin: 20px 0; }
.ds-pricing-card__rows { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; }
.ds-pricing-card__row { text-align: center; }
.ds-pricing-card__row-was { display: block; font-size: 11px; color: var(--ds-color-neutral-400); text-decoration: line-through; }
.ds-pricing-card__row-tit { font-size: 16px; font-weight: 700; color: var(--ds-color-neutral-800); }
.ds-pricing-card__row-desc { font-size: 12px; color: var(--ds-color-neutral-600); margin-top: 2px; }
/* ===== Reviews (실사용 후기) ===== */
.ds-review-featured { position: relative; background: var(--ds-color-bg); border-left: 4px solid var(--ds-color-primary); border-radius: 0 14px 14px 0; padding: 28px 32px; box-shadow: var(--ds-shadow-sm); }
.ds-review-featured__icon { position: absolute; top: 16px; right: 28px; font-size: 44px; line-height: 1; color: var(--ds-color-neutral-200); font-family: Georgia, serif; }
.ds-review-featured__text { font-size: 16.5px; font-weight: 600; color: var(--ds-color-neutral-900); line-height: 1.65; margin: 0 0 20px; max-width: 740px; }
.ds-review-featured__meta { display: flex; align-items: center; gap: 14px; }
.ds-review-featured__meta .ds-review-stars { margin-left: auto; }
.ds-review-avatar { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ds-color-primary-soft); color: var(--ds-color-primary); font-size: 12px; font-weight: 600; flex-shrink: 0; }
.ds-review-id { font-size: 13px; font-weight: 600; color: var(--ds-color-neutral-800); }
.ds-review-stars { display: inline-flex; gap: 2px; color: var(--ds-color-warning); flex-shrink: 0; }
.ds-review-star--empty { color: var(--ds-color-neutral-300); }
.ds-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 900px) { .ds-review-grid { grid-template-columns: 1fr; } }
.ds-review-card { background: var(--ds-color-bg); border: 1px solid var(--ds-color-neutral-200); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; transition: box-shadow .22s, border-color .22s, transform .2s; }
.ds-review-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(15, 59, 94, 0.09); border-color: rgba(15, 59, 94, 0.3); }


.ds-review-card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; gap: 8px; }
.ds-review-tag { background: var(--ds-color-primary-soft); color: var(--ds-color-primary); font-size: 10px; padding: 2px 8px; border-radius: 4px; white-space: nowrap; }
.ds-review-card__body { font-size: 13.5px; color: var(--ds-color-neutral-600); line-height: 1.78; margin: 0 0 18px; flex: 1; }
.ds-review-card__footer { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--ds-color-neutral-200); padding-top: 12px; }
.ds-review-store { margin-left: auto; font-size: 11px; color: var(--ds-color-neutral-400); }

/* ===== FAQ (자주 묻는 질문) ===== */
.ds-faq-filters-wrap { text-align: center; margin-bottom: 24px; }
.ds-faq-filters { display: inline-flex; gap: 6px; padding: 4px; background: var(--ds-color-bg-secondary); border-radius: var(--ds-radius-full); }
.ds-faq-filter { padding: 7px 18px; border: none; background: transparent; color: var(--ds-color-neutral-800); font-size: 13px; border-radius: var(--ds-radius-full); cursor: pointer; }
.ds-faq-filter--active { background: var(--ds-color-bg); box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04); font-weight: 600; }
.ds-faq-list { display: block; }
.ds-faq-item { background: var(--ds-color-bg); border: 1px solid var(--ds-color-neutral-200); border-radius: 12px; margin-bottom: 12px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); overflow: hidden; }
.ds-faq-item--active { border-color: var(--ds-color-primary); box-shadow: 0 0 0 3px rgba(15,59,94,0.08); }
.ds-faq-question { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; cursor: pointer; }
.ds-faq-cat { flex-shrink: 0; font-size: 12px; padding: 3px 10px; border-radius: var(--ds-radius-full); background: rgba(15,59,94,0.08); color: var(--ds-color-primary); }
.ds-faq-cat--tech { background: rgba(5,150,105,0.08); color: var(--ds-color-success); }
.ds-faq-q-text { flex: 1; text-align: center; font-size: 15px; font-weight: 500; color: var(--ds-color-neutral-800); }
.ds-faq-toggle { flex-shrink: 0; font-size: 12px; color: var(--ds-color-primary); }
.ds-faq-answer { padding: 0 20px 18px; }
.ds-faq-item:not(.ds-faq-item--active) .ds-faq-answer { display: none; }
.ds-faq-answer-inner { border-top: 1px solid var(--ds-color-neutral-200); padding-top: 18px; font-size: 14px; color: var(--ds-color-neutral-600); line-height: 1.5; }
.ds-faq-answer-link { display: block; width: fit-content; margin: 12px 0 0 auto; color: var(--ds-color-primary); font-size: 13px; font-weight: 500; text-decoration: none; }
.ds-faq-more-wrap { text-align: center; margin-top: 32px; }
.ds-faq-more { display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px; border: 1px solid var(--ds-color-neutral-200); border-radius: var(--ds-radius-full); color: var(--ds-color-neutral-600); background: var(--ds-color-bg); font-size: 14px; text-decoration: none; }

/* ===== Page Section Wrapper (홈 적용용) ===== */
.ds-section { padding: 80px 0; background: var(--ds-color-bg); }
.ds-section--alt { background: var(--ds-color-bg-secondary); }

/* ===== Demo Guide (데모 화면) ===== */
.ds-demo-section { padding: 56px 30px 80px; }
.ds-demo-body { max-width: 1280px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.ds-demo-intro { text-align: center; margin: 0 0 36px; }
.ds-demo-intro__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2.8px; color: var(--ds-color-primary); margin: 0 0 12px; }
.ds-demo-intro__title { font-size: 31px; font-weight: 300; line-height: 1.3; color: var(--ds-color-neutral-900); margin: 0; }
.ds-demo-intro__desc { font-size: 15px; font-weight: 400; line-height: 1.75; color: var(--ds-color-neutral-600); margin: 18px 0 0; }
.ds-demo-table-wrap { background: var(--ds-color-bg); border: 1px solid var(--ds-color-neutral-200); border-radius: 20px; box-shadow: 0 18px 40px rgba(15, 59, 94, 0.08); overflow: hidden; }
.ds-demo-table { width: 100%; border-collapse: collapse; }
.ds-demo-col--purpose { width: 30%; }
.ds-demo-col--action { width: 45%; }
.ds-demo-col--note { width: 25%; }
.ds-demo-table thead { background: linear-gradient(135deg, #0F3B5E 0%, #2563EB 100%); }
.ds-demo-table th { color: #fff; font-size: 15px; font-weight: 600; padding: 22px 24px; text-align: left; }
.ds-demo-table td { padding: 28px 24px; vertical-align: top; font-size: 13.5px; color: var(--ds-color-neutral-800); line-height: 1.7; }
.ds-demo-table tbody tr { border-bottom: 1px solid var(--ds-color-neutral-200); }
.ds-demo-table tbody tr:last-child { border-bottom: none; }
.ds-demo-purpose { font-weight: 500; }
.ds-demo-subtext { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ds-color-neutral-600); }
.ds-demo-btn-group { display: flex; gap: 10px; flex-wrap: wrap; }
.ds-demo-btn { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border-radius: 999px; font-size: 12.5px; font-weight: 500; cursor: pointer; background: var(--ds-color-bg); color: var(--ds-color-primary); border: 1px solid var(--ds-color-primary); transition: background .2s ease, color .2s ease; }
.ds-demo-btn:hover { background: var(--ds-color-primary); color: #fff; }
.ds-demo-btn--disabled { background: var(--ds-color-neutral-200); color: var(--ds-color-neutral-400); border-color: var(--ds-color-neutral-200); cursor: not-allowed; }

/* ============================================================
 * 홈/서브페이지 적용 규칙 (본문 폭 1280 통일 + 서브페이지 배경/FAQ 폭)
 * home-temp.css 의 /temp override를 정식 편입.
 * ============================================================ */
.faq_short_board .board_more:hover { color: #fff !important; }
.bankdaA_sub_cont,
.bankdaA_sub_bottom { background: #fff !important; }
.bankdaA_sub_bottom .ds-home-section--alt,
.bankdaA_sub_bottom .faq_section { background: transparent !important; }
.bankdaA_sub_bottom .ds-home-container,
.bankdaA_sub_bottom .ds-container { max-width: 1280px; box-sizing: border-box; }
.bankdaA_sub_bottom { max-width: 1280px; }
.bankdaA_sub_bottom .ds-home-faq-list { max-width: none; margin-left: 0; margin-right: 0; }


/* Page Hero — 서브페이지 다크 배너 (design-system.css 공통에도 정의됨.
   홈 서브페이지는 항상-최신 home-layout.css로도 로드해 캐시 갭 방지) */
.ds-page-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 160px; padding: 40px 24px; background: linear-gradient(135deg, #0F3B5E 0%, #0A2A42 100%); }
.ds-page-hero__deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ds-page-hero__deco::before { content: ""; position: absolute; top: -40px; right: -40px; width: 180px; height: 180px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.06); }
.ds-page-hero__deco::after { content: ""; position: absolute; bottom: -60px; right: 20px; width: 240px; height: 240px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.04); }
.ds-page-hero__content { position: relative; z-index: 1; text-align: center; }
.ds-page-hero__title { font-size: 42px; font-weight: 300; letter-spacing: -0.5px; color: #fff; margin: 0; }
.ds-page-hero__subtitle { position: relative; z-index: 1; margin: 12px 0 0; color: rgba(255,255,255,0.75); font-size: 15px; }

/* ============================================================
 * 레거시 input 리셋(예: homeStyle.css의 input{border:currentcolor})이
 * 로드된 화면에서도 DS 폼 입력의 테두리가 유지되도록 특이도 우위로 복원.
 * ============================================================ */
.ds-form .ds-input,
.ds-form .ds-select,
.ds-form .ds-textarea {
  border: 1px solid var(--ds-color-border);
}

/* 폼 라벨 아래 보조 설명 문구 (문의 폼 등) */
.ds-form-sublabel {
  display: block;
  margin-top: 2px;
  margin-bottom: 12px;
  font-size: var(--ds-font-size-xs, 13px);
  color: #8fa0b3;
  font-family: var(--ds-font-family-base);
}

/* textarea placeholder를 입력 필드와 동일한 색으로 통일
   (homeStyle 등의 기본 ::placeholder 회색을 덮음) */
.ds-textarea::placeholder,
.ds-form-input::placeholder {
  color: #B4C2D0;
}


/* Page Hero — 서브페이지 공통 다크 배너 (홈/이용자 등 공통 사용) */
.ds-page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
  padding: 40px 24px;
  background: linear-gradient(135deg, #0F3B5E 0%, #0A2A42 100%);
}

.ds-page-hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ds-page-hero__deco::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ds-page-hero__deco::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: 20px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.ds-page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ds-page-hero__title {
  font-size: 42px;
  font-weight: 300;
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0;
}

.ds-page-hero__subtitle {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}
