@charset "utf-8";

/* ═══════════════════════════════════════════════════════════
   여행상품 전시 게시판 스킨 (tour board skin)
   - PC: 3열 그리드
   - 모바일: 2열 그리드
   - 참고: resortlife.co.kr
   ═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────
   카테고리 필터
   ───────────────────────────── */

#bo_cate {
  margin: 10px 0 15px;
}
#bo_cate h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_cate ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#bo_cate li {
  display: inline-block;
}
#bo_cate a {
  display: block;
  line-height: 16px;
  padding: 4px 12px;
  border-radius: 30px;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 12px;
  font-weight: 600;
  transition: all 0.25s ease;
}

#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {
  text-decoration: none;
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(68, 83, 106, 0.25);
}
#bo_cate #bo_cate_on {
  background: var(--primary-color);
  color: var(--white-color);
  font-weight: bold;
  border-color: var(--primary-color);
}

/* ─────────────────────────────
   상단 컨트롤 바
   ───────────────────────────── */
#bo_btn_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.6rem 0 2.4rem;
}
#bo_list_total {
  font-size: 1.4rem;
  color: #888;
  line-height: 34px;
}
#bo_list_total span {
  color: var(--primary-color);
  font-weight: 600;
}

/* 버튼 그룹 */
.btn_bo_user {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.btn_bo_user li {
  position: relative;
}
.btn_bo_user .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid var(--line-color);
  border-radius: 0.4rem;
  background: var(--white-color);
  color: #666;
  transition: all 0.2s ease;
}
.btn_bo_user .btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.btn_bo_user .btn svg {
  width: 1.6rem;
  height: 1.6rem;
}

/* 체크 공통 */
.selec_chk {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  opacity: 0;
  z-index: -1;
  overflow: hidden;
}
.chk_box {
  position: relative;
}
.chk_box input[type="checkbox"] + label {
  position: relative;
  color: #676e70;
  cursor: pointer;
}
.chk_box input[type="checkbox"] + label span {
  float: left;
  width: 18px;
  height: 18px;
  display: block;
  background: #fff;
  border: 1px solid #d0d4df;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.chk_box input[type="checkbox"]:checked + label span {
  background: url(./img/chk.png) no-repeat 50% 50% var(--primary-color);
  border-color: var(--primary-color);
}

#gall_allchk {
  margin-bottom: 2rem;
}

/* 더보기 옵션 */
.more_opt {
  display: none;
  position: absolute;
  top: 4.5rem;
  right: 0;
  background: #fff;
  border: 1px solid var(--line-color);
  border-radius: 0.6rem;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  min-width: 10rem;
  overflow: hidden;
}
.more_opt:before {
  content: "";
  position: absolute;
  top: -8px;
  right: 13px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 6px 8px 6px;
  border-color: transparent transparent var(--line-color) transparent;
}
.more_opt li {
  border-bottom: 1px solid #f5f5f5;
  padding: 0;
}
.more_opt li:last-child {
  border-bottom: 0;
}
.more_opt li button,
.more_opt li a {
  display: block;
  width: 100%;
  padding: 1rem 1.6rem;
  border: 0;
  background: #fff;
  color: #555;
  font-size: 1.4rem;
  text-align: left;
  transition: all 0.15s ease;
}
.more_opt li:hover button,
.more_opt li:hover a {
  background: var(--background-color);
  color: var(--primary-color);
}
.more_opt svg {
  width: 14px;
  height: 14px;
}

/* ═══════════════════════════════════════════════════════════
   여행상품 그리드 (핵심 레이아웃)
   PC: 3열 / 모바일: 2열
   ═══════════════════════════════════════════════════════════ */
.tour_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ─── 개별 카드 ─── */
.tour_item {
  position: relative;
}

.tour_card {
  position: relative;
  background: var(--white-color);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.35s ease;
}

.tour_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* 체크박스 (관리자) */
.tour_chk {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 3;
}

/* ─── 썸네일 ─── */
.tour_thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--background-color);
  border-radius: 12px;
}

.tour_thumb a {
  display: block;
  width: 100%;
  height: 100%;
}

.tour_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tour_card:hover .tour_thumb img {
  transform: scale(1.08);
}

/* 뱃지 */
.tour_badge {
  position: absolute;
  z-index: 2;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.tour_badge.notice {
  top: 0;
  right: 0;
  background: var(--tertiary-color);
  color: var(--white-color);
}

.tour_badge.category {
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white-color);
  backdrop-filter: blur(4px);
}

/* no image */
.no_image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f0f2f5, #e4e7eb);
  color: #bbb;
  gap: 0.8rem;
}
.no_image svg {
  width: 4rem;
  height: 4rem;
  stroke: #ccc;
}
.no_image em {
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── 상품 정보 ─── */
.tour_info {
  padding: 2rem 0 0.8rem;
}

.tour_title {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--body-color);
  line-height: 1.4;
  margin-bottom: 0.8rem;
  transition: color 0.2s ease;
  text-decoration: none;
}

.tour_title:hover {
  color: var(--point-color);
  text-decoration: none;
}

.tour_comment_cnt {
  display: inline-block;
  min-width: 2rem;
  height: 2rem;
  line-height: 2rem;
  padding: 0 0.6rem;
  margin-left: 0.6rem;
  background: var(--point-color);
  color: var(--white-color);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  border-radius: 10rem;
  vertical-align: middle;
}

.tour_excerpt {
  font-size: 1.4rem !important;
  line-height: 1.6;
  color: #888;
  opacity: 1 !important;
  margin: 0 0 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour_meta {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-color);
  font-size: 1.3rem;
  color: #aaa;
}

.tour_meta svg {
  width: 1.3rem;
  height: 1.3rem;
  vertical-align: -2px;
  margin-right: 0.3rem;
}

/* 빈 목록 */
.tour_empty {
  grid-column: 1 / -1;
  text-align: center;
}
.tour_empty .empty_wrap {
  padding: 10rem 0;
  color: #bbb;
}
.tour_empty .empty_wrap svg {
  width: 6rem;
  height: 6rem;
  stroke: #ddd;
  margin-bottom: 2rem;
}
.tour_empty .empty_wrap p {
  font-size: 1.6rem;
  opacity: 1;
  color: #aaa;
}

/* ─────────────────────────────
   하단 버튼
   ───────────────────────────── */
.bo_fx {
  display: flex;
  justify-content: flex-end;
  margin: 2rem 0;
  float: none;
}

/* ═══════════════════════════════════════════════════════════
   검색 오버레이
   ═══════════════════════════════════════════════════════════ */
.bo_sch_wrap {
  display: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
.bo_sch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  text-align: left;
  max-width: 560px;
  width: calc(100% - 3.2rem);
  border-radius: 1.2rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line-color);
  overflow: hidden;
}
.bo_sch h3 {
  padding: 2rem 2.4rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 1.6rem;
  font-weight: 700;
}
.bo_sch form {
  padding: 2.4rem;
}
.bo_sch select {
  width: 100%;
  height: 4.2rem;
  border: 1px solid var(--line-color);
  border-radius: 0.6rem;
  padding: 0 1.2rem;
  font-size: 1.4rem;
  appearance: auto;
}
.bo_sch .sch_bar {
  display: flex;
  width: 100%;
  margin-top: 1.2rem;
  border: 1px solid var(--line-color);
  border-radius: 0.6rem;
  overflow: hidden;
}
.bo_sch .sch_input {
  flex: 1;
  height: 4.2rem;
  border: 0;
  padding: 0 1.2rem;
  background: transparent;
  font-size: 1.4rem;
}
.bo_sch .sch_btn {
  width: 4.2rem;
  height: 4.2rem;
  background: none;
  border: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.bo_sch .sch_btn:hover {
  background: var(--background-color);
}
.bo_sch .bo_sch_cls {
  position: absolute;
  right: 0;
  top: 0;
  color: #aaa;
  border: 0;
  padding: 1.6rem 2rem;
  font-size: 1.6rem;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease;
}
.bo_sch .bo_sch_cls:hover {
  color: #333;
}
.bo_sch_bg {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

/* ═══════════════════════════════════════════════════════════
   페이지네이션
   ═══════════════════════════════════════════════════════════ */
.pg_wrap {
  clear: both;
  float: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 4rem;
}

.pg_current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #fff;
  font-weight: bold;
  min-width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.4rem;
  font-size: 1.4rem;
}

/* ═══════════════════════════════════════════════════════════
   상세보기 (view)
   ═══════════════════════════════════════════════════════════ */
#bo_v.tour_view {
  background: var(--white-color);
  margin-bottom: 4rem;
}

/* 상품 헤더 */
.tour_view_header {
  padding-bottom: 2.4rem;
  border-bottom: 1px solid var(--line-color);
  margin-bottom: 2.4rem;
}

.tour_view_cate {
  display: inline-block;
  padding: 0.5rem 1.6rem;
  background: var(--background-color);
  color: var(--point-color);
  border-radius: 0.4rem;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.tour_view_title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 1.6rem;
  color: var(--body-color);
  word-break: keep-all;
}

.tour_view_meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.tour_view_meta_left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: 1.4rem;
  color: #888;
}

.tour_view_meta_left > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.tour_view_meta_left svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: #aaa;
}

.tour_view_meta_left a {
  color: var(--point-color);
  text-decoration: none;
}

/* 본문 영역 */
.tour_view_content {
  min-height: 30rem;
}

.tour_view_gallery {
  margin: 3rem 0;
}

#bo_v_con {
  margin: 3rem 0 4rem;
  width: 100%;
  line-height: 1.8;
  min-height: 20rem;
  word-break: break-all;
  overflow: hidden;
  font-size: 1.6rem;
}
#bo_v_con img {
  max-width: 100%;
  height: auto;
}

/* 추천 비추천 */
#bo_v_act {
  margin: 3rem 0;
  text-align: center;
}
#bo_v_act .bo_v_good,
#bo_v_act .bo_v_nogood {
  display: inline-block;
  border: 1px solid var(--line-color);
  width: 8rem;
  line-height: 5rem;
  border-radius: 4rem;
  margin: 0 0.4rem;
  transition: all 0.2s ease;
}
#bo_v_act .bo_v_good:hover,
#bo_v_act .bo_v_nogood:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* 이전/다음글 */
.bo_v_nb {
  position: relative;
  margin: 3rem 0;
  clear: both;
  list-style: none;
  padding: 0;
}
.bo_v_nb li {
  border-top: 1px solid #f1f1f1;
  padding: 1.4rem 1.6rem;
  transition: background 0.15s ease;
}
.bo_v_nb li:last-child {
  border-bottom: 1px solid #f1f1f1;
}
.bo_v_nb li:hover {
  background: var(--background-color);
}
.bo_v_nb .nb_tit {
  display: inline-block;
  padding-right: 2rem;
  color: #b3b3b3;
  font-size: 1.3rem;
  min-width: 8rem;
}
.bo_v_nb .nb_date {
  float: right;
  color: #b3b3b3;
  font-size: 1.3rem;
}

/* 첨부파일 & 링크 */
#bo_v_file h2,
#bo_v_link h2 {
  position: absolute;
  font-size: 0;
  overflow: hidden;
}
#bo_v_file ul,
#bo_v_link ul {
  margin: 0;
  list-style: none;
  padding: 0;
}
#bo_v_file li,
#bo_v_link li {
  padding: 1.4rem 1.6rem;
  margin: 0.8rem 0;
  border: 1px solid var(--line-color);
  border-radius: 0.6rem;
  transition: border-color 0.2s ease;
}
#bo_v_file li:hover,
#bo_v_link li:hover {
  border-color: var(--point-color);
}
#bo_v_file a,
#bo_v_link a {
  display: block;
  text-decoration: none;
  color: var(--body-color);
}
.bo_v_file_cnt,
.bo_v_link_cnt {
  color: #aaa;
  font-size: 1.2rem;
}

/* 상단 버튼 영역 */
#bo_v_info {
  margin: 0;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid #f1f1f1;
}
#bo_v_info h2 {
  position: absolute;
  font-size: 0;
  overflow: hidden;
}

.bo_v_com {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
}
.bo_v_com > li {
  position: relative;
  margin-left: 0.5rem;
}

/* 이미지 갤러리 */
#bo_v_img {
  width: 100%;
  overflow: hidden;
}
#bo_v_img img {
  margin-bottom: 2rem;
  max-width: 100%;
  height: auto;
}

/* ═══════════════════════════════════════════════════════════
   글쓰기
   ═══════════════════════════════════════════════════════════ */
#bo_w .write_div {
  margin: 1.2rem 0;
  position: relative;
}
#bo_w .frm_input {
  border: 1px solid var(--line-color);
  border-radius: 0.4rem;
  padding: 1rem 1.4rem;
  font-size: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}
#bo_w .frm_input:focus {
  border-color: var(--primary-color);
  outline: none;
}
#bo_w .half_input {
  width: 49%;
}
#bo_w .full_input {
  width: 100%;
}
#bo_w .bo_w_select select {
  border: 1px solid var(--line-color);
  width: 100%;
  height: 4.4rem;
  border-radius: 0.4rem;
  padding: 0 1.4rem;
  font-size: 1.5rem;
}
#bo_w .bo_w_tit .frm_input {
  padding-right: 12rem;
}
#bo_w .bo_w_tit #btn_autosave {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  line-height: 3rem;
  height: 3rem;
  padding: 0 1.2rem;
  border: 1px solid var(--line-color);
  border-radius: 0.4rem;
  background: var(--background-color);
  font-size: 1.3rem;
  cursor: pointer;
}
#bo_w .bo_w_link label {
  position: absolute;
  top: 1px;
  left: 1px;
  height: 4.2rem;
  line-height: 4.2rem;
  width: 4rem;
  text-align: center;
  color: #b2b2b2;
}
#bo_w .bo_w_link .frm_input {
  padding-left: 5rem;
}
#bo_w .bo_w_flie .file_wr {
  position: relative;
  border: 1px solid var(--line-color);
  border-radius: 0.4rem;
  padding: 1.4rem;
  background: var(--white-color);
}
#bo_w .bo_w_flie .lb_icon {
  position: absolute;
  top: 1.4rem;
  left: 0;
  width: 4rem;
  text-align: center;
  color: #b2b2b2;
}
#bo_w .bo_w_flie .frm_file {
  padding-left: 5rem;
  margin-top: 0.4rem;
}
#bo_w .bo_w_flie .file_del {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  font-size: 1.3rem;
  color: #999;
}
#bo_w .bo_v_option {
  display: flex;
  gap: 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
#bo_w .bo_v_option li {
  display: inline-flex;
  align-items: center;
}
.write_div .chk_box input[type="checkbox"] + label {
  padding-left: 2.4rem;
}
.write_div .chk_box input[type="checkbox"] + label span {
  position: absolute;
  top: 2px;
  left: 0;
}

.btn_confirm {
  margin-top: 3rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   댓글 영역
   ═══════════════════════════════════════════════════════════ */
.cmt_btn {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
  font-weight: bold;
  margin: 3rem 0 0;
  padding: 0 0 1.4rem;
  cursor: pointer;
}
.cmt_btn span.total {
  position: relative;
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 1.4rem;
  color: var(--primary-color);
}
.cmt_btn span.total:after {
  position: absolute;
  bottom: -1.6rem;
  left: 0;
  display: inline-block;
  background: var(--primary-color);
  content: "";
  width: 100%;
  height: 2px;
}
.cmt_btn b {
  font-size: 1.5rem;
  color: #000;
}
.cmt_btn span.cmt_more {
  float: right;
  display: inline-block;
  width: 15px;
  height: 10px;
  background: url(./img/btn_cmt.png) no-repeat right 2px;
  margin-top: 5px;
}
.cmt_btn_op span.cmt_more {
  background-position: right -8px;
}

#bo_vc article {
  margin: 2rem 0;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 2rem;
}
#bo_vc .cm_wrap {
  float: left;
  max-width: 90%;
  width: 90%;
}
#bo_vc header {
  position: relative;
}
#bo_vc .member,
#bo_vc .guest,
#bo_vc .sv_member,
#bo_vc .sv_guest {
  font-weight: bold;
}
.bo_vc_hdinfo {
  color: #999;
  font-size: 1.3rem;
}
#bo_vc .cmt_contents {
  line-height: 1.8;
  padding: 1rem 0 2rem;
  font-size: 1.5rem;
}
#bo_vc_empty {
  padding: 6rem 0;
  color: #aaa;
  text-align: center;
  font-size: 1.5rem;
}

/* 댓글 쓰기 */
.bo_vc_w textarea {
  border: 1px solid var(--line-color);
  border-radius: 0.6rem;
  padding: 1.4rem;
  width: 100%;
  height: 12rem;
  font-size: 1.5rem;
  resize: vertical;
}
.bo_vc_w textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}
.bo_vc_w .bo_vc_w_info {
  margin: 1rem 0;
}
.bo_vc_w .btn_confirm {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.bo_vc_w .btn_submit,
.bo_vc_w #btn_submit {
  height: 4.4rem;
  padding: 0 2.4rem;
  border-radius: 0.4rem;
  font-weight: 700;
  font-size: 1.4rem;
  border: 0;
  background: var(--primary-color);
  color: var(--white-color);
  cursor: pointer;
  transition: background 0.2s ease;
}
.bo_vc_w .btn_submit:hover,
.bo_vc_w #btn_submit:hover {
  background: var(--point-color);
}

.secret_cm {
  display: inline-flex;
  align-items: center;
}

/* 댓글 옵션 */
.bo_vl_opt {
  position: absolute;
  top: 0;
  right: 0;
}
.bo_vc_act {
  display: none;
  position: absolute;
  right: 0;
  top: 3.6rem;
  width: 7rem;
  text-align: right;
  border: 1px solid var(--line-color);
  border-radius: 0.6rem;
  margin: 0;
  list-style: none;
  background: #fff;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.bo_vc_act li {
  border-bottom: 1px solid #f0f0f0;
}
.bo_vc_act li:last-child {
  border-bottom: 0;
}
.bo_vc_act li a {
  display: block;
  padding: 1rem 1.4rem;
  font-size: 1.3rem;
  color: #666;
  transition: all 0.15s ease;
}
.bo_vc_act li a:hover {
  background: var(--background-color);
  color: var(--primary-color);
}

/* 임시저장 */
#autosave_pop {
  display: none;
  z-index: 10;
  position: absolute;
  top: 4rem;
  right: 0;
  width: 35rem;
  max-height: 22rem;
  border: 1px solid var(--line-color);
  background: #fff;
  border-radius: 0.6rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
#autosave_pop strong {
  position: absolute;
  font-size: 0;
  overflow: hidden;
}
#autosave_pop ul {
  padding: 1.4rem;
  border-top: 1px solid #f0f0f0;
  list-style: none;
  overflow-y: auto;
  height: 13rem;
  border-bottom: 1px solid #f0f0f0;
}
#autosave_pop li {
  padding: 0.8rem;
  border-bottom: 1px solid #f5f5f5;
  background: var(--background-color);
  border-radius: 0.4rem;
  margin-bottom: 0.4rem;
}
.autosave_close {
  cursor: pointer;
  width: 100%;
  height: 3.6rem;
  background: none;
  border: 0;
  color: #888;
  font-size: 1.3rem;
}
.autosave_close:hover {
  color: var(--primary-color);
}

/* ═══════════════════════════════════════════════════════════
   반응형 - 태블릿 (768px 이하)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .tour_grid {
    grid-template-columns: 1fr;
    gap: 2rem 1.6rem;
  }

  .tour_title {
    font-size: 22px !important;
  }

  .tour_excerpt {
    display: -webkit-box !important;
    font-size: 13px !important;
    -webkit-line-clamp: 2 !important;
    opacity: 0.8 !important;
    margin-bottom: 8px !important;
  }

  .tour_meta {
    gap: 1rem;
    font-size: 1.2rem;
  }

  .tour_badge, .info_badge {
    font-size: 13px !important;
    padding: 4px 8px !important;
    line-height: 1 !important;
  }

  .info_badge svg, .info_badge i {
    width: 13px !important;
    height: 13px !important;
  }

  .tour_view_title {
    font-size: 2.4rem;
  }

  .tour_view_meta_left {
    gap: 1rem;
    font-size: 1.3rem;
  }

  #bo_v_con {
    font-size: 1.5rem;
  }

  #bo_cate ul {
    gap: 8px !important;
  }

  #bo_cate a {
    font-size: 13px !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    background: #f1f3f5 !important;
    border: 1px solid #e9ecef !important;
    color: #495057 !important;
  }
  
  #bo_cate #bo_cate_on {
    background: var(--primary-color) !important;
    color: #fff !important;
    border-color: var(--primary-color) !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   반응형 - 모바일 (460px 이하)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 460px) {
  .tour_grid {
    grid-template-columns: 1fr;
    gap: 1.6rem 1.2rem;
  }

  .tour_info {
    padding: 1.2rem 0 0.4rem;
  }

  .tour_title {
    font-size: 20px !important;
    margin-bottom: 0.4rem;
  }

  .tour_excerpt {
    display: -webkit-box !important;
    font-size: 12px !important;
    -webkit-line-clamp: 2 !important;
    opacity: 0.8 !important;
    margin-bottom: 8px !important;
  }

  .tour_meta {
    gap: 0.8rem;
    font-size: 1.1rem;
    padding-top: 0.8rem;
  }

  .tour_comment_cnt {
    display: none;
  }

  .tour_badge, .info_badge {
    font-size: 12px !important;
    padding: 4px 6px !important;
    line-height: 1 !important;
  }

  .info_badge svg, .info_badge i {
    width: 12px !important;
    height: 12px !important;
  }

  .tour_view_title {
    font-size: 2rem;
  }

  .tour_view_meta_left {
    gap: 0.6rem;
    font-size: 1.2rem;
  }

  #bo_btn_top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  #bo_cate ul {
    gap: 6px !important;
  }

  #bo_cate a {
    font-size: 12px !important;
    padding: 5px 10px !important;
    border-radius: 20px !important;
  }
}
