@charset "UTF-8";
.notice-list-page {
  padding: 0 1.6rem;
}
.notice-list-page .sidebar__header {
  padding-bottom: 2rem;
}
.notice-list-page .page__container {
  justify-content: center;
}

.notice-list-page .button__hamburger svg {
  color: #2a2f38;
}

.notice-list-page .layout__section {
  flex-direction: column;
}

/* === 3. ACCORDION LIST === */

.notice-list-card {
  border-top: 1px solid #80858b;
  margin-bottom: 4rem;
}

.notice-list-card__item {
  border-bottom: 1px solid #dfe0e3;
}

/*.notice-list-card__item:last-child {*/
/*  border-bottom: none;*/
/*}*/

/* Accordion Header (Question Button) */
.notice-list-card__header {
  display: flex;
  gap: 4px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  width: 100%;
  padding: 1.6rem 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.notice-list-card__header .date {
  display: flex;
  color: #aaadb2;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.notice-list-card__header:hover .notice-list-card__question {
  text-decoration: underline;
}

.notice-list-card__question {
  flex: 1;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.025em;
  color: #2a2f38;
  padding-right: 1.6rem;
}

/* Accordion Panel (Answer) */

/* === 4. NO RESULTS STATE === */
.notice-no-results__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}
.notice-no-results {
  padding: 32px 1.6rem 52px;
  text-align: center;
  border-top: 1px solid #80858b;
  border-bottom: 1px solid #dfe0e3;
}

.notice-no-results__text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.4px;
  color: #696e77;
  margin: 0;
}

/* === 5. PAGINATION === */

.notice-pagination {
  margin: 0 auto;
}

.notice-pagination__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
/* === 6. UTILITY CLASSES === */
.notice-pagination {
  display: flex;
  justify-content: center;
  margin: 4rem 0 6rem;
  gap: 4px;
  align-items: center;
}
.notice-pagination .pagination__btn--active {
  background-color: #f0f2f5;
}
.notice-pagination button {
  color: #696e77;
  padding: 16px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.notice-pagination button:last-child,
.notice-pagination button:first-child {
  background-color: transparent;
  padding: 0;
}
.notice-pagination button:last-child {
  margin-left: 1.6rem;
}
.notice-pagination button:first-child {
  margin-right: 1.6rem;
}

/* Tablet: 768px - 1023px */
@media (min-width: 768px) {
  .notice-list-page {
    padding: 0;
  }
  .notice-list-card__question {
    font-size: 16px;
  }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .notice-list-card__header {
    padding: 2rem 0;
  }

  .notice-list-card__answer {
    /*padding: 24px 40px 24px 26px;*/
  }
}

/* Mobile touch feedback */
@media (max-width: 767px) {
  .notice-list-card__header .date {
    font-size: 12px;
  }
  .notice-no-results {
    margin: 0 1.6rem;
  }
  .notice-list-page {
    padding: 0;
  }
  .notice-list-card {
    margin: 0 1.6rem;
  }
  .notice-list-page .sidebar__header {
    padding-bottom: 2rem;
  }
}
