/* -----------------------
    히어로 섹션
------------------------ */
.hero {
  display: none;
}


/* -----------------------
    필터 및 검색 영역
------------------------ */

/* 필터 및 검색 래퍼 */
.filter-search-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
  padding: 16px 0 0;
}

.notice-select {
  position: relative;
  width: 105px;
  border: 1px solid #d9d9d9;
}

.notice-select-icon {
  width: 10px;
  height: 10px;
  border: 1px solid #c2c2c2;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-left: 8px;
}

.notice-select.open .notice-select-icon {
  transform: rotate(-135deg);
}

.notice-select.open .notice-select-menu {
  display: block;
}


/* 검색 */

.faq-search-bar {
  display: flex;
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 0;
}

.faq-select {
  position: relative;
  width: 105px;
  border-right: 1px solid #d9d9d9;
  background: #fff;
  flex-shrink: 0;
}

.notice-select-toggle,
.faq-select-toggle {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.notice-select-label,
.faq-select-label {
  color: #111;
  font-size: 12px;
}

.select-icon {
  width: 8px;
  height: 8px;
  border: 1px solid #999;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-left: 8px;
}

.faq-select.open .select-icon {
  transform: rotate(-135deg);
}

.notice-select-menu,
.faq-select-menu {
  position: absolute;
  top: 100%;
  left: -1px;
  width: calc(100% + 2px);
  background: #fff;
  border: 1px solid #d9d9d9;
  border-top: none;
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  z-index: 100;
}

.faq-select.open .faq-select-menu {
  display: block;
}

.notice-select-item,
.faq-select-item {
  padding: 12px 16px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.notice-select-item:hover,
.faq-select-item:hover {
  background: #f5f5f5;
}

.faq-search-input-wrap {
  position: relative;
  flex: 1;
  height: 42px;
}

.faq-search-input {
  width: 100%;
  height: 100%;
  padding: 0 40px 0 16px;
  border: none;
  font-size: 14px;
  outline: none;
}

.faq-search-input::placeholder {
  color: #999;
  font-size: 12px;
}

.faq-search-button {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.faq-search-button svg {
  width: 100%;
  height: 100%;
  display: block;
}


/* -----------------------
    게시판
------------------------ */
.notice-page {
}

/* -------- 게시판 리스트 -------- */
.notice-list-wrap {
  margin-top: 24px;
  border-top: 1px solid #e3e3e3;
  background: #ffffff;
}

.notice-list {
  width: 100%;
  border-collapse: collapse;
}

.notice-list thead {
  background: #fafafa;
}

.notice-list th,
.notice-list td {
  padding: 12px;
  font-size: 12px;
  border-bottom: 1px solid #eeeeee;
}

.notice-list th {
  text-align: left;
  color: #777;
  font-weight: 500;
}

.notice-list th.number  {
  width: 40px;
}

.notice-list th.category  {
  width: 90px;
}

.notice-list th.name,
.notice-list th.hit {
  width: 70px;
}
.notice-list th.date {
  width: 100px;
}

.notice-list td {
  vertical-align: middle;
}

.notice-list td.title {
  cursor: pointer;
}

.notice-list tr:hover td {
  background: #fcfcfc;
}

.notice-empty {
  padding: 40px 24px;
  text-align: center;
  color: #999;
  font-size: 14px;
}



/* -----------------------

    페이지네이션

------------------------ */
.pagination-wrap {
  padding: 24px 16px 40px;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #AFACAC;
}

.pagination button {
  background: transparent;
  border: none;
  color: #AFACAC;
  cursor: pointer;
  font-size: 15px;
}

.pagination button.icon {
  font-size: 24px;
}

.pagination button:disabled {
  opacity: 0.35;
  cursor: default;
}

.pagination-numbers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-number {
  min-width: 28px;
  height: 28px;
  border-radius: 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
}

/* 현재 페이지 */
.pagination-number.is-active {                                                                                                                                                                                                                                                                          
  color: #000000;
  font-weight: 600;
}



/* -----------------------
    데스크톱 레이아웃
    (768px 이상)
------------------------ */
@media (min-width: 769px) {
  /* 히어로 이미지 */
  .hero {
    display: block;
    position: relative;
    background-color: #fff;
    margin: 0 auto;
    height: 300px;
  }
  .hero img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* 필터 */
  .notice-list th,
  .notice-list td {
    padding: 14px 24px;
    font-size: 14px;
    border-bottom: 1px solid #eeeeee;
  }

  .notice-list th.date {
    width: 140px;
  }
  .notice-list th.category  {
    width: 110px;
  }
  .notice-list th.name,
  .notice-list th.hit {
    width: 90px;
  }

  /* 검색 */
  .filter-search-wrap {
    flex-direction: row;
    justify-content: space-between;
  }

  .faq-search-bar {
    width: 60%;
    min-width: 480px;
    max-width: 680px;
  }

  .faq-select {
    position: relative;
    width: 150px;
    border-right: 1px solid #d9d9d9;
    background: #fff;
    flex-shrink: 0;
  }

  .notice-select-toggle,
  .faq-select-toggle {
    height: 56px;
  }

  .faq-select-label {
    font-size: 14px;
  }

  .select-icon {
    width: 10px;
    height: 10px;
  }

  .faq-select.open .faq-select-menu {
    display: block;
  }

  .faq-select-item {
    font-size: 14px;
  }

  .faq-search-input-wrap {
    height: 56px;
  }

  .faq-search-input::placeholder {
    font-size: 14px;
  }

  .faq-search-button {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }
 
}