/* 웰니스 트렌드 코리아 전용 스타일 - 다른 사이트와 공유하지 않음 */
:root {
  --sage: #4f7a5c;
  --sage-dark: #35543e;
  --terracotta: #d97a4d;
  --charcoal: #2b2620;
  --bg: #fffdf9;
  --bg-soft: #f3f0e6;
  --ink: #2c2b26;
  --ink-soft: #6b6a5f;
  --border: #e6e1d2;
  --font: Georgia, "Apple SD Gothic Neo", "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", Roboto, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--font); line-height: 1.3; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* Topbar */
.topbar { background: var(--charcoal); color: #f3ede0; font-size: 0.78rem; padding: 6px 0; }

/* Masthead */
.masthead { border-bottom: 4px solid var(--sage); background: #fff; }
.masthead-inner { text-align: center; padding: 26px 20px 14px; }
.masthead-title { display: block; font-family: var(--font); font-weight: 700; font-size: 2.3rem; letter-spacing: -0.01em; color: var(--charcoal); }
.masthead-tagline { margin: 6px 0 0; color: var(--ink-soft); font-size: 0.92rem; }
.category-nav { background: var(--sage); }
.category-nav ul { list-style: none; display: flex; justify-content: center; gap: 22px; margin: 0; padding: 11px 20px; flex-wrap: wrap; }
.category-nav a { color: #fff; font-weight: 700; font-size: 0.88rem; letter-spacing: 0.02em; }
.category-nav a:hover, .category-nav a[aria-current="page"] { text-decoration: underline; }

/* Category tag */
.category-tag {
  display: inline-block; background: var(--sage); color: #fff; font-size: 0.72rem;
  font-weight: 700; padding: 4px 11px; border-radius: 999px; letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.category-tag.small { padding: 3px 9px; font-size: 0.68rem; margin-bottom: 0; margin-right: 8px; }

/* Top story */
.top-story { padding: 30px 0; border-bottom: 1px solid var(--border); }
.top-story-inner { display: flex; flex-direction: column; gap: 18px; }
.top-story-image { border-radius: 16px; border: 1px solid var(--border); }
.top-story-copy h1 { font-size: 1.7rem; margin: 0 0 10px; }
.top-story-copy h1 a:hover { text-decoration: underline; }
.dek { color: var(--ink-soft); font-size: 1.02rem; }
.byline { color: #928d7c; font-size: 0.82rem; }

/* Category quick-link strip */
.region-strip { padding: 20px 0; background: var(--bg-soft); }
.region-pins { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0; padding: 0; }
.pin {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px;
  background: #fff; border: 1px solid var(--sage); border-radius: 999px;
  color: var(--sage-dark); font-weight: 700; font-size: 0.88rem;
}
.pin:hover { background: var(--sage); color: #fff; text-decoration: none; }

/* Secondary grid */
.secondary-grid { padding: 30px 0; }
.secondary-grid h2 { border-bottom: 2px solid var(--sage); padding-bottom: 8px; font-size: 1.2rem; }
.grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 18px; }
.secondary-card img { border-radius: 14px; border: 1px solid var(--border); margin-bottom: 8px; }
.secondary-card h3 { font-size: 1.05rem; margin: 0 0 6px; }
.secondary-card h3 a:hover { text-decoration: underline; }

/* Latest list */
.latest-list { background: var(--bg-soft); padding: 28px 0 36px; }
.latest-list h2 { font-size: 1.15rem; border-bottom: 2px solid var(--sage); padding-bottom: 8px; }
.latest-list ul { list-style: none; margin: 14px 0 0; padding: 0; }
.latest-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px; }
.latest-list li a { font-weight: 700; }
.latest-list li a:hover { text-decoration: underline; }
.latest-list time { color: #928d7c; font-size: 0.82rem; margin-left: auto; }
.see-all { margin-top: 16px; font-weight: 700; color: var(--sage-dark); }
.see-all a:hover { text-decoration: underline; }

/* Breadcrumb */
.breadcrumb { font-size: 0.82rem; color: var(--ink-soft); margin: 20px 0 10px; }
.breadcrumb a:hover { text-decoration: underline; }

.section-lead { color: var(--ink-soft); margin-bottom: 10px; }

/* Article feed (list page) */
.article-feed { padding: 8px 0 20px; display: grid; gap: 20px; }
.feed-item { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.feed-item img { border-radius: 12px; border: 1px solid var(--border); }
.feed-item h2 { font-size: 1.15rem; margin: 0 0 6px; }
.feed-item h2 a:hover { text-decoration: underline; }

/* Pagination */
.pagination { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 40px; }
.pagination-disabled { color: #c7c0ac; }

/* Detail page */
.news-detail { padding-bottom: 48px; max-width: 760px; }
.news-header { padding: 16px 0; }
.news-header h1 { font-size: 1.9rem; margin: 6px 0 10px; }
.news-hero-image { border-radius: 16px; border: 1px solid var(--border); margin: 8px 0 22px; }
.news-body p { margin: 0 0 16px; font-size: 1.02rem; }
.prev-next { display: flex; flex-direction: column; gap: 14px; margin: 30px 0; padding-top: 18px; border-top: 2px solid var(--sage); }
.prev-next-link span { display: block; font-size: 0.78rem; color: var(--terracotta); font-weight: 700; letter-spacing: 0.02em; }
.prev-next-link strong { font-weight: 700; }
.related { background: var(--bg-soft); border-radius: 14px; padding: 18px 20px; }
.related ul { margin: 0; padding-left: 18px; }

/* About page */
.about-page { padding: 20px 0 48px; max-width: 720px; }
.about-page ul { padding-left: 18px; color: var(--ink-soft); }

/* Footer */
.site-footer { background: var(--charcoal); color: #ece5d5; padding: 30px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 10px; }
.footer-name { font-family: var(--font); font-weight: 700; font-size: 1.1rem; margin: 0; color: #fff; }
.footer-inner nav ul { list-style: none; display: flex; gap: 14px; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-inner a:hover { text-decoration: underline; }
.copyright { color: #b3ab95; font-size: 0.8rem; margin: 0; }

/* 404 */
.not-found { padding: 60px 0; text-align: center; }

@media (min-width: 700px) {
  .top-story-inner { flex-direction: row; align-items: center; }
  .top-story-image { flex: 1; }
  .top-story-copy { flex: 1; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .masthead-title { font-size: 3rem; }
  .prev-next { flex-direction: row; justify-content: space-between; }
}
