/* 西瓜视频 · 生活影像志 - original responsive theme */
:root {
  --ink:#243325;
  --muted:#6d796d;
  --green:#1b6d51;
  --lime:#d9ed8b;
  --paper:#fffaf0;
  --line:#e5e9da;
  --radius:20px
}

* {
  box-sizing:border-box
}

html {
  scroll-behavior:smooth
}

body {
  margin:0;
  background:#fffdf7;
  color:var(--ink);
  font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  line-height:1.65
}

a {
  color:inherit;
  text-decoration:none
}

img {
  display:block;
  max-width:100%
}

h1,h2,h3,p {
  margin-top:0
}

button,a {
  -webkit-tap-highlight-color:transparent
}

a:focus-visible {
  outline:3px solid #e8a648;
  outline-offset:4px
}

.wrap {
  max-width:1200px;
  margin-inline:auto;
  padding-inline:28px
}

.skip-link {
  position:absolute;
  top:-100px;
  left:8px;
  background:#fff;
  padding:10px;
  z-index:100
}

.skip-link:focus {
  top:8px
}

.site-header {
  background:#fffdf7;
  border-bottom:1px solid #ecefe5
}

.header-inner {
  height:88px;
  display:flex;
  align-items:center;
  gap:30px
}

.brand {
  display:flex;
  align-items:center;
  gap:10px;
  font-size:24px;
  font-weight:900;
  line-height:1.05;
  white-space:nowrap;
  letter-spacing:-1px
}

.brand-icon {
  display:grid;
  place-items:center;
  background:#e2efb0;
  color:#286847;
  width:45px;
  height:45px;
  border-radius:16px;
  font-size:30px
}

.brand-highlight {
  color:#398365
}

.brand small {
  display:block;
  margin-top:7px;
  color:#879184;
  letter-spacing:2px;
  font-size:10px;
  font-weight:600
}

.nav {
  display:flex;
  align-items:center;
  gap:32px;
  margin:auto;
  font-size:14px;
  font-weight:650
}

.nav a:hover,.text-link:hover {
  color:var(--green)
}

.header-cta {
  font-size:13px;
  font-weight:750;
  padding:11px 18px;
  border:1px solid #ced9c5;
  border-radius:30px;
  white-space:nowrap
}

.hero {
  display:grid;
  grid-template-columns:0.95fr 1.05fr;
  min-height:630px;
  align-items:center;
  gap:25px;
  padding-block:55px 66px
}

.hero-copy {
  position:relative;
  padding:18px 0 8px
}

.eyebrow {
  font-size:11px;
  font-weight:850;
  letter-spacing:2.4px;
  color:#5f8d55;
  text-transform:uppercase
}

.dot {
  display:inline-block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#efb44e;
  margin-right:5px
}

.hero h1 {
  font-size:clamp(46px,5.5vw,76px);
  line-height:1.18;
  letter-spacing:-3px;
  margin:32px 0 25px;
  font-weight:900
}

.hero h1 em {
  color:#2c8c63;
  font-style:normal
}

.hero-lead {
  max-width:460px;
  color:#627065;
  font-size:16px;
  line-height:1.95
}

.hero-actions {
  display:flex;
  align-items:center;
  gap:28px;
  margin-top:30px
}

.button-primary {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  background:#1c6d50;
  color:white;
  font-weight:750;
  font-size:14px;
  padding:14px 24px;
  border-radius:40px;
  transition:background .2s
}

.button-primary:hover {
  background:#124d36
}

.text-link {
  font-weight:750;
  font-size:14px
}

.hero-bottom {
  margin-top:74px;
  display:flex;
  gap:36px;
  font-size:11px;
  letter-spacing:1.5px;
  color:#7c8879
}

.hero-visual {
  height:520px;
  position:relative
}

.hero-img {
  position:absolute;
  overflow:hidden;
  border-radius:26px
}

.hero-img img {
  height:100%;
  width:100%;
  object-fit:cover
}

.main-img {
  height:85%;
  width:76%;
  top:5%;
  left:11%;
  transform:rotate(3deg)
}

.mini-img {
  height:40%;
  width:40%;
  right:0;
  bottom:-2%;
  border:8px solid #fffdf7;
  transform:rotate(-6deg)
}

.hero-sticker {
  position:absolute;
  top:2%;
  left:-1%;
  width:114px;
  height:114px;
  background:#e6f3a0;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.2;
  font-size:18px;
  font-weight:900;
  transform:rotate(-13deg)
}

.hero-sticker b {
  font-size:26px
}

.visual-caption {
  position:absolute;
  left:14%;
  bottom:0;
  background:#fffdf7;
  padding:12px 15px;
  font-size:10px;
  font-weight:800;
  letter-spacing:1px
}

.ticker {
  background:#e7f2bd;
  border-block:1px solid #dbe8a5
}

.ticker-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:15px;
  min-height:62px;
  font-weight:800;
  font-size:13px;
  white-space:nowrap
}

.ticker b {
  color:#93b35b;
  font-size:20px
}

.section-space {
  padding-block:92px
}

.section-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:30px
}

.section-head h2 {
  font-size:clamp(27px,3.2vw,38px);
  line-height:1.25;
  letter-spacing:-1.1px;
  margin:7px 0 9px
}

.section-head p:not(.eyebrow) {
  color:var(--muted);
  font-size:14px;
  margin:0
}

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

.category-tile {
  position:relative;
  display:flex;
  justify-content:space-between;
  flex-direction:column;
  min-height:178px;
  border-radius:18px;
  padding:21px;
  transition:transform .2s,box-shadow .2s;
  overflow:hidden
}

.category-tile:hover {
  transform:translateY(-4px);
  box-shadow:0 12px 22px #24332516
}

.category-num {
  font-size:12px;
  font-weight:800;
  opacity:.68
}

.category-content {
  display:flex;
  flex-direction:column;
  gap:3px
}

.category-content b {
  font-size:25px;
  letter-spacing:-.7px
}

.category-content small {
  font-size:12px;
  opacity:.72
}

.circle-arrow {
  position:absolute;
  right:18px;
  bottom:20px;
  display:grid;
  place-items:center;
  border:1px solid currentColor;
  border-radius:50%;
  height:36px;
  width:36px
}

.category-city {
  background:#dfeade
}

.category-life {
  background:#f9e6cf
}

.category-food {
  background:#f9e1d9
}

.category-travel {
  background:#d8e9e9
}

.category-fun {
  background:#eee4f3
}

.category-ideas {
  background:#e9edc4
}

.feature-band {
  background:#f3f5e9;
  padding-block:86px
}

.feature-layout {
  display:grid;
  grid-template-columns:1.13fr .87fr;
  gap:22px
}

.feature-main {
  height:550px;
  position:relative;
  overflow:hidden;
  border-radius:24px
}

.feature-main>img {
  height:100%;
  width:100%;
  object-fit:cover
}

.feature-main:after {
  content:"";
  position:absolute;
  inset:25% 0 0;
  background:linear-gradient(transparent,#15271ece)
}

.feature-overlay {
  position:absolute;
  bottom:30px;
  left:32px;
  right:32px;
  z-index:1;
  color:#fff;
  display:flex;
  flex-direction:column;
  gap:10px
}

.feature-overlay small {
  font-weight:800;
  letter-spacing:2px
}

.feature-overlay b {
  font-size:32px;
  line-height:1.25
}

.feature-overlay>span {
  font-size:13px;
  max-width:420px;
  opacity:.9
}

.feature-side {
  display:grid;
  grid-template-rows:repeat(3,1fr);
  gap:18px
}

.feature-small {
  display:grid;
  grid-template-columns:154px 1fr;
  gap:19px;
  min-height:0;
  align-items:center;
  background:#fffdf7;
  padding:12px;
  border-radius:18px
}

.feature-small img {
  height:100%;
  max-height:158px;
  width:154px;
  object-fit:cover;
  border-radius:12px
}

.feature-small>span {
  display:flex;
  flex-direction:column;
  align-items:start;
  gap:8px
}

.feature-small small {
  font-size:11px;
  color:#778675
}

.feature-small b {
  font-size:19px;
  line-height:1.45
}

.feature-small em {
  font-style:normal;
  color:#287956;
  font-weight:800;
  font-size:12px
}

.article-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:36px 22px
}

.article-card {
  min-width:0;
  display:block
}

.card-img {
  display:block;
  border-radius:17px;
  overflow:hidden;
  aspect-ratio:1.15;
  background:#e8ecdd
}

.card-img img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s
}

.article-card:hover .card-img img {
  transform:scale(1.04)
}

.card-meta {
  display:flex;
  align-items:center;
  gap:9px;
  color:#6a8269;
  font-size:11px;
  font-weight:700;
  margin-top:16px
}

.card-meta i {
  height:3px;
  width:3px;
  background:#a9b7a2;
  border-radius:50%
}

.article-card h3,.article-card h2 {
  font-size:18px;
  line-height:1.45;
  margin:10px 0;
  font-weight:800
}

.article-card p {
  font-size:12px;
  color:#7c837a;
  line-height:1.8;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden
}

.card-more {
  font-size:12px;
  color:#2e845f;
  font-weight:800
}

.quote-section {
  background:#194c3b;
  color:white
}

.quote-inner {
  min-height:278px;
  display:flex;
  gap:26px;
  align-items:center;
  position:relative;
  overflow:hidden
}

.quote-mark {
  font-size:130px;
  color:#b8d07a;
  line-height:1
}

.quote-inner p {
  font-size:clamp(23px,3vw,35px);
  font-weight:750;
  line-height:1.55;
  margin-bottom:16px
}

.quote-inner div>span {
  font-size:12px;
  color:#b2d2b6
}

.quote-graphic {
  font-size:200px;
  color:#3a7660;
  position:absolute;
  right:60px;
  bottom:-110px
}

.compact-space {
  padding-bottom:55px
}

.mini-story-grid {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px
}

.mini-story-grid a {
  display:flex;
  gap:12px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:15px;
  padding:10px;
  background:white
}

.mini-story-grid img {
  width:72px;
  height:80px;
  object-fit:cover;
  border-radius:10px;
  flex:none
}

.mini-story-grid span {
  display:flex;
  flex-direction:column;
  gap:5px
}

.mini-story-grid small {
  font-size:11px;
  color:#6f9676
}

.mini-story-grid b {
  font-size:13px;
  line-height:1.45
}

.last-cta {
  background:#e6f2bc;
  border-radius:28px;
  text-align:center;
  padding-block:66px;
  margin-block:22px 100px
}

.last-cta>span {
  font-size:11px;
  letter-spacing:2px;
  color:#6a8b65;
  font-weight:800
}

.last-cta h2 {
  font-size:clamp(23px,3.2vw,37px);
  margin:14px 0 26px
}

.site-footer {
  background:#eff1e6;
  padding:66px 0 20px
}

.footer-layout {
  display:grid;
  grid-template-columns:2.3fr repeat(3,1fr);
  gap:60px
}

.footer-layout>div {
  display:flex;
  flex-direction:column;
  gap:11px;
  font-size:13px;
  color:#6b796d
}

.footer-layout strong {
  font-size:14px;
  color:#263c2e;
  margin-bottom:10px
}

.footer-layout p {
  max-width:330px;
  line-height:2
}

.footer-brand {
  font-size:22px;
  font-weight:900;
  color:#205c42
}

.bottom-line {
  display:flex;
  justify-content:space-between;
  border-top:1px solid #dce3d7;
  padding-top:18px;
  margin-top:48px;
  color:#839084;
  font-size:11px
}

.interior-intro {
  padding-block:70px 62px;
  border-bottom:1px solid var(--line)
}

.interior-intro h1 {
  font-size:clamp(38px,5vw,60px);
  line-height:1.2;
  letter-spacing:-2px;
  margin:18px 0
}

.interior-intro>p:last-child {
  max-width:710px;
  color:#748174;
  line-height:1.9
}

.interior-gap {
  padding-top:55px
}

.breadcrumbs {
  font-size:12px;
  color:#91a090
}

.breadcrumbs a:hover {
  color:var(--green)
}

.filter-links {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:38px
}

.filter-links a {
  font-size:12px;
  padding:9px 17px;
  background:#eff2e7;
  border-radius:30px;
  font-weight:750
}

.filter-links .active {
  color:white;
  background:#1b6d51
}

.detail {
  padding-block:32px 100px
}

.detail-header {
  padding:46px 0 38px;
  max-width:820px
}

.detail-header h1 {
  font-size:clamp(35px,4.6vw,58px);
  letter-spacing:-1.7px;
  line-height:1.27;
  margin:20px 0
}

.detail-subtitle {
  font-size:17px;
  color:#607060;
  line-height:1.9
}

.detail-meta {
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  font-size:12px;
  color:#889487;
  margin-top:24px
}

.detail-main {
  display:grid;
  grid-template-columns:minmax(0,1fr) 290px;
  gap:54px
}

.detail-cover {
  margin:0
}

.detail-cover img {
  width:100%;
  max-height:480px;
  object-fit:cover;
  border-radius:20px
}

.detail-cover figcaption {
  font-size:11px;
  color:#9aa69a;
  margin-top:10px
}

.prose {
  font-size:15px;
  line-height:2.15;
  color:#455646
}

.prose .lead {
  font-size:17px;
  color:#364e3d;
  margin-top:36px
}

.prose h2 {
  font-size:27px;
  line-height:1.4;
  color:#233a2c;
  margin:42px 0 18px
}

.prose h3 {
  font-size:19px;
  color:#284c37;
  margin:27px 0 12px
}

.prose p {
  margin-bottom:20px
}

.detail-tags {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:36px
}

.detail-tags a {
  padding:6px 12px;
  border-radius:30px;
  background:#edf3df;
  color:#4b8061;
  font-size:12px
}

.aside-panel {
  padding:25px;
  background:#f2f5eb;
  border-radius:20px
}

.aside-panel h2 {
  font-size:24px
}

.aside-panel>a {
  display:flex;
  gap:12px;
  padding:13px 0;
  border-top:1px solid #dae4d4
}

.aside-panel img {
  height:68px;
  width:68px;
  object-fit:cover;
  border-radius:10px;
  flex:none
}

.aside-panel a>span {
  display:flex;
  flex-direction:column;
  gap:5px
}

.aside-panel small {
  font-size:11px;
  color:#739579
}

.aside-panel b {
  font-size:13px;
  line-height:1.45
}

.aside-note {
  background:#e2ecc3;
  border-radius:18px;
  padding:24px;
  margin-top:20px;
  display:flex;
  flex-direction:column;
  gap:10px
}

.aside-note>span {
  font-size:38px;
  color:#47815c
}

.aside-note p {
  font-size:13px;
  color:#657864
}

.aside-note a {
  font-size:13px;
  font-weight:800
}

.about-content {
  max-width:850px;
  padding-top:70px;
  padding-bottom:100px;
  font-size:16px;
  line-height:2
}

.about-content h2 {
  font-size:27px;
  margin-top:30px
}

.about-content p {
  color:#627161
}

@media(max-width:1000px) {
  .nav {
    gap:18px
  }

  .hero {
    min-height:560px
  }

  .hero h1 {
    font-size:50px
  }

  .hero-visual {
    height:410px
  }

  .feature-small {
    grid-template-columns:110px 1fr
  }

  .feature-small img {
    width:110px
  }

  .feature-small b {
    font-size:16px
  }

  .article-grid {
    grid-template-columns:repeat(3,1fr)
  }

  .mini-story-grid {
    grid-template-columns:repeat(2,1fr)
  }

  .footer-layout {
    gap:30px
  }

}

@media(max-width:760px) {
  .wrap {
    padding-inline:18px
  }

  .header-inner {
    height:auto;
    min-height:75px;
    flex-wrap:wrap;
    gap:8px;
    padding-block:12px
  }

  .brand {
    font-size:21px
  }

  .nav {
    order:3;
    flex-basis:100%;
    justify-content:space-between;
    gap:5px;
    border-top:1px solid var(--line);
    padding-top:10px
  }

  .nav a {
    font-size:12px
  }

  .header-cta {
    margin-left:auto;
    font-size:11px;
    padding:8px 11px
  }

  .hero {
    grid-template-columns:1fr;
    gap:16px;
    padding-block:32px 60px
  }

  .hero h1 {
    font-size:clamp(42px,9.3vw,64px);
    margin:20px 0
  }

  .hero-bottom {
    margin-top:34px
  }

  .hero-visual {
    height:360px
  }

  .main-img {
    width:72%;
    height:92%;
    left:12%
  }

  .mini-img {
    width:38%;
    height:43%
  }

  .hero-sticker {
    width:85px;
    height:85px;
    font-size:14px
  }

  .visual-caption {
    display:none
  }

  .ticker-inner {
    overflow:auto;
    gap:18px;
    min-height:55px
  }

  .ticker-inner span {
    font-size:11px
  }

  .section-space {
    padding-block:60px
  }

  .section-head {
    align-items:start;
    gap:12px
  }

  .section-head h2 {
    font-size:28px
  }

  .section-head>.text-link {
    font-size:12px;
    white-space:nowrap
  }

  .category-grid {
    grid-template-columns:repeat(2,1fr);
    gap:10px
  }

  .category-tile {
    min-height:150px;
    padding:15px
  }

  .category-content b {
    font-size:20px
  }

  .category-content small {
    font-size:10px;
    max-width:140px
  }

  .circle-arrow {
    width:27px;
    height:27px;
    right:12px;
    bottom:13px
  }

  .feature-band {
    padding-block:58px
  }

  .feature-layout {
    grid-template-columns:1fr
  }

  .feature-main {
    height:400px
  }

  .feature-side {
    grid-template-columns:1fr;
    gap:12px
  }

  .feature-small {
    min-height:105px;
    grid-template-columns:110px 1fr
  }

  .feature-small img {
    height:95px
  }

  .article-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:27px 13px
  }

  .article-card h2,.article-card h3 {
    font-size:16px
  }

  .article-card p {
    font-size:11px
  }

  .quote-inner {
    min-height:250px;
    gap:12px
  }

  .quote-mark {
    font-size:90px
  }

  .quote-inner p {
    font-size:21px
  }

  .quote-graphic {
    font-size:120px;
    right:10px;
    bottom:-60px
  }

  .mini-story-grid {
    grid-template-columns:1fr 1fr;
    gap:9px
  }

  .mini-story-grid a {
    gap:8px;
    padding:7px
  }

  .mini-story-grid img {
    width:48px;
    height:65px
  }

  .mini-story-grid b {
    font-size:11px
  }

  .mini-story-grid small {
    font-size:9px
  }

  .last-cta {
    border-radius:0;
    margin-block:10px 65px
  }

  .footer-layout {
    grid-template-columns:repeat(2,1fr);
    gap:24px
  }

  .footer-layout>div:first-child {
    grid-column:span 2
  }

  .bottom-line {
    gap:12px;
    flex-wrap:wrap
  }

  .interior-intro {
    padding-block:45px
  }

  .detail-main {
    grid-template-columns:1fr;
    gap:40px
  }

  .detail-header {
    padding:28px 0
  }

  .detail-header h1 {
    font-size:35px
  }

  .detail-subtitle {
    font-size:15px
  }

  .detail-cover img {
    max-height:380px
  }

  .aside-panel {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px
  }

  .aside-panel .eyebrow,.aside-panel h2 {
    grid-column:span 2
  }

  .aside-panel>a {
    display:block
  }

  .aside-panel img {
    width:100%;
    height:100px
  }

  .aside-panel a>span {
    margin-top:8px
  }

  .aside-note {
    display:none
  }

}

@media(max-width:390px) {
  .hero-visual {
    height:310px
  }

  .hero h1 {
    font-size:40px
  }

  .hero-actions {
    gap:15px
  }

  .button-primary {
    padding:12px 17px
  }

  .article-grid {
    gap:24px 10px
  }

  .category-content b {
    font-size:18px
  }

  .mini-story-grid {
    grid-template-columns:1fr
  }

  .mini-story-grid img {
    width:75px
  }

}

/* 2026-11 首页布局修订：统一间距、图片尺寸与小屏防溢出 */
html {
  overflow-x: clip;
}

body {
  min-width: 320px;
}

main, section, header, footer {
  min-width: 0;
}

.hero-copy, .hero-visual, .feature-side, .feature-small > span,
.article-card, .section-head > div {
  min-width: 0;
}

img {
  height: auto;
}

.hero-img img, .card-img img, .feature-main img, .feature-small img,
.mini-story-grid img, .detail-cover img, .aside-panel img {
  height: 100%;
}

.nav a[aria-current="page"] {
  color: var(--green);
}

.article-card h3, .feature-small b {
  overflow-wrap: anywhere;
}

.section-head {
  flex-wrap: wrap;
}

.hero-sticker {
  pointer-events: none;
}

@media (max-width: 760px) {
  .section-head > .text-link {
    white-space: normal;
  }

  .header-inner {
    align-items: center;
  }

  .feature-small {
    grid-template-columns: minmax(90px, 110px) minmax(0, 1fr);
  }

  .article-grid {
    align-items: start;
  }

  .card-img {
    aspect-ratio: 4 / 3;
  }

  .detail-main {
    min-width: 0;
  }

}

@media (max-width: 430px) {
  .nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 19px;
    row-gap: 8px;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .section-head {
    flex-direction: column;
  }

  .section-head > .text-link {
    align-self: flex-start;
  }

  .footer-layout {
    gap: 20px;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

}
