@charset "utf-8";

.list-category .div-tab.tabs { margin-bottom:0px; }

.list-board { margin-bottom:15px; }

/* Icon */
.list-board .wr-text { font-family:dotum; font-size:11px; letter-spacing:-1px; line-height:11px; font-weight:normal; }
.list-board .wr-icon { display:inline-block; padding:0px; margin:0px; overflow:hidden; vertical-align:middle; background-repeat: no-repeat; background-position: left top; }
.list-board .wr-notice { width:37px; height:19px; background-image: url('../../img/icon_notice.gif'); }
.list-board .wr-new { width:12px; height:12px; background-image: url('../../img/icon_new.gif'); }
.list-board .wr-secret { width:12px; height:12px; background-image: url('../../img/icon_secret.gif'); }
.list-board .wr-hot { width:12px; height:12px; background-image: url('../../img/icon_hot.gif'); }
.list-board .wr-video { width:12px; height:12px; background-image: url('../../img/icon_video.gif'); }
.list-board .wr-image { width:12px; height:12px; background-image: url('../../img/icon_image.gif'); }
.list-board .wr-file { width:12px; height:12px; background-image: url('../../img/icon_file.gif'); }
.list-board .wr-vicon { position:absolute; left:4px; bottom:3px; color: rgba(255,255,255,1); font-size:16px; z-index:1; }

/* Width */
.list-board .wr-chk { width:40px; }
.list-board .wr-num { width:60px; }
.list-board .wr-thumb { width:60px; }
.list-board .wr-category { width:80px; }
.list-board .wr-name { width:120px; }
.list-board .wr-date { width:90px; }
.list-board .wr-hit { width:60px; }
.list-board .wr-down { width:50px; }
.list-board .wr-visit { width:50px; }
.list-board .wr-good { width:50px; }
.list-board .wr-nogood { width:50px; }
.list-board .wr-none { padding:50px 0px; text-align:center; color:#888; }
.list-board .wr-comment { margin:0px 10px; }
.list-board .wr-hidden { display:none; }

/* List */
.list-board .list-body { list-style:none; padding:0px; margin:0px; }
.list-board .list-body li { border-bottom:1px solid #202932; display:table; width:100%; table-layout:fixed; }
.list-board .list-body li:hover { color:#fff; background-color:#842f8d; }
.list-board .list-body li > div { display:table-cell; height:34px; line-height:22px; padding:6px 0px; text-align:center; color:#666; vertical-align:middle; }
.list-board .list-body .wr-subject { padding-left:10px; text-align:left; }
.list-board .list-body .wr-subject .item-subject { display:block; word-break:break-all; }
.list-board .list-body .wr-name { text-align:left; padding-left:10px; font-weight:bold; }
.list-board .list-body .wr-name a { display:block; text-overflow:ellipsis; white-space:nowrap; word-wrap:normal; overflow:hidden;  }
.list-board .list-body .thumb-img { position:relative; width:46px; height:46px; margin:0px auto; }
.list-board .list-body .thumb-icon { position:relative; width:46px; height:46px; display:table; margin:0px auto; }
.list-board .list-body .thumb-icon a { display:table-cell; width:1%; background:#eee; color:#fff; vertical-align:middle; font-size:30px; }
.list-board .list-body .thumb-icon img { width:46px; height:46px; margin:0px auto; }

@media all and (max-width:768px) {
	.responsive .list-board .wr-hidden { display:inline-block !important; }
	.responsive .list-board .item-subject { text-overflow:ellipsis; white-space:nowrap; word-wrap:normal; overflow:hidden; }
	.responsive .list-board .item-details { margin-right:-15px }
	.responsive .list-board .item-details > span { margin-right:15px; font-weight:normal; }
	.responsive .list-board .item-details > span:last-child { margin-right:0px; }
}

.list-page {
  margin: 34px 0 10px;
}
/* =================================================
   Smooth Capsule Pagination – Dark Purple UI
   Color: #490d6d
================================================= */

.list-page {
  margin: 36px 0 14px;
}
/* =================================================
   Capsule Bar Pagination (양옆 안 잘리게)
================================================= */

.list-page {
  margin: 38px 0 16px;
}

/* 🔥 바(부모) 자체를 캡슐로 */
.list-page .pagination {
  display: inline-flex;
  align-items: center;
  padding: 8px;
  gap: 6px;

  background: rgba(0,0,0,0.45);
  border-radius: 999px;        /* 🔥 여기서 해결 */
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 18px 40px rgba(0,0,0,0.65);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* 버튼 */
.list-page .pagination > li > a {
  min-width: 38px;
  height: 38px;
  line-height: 38px;
  padding: 0 14px;

  border-radius: 999px;
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 0;

  font-weight: 600;
  transition: all .18s ease;
}

/* hover */
.list-page .pagination > li > a:hover {
  background: rgba(73,13,109,0.45);
  color: #fff;
}

/* 현재 페이지 */
.list-page .pagination > .active > a {
  background: linear-gradient(
    135deg,
    #5f1b88,
    #490d6d
  ) !important;
  color: #fff !important;
  font-weight: 800;

  box-shadow:
    0 8px 22px rgba(73,13,109,0.6),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

/* 비활성 */
.list-page .pagination > .disabled > a {
  opacity: .35;
  pointer-events: none;
}

/* 모바일 */
/* ===============================
   모바일 전용 (강제 적용)
================================ */
@media (max-width: 767px) {

  .list-page ul.pagination {
    padding: 6px !important;
    gap: 6px !important;
    border-radius: 999px !important;
  }

  .list-page ul.pagination > li > a {
    min-width: 34px !important;
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 12px !important;

    border-radius: 999px !important;
    font-size: 13px !important;
  }

  .list-page ul.pagination > .active > a {
    box-shadow:
      0 8px 20px rgba(73,13,109,0.6),
      inset 0 1px 0 rgba(255,255,255,0.25) !important;
  }
}
/* ==========================================
   📱 모바일 전용 – 강제 캡슐 페이징
   (apms / bootstrap 완전 무력화)
========================================== */

body.is-mobile .list-page ul.pagination {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 6px !important;
  gap: 6px !important;

  background: rgba(0,0,0,0.45) !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,0.08) !important;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.06),
    0 14px 32px rgba(0,0,0,0.6) !important;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.is-mobile .list-page ul.pagination > li {
  float: none !important;
}

body.is-mobile .list-page ul.pagination > li > a {
  min-width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  padding: 0 12px !important;

  border-radius: 999px !important;
  background: transparent !important;
  color: rgba(255,255,255,0.75) !important;

  font-size: 13px !important;
  font-weight: 600 !important;
}

/* 현재 페이지 */
body.is-mobile .list-page ul.pagination > .active > a {
  background: linear-gradient(
    135deg,
    #5f1b88,
    #490d6d
  ) !important;

  color: #fff !important;
  font-weight: 800 !important;

  box-shadow:
    0 8px 22px rgba(73,13,109,0.6),
    inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

/* 비활성 */
body.is-mobile .list-page ul.pagination > .disabled > a {
  opacity: .3 !important;
  pointer-events: none !important;
}

