*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Apple SD Gothic Neo','Malgun Gothic',sans-serif;
  background:#f8f9fa;
  color:#1a1a1a;
  line-height:1.6;
}
.container{background:#fff}

/* Header */
.header{
  background:linear-gradient(135deg,#e11d48,#b91c1c);
  color:#fff;
  padding:50px 20px;
  text-align:center;
  max-width:850px;
  margin:0px auto;
  border-radius:16px;
}
.header-logo{
  border-radius:10px;
}
.header h1{
  font-size:2rem;
  font-weight:800;
  margin:0;
}
.header-title-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  white-space:nowrap;
}

/* Brand Tabs */
.brand-tabs{
  max-width:900px;margin:0 auto 20px;
  display:flex;gap:8px;justify-content:center;flex-wrap:wrap
}
.brand-tab{
  text-decoration:none;
  padding:8px 14px;
  border-radius:20px;
  background:rgba(225,29,72,.25);
  color:#fff;
  font-weight:700;
}
.brand-tab.active{
  background:#fff;
  color:#b91c1c
}

/* Content */
.content{
  max-width:900px;
  margin:0 auto;
  padding:30px 20px
}

/* Coupon Card */
.coupon-card{
  border-radius:16px;
  border:1px solid #e5e7eb;
  background:#fff;
  margin-bottom:35px;
  box-shadow:0 2px 12px rgba(0,0,0,.08)
}
.coupon-header{
  display:flex;
  align-items:center;
  padding:20px;
  background:#f1f3f5
}
.coupon-icon{
  width:52px;
  height:52px;
  border-radius:12px;
  background:linear-gradient(135deg,#e11d48,#b91c1c);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  margin-right:14px;
  color:#fff
}
.coupon-title h2{
  font-size:1.4em;
  font-weight:800
}
.subtitle{
  color:#6c757d;
  margin-top:4px
}
.coupon-body{padding:20px}

/* Simple Coupon */
.coupon-card-simple{
  border:2px solid #dc2626;
  border-radius:18px;
  padding:0px
}
.coupon-title-line{
  font-size:1.4em;
  font-weight:800;
  color:#dc2626
}
.coupon-desc{
  margin-top:8px;
  font-weight:700
}
.coupon-sub{
  margin-top:4px;
  color:#6c757d
}

.coupon-action-btn{
  margin-top:20px;
  width:100%;
  height:56px;
  border-radius:14px;
  border:none;
  background:#dc2626;
  color:#fff;
  font-size:1.1em;
  font-weight:800;
  cursor:pointer
}

/* Info Section */
.info-section{
  margin-top:2px;
  padding-top:0px;
  border-top:1px solid #ffffff
}
.info-section h2{
  font-size:1.4em;
  margin-bottom:16px
}
.info-section p{
  margin-bottom:14px;
  color:#444
}

/* FAQ */
.faq-item{
  margin-bottom:24px;
  padding:18px 20px;
  background:#f8f9fa;
  border-radius:14px;
  border:1px solid #e5e7eb
}
.faq-item h3{
  font-size:1.05em;
  font-weight:800;
  margin-bottom:8px;
}
.faq-item p{
  color:#555;
  line-height:1.6
}

/* Popup */
.popup-overlay{
  position:fixed;
  top:0;left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999
}
.popup-overlay.active{display:flex}
.popup{
  background:#fff;
  padding:30px;
  border-radius:20px;
  width:90%;
  max-width:420px;
  text-align:center;
  position:relative
}
.popup-close{
  position:absolute;
  top:12px;
  right:16px;
  font-size:28px;
  border:none;
  background:none;
  cursor:pointer
}
.popup-code{
  border:2px dashed #e03131;
  border-radius:12px;
  padding:18px;
  margin:20px 0
}
.popup-code-text{
  font-size:1.8em;
  font-weight:800;
  color:#e03131
}
.popup-button{
  width:100%;
  height:54px;
  border:none;
  border-radius:14px;
  background:#e03131;
  color:#fff;
  font-size:1.1em;
  font-weight:800;
  cursor:pointer
}

.site-footer{
  background:#ffffff;          /* 카드 느낌 */
  padding:30px 20px;
  text-align:center;
  font-size:0.9em;
  color:#6c757d;
  line-height:1.6;

  max-width:900px;             /* 다른 컨테이너와 통일 */
  margin:40px auto 0px;       /* 중앙 정렬 + 아래 여백 */
  border-radius:16px;          /* 🔥 핵심: 라운드 */
  border:1px solid #e5e7eb;    /* 카드 테두리 */
  box-shadow:0 2px 12px rgba(0,0,0,.06);
}

.site-footer .footer-inner{
  max-width:100%;              /* 안쪽은 꽉 차게 */
  margin:0 auto;
}

/* 쿠폰 영역 전체 여백 */
.coupon-body {
  margin: 0px 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* 개별 쿠폰 카드 */
.coupon-card-simple {
  padding: 22px 20px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 카드 hover */
.coupon-card-simple:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.12);
}

/* 타이틀 */
.coupon-title-line {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

/* 설명 */
.coupon-desc {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #555;
}

/* 보조 설명 */
.coupon-sub {
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: #888;
}

/* 버튼 위 여백 */
.coupon-action-btn {
  margin-top: 10px;
  margin-bottom: 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.95rem;
}
/* 정보 영역 전체 */
.info-section {
  margin-top: 2px;
  padding: 40px 24px;
  background: #ffffff;
  border-radius: 16px;
  line-height: 1.8;
}

/* h2 (큰 섹션 제목) */
.info-section h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #222;
}

/* 첫 h2는 위 여백 제거 */
.info-section h2:first-of-type {
  margin-top: 0;
}

/* h3 (소제목, FAQ 질문 등) */
.info-section h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
}

/* 일반 문단 */
.info-section p {
  margin-bottom: 14px;
  font-size: 0.96rem;
  color: #555;
}

/* 순서 설명 텍스트 */
.info-section p strong {
  color: #222;
}

/* FAQ 카드 느낌 */
.faq-item {
  margin-top: 18px;
  padding: 18px 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

/* FAQ 질문 */
.faq-item h3 {
  margin-top: 0;
  font-size: 1rem;
  color: #111;
}

/* FAQ 답변 */
.faq-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #555;
}

/* =========================
   Internal Links (Text-first)
========================= */

.internal-links {
  margin: 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px; /* 링크 간 간격만 */
}

.internal-links a {
  display: inline-flex;
  align-items: center;

  padding: 4px 8px;        /* 🔥 핵심: 글씨 주변만 최소 */
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;

  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
  text-decoration: none;
  line-height: 1.2;
}

/* hover도 과하지 않게 */
.internal-links a:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}
/* ===== 쿠폰 코드 미리보기 (반쯤 노출) ===== */
.coupon-code-preview{
  position: relative;
  width: 180px;
  margin: 0 auto 12px;
  padding: 12px 0;
  text-align: center;
  border: 2px dashed #2fb344;
  border-radius: 14px;
  background: #eaffea;
  overflow: hidden;
}

/* 실제 코드 텍스트 */
.coupon-code-text{
  font-size: 1.3em;
  font-weight: 900;
  letter-spacing: 2px;
  color: #2fb344;
  display: inline-block;
  position: relative;
  z-index: 1;
}

/* 오른쪽 가림 레이어 */
.coupon-code-preview::after{
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(234,255,234,0),
    #eaffea 60%
  );
  z-index: 2;
}

/* ===== 쿠폰 버튼 : 반쯤 벗겨진 쿠폰 효과 ===== */
.coupon-action-btn{
  position: relative;
  overflow: hidden;
}

/* 점선 쿠폰 테두리 */
.coupon-action-btn::before{
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px dashed rgba(255,255,255,0.8);
  border-radius: 12px;
  pointer-events: none;
  z-index: 2;
}



/* ===== 목차 스타일 ===== */
.toc-box{
  margin: 30px 0;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
}

.toc-title{
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.toc-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li{
  margin-bottom: 8px;
}

.toc-list a{
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  color: #333;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.toc-list a:hover{
  background: #e03131;
  color: #ffffff;
  border-color: #e03131;
}

.live-status{
  margin-top:10px;
  font-weight:600;
  opacity:0.95;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:6px;
}

/* 초록 점 깜빡임 */
.live-status .dot{
  width:8px;
  height:8px;
  background:#2fb344;
  border-radius:50%;
  animation: pulse 1.2s infinite;
}

@keyframes pulse{
  0%{opacity:0.3}
  50%{opacity:1}
  100%{opacity:0.3}
}

/* ... 애니메이션 */
.live-status .dots::after{
  content:"";
  animation:dots 1.5s steps(3,end) infinite;
}

@keyframes dots{
  0%{content:""}
  33%{content:"."}
  66%{content:".."}
  100%{content:"..."}
}

ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}


/* ===== 트립닷컴 FAQ 드롭다운 디자인 (추가 CSS) ===== */

.faq-wrap {
  margin: 2px 0;
  border-top: 1px solid #e5e7eb;
}

.faq-wrap h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.faq-wrap details {
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
}

.faq-wrap summary {
  list-style: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  padding-right: 24px;
}

.faq-wrap summary::-webkit-details-marker {
  display: none;
}

/* + 아이콘 */
.faq-wrap summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #e03131; /* 기존 포인트 컬러에 맞게 조정 가능 */
}

/* 열렸을 때 - 아이콘 */
.faq-wrap details[open] summary::after {
  content: "−";
}

/* 본문 */
.faq-wrap details p,
.faq-wrap details ul {
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #374151;
}

.faq-wrap details ul {
  padding-left: 18px;
}

.faq-wrap details li {
  margin-top: 6px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .faq-wrap summary {
    font-size: 0.95rem;
  }

  .faq-wrap details p,
  .faq-wrap details ul {
    font-size: 0.9rem;
  }
}


.faq-wrap {
  padding: 0 20px;
}

@media (max-width: 480px){
  .header h1{
    font-size: clamp(1.2rem, 4vw, 1.6rem);
  }

  .header-logo{
    width: 90px;   /* 모바일에서 로고도 살짝 축소 */
    height: auto;
  }
}

/* 공통 h2 */
h2{
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.3;
}

/* 쿠폰 카드 h2 */
.coupon-title h2{
  font-size: 1.25rem;
}

/* 정보 섹션 h2 */
.info-section h2{
  font-size: 1.3rem;
}

/* 모바일 */
@media (max-width: 480px){
  h2{
    font-size: 1.15rem;
  }
  .coupon-title h2{
    font-size: 1.1rem;
  }
}

/* 쿠폰 카드 이미지 기본 (PC) */
.coupon-card-simple img{
  width:300px;
  height:120px;
  object-fit:contain;
  max-width:100%;
}

/* 모바일 자동 조절 */
@media (max-width:768px){
  .coupon-card-simple img{
    width:100%;
    height:auto;
    max-height:120px;
  }
}
/* 쿠폰 카드 전체 가운데 정렬 */
.coupon-card-simple{
  text-align:center;
}

/* 제목, 서브텍스트 가운데 */
.coupon-card-simple .coupon-title-line,
.coupon-card-simple .coupon-sub{
  text-align:center;
}

/* 이미지 가운데 정렬 */
.coupon-card-simple img{
  display:block;
  margin:0 auto;
  width:300px;
  height:120px;
  object-fit:contain;
  max-width:100%;
}

/* 모바일 자동 조절 */
@media (max-width:768px){
  .coupon-card-simple img{
    width:100%;
    height:auto;
    max-height:120px;
  }
}

/* Breadcrumb (travel/page 공용) */
.breadcrumb{
  margin: 0 0 2rem;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}
.breadcrumb a{
  color: #6b7280;
  text-decoration: none;
}
.breadcrumb a:hover{
  text-decoration: underline;
}
.breadcrumb span{
  color: #9ca3af;
  margin: 0 0.25rem;
}
.breadcrumb strong{
  color: #111827;
  font-weight: 700;
}
