/* 기본 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'IBM Plex Sans KR', sans-serif;
}

body {
  background-color: #ffffff;
  color: #333;
}
/* 
body.index-page {
  background: radial-gradient(circle 300px, #383e4f, #0b0f1a);
} */

a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

/* 컨테이너 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  background-color: #0b0f1a;
  padding: 0 20px;
}

header:not(.main-header) {
  border-bottom: 1px solid #eee;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 15px;
  font-size: 15px;
  font-weight: 500;
  color: #666;
}

.nav-links li.active {
  color: #7476d4;
  font-weight: bold;
  position: relative;
}

.nav-links li.active::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #7476d4;
}

.team-link {
  font-size: 14px;
  color: #666;
  border-left: 1px solid #666;
  padding-left: 15px;
}

/* 탭 메뉴 */
.tabs {
  display: flex;
  gap: 20px;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 20px;
}

.tabs span {
  color: #111;
}

.tabs span.inactive {
  color: #bbb;
}

/* ----------- 검색창 ----------- */
.search-container {
  margin-bottom: 30px;
}

.search-input {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  font-size: 15px;
  background-color: #fafafa;
}

/* ----------- 메인 레이아웃 ----------- */
.main-content {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
}

/* ----------- 사이드바 필터 ----------- */
.sidebar {
  width: 220px;
  flex-shrink: 0;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.filter-reset {
  font-size: 12px;
  color: #888;
  font-weight: normal;
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group h4 {
  font-size: 14px;
  color: #555;
  margin-bottom: 12px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.filter-item input[type='checkbox'] {
  width: 16px;
  height: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* ----------- 카드 리스트 영역 ----------- */
.content-area {
  flex-grow: 1;
}

.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.content-header h2 {
  font-size: 18px;
}

.content-header h2 span {
  color: #888;
  font-weight: normal;
}

.sort-select {
  padding: 6px 10px;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 13px;
}

footer {
  margin-top: 80px;
  padding: 40px;
  border-top: 1px solid #eee;
  text-align: center;
  color: #aaa;
  /* max-height: 100px; */
}

/* ===== 모바일 대응 ===== */
@media (max-width: 768px) {
  .main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .sidebar {
    width: 100%;
  }

  .content-area {
    width: 100%;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    gap: 10px;
    padding: 10px 15px;
  }

  .header-left {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links {
    width: 100%;
    justify-content: space-around;
    font-size: 14px;
  }

  .header-right {
    width: 100%;
    justify-content: flex-end;
  }

  .team-link {
    border: none;
    padding-left: 0;
  }
}
