.notice-title {
  margin-bottom: 64px;
}

@media (max-width: 797px) {
  .notice-title {
    margin-bottom: 32px;
  }
}

/* 검색 영역 */
.notice-search-input-wrapper {
  border-bottom: 2px solid var(--gray-500);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 10px 18px 10px;
  height: 68px;
}

.notice-search-input-wrapper.active {
  border-bottom: 2px solid var(--blue-500);
}

.notice-search-input-wrapper:hover {
  border-bottom: 2px solid var(--blue-500);
}

.notice-search-input {
  width: 100%;
  font-size: 18px;
  border: none;
  outline: none;
  color: var(--gray-700);
}

.notice-search-input::placeholder {
  color: var(--gray-500);
}

.notice-close-icon {
  display: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  padding: 4px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.notice-close-icon img {
  width: 24px;
  height: 24px;
}

.notice-close-icon:hover {
  background-color: var(--gray-100);
}

.notice-close-icon.active {
  display: flex;
}

/* chip 영역 */
.notice-chip-wrapper {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  overflow: auto;
}

/* 공지사항 리스트 영역 */
.notice-list-wrapper {
  margin-top: 56px;
  margin-bottom: 56px;
}

/* 공지사항 개수 */
.notice-count-wrapper {
  display: flex;
  align-items: center;
}

.count-total {
  color: var(--gray-700);
}

.notice-count {
  margin-right: 2px;
  margin-left: 5px;
  color: var(--black);
}

/* 공지사항 아이템 */
.notice-container {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 8px 20px 4px;
}

.notice-container:hover {
  background-color: var(--gray-000);
}

.notice-item {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  text-decoration: none;
}

.notice-link {
  text-decoration: none;
  display: flex;
  gap: 16px;
}

.notice-pin-wrapper {
  width: 28px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.notice-pin img {
  width: 100%;
  height: 100%;
}

.notice-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notice-item-title {
  color: var(--gray-700);
}

.notice-item-date {
  color: var(--gray-500);
}

/* pagination */
.notice-pagination {
  margin-top: 56px;
}

.notice-link { align-items: center; min-width: 0; }
.notice-info { min-width: 0; }
.notice-item-summary { color: var(--gray-600); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
