@charset "utf-8";

body {
  background: #1f1f1f !important;
  background-image: none !important;
}

.signature-hero { margin: 0; }

.signature-hero .hero-bg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(32vw, 500px);
  max-height: 500px;
  padding: 120px 24px 80px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.5) 100%),
    url("/img/sub/signature_01/sig_01.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.signature-hero .hero-bg-img { display: none !important; }

.signature-hero .hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.signature-hero .hero-title p,
.signature-hero .hero-title h3 { color: #f4efe2; }

.signature-hero .hero-title p { font-size: 40px; margin: 0; }
.signature-hero .hero-title h3 { font-size: 60px; margin: 0; }

/* layout */
#bo_gall,
#bo_v {
  width: 92% !important;
  max-width: 1200px;
  margin: 0 auto 0;
  padding-bottom: 60px;
}

.review-board--dark { color: rgba(255,255,255,0.82); }
.review-board-section { padding-top: 50px; }

/* hide gnuboard defaults */
#bo_btn_top, .bo_fx, #gall_allchk, .bo_sch_wrap,
#bo_v_top, #bo_v_bot, #bo_v_act, #bo_v_file,
#bo_v_link, .bo_v_nb, #bo_v_share, .gall_chk, .gall_option {
  display: none !important;
}

/* category */
#bo_cate { margin: 10px 0 24px; }
#bo_cate h2 { display: none; }
#bo_cate ul { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 0; }
#bo_cate li { padding: 0; list-style: none; }
#bo_cate .sound_only { display: none; width: 0; height: 0; overflow: hidden; position: absolute; }

#bo_cate a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 999px;
  color: rgba(255,255,255,0.7);
  background: #272727;
}

#bo_cate a:hover,
#bo_cate a#bo_cate_on {
  background: #ffffff;
  border-color: #ffffff;
  color: #111 !important;
  box-shadow: none;
}

/* ── Artner TV 카드 그리드 ── */
.atv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.atv-item { width: 100%; }

.atv-card {
  display: flex;
  flex-direction: column;
  background: #272727;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.atv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
  border-color: rgba(255,255,255,0.15);
}

/* 썸네일: 16:9 비율 */
.atv-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
  flex-shrink: 0;
}

.atv-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.atv-card:hover .atv-thumb img {
  transform: scale(1.03);
}

.atv-thumb-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
}

/* 재생 버튼 오버레이 */
.atv-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.atv-card:hover .atv-play-btn {
  opacity: 1;
}

/* 본문 영역 */
.atv-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
}

.atv-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.45;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.atv-desc {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 빈 목록 */
.atv-empty {
  padding: 60px 0;
  text-align: center;
  color: rgba(255,255,255,0.4);
  border: 1px dashed rgba(255,255,255,0.12);
  border-radius: 10px;
  background: #1a1a1a;
}

/* 페이지네이션 */
.pg_wrap {
  width: 92%;
  max-width: 1200px;
  margin: 30px auto 0;
  padding-bottom: 60px;
}

.atv-section-end {
  width: 92%;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.review-pagination { width: 100%; }

.review-pagination .pg {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.review-pagination .pg_page,
.review-pagination .pg_current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #272727;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
  box-sizing: border-box;
  text-decoration: none;
}

.review-pagination .pg_page:link,
.review-pagination .pg_page:visited,
.review-pagination .pg_page:active,
.review-pagination .pg_page:hover { color: rgba(255,255,255,0.8); }

.review-pagination .pg_page:hover {
  background: #333;
  border-color: rgba(255,255,255,0.35);
}

.review-pagination .pg_current {
  background: #ffffff;
  border-color: #ffffff;
  color: #111;
}

.review-pagination .sound_only,
.review-pagination .pg_start,
.review-pagination .pg_end { display: none !important; }

/* ── Artner TV View ── */
.board-event-view__back {
  max-width: 900px;
  margin: 0 auto 16px;
}

.board-event-view__back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  background: #272727;
  text-decoration: none;
}

.board-event-view__back a:hover {
  background: #333;
  color: #ffffff;
}

.atv-view-card {
  max-width: 900px;
  margin: 0 auto;
  background: #272727;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
}

.atv-view-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.atv-view-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.atv-view-body {
  padding: 24px 28px 28px;
}

.atv-view-title {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.4;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.atv-view-content {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

#bo_v {
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* 반응형 */
@media (max-width: 900px) {
  .atv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .atv-list { grid-template-columns: 1fr; }
  .atv-play-btn { opacity: 1; }

  #bo_gall, #bo_v, .pg_wrap {
    width: calc(100% - 32px) !important;
  }

  .signature-hero .hero-bg {
    min-height: min(56vw, 500px);
    padding: 104px 16px 56px;
  }
}
