/* 绿帽社 · 都市情感杂志 | 独立响应式样式 */
:root {
    --paper: #f7f3ed;
    --surface: #fffdf9;
    --ink: #20352e;
    --muted: #52615b;
    --green: #214f40;
    --peach: #efc4ae;
    --line: #dedbd1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; font-size: 16px; line-height: 1.75; }
a { color: inherit; text-decoration: none; }
a:hover { color: #356c55; }
a:focus-visible { outline: 3px solid #ae674b; outline-offset: 4px; }
img { display: block; width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.35; }
.wrap { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 16px; z-index: 9; padding: 12px; background: white; }
.skip:focus { top: 8px; }
.masthead { background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar { display: flex; align-items: center; justify-content: space-between; padding-block: 25px; }
.brand { display: flex; gap: 13px; align-items: center; font-size: 27px; font-weight: 800; letter-spacing: 2px; line-height: 1.1; }
.brand small { display: block; margin-top: 7px; font-size: 11px; letter-spacing: 2px; color: var(--muted); font-weight: 500; }
.brand-mark { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50% 50% 50% 10%; color: white; background: var(--green); font-size: 23px; }
.motto { color: var(--muted); font-size: 13px; letter-spacing: 2px; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 32px; border-top: 1px solid var(--line); padding-block: 13px; font-size: 14px; font-weight: 600; }
.home { padding-block: 40px 64px; }
.hero { display: grid; grid-template-columns: 0.84fr 1.16fr; min-height: 390px; background: var(--green); color: white; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 44px; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #38664f; }
.hero .eyebrow { color: #f6cbb5; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 100%; background: var(--peach); vertical-align: middle; }
.hero h1 { margin: 20px 0; font-size: clamp(35px, 4vw, 58px); letter-spacing: 2px; }
.hero h1 span { display: block; font-size: clamp(20px, 2vw, 29px); margin-top: 12px; font-weight: 500; letter-spacing: 0; }
.hero-copy p { color: #e4eee7; max-width: 360px; }
.primary { display: inline-flex; align-items: center; gap: 16px; width: fit-content; padding: 12px 19px; background: var(--peach); color: #29362e; font-size: 14px; font-weight: 700; margin-top: 24px; }
.primary:hover { background: #f7d8c8; color: var(--ink); }
.hero-note { margin-top: 24px; color: #cadbd0; font-size: 12px; }
.hero-photo { position: relative; min-width: 0; min-height: 320px; overflow: hidden; }
.hero-photo img { height: 100%; object-fit: cover; }
.photo-caption { position: absolute; inset: auto 0 0; padding: 48px 25px 22px; color: white; background: linear-gradient(transparent, rgba(12,27,22,.85)); }
.photo-caption span { display: block; font-size: 12px; color: #f3c8b4; }
.photo-caption strong { font-size: 19px; }
.topic-band { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding-block: 26px; border-bottom: 1px solid var(--line); align-items: center; }
.band-heading h2 { font-size: 22px; margin-top: 6px; }
.topic-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.topic-links a { display: flex; flex-direction: column; justify-content: center; background: var(--surface); border-left: 2px solid #8d9d81; padding: 13px 12px; }
.topic-links a span { font-size: 12px; color: var(--muted); margin-top: 3px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin-top: 6px; font-size: clamp(23px, 3vw, 32px); }
.section-head p, .section-head > a { color: var(--muted); font-size: 14px; }
.editorial, .more-section, .related { margin-top: 48px; }
.feature-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.lead-story { background: var(--surface); border-bottom: 3px solid var(--green); }
.lead-story img { aspect-ratio: 16/9; object-fit: cover; }
.story-copy { padding: 19px; }
.story-copy h3 { font-size: 20px; margin: 7px 0 9px; }
.story-copy p { font-size: 14px; color: var(--muted); }
.read { display: inline-block; margin-top: 13px; font-size: 13px; font-weight: 700; color: var(--green); }
.side-stories { display: flex; flex-direction: column; gap: 16px; }
.story-card { background: var(--surface); border-bottom: 1px solid var(--line); min-width: 0; }
.story-card img { aspect-ratio: 16/10; object-fit: cover; }
.side-stories .story-card { display: grid; grid-template-columns: 39% 1fr; flex: 1; }
.side-stories .story-card img { height: 100%; aspect-ratio: auto; }
.side-stories .story-copy { padding: 15px; }
.side-stories h3 { font-size: 17px; }
.note-feature { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; background: #eddfce; }
.note-image img { height: 100%; object-fit: cover; }
.note-copy { padding: 36px; align-self: center; }
.note-copy h2 { margin-block: 12px 15px; font-size: 28px; }
.note-copy .primary { color: white; background: var(--green); }
.note-copy .primary:hover { background: #376551; }
.article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.home .more-section .article-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.closing { margin-top: 44px; padding: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.closing h2 { font-size: 23px; margin-bottom: 13px; }
.closing p { color: var(--muted); max-width: 830px; }
.closing .topic-links { grid-template-columns: repeat(2, 1fr); }
.footer { background: #193c32; color: #f2f5f0; padding: 30px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.footer p { margin-top: 7px; color: #cbdad1; font-size: 12px; max-width: 600px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }
.footer a:hover { color: var(--peach); }
.inner { padding-block: 30px 56px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.article-main { max-width: 880px; margin: 0 auto; background: var(--surface); padding: 35px 50px; }
.article-head h1 { font-size: clamp(27px, 4vw, 41px); margin-block: 13px; }
.article-head .intro { color: var(--muted); font-size: 18px; }
.article-figure { margin-top: 25px; }
.article-figure img { max-height: 410px; object-fit: cover; aspect-ratio: 16/9; }
.article-figure figcaption { font-size: 12px; color: var(--muted); padding-top: 8px; }
.article-body { margin-top: 27px; }
.article-body section { margin-bottom: 26px; }
.article-body h2 { font-size: 23px; margin-bottom: 12px; }
.article-body p { margin-bottom: 18px; line-height: 1.95; }
.article-note { padding: 16px; background: var(--paper); color: var(--muted); font-size: 13px; }
.topic-header { padding: 35px; background: #e2e9de; }
.topic-header h1 { font-size: 38px; margin-block: 10px; }
@media (max-width: 900px) {
    .wrap { width: calc(100% - 40px); }
    .hero-copy { padding: 30px; }
    .topic-band { grid-template-columns: 1fr; }
    .home .more-section .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .feature-layout { grid-template-columns: 1fr; }
    .side-stories { display: grid; grid-template-columns: 1fr 1fr; }
    .side-stories .story-card { display: block; }
    .side-stories .story-card img { height: auto; aspect-ratio: 16/10; }
}
@media (max-width: 600px) {
    .wrap { width: calc(100% - 28px); }
    .motto { display: none; }
    .topbar { padding-block: 17px; }
    .nav { gap: 8px 17px; font-size: 13px; }
    .home { padding-top: 20px; }
    .hero, .note-feature { grid-template-columns: 1fr; }
    .hero-photo { min-height: 0; }
    .hero-photo img { aspect-ratio: 16/10; }
    .hero-copy { padding: 26px; }
    .topic-links { grid-template-columns: repeat(2, 1fr); }
    .section-head { align-items: start; flex-direction: column; }
    .article-grid, .home .more-section .article-grid { grid-template-columns: 1fr; }
    .side-stories { grid-template-columns: 1fr; }
    .side-stories .story-card { display: grid; grid-template-columns: 38% 1fr; }
    .side-stories .story-card img { height: 100%; aspect-ratio: auto; }
    .note-copy { padding: 24px; }
    .footer-inner { flex-direction: column; }
    .article-main { padding: 22px; }
    .article-body h2 { font-size: 20px; }
    .closing { padding: 20px 0; }
    .topic-header { padding: 25px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
