@charset "UTF-8";

.notice-archive,
.notice-single {
  padding-bottom: 72px;
  max-width: 920px;
  margin-inline: auto;
}

.notice-archive__search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.notice-archive__search input[type="search"] {
  flex: 1 1 240px;
  min-width: min(320px, 100%);
  padding: 10px 14px;
  border: 1px solid #d5cfc7;
  border-radius: 8px;
  font-size: 15px;
  font-family: "Pretendard Variable", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
  box-sizing: border-box;
}

.notice-archive__search-btn {
  appearance: none;
  border: 1px solid #4a433c;
  background: #4a433c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Pretendard Variable", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
}

.notice-archive__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.notice-archive__item {
  border-bottom: 1px solid #e8e4df;
}

.notice-archive__link {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.notice-archive__link:hover .notice-archive__title {
  color: #7a6e66;
}

.notice-archive__thumb {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f0ec;
}

.notice-archive__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.notice-archive__body {
  flex: 1;
  min-width: 0;
}

.notice-archive__date {
  margin: 0 0 4px;
  font-size: 13px;
  color: #9d958f;
}

.notice-archive__title {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  color: #2c2721;
  line-height: 1.35;
}

.notice-archive__excerpt {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: #6f665e;
}

.notice-archive__empty {
  text-align: center;
  padding: 48px 16px;
  color: #746b64;
}

.notice-archive .pagination {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.notice-archive .pagination .nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.notice-archive .pagination a,
.notice-archive .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 36px;
  border: 1px solid #d5cfc7;
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: #4a433c;
  box-sizing: border-box;
}

.notice-archive .pagination span.current {
  border-color: #7a6e66;
  background-color: #7a6e66;
  color: #fff;
}

.notice-single__header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e8e4df;
}

.notice-single__title {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #2c2721;
  line-height: 1.3;
}

.notice-single__meta {
  margin: 0;
  font-size: 14px;
  color: #9d958f;
}

.notice-single__thumb {
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f0ec;
}

.notice-single__thumb img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.notice-single__content {
  font-size: 16px;
  line-height: 1.65;
  color: #2c2721;
}

.notice-single__content > *:first-child {
  margin-top: 0;
}
