/* 전체 래퍼 */
.terms-wrapper {
  max-width: 980px;
  margin: 60px auto;
  padding: 0 16px;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  color: #222;
  line-height: 1.6;
}

/* 각 조항 섹션 */
.terms-section {
  margin-bottom: 40px;
}

/* 조항 제목 */
.terms-title {
  font-size: 1.5rem; /* 약 24px */
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}

/* 조항 소제목 */
.terms-subtitle {
  font-size: 1.125rem; /* 약 18px */
  font-weight: 600;
  color: #222;
  margin-top: 20px;
  margin-bottom: 10px;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
}

/* 본문 문단 */
.terms-paragraph {
  font-size: 1rem; /* 16px */
  margin-bottom: 16px;
  color: #333;
}

/* 리스트 */
.terms-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.terms-item {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #444;
}

.terms-example {
  background: #f3f8f3;
  margin-top: 16px;
  border-radius: 8px;
  text-align: center;
}

.terms-example img {
  width:100%;
  height: auto;
  margin-bottom: 8px;
}

.terms-example-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

/* 중첩 리스트 */
.terms-item .terms-list {
  margin-top: 8px;
}

.terms-item .terms-list .terms-item {
  font-size: 0.9rem;
  color: #555;
}

/* ====== 제3자 제공 표: 공통 ====== */
.terms-table-wrap {
  width: 100%;
  overflow-x: auto; /* 데스크탑/태블릿에서 넓을 때 안전장치 */
}

.terms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.terms-table th,
.terms-table td {
  border: 1px solid #e5e5e5;
  padding: 10px 12px;
  vertical-align: top;
  color: #333;
}

.terms-table th {
  background: #fafafa;
  text-align: center;
  white-space: nowrap;
}

.hiddenRow {
  background-color: #fafafa;
  text-align: center;
}

.td-text-align {
  text-align: center;
}
.centerClass{
    vertical-align: middle !important;
    text-align: center;
}
/* ====== 모바일(세로 스택) ====== */
@media (max-width: 600px) {
    .centerClass{
        text-align: left;
    }

  .terms-title {
    font-size: 1.25rem; /* 20px */
  }
  .terms-subtitle {
    font-size: 1rem; /* 모바일에서 16px */
    margin-top: 16px;
    margin-bottom: 8px;
  }
  .terms-paragraph,
  .terms-item {
    font-size: 0.9rem;
  }
  .terms-table {
    border: 0;
  }
  .terms-table thead {
    display: none; /* 헤더는 숨기고 */
  }
  .terms-table tbody tr {
    display: table-row;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    padding: 10px 12px;
    margin-bottom: 16px;
  }
  .terms-table tbody td {
    display: block;
    width: 100%;
    border: 0;
    border-bottom: 1px solid #eee;
    padding: 10px 12px;
    box-sizing: border-box;
  }
  .terms-table tbody td:last-child {
    border-bottom: 0;
  }
  /* 라벨 스타일 */
  .terms-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: #111;
    background-color: #fafafa;
    padding: 6px 8px;
    margin: -10px -12px 8px;
    border-bottom: 1px solid #ddd;
    border-radius: 4px 4px 0 0;
  }
  .hiddenRow {
    display: none !important;
  }
  .td-text-align {
    text-align: left !important;
  }
  .terms-table tr.stack-row td {
    display: block;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
  }
  .terms-table tr.stack-row td:last-child {
    border-bottom: 0;
  }
  .terms-table-group {
    border-bottom: 1px solid !important;
  }
}