/* 糖心vlog入口 · 暖时光生活志 | readable, mobile-first CSS */
:root {
  --ink: #293329;
  --muted: #68736b;
  --forest: #284f44;
  --forest-dark: #1c3932;
  --accent: #c3755d;
  --paper: #f9f8f3;
  --cream: #f1efe5;
  --line: #e2e3d9;
  --white: #fff;
  --shadow: 0 18px 48px rgba(31, 57, 47, .08);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.85 system-ui, -apple-system, 'Microsoft YaHei', sans-serif;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
button {
  font: inherit;
}
:focus-visible {
  outline: 3px solid #c3755d;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: #fff;
  padding: 7px 14px;
}
.skip-link:focus {
  top: 12px;
}
.container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 89px;
  display: flex;
  gap: 26px;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  line-height: 1.25;
}
.brand-symbol {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 25px;
  background: var(--forest);
}
.brand strong {
  display: block;
  font-size: 21px;
  letter-spacing: .06em;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  margin-top: 5px;
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.site-nav a {
  font-size: 14px;
  font-weight: 650;
  padding: 7px 13px;
  border-radius: 20px;
  white-space: nowrap;
}
.site-nav a[aria-current='page'], .site-nav a:hover {
  background: #e5eae3;
  color: var(--forest);
}
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 5px 12px;
  cursor: pointer;
}
.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.home-hero {
  padding: 54px 0 36px;
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 7%;
}
.hero-copy {
  padding: 30px 0;
  min-width: 0;
}
.hero-copy h1 {
  font-size: clamp(36px, 4.25vw, 59px);
  font-weight: 800;
  line-height: 1.29;
  letter-spacing: -.03em;
  margin: 18px 0 21px;
}
.hero-copy h1 span {
  color: var(--accent);
}
.hero-copy p {
  color: #626f65;
  font-size: 16px;
  line-height: 2.05;
  max-width: 520px;
}
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 36px;
  background: var(--forest);
  color: #fff;
  font-weight: 700;
  padding: 12px 25px;
  margin-top: 14px;
}
.cta:hover {
  background: var(--forest-dark);
  color: #fff;
}
.hero-art {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 250px 184px;
  gap: 12px;
  min-width: 0;
}
.hero-art img {
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
}
.hero-art .hero-large {
  grid-row: 1/3;
}
.hero-art::after {
  content: 'MEMORY  /  2026';
  position: absolute;
  right: -14px;
  bottom: 24px;
  background: #fef8e9;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  padding: 10px 16px;
  transform: rotate(-4deg);
  box-shadow: var(--shadow);
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  color: var(--muted);
  font-size: 13px;
  margin-top: 30px;
}
.stats b {
  color: var(--forest);
  font-size: 22px;
  margin-right: 7px;
}
.ticker {
  background: var(--forest);
  color: #e9eee7;
}
.ticker-inner {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  font-size: 13px;
}
.ticker b {
  color: #fff;
}
.section {
  padding: 72px 0 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-heading h2 {
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.4;
  margin: 4px 0 0;
}
.section-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--forest);
}
.topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.topic {
  padding: 24px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  min-height: 174px;
  transition: transform .2s;
}
.topic:hover {
  transform: translateY(-3px);
}
.topic .topic-icon {
  font-size: 27px;
  color: var(--accent);
}
.topic strong {
  display: block;
  font-size: 18px;
  margin: 8px 0 4px;
}
.topic span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.featured {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr);
  gap: 20px;
}
.feature-main, .feature-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.feature-main img {
  aspect-ratio: 16/9;
  object-fit: cover;
}
.feature-main .feature-copy {
  padding: 23px 27px 27px;
}
.feature-main h3 {
  font-size: 24px;
  line-height: 1.45;
  margin: 8px 0;
}
.feature-main p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}
.feature-side {
  display: grid;
  grid-template-rows: 225px 1fr;
}
.feature-side img {
  height: 225px;
  object-fit: cover;
}
.feature-side .feature-copy {
  padding: 23px;
}
.feature-side h3 {
  margin: 8px 0;
  font-size: 20px;
  line-height: 1.55;
}
.feature-side p {
  color: var(--muted);
  font-size: 14px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.story-card {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  min-width: 0;
}
.story-card img {
  aspect-ratio: 5/3.3;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 15px;
}
.card-meta {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.story-card h3 {
  margin: 6px 0 8px;
  line-height: 1.5;
  font-size: 18px;
}
.story-card p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  line-height: 1.9;
}
.statement {
  margin-top: 85px;
  background: #e6ece5;
  padding: 65px 0;
}
.statement-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.statement h2 {
  margin: 5px 0 16px;
  font-size: 31px;
  line-height: 1.5;
}
.statement p {
  color: #596960;
  margin: 0 0 18px;
}
.statement img {
  border-radius: 13px;
  aspect-ratio: 5/3.6;
  object-fit: cover;
}
.site-footer {
  margin-top: 80px;
  background: #203c33;
  color: #e6eee7;
}
.footer-inner {
  padding: 45px 0 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
}
.footer-inner strong {
  font-size: 20px;
}
.footer-inner p {
  color: #bacac0;
  font-size: 13px;
  max-width: 590px;
}
.footer-nav {
  display: flex;
  gap: 17px;
  flex-wrap: wrap;
  align-content: start;
  font-size: 13px;
}
.footer-bottom {
  border-top: 1px solid #436054;
  padding: 14px 0 23px;
  color: #a3b6a9;
  font-size: 12px;
}
/* Detail pages */
.breadcrumb {
  padding: 27px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumb a {
  color: var(--forest);
}
.detail {
  padding-top: 20px;
}
.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 58px;
  align-items: start;
}
.article-title {
  font-size: clamp(29px,3.3vw,45px);
  line-height: 1.35;
  margin: 9px 0 19px;
}
.article-lead {
  color: #63736a;
  font-size: 18px;
  border-left: 4px solid var(--accent);
  padding-left: 19px;
  margin: 0 0 25px;
}
.article-hero {
  width: 100%;
  aspect-ratio: 16/8.2;
  object-fit: cover;
  border-radius: 15px;
  margin: 25px 0 32px;
}
.article-body h2 {
  font-size: 24px;
  line-height: 1.5;
  margin: 38px 0 14px;
  color: var(--forest);
}
.article-body p {
  font-size: 16px;
  line-height: 2.15;
  margin: 0 0 18px;
}
.article-body .closing {
  padding: 19px 24px;
  background: #e9efe8;
  border-radius: 12px;
  margin: 34px 0;
}
.article-meta {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}
.sidebar {
  background: #eef1e9;
  padding: 23px;
  border-radius: 14px;
  position: sticky;
  top: 25px;
}
.sidebar h2 {
  font-size: 19px;
  margin: 0 0 15px;
}
.sidebar a {
  display: block;
  border-top: 1px solid #d7e0d5;
  padding: 12px 0;
  font-size: 14px;
  line-height: 1.7;
}
.related {
  margin-top: 40px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
}
.related h2 {
  font-size: 22px;
}
.related ul {
  padding-left: 22px;
}
.related li {
  margin-bottom: 9px;
}
@media (max-width: 1050px) {
  .header-inner {
    gap: 10px;
  }
  .site-nav a {
    padding: 7px 8px;
    font-size: 13px;
  }
  .hero-layout {
    gap: 30px;
  }
  .hero-art {
    grid-template-rows: 195px 140px;
  }
  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 30px;
  }
}
@media (max-width: 760px) {
  .container {
    width: min(100% - 32px, 590px);
  }
  .header-inner {
    min-height: 75px;
    flex-wrap: wrap;
  }
  .brand strong {
    font-size: 19px;
  }
  .nav-toggle {
    display: block;
    margin-left: auto;
  }
  .site-nav {
    display: none;
    flex-basis: 100%;
    justify-content: flex-start;
    padding: 0 0 14px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    font-size: 14px;
  }
  .home-hero {
    padding: 26px 0 20px;
  }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero-copy h1 {
    font-size: clamp(31px,8.5vw,46px);
  }
  .hero-copy p {
    font-size: 14px;
  }
  .hero-art {
    grid-template-rows: 190px 145px;
  }
  .hero-art::after {
    right: 4px;
  }
  .ticker-inner {
    flex-direction: column;
    gap: 2px;
  }
  .section {
    padding-top: 50px;
  }
  .topics {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .topic {
    padding: 17px;
    min-height: 155px;
  }
  .featured, .statement-inner, .footer-inner, .detail-layout {
    grid-template-columns: 1fr;
  }
  .feature-side {
    grid-template-rows: auto auto;
  }
  .feature-side img {
    height: auto;
    aspect-ratio: 16/9;
  }
  .article-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
  }
  .statement {
    margin-top: 55px;
    padding: 45px 0;
  }
  .statement-inner {
    gap: 24px;
  }
  .sidebar {
    position: static;
  }
  .footer-inner {
    gap: 12px;
  }
  .article-hero {
    aspect-ratio: 16/10;
  }
}
@media (max-width: 440px) {
  .hero-art {
    grid-template-rows: 160px 119px;
  }
  .hero-copy h1 {
    font-size: 31px;
  }
  .stats {
    gap: 12px;
  }
  .stats b {
    font-size: 18px;
  }
  .topics, .article-grid {
    grid-template-columns: 1fr;
  }
  .topic {
    min-height: 0;
  }
  .section-heading {
    align-items: start;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .feature-main h3 {
    font-size: 21px;
  }
  .feature-main .feature-copy {
    padding: 20px;
  }
}

/* Final layout safeguards: narrow screens, long text, and accessible motion. */
.hero-art { isolation: isolate; }
.hero-art::after { max-width: calc(100% - 12px); }
.hero-copy, .feature-main, .feature-side, .story-card, .section-heading > * { min-width: 0; }
.story-card h3, .feature-copy h3, .article-title { overflow-wrap: anywhere; }
.story-card img, .feature-main img, .feature-side img { background: #e8e8dd; }
.story-card img { aspect-ratio: 5 / 3.3; }
@media (max-width: 760px) {
  .site-nav { width: 100%; }
  .site-nav a { min-height: 40px; display: inline-flex; align-items: center; }
  .section-heading { flex-wrap: wrap; }
}
@media (max-width: 440px) {
  .hero-art { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-art::after { right: 0; bottom: 8px; transform: none; }
  .stats { gap: 8px 16px; }
  .feature-copy, .story-card { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topic { transition: none; }
}
