/*
Theme Name: 더팰리스트데시앙
Theme URI: https://the.desian.life/
Author: Custom Theme
Description: 더팰리스트데시앙 프리미엄 아파트 분양 홈페이지 테마
Version: 4.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-palest-desian
*/

/* ===========================
   CSS Variables
=========================== */
:root {
  --primary:      #a22b58;
  --primary-dark: #821f47;
  --primary-light:#dc6f98;
  --primary-pale: #fdf0f5;
  --primary-pale2:#fae3ed;

  --bg:      #ffffff;
  --bg-soft: #fdf8fb;
  --bg-warm: #faf5f8;

  --text:    #1a1a1a;
  --text-sub:#444444;
  --text-muted:#888888;
  --text-light:#bbbbbb;

  --border:     #f0e6ec;
  --border-mid: #e0c8d5;

  --font: 'Noto Sans KR', sans-serif;

  --sh-xs: 0 1px 4px rgba(162,43,88,0.06);
  --sh-sm: 0 2px 12px rgba(162,43,88,0.09);
  --sh-md: 0 4px 28px rgba(162,43,88,0.11);
  --sh-lg: 0 8px 44px rgba(162,43,88,0.13);

  --ease: all 0.32s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===========================
   Reset & Base
=========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; font-family: var(--font); }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.35; color: var(--text); }

/* ===========================
   HEADER
=========================== */
#site-header {
  position: fixed;
  top: 120px;  /* JS가 동적으로 덮어씀 — 배너 높이에 맞게 */
  left: 0; right: 0;
  z-index: 1000;
  height: 108px;
  background: #ffffff;
  border-bottom: 2px solid var(--border);
  box-shadow: 0 2px 16px rgba(162,43,88,0.07);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: height 0.35s ease, box-shadow 0.35s ease, top 0.4s ease;
}

#site-header.scrolled {
  height: 90px;
  box-shadow: 0 4px 24px rgba(162,43,88,0.10);
}

/* 로고 배경 완전 투명 처리 */
.site-logo img,
.site-logo a img,
.custom-logo-link img,
.custom-logo {
  height: 56px !important;
  width: auto !important;
  background: transparent !important;
  background-color: transparent !important;
  display: block;
}

/* 워드프레스 custom-logo 감싸는 a 태그 배경 제거 */
.site-logo a,
.site-logo .custom-logo-link,
.custom-logo-link {
  background: transparent !important;
  background-color: transparent !important;
  display: flex;
  align-items: center;
  line-height: 0;
}

/* 로고 — 배경 완전 제거 */
.site-logo {
  display: flex;
  align-items: center;
  background: none !important;
  background-color: transparent !important;
  text-decoration: none;
  /* 모바일에서 줄어들 수 있게 — 햄버거 공간 보장 */
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
}

.site-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  background: none !important;
  background-color: transparent !important;
  border: none;
  outline: none;
  /* max-width 없음 — 비율 유지 */
}

/* 이미지 로드 실패 시 텍스트 폴백 */
.logo-text-fallback {
  display: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

/* 햄버거 — 항상 공간 확보, 절대 밀리지 않음 */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  /* 핵심: flex-shrink 0 으로 절대 줄어들지 않음 */
  flex-shrink: 0;
  flex-grow: 0;
  margin-left: auto;  /* 로고 오른쪽으로 밀어냄 */
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--ease);
}

/* ===========================
   오른쪽 고정 플로팅 메뉴
=========================== */
.fixed-cta {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 900;
  display: flex;
  flex-direction: column;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
  box-shadow: -4px 0 24px rgba(162,43,88,0.20);
}

.fixed-cta-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 72px;
  padding: 20px 8px;
  text-decoration: none;
  transition: var(--ease);
  cursor: pointer;
}

.fixed-cta-call {
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.fixed-cta-call:hover { background: var(--primary-dark); }

.fixed-cta-reserve {
  background: #fff;
  border-top: 1px solid var(--border);
}
.fixed-cta-reserve:hover { background: var(--primary-pale); }

.fcta-icon {
  font-size: 22px;
  line-height: 1;
  display: block;
}

.fcta-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  display: block;
}

.fixed-cta-call .fcta-label  { color: #fff; }
.fixed-cta-reserve .fcta-label { color: var(--primary); }

@media (max-width: 768px) {
  .fixed-cta {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    flex-direction: row;
    transform: none;
    border-radius: 0;
    box-shadow: 0 -2px 16px rgba(162,43,88,0.15);
  }
  .fixed-cta-btn {
    flex: 1;
    flex-direction: row;
    width: auto;
    padding: 14px 16px;
    gap: 8px;
    border-radius: 0;
  }
  .fixed-cta-call  { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.2); }
  .fixed-cta-reserve { border-top: none; }
  .fcta-label { font-size: 14px; }
}

/* 메인 내비 — 폰트 2배 */
.main-nav ul { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-sub);
  padding: 8px 18px;
  border-radius: 8px;
  transition: var(--ease);
  white-space: nowrap;
}
.main-nav a:hover { color: var(--primary); background: var(--primary-pale); }

/* 헤더 우측: 분양문의 | 전화번호 */
.header-right { display: flex; align-items: center; flex-shrink: 0; }

.header-phone-inline {
  display: inline-flex; align-items: center;
  gap: 10px; white-space: nowrap;
}

.ph-label {
  font-size: 26px; font-weight: 500;
  color: var(--text-muted);
}

.ph-sep {
  font-size: 22px; line-height: 1;
  color: var(--border-mid);
}

a.ph-number {
  font-size: 30px; font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  transition: var(--ease);
}
a.ph-number:hover { color: var(--primary-light); }

/* 모바일 메뉴 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;  /* JS가 top을 덮어씀 */
  background: #fff;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
}

/* display:flex + translateX(0) 함께 적용 */
.mobile-nav.open {
  display: flex;
  transform: translateX(0);
}

/* 메뉴 링크 */
.mobile-nav > a {
  font-size: 26px;
  font-weight: 600;
  color: var(--text);
  padding: 12px 40px;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--border);
  transition: var(--ease);
}
.mobile-nav > a:first-of-type { border-top: 1px solid var(--border); }
.mobile-nav > a:hover {
  color: var(--primary);
  background: var(--primary-pale);
}

/* 닫기 버튼 — 상단 우측, 크고 명확하게 */
.mobile-nav-close {
  position: absolute;
  top: 16px; right: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 56px;
  height: 56px;
  background: var(--primary);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--ease);
  box-shadow: 0 4px 12px rgba(162,43,88,0.3);
}

.mobile-nav-close:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.mobile-nav-close .close-icon {
  font-size: 20px;
  color: #fff;
  line-height: 1;
  font-style: normal;
}

.mobile-nav-close .close-label {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
  line-height: 1;
}

/* 전화번호 */
.mobile-phone-row {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  padding: 16px 40px;
  background: var(--primary-pale);
  border-radius: 12px;
}
.mobile-phone-row a { color: inherit; }

/* ===========================
   HERO SLIDER
=========================== */
#hero {
  position: relative;
  height: calc(100vh - 228px);  /* 120(배너) + 108(헤더) — JS가 덮어씀 */
  min-height: 520px;
  overflow: hidden;
  margin-top: 228px;            /* JS가 동적으로 덮어씀 */
  padding: 0;
}

/* Slides container */
.slider-wrap {
  position: relative;
  width: 100%; height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active { opacity: 1; z-index: 1; }

/* 각 슬라이드 배경 */
.slide-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform-origin: center center;
  will-change: transform;
}

/* 슬라이드 1: 핑크 그라디언트 + 패턴 */
.slide-1 .slide-bg {
  background: linear-gradient(135deg, #fdf0f5 0%, #fce8f2 35%, #f8d5e8 65%, #f0c0d8 100%);
}

/* 슬라이드 2: 딥 로즈 */
.slide-2 .slide-bg {
  background: linear-gradient(135deg, #fae3ed 0%, #f5c8de 40%, #ecb0cd 70%, #e090ba 100%);
}

/* 슬라이드 3: 화이트 + 라이트 핑크 */
.slide-3 .slide-bg {
  background: linear-gradient(135deg, #ffffff 0%, #fdf5f9 40%, #fae8f2 70%, #f5d0e5 100%);
}

/* 커스텀 배경 이미지가 있을 때 */
.slide-1.has-img .slide-bg,
.slide-2.has-img .slide-bg,
.slide-3.has-img .slide-bg {
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.30) 0%,
    rgba(0,0,0,0.20) 50%,
    rgba(0,0,0,0.45) 100%
  );
}

/* 장식 원형 */
.slide-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
}

.slide-deco-1 {
  width: 600px; height: 600px;
  background: var(--primary);
  top: -180px; right: -120px;
}

.slide-deco-2 {
  width: 400px; height: 400px;
  background: var(--primary-light);
  bottom: -100px; left: -80px;
}

/* 슬라이드 콘텐츠 */
.slide-content {
  position: relative; z-index: 2;
  text-align: center; padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em;
  padding: 7px 22px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 700;
  color: #ffffff;          /* 흰색 고정 */
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-subtitle {
  font-size: clamp(15px, 2.2vw, 20px);
  font-weight: 400;
  color: rgba(255,255,255,0.90);   /* 흰색 */
  letter-spacing: 0.14em;
  margin-bottom: 16px;
}

/* 대구최고의 위치 후회없는 선택 — 크게, 흰색 */
.hero-tagline {
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
  line-height: 1.4;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-tagline em {
  color: #ffcde0;          /* 흰색 계열 핑크 — 강조 */
  font-style: normal;
}

.hero-cta-group {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
}

.btn-primary {
  padding: 16px 40px;
  background: var(--primary);
  color: #fff;
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.06em;
  border: 2px solid var(--primary);
  border-radius: 8px;
  cursor: pointer; transition: var(--ease);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(162,43,88,0.32);
}

.btn-secondary {
  padding: 16px 40px;
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  font-size: 15px; font-weight: 600;
  letter-spacing: 0.06em;
  border: 2px solid rgba(255,255,255,0.8);
  border-radius: 8px;
  cursor: pointer; transition: var(--ease);
  display: inline-block;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.30);
  transform: translateY(-2px);
}

/* 슬라이더 밖(섹션 내)에서 btn-secondary 는 원래 스타일 */
#location .btn-secondary,
#premium .btn-secondary,
.sub-body .btn-secondary,
.sub-content .btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
#location .btn-secondary:hover,
#premium .btn-secondary:hover,
.sub-body .btn-secondary:hover,
.sub-content .btn-secondary:hover {
  background: var(--primary-pale);
  color: var(--primary);
}

/* 슬라이더 컨트롤 */
.slider-dots {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 10;
  display: flex; gap: 10px;
}

.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(162,43,88,0.25);
  border: 2px solid var(--primary);
  cursor: pointer; transition: var(--ease);
}

.slider-dot.active {
  background: var(--primary);
  transform: scale(1.25);
}

.slider-prev,
.slider-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; width: 48px; height: 48px;
  background: rgba(255,255,255,0.88);
  border: 2px solid var(--border-mid);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--ease);
  font-size: 18px; color: var(--primary);
}
.slider-prev { left: 24px; }
.slider-next { right: 24px; }
.slider-prev:hover, .slider-next:hover {
  background: var(--primary);
  color: #fff; border-color: var(--primary);
  box-shadow: var(--sh-sm);
}

/* 스크롤 인디케이터 */
.hero-scroll {
  position: absolute; bottom: 28px; right: 32px;
  z-index: 10; text-align: center;
}
.hero-scroll span {
  display: block; font-size: 10px; font-weight: 500;
  letter-spacing: 0.22em; color: var(--text-light); margin-bottom: 8px;
}
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease infinite;
}

/* ===========================
   Section Commons
=========================== */
section { padding: 92px 0; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

.section-label {
  font-size: 12px; font-weight: 600;
  color: var(--primary); letter-spacing: 0.22em;
  text-transform: uppercase; margin-bottom: 10px; display: block;
}

.section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700; line-height: 1.4; margin-bottom: 14px;
}

.section-line {
  width: 32px; height: 3px;
  background: var(--primary); border-radius: 2px; margin: 0 0 24px;
}
.section-line.centered { margin: 0 auto 24px; }

.section-desc {
  font-size: 15px; color: var(--text-muted);
  line-height: 1.9; max-width: 560px; font-weight: 400;
}

.text-center { text-align: center; }
.text-center .section-desc { margin: 0 auto; }

/* ===========================
   Info Strip
=========================== */
#info-strip {
  background: var(--primary);
  padding: 52px 0;
}

.info-strip-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 36px; flex-wrap: wrap;
}

.info-strip-text h2 {
  font-size: clamp(20px,2.8vw,28px);
  font-weight: 700; margin-bottom: 5px; color: #fff;
}
.info-strip-text p { color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 400; }

.info-strip-cards { display: flex; }

.info-card {
  padding: 18px 28px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  text-align: center; min-width: 120px;
}
.info-card + .info-card { border-left: none; }
.info-card:first-child { border-radius: 8px 0 0 8px; }
.info-card:last-child  { border-radius: 0 8px 8px 0; }

.info-card .val {
  font-size: 16px; font-weight: 700; color: #fff; display: block;
}
.info-card .unit {
  font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 3px; font-weight: 400;
}

/* ===========================
   Overview Cards
=========================== */
#overview { background: var(--bg); }

.overview-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 18px; margin-top: 48px;
}

.overview-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 36px 26px;
  transition: var(--ease);
  cursor: pointer; box-shadow: var(--sh-xs);
  text-decoration: none; color: inherit; display: block;
}
.overview-card:hover {
  box-shadow: var(--sh-md);
  border-color: var(--primary-light);
  transform: translateY(-5px);
}

.overview-card .card-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.25em; color: var(--primary); margin-bottom: 14px;
}
.overview-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.overview-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; font-weight: 400; }

.card-more {
  font-size: 12px; font-weight: 700; color: var(--primary);
  display: inline-flex; align-items: center; gap: 4px; transition: var(--ease);
}
.overview-card:hover .card-more { gap: 8px; }

/* ===========================
   Location
=========================== */
#location { background: var(--bg-soft); }

.location-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 68px; align-items: center;
}

.location-image {
  overflow: hidden; border-radius: 16px; box-shadow: var(--sh-lg);
}
.location-image img {
  width: 100%; height: 490px; object-fit: cover;
  transition: transform 0.5s ease;
}
.location-image:hover img { transform: scale(1.03); }

.location-specs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 32px;
}

.spec-item {
  padding: 16px 14px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 10px; transition: var(--ease);
}
.spec-item:hover { border-color: var(--primary-light); box-shadow: var(--sh-xs); }
.spec-item .s-val  { font-size: 14px; font-weight: 700; color: var(--primary); display: block; margin-bottom: 3px; }
.spec-item .s-label{ font-size: 12px; color: var(--text-muted); font-weight: 400; }

/* ===========================
   Premium
=========================== */
#premium { background: var(--bg); }

.premium-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 68px; align-items: center;
}
.premium-text { order: 1; }
.premium-image { order: 2; border-radius: 16px; overflow: hidden; box-shadow: var(--sh-lg); }
.premium-image img { width: 100%; height: 530px; object-fit: cover; }

.premium-features { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; }

.premium-feature {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 15px 16px; border-radius: 10px;
  border: 1.5px solid var(--border); background: #fff; transition: var(--ease);
}
.premium-feature:hover {
  border-color: var(--primary-light);
  box-shadow: var(--sh-xs); background: var(--primary-pale);
}
.feature-icon { font-size: 19px; flex-shrink: 0; margin-top: 1px; }
.feature-text h4 { font-size: 13px; font-weight: 700; margin-bottom: 2px; }
.feature-text p  { font-size: 12px; color: var(--text-muted); line-height: 1.6; font-weight: 400; }

/* ===========================
   Gallery
=========================== */
#gallery { background: var(--bg-soft); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 10px;
  margin-top: 44px;
}

/* 첫 번째 이미지만 2열×2행 (대표 이미지) */
.gallery-item:first-child {
  grid-column: span 2;
  grid-row:    span 2;
}

.gallery-item {
  overflow: hidden; cursor: pointer; position: relative;
  border-radius: 12px; box-shadow: var(--sh-xs);
  background: var(--primary-pale);
}

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-overlay {
  position: absolute; inset: 0; background: transparent;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease); border-radius: 12px;
}
.gallery-item:hover .gallery-overlay { background: rgba(162,43,88,0.15); }
.gallery-overlay-icon { font-size: 26px; opacity: 0; transition: var(--ease); }
.gallery-item:hover .gallery-overlay-icon { opacity: 1; }

/* 이미지 없을 때 플레이스홀더 */
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500;
  color: var(--primary-light);
  background: var(--primary-pale);
}

/* ===========================
   News (공지사항)
=========================== */
#news { background: var(--bg); }

.news-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 40px;
}

.news-more {
  font-size: 13px; font-weight: 600; color: var(--primary);
  border-bottom: 1.5px solid var(--primary); padding-bottom: 2px;
  display: inline-flex; align-items: center; gap: 4px; transition: var(--ease);
}
.news-more:hover { gap: 8px; }

.news-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}

.news-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 14px; transition: var(--ease);
  cursor: pointer; box-shadow: var(--sh-xs); overflow: hidden;
}
.news-card:hover {
  box-shadow: var(--sh-md); border-color: var(--primary-light);
  transform: translateY(-4px);
}
.news-card-body { padding: 22px 22px 18px; }

.news-tag {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--primary);
  background: var(--primary-pale); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 100px;
  display: inline-block; margin-bottom: 10px;
}

.news-card h3 {
  font-size: 14px; font-weight: 700; line-height: 1.6;
  margin-bottom: 8px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.news-card p {
  font-size: 13px; color: var(--text-muted); line-height: 1.75;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
  margin-bottom: 14px; font-weight: 400;
}
.news-date { font-size: 12px; color: var(--text-light); font-weight: 400; }

/* ===========================
   Reservation
=========================== */
#reservation {
  background: var(--bg-soft);
  border-top: 1.5px solid var(--border);
}

.reservation-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 68px; align-items: start;
}

.phone-number {
  font-size: clamp(24px,3.5vw,38px); font-weight: 700;
  color: var(--primary); display: block;
  margin-top: 26px; margin-bottom: 5px; letter-spacing: 0.04em;
}
.phone-label { font-size: 13px; color: var(--text-muted); font-weight: 400; }

.reservation-hours {
  margin-top: 22px; padding: 16px 20px;
  background: #fff; border: 1.5px solid var(--border);
  border-radius: 10px; display: flex; gap: 26px; flex-wrap: wrap;
}
.hours-item .h-label {
  font-size: 11px; font-weight: 600;
  color: var(--primary); letter-spacing: 0.1em; margin-bottom: 3px;
}
.hours-item .h-val { font-size: 14px; font-weight: 500; }

.reservation-form {
  background: #fff; padding: 40px 36px;
  border: 1.5px solid var(--border); border-radius: 16px;
  box-shadow: var(--sh-md);
}
.reservation-form h3 { font-size: 19px; font-weight: 700; margin-bottom: 26px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--text-sub); margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 12px 14px; font-size: 14px; font-weight: 400;
  outline: none; transition: var(--ease);
  border-radius: 8px; -webkit-appearance: none; appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(162,43,88,0.10);
}
.form-group textarea { resize: vertical; min-height: 90px; }

.form-privacy {
  font-size: 12px; color: var(--text-muted);
  margin-bottom: 16px; line-height: 1.6;
}
.form-privacy a { color: var(--primary); font-weight: 500; }

.form-submit {
  width: 100%; padding: 15px;
  background: var(--primary); color: #fff;
  border: none; font-size: 15px; font-weight: 700;
  letter-spacing: 0.06em; border-radius: 8px;
  cursor: pointer; transition: var(--ease);
}
.form-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(162,43,88,0.30);
}
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ===========================
   Footer
=========================== */
#site-footer {
  background: #1e1018;
  color: rgba(255,255,255,0.75);
  padding: 56px 0 32px;
}

.footer-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-brand .logo-text {
  font-size: 18px; font-weight: 700; color: #fff;
  display: block; margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.42); line-height: 1.9; font-weight: 300; }

.footer-info h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  color: var(--primary-light); margin-bottom: 12px;
}
.footer-info p { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.9; font-weight: 300; }
.footer-info a { color: var(--primary-light); transition: var(--ease); }
.footer-info a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.22); font-weight: 300; }

.footer-disclaimer {
  font-size: 11px; color: rgba(255,255,255,0.16);
  line-height: 1.8; text-align: center;
  margin-top: 18px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.05); font-weight: 300;
}

/* ===========================
/* Lightbox */
#lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.88); z-index: 9999;
  align-items: center; justify-content: center; cursor: pointer;
}

/* ===========================
   Animations
=========================== */

/* 이미지: 활성 시 천천히 멀어지는 Ken Burns 효과 */
@keyframes kenBurns {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1.00); }
}

/* 텍스트: 작게 시작 → 크게 나타남 */
@keyframes textReveal {
  0%   { opacity: 0; transform: scale(0.82) translateY(18px); }
  60%  { opacity: 1; transform: scale(1.03) translateY(0); }
  100% { opacity: 1; transform: scale(1.00) translateY(0); }
}

@keyframes textRevealSub {
  0%   { opacity: 0; transform: scale(0.88) translateY(14px); }
  100% { opacity: 1; transform: scale(1.00) translateY(0); }
}

@keyframes badgePop {
  0%   { opacity: 0; transform: scale(0.7) translateY(10px); }
  70%  { opacity: 1; transform: scale(1.05) translateY(0); }
  100% { opacity: 1; transform: scale(1.00) translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* 슬라이드 배경: 기본은 정지, active 되면 Ken Burns */
.slide-bg {
  transform: scale(1.08);   /* 처음엔 약간 크게 */
}

.slide.active .slide-bg {
  animation: kenBurns 8s ease-out forwards;
}

/* 슬라이드 텍스트 요소: 기본 숨김 */
.slide .hero-badge,
.slide .hero-title,
.slide .hero-subtitle,
.slide .hero-tagline,
.slide .hero-cta-group {
  opacity: 0;
}

/* active 슬라이드 텍스트: 순서대로 등장 */
.slide.active .hero-badge {
  animation: badgePop 0.7s cubic-bezier(0.34,1.56,0.64,1) 0.2s forwards;
}

.slide.active .hero-title {
  animation: textReveal 0.9s cubic-bezier(0.22,1,0.36,1) 0.5s forwards;
}

.slide.active .hero-subtitle {
  animation: textRevealSub 0.75s ease-out 0.85s forwards;
}

.slide.active .hero-tagline {
  animation: textReveal 0.9s cubic-bezier(0.22,1,0.36,1) 1.05s forwards;
}

.slide.active .hero-cta-group {
  animation: textRevealSub 0.7s ease-out 1.4s forwards;
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Pagination */
.nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.nav-links a, .nav-links span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-sub);
  transition: var(--ease); background: #fff;
}
.nav-links a:hover, .nav-links span.current {
  background: var(--primary); border-color: var(--primary); color: #fff;
}

/* ===========================
   PC전용 / 모바일전용
=========================== */
.pc-only     { display: flex; }
.mobile-only { display: none; }
@media (max-width: 820px) {
  .pc-only     { display: none !important; }
  .mobile-only { display: flex !important; }
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 1100px) {
  .overview-grid { grid-template-columns: repeat(2,1fr); }
  .main-nav a { font-size: 18px; padding: 6px 10px; }
  a.ph-number { font-size: 20px; }
  .ph-label   { font-size: 15px; }
  .site-logo-img { height: 44px; }
}
@media (max-width: 960px) {
  .main-nav a { font-size: 15px; padding: 5px 8px; }
  a.ph-number { font-size: 17px; }
  .ph-label   { font-size: 13px; }
  .ph-sep     { font-size: 14px; }
  #site-header { padding: 0 24px; }
  .site-logo-img { height: 40px; }
}
@media (max-width: 900px) {
  .location-inner, .premium-inner, .reservation-inner {
    grid-template-columns: 1fr; gap: 40px;
  }
  .premium-image { order: -1; }
  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .news-grid     { grid-template-columns: repeat(2,1fr); }
}

/* ─────────────────────────────────────
   820px 이하: 햄버거 메뉴 전환
   모든 스마트폰 + 작은 태블릿 커버
────────────────────────────────────── */
@media (max-width: 820px) {

  #site-header {
    padding: 0 16px !important;
    height: 66px !important;
    gap: 0;
    justify-content: space-between !important;
    align-items: center;
  }
  #site-header.scrolled { height: 58px !important; }

  /* 로고: height만 줄임 — width는 비율 자동 */
  .site-logo { overflow: visible; }
  .site-logo-img {
    height: 38px;
    width: auto;
  }
  .logo-text-fallback { font-size: 14px !important; }

  section    { padding: 60px 0; }
  .container { padding: 0 18px; }

  .overview-grid { grid-template-columns: 1fr; }
  .news-grid     { grid-template-columns: 1fr; }
  .info-strip-inner { flex-direction: column; }
  .info-strip-cards { flex-wrap: wrap; }
  .reservation-form { padding: 26px 18px; }
  .news-header  { flex-direction: column; align-items: flex-start; gap: 10px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:first-child { grid-column: span 2; }
  .slider-prev, .slider-next { width: 36px; height: 36px; font-size: 13px; }
}

/* 480px 이하: 가장 작은 폰 */
@media (max-width: 480px) {
  #site-header {
    padding: 0 12px !important;
    height: 58px !important;
  }
  .site-logo-img {
    height: 32px;
    width: auto;
  }
  .logo-text-fallback { font-size: 13px !important; }
  .nav-toggle { padding: 6px !important; }
  .nav-toggle span { width: 20px; height: 2px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: 1; }
  .hero-tagline { font-size: clamp(18px, 5vw, 26px); }
}

/* ===========================
   Sub Pages Common
=========================== */
.sub-hero {
  position: relative;
  height: 320px;
  background: linear-gradient(135deg,#fdf0f5 0%,#f5c8de 60%,#e090ba 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-top: 228px;   /* JS로 동적 조정됨 */
}
.sub-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(162,43,88,0.42);
}
.sub-hero-content { position:relative;z-index:2;text-align:center;padding:0 24px; }
.sub-hero-title { font-size:clamp(28px,5vw,52px);font-weight:700;color:#fff;letter-spacing:0.06em;margin:0 0 10px; }
.sub-hero-sub   { font-size:16px;color:rgba(255,255,255,0.85);font-weight:300;letter-spacing:0.1em;margin:0; }

.sub-breadcrumb { background:#fdf0f5;border-bottom:1px solid #f0c8d8;padding:12px 0; }
.sub-breadcrumb .container { display:flex;align-items:center;gap:8px;font-size:13px;color:#888; }
.sub-breadcrumb a { color:#a22b58;font-weight:500; }
.sub-breadcrumb span { color:#dc6f98; }

.sub-body     { padding:72px 0 96px;background:#fff; }
.sub-body-soft{ padding:72px 0 96px;background:#fdf8fb; }

/* 서브페이지 콘텐츠 */
.sub-content { max-width:900px;margin:0 auto; }
.sub-content h2 { font-size:clamp(20px,3vw,32px);font-weight:700;color:#a22b58;margin:0 0 16px; }
.sub-content h3 { font-size:clamp(16px,2vw,22px);font-weight:700;margin:40px 0 12px; }
.sub-content p  { font-size:15px;color:#555;line-height:1.9;margin:0 0 16px; }
.sub-content ul { margin:0 0 20px;padding-left:0; }
.sub-content ul li { font-size:15px;color:#555;line-height:1.8;padding-left:20px;position:relative; }
.sub-content ul li::before { content:"✔";position:absolute;left:0;color:#a22b58;font-size:12px; }

/* 사업안내 테이블 */
.info-table { width:100%;border-collapse:collapse;margin:24px 0; }
.info-table th { background:#a22b58;color:#fff;padding:13px 18px;text-align:left;font-size:14px;font-weight:600;width:180px; }
.info-table td { padding:13px 18px;border-bottom:1px solid #f0e0e8;font-size:14px;color:#444;background:#fff; }
.info-table tr:hover td { background:#fdf0f5; }

/* 평면도 그리드 */
.plan-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:28px;margin-top:32px; }
.plan-card {
  border:1.5px solid #f0c8d8;border-radius:14px;overflow:hidden;
  box-shadow:0 2px 10px rgba(162,43,88,0.07);transition:all 0.3s ease;
}
.plan-card:hover { box-shadow:0 6px 24px rgba(162,43,88,0.15);transform:translateY(-4px); }
.plan-card-header { background:#a22b58;color:#fff;padding:16px 20px;display:flex;align-items:center;justify-content:space-between; }
.plan-card-header h3 { font-size:18px;font-weight:700;margin:0; }
.plan-card-header span { font-size:13px;background:rgba(255,255,255,0.2);padding:4px 12px;border-radius:100px; }
.plan-card-img { background:#fdf0f5;min-height:280px;display:flex;align-items:center;justify-content:center;color:#dc6f98;font-size:14px;overflow:hidden; }
.plan-card-img img { width:100%;height:100%;object-fit:cover; }
.plan-card-info { padding:20px;background:#fff; }
.plan-spec-row { display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid #f5e8ef;font-size:14px; }
.plan-spec-row:last-child { border-bottom:none; }
.plan-spec-row .s-key { color:#888;font-weight:400; }
.plan-spec-row .s-val { color:#a22b58;font-weight:700; }

/* 입지안내 교통 카드 */
.transport-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:32px 0; }
.transport-card {
  background:#fff;border:1.5px solid #f0c8d8;border-radius:14px;
  padding:28px 22px;text-align:center;
  box-shadow:0 2px 10px rgba(162,43,88,0.06);
  transition:var(--ease);
}
.transport-card:hover { border-color:#a22b58;box-shadow:0 6px 24px rgba(162,43,88,0.14);transform:translateY(-4px); }
.transport-card .tc-icon { font-size:36px;margin-bottom:12px; }
.transport-card h3 { font-size:16px;font-weight:700;color:#a22b58;margin:0 0 8px; }
.transport-card p  { font-size:13px;color:#888;line-height:1.7;margin:0; }

/* 편의시설 태그 */
.facility-tags { display:flex;flex-wrap:wrap;gap:10px;margin:20px 0; }
.facility-tag { padding:8px 18px;background:#fdf0f5;border:1.5px solid #f0c8d8;border-radius:100px;font-size:14px;font-weight:500;color:#a22b58; }

/* 커뮤니티 그리드 */
.community-grid { display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:32px; }
.community-item {
  background:#fff;border:1.5px solid #f0c8d8;border-radius:12px;
  padding:24px 16px;text-align:center;
  transition:var(--ease);
}
.community-item:hover { border-color:#a22b58;background:#fdf0f5;transform:translateY(-3px); }
.community-item .ci-icon { font-size:28px;margin-bottom:8px; }
.community-item h4 { font-size:14px;font-weight:700;color:#a22b58;margin:0 0 4px; }
.community-item p  { font-size:12px;color:#888;margin:0; }

/* 공지사항 목록 */
.notice-list { border-top:2px solid #a22b58;margin-top:16px; }
.notice-item {
  display:flex;align-items:center;gap:20px;
  padding:18px 16px;border-bottom:1px solid #f5e8ef;
  transition:var(--ease);cursor:pointer;
}
.notice-item:hover { background:#fdf0f5; }
.notice-num { font-size:13px;color:#aaa;width:40px;flex-shrink:0;text-align:center; }
.notice-badge { font-size:11px;font-weight:600;color:#a22b58;background:#fdf0f5;border:1px solid #f0c8d8;padding:3px 8px;border-radius:100px;flex-shrink:0; }
.notice-title { flex:1;font-size:15px;font-weight:500;color:#222; }
.notice-item:hover .notice-title { color:#a22b58; }
.notice-date { font-size:12px;color:#aaa;flex-shrink:0; }

/* 공지 페이지네이션 */
.pd-pagination { display:flex;justify-content:center;gap:8px;margin-top:40px; }
.pd-pagination .page-numbers {
  width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;
  border:1.5px solid #f0c8d8;border-radius:8px;font-size:14px;font-weight:600;
  color:#a22b58;background:#fff;transition:var(--ease);
}
.pd-pagination .page-numbers:hover,
.pd-pagination .page-numbers.current { background:#a22b58;border-color:#a22b58;color:#fff; }

@media(max-width:768px){
  .sub-hero { height:220px;margin-top:80px; }
  .plan-grid { grid-template-columns:1fr; }
  .transport-grid { grid-template-columns:1fr 1fr; }
  .community-grid { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:480px){
  .transport-grid { grid-template-columns:1fr; }
  .community-grid { grid-template-columns:repeat(2,1fr); }
}

/* ===========================
   상단 광고 배너
=========================== */
/* ===========================
   상단 광고 배너 (2단 구조)
=========================== */
#ad-banner {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: auto;             /* 높이 auto — 콘텐츠에 맞게 */
  background: #fdf8f2;
  border-bottom: 2px solid #e8d9c4;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
              opacity  0.3s ease;
  box-shadow: 0 2px 12px rgba(162,43,88,0.08);
}

#ad-banner.ad-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* ── 1행: 메인 타이틀 ── */
.ad-row-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 12px 48px;
  background: #f5f0e8;
  border-bottom: 1px solid #e8d9c4;
  position: relative;
  min-height: 52px;
}

/* 카운트다운 도트 */
.ad-timer {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
}
.ad-timer-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.28;
  transition: opacity 0.5s;
}
.ad-timer-dot.active { opacity: 1; }

/* 닫기 버튼 */
.ad-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(162,43,88,0.08);
  border: 1px solid rgba(162,43,88,0.2);
  border-radius: 50%;
  width: 28px; height: 28px;
  font-size: 14px;
  color: #a22b58;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  transition: all 0.2s;
  font-family: var(--font);
}
.ad-close:hover {
  background: #a22b58;
  color: #fff;
}

/* 타이틀 링크 */
.ad-inner {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  cursor: pointer;
}
.ad-plain {
  font-size: 19px;
  font-weight: 500;
  color: #2a2a2a;
  letter-spacing: 0.02em;
  padding-right: 10px;
}
.ad-highlight {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 6px 20px;
  border-radius: 4px;
}

/* ── 2행: 혜택 항목들 ── */
.ad-row-benefits {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  background: var(--primary);
  min-height: 60px;
}

.ad-benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 10px 24px;
  border-right: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
  flex: 1;
  max-width: 200px;
}
.ad-benefit-item:last-child { border-right: none; }
.ad-benefit-item:hover { background: rgba(255,255,255,0.1); }

.ad-benefit-icon {
  font-size: 18px;
  line-height: 1;
}

.ad-benefit-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
  white-space: nowrap;
  line-height: 1.2;
}

.ad-benefit-sub {
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
  line-height: 1.2;
}

/* ── 다시 열기 버튼 ── */
#adReopenBtn {
  position: fixed;
  right: 0;
  z-index: 1050;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 72px;
  padding: 18px 8px;
  background: #dc6f98;
  color: #fff;
  border: none;
  border-radius: 12px 0 0 12px;
  cursor: pointer;
  box-shadow: -4px 0 24px rgba(162,43,88,0.20);
  transition: background 0.25s, transform 0.25s;
}
#adReopenBtn.visible { display: flex; }
#adReopenBtn:hover   { background: var(--primary); }

.reopen-icon  { font-size: 20px; line-height: 1; }
.reopen-label { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; line-height: 1.3; text-align: center; color: #fff; }

/* ── 반응형 ── */
@media (max-width: 820px) {
  .ad-benefit-item  { padding: 10px 12px; max-width: none; }
  .ad-benefit-title { font-size: 12px; }
  .ad-benefit-sub   { font-size: 10px; }
  .ad-benefit-icon  { font-size: 15px; }
  .ad-plain         { font-size: 15px; }
  .ad-highlight     { font-size: 15px; padding: 5px 13px; }
  .ad-close         { right: 10px; }
  .reopen-label     { font-size: 11px; }
  #adReopenBtn      { width: 56px; padding: 12px 6px; }
}

@media (max-width: 540px) {
  .ad-row-title   { padding: 10px 44px; min-height: 44px; }
  .ad-plain       { font-size: 13px; }
  .ad-highlight   { font-size: 13px; padding: 5px 10px; }
  .ad-row-benefits { flex-wrap: wrap; }
  .ad-benefit-item {
    min-width: calc(100% / 3);
    flex: none;
    padding: 8px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .ad-benefit-item:nth-child(3) { border-right: none; }
  .ad-benefit-item:nth-child(4),
  .ad-benefit-item:nth-child(5) { border-bottom: none; }
}
