/* ribenppt365.cn | Original editorial layout | 2026-11-23 */
:root {
  --paper: #f6f4ed;
  --surface: #fffefa;
  --ink: #292d29;
  --muted: #737a72;
  --line: #dcded3;
  --green: #586e60;
  --deep: #243b35;
  --red: #c65c4b;
  --content: 1200px;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.75 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--red);
}
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1, h2, h3, p {
  margin-top: 0;
}
h1, h2, h3 {
  line-height: 1.35;
  letter-spacing: -.025em;
}
.shell {
  width: min(var(--content), calc(100% - 64px));
  margin-inline: auto;
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 99;
  padding: 10px 16px;
  background: var(--deep);
  color: white;
}
.skip:focus {
  top: 12px;
}
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  min-height: 100px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.brand-mark {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 45% 45%;
  color: white;
  background: var(--red);
  font: 28px/1 serif;
}
.brand-text {
  display: block;
  font-size: 19px;
  line-height: 1.05;
  font-weight: 750;
  white-space: nowrap;
}
.brand-text span {
  color: var(--green);
}
.brand-text small {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: .15em;
  color: var(--muted);
}
.nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: center;
}
.nav a {
  padding: 7px 0;
  color: #4b504b;
  white-space: nowrap;
  font-size: 13px;
}
.nav a[aria-current="page"] {
  color: var(--red);
  font-weight: 700;
}
.intro {
  padding-block: 78px 88px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 52px;
  align-items: center;
}
.eyebrow, .section-kicker {
  color: var(--red);
  font-weight: 750;
  font-size: 11px;
  letter-spacing: .18em;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.red-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.intro h1 {
  font-size: clamp(27px, 3.4vw, 48px);
  font-weight: 750;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
  margin-bottom: 24px;
}
.intro h1 .sub-heading {
  display: block;
  margin-top: 16px;
  color: var(--green);
  font-size: .62em;
  letter-spacing: -.035em;
  font-weight: 600;
}
.intro-copy > p {
  max-width: 550px;
  color: #666f68;
  font-size: 16px;
}
.intro-actions {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  gap: 16px;
  padding: 12px 21px;
  font-size: 13px;
  font-weight: 700;
}
.button-primary {
  background: var(--deep);
  color: white;
}
.button-primary:hover {
  color: white;
  background: #385a4e;
}
.button-light {
  background: #e5e9dd;
  color: var(--deep);
}
.button-light:hover {
  background: white;
  color: var(--deep);
}
.text-link {
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #858f86;
  padding-bottom: 5px;
}
.intro-meta {
  border-top: 1px solid var(--line);
  margin-top: 52px;
  padding-top: 22px;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
}
.intro-meta b {
  display: block;
  font: 28px/1.3 Georgia, serif;
  color: var(--deep);
}
.intro-visual {
  position: relative;
  min-width: 0;
  padding-bottom: 30px;
}
.hero-photo {
  overflow: hidden;
  border-radius: 170px 170px 3px 3px;
  aspect-ratio: 4 / 5;
  background: #d7ddd2;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-note {
  position: absolute;
  right: -20px;
  bottom: 0;
  padding: 24px 28px;
  background: #e1e7db;
  min-width: 240px;
  box-shadow: 0 16px 34px #273a2c14;
}
.hero-note span {
  display: block;
  font-size: 9px;
  letter-spacing: .16em;
  color: var(--green);
}
.hero-note strong {
  display: block;
  margin: 10px 0;
  color: var(--deep);
  font-size: 24px;
  line-height: 1.45;
}
.hero-note small {
  font-size: 11px;
  color: var(--muted);
}
.index-strip {
  border-block: 1px solid var(--line);
  background: #ebece3;
}
.strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block: 18px;
  font-size: 11px;
  letter-spacing: .09em;
  color: #59655e;
}
.strip-inner span:first-child {
  color: var(--red);
  font-weight: 700;
}
.section-block {
  padding-block: 98px;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 35px;
}
.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
  margin: 12px 0 0;
}
.section-head > p {
  max-width: 300px;
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.topic-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid #e5e6dd;
  transition: transform .2s, box-shadow .2s;
}
.topic-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px #273c3014;
}
.topic-image {
  aspect-ratio: 1.48;
  position: relative;
  overflow: hidden;
  background: #dfe5dc;
}
.topic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.topic-card:hover .topic-image img {
  transform: scale(1.04);
}
.topic-image > span {
  position: absolute;
  top: 14px;
  left: 15px;
  font: 20px Georgia, serif;
  color: var(--deep);
  background: #f8f8f0df;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.topic-info {
  padding: 23px 24px 24px;
}
.topic-info h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.topic-info p {
  color: var(--muted);
  font-size: 13px;
  min-height: 48px;
  margin-bottom: 15px;
}
.more, .read {
  color: var(--red);
  font-size: 12px;
  font-weight: 750;
}
.feature-band {
  background: var(--deep);
  color: white;
}
.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
  padding-block: 72px;
}
.feature-visual {
  min-width: 0;
  aspect-ratio: 1.28;
  overflow: hidden;
}
.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-content .section-kicker {
  color: #e7ac95;
}
.feature-content h2 {
  font-size: clamp(26px, 3.7vw, 46px);
  margin: 21px 0;
}
.feature-content p {
  color: #d0dcd3;
  max-width: 460px;
  font-size: 15px;
  margin-bottom: 26px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 29px 24px;
}
.article-card {
  min-width: 0;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}
.article-cover {
  display: block;
  aspect-ratio: 1.6;
  overflow: hidden;
  background: #d8dbd2;
}
.article-cover img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.article-body {
  padding: 20px 2px 0;
}
.article-tag {
  font-size: 11px;
  color: var(--red);
  font-weight: 750;
}
.article-body h3 {
  font-size: 19px;
  margin: 10px 0 10px;
}
.article-body p {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 14px;
}
.all-note {
  text-align: center;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 12px;
}
.guide-panel {
  padding: 45px 52px;
  background: #e6e9dd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 100px;
}
.guide-panel > div {
  max-width: 670px;
}
.guide-panel h2 {
  font-size: 27px;
  margin: 12px 0;
}
.guide-panel p {
  font-size: 14px;
  color: #5d6a60;
  margin: 0;
}
.guide-panel .button {
  flex: 0 0 auto;
}
.site-footer {
  background: #202f2a;
  color: #eff2ec;
}
.footer-grid {
  padding-block: 68px 56px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 50px;
}
.footer-grid strong {
  display: block;
  margin-bottom: 16px;
  font-size: 16px;
}
.footer-grid p {
  max-width: 420px;
  color: #b9c6bd;
  font-size: 13px;
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin: 8px 0;
}
.footer-grid a {
  color: #c9d4ca;
  font-size: 13px;
}
.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid #41534a;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #b5c3b9;
  font-size: 12px;
}
.page-intro {
  padding-block: 48px 58px;
}
.breadcrumbs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.page-intro h1 {
  font-size: clamp(30px, 4.8vw, 56px);
  margin: 12px 0 20px;
}
.page-intro > p {
  max-width: 760px;
  color: var(--muted);
}
.category-spotlight {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 30px;
}
.category-spotlight img {
  width: 100%;
  max-height: 410px;
  object-fit: cover;
}
.category-spotlight span {
  font-size: 12px;
  color: var(--red);
  letter-spacing: .15em;
}
.category-spotlight h2 {
  font-size: 34px;
  margin: 16px 0;
}
.category-spotlight p {
  font-size: 15px;
  color: var(--muted);
}
.section-block.compact {
  padding-top: 65px;
}
.article-frame {
  padding-bottom: 110px;
}
.article-frame > .breadcrumbs {
  margin-top: 42px;
  margin-bottom: 52px;
}
.article-header {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
.article-header h1 {
  font-size: clamp(31px, 4.3vw, 54px);
  margin: 17px 0 21px;
}
.article-lead {
  font-size: 16px;
  color: #677269;
  max-width: 760px;
  margin: 0 auto 24px;
}
.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 22px;
  color: var(--muted);
  font-size: 12px;
}
.article-hero {
  max-width: 1000px;
  height: min(47vw, 470px);
  min-height: 260px;
  margin: 47px auto 60px;
  overflow: hidden;
}
.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-columns {
  display: grid;
  grid-template-columns: minmax(0, 730px) minmax(0, 260px);
  gap: clamp(35px, 5vw, 85px);
  justify-content: center;
}
.article-prose {
  min-width: 0;
  font-size: 16px;
  color: #404c43;
}
.article-prose p {
  margin-bottom: 22px;
}
.article-opening {
  font-size: 18px;
  color: var(--deep);
}
.content-section {
  padding-top: 16px;
  scroll-margin-top: 28px;
}
.content-section h2 {
  font-size: 25px;
  border-left: 3px solid var(--red);
  padding-left: 16px;
  margin: 22px 0 20px;
}
.content-section ul {
  padding-left: 23px;
}
.content-section li {
  margin: 12px 0;
}
.article-end {
  padding: 26px;
  margin-top: 35px;
  background: #e5e9dd;
  font-size: 14px;
}
.article-end a {
  text-decoration: underline;
  color: var(--deep);
}
.article-aside {
  min-width: 0;
}
.aside-box {
  border-top: 2px solid var(--deep);
  padding: 19px 0 28px;
}
.aside-box strong {
  display: block;
  margin-bottom: 16px;
}
.aside-box ol, .aside-box ul {
  padding-left: 18px;
  font-size: 13px;
  color: #58665b;
}
.aside-box li {
  margin: 14px 0;
}
.aside-box ul {
  list-style: none;
  padding-left: 0;
}
.aside-box ul a span {
  color: var(--red);
}
.about-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 55px;
  margin-bottom: 100px;
}
.about-layout img {
  width: 100%;
  height: 570px;
  object-fit: cover;
}
.about-layout h2 {
  margin: 14px 0;
}
.about-layout p {
  color: var(--muted);
  font-size: 15px;
}
@media (max-width: 1120px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 20px;
    gap: 14px;
  }
  .nav {
    justify-content: flex-start;
  }
  .intro {
    gap: 30px;
  }
  .intro h1 {
    font-size: clamp(26px, 3.8vw, 43px);
  }
}
@media (max-width: 860px) {
  .shell {
    width: min(var(--content), calc(100% - 40px));
  }
  .intro {
    grid-template-columns: 1fr;
    padding-block: 50px;
  }
  .intro h1 {
    max-width: 650px;
    font-size: clamp(28px, 5vw, 42px);
  }
  .intro-visual {
    max-width: 590px;
    width: 100%;
  }
  .hero-photo {
    aspect-ratio: 1.45;
    border-radius: 150px 150px 4px 4px;
  }
  .topic-grid, .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-layout {
    gap: 35px;
  }
  .feature-content h2 {
    font-size: 30px;
  }
  .guide-panel {
    flex-wrap: wrap;
    padding: 35px;
  }
  .article-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-aside {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 25px;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  .shell {
    width: calc(100% - 32px);
  }
  .brand-text {
    font-size: 17px;
  }
  .nav {
    gap: 4px 16px;
  }
  .nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    font-size: 12px;
  }
  .intro {
    padding-top: 42px;
  }
  .eyebrow {
    font-size: 9px;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 21px;
  }
  .intro h1 {
    font-size: 28px;
    letter-spacing: -.04em;
  }
  .intro-copy > p {
    font-size: 14px;
  }
  .intro-meta {
    gap: 16px;
    margin-top: 30px;
  }
  .intro-meta b {
    font-size: 23px;
  }
  .hero-photo {
    aspect-ratio: 1.1;
  }
  .hero-note {
    right: 0;
    padding: 14px 18px;
    min-width: 210px;
  }
  .hero-note strong {
    font-size: 18px;
  }
  .strip-inner {
    overflow-x: auto;
    white-space: nowrap;
    gap: 24px;
    font-size: 10px;
  }
  .section-block {
    padding-block: 60px;
  }
  .section-head {
    display: block;
  }
  .section-head h2 {
    font-size: 27px;
    margin-bottom: 12px;
  }
  .topic-grid, .article-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .topic-info p {
    min-height: 0;
  }
  .feature-layout {
    grid-template-columns: 1fr;
    padding-block: 48px;
  }
  .feature-visual {
    aspect-ratio: 1.5;
  }
  .guide-panel {
    padding: 25px;
    margin-bottom: 60px;
  }
  .guide-panel h2 {
    font-size: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 40px;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .page-intro {
    padding-block: 28px 30px;
  }
  .breadcrumbs {
    margin-bottom: 29px;
  }
  .category-spotlight, .about-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .category-spotlight h2 {
    font-size: 27px;
  }
  .article-frame > .breadcrumbs {
    margin-top: 25px;
    margin-bottom: 32px;
  }
  .article-header h1 {
    font-size: 29px;
  }
  .article-hero {
    margin: 32px auto 38px;
    min-height: 210px;
    height: 62vw;
  }
  .article-prose {
    font-size: 15px;
  }
  .article-opening {
    font-size: 16px;
  }
  .content-section h2 {
    font-size: 21px;
  }
  .article-aside {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .about-layout img {
    height: auto;
    max-height: 350px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
  }
}

/* Layout hardening: prevent edge overflow and improve reading experience. */
html, body { min-width: 0; }
body { overflow-wrap: break-word; }
.shell, .header-inner, .intro-copy, .feature-content, .article-body { min-width: 0; }
.nav { row-gap: 8px; }
.nav a { line-height: 1.5; }
.intro h1 { overflow-wrap: break-word; word-break: normal; }
.hero-note { right: 0; max-width: min(280px, 85%); }
.section-head > div { min-width: 0; }
.topic-grid > *, .article-grid > * { min-width: 0; }
.article-body h3, .topic-info h3 { overflow-wrap: anywhere; }
.article-prose img { max-width: 100%; height: auto; }
@media (max-width: 600px) {
  .header-inner { gap: 10px; }
  .nav { width: 100%; gap: 6px 12px; }
  .nav a { padding: 5px 0; font-size: 12px; }
  .intro { gap: 22px; }
  .intro-actions { gap: 18px; }
  .intro-meta { gap: 12px 20px; }
  .hero-note { right: 0; bottom: 0; }
  .footer-grid { gap: 25px 20px; }
}
