/* 라이믹스 레이아웃과의 충돌을 최소화하기 위해
   특정 클래스명(jhstyle)으로 전체 스타일을 묶습니다. */

body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  font-family: 'Pretendard', sans-serif;
}

.jhstyle th,
.jhstyle td {
  text-align: center; /* 테이블 셀 가운데 정렬 */
}

.jhstyle {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  line-height: 1.6;
  color: #333;
  text-align: center; /* 컨테이너 내부 글자 정렬 */
}

/* 모든 열 가운데 정렬 */
.jhstyle table th,
.jhstyle table td {
  text-align: center;
}

.jhstyle h1 {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 25px;
  border-bottom: 2px solid #eee;
  padding-bottom: 15px;
  color: #000000;
}

.jhstyle p {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: center;
  color: #555;
}

/* 테이블 전체를 감싸는 래퍼 */
.rymix-table-wrapper {
  width: 100%;
  overflow-x: visible;
}

/* 표 설정 */
.jhstyle table {
  margin: 0 auto;
  font-family: 'Pretendard', sans-serif;
  font-size: 14px;
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  table-layout: fixed;
  word-break: break-word;
}

.jhstyle th,
.jhstyle td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
  word-break: break-word;
}

.jhstyle thead th {
  background-color: #f2f2f2;
  color: #333;
  font-weight: bold;
  text-align: center;
}

/* 구분 열 스타일 (th) */
.jhstyle tbody th {
  background-color: #f9f9f9;
  color: #555;
  font-weight: normal;
  text-align: center;
  width: 15%;
  min-width: 80px;
}

.jhstyle tbody td {
  background-color: #fff;
  color: #333;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .jhstyle {
    padding: 15px;
  }

  .jhstyle h1 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .jhstyle p {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .jhstyle th,
  .jhstyle td {
    padding: 10px;
    font-size: 13px;
  }

  .jhstyle table {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .jhstyle h1 {
    font-size: 1.5em;
  }

  .jhstyle p {
    font-size: 0.95em;
  }

  .jhstyle th,
  .jhstyle td {
    padding: 8px;
    font-size: 12.5px;
  }

  .jhstyle table {
    font-size: 12.5px;
  }
}
