/* rbpptzy.cn — custom editorial design system; no external CSS dependencies */
:root {
  --ink: #24323c;
  --muted: #66737b;
  --paper: #fbfaf6;
  --white: #fff;
  --peach: #f2d9d0;
  --coral: #c66f66;
  --teal: #2f776e;
  --line: #e6e4dd;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(41,47,50,.07);
}

*,*::before,*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans SC","Microsoft YaHei",system-ui,sans-serif;
  line-height: 1.78;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1180px,calc(100% - 44px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: -50px;
  left: 12px;
  background: #fff;
  padding: 8px;
  z-index: 40;
}

.skip:focus {
  top: 10px;
}

.site-header {
  background: #fffdf9;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 3;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 90px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #274e55;
  color: white;
  font-weight: 900;
  font-size: 23px;
}

.logo strong {
  display: block;
  font-size: 19px;
  letter-spacing: .05em;
}

.logo small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .17em;
  line-height: 1.4;
}

.nav {
  display: flex;
  align-items: center;
  gap: 23px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 650;
}

.nav a {
  padding: 12px 0;
}

.nav a[aria-current="page"] {
  color: var(--teal);
}

.masthead {
  padding: 22px 0 10px;
}

.masthead-inner {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .1em;
}

.masthead .rule {
  height: 1px;
  background: var(--line);
  flex: 1;
}

.hero {
  margin: 10px auto 66px;
  border-radius: 30px;
  min-height: 520px;
  overflow: hidden;
  position: relative;
  background: #eee5dd;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  inset: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(250,247,239,.95) 0%,rgba(250,247,239,.91) 23%,rgba(250,247,239,.43) 42%,transparent 66%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 95px 5.5%;
  max-width: 575px;
}

.eyebrow {
  margin: 0 0 20px;
  color: #8c5551;
  font-size: 12px;
  letter-spacing: .2em;
  font-weight: 800;
}

h1,h2,h3,p {
  overflow-wrap: break-word;
}

h1,h2,h3 {
  line-height: 1.32;
  margin-top: 0;
}

h1 {
  font-size: clamp(34px,4.1vw,59px);
  letter-spacing: -.035em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(25px,3vw,35px);
  letter-spacing: -.02em;
}

h3 {
  font-size: 21px;
}

.hero-copy>p:not(.eyebrow) {
  max-width: 490px;
  font-size: 15px;
  color: #53606a;
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-block;
  background: #2b5659;
  color: white;
  border-radius: 100px;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 750;
}

.btn:hover {
  background: #14363b;
  color: white;
}

.btn.ghost {
  background: #fff;
  color: #24464a;
  border: 1px solid #b1bdbb;
}

.section {
  margin-bottom: 80px;
}

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

.section-head p {
  color: var(--muted);
  font-size: 14px;
  max-width: 490px;
  margin: 0;
}

.section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  color: var(--coral);
  display: block;
  margin-bottom: 9px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 18px;
}

.category-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s,box-shadow .2s;
}

.category-card:hover,.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  aspect-ratio: 1.58;
  object-fit: cover;
}

.category-card .inside {
  padding: 19px 18px 22px;
}

.category-card h3 {
  font-size: 21px;
  margin: 0 0 7px;
}

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

.category-card .more {
  margin-top: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 750;
  display: inline-block;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  gap: 45px;
  align-items: center;
  padding: 34px;
  background: #e7eeea;
  border-radius: 28px;
  margin-bottom: 78px;
}

.feature img {
  width: 100%;
  border-radius: 20px;
  aspect-ratio: 1.5;
  object-fit: cover;
}

.feature p {
  color: #54645f;
}

.feature .feature-copy {
  padding: 16px;
}

.feature a {
  color: var(--teal);
  font-weight: 750;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}

.article-card {
  background: white;
  border: 1px solid var(--line);
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform .2s,box-shadow .2s;
}

.article-card img {
  width: 100%;
  aspect-ratio: 1.67;
  object-fit: cover;
}

.article-card .inside {
  padding: 19px 22px 25px;
}

.pill {
  display: inline-block;
  border-radius: 100px;
  background: #f1f0eb;
  color: #58756e;
  font-size: 11px;
  padding: 3px 11px;
  font-weight: 800;
  letter-spacing: .07em;
}

.article-card h3 {
  font-size: 19px;
  margin: 12px 0;
}

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

.article-card .more {
  display: inline-block;
  margin-top: 16px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
}

.note-panel {
  padding: 27px 30px;
  background: #f4f0e8;
  border: 1px solid #e3dcd1;
  border-radius: 20px;
  margin-bottom: 70px;
}

.note-panel h2 {
  font-size: 22px;
}

.note-panel p {
  margin: 0;
  color: #606d69;
}

.breadcrumb {
  color: var(--muted);
  font-size: 13px;
  padding: 28px 0 24px;
}

.breadcrumb span {
  margin: 0 7px;
}

.page-hero {
  padding: 38px 0 45px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 42px;
  align-items: center;
}

.page-hero p {
  color: var(--muted);
}

.page-hero img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 1.6;
  object-fit: cover;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 280px;
  gap: 50px;
  align-items: start;
}

.article-body {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(23px,4vw,54px);
}

.article-body h2 {
  font-size: 25px;
  margin: 36px 0 13px;
  padding-top: 14px;
  border-top: 1px solid #eeeae2;
}

.article-body p,.article-body li {
  font-size: 16px;
  line-height: 2;
  color: #485762;
}

.article-body .intro {
  font-size: 18px;
  color: #2b3d47;
}

.article-body img {
  width: 100%;
  border-radius: 18px;
  margin: 28px 0;
}

.article-body ul {
  padding-left: 22px;
}

.sidebar {
  background: #f2f3ee;
  border-radius: 22px;
  padding: 25px;
  position: sticky;
  top: 20px;
}

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

.sidebar a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid #dce1dc;
  font-size: 14px;
}

.related {
  margin: 58px 0 85px;
}

.site-footer {
  background: #25383d;
  color: #edf2ef;
  padding: 48px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 45px;
}

.site-footer a {
  color: #f2efea;
}

.site-footer p,.site-footer small {
  color: #bccac8;
  font-size: 13px;
}

.site-footer h2 {
  font-size: 18px;
}

.footer-bottom {
  border-top: 1px solid #486064;
  padding-top: 20px;
  margin-top: 33px;
  font-size: 12px;
  color: #c5d0cf;
}

@media (max-width:1020px) {
  .category-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .nav {
    gap: 13px;
  }

  .header-inner {
    align-items: start;
    padding: 18px 0;
    flex-direction: column;
  }

  .article-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

}

@media (max-width:700px) {
  .container {
    width: min(100% - 28px,1180px);
  }

  .nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    gap: 18px;
  }

  .nav a {
    white-space: nowrap;
  }

  .hero {
    min-height: 510px;
    margin-bottom: 46px;
    border-radius: 22px;
  }

  .hero img {
    object-position: 64% center;
  }

  .hero::after {
    background: linear-gradient(90deg,rgba(250,247,239,.97),rgba(250,247,239,.88) 65%,rgba(250,247,239,.52));
  }

  .hero-copy {
    padding: 58px 7%;
    max-width: 100%;
  }

  .hero h1 {
    font-size: 38px;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 10px;
  }

  .feature,.page-hero,.content-layout,.footer-grid {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 20px;
    gap: 12px;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .section {
    margin-bottom: 50px;
  }

  .page-hero {
    padding: 20px 0;
  }

  .footer-grid {
    gap: 12px;
  }

}

@media (max-width:440px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 33px;
  }

  .hero-copy>p:not(.eyebrow) {
    font-size: 14px;
  }

  .masthead-inner {
    letter-spacing: 0;
  }

  .article-body {
    padding: 22px;
  }

  .article-body h2 {
    font-size: 23px;
  }

}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .category-card,.article-card {
    transition: none;
  }

}

/* --- V2: predictable responsive layout and accessible interactions --- */
html {
  overflow-x: clip;
}

body {
  min-width: 320px;
}

:focus-visible {
  outline: 3px solid #b6544d;
  outline-offset: 4px;
}

.header-inner > *, .section-head > *, .feature > *, .content-layout > * {
  min-width: 0;
}

.nav a {
  border-radius: 6px;
}

.nav a:hover, .nav a:focus-visible {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.category-card a, .article-card a {
  overflow-wrap: anywhere;
}

.hero {
  isolation: isolate;
}

.hero-copy {
  min-width: 0;
}

.hero-copy h1 {
  text-wrap: balance;
}

.hero-copy p {
  text-wrap: pretty;
}

.hero img {
  pointer-events: none;
}

.article-card img, .category-card img {
  background-color: #e6eae5;
}

.category-card, .article-card {
  min-width: 0;
}

.article-body {
  min-width: 0;
}

.article-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-body img {
  height: auto;
}

@media (max-width: 700px) {
  .header-inner {
    gap: 10px;
  }

  .logo {
    max-width: 100%;
  }

  .nav {
    overscroll-behavior-x: contain;
    padding-bottom: 4px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    order: 2;
  }

  .hero::after {
    display: none;
  }

  .hero-copy {
    padding: 35px 7% 30px;
    order: 1;
  }

  .hero h1 {
    max-width: 18ch;
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 58ch;
  }

  .btn-row {
    gap: 10px;
  }

  .section-head h2 {
    max-width: 22ch;
  }

  .article-body, .note-panel {
    overflow-wrap: anywhere;
  }

}

@media (max-width: 380px) {
  .logo strong {
    font-size: 17px;
  }

  .logo small {
    font-size: 9px;
  }

  .masthead-inner {
    flex-wrap: wrap;
  }

  .masthead .rule {
    display: none;
  }

  .hero h1 {
    font-size: 30px;
  }

  .btn {
    padding: 10px 15px;
  }

}
