/* ==========================================================================
   정책 페이지 (서비스 이용약관 · 개인정보 처리방침)
   test.biz-quick.com/assets/css/custom.css 중 해당 페이지에서 쓰는 규칙만 발췌
   + 운영 환경 보정(헤더 높이 변수, fs-9, todo-value 폴백)
   ========================================================================== */

:root { --bq-header-h: 77px; }

/* 상단 타이틀 */
.sub-page-title { padding-top: 5rem; padding-bottom: 5rem; }

/* 본문 섹션 */
.subpage-section { padding-top: 6rem; padding-bottom: 6rem; }
.subpage-section:last-child { padding-bottom: 8rem; }

/* 상단 고정 탭 */
.sub-sticky-top-wrap { position: relative; }
.sub-sticky-top { position: sticky; top: var(--bq-header-h, 77px); padding-top: 0; margin-top: 0; }
.sub-sticky-top .list-group {
  border-radius: 0; overflow: hidden; margin: 0 auto;
  word-break: keep-all; align-items: flex-end; justify-content: center;
}
.sub-sticky-top .list-group-item {
  font-size: 1rem; border: none; border-radius: 0;
  text-align: center; padding: 1rem; width: auto;
}
.sub-sticky-top .list-group-item.active { color: var(--bs-primary); font-weight: bold; }
.sub-sticky-top .list-group-item .select-underbar {
  visibility: hidden; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 5px; background: var(--bs-primary);
}
.sub-sticky-top .list-group-item.active .select-underbar { visibility: visible; }
.sub-sticky-top > div { overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; }
.sub-sticky-top > div::-webkit-scrollbar { display: none; }
.sub-sticky-top-wrap .sub-sticky-top { border-bottom: 1px solid transparent; }
.sub-sticky-top-wrap.on .sub-sticky-top { border-bottom: 1px solid var(--bs-gray-200); background-color: #fff; }

/* 본문 조항 */
.scrollspy-example { position: relative; }
.scrollspy-example > section[id] { scroll-margin-top: calc(var(--bq-header-h, 77px) + 60px); }

.policy-chapter {
  font-size: 1.25rem; font-weight: 700;
  margin: 2.5rem 0 1.25rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--phoenix-primary, var(--bs-primary));
}
.policy-chapter:first-child { margin-top: 0; }
.policy-clause { margin-bottom: 2.5rem; }
.policy-clause > h2 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; }
.policy-clause > h3 { font-size: 1rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.policy-clause p, .policy-clause li { line-height: 1.8; }
.policy-clause ul.list-paren { list-style: none; padding-left: 0; margin-bottom: .5rem; }

/* 운영 보정: user.min.css 에 없는 유틸/변수 */
.fs-9 { font-size: .8rem; }
.todo-value { color: var(--phoenix-danger, var(--bs-danger)); font-weight: 700; }

@media (max-width: 1399.98px) {
  .subpage-section { padding-top: 5rem; padding-bottom: 5rem; }
}
@media (max-width: 991.98px) {
  .sub-page-title { padding-top: 3rem; padding-bottom: 3rem; }
  .subpage-section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .subpage-section:last-child { padding-bottom: 5rem; }
  .sub-sticky-top .list-group-item { padding: .75rem; font-size: 1rem; }
}
