/* Reset / 기본 */
  *{box-sizing:border-box;margin:0;padding:0}
  html,body{height:100%}
  body{
    font-family: "Inter", "Noto Sans KR", Arial, sans-serif;
    color:#161616;
    background:#ffffff;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
  }
  a{color:inherit;text-decoration:none}

  /* HEADER */
  .site-header{
    position:sticky; top:0; z-index:200;
    width:100%;
    background:#fff;
    border-bottom:1px solid #e6e6e6;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 28px;
  }
  .site-header .left { display:flex; align-items:center; gap:20px; }
  .logo { font-weight:700; font-size:1.15rem; letter-spacing: -0.02em; }
  .logo .accent { color:#D32F2F; font-weight:800; font-size:1.35rem; margin-right:4px; }

  .site-header nav { display:flex; gap:18px; align-items:center; }
  .site-header nav a { font-weight:600; color:#333; font-size:0.95rem; padding:8px; border-radius:6px; }
  .site-header nav a:hover { background:#f2f2f2; color:#000; }


.site-header nav a.active {
  background: #f2f2f2; /* hover 상태처럼 배경 추가 */
  color: #000;          /* hover 상태 텍스트 색상 */
  font-weight: 600;
  border-radius: 6px;
}

.star-icon {
  width: 18px;
  height: 18px;
  margin-left: 6px;
  vertical-align: middle;
  object-fit: contain;
}

  .header-actions { display:flex; align-items:center; gap:12px; }

 .cta-btn {
  background-color: #19191a;
  color: white;
  padding: 8px 16px;
  border-radius: 20px; /* 기존 4px → 12px으로 변경 */
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
}

.cta-btn:hover {
  background-color: #000000; /* hover 시 색상도 조금 어둡게 조정 가능 */
}


  /* Sub Navbar */
.sub-navbar {
  background-color: #ffffff;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 64px; /* 헤더 높이 만큼 띄움 */
  z-index: 150;
}


  .sub-navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
    padding: 10px 0;
    margin: 0;
  }

/* 서브 메뉴 라운드 사각형 */
.sub-navbar a {
  color: #161616;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 12px;
  background-color: transparent; /* 기본은 배경 없음 */
  transition: background-color 0.3s, color 0.3s;
}

.sub-navbar a:hover {
  background-color: #e7e7e7; /* 배경색 검은색 */
}

.sub-navbar a.active { /* active 메뉴만 라운드 사각형 */
  color: white;           /* 글자색은 흰색 */
  background-color: #000; /* 배경색 검은색 */
}

  @media (max-width:720px){
    .site-header{ padding:10px 14px; }
  }









.menu-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 600;
  color: #555;
  margin: 25px auto;
  flex-wrap: wrap;
}

.menu-line span {
  position: relative;
  cursor: pointer;
  transition: color 0.3s;
  padding-bottom: 4px;
}

.menu-line span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background-color: #d8d7d7;
  transition: width 0.3s;
}

/* 마우스 오버 시 밑줄 */
.menu-line span:hover::after {
  width: 100%;
}

/* active 상태는 밑줄 고정 */
.menu-line span.active::after {
  width: 100%;
  background-color: #000;
}

/* active 상태 텍스트 색상도 강조 */
.menu-line span.active {
  color: #000;
  font-weight: 600;
}


/* 반응형 */
@media (max-width: 600px) {
  .menu-line {
    gap: 15px;
    font-size: 14px;
  }
}

/* Pagination */
.page {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    gap: 4px;
    visibility: hidden;
    display: none;
}

.page p {
    margin: 0;
}

.page .pageNum {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
    gap: 4px;
}

.page .pageNum li {
    margin: 0;
}

.page a {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.page a:hover {
    background-color: #f2f2f2;
    color: #000;
}

.page a.pageOn {
    font-weight: 600;
    color: #fff;
    background-color: #000;
    border-color: #000;
    cursor: default;
}

.page .arrFirst a,
.page .arrPre a,
.page .arrNext a,
.page .arrEnd a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0 12px;
}

/* Table Styles */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  font-size: 1em;
  font-family: 'Pretendard', sans-serif;
  min-width: 400px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

table thead tr {
  background-color: #c93838;
  color: #ffffff;
  text-align: left;
  font-weight: bold;
}

table th,
table td {
  padding: 12px 15px;
  text-align: left;
}

table tbody tr {
  border-bottom: 1px solid #dddddd;
}

table tbody tr:nth-of-type(even) {
  background-color: #f8f8f8;
}

table tbody tr:last-of-type {
  border-bottom: 2px solid #c93838;
}