/*
Theme Name: 더서부 (The Seobu)
Theme URI: https://theseobu.com
Author: The Seobu
Description: LA 거점 여행 미디어 더서부 공식 워드프레스 테마
Version: 1.0
License: GNU General Public License v2
Text Domain: theseobu
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=Noto+Sans+KR:wght@300;400;500;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --sunset: #E8521A;
  --sunset-light: #F2784B;
  --sunset-pale: #FDF1EC;
  --deep: #0E1B2E;
  --deep-mid: #1A2E48;
  --sand: #F5EFE6;
  --text: #1A1A1A;
  --text-muted: #6B6B6B;
  --text-light: #9A9A9A;
  --border: #E8E2DA;
  --white: #FFFFFF;
  --gold: #C9963A;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ── TOPBAR ── */
.ts-topbar {
  background: var(--deep);
  color: rgba(255,255,255,0.55);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  letter-spacing: .04em;
  padding: 7px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ts-topbar-left { display: flex; gap: 20px; align-items: center; }
.ts-topbar span { color: var(--sunset-light); }
.ts-topbar-right { display: flex; gap: 14px; }
.ts-topbar-right a { color: rgba(255,255,255,0.45); font-size: 11px; letter-spacing: .04em; transition: color .2s; }
.ts-topbar-right a:hover { color: var(--sunset-light); }

/* ── HEADER ── */
.ts-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.ts-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.ts-logo { display: flex; flex-direction: column; gap: 0; }
.ts-logo-en {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--deep);
  letter-spacing: -.02em;
  line-height: 1;
}
.ts-logo-en span { color: var(--sunset); }
.ts-logo-ko {
  font-size: 9.5px;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: .18em;
  margin-top: 2px;
}
.ts-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
}
.ts-nav a {
  color: var(--text-muted);
  letter-spacing: .02em;
  position: relative;
  padding-bottom: 2px;
  transition: color .2s;
}
.ts-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--sunset);
  transition: width .25s;
}
.ts-nav a:hover { color: var(--text); }
.ts-nav a:hover::after,
.ts-nav .current-menu-item > a::after { width: 100%; }
.ts-nav .current-menu-item > a { color: var(--sunset); }
.ts-nav-cta {
  background: var(--sunset) !important;
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: 2px;
  font-size: 12.5px !important;
  letter-spacing: .05em !important;
  transition: background .2s !important;
}
.ts-nav-cta::after { display: none !important; }
.ts-nav-cta:hover { background: var(--sunset-light) !important; color: var(--white) !important; }

/* ── BREAKING BAR ── */
.ts-breaking {
  background: var(--deep);
  padding: 8px 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
}
.ts-breaking-badge {
  background: var(--sunset);
  color: var(--white);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 3px 10px;
  border-radius: 1px;
  flex-shrink: 0;
}
.ts-breaking-text {
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-breaking-text strong { color: #fff; }

/* ── MAIN WRAPPER ── */
.ts-wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── HOME HERO ── */
.ts-hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  padding: 36px 0 0;
}
.ts-hero-main {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.ts-hero-main .ts-hero-thumb {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  background: linear-gradient(160deg, var(--deep) 0%, var(--deep-mid) 40%, var(--sunset) 100%);
}
.ts-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,27,46,.92) 0%, rgba(14,27,46,.25) 55%, transparent 100%);
}
.ts-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
}
.ts-cat-badge {
  display: inline-block;
  background: var(--sunset);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 4px 10px;
  margin-bottom: 12px;
  border-radius: 1px;
  text-transform: uppercase;
}
.ts-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.32;
  margin-bottom: 10px;
  letter-spacing: -.01em;
}
.ts-hero-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,.68);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 14px;
}
.ts-hero-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  color: rgba(255,255,255,.45);
}
.ts-hero-meta span { color: rgba(255,255,255,.72); }

/* hero side */
.ts-hero-side { display: flex; flex-direction: column; }
.ts-side-item {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  transition: opacity .2s;
}
.ts-side-item:first-child { padding-top: 0; }
.ts-side-item:last-child { border-bottom: none; }
.ts-side-item:hover { opacity: .72; }
.ts-side-thumb {
  width: 86px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--deep), var(--sunset));
}
.ts-side-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ts-side-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--sunset);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ts-side-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 4px;
}
.ts-side-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: var(--text-light);
}

/* ── SECTION HEADER ── */
.ts-section-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 24px;
}
.ts-section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--deep);
  white-space: nowrap;
}
.ts-section-line { flex: 1; height: 1px; background: var(--border); }
.ts-section-more {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--sunset);
  letter-spacing: .04em;
  font-weight: 500;
  white-space: nowrap;
  transition: opacity .2s;
}
.ts-section-more:hover { opacity: .7; }

/* ── CAT TABS ── */
.ts-cat-tabs {
  display: flex;
  border-bottom: 1.5px solid var(--border);
  overflow-x: auto;
  margin-bottom: 28px;
  gap: 0;
}
.ts-cat-tab {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1.5px;
  transition: all .2s;
  letter-spacing: .02em;
  text-decoration: none;
}
.ts-cat-tab:hover { color: var(--text); }
.ts-cat-tab.active,
.ts-cat-tab.current { color: var(--sunset); border-bottom-color: var(--sunset); }

/* ── CARD GRID ── */
.ts-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.ts-card {
  cursor: pointer;
  transition: transform .25s;
  display: flex;
  flex-direction: column;
}
.ts-card:hover { transform: translateY(-3px); }
.ts-card-thumb {
  width: 100%;
  height: 196px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--deep), var(--deep-mid));
  flex-shrink: 0;
}
.ts-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.ts-card:hover .ts-card-thumb img { transform: scale(1.05); }
.ts-card-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--sunset);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.ts-card-cat a { color: var(--sunset); }
.ts-card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 8px;
  letter-spacing: -.01em;
  flex: 1;
}
.ts-card-title a { color: var(--text); transition: color .2s; }
.ts-card-title a:hover { color: var(--sunset); }
.ts-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ts-card-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  color: var(--text-light);
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}
.ts-card-meta-dot { color: var(--border); }

/* ── SINGLE POST ── */
.ts-single { max-width: 780px; margin: 0 auto; padding: 48px 40px; }
.ts-single-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--sunset);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ts-single-cat a { color: var(--sunset); }
.ts-single-title {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.28;
  margin-bottom: 16px;
  letter-spacing: -.015em;
}
.ts-single-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 12.5px;
  color: var(--text-light);
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.ts-single-thumb {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 36px;
}
.ts-single-thumb img { width: 100%; height: 420px; object-fit: cover; }
.ts-single-content {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  font-weight: 300;
}
.ts-single-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--deep);
  margin: 40px 0 16px;
  letter-spacing: -.01em;
}
.ts-single-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--deep);
  margin: 32px 0 12px;
}
.ts-single-content p { margin-bottom: 20px; }
.ts-single-content a { color: var(--sunset); border-bottom: 1px solid var(--sunset-pale); transition: border-color .2s; }
.ts-single-content a:hover { border-color: var(--sunset); }
.ts-single-content img { border-radius: 4px; margin: 24px 0; }
.ts-single-content blockquote {
  border-left: 3px solid var(--sunset);
  padding: 12px 24px;
  margin: 28px 0;
  background: var(--sand);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: var(--text-muted);
}
.ts-single-content ul, .ts-single-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
  list-style: disc;
}
.ts-single-content ol { list-style: decimal; }
.ts-single-content li { margin-bottom: 6px; }

/* ── NEWSLETTER ── */
.ts-newsletter {
  background: var(--deep);
  padding: 60px 40px;
  text-align: center;
  margin-top: 56px;
}
.ts-newsletter-inner { max-width: 520px; margin: 0 auto; }
.ts-nl-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--sunset);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ts-nl-title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 10px;
}
.ts-nl-desc {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  font-weight: 300;
  margin-bottom: 28px;
  line-height: 1.7;
}
.ts-nl-form { display: flex; gap: 10px; max-width: 420px; margin: 0 auto; }
.ts-nl-input {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 2px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--white);
  font-family: 'Noto Sans KR', sans-serif;
  outline: none;
  transition: border-color .2s;
}
.ts-nl-input::placeholder { color: rgba(255,255,255,.3); }
.ts-nl-input:focus { border-color: var(--sunset); }
.ts-nl-btn {
  background: var(--sunset);
  color: var(--white);
  border: none;
  border-radius: 2px;
  padding: 12px 22px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.ts-nl-btn:hover { background: var(--sunset-light); }

/* ── FOOTER ── */
.ts-footer { background: #0A1520; padding: 52px 40px 28px; }
.ts-footer-inner { max-width: 1200px; margin: 0 auto; }
.ts-footer-top {
  display: grid;
  grid-template-columns: 220px 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  margin-bottom: 24px;
}
.ts-footer-logo-en {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -.01em;
  margin-bottom: 2px;
}
.ts-footer-logo-en span { color: var(--sunset); }
.ts-footer-logo-ko {
  font-size: 9.5px;
  font-weight: 300;
  color: rgba(255,255,255,.3);
  letter-spacing: .14em;
  margin-bottom: 14px;
}
.ts-footer-about {
  font-size: 12.5px;
  color: rgba(255,255,255,.38);
  line-height: 1.7;
  font-weight: 300;
}
.ts-footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .12em;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ts-footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
  transition: color .2s;
  font-weight: 300;
}
.ts-footer-col a:hover { color: var(--sunset-light); }
.ts-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ts-footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 11.5px;
  color: rgba(255,255,255,.22);
}
.ts-footer-copy strong { color: rgba(255,255,255,.4); }
.ts-footer-sns { display: flex; gap: 10px; }
.ts-sns-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.14);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.38);
  transition: all .2s;
}
.ts-sns-btn:hover { border-color: var(--sunset); color: var(--sunset); }

/* ── PAGINATION ── */
.ts-pagination {
  display: flex;
  justify-content: center;
  padding: 32px 0 48px;
}
.ts-pagination .page-numbers {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ts-pagination .page-numbers li {
  display: inline-flex;
}
.ts-pagination a,
.ts-pagination span,
.ts-pagination .page-numbers li a,
.ts-pagination .page-numbers li span {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  line-height: 1;
}
.ts-pagination a:hover,
.ts-pagination .page-numbers li a:hover {
  border-color: var(--sunset);
  color: var(--sunset);
}
.ts-pagination .current,
.ts-pagination .page-numbers li .current {
  background: var(--sunset);
  color: var(--white);
  border-color: var(--sunset);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .ts-hero { grid-template-columns: 1fr; }
  .ts-hero-side { display: none; }
  .ts-card-grid { grid-template-columns: repeat(2, 1fr); }
  .ts-footer-top { grid-template-columns: 1fr 1fr; }
  .ts-topbar { display: none; }
}
@media (max-width: 640px) {
  .ts-header-inner { padding: 0 20px; }
  .ts-wrap { padding: 0 20px; }
  .ts-nav { gap: 14px; font-size: 12px; }
  .ts-card-grid { grid-template-columns: 1fr; }
  .ts-single { padding: 32px 20px; }
  .ts-single-title { font-size: 26px; }
  .ts-footer { padding: 40px 20px 24px; }
  .ts-footer-top { grid-template-columns: 1fr; gap: 28px; }
  .ts-nl-form { flex-direction: column; }
}
