@charset "utf-8";

/* ============================================================
   TRAVART · 서브페이지 공통 CSS
   ------------------------------------------------------------
   - 로드 순서: _core → layout-common.css → sub-common.css → {섹션}.css
   - 메인페이지(main.css)와 완전히 분리된 파일이라 :root 토큰을
     여기서 동일하게 재선언함 (main.css 값과 반드시 동일하게 유지)
   - 헤더 / 모바일메뉴 / 언어선택 / 푸터는 layout-common.css로 이관됨
     (2026-07 정리, 홈/서브 값 100% 일치 확인)
   - 섹션 고유 스타일(리스트/상세 레이아웃 등)은 각 섹션 css에서.
   ============================================================ */

/* ----- 페이지 전용 토큰 (main.css 와 동일 값 유지) ----- */
:root {
    --brand:        #5b6ef0;   /* 브랜드 컬러 (로고 라벨·뱃지·배너·포인트) */
    --brand-2:      #7b86f4;   /* 배너 그라데이션 보조(이미지 미사용 시 폴백) */
    --brand-3:      #285999;   /* 브랜드 컬러 (뱃지·GNB 언더라인 포인트) */
    --medical-bg:   #d9edfb;   /* 의료관광 하늘색 띠 */

    --t-text:       #1a1a1a;
    --t-sub:        #888;
    --t-meta:       #9a9a9a;
    --t-line:       #ececec;

    --radius:       14px;
    --radius-sm:    10px;
    --header-h:     90px;
}

body { letter-spacing: -0.01em; }

/* wrap 1240 (_core .container 1200 대체) */
.container { max-width: 1240px; margin: 0 auto; padding: 0; }
@media (max-width: 1272px) { .container { padding: 0 16px; } }

/* 이미지 플레이스홀더 폴백 (이미지 누락 시 회색 박스) */
[class$="__img"],
[class$="__bg"] {
    background-color: #e9e9ec;
    background-image: linear-gradient(135deg, #ededf0 0%, #e2e2e7 100%);
    background-size: cover;
    background-position: center;
}

/* ============================================================
   2. SUB VISUAL (서브페이지 상단 배너 + 브레드크럼)
   메인 히어로 대신 서브페이지 전체가 공유하는 얕은 타이틀 배너
   ============================================================ */
.sub-visual {
    background: linear-gradient(120deg, var(--brand) 0%, var(--brand-3) 100%);
    padding: 40px 0 40px;
    text-align: left;      /* center → left */
    position: relative;    /* 추가 — ::before 배너 안에 가두기 */
    overflow: hidden;      /* 패턴이 배너 경계 밖으로 안 새도록 */
}
.sub-visual__title {
    font-size: clamp(20px, 1.4vw + 16px, 30px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.35;
    max-width: 920px;
    margin: 0;              /* 0 auto → 0, 중앙정렬용 auto 제거 */
    word-break: keep-all;
    overflow-wrap: break-word;
	text-shadow: 0 2px 8px rgba(0,0,0,.35);   /* 추가 */
}
.sub-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: conic-gradient(from 45deg,
  rgba(255,255,255,.14) 90deg, transparent 90deg 180deg,
  rgba(255,255,255,.14) 180deg 270deg, transparent 270deg);
  background-size: 45px 45px;
  pointer-events: none;
  opacity:0.3
}

/* ----- 카테고리별 배너 컬러 ----- */
.sub-visual--food {
    background: linear-gradient(120deg, #f08d5b 0%, #992b28 100%);
}
.sub-visual--beauty {
    background: linear-gradient(120deg, #f05b99 0%, #992879 100%);
}
.sub-visual--medical {
    background: linear-gradient(120deg, #18a582 0%, #084526 100%);
}
.sub-visual--mice {
    background: linear-gradient(120deg, #607ea9 0%, #1b2237 100%);
}
.sub-visual--transport {
    background: linear-gradient(120deg, #189bdc 0%, #09646d 100%);
}
.sub-visual--goods {
    background: linear-gradient(120deg, #919c1c 0%, #43390a 100%);
}
.sub-visual--stay {
    background: linear-gradient(120deg, #cb5bf0 0%, #5a2899 100%);
}
/* 흰 배경(콘텐츠 영역)으로 이동하면서 색상 반전 필요 */
.breadcrumb {
    margin: 0 0 20px;                 /* margin-top:14px → 위 배너와 분리, 아래 컨텐츠와 간격 */
    display: flex;
    align-items: center;
    justify-content: flex-start;      /* center → flex-start */
    gap: 6px;
    font-size: 13px;
    color: var(--t-meta);             /* rgba(255,255,255,.8) → 회색 톤 */
}
.breadcrumb a { color: var(--t-meta); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .is-current { color: var(--t-text); font-weight: 700; }
.breadcrumb i {font-size: 11px;margin: 0 2px;color: var(--t-meta);   /* var(--t-line) → var(--t-meta), #9a9a9a */}

/* ============================================================
   3. SECTION 공통
   ============================================================ */
.section { padding: 56px 0; }
.section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}
.section__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--t-text);
    margin-bottom: 22px;
}
.section__head .section__title { margin-bottom: 0; }
.section__more {
    font-size: 14px;
    color: var(--t-sub);
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
}
.sub-visual + .contents > .section {
    padding-top: 24px;   /* 기본 56px → 24px */
}
/* ============================================================
   4. PLACE CARD (공통 카드 — 메인 뷰티/맛집과 동일 룰, 리스트에서 재사용)
   ============================================================ */
.place-card { display: block; min-width: 0; }
.place-card__img {
    position: relative;
    width: 100%;
    aspect-ratio: 7 / 5;
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.place-card__info { padding: 6px 2px 0; }
.place-card__name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom:0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.place-card__meta {
    font-size: 13px;
    color: var(--t-meta);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.badge {
    position: absolute;
    top: 10px; left: 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    padding: 4px 9px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}
.badge--best { background: var(--brand); }

/* ============================================================
   5. PAGINATION (리스트 페이지 공통 — 디자인용, 동작 없음)
   ============================================================ */
.pagination {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.pagination__link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}
.pagination__link.is-active { background: var(--t-text); color: #fff; }
.pagination__arrow { color: var(--t-meta); font-size: 15px; }

/* ============================================================
   5-1. EMPTY STATE ("준비중" 안내 공통 — 회사소개/개인정보처리방침/이용약관/FAQ 등 재사용)
   ============================================================ */
.empty-state{
    margin: 0 auto;
    padding: 88px 48px;
    text-align: center;
    background: linear-gradient(135deg, #f4f5fe 0%, #eef4fd 100%);
    border: 1px solid rgba(91,110,240,0.10);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(91,110,240,0.06);
    box-sizing: border-box;
}
.empty-state__icon{
    width: 112px;
    height: 112px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(40,89,153,0.14);
    color: var(--brand);
}
.empty-state__icon svg{ width: 56px; height: 56px; }
.empty-state__title{
    font-size: 21px;
    font-weight: 700;
    color: var(--t-text);
    margin-bottom: 10px;
}
.empty-state__desc{
    font-size: 14px;
    color: var(--t-sub);
    line-height: 1.6;
    margin-bottom: 32px;
}
.empty-state__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s ease;
}
.empty-state__btn:hover{ background: var(--brand-3); }

/* ============================================================
   7. TO-TOP
   ============================================================ */
.to-top {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 90;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    color: #555;
    font-size: 20px;
    display: none;
    align-items: center;
    justify-content: center;
}
.to-top.is-show { display: flex; }

/* ============================================================
   8. SWIPER PAGINATION (섹션 css에서 swiper 쓸 경우 공통 스타일)
   ============================================================ */
.swiper-pagination-bullet { background: #ccc; opacity: 1; }
.swiper-pagination-bullet-active { background: #333; width: 18px; border-radius: 4px; }

/* ============================================================
   9. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .section { padding: 40px 0; }
    .section__title { font-size: 20px; margin-bottom: 18px; }
    .sub-visual { padding: 34px 0 28px; }
    .sub-visual__title { padding: 0 12px; }

	/* empty-state ("준비중" 안내) */
    .empty-state{ padding:56px 24px; }
	.empty-state__icon{ width: 80px; height: 80px; margin-bottom: 20px; }
    .empty-state__icon svg{ width: 40px; height: 40px; }
    .empty-state__title{ font-size:18px; }
    .empty-state__desc{ font-size:13px; margin-bottom:24px; }
    .empty-state__btn{ width:100%; height:48px; }

    .sub-visual + .contents > .section {
        padding-top: 16px;
    }
}