/* PC와 모바일 분기 */
.pc-only { display: block; }
.mobile-only { display: none; }
/* 슬라이드 좌우 화살표 색상 지정*/
.wrap_m0604 .event-slider .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;       /* 원형 */
  background-color: #F69832; /* ✅ 주황색 */
  color: #fff;              /* 아이콘 흰색 */
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 좌우 각각 위치 */
.wrap_m0604 .event-slider .slick-prev {
  left: -20px;
}
.wrap_m0604 .event-slider .slick-next {
  right: -20px;
}

/* 화살표 아이콘 (FontAwesome 기준) */
.wrap_m0604 .event-slider .slick-prev::before {
  content: '\f104'; /* ← 아이콘 */
  font-family: FontAwesome;
  color: #fff;
  font-size: 20px;
}
.wrap_m0604 .event-slider .slick-next::before {
  content: '\f105'; /* → 아이콘 */
  font-family: FontAwesome;
  color: #fff;
  font-size: 20px;
}
.wrap_m0604 #banner_area{padding:0 0}
.wrap_m0604 #banner_area .banner_text{background:none !important}
.wrap_m0604 #banner_area .slide:before{ content:''; position:absolute; z-index:1; width:100%; height:100%; background: linear-gradient(180deg, transparent, #000); left:0; bottom:0}
/* 슬라이드 좌우 화살표 색상 지정*/


/* 기본 카테고리 래퍼 */
.category-wrap {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    padding: 0 0;
    box-sizing: border-box;
}

.category-card {
    flex: 1 1 calc(20% - 16px); /* PC: 5개 */
    background-color: #f5f5f5;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
}

.category-card:hover {
    background-color: #e6f0ff;
    color: #F69832;
    transform: translateY(-3px);
}

.category-card.active {
    background-color: #F69832;
    color: #fff;
}


.category-card.active .title {
    color: #fff;
}



/* 반응형 처리 */
@media (max-width: 1199px) {
    .category-card {
        flex: 1 1 calc(33.333% - 16px); /* 태블릿: 3개 */
    }
}

@media (min-width:1025px) and (max-width: 1199px) {
    .category-card {
       max-width:calc(33.333% - 16px);
    }	
	}
@media (max-width: 768px) {
    .category-card {
        flex: 1 1 calc(50% - 10px); /* 모바일: 2개 */
        font-size: 15px;
        padding: 25px 15px;
    }
}
@media (max-width: 480px) {
    .category-card {
        flex: 1 1 100%; /* 좁은 모바일: 1개 */
        padding: 20px 12px;
        font-size: 14px;
    }
}

/* 레이어 관련 */
.category-layer {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.category-layer.active {
    display: flex;
}

.layer-inner {
    background: #fff;
    width: 100%;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 30px;
    position: relative;
    box-sizing: border-box;
}

.layer-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.layer-category-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.layer-category-group {
    flex: 1 1 calc(25% - 20px); /* PC: 4개 */
    min-width: 200px;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 10px;
    background: #fdfdfd;
    box-sizing: border-box;
}

/* 태블릿 대응 */
@media (max-width: 1024px) {
    .layer-category-group {
        flex: 1 1 calc(50% - 20px); /* 태블릿: 2개 */
    }
}

/* 모바일 대응 */
@media (max-width: 640px) {
    .layer-inner {
        padding: 20px;
    }

    .layer-category-group {
        flex: 1 1 100%; /* 모바일: 1개 */
    }

    .layer-child-wrap {
        justify-content: flex-start;
    }
}

.layer-parent {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 8px;
}

.layer-child-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.layer-child {
    background: #f3f3f3;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
}


/* 반응형: 태블릿 */
@media (max-width: 1024px) {
    .layer-category-group {
        flex: 1 1 calc(50% - 20px); /* 2개씩 */
    }
}

/* 반응형: 모바일 */
@media (max-width: 640px) {
    .layer-inner {
        padding: 20px;
    }

    .layer-category-group {
        flex: 1 1 100%; /* 한 줄에 하나 */
    }

    .layer-child-wrap {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .layer-category-group {
        flex: 1 1 100%; /* 모바일에서는 세로로 */
    }
}


@media (max-width: 1024px) {
    .category-card {
        flex: 1 1 calc(50% - 10px); /* 태블릿: 2개 */
    }
}

@media (max-width: 600px) {
    .category-card {
        flex: 1 1 100%; /* 모바일: 1개 */
    }
}


.category-slider .swiper-slide a {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 20px;
	background: #f1f1f1;
	color: #333;
	font-size: 14px;
	white-space: nowrap;
	margin-right: 10px;
}

 
.swiper-free-mode > .swiper-wrapper {
  transition-timing-function: ease-out;
  margin: 0 auto;
  height: 50px; /* 모바일 슬라이드 높이 통일 */
}

@media (max-width: 768px) {
  .pc-only { display: none; }
  .mobile-only { display: block; }
}

.mobile-only.category-slider {
  border-top: 1px solid #ddd;
  margin-top: 10px; /* 아래 여백도 필요하면 */
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px; /* 아래 여백도 필요하면 */
}

.category-slider .swiper-slide {
  width: auto !important;
  height: auto;
  display: flex;
  align-items: center;
}

.category-slider .swiper-slide a {
  height: 34px;
  line-height: 34px;
  padding: 0 14px;
  font-size: 13px;
}

.category-slider .swiper-slide a {
  display: block;
  padding: 6px 12px;
  margin: 0 5px;
  background: #f1f1f1;
  border-radius: 20px;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  white-space: nowrap;
  border: 1px solid #ddd;
  height: 34px;
  box-sizing: border-box;
  text-align: center;
  vertical-align: middle;
}



/*지역별 추천*/
 /* ▣ 상단 타이틀 영역 정렬 */
.title_cont.title_position {
  max-width: 1440px;
  margin: 0 auto 15px;
  padding: 0 20px;
}

/* ▣ 지역명 + 화살표 (ex. 부산 ← →) 한 줄 정렬 */
.region-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}

.region-label h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #222;
}

.nav-buttons {
  display: flex;
  gap: 4px;
}

.nav-buttons button {
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease-in-out;
}
.nav-buttons button:hover {
  background: #e0e0e0;
}
.nav-buttons button i {
  font-size: 15px;
  color: #333;
}

/* ▣ 슬라이더 전체 컨테이너 */
.region-slider-wrap {
  max-width: 1440px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

/* ▣ 슬라이더 본체 */
.event-slider {
  width: 100%;
}

.slider-item {
  padding: 0 10px;
  box-sizing: border-box;
}

/* ▣ 카드 스타일 */
.card {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s;
}
.card:hover {
  transform: translateY(-3px);
}

.slider-item {
  margin-bottom: 10px;
}

/* ▣ 카드 썸네일 */
.card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 360 / 220;
  overflow: hidden;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ▣ 좋아요 버튼 */
.card-thumb .btn-like {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ▣ 카드 내부 텍스트 */
.card-info {
  padding: 15px;
  flex: 1;
}
.tour-title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}
.creator-info {
  font-size: 13px;
  color: #555;
}
.creator-info span {
  display: block;
  margin-bottom: 4px;
}
.creator-info i {
  margin-right: 5px;
  color: #999;
}
.card .tour-tags {
  height: auto !important;
  margin-top: 8px;
  font-size: 13px;
  color: #555;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end; /* ✅ 오른쪽 정렬 핵심 */
  margin-right: 5px;          /* ✅ 오른쪽 여백 */
  margin-bottom: 12px;        /* ✅ 카드 하단과의 거리 확보 */
}

.tour-tags span {
  background-color: #f0f0f0;
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 12px;
  color: #333;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .tour-tags span {
    font-size: 11px;
    padding: 3px 6px;
  }
}


/* ▣ 이미지 없을 경우 blank 처리 */
.blank {
  background: #eee url('/img/logo-black.png') center center no-repeat;
  background-size: 60%;
  width: 100%;
  height: 100%;
}


/* 전체 섹션 공통 정렬 */
.title_cont.title_position {
  max-width: 1250px;
  margin: 0 auto 15px;
  padding: 0 0;
}

/* 제목 옆 버튼 */
.region-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.region-label h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #222;
}
.nav-buttons {
  display: flex;
  gap: 4px;
}
.nav-buttons button {
  background: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease-in-out;
}
.nav-buttons button:hover {
  background: #e0e0e0;
}
.nav-buttons button i {
  font-size: 15px;
  color: #333;
}

/* 슬라이더 wrap */
.slider-section {
  max-width: 1250px;
  margin: 0 auto 60px;
  padding: 0 0;
}

/* 슬라이더 본체 */
.event-slider { width: 100%; }
.slider-item { box-sizing: border-box; }

.card {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-3px); }

.card-thumb {
  position: relative;
  aspect-ratio: 360 / 220;
  overflow: hidden;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.btn-like {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-info {
  padding: 15px;
  flex: 1;
}
.tour-title {
  font-size: 16px;
  font-weight: bold;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
}
.creator-info {
  font-size: 13px;
  color: #555;

}
.creator-info span {
  display: block;
  margin-bottom: 4px;
}
.creator-info i {
  margin-right: 5px;
  color: #999;
 
}

/*지역별 카테고리*/
.area_category-wrap {
    width: 100%;
    max-width: 1340px;
    margin: 0 auto 40px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    padding: 0 10px;
    box-sizing: border-box;
}

.area_category-card {
    flex: 1 1 calc(16.66% - 15px); /* PC: 6개 */
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 20px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
    cursor: pointer;
    box-sizing: border-box;
}

.area_category-card:hover {
    background-color: #e6f0ff;
    color: #2059cf;
    transform: translateY(-2px);
}
.wrap_m0604 .banner3{max-width:1440px}

/* ✅ 반응형 처리 */
@media (max-width: 1199px) {
    .area_category-card {
        flex: 1 1 calc(20% - 15px); /* 태블릿 큰 화면: 5개 */
    }
}
@media (max-width: 1024px) {
    .area_category-card {
        flex: 1 1 calc(25% - 15px); /* 태블릿 중간 화면: 4개 */
    }
}

@media (max-width: 768px) {
    .area_category-card {
        flex: 1 1 calc(33.33% - 10px); /* 모바일 가로: 3개 */
        font-size: 13px;
        padding: 15px 10px;
    }
	
}

@media (max-width: 540px) {
    .area_category-card {
        flex: 1 1 calc(50% - 10px); /* 모바일 작은 화면: 2개 */
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .area_category-card {
          flex: 1 1 calc(50% - 10px); /* 모바일 작은 화면: 2개 */
        font-size: 12px;
    }
}

/* 전체 카테고리 레이어 기본 숨김 */
.area_category-layer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 15px; /* 패딩 축소 */
    box-sizing: border-box;
}

/* 보이게 */
.area_category-layer.active {
    display: flex;
}

/* 내부 컨테이너 */
.area_layer-inner {
    background: #fff;
    width: 100%;
    max-width: 1000px; /* 너비 축소 */
    max-height: 80vh; /* 높이 조정 */
    overflow-y: auto;
    border-radius: 10px; /* 크기 축소 */
    padding: 20px; /* 패딩 축소 */
    position: relative;
    box-sizing: border-box;
}

/* 닫기 버튼 */
.area_layer-close {
    position: absolute;
    top: 10px; /* 위치 조정 */
    right: 15px; /* 위치 조정 */
    font-size: 24px; /* 크기 축소 */
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

/* 카테고리 그룹 영역 */
.area_layer-category-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* 간격 축소 */
    margin-top: 20px; /* 마진 축소 */
}

/* 각 1차 카테고리 카드 */
.area_layer-category-group {
    flex: 1 1 calc(20% - 12px); /* 5개씩으로 조정, 간격 고려 */
    min-width: 150px; /* 최소 너비 축소 */
    border: 1px solid #e0e0e0;
    padding: 10px; /* 패딩 축소 */
    border-radius: 8px; /* 크기 축소 */
    background: #fdfdfd;
    box-sizing: border-box;
}

/* 1차 제목 */
.area_layer-parent {
    font-size: 14px; /* 글자 크기 축소 */
    font-weight: bold;
    margin-bottom: 8px; /* 마진 축소 */
    text-align: center;
    background-color: #f1f1f1;
    padding: 8px; /* 패딩 축소 */
    border-radius: 6px; /* 크기 축소 */
}

/* 2차 목록 */
.area_layer-child-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px; /* 간격 축소 */
    justify-content: center;
}

.area_layer-child {
    background: #f3f3f3;
    padding: 4px 8px; /* 패딩 축소 */
    border-radius: 4px; /* 크기 축소 */
    font-size: 12px; /* 글자 크기 축소 */
    cursor: pointer;
    white-space: nowrap;
}

.area_category-card.active {
    background-color: #F69832;
    color: #fff;
}

.area_category-card.active .title {
    color: #fff;
}

 .region-label {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.region-btn {
  padding: 8px 16px;
  border: 1px solid #ddd;
  background-color: #fff;
  border-radius: 20px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.region-btn:hover {
  background-color: #f1f1f1;
  border-color: #aaa;
}

.region-btn.active {
  background-color: #2059cf;
  color: #fff;
  border-color: #2059cf;
}

/*첫화면 배너 이미지*/
/* 공통 배너 이미지 스타일 */
.banner-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* PC용만 보이게 */
.banner_pc-only {
    display: block;
}
.banner_mobile-only {
    display: none;
}
/*
@media(max-width:1799px){
.category-wrap, .title_cont.title_position, .slider-section, #sect04-slider, .wrap_m0604 .banner3{max-width:1200px}
}*/

.wrap_m0604 .wrap_search{height:225px; background:none !important;align-content:flex-end }
.wrap_m0604 .search{border:1px solid #ff8900 !important}
.wrap_m0604 .wrap_search h2{ margin:0 0 15px 0; text-shadow:none; color:#333; line-height:1.2}

.wrap_m0604 .event-slider{
width:1270px;
transform:translate(-10px, 0)}
.wrap_m0604 .slick-slide
{padding: 0 0}

@media(min-width:1441px) and (max-width:1500px){
.wrap_m0604 .event-slider{width:calc(100% + 20px)}	
.wrap_m0604 .event-slider .slick-next{ right:0}	
.wrap_m0604 .event-slider .slick-prev{ left:0}	
	}
@media(max-width:1440px){
.slider-section, .wrap_m0604 .slick-slide{padding:0 0}
.category-wrap, .title_cont.title_position, .slider-section, #sect04-slider{max-width:1250px; padding:0 0}
#banner_area{width:100% !important; max-width:1250px}
.wrap_m0604 .event-slider{width:calc(100% + 20px)}	
	
	}
@media(max-width: 1300px){
.category-wrap, .title_cont.title_position, .slider-section, #sect04-slider{max-width:100%; padding:0 50px}

#banner_area{width:calc(100% - 100px) !important}
}
@media(max-width: 1024px){.wrap_m0604 .wrap_search{
align-content:center
}}
	
@media (max-width: 768px) {
    .banner_pc-only {
        display: none;
    }
    .banner_mobile-only {
        display: block;
    }
.category-wrap, .title_cont.title_position, .slider-section, #sect04-slider{padding:0 20px}
#banner_area{width:calc(100% - 40px) !important}
.wrap_m0604 .title_cont h2{font-size:18px !important}
.wrap_m0604 .slick-list {width:140%}
}
@media (max-width: 540px) {.wrap_m0604 .banner3{ margin:20px 20px 20px 20px}
.wrap_m0604 .wrap_search{height:auto}
}