/* 糖心视频：暖杏情感影像志 / 原创响应式样式 */
:root {
  --ink:#302829;
  --muted:#766f6f;
  --accent:#a85260;
  --soft:#fff9f4;
  --cream:#fbf0e8;
  --line:#e8ddd6;
  --white:#fff;
  --dark:#433139;
  --radius:19px;
  --wrap:1200px
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  background:var(--soft);
  color:var(--ink);
  font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.75
}
img {
  display:block;
  max-width:100%
}
a {
  color:inherit;
  text-decoration:none
}
a:hover {
  color:var(--accent)
}
p {
  margin:0 0 1.1em
}
h1,h2,h3 {
  line-height:1.34;
  letter-spacing:-.035em
}
h1,h2,h3 {
  margin:0
}
h1,h2 {
  font-weight:750
}
.container {
  width:min(calc(100% - 64px),var(--wrap));
  margin:auto
}
.skip {
  position:absolute;
  top:-120px;
  left:10px;
  background:white;
  padding:12px;
  z-index:20
}
.skip:focus {
  top:10px
}
.site-header {
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(255,249,244,.96);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line)
}
.header-inner {
  min-height:86px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px
}
.brand {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:24px;
  font-weight:800;
  line-height:1.1;
  white-space:nowrap
}
.brand:hover {
  color:var(--ink)
}
.brand-symbol {
  background:var(--accent);
  color:white;
  border-radius:50%;
  width:42px;
  height:42px;
  text-align:center;
  line-height:42px;
  font-size:30px
}
.brand small {
  font-size:9px;
  letter-spacing:.19em;
  display:block;
  color:#ab9291;
  margin-top:6px
}
.nav {
  display:flex;
  gap:22px;
  align-items:center;
  flex-wrap:wrap;
  font-size:13px;
  font-weight:600
}
.nav a {
  padding:10px 0
}
.nav a[aria-current] {
  color:var(--accent);
  border-bottom:2px solid var(--accent)
}
.hero {
  min-height:610px;
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:54px;
  align-items:center;
  padding-top:70px;
  padding-bottom:95px
}
.stamp,.section-kicker,.eyebrow {
  color:var(--accent);
  letter-spacing:.12em;
  font-size:12px;
  font-weight:750
}
.stamp span {
  margin:0 9px
}
.hero h1 {
  font-size:clamp(45px,5.15vw,76px);
  line-height:1.18;
  margin:24px 0 22px
}
.hero h1 em {
  font-style:normal;
  color:var(--accent)
}
.hero-copy>p {
  font-size:15px;
  color:var(--muted);
  max-width:535px;
  line-height:2
}
.hero-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:22px;
  margin-top:29px
}
.primary-btn,.outline-btn {
  display:inline-flex;
  align-items:center;
  gap:30px;
  padding:13px 25px;
  border-radius:999px;
  font-weight:700;
  font-size:14px
}
.primary-btn {
  background:var(--accent);
  color:#fff
}
.primary-btn:hover {
  background:#83404e;
  color:#fff
}
.ghost-btn {
  font-size:14px;
  font-weight:700
}
.hero-note {
  font-size:12px;
  color:var(--muted);
  margin-top:36px
}
.line-dot {
  display:inline-block;
  width:7px;
  height:7px;
  background:var(--accent);
  border-radius:50%;
  margin-right:8px
}
.hero-art {
  min-height:490px;
  position:relative;
  padding:20px 46px 45px 25px
}
.hero-main-img {
  width:100%;
  height:420px;
  object-fit:cover;
  object-position:center;
  border-radius:180px 180px 18px 18px;
  box-shadow:0 20px 60px #84594c24
}
.hero-secondary {
  position:absolute;
  bottom:5px;
  left:-45px;
  width:39%;
  height:175px;
  object-fit:cover;
  border:8px solid var(--soft);
  border-radius:14px 80px 14px 14px
}
.hero-script {
  position:absolute;
  right:-4px;
  bottom:25px;
  writing-mode:vertical-rl;
  letter-spacing:.07em;
  color:var(--accent);
  font-family:Georgia,serif;
  font-style:italic
}
.hero-figure {
  position:absolute;
  right:14px;
  top:0;
  font-size:11px;
  color:var(--muted)
}
.section {
  padding-top:78px;
  padding-bottom:78px
}
.section-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:31px
}
.section-heading h2 {
  font-size:clamp(26px,3vw,38px);
  margin-top:11px
}
.section-heading>p {
  font-size:13px;
  color:var(--muted);
  max-width:290px;
  margin:0
}
.theme-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px
}
.theme-card {
  position:relative;
  overflow:hidden;
  min-height:365px;
  border-radius:var(--radius);
  background:#d5a7a1;
  color:#fff
}
.theme-card img {
  width:100%;
  height:365px;
  object-fit:cover;
  transition:transform .5s
}
.theme-card:hover img {
  transform:scale(1.04)
}
.theme-card::after {
  content:"";
  position:absolute;
  inset:30% 0 0;
  background:linear-gradient(transparent,#281b28c9)
}
.theme-card:hover {
  color:white
}
.theme-num {
  position:absolute;
  z-index:1;
  top:19px;
  left:19px;
  font-size:10px;
  letter-spacing:.12em;
  background:#342b3070;
  border:1px solid #fff6;
  padding:5px 12px;
  border-radius:50px
}
.theme-overlay {
  position:absolute;
  z-index:1;
  left:23px;
  right:23px;
  bottom:23px
}
.theme-overlay strong {
  display:block;
  font-size:25px
}
.theme-overlay small {
  display:block;
  font-size:12px;
  line-height:1.7;
  max-width:90%;
  opacity:.9;
  margin-top:6px
}
.arrow-circle {
  display:grid;
  place-items:center;
  border:1px solid #fff8;
  border-radius:50%;
  width:34px;
  height:34px;
  margin-top:18px
}
.feature-section {
  background:#f6eae3
}
.feature-grid,.story-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px
}
.story-card {
  min-width:0
}
.story-image {
  display:block;
  overflow:hidden;
  border-radius:16px;
  background:#e9d1c6
}
.story-image img {
  width:100%;
  aspect-ratio:1.46;
  object-fit:cover;
  transition:transform .45s
}
.story-image:hover img {
  transform:scale(1.035)
}
.story-content {
  padding:18px 2px 6px
}
.story-content h3 {
  font-size:19px;
  margin:6px 0 9px
}
.story-content p {
  font-size:13px;
  color:var(--muted);
  line-height:1.8;
  margin:0 0 12px;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden
}
.eyebrow {
  font-size:11px
}
.text-link {
  font-size:12px;
  font-weight:750;
  color:var(--accent)
}
.story-card-wide {
  grid-column:span 2;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:20px;
  background:#fff;
  border-radius:18px;
  overflow:hidden
}
.story-card-wide .story-image,.story-card-wide .story-image img {
  height:100%;
  border-radius:0
}
.story-card-wide .story-image img {
  aspect-ratio:auto
}
.story-card-wide .story-content {
  padding:30px 20px 22px 0;
  align-self:center
}
.story-card-wide h3 {
  font-size:29px
}
.center-action {
  text-align:center;
  margin-top:42px
}
.outline-btn {
  border:1px solid #cdaeb0;
  color:var(--accent)
}
.outline-btn:hover {
  background:#a85260;
  color:#fff
}
.quote-band {
  background:#6b464e;
  color:#fff;
  text-align:center;
  padding:64px 0
}
.quote-inner>span {
  font-size:28px;
  color:#eed1c3
}
.quote-inner blockquote {
  font-family:Georgia,"Noto Serif SC","Songti SC",serif;
  font-size:clamp(22px,3vw,36px);
  line-height:1.8;
  margin:12px 0 20px
}
.quote-inner p {
  font-size:12px;
  letter-spacing:.13em;
  color:#e7d0ce
}
.editorial {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center
}
.editorial-image img {
  width:100%;
  height:385px;
  object-fit:cover;
  border-radius:150px 16px 16px 16px
}
.editorial-copy h2 {
  font-size:38px;
  margin:16px 0 18px
}
.editorial-copy p {
  color:var(--muted);
  max-width:420px
}
.site-footer {
  background:#30292c;
  color:#f8ebe7;
  padding:55px 0 24px;
  margin-top:55px
}
.footer-inner {
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:start
}
.footer-inner strong {
  font-size:18px
}
.footer-inner p {
  color:#cbbab7;
  font-size:13px;
  margin-top:10px;
  max-width:480px
}
.footer-links {
  display:flex;
  gap:20px;
  font-size:13px
}
.fine-print {
  border-top:1px solid #ffffff1f;
  padding-top:21px;
  color:#c3b2af;
  font-size:12px;
  margin-top:38px
}
.page-hero {
  padding-top:58px;
  padding-bottom:50px
}
.crumb {
  font-size:12px;
  color:#8d7c7b;
  margin-bottom:28px
}
.crumb span {
  margin:0 8px;
  color:#c6b0ae
}
.page-hero h1 {
  font-size:clamp(31px,4vw,48px);
  margin:12px 0 22px
}
.page-hero p {
  max-width:760px;
  color:var(--muted);
  font-size:15px;
  line-height:2
}
.inner-section {
  padding-top:15px
}
.topic-intro {
  background:#f6eae3;
  padding:28px 32px;
  border-radius:16px;
  margin-bottom:34px
}
.topic-intro h2 {
  font-size:23px;
  margin-bottom:10px
}
.topic-intro p {
  font-size:14px;
  color:var(--muted);
  margin:0
}
.back-row {
  margin-top:35px
}
.detail-hero {
  padding-top:54px
}
.detail-heading {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:24px;
  margin-bottom:32px
}
.detail-heading h1 {
  font-size:clamp(35px,4.4vw,57px);
  margin:13px 0 14px
}
.detail-lead {
  font-size:16px;
  color:var(--muted);
  max-width:720px
}
.detail-meta {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:20px
}
.detail-meta span {
  font-size:12px;
  background:#f4e8e2;
  padding:6px 13px;
  border-radius:50px;
  color:#8b5b5d
}
.detail-number {
  font-family:Georgia,serif;
  font-size:68px;
  color:#d3b3ac;
  line-height:1
}
.detail-number small {
  font-size:16px
}
.detail-cover {
  width:100%;
  height:485px;
  object-fit:cover;
  border-radius:22px
}
.detail-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 285px;
  gap:78px;
  padding-top:58px
}
.detail-article {
  max-width:780px
}
.detail-article h2 {
  font-size:25px;
  margin:36px 0 14px
}
.detail-article h3 {
  font-size:20px;
  margin:24px 0 10px
}
.detail-article p {
  font-size:15px;
  color:#61595a;
  line-height:2.12
}
.detail-article a {
  color:var(--accent);
  text-decoration:underline
}
.article-note {
  font-size:12px;
  color:#a16b70;
  background:#f8eee9;
  padding:13px 17px;
  border-left:3px solid var(--accent)
}
.aside-panel {
  background:#f6eae3;
  padding:24px;
  border-radius:16px;
  margin-bottom:20px
}
.aside-panel h2 {
  font-size:18px;
  margin:10px 0
}
.aside-panel p {
  font-size:13px;
  color:var(--muted)
}
.related {
  padding-bottom:40px
}
.about-layout {
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:70px;
  align-items:start;
  padding:25px 0 65px
}
.about-layout h2 {
  font-size:24px;
  margin:0 0 12px
}
.about-layout p {
  color:var(--muted);
  line-height:2;
  margin-bottom:28px
}
.about-layout img {
  width:100%;
  border-radius:18px;
  object-fit:cover;
  max-height:450px
}
@media(max-width:1050px) {
  .header-inner {
    align-items:flex-start;
    flex-direction:column;
    padding:18px 0;
    gap:10px
  }
  .nav {
    gap:17px
  }
  .hero {
    grid-template-columns:1fr 1fr;
    gap:25px
  }
  .theme-grid,.feature-grid,.story-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .story-card-wide {
    grid-column:span 2
  }
  .detail-layout {
    gap:32px
  }
}
@media(max-width:700px) {
  .container {
    width:min(calc(100% - 34px),var(--wrap))
  }
  .site-header {
    position:static
  }
  .header-inner {
    min-height:70px
  }
  .brand {
    font-size:21px
  }
  .brand-symbol {
    width:35px;
    height:35px;
    line-height:35px
  }
  .nav {
    width:100%;
    flex-wrap:nowrap;
    overflow-x:auto;
    gap:17px;
    white-space:nowrap;
    padding-bottom:5px
  }
  .nav a {
    font-size:12px
  }
  .hero {
    display:flex;
    flex-direction:column;
    gap:18px;
    padding-top:38px;
    padding-bottom:40px
  }
  .hero h1 {
    font-size:clamp(38px,11vw,56px)
  }
  .hero-copy>p {
    font-size:14px
  }
  .hero-art {
    width:100%;
    min-height:350px;
    padding:4px 25px 30px 22px
  }
  .hero-main-img {
    height:340px
  }
  .hero-secondary {
    left:-4px;
    height:125px
  }
  .hero-script {
    right:0
  }
  .section {
    padding-top:49px;
    padding-bottom:49px
  }
  .section-heading {
    display:block
  }
  .section-heading h2 {
    font-size:27px
  }
  .section-heading>p {
    margin-top:10px
  }
  .theme-grid,.feature-grid,.story-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:15px
  }
  .theme-card,.theme-card img {
    height:290px;
    min-height:290px
  }
  .theme-overlay {
    left:13px;
    right:13px;
    bottom:15px
  }
  .theme-overlay strong {
    font-size:20px
  }
  .theme-overlay small {
    font-size:11px
  }
  .story-content h3 {
    font-size:16px
  }
  .story-content p {
    font-size:12px
  }
  .story-card-wide {
    display:block;
    grid-column:span 2
  }
  .story-card-wide .story-image img {
    height:auto;
    aspect-ratio:1.7
  }
  .story-card-wide .story-content {
    padding:18px
  }
  .story-card-wide h3 {
    font-size:24px
  }
  .editorial {
    grid-template-columns:1fr;
    gap:22px
  }
  .editorial-image img {
    height:280px
  }
  .editorial-copy h2 {
    font-size:29px
  }
  .footer-inner {
    display:block
  }
  .footer-links {
    flex-wrap:wrap;
    margin-top:24px
  }
  .detail-cover {
    height:280px
  }
  .detail-number {
    display:none
  }
  .detail-layout {
    grid-template-columns:1fr;
    gap:24px
  }
  .detail-article h2 {
    font-size:22px
  }
  .detail-article p {
    font-size:14px
  }
  .detail-aside {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px
  }
  .aside-panel {
    margin-bottom:0
  }
  .about-layout {
    grid-template-columns:1fr;
    gap:14px
  }
  .page-hero {
    padding-top:38px
  }
  .page-hero h1 {
    font-size:31px
  }
}
@media(max-width:430px) {
  .theme-grid {
    grid-template-columns:1fr 1fr;
    gap:10px
  }
  .theme-card,.theme-card img {
    height:250px;
    min-height:250px
  }
  .theme-overlay small {
    display:none
  }
  .story-grid,.feature-grid {
    gap:13px
  }
  .story-content {
    padding-top:12px
  }
  .detail-aside {
    grid-template-columns:1fr
  }
  .hero-main-img {
    height:290px
  }
  .hero-art {
    min-height:300px
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  *,*::before,*::after {
    transition:none!important
  }
}
/* 2026-11: page quality and readability refinements */
:focus-visible {
  outline: 3px solid #a85260;
  outline-offset: 4px;
}
html {
  overflow-x: clip;
}
body {
  overflow-wrap: break-word;
}
main {
  display: block;
}
.story-card, .theme-card {
  min-width: 0;
}
.story-content h3 a {
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}
.story-content h3 a:hover {
  text-decoration: underline;
}
.hero-main-img {
  aspect-ratio: 20 / 13;
}
.hero-secondary {
  aspect-ratio: 16 / 9;
}
@media (max-width: 700px) {
  .hero h1 {
    line-height: 1.24;
  }
  .hero-art {
    padding-left: 12px;
    padding-right: 28px;
  }
  .hero-secondary {
    left: 0;
  }
  .theme-overlay strong {
    font-size: clamp(16px, 4.8vw, 20px);
  }
  .story-content h3 {
    overflow-wrap: anywhere;
  }
  .footer-links {
    row-gap: 10px;
  }
}
@media (max-width: 430px) {
  .hero-art {
    width: 100%;
  }
  .theme-overlay {
    left: 12px;
    right: 10px;
  }
  .story-content h3 {
    font-size: 15px;
  }
}
