/* 西瓜视频 · 原创轻杂志式视觉系统 | 所有样式按模块整理 */
:root {
  --ink: #18312b;
  --muted: #61736c;
  --paper: #fffdf7;
  --cream: #f7f7ec;
  --mint: #e5f3dc;
  --green: #226e50;
  --red: #e65757;
  --line: #e0e8dc;
  --radius: 20px;
  --shadow: 0 20px 50px rgba(30, 65, 49, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.8 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.container { width: min(1200px, calc(100% - 44px)); margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; padding: 8px 14px; background: white; z-index: 10; }
.site-header { position: sticky; top: 0; z-index: 9; background: rgba(255,253,247,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand { display: inline-flex; gap: 11px; align-items: center; font-weight: 900; font-size: 23px; letter-spacing: -.05em; white-space: nowrap; }
.brand-symbol { background: var(--red); width: 37px; height: 37px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-size: 20px; transform: rotate(-12deg); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(10px, 1.7vw, 25px); font-size: 14px; font-weight: 650; }
.nav a { padding: 7px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"], .nav a:hover { color: var(--green); border-color: var(--green); }
.header-pill { font-size: 12px; padding: 6px 12px; border: 1px solid #bdd7c4; border-radius: 99px; color: var(--green); white-space: nowrap; }
.hero { overflow: hidden; background: linear-gradient(132deg, #f1f8e8 0%, #fffdf7 55%, #ffeded 100%); }
.hero-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 42px; padding: 70px 0 75px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 25px; height: 2px; background: var(--red); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(36px, 4.45vw, 68px); line-height: 1.19; letter-spacing: -.055em; margin: 17px 0 23px; }
h1 em { font-style: normal; color: var(--red); }
.lead { max-width: 585px; font-size: 16px; color: #50675f; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 23px; border-radius: 50px; font-weight: 750; font-size: 14px; border: 1px solid var(--green); }
.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: #184e38; color: white; }
.btn-outline { background: transparent; color: var(--green); }
.hero-image { width: 100%; aspect-ratio: 1.35; object-fit: cover; object-position: 58% center; border-radius: 52% 48% 47% 53% / 49% 51% 49% 51%; box-shadow: 20px 24px 0 #d5ead6; }
.hero-caption { margin-top: 20px; text-align: center; color: var(--muted); font-size: 12px; }
.strip { background: var(--green); color: white; }
.strip-inner { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.section { padding: 83px 0; }
.section-soft { background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2, .page-title { font-size: clamp(29px, 3.2vw, 44px); line-height: 1.33; letter-spacing: -.035em; margin: 12px 0; }
.section-head p, .section-intro { max-width: 640px; color: var(--muted); }
.more { font-weight: 800; color: var(--green); font-size: 14px; white-space: nowrap; }
.categories { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.category-card { min-height: 235px; padding: 25px; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s; }
.category-card:hover, .story:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-card .icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 17px; background: var(--mint); color: var(--green); font-size: 26px; }
.category-card:nth-child(2) .icon, .category-card:nth-child(4) .icon { background: #ffeded; color: var(--red); }
.category-card h3 { font-size: 20px; margin: 20px 0 7px; }
.category-card p { font-size: 13px; line-height: 1.9; color: var(--muted); }
.stories { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.story { border: 1px solid var(--line); border-radius: 21px; background: white; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.story-art { aspect-ratio: 1.65; position: relative; overflow: hidden; display: flex; align-items: end; padding: 18px; background: linear-gradient(145deg, #215c58, #78aeb0 62%, #f9ddb3); }
.story-art::before { content: ""; position: absolute; width: 65%; aspect-ratio: 1; border: 25px solid rgba(255,255,255,.18); border-radius: 50%; top: -35%; right: -14%; }
.story-art::after { content: ""; position: absolute; width: 75%; height: 140%; background: linear-gradient(45deg,transparent 35%,rgba(255,255,255,.18) 50%,transparent 65%); transform: rotate(20deg); right: -25%; top: -20%; }
.story-art.c-documentary { background: linear-gradient(135deg, #b35742, #e9ad7e 60%, #f5e5ca); }
.story-art.c-creative { background: linear-gradient(135deg, #4a457d, #a99dc4 65%, #f2d5d6); }
.story-art.c-lifestyle { background: linear-gradient(135deg, #3a754b, #a9cc84 65%, #f9e7b8); }
.art-letter { position: relative; z-index: 1; font-weight: 850; font-size: clamp(27px, 3vw, 45px); color: white; letter-spacing: -.07em; text-shadow: 0 3px 20px rgba(0,0,0,.18); }
.story-body { padding: 23px; }
.kicker { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.story h3 { margin: 9px 0 10px; font-size: 19px; line-height: 1.45; }
.story p { font-size: 13px; line-height: 1.9; color: var(--muted); margin: 0; }
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.editorial-img { position: relative; overflow: hidden; border-radius: 24px; }
.editorial-img img { width: 100%; aspect-ratio: 1.5; object-fit: cover; }
.editorial-copy h2 { font-size: clamp(29px,3vw,43px); line-height: 1.3; margin: 16px 0; }
.editorial-copy p { color: var(--muted); line-height: 2; }
.feature-list { display: grid; gap: 13px; margin: 23px 0; }
.feature-list a { display: flex; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding-bottom: 13px; font-weight: 650; }
.banner { background: #ed6c64; color: white; border-radius: 26px; padding: 42px 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.banner h2 { font-size: 30px; margin: 0 0 9px; }
.banner p { margin: 0; max-width: 690px; }
.banner .btn { background: white; color: #a83434; border-color: white; }
.site-footer { background: #18392d; color: #d9e5da; padding: 55px 0 25px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h2 { color: white; font-size: 25px; }
.site-footer h3 { color: white; font-size: 15px; }
.site-footer a { display: block; padding: 3px 0; color: #d9e5da; font-size: 14px; }
.site-footer p { max-width: 530px; font-size: 13px; }
.footer-bottom { border-top: 1px solid #456356; margin-top: 30px; padding-top: 20px; font-size: 12px; color: #c3d2c7; }
.inner-hero { padding: 70px 0 54px; background: linear-gradient(120deg, #eef5e7, #fff3ee); }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--green); }
.inner-hero .section-intro { margin: 16px 0 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 275px; gap: 60px; }
.article-content { font-size: 16px; color: #364b43; }
.article-content h2 { font-size: 25px; color: var(--ink); margin: 36px 0 14px; }
.article-content p { line-height: 2.1; }
.article-content blockquote { border-left: 4px solid var(--red); margin: 27px 0; padding: 18px 22px; background: var(--cream); color: var(--green); }
.aside-box { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); }
.aside-box a { display: block; font-size: 13px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.archive-list { display: grid; gap: 12px; }
.archive-item { display: flex; justify-content: space-between; gap: 20px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.archive-item small { color: var(--muted); }
.search-box { display: flex; gap: 9px; margin-bottom: 25px; }
.search-box input { width: 100%; max-width: 520px; padding: 12px 17px; border: 1px solid #bdd7c4; border-radius: 11px; background: white; }
.empty { display: none; color: var(--muted); }
@media (max-width: 1050px) {
  .header-pill { display: none; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .header-inner { flex-wrap: wrap; padding: 12px 0; }
  .nav { width: 100%; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .container { width: min(100% - 30px, 1200px); }
  .header-inner { min-height: unset; }
  .nav { gap: 8px 16px; font-size: 13px; }
  .hero-grid, .editorial, .article-layout { grid-template-columns: 1fr; }
  .hero-grid { padding: 40px 0 55px; gap: 32px; }
  .hero-image { aspect-ratio: 1.55; }
  .section { padding: 55px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 7px; }
  .stories { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .strip-inner { flex-wrap: wrap; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .banner { padding: 30px; flex-direction: column; align-items: start; }
}
@media (max-width: 520px) {
  h1 { font-size: 37px; }
  .stories, .categories { grid-template-columns: 1fr; }
  .story-art { aspect-ratio: 1.8; }
  .archive-item { flex-direction: column; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .banner h2 { font-size: 26px; }
}
