/* ============================================================
   TRIPGOING 공용 스타일시트
   모든 페이지(index, category, about, contact)가 이 파일을 씁니다.
   색·글꼴·간격을 바꾸고 싶으면 여기 한 곳만 고치면 됩니다.
   ============================================================ */

:root {
  --black: #111111;
  --ink: #1a1a1a;
  --gray-900: #2b2b2b;
  --gray-600: #6b6b6b;
  --gray-400: #9a9a9a;
  --gray-200: #e4e4e4;
  --gray-100: #f2f2f2;
  --white: #ffffff;
  --line: #e8e8e8;
  --maxw: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 68px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 24px; width: auto; }

.nav-menu {
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-900);
}
.nav-menu a { position: relative; padding: 6px 0; }
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--black);
  transition: width 0.25s ease;
}
.nav-menu a:hover::after { width: 100%; }
.nav-menu a.active::after { width: 100%; }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gray-600);
}
.nav-right a { display: inline-flex; }
.nav-right svg { width: 20px; height: 20px; }
.nav-right a:hover { color: var(--black); }
.about-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
}

.menu-toggle { display: none; }

/* ---------- 모바일 메뉴 (햄버거) ---------- */
.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--line);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }
@media (min-width: 901px) {
  .mobile-menu { display: none !important; }
}

/* ---------- 검색 패널 ---------- */
.search-panel {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.07);
}
.search-panel.open { display: block; }
.search-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 24px 38px;
}
.search-input {
  width: 100%;
  font-size: 18px;
  font-family: inherit;
  color: var(--ink);
  padding: 12px 2px;
  border: none;
  border-bottom: 2px solid var(--black);
  outline: none;
  background: transparent;
}
.search-input::placeholder { color: var(--gray-400); }
.search-results { margin-top: 14px; }
.search-result {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}
.search-result .sr-cat {
  flex: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
}
.search-result .sr-title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.search-result:hover .sr-title { text-decoration: underline; text-underline-offset: 3px; }
.search-empty { padding: 16px 2px; font-size: 14px; color: var(--gray-400); }

/* ---------- 히어로 슬라이드 배너 (보그/코스모 스타일) ---------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
}
.hs-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hs-slide {
  flex: 0 0 100%;
  position: relative;
  height: clamp(340px, 52vw, 600px);
}
.hs-slide img { width: 100%; height: 100%; object-fit: cover; }
.hs-slide .hs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0) 55%);
}
.hs-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 24px 46px;
  max-width: var(--maxw);
  margin: 0 auto;
  color: var(--white);
}
.hs-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  margin-bottom: 14px;
}
.hs-caption h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.4vw, 40px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.hs-caption p { margin: 0; font-size: 15px; color: rgba(255, 255, 255, 0.85); }
.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--black);
  border: none;
  border-radius: 999px;
  font-size: 17px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.hs-arrow:hover { background: var(--white); }
.hs-arrow.prev { left: 18px; }
.hs-arrow.next { right: 18px; }
.hs-dots {
  position: absolute;
  bottom: 16px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 5;
}
.hs-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.2s ease;
}
.hs-dot.active { background: var(--white); width: 22px; }

/* ---------- 섹션 배경 띠 (칸 구분용) ---------- */
.band { background: #f7f7f8; }
.band .article-thumb,
.band .card-img { background: var(--gray-200); }
.band-pad { padding-top: 56px; padding-bottom: 64px; }

/* ---------- 지금 이슈 (가로 카드형) ---------- */
.issues { padding: 48px 0 8px; }
.issues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.issue-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.issue-card:hover { border-color: var(--black); transform: translateY(-2px); }
.issue-card .i-top { display: flex; justify-content: space-between; align-items: baseline; }
.issue-card .i-tag {
  font-size: 11px;
  font-weight: 800;
  color: #e03131;
  letter-spacing: 0.04em;
}
.issue-card .i-date { font-size: 12px; font-weight: 600; color: var(--gray-400); font-variant-numeric: tabular-nums; }
.issue-card .i-text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
@media (max-width: 900px) {
  /* 모바일에서는 옆으로 밀어서 보는 가로 스크롤 */
  .issues-grid {
    display: flex;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .issue-card { flex: 0 0 240px; scroll-snap-align: start; }
}

/* ---------- 영상 콘텐츠 하단 필터 (밑줄 텍스트형) ---------- */
.video-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 20px;
}
.video-filter button {
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  padding: 4px 1px;
  border: none;
  background: transparent;
  color: var(--gray-400);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}
.video-filter button:hover { color: var(--black); }
.video-filter button.active { color: var(--black); border-bottom: 2px solid var(--black); }

/* ---------- 급상승 탭 + 업데이트 시각 ---------- */
.trend-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.trend-tab {
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  padding: 5px 11px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.15s ease;
}
.trend-tab:hover { border-color: var(--black); color: var(--black); }
.trend-tab.active { background: var(--black); color: var(--white); border-color: var(--black); }
.trend-updated {
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray-400);
}

/* ---------- 영상 콘텐츠 (옆으로 펼쳐지는 패널) ---------- */
.video-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.video-panels {
  display: flex;
  gap: 12px;
  height: clamp(320px, 38vw, 460px);
}
.v-panel {
  position: relative;
  flex: 1;
  min-width: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
  transition: flex 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.v-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.v-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.05) 55%);
}
.v-panel.active { flex: 3.4; }
.v-panel .v-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px;
  color: var(--white);
}
.v-panel .v-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}
.v-panel h4 {
  margin: 6px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.35s ease 0.15s;
  white-space: normal;
}
.v-panel.active h4 { opacity: 1; transform: translateY(0); }
.v-panel .v-play {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.7);
  border-radius: 999px;
  color: var(--white);
}
.v-panel .v-play svg { width: 12px; height: 12px; margin-left: 2px; }
@media (max-width: 700px) {
  .video-panels { flex-direction: column; height: auto; }
  .v-panel { height: 72px; flex: none; transition: height 0.45s ease; }
  .v-panel.active { height: 300px; flex: none; }
}

/* ---------- 테마 키워드 칩 (시즌 큐레이션) ---------- */
.chips-theme { margin-top: 14px; }
.chips-theme .chip {
  background: var(--gray-100);
  border-color: transparent;
  color: var(--gray-900);
}
.chips-theme .chip:hover { background: var(--gray-200); color: var(--black); }
.chips-theme .chip.active { background: var(--black); color: var(--white); }

/* ---------- 게시물 상세 페이지 ---------- */
.post-head { max-width: 720px; margin: 0 auto; padding: 56px 24px 28px; }
.post-head .p-kicker { font-size: 13px; font-weight: 700; color: var(--gray-400); letter-spacing: 0.06em; }
.post-head h1 {
  margin: 12px 0 10px;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.post-head .p-meta { font-size: 13px; color: var(--gray-400); }
.post-images { max-width: 720px; margin: 0 auto; padding: 0 24px; }
.post-images .p-img {
  border-radius: 4px;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 14px;
}
/* 원본 비율 그대로 표시 (잘리지 않게) */
.post-images .p-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
/* 게시물 본문 (인스타그램 캡션 그대로) */
.post-body { max-width: 720px; margin: 0 auto; padding: 4px 24px 24px; }
.post-body p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.post-tags {
  max-width: 720px;
  margin: 0 auto;
  padding: 14px 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.post-tags span { font-size: 13px; font-weight: 600; color: var(--gray-400); }

.post-actions { max-width: 720px; margin: 0 auto; padding: 18px 24px 0; display: flex; gap: 10px; }
.p-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid var(--black);
  color: var(--black);
  background: var(--white);
  transition: all 0.15s ease;
}
.p-btn:hover { background: var(--black); color: var(--white); }
.p-btn svg { width: 16px; height: 16px; }

/* ---------- Section heads ---------- */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--black);
}
.section-head h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section-head .en {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-cat {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.04em;
}
.meta { font-size: 12px; color: var(--gray-400); }

/* ---------- Popular + Trending ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  padding: 48px 24px 64px; /* 좌우 24px = 로고·다른 섹션과 같은 라인 */
}

.article-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.article-row:first-of-type { padding-top: 0; }
.article-thumb {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: 3px;
  overflow: hidden;
  background: var(--gray-100);
}
.article-thumb img {
  object-fit: cover;
  object-position: center top; /* 세로 카드뉴스는 위쪽을 살려서 크롭 */
  transition: transform 0.5s ease;
}
.article-row:hover .article-thumb img { transform: scale(1.05); }
.article-body h3 {
  margin: 8px 0 8px;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.article-body p { margin: 0 0 12px; font-size: 14px; color: var(--gray-600); }

/* Trending */
.trending h3.t-title {
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--black);
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trending h3 .en { font-size: 12px; color: var(--gray-400); font-weight: 600; letter-spacing: 0.06em; }
.rank {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.rank-no {
  font-size: 17px;
  font-weight: 800;
  width: 20px;
  flex: none;
  font-variant-numeric: tabular-nums;
}
.rank:nth-child(-n+4) .rank-no { color: var(--black); }
.rank-text { font-size: 15px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.rank-cat { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.rank:hover .rank-text { text-decoration: underline; text-underline-offset: 3px; }
.rank-flag {
  margin-left: auto;
  flex: none;
  align-self: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding-left: 10px;
}
.rank-flag.new { color: #e03131; }
.rank-flag.up { color: #e03131; }
.rank-flag.down { color: #4263eb; }
.rank-flag.same { color: var(--gray-400); }

/* 검색창 추천 키워드 */
.search-tags { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* ---------- Banner ---------- */
.banner {
  position: relative;
  margin: 8px 0 64px;
  height: 220px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--black);
  display: flex;
  align-items: center;
}
.banner img { position: absolute; inset: 0; filter: brightness(0.45); }
.banner .banner-inner { position: relative; padding: 0 48px; color: var(--white); }
.banner .kicker { font-size: 12px; letter-spacing: 0.2em; color: var(--gray-400); font-weight: 600; }
.banner h3 { margin: 10px 0 6px; font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.banner p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.75); }
.banner .badge {
  position: absolute; top: 18px; right: 22px;
  font-size: 11px; color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.3); padding: 4px 8px; border-radius: 3px;
}

/* ---------- Latest grid / cards ---------- */
.latest { padding-bottom: 40px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.card .card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 14px;
}
.card .card-img img {
  object-fit: cover;
  object-position: center top; /* 세로 카드뉴스는 위쪽을 살려서 크롭 (글씨는 아래쪽에 있으니 잘려나감) */
  transition: transform 0.55s ease;
}
.card:hover .card-img img { transform: scale(1.05); }
.card .c-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.card .c-cat { font-weight: 700; color: var(--gray-900); }
.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card p { margin: 0; font-size: 14px; color: var(--gray-600); }

/* 콘텐츠 없는 분류의 안내 문구 */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 0 90px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-400);
}

.more-btn {
  display: block;
  width: 100%;
  margin: 48px 0 0;
  padding: 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid var(--black);
  border-radius: 3px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: all 0.2s ease;
}
.more-btn:hover { background: var(--black); color: var(--white); }

/* ---------- 카테고리 페이지 ---------- */
.page-head {
  padding: 60px 24px 36px; /* 좌우 24px = 로고와 같은 라인 */
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}
.page-head .en-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.page-head h1 {
  margin: 10px 0 12px;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.page-head p { margin: 0; font-size: 16px; color: var(--gray-600); }

/* 소분류 칩 (카테고리 페이지 필터 버튼) */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.chip {
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  padding: 8px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s ease;
}
.chip:hover { border-color: var(--black); color: var(--black); }
.chip.active { background: var(--black); color: var(--white); border-color: var(--black); }
/* 2차 필터(도시)는 1차와 다르게 — 알약이 아닌 밑줄 텍스트 스타일 */
.chips-sub { margin-top: 10px; gap: 16px; }
.chips-sub .chip {
  padding: 4px 1px;
  font-size: 13px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--gray-400);
  border-bottom: 2px solid transparent;
}
.chips-sub .chip:hover { color: var(--black); background: transparent; }
.chips-sub .chip.active {
  background: transparent;
  color: var(--black);
  border-bottom: 2px solid var(--black);
}

/* ---------- 회사소개 페이지 ---------- */
.en-sub {
  color: var(--gray-400);
  font-size: 14px;
  line-height: 1.7;
}
.about-sec { padding: 64px 24px 8px; }

/* 회사소개서 다운로드 버튼 */
.deck { padding: 48px 24px 0; }
.deck-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 32px;
  border: 1.5px solid var(--black);
  border-radius: 4px;
  transition: all 0.2s ease;
}
.deck-btn strong { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.deck-btn .deck-en {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--gray-400);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.deck-icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  transition: all 0.2s ease;
}
.deck-icon svg { width: 20px; height: 20px; }
.deck-btn:hover { background: var(--black); color: var(--white); }
.deck-btn:hover .deck-en { color: rgba(255, 255, 255, 0.6); }
.deck-btn:hover .deck-icon { border-color: rgba(255, 255, 255, 0.4); }
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.brand-visual {
  background: var(--gray-100);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 32px;
}
.brand-visual img { width: 70%; max-width: 320px; height: auto; }
.brand-visual img.symbol { width: 200px; border-radius: 12px; }
.brand-info p { margin: 0 0 14px; font-size: 16px; color: var(--gray-600); line-height: 1.8; }
.bm-label { font-size: 13px; font-weight: 700; margin: 26px 0 10px; }
.swatches { display: flex; gap: 10px; }
.swatch { width: 44px; height: 44px; border-radius: 3px; }
.swatch.white { background: var(--white); border: 1px solid var(--gray-200); }
.swatch.black { background: var(--black); }

.direction {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step { border-top: 2px solid var(--black); padding-top: 16px; }
.step-no {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-400);
  letter-spacing: 0.08em;
}
.step h3 { margin: 6px 0 10px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 14px; color: var(--gray-600); line-height: 1.7; }
.direction-close {
  margin: 40px 0 0;
  text-align: center;
  font-size: 14px;
  color: var(--gray-600);
}
.about-hero {
  padding: 90px 24px 70px;
  border-bottom: 1px solid var(--line);
}
.about-hero .en-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.about-hero h1 {
  margin: 16px 0 20px;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 720px;
}
.about-hero p {
  margin: 0;
  font-size: 18px;
  color: var(--gray-600);
  max-width: 620px;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}
.stat .num {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.stat .label { font-size: 14px; color: var(--gray-600); margin-top: 6px; }

.about-body { padding: 64px 24px 20px; }
.about-body .block {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.about-body .block:last-child { border-bottom: none; }
.about-body h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.about-body p { margin: 0 0 12px; font-size: 16px; color: var(--gray-600); line-height: 1.8; }

/* ---------- 문의하기 페이지 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  padding: 64px 24px 40px;
}
.contact-info h1 {
  margin: 0 0 16px;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.contact-info p { font-size: 16px; color: var(--gray-600); line-height: 1.8; margin: 0 0 28px; }
.contact-info .direct {
  font-size: 14px;
  color: var(--gray-600);
  border-top: 1px solid var(--line);
  padding-top: 22px;
  line-height: 2;
}
.contact-info .direct b { color: var(--black); }

.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}
.form-field label .req { color: var(--gray-400); font-weight: 400; font-size: 12px; margin-left: 6px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 3px;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--black); }
.form-field textarea { min-height: 160px; resize: vertical; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--gray-600);
  margin: 26px 0;
}
.form-check input { margin-top: 2px; accent-color: var(--black); }

.submit-btn {
  width: 100%;
  padding: 17px;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  color: var(--white);
  background: var(--black);
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.submit-btn:hover { opacity: 0.85; }

/* ---------- 릴스 인터뷰 (가로 스크롤 캐러셀) ---------- */
.reels { padding: 8px 0 24px; }
.reels-head { position: relative; }
.reel-nav {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
.reel-arrow {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  transition: all 0.15s ease;
}
.reel-arrow:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.reels-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
}
.reels-scroll::-webkit-scrollbar { height: 5px; }
.reels-scroll::-webkit-scrollbar-track { background: var(--gray-100); border-radius: 999px; }
.reels-scroll::-webkit-scrollbar-thumb { background: var(--gray-200); border-radius: 999px; }
.reels-scroll::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }

.reel {
  flex: 0 0 216px;
  scroll-snap-align: start;
}
.reel-img {
  position: relative;
  aspect-ratio: 9 / 16; /* 인스타그램 릴스 비율 */
  border-radius: 4px;
  overflow: hidden;
  background: var(--gray-100);
}
.reel-img img { transition: transform 0.55s ease; }
.reel:hover .reel-img img { transform: scale(1.05); }
.reel-play {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.75);
  border-radius: 999px;
  color: var(--white);
}
.reel-play svg { width: 13px; height: 13px; margin-left: 2px; }
.reel h4 {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}
.reel .r-meta { margin-top: 6px; font-size: 12px; color: var(--gray-400); }

/* ---------- 인스타 팔로우 유도 섹션 ---------- */
.follow-cta {
  margin-top: 80px;
  padding: 72px 0;
  background: var(--gray-100);
  text-align: center;
}
.follow-cta .fc-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.follow-cta h2 {
  margin: 14px 0 10px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.follow-cta p { margin: 0 0 28px; font-size: 15px; color: var(--gray-600); }
.fc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--black);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  transition: opacity 0.2s ease;
}
.fc-btn:hover { opacity: 0.85; }
.fc-btn svg { width: 18px; height: 18px; }

/* ---------- 위로 가기 버튼 ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- 약관/정책 페이지 ---------- */
.legal-body { max-width: 800px; padding-bottom: 20px; }
.legal-body h2 {
  margin: 44px 0 12px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.legal-body p, .legal-body li {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.8;
}
.legal-body ul { margin: 8px 0; padding-left: 20px; }
.legal-notice {
  margin-top: 48px;
  padding: 16px 18px;
  background: var(--gray-100);
  border-radius: 4px;
  font-size: 13px;
  color: var(--gray-400);
}

/* ---------- Footer (검정 배경) ---------- */
footer {
  margin-top: 80px;
  background: var(--black);
  color: var(--white);
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 56px 0 28px;
  flex-wrap: wrap;
}
.foot-logo { display: inline-flex; align-items: center; }
.foot-logo img { height: 21px; width: auto; }
.foot-tagline { font-size: 13px; color: rgba(255, 255, 255, 0.55); margin-top: 12px; }
.foot-links {
  display: flex;
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}
.foot-links a:hover { color: var(--white); }
.foot-social { display: flex; gap: 16px; color: rgba(255, 255, 255, 0.7); }
.foot-social svg { width: 20px; height: 20px; }
.foot-social a:hover { color: var(--white); }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px 0 40px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.8;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  /* 모바일에서 급상승은 최신 아카이브 아래로 이동 (main.js가 처리) */
  .grid { grid-template-columns: repeat(2, 1fr); }
  /* 햄버거 없이: 모바일에서는 메뉴가 로고 아래 가로 스크롤로 노출 */
  .nav { flex-wrap: wrap; height: auto; padding-top: 12px; gap: 16px; }
  .nav-menu { order: 3; width: 100%; overflow-x: auto; gap: 20px; padding: 2px 0 12px; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-body .block { grid-template-columns: 1fr; gap: 14px; }
  .stats { grid-template-columns: 1fr; gap: 28px; }
  .about-hero h1 { font-size: 34px; }
  .brand-grid { grid-template-columns: 1fr; gap: 28px; }
  .direction { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .grid { grid-template-columns: 1fr; }
  .article-row { grid-template-columns: 130px 1fr; gap: 16px; }
  .banner h3 { font-size: 24px; }
  .banner .banner-inner { padding: 0 26px; }
  .nav { gap: 16px; }
  .page-head h1 { font-size: 32px; }
  .contact-info h1 { font-size: 30px; }
  .direction { grid-template-columns: 1fr; }
}

/* ================================================================
   2026.07 회의 반영 업데이트
   ================================================================ */

/* ---------- 급상승: 업데이트 시각을 제목 옆에 + 제목 한 줄 말줄임 ---------- */
.trending h3.t-title .trend-updated { margin: 0 0 0 auto; padding: 0; font-size: 11px; font-weight: 600; color: var(--gray-400); letter-spacing: 0; }
.rank > div { min-width: 0; flex: 1; }
.rank-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.issue-card .i-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 섹션 헤더 '전체보기' ---------- */
.section-head .see-all { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--gray-900); }
.section-head .see-all:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 지금 이슈 (하단, 작게) ---------- */
.issues-compact { padding: 44px 24px 0; }
.issues-compact .section-head { border-bottom-width: 1px; padding-bottom: 10px; margin-bottom: 14px; }
.issues-compact .section-head h2 { font-size: 17px; }
.issues-compact .issue-card { padding: 12px 14px; gap: 6px; }
.issues-compact .issue-card .i-text { font-size: 13px; }

/* ---------- 릴스 카드 (9:16) ---------- */
.reel-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.reel-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px 16px; padding-top: 6px; }
.reel-card { display: block; }
.reel-card .reel-img { position: relative; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; background: var(--gray-100); }
.reel-card .reel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.reel-card:hover .reel-img img { transform: scale(1.04); }
.reel-card .v-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); color: #fff; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.reel-card .v-play svg { width: 20px; height: 20px; }
.reel-info { margin-top: 10px; }
.reel-cat { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--gray-400); text-transform: uppercase; }
.reel-info h4 { margin: 4px 0 0; font-size: 14px; font-weight: 700; line-height: 1.4; letter-spacing: -0.01em; }
@media (max-width: 900px) {
  .reel-row, .reel-grid { display: flex; overflow-x: auto; gap: 12px; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .reel-row .reel-card, .reel-grid .reel-card { flex: 0 0 150px; scroll-snap-align: start; }
}

/* ---------- 카테고리 전용 검색창 + 추천 해시태그 + 정렬 ---------- */
.cat-search { display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 24px 0 0; padding: 12px 18px; border: 1.5px solid var(--black); border-radius: 999px; background: #fff; }
.cat-search svg { width: 18px; height: 18px; flex: none; color: var(--gray-400); }
.cat-search input { flex: 1; border: none; outline: none; font-size: 15px; background: transparent; font-family: inherit; min-width: 0; }
.cat-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.cat-tag { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 600; color: var(--gray-900); cursor: pointer; transition: all 0.15s ease; font-family: inherit; }
.cat-tag:hover { border-color: var(--black); }
.cat-tag.active { background: var(--black); border-color: var(--black); color: #fff; }
.cat-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; }
.cat-count { font-size: 13px; color: var(--gray-400); font-weight: 600; }
.cat-sort { display: flex; gap: 16px; }
.cat-sort button { background: none; border: none; padding: 0; font-size: 13px; font-weight: 600; color: var(--gray-400); cursor: pointer; font-family: inherit; }
.cat-sort button.active { color: var(--black); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 포스팅 상세 (글로우업식: 이미지 좌측 스크롤 + 글 우측 고정) ---------- */
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 30px 400px; gap: 30px; padding-top: 40px; padding-bottom: 72px; }
.post-gallery { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin: 0 auto; width: 100%; }
.post-gallery .p-img img, .post-gallery .p-img video { width: 100%; height: auto; display: block; border-radius: 4px; background: var(--gray-100); }
.post-side { position: relative; min-width: 0; }
.post-sticky { position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 6px; }
.pd-title { margin: 10px 0 12px; font-size: 26px; font-weight: 800; line-height: 1.35; letter-spacing: -0.02em; }
.pd-progress { display: flex; align-items: center; gap: 12px; margin: 18px 0 22px; }
.pd-count { font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--gray-900); flex: none; }
.pd-count b { font-weight: 800; }
.pd-bar { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pd-bar i { display: block; height: 100%; width: 0; background: var(--black); transition: width 0.3s ease; }
.pd-body p { margin: 0 0 16px; font-size: 15px; line-height: 1.85; color: var(--gray-900); letter-spacing: -0.005em; }
.pd-keys { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.key-chip { padding: 8px 16px; border: 1.5px solid var(--black); border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--black); transition: all 0.15s ease; }
.key-chip:hover { background: var(--black); color: #fff; }
.pd-src { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--gray-400); }
.pd-src .src-label { font-family: "Poppins", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--black); margin-right: 10px; }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
@media (max-width: 900px) {
  .post-layout { display: flex; flex-direction: column; padding-top: 24px; gap: 24px; }
  .post-side { order: 1; }
  .post-gallery { order: 2; }
  .post-sticky { position: static; max-height: none; overflow: visible; padding-right: 0; }
  .pd-title { font-size: 21px; }
}

/* ---------- 포스팅: 가운데 세로 진행바 + 칩/버튼 구분 ---------- */
.post-rail { position: relative; }
.rail-sticky {
  position: sticky;
  top: 92px;
  height: calc(100vh - 160px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.rail-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rail-count b { color: var(--black); font-weight: 800; }
.rail-track {
  flex: 1;
  width: 2px;
  background: var(--line);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.rail-track i {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 0%;
  background: var(--black);
  transition: height 0.15s linear;
}
/* PC에서는 가운데 세로 진행바가 있으므로 제목 아래 가로 진행바는 숨김 */
@media (min-width: 901px) {
  .pd-progress { display: none; }
}
@media (max-width: 900px) {
  .post-rail { display: none; }
}

/* 키워드 칩은 연한 태그 스타일로 (아래 버튼과 구분) */
.pd-keys .key-chip {
  padding: 6px 13px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--gray-100);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-600);
}
.pd-keys .key-chip:hover { background: var(--black); border-color: var(--black); color: #fff; }
/* 인스타그램 버튼은 꽉 찬 검정으로 강조 */
.pd-actions #p-insta { background: var(--black); border-color: var(--black); color: #fff; }
.pd-actions #p-insta svg { stroke: #fff; }
.pd-actions #p-insta:hover { opacity: 0.82; }

/* 포스팅 우측 패널의 카테고리 라벨·날짜 (글로우업 레이아웃용) */
.post-sticky .p-kicker { font-size: 13px; font-weight: 700; color: var(--gray-400); letter-spacing: 0.06em; }
.post-sticky .p-meta { font-size: 13px; color: var(--gray-400); }
