/* bingganvlog.cn | Winter journal design system | 2026 */
:root {
  --pine: #173f36;
  --pine-dark: #102c29;
  --cream: #fffaf0;
  --paper: #fbf5e8;
  --rust: #b24d3d;
  --gold: #d6a76b;
  --ink: #283b35;
  --muted: #66746c;
  --line: #e6ddcf;
  --shadow: 0 18px 46px rgba(25, 55, 46, .10);
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.85 system-ui, -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
img {
  display: block;
  width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--rust);
}
button, input {
  font: inherit;
}
button {
  cursor: pointer;
}
.wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 8px 14px;
  background: white;
}
.skip:focus {
  top: 8px;
}
.top-ribbon {
  background: var(--pine-dark);
  color: #e5d9bd;
  font-size: 12px;
  letter-spacing: .17em;
  text-align: center;
  padding: 7px 0;
}
.site-header {
  background: rgba(255,250,240,.96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  gap: 13px;
  align-items: center;
  flex-shrink: 0;
}
.brand-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 27px;
}
.brand-name {
  font: 800 24px/1.1 Georgia, "Songti SC", serif;
  color: var(--pine);
}
.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .15em;
  margin-top: 4px;
}
.desktop-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.desktop-nav a {
  padding: 9px 12px;
  font-size: 14px;
  border-radius: 999px;
  color: #3d5148;
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] {
  background: #e8eee6;
  color: var(--pine);
}
.menu-toggle {
  display: none;
  padding: 8px 13px;
  border-radius: 8px;
  border: 1px solid #b9c6ba;
  color: var(--pine);
  background: white;
}
.mobile-nav {
  display: none;
  background: #f3f5ed;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  display: block;
  padding: 10px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav[hidden] {
  display: none !important;
}
.hero {
  padding: 54px 0 35px;
  background: radial-gradient(circle at 9% 15%, #faeed8 0, transparent 45%), var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  gap: 36px;
  align-items: center;
}
.eyebrow {
  color: var(--rust);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .25em;
  text-transform: uppercase;
}
h1,h2,h3,p {
  overflow-wrap: anywhere;
}
h1 {
  color: var(--pine-dark);
  font-family: Georgia, "Songti SC", "Noto Serif CJK SC", serif;
  font-size: clamp(31px, 3.7vw, 54px);
  letter-spacing: -.03em;
  line-height: 1.35;
  margin: 18px 0 22px;
}
.hero-lead {
  font-size: 16px;
  max-width: 560px;
  color: #57685d;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 21px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--pine);
}
.btn.primary {
  color: white;
  background: var(--pine);
}
.btn.secondary {
  background: transparent;
  color: var(--pine);
}
.hero-photoframe {
  position: relative;
  min-width: 0;
  padding: 16px 16px 27px;
  border-radius: 12px;
  background: #fff;
  transform: rotate(1deg);
  box-shadow: var(--shadow);
}
.hero-photoframe img {
  height: 420px;
  object-fit: cover;
  border-radius: 5px;
}
.hero-sticker {
  position: absolute;
  right: -10px;
  bottom: 10px;
  color: #fff;
  background: var(--rust);
  padding: 12px 18px;
  transform: rotate(-7deg);
  font-weight: 800;
  font-size: 13px;
  border-radius: 3px;
}
.hero-note {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
.topic-strip {
  padding: 18px 0;
  border-block: 1px solid #d7e2d7;
  background: #e9eee6;
}
.topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}
.topic {
  padding: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--pine);
  border-right: 1px solid #cbd6cd;
}
.topic:last-child {
  border: 0;
}
.section {
  padding: 66px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}
.kicker {
  color: var(--rust);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .2em;
}
h2 {
  font-size: clamp(25px,2.45vw,34px);
  font-family: Georgia, "Songti SC",serif;
  color: var(--pine-dark);
  line-height: 1.4;
  margin: 6px 0 0;
}
.section-copy {
  color: var(--muted);
  font-size: 14px;
  max-width: 500px;
}
.feature-grid {
  display: grid;
  grid-template-columns: minmax(0,1.28fr) minmax(0,.72fr);
  gap: 24px;
}
.feature-card {
  position: relative;
  min-height: 430px;
  border-radius: 10px;
  overflow: hidden;
  color: white;
}
.feature-card img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  transition: transform .25s;
}
.feature-card:hover img {
  transform: scale(1.03);
}
.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9,25,24,.91), transparent 75%);
  pointer-events: none;
}
.feature-text {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
}
.feature-text h3 {
  font-size: 27px;
  line-height: 1.4;
  margin: 8px 0;
}
.feature-text p {
  font-size: 14px;
  margin: 0;
  color: #e3ece7;
}
.feature-small {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
  min-width: 0;
}
.feature-small .feature-card {
  min-height: 200px;
}
.feature-small .feature-text {
  padding: 18px;
}
.feature-small .feature-text h3 {
  font-size: 19px;
}
.feature-small .feature-text p {
  display: none;
}
.journal {
  background: #f4eee3;
  border-block: 1px solid #eadfce;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 22px;
}
.journal-card {
  background: #fff;
  border: 1px solid #e5ded2;
  border-radius: 10px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  min-width: 0;
}
.journal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.journal-card img {
  aspect-ratio: 1.62;
  object-fit: cover;
}
.journal-info {
  padding: 21px 22px 23px;
}
.card-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--rust);
}
.journal-card h3 {
  margin: 7px 0 7px;
  font-size: 19px;
  color: var(--pine-dark);
  line-height: 1.5;
}
.journal-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.perspective {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: center;
}
.perspective img {
  border-radius: 12px;
  box-shadow: var(--shadow);
  aspect-ratio: 1.35;
  object-fit: cover;
}
.perspective p {
  color: var(--muted);
}
.note-list {
  padding-left: 20px;
  color: var(--pine);
  font-size: 15px;
}
.note-list li {
  padding: 4px 0;
}
.footer {
  background: var(--pine-dark);
  color: #d4e0d7;
  padding: 40px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.footer h2 {
  color: #fff;
  font-size: 22px;
}
.footer p {
  font-size: 13px;
  max-width: 610px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 12px;
  font-size: 13px;
}
.footer-bottom {
  border-top: 1px solid #355349;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 12px;
  color: #a9bcb0;
}
.breadcrumbs {
  font-size: 13px;
  padding: 24px 0 0;
  color: var(--muted);
}
.article-hero {
  padding: 28px 0 52px;
}
.article-hero h1 {
  font-size: clamp(32px, 4vw, 50px);
  max-width: 900px;
}
.article-intro {
  max-width: 820px;
  color: #5d6e64;
  font-size: 18px;
}
.article-banner {
  margin-top: 30px;
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 52px;
  padding-bottom: 80px;
}
.article-body {
  min-width: 0;
  font-size: 16px;
  line-height: 2.05;
}
.article-body h2 {
  margin: 38px 0 14px;
  font-size: 27px;
}
.article-body p {
  margin: 0 0 20px;
}
.article-aside {
  align-self: start;
  background: #f0f0e7;
  border-radius: 10px;
  padding: 22px;
  position: sticky;
  top: 14px;
}
.article-aside h2 {
  font-size: 20px;
  margin-bottom: 15px;
}
.article-aside a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #d6dcd2;
  font-size: 14px;
}
.article-summary {
  background: #f4eee3;
  border-left: 4px solid var(--rust);
  padding: 18px 20px;
  margin: 32px 0;
}
.related {
  padding: 32px 0 70px;
  border-top: 1px solid var(--line);
}
.related-links {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
  margin-top: 20px;
}
.related-links a {
  background: #eff1e9;
  padding: 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}
@media (max-width: 950px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-nav:not([hidden]) {
    display: block;
  }
  .hero-grid {
    gap: 22px;
  }
  .hero-photoframe img {
    height: 335px;
  }
  .article-layout {
    grid-template-columns: minmax(0,1fr) 225px;
    gap: 22px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: min(100% - 32px, 1200px);
  }
  .header-inner {
    min-height: 76px;
    gap: 8px;
  }
  .brand-name {
    font-size: 17px;
  }
  .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 22px;
    flex-shrink: 0;
  }
  .brand-sub {
    font-size: 8px;
    letter-spacing: .04em;
  }
  .brand {
    gap: 8px;
    min-width: 0;
  }
  .menu-toggle {
    flex-shrink: 0;
  }
  .hero {
    padding-top: 34px;
  }
  .hero-grid, .feature-grid, .perspective, .footer-grid, .article-layout {
    grid-template-columns: minmax(0,1fr);
  }
  .hero-photoframe {
    transform: none;
    margin-right: 0;
  }
  .hero-photoframe img {
    height: 275px;
  }
  .topics {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .topic:nth-child(2) {
    border-right: 0;
  }
  .section {
    padding: 43px 0;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .feature-card {
    min-height: 330px;
  }
  .feature-small {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: auto;
    gap: 12px;
  }
  .feature-small .feature-card {
    min-height: 195px;
  }
  .card-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
  }
  .journal-info {
    padding: 15px;
  }
  .journal-card h3 {
    font-size: 17px;
  }
  .article-aside {
    position: static;
  }
  .related-links {
    grid-template-columns: minmax(0,1fr);
  }
}
@media (max-width: 440px) {
  .top-ribbon {
    font-size: 10px;
    letter-spacing: .04em;
  }
  .hero-photoframe img {
    height: 220px;
  }
  .feature-small {
    grid-template-columns: minmax(0,1fr);
  }
  .feature-small .feature-card {
    min-height: 215px;
  }
  .card-grid {
    grid-template-columns: minmax(0,1fr);
  }
  h1 {
    font-size: 31px;
  }
  .hero-sticker {
    right: 0;
    font-size: 11px;
  }
}
/* 品牌内容：防止窄屏 flex 子元素撑开导航栏 */
.brand > span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.brand-name,
.brand-sub {
  display: block;
}
@media (max-width: 365px) {
  .brand-name {
    font-size: 15px;
  }
  .brand-sub {
    font-size: 7px;
  }
  .menu-toggle {
    padding: 7px 9px;
  }
}
/* SEO 落地页体验：明确焦点、禁止网格内容撑宽、图片比例稳定 */
:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 3px;
}
.hero-grid > *, .feature-grid > *, .card-grid > *,
.perspective > *, .article-layout > * {
  min-width: 0;
}
.journal-card, .feature-card {
  isolation: isolate;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .feature-card img, .journal-card {
    transition: none;
  }
}
