/* ================================================
   BRAND PUBLIC — 약관/방침 문서 페이지 (원본에 없던 파일)
   ================================================

   원본의 /terms_page/privacy-policy/ 는 Elementor 로 만들어져 있어 레이아웃이
   Elementor CSS 에 의존한다. 그 CSS 는 확보하지 못한 자산이므로(부모 테마·플러그인
   소관), 다른 12페이지처럼 마크업을 그대로 옮기는 방식이 통하지 않는다.
   본문 텍스트를 살리고 사이트와 일관된 문서 레이아웃을 새로 만든다.

   색·간격은 style.min.css 의 기존 변수를 쓴다.
   ================================================ */

.bp-page .terms {
    /* ⚠️ .bp-page 를 반드시 붙일 것. style.min.css 의 `.bp-page section{padding:… 0}`
       이 특정도 (0,1,1) 이라 `.terms`(0,1,0) 만으로는 선언 순서와 무관하게 진다.
       실제로 이걸 빠뜨려 좌우 여백이 0 으로 덮어써지고 있었다.

       상단: .header 가 position:fixed 라 여백으로 직접 비켜준다.
       좌우: 사이트 공통 .container 와 같은 clamp 를 쓴다. 다른 페이지는 화면이 넓어지면
       여백도 48px 까지 벌어지는데 여기만 20px 고정이라 좌우가 답답했다.
       본문이 긴 문서라 최소값은 공통(20px)보다 조금 넉넉하게 잡는다. */
    padding: 160px clamp(24px, 4vw, 48px) 120px;
}

.terms-inner {
    max-width: 860px;
    margin: 0 auto;
}

.terms-eyebrow {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0;
}

.terms-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin: 12px 0 0;
}

.terms-intro {
    margin: 40px 0 0;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.terms-section {
    margin-top: 48px;
}

.terms-section h2 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.terms-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 24px 0 8px;
}

.terms-section p,
.terms-section li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.terms-section p {
    margin: 0 0 12px;
}

.terms-section ul {
    margin: 0 0 12px;
    padding-left: 20px;
    list-style: disc;
}

.terms-section li {
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    /* 모바일에서는 좌우 여백을 조금 더 준다. 화면이 좁을수록 글이 가장자리에
       붙어 보여 답답하다. */
    .bp-page .terms {
        padding: 120px clamp(24px, 8vw, 32px) 80px;
    }

    /* 인트로는 배경이 있는 카드라 자체 안쪽 여백을 갖는다. 그 값이 크면 인트로만
       글이 안쪽에서 시작해, 아래 조항들이 상대적으로 가장자리에 붙은 것처럼 보인다.
       좁은 화면에서는 그 차이를 줄인다. */
    .bp-page .terms-intro {
        padding: 20px;
    }

    .terms-section {
        margin-top: 36px;
    }
}
