/* ==========================================================================
   Page Content - General Page Body Styles
   Monotics WordPress Theme
   ========================================================================== */

.page-content {
  background: var(--navy2);
}

/* --- 본문 컨테이너 --- */
.page-content .section-inner {
  max-width: 800px;
}

/* --- 인트로 단락 --- */
.page-content .entry-content > p:first-of-type,
.page-content > .section-inner > p:first-of-type {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.9;
  border-left: 3px solid rgba(0, 200, 255, 0.35);
  padding-left: 16px;
  margin-bottom: 40px;
}

/* --- 구분선 --- */
.page-content .wp-block-separator,
.page-content hr {
  border: none;
  border-top: 1px solid rgba(0, 200, 255, 0.12);
  margin: 48px 0;
}

/* --- H2 페이지 제목 (블록 에디터) --- */
.page-content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

/* --- H3 조항 제목 --- */
.page-content h3 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.3px;
  margin-top: 48px;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: rgba(0, 200, 255, 0.05);
  border-left: 3px solid var(--cyan);
  border-radius: 0 6px 6px 0;
}

/* --- H4 소항목 제목 --- */
.page-content h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 28px;
  margin-bottom: 12px;
  opacity: 0.75;
}

/* --- 단락 --- */
.page-content p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 12px;
}

/* --- 리스트 --- */
.page-content ul,
.page-content ol {
  padding-left: 0;
  margin: 12px 0 20px 0;
  list-style: none;
}

.page-content ul li,
.page-content ol li {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.8;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 15px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 200, 255, 0.5);
}

.page-content ol {
  counter-reset: list-counter;
}

.page-content ol li {
  counter-increment: list-counter;
}

.page-content ol li::before {
  content: counter(list-counter) '.';
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 12px;
  color: var(--cyan);
  font-weight: 600;
}

/* --- Strong 강조 --- */
.page-content strong {
  color: var(--white);
  font-weight: 600;
}

/* --- 테이블 --- */
.page-content .wp-block-table {
  margin: 20px 0 28px;
  overflow-x: auto;
  border-radius: 8px;
  border: var(--border-cyan-subtle);
}

.page-content .wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.page-content .wp-block-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: rgba(0, 200, 255, 0.06);
  border-bottom: 1px solid rgba(0, 200, 255, 0.15);
}

.page-content .wp-block-table tbody td {
  padding: 12px 16px;
  color: var(--gray);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: top;
  line-height: 1.7;
}

.page-content .wp-block-table tbody tr:last-child td {
  border-bottom: none;
}

.page-content .wp-block-table tbody tr:hover td {
  background: rgba(0, 200, 255, 0.03);
}

/* 첫 번째 컬럼 (구분/레이블) */
.page-content .wp-block-table tbody td:first-child {
  color: var(--white);
  font-weight: 500;
  white-space: nowrap;
  width: 120px;
}

/* --- 공고일자 단락 (마지막) --- */
.page-content p:last-of-type {
  font-size: 12px;
  color: rgba(138, 155, 181, 0.6);
  margin-top: 16px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .page-content .section-inner {
    max-width: 100%;
  }

  .page-content h3 {
    font-size: 14px;
    margin-top: 36px;
  }

  .page-content .wp-block-table tbody td:first-child {
    width: 80px;
  }
}
