/* ==============================================================
   Promotion Board Skin — pagination override
   (promo-*, notice-search-*, notice-pagination-* are in layout.css)
   ============================================================== */

.promo-empty {
  padding: 80px 0;
  text-align: center;
  color: #898989;
  font-size: 16px;
}

.promo-detail-files {
  padding: 20px 40px;
  border-bottom: 1px solid #eee;
}

/* disabled nav buttons */
.ui-board-nav-btn.disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* ---------------------------------------------------------------
   Pagination — framework produces .adm-pagination/.adm-pagebtn HTML
   --------------------------------------------------------------- */

.notice-pagination .adm-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.notice-pagination a.adm-pagebtn {
  position: relative;
  color: #868686;
  font-family: "Wanted Sans", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  padding: 4px 2px;
  transition: color 0.2s ease;
}

.notice-pagination a.adm-pagebtn:hover {
  color: #000;
}

.notice-pagination .adm-pagebtn.is-active {
  position: relative;
  color: #000;
  font-family: "Wanted Sans", sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 4px 2px;
}

.notice-pagination .adm-pagebtn.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: #000;
  border-radius: 2px;
}

.notice-pagination .adm-pagebtn--prev {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 20px;
  background: url('/images/layout/page-arrow-left.svg') no-repeat center / contain;
  font-size: 0;
  color: transparent;
}

.notice-pagination .adm-pagebtn--prev a {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 0;
  color: transparent;
}

.notice-pagination .adm-pagebtn--next {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-left: 20px;
  background: url('/images/layout/page-arrow-right.svg') no-repeat center / contain;
  font-size: 0;
  color: transparent;
}

.notice-pagination .adm-pagebtn--next a {
  display: block;
  width: 100%;
  height: 100%;
  font-size: 0;
  color: transparent;
}

.notice-pagination .adm-pagination > span.adm-pagebtn:not(.adm-pagebtn--prev):not(.adm-pagebtn--next):not(.is-active) {
  display: none;
}

@media (max-width: 768px) {
  .notice-pagination .adm-pagination {
    gap: 12px;
    flex-wrap: wrap;
  }

  .notice-pagination .adm-pagebtn--prev {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }

  .notice-pagination .adm-pagebtn--next {
    width: 24px;
    height: 24px;
    margin-left: 8px;
  }

  .promo-detail-files {
    padding: 16px 0;
  }
}
