/* 39519 전용 하위 페이지 공통 표현. 다른 도서관 화면에는 적용하지 않는다. */
.c39519-subpage {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  color: #20251c;
  background: #fff;
}

.c39519-subpage *,
.c39519-subpage *::before,
.c39519-subpage *::after {
  box-sizing: border-box;
}

.c39519-subpage .renewal-main,
.c39519-subpage .renewal-guide,
.c39519-subpage .renewal-board,
.c39519-subpage .renewal-search {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 52px;
  padding-bottom: 72px;
  min-width: 0;
  max-width: 100%;
}

.c39519-subpage .renewal-directions-card,
.c39519-subpage .renewal-guide-list,
.c39519-subpage .renewal-guide-item,
.c39519-subpage .renewal-search-form,
.c39519-subpage .renewal-board-list {
  min-width: 0;
  max-width: 100%;
}

.c39519-subpage .renewal-guide-text,
.c39519-subpage .renewal-guide-webpage,
.c39519-subpage td,
.c39519-subpage th {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.c39519-subpage .renewal-guide-hero,
.c39519-subpage .renewal-page-title,
.c39519-subpage .renewal-board-title {
  border-radius: 30px;
  background: #f2f7e8;
  border: 1px solid #d9e7bf;
}

.c39519-subpage .renewal-guide-card,
.c39519-subpage .renewal-board-card,
.c39519-subpage .renewal-search-card,
.c39519-subpage .renewal-content-card {
  border: 1px solid #dce4d0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(45, 74, 16, .06);
}

.c39519-subpage input[type="text"],
.c39519-subpage input[type="password"],
.c39519-subpage input[type="email"],
.c39519-subpage input[type="number"],
.c39519-subpage select,
.c39519-subpage textarea {
  max-width: 100%;
  border-color: #cfd9c1;
  border-radius: 10px;
}

.c39519-subpage .btn,
.c39519-subpage .btn2,
.c39519-subpage .btn3,
.c39519-subpage input[type="button"],
.c39519-subpage input[type="submit"],
.c39519-subpage button[type="submit"] {
  border-radius: 10px;
}

.c39519-subpage table {
  max-width: 100%;
}

.c39519-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.c39519-subpage .c39519-result-pagination {
  position: static !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 24px 0 0 !important;
  box-sizing: border-box;
}

.c39519-recommend-page .c39519-result-pagination {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent none !important;
  box-shadow: none !important;
}

.c39519-recommend-page .c39519-result-pagination button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 36px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid #ccd7d4;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-sizing: border-box;
}

.c39519-recommend-page .c39519-result-pagination button.is-jump {
  width: auto;
  min-width: 68px;
  padding: 0 14px 2px;
  border-color: var(--inc-color-main, #20a474);
  background: var(--inc-color-main, #20a474);
  color: #fff;
}

.c39519-recommend-page .c39519-result-pagination button.is-current {
  border-color: var(--inc-color-main, #20a474);
  background: var(--inc-color-main, #20a474);
  color: #fff;
}

.c39519-recommend-page .c39519-result-pagination button:disabled {
  opacity: .45;
  cursor: default;
}

.c39519-recommend-page .c39519-result-pagination button:focus-visible {
  outline: 3px solid rgba(32, 164, 116, .22);
  outline-offset: 2px;
}

.c39519-subpage .renewal-footer,
.c39519-subpage #footer,
.c39519-subpage .footer {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .c39519-subpage .c39519-header {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 760px) {
  .c39519-subpage .renewal-main,
  .c39519-subpage main.renewal-main {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .c39519-subpage .renewal-main,
  .c39519-subpage .renewal-guide,
  .c39519-subpage .renewal-board,
  .c39519-subpage .renewal-search {
    padding-top: 30px;
    padding-bottom: 48px;
  }

  .c39519-subpage .renewal-sub-hero {
    width: 100%;
    max-width: 100%;
  }

  .c39519-subpage .renewal-directions-card,
  .c39519-subpage .renewal-guide-card {
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .c39519-subpage .renewal-guide-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .c39519-subpage .renewal-guide-item,
  .c39519-subpage .renewal-guide-text,
  .c39519-subpage .renewal-guide-webpage {
    width: 100%;
    min-width: 0;
    white-space: normal !important;
  }

  .c39519-subpage .renewal-guide-card,
  .c39519-subpage .renewal-board-card,
  .c39519-subpage .renewal-search-card,
  .c39519-subpage .renewal-content-card {
    border-radius: 18px;
  }
}
