@charset "utf-8";

/* ══════════════════════════════
   검색 결과 페이지 스타일
   정복걸 다크 테마 통일
   ══════════════════════════════ */

#sch_result {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 12px 40px;
}

/* ── 검색 폼 ── */
#sch_res_detail {
  padding: 16px 20px;
  text-align: center;
  margin: 0 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 500px;
}

#sch_result { text-align: center; }
#sch_result > *:not(#sch_res_detail):not(form) { text-align: left; }

#sch_res_detail legend {
  position: absolute;
  font-size: 0;
  overflow: hidden;
}

#sch_res_detail .frm_input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  outline: none;
  padding: 0;
}

#sch_res_detail .frm_input::placeholder {
  color: rgba(255,255,255,.40);
}

#sch_res_detail .btn_submit {
  padding: 8px 20px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, rgba(255,61,154,1), rgba(109,91,255,1));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: filter .15s;
  white-space: nowrap;
}

#sch_res_detail .btn_submit:hover {
  filter: brightness(1.1);
}

/* ── 검색 결과 요약 ── */
#sch_res_ov {
  text-align: center;
  padding: 20px 0 10px;
}

#sch_res_ov h2 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
  font-weight: 900;
}

#sch_res_ov h2 strong {
  color: rgba(255,61,154,1);
}

.sch_stats {
  display: inline-flex;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

.sch_stats strong {
  color: #fff;
  font-weight: 700;
}

/* ── 게시판 탭 ── */
#sch_res_board {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0;
  margin: 8px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  list-style: none;
}

#sch_res_board h2 {
  position: absolute;
  font-size: 0;
  overflow: hidden;
}

#sch_res_board li {
  display: inline-block;
}

#sch_res_board a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 600;
  transition: all .15s;
}

#sch_res_board a:hover {
  border-color: rgba(255,61,154,.30);
  color: #fff;
  background: rgba(255,61,154,.06);
  text-decoration: none;
}

#sch_res_board .cnt_cmt {
  display: inline-block;
  background: rgba(255,61,154,.12);
  border: 1px solid rgba(255,61,154,.20);
  color: rgba(255,61,154,.90);
  border-radius: 999px;
  padding: 0 7px;
  height: 18px;
  line-height: 18px;
  font-size: 11px;
  font-weight: 800;
}

#sch_res_board .sch_on {
  background: linear-gradient(135deg, rgba(255,61,154,1), rgba(109,91,255,1));
  color: #fff;
  font-weight: 800;
  border-color: transparent;
}

#sch_res_board .sch_on:hover {
  background: linear-gradient(135deg, rgba(255,61,154,1), rgba(109,91,255,1));
  color: #fff;
}

/* ── 검색 결과 없음 ── */
.empty_list {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255,255,255,.50);
}

.empty_list p {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255,255,255,.70);
  margin-bottom: 6px;
}

.empty_list span {
  font-size: 13px;
  color: rgba(255,255,255,.40);
}

/* ── 결과 리스트 ── */
.sch_res_list {
  margin: 0 0 10px;
  padding: 0;
}

.sch_board_title {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  margin: 24px 0 12px;
  padding-left: 12px;
  border-left: 3px solid rgba(255,61,154,1);
}

.sch_board_title a {
  color: #fff;
  text-decoration: none;
}

.sch_board_title a:hover {
  color: rgba(255,61,154,1);
}

/* ── 썸네일 그리드 ── */
.sch_pick_list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: grid !important;
  gap: 14px !important;
}

@media (min-width: 769px) {
  .sch_pick_list { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (max-width: 768px) {
  .sch_pick_list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

.sch_pick_list > li.sch_li {
  display: block !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,.03) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: border-color .15s, transform .15s;
}

.sch_pick_list > li.sch_li:hover {
  border-color: rgba(255,61,154,.25) !important;
  transform: translateY(-2px);
}

/* 썸네일 */
.sch_pick_list > li.sch_li > a.sch_thumb {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  margin: 0 0 8px 0 !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.sch_pick_list > li.sch_li > a.sch_thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform .2s;
}

.sch_pick_list > li.sch_li:hover > a.sch_thumb img {
  transform: scale(1.04);
}

/* 제목 */
.sch_pick_list > li.sch_li > .sch_body {
  display: block !important;
  width: 100% !important;
}

.sch_pick_list > li.sch_li > .sch_body > .sch_tit {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sch_pick_list > li.sch_li > .sch_body > .sch_tit > a.sch_res_title {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
  word-break: break-word !important;
  line-height: 1.35 !important;
  margin: 0 !important;
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,.90);
  text-decoration: none;
}

.sch_pick_list > li.sch_li > .sch_body > .sch_tit > a.sch_res_title:hover {
  color: rgba(255,61,154,.95);
}

/* 체크박스 */
.sch_pick_list > li.sch_li > .sch_chk {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  z-index: 5 !important;
}

.sch_pick_list > li.sch_li > .sch_chk input {
  width: 18px;
  height: 18px;
  accent-color: rgba(255,61,154,1);
}

/* ── 더보기 ── */
.sch_more {
  text-align: right;
  margin: 10px 0 28px;
}

.sch_more a {
  color: rgba(255,61,154,.85);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color .15s;
}

.sch_more a:hover {
  color: rgba(255,61,154,1);
}

/* ── 관리자 액션 ── */
.sch_actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 10px 0 12px;
}

.sch_btns {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.sch_actions .sch_allchk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.70);
  font-weight: 700;
  font-size: 13px;
}

.sch_actions .sch_allchk input {
  width: 18px;
  height: 18px;
  accent-color: rgba(255,61,154,1);
}

.sch_actions input[type="submit"] {
  appearance: none;
  -webkit-appearance: none;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  transition: all .15s;
}

.sch_actions input[type="submit"]:hover {
  border-color: rgba(255,61,154,.30);
  background: rgba(255,61,154,.08);
}

/* ── 페이지네이션 ── */
#bo_page {
  max-width: 1200px;
  margin: 20px auto;
  text-align: center;
}

/* ── 반응형 ── */
@media (max-width: 768px) {
  #sch_res_detail {
    max-width: 100%;
    padding: 12px 16px;
  }
  .sch_actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .sch_pick_list > li.sch_li > .sch_chk {
    top: 14px !important;
    left: 14px !important;
  }
}
/* ── 결과 페이지 H1 (sch_res_ov h1) ── */
#sch_res_ov h1 {
  font-size: 20px;
  color: #fff;
  margin: 0 0 8px;
  font-weight: 900;
}

#sch_res_ov h1 strong {
  color: rgba(255,61,154,1);
}

/* ── 추천 카테고리 블록 (결과 없을 때) ── */
.sch_recommend {
  max-width: 1200px;
  margin: 30px auto 20px;
  padding: 24px 20px;
  border-radius: 20px;
  background:
    radial-gradient(620px 220px at 18% 0%, rgba(255,61,154,.10), transparent 62%),
    radial-gradient(620px 220px at 92% 12%, rgba(109,91,255,.08), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 58px rgba(0,0,0,.68);
  backdrop-filter: blur(14px) saturate(125%);
  -webkit-backdrop-filter: blur(14px) saturate(125%);
}

.sch_recommend h2 {
  font-size: 16px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  margin: 0 0 16px;
  text-align: center;
  letter-spacing: -0.01em;
}

.sch_recommend_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 768px) {
  .sch_recommend_grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sch_recommend { padding: 18px 14px; }
}

.sch_rec_item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  text-decoration: none;
  transition: all .2s;
  text-align: center;
}

.sch_rec_item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,61,154,.30);
  background: rgba(255,61,154,.06);
  text-decoration: none;
}

.sch_rec_item strong {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.sch_rec_item span {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  font-weight: 600;
}

/* ── 푸터 SEO 안내 ── */
.sch_footer_seo {
  max-width: 1200px;
  margin: 30px auto 10px;
  padding: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
}

.sch_footer_seo p {
  margin: 0 0 10px;
}

.sch_footer_seo p:last-child {
  margin: 0;
}

.sch_footer_seo strong {
  color: rgba(255,255,255,.80);
  font-weight: 700;
}

.sch_footer_seo a {
  color: rgba(255,61,154,.85);
  font-weight: 700;
  text-decoration: none;
}

.sch_footer_seo a:hover {
  color: rgba(255,61,154,1);
  text-decoration: underline;
}