/* 桃花视频 · 浮光映画：可维护版样式，按组件分组 */
:root {
  --ink: #3e2635;
  --rose: #a33d68;
  --pink: #e86c98;
  --paper: #fffaf8;
  --line: #ecdde2;
  --muted: #786b75;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 system-ui,-apple-system,"Microsoft YaHei",sans-serif;
}

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

a:hover {
  color: var(--rose);
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.container {
  width: min(1160px,calc(100% - 40px));
  margin: auto;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 19px 0;
}

.brand {
  font-size: 27px;
  font-weight: 800;
  color: var(--rose);
  letter-spacing: 2px;
}

.brand small {
  display: block;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--muted);
  font-weight: 500;
}

.top p {
  color: var(--muted);
  font-size: 14px;
}

.nav {
  border-top: 1px solid var(--line);
}

.nav .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

.nav a {
  padding: 12px 21px;
  font-size: 14px;
}

.nav a:hover,.nav a[aria-current=page] {
  background: #fce7ee;
  color: #9a2956;
}

.hero {
  background: linear-gradient(100deg,#442c42 0%,#82465f 50%,#cf8698 100%);
  color: white;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: 400px;
}

.hero-copy {
  padding: 65px 32px 65px 0;
  align-self: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 4px;
  color: #ffd5e4;
}

.hero h1 {
  font-size: clamp(35px,5vw,64px);
  line-height: 1.18;
  margin: 16px 0 20px;
  font-family: serif;
}

.hero p {
  max-width: 590px;
  color: #fff0f5;
}

.hero-art {
  position: relative;
}

.hero-art img {
  object-position: center top;
  mask-image: linear-gradient(to right,transparent,#000 30%);
}

.cta {
  display: inline-block;
  margin-top: 20px;
  background: #fff;
  color: #883757;
  border-radius: 50px;
  padding: 9px 24px;
  font-weight: 700;
}

.section {
  padding: 52px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading h2 {
  font-size: 28px;
  margin: 0;
}

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

.categories {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 13px;
  margin-top: -32px;
  position: relative;
}

.category {
  background: white;
  border: 1px solid var(--line);
  padding: 18px 21px;
  box-shadow: 0 9px 24px #442c4210;
  border-radius: 8px;
}

.category strong {
  display: block;
  color: var(--rose);
  font-size: 17px;
}

.category span {
  font-size: 13px;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 20px;
}

.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.feature img {
  height: 190px;
}

.feature:first-child {
  grid-row: span 2;
}

.feature:first-child img {
  height: 440px;
}

.feature-content {
  padding: 18px;
}

.feature h3 {
  margin: 0 0 7px;
  font-size: 19px;
  line-height: 1.5;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.feature .tag {
  font-size: 12px;
  color: var(--rose);
  font-weight: 700;
}

.editorial {
  background: #f8eef1;
}

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

.editorial-card {
  background: white;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.editorial-card img {
  height: 170px;
}

.editorial-card div {
  padding: 17px;
}

.editorial-card h3 {
  margin: 0 0 5px;
}

.editorial-card p {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.about img {
  height: 310px;
  border-radius: 10px;
}

.article-wrap {
  display: grid;
  grid-template-columns: minmax(0,1fr) 270px;
  gap: 55px;
  padding: 44px 0 80px;
}

.article h1 {
  font-size: clamp(28px,4vw,42px);
  line-height: 1.35;
}

.article h2 {
  font-size: 24px;
  margin-top: 38px;
}

.article p {
  color: #544750;
}

.article-cover {
  height: 350px;
  border-radius: 9px;
  margin: 24px 0;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
}

.sidebar {
  border-left: 1px solid var(--line);
  padding-left: 25px;
}

.sidebar h2 {
  font-size: 19px;
}

.sidebar a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.site-footer {
  background: #422c3b;
  color: #f6e5ec;
  padding: 38px 0;
}

.site-footer p {
  font-size: 13px;
  color: #dbc6d1;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 14px;
}

@media (max-width:850px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .hero-art {
    display: none;
  }
  .hero-copy {
    padding: 50px 0;
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature:first-child {
    grid-row: auto;
    grid-column: span 2;
  }
  .feature:first-child img {
    height: 260px;
  }
  .article-wrap {
    grid-template-columns: 1fr;
  }
  .sidebar {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }
  .about {
    grid-template-columns: 1fr;
  }
}

@media (max-width:580px) {
  .container {
    width: min(100% - 28px,1160px);
  }
  .top {
    display: block;
  }
  .top p {
    margin: 4px 0 0;
  }
  .nav a {
    padding: 9px 12px;
  }
  .categories,.editorial-grid,.feature-grid {
    grid-template-columns: 1fr;
  }
  .feature:first-child {
    grid-column: auto;
  }
  .feature:first-child img {
    height: 220px;
  }
  .feature img {
    height: 220px;
  }
  .section {
    padding: 36px 0;
  }
  .section-heading {
    display: block;
  }
  .section-heading h2 {
    font-size: 24px;
  }
  .hero h1 {
    font-size: 38px;
  }
  .article-cover {
    height: 220px;
  }
}

