/*
ribenmv365.cn — Original editorial design
Purpose: accessible, crawlable static pages with clear source formatting.
Design tokens and layout blocks intentionally kept readable.
*/
:root {
--ink: #212b32;
--ink-soft: #56616a;
--paper: #f7f3eb;
--white: #fffdfa;
--line: #ddd7ce;
--red: #b54035;
--red-dark: #8d2d28;
--navy: #19313e;
--gold: #b78d55;
--radius: 4px;
--max-width: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html {
scroll-behavior: smooth;
}
body {
margin: 0;
min-width: 320px;
background: var(--paper);
color: var(--ink);
font: 16px/1.8 "Noto Sans CJK SC", "Microsoft YaHei", Arial, sans-serif;
}
a {
color: inherit;
text-decoration: none;
}
a:hover {
color: var(--red);
}
a:focus-visible {
outline: 3px solid var(--red);
outline-offset: 3px;
}
img {
max-width: 100%;
height: auto;
display: block;
}
figure, p {
margin: 0;
}
h1, h2, h3 {
line-height: 1.35;
margin: 0;
font-weight: 700;
overflow-wrap: anywhere;
}
.shell {
width: min(calc(100% - 56px), var(--max-width));
margin-inline: auto;
}
.skip {
position: absolute;
top: -80px;
left: 12px;
padding: 6px 14px;
z-index: 100;
background: #fff;
}
.skip:focus {
top: 8px;
}
.utility {
background: var(--navy);
color: #eff0eb;
}
.utility-in {
display: flex;
justify-content: space-between;
padding: 7px 0;
font-size: 10px;
letter-spacing: .12em;
}
.site-header {
background: var(--white);
border-bottom: 1px solid var(--line);
}
.header-in {
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
min-height: 92px;
}
.brand {
display: inline-flex;
flex-shrink: 0;
align-items: center;
gap: 11px;
}
.brand-mark {
display: grid;
place-items: center;
width: 43px;
height: 43px;
color: white;
background: var(--red);
font: bold 24px serif;
}
.brand strong {
display: block;
font-size: 22px;
letter-spacing: .12em;
line-height: 1.15;
}
.brand small {
display: block;
font-size: 9px;
letter-spacing: .15em;
color: var(--ink-soft);
}
.nav {
display: flex;
align-items: center;
gap: clamp(10px, 1.8vw, 23px);
font-size: 13px;
white-space: nowrap;
}
.nav a {
padding: 12px 0;
}
.overline, .eyebrow, .small-label {
display: inline-block;
color: var(--red);
font-size: 11px;
font-weight: 700;
letter-spacing: .13em;
}
.red-dot {
display: inline-block;
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--red);
margin-right: 6px;
}
.hero {
display: grid;
grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
gap: 36px;
padding-block: 72px 84px;
align-items: center;
}
.hero-copy, .hero-visual {
min-width: 0;
}
.hero h1 {
font-size: clamp(30px, 3.7vw, 50px);
letter-spacing: -.025em;
margin: 26px 0 24px;
}
.hero h1 span {
display: block;
margin-top: 15px;
font-size: clamp(25px, 3vw, 39px);
color: var(--red);
}
.hero-lead {
color: #3b4b50;
font-size: 17px;
max-width: 500px;
}
.hero-disclaimer {
color: #687078;
font-size: 12px;
margin-top: 16px;
}
.hero-cta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 26px;
margin-top: 30px;
}
.solid-button {
display: inline-flex;
gap: 26px;
justify-content: space-between;
align-items: center;
background: var(--red);
color: white;
padding: 12px 22px;
font-size: 13px;
font-weight: bold;
}
.solid-button:hover {
color: white;
background: var(--red-dark);
}
.quiet-button {
font-size: 13px;
font-weight: 700;
}
.hero-facts {
display: flex;
gap: 36px;
margin-top: 48px;
padding-top: 22px;
border-top: 1px solid var(--line);
}
.hero-facts div {
display: grid;
}
.hero-facts strong {
font-size: 27px;
font-family: Georgia, serif;
}
.hero-facts span {
font-size: 11px;
color: var(--ink-soft);
}
.hero-visual {
position: relative;
padding: 18px 22px 24px 0;
}
.hero-photo {
position: relative;
overflow: hidden;
box-shadow: 20px 20px 0 #e9ded3;
}
.hero-photo img {
width: 100%;
height: 530px;
object-fit: cover;
object-position: center;
}
.photo-caption {
position: absolute;
right: 0;
bottom: 0;
width: 245px;
max-width: 72%;
background: var(--navy);
color: white;
padding: 19px 23px;
}
.photo-caption span {
display: block;
margin-bottom: 9px;
font: 10px Georgia, serif;
color: #cab9a2;
}
.photo-caption strong {
font-size: 19px;
line-height: 1.6;
}
.hero-vertical {
position: absolute;
right: -12px;
top: 38px;
writing-mode: vertical-rl;
font-size: 10px;
letter-spacing: .15em;
color: #736d66;
}
.section-heading {
display: flex;
justify-content: space-between;
align-items: end;
gap: 30px;
margin-bottom: 28px;
}
.section-heading h2 {
font-size: clamp(27px, 3vw, 36px);
margin-top: 9px;
}
.section-heading > p {
color: var(--ink-soft);
max-width: 360px;
font-size: 13px;
}
.features, .latest, .category-list, .related {
padding-block: 70px 76px;
}
.features-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 26px;
}
.story-card {
min-width: 0;
background: var(--white);
border: 1px solid #e9e1d6;
}
.story-card.wide {
grid-row: span 2;
}
.story-image {
display: block;
overflow: hidden;
background: #e5e2e0;
}
.story-image img {
width: 100%;
aspect-ratio: 1.42;
object-fit: cover;
transition: transform .3s ease;
}
.story-image:hover img {
transform: scale(1.035);
}
.story-card.wide .story-image img {
aspect-ratio: .82;
}
.story-content {
padding: 19px 20px 23px;
}
.story-content h3 {
font-size: 19px;
margin: 8px 0 10px;
}
.story-content p {
font-size: 13px;
color: var(--ink-soft);
}
.text-link {
display: inline-block;
margin-top: 17px;
color: var(--red);
font-size: 13px;
font-weight: 700;
}
.category-band {
background: #eae4da;
padding-block: 66px 76px;
}
.category-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 12px;
}
.category-tile {
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
min-height: 270px;
min-width: 0;
padding: 24px 21px;
background: var(--navy);
color: white;
}
.category-tile:nth-child(2) {
background: #824a40;
}
.category-tile:nth-child(3) {
background: #444e50;
}
.category-tile:nth-child(4) {
background: #59685d;
}
.category-tile:hover {
color: white;
filter: brightness(1.08);
}
.tile-index {
opacity: .6;
font: 30px Georgia, serif;
}
.category-tile h3 {
font-size: 25px;
margin: 7px 0;
}
.category-tile p {
font-size: 12px;
line-height: 1.7;
color: #e9e6dd;
}
.category-tile .small-label {
color: #e8c4a9;
}
.tile-arrow {
position: absolute;
right: 22px;
top: 20px;
font-size: 22px;
}
.latest-grid {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 24px;
}
.latest-grid .story-content h3 {
font-size: 17px;
}
.latest-grid .story-image img {
aspect-ratio: 1.22;
}
.reading-note {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 48px;
padding-block: 55px 74px;
border-top: 1px solid var(--line);
}
.reading-note h2 {
margin-top: 14px;
font-size: clamp(27px, 3vw, 41px);
}
.reading-note p {
color: var(--ink-soft);
}
.footer {
background: var(--navy);
color: #f6f0e5;
}
.footer-main {
display: flex;
justify-content: space-between;
gap: 26px;
padding-block: 50px;
}
.footer-brand {
font-size: 25px;
font-weight: bold;
}
.footer-brand span {
font-size: 13px;
color: #aabcc0;
}
.footer-main p {
color: #c7c9c4;
font-size: 13px;
margin-top: 10px;
}
.footer-links {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 16px;
font-size: 13px;
}
.footer-bottom {
display: flex;
justify-content: space-between;
gap: 20px;
border-top: 1px solid #405360;
padding-block: 15px 22px;
color: #b9c0c2;
font-size: 11px;
}
.page-intro {
display: grid;
grid-template-columns: 1.1fr .9fr;
gap: 50px;
padding-block: 64px;
align-items: center;
}
.page-intro h1, .about-page h1 {
font-size: clamp(38px, 5vw, 62px);
margin: 14px 0;
}
.page-intro > div > p:last-child {
color: var(--ink-soft);
}
.page-subtitle {
font-size: 22px;
margin-bottom: 12px;
}
.page-intro img {
height: 355px;
width: 100%;
object-fit: cover;
}
.page-intro figcaption, .article-cover figcaption {
font-size: 11px;
color: var(--ink-soft);
margin-top: 10px;
}
.breadcrumbs {
display: flex;
flex-wrap: wrap;
gap: 9px;
color: var(--ink-soft);
font-size: 12px;
margin-bottom: 28px;
}
.article-intro {
padding-top: 55px;
}
.article-head {
max-width: 880px;
margin-inline: auto;
}
.article-head h1 {
font-size: clamp(35px, 4vw, 55px);
margin: 15px 0;
}
.article-dek {
font-size: 18px;
color: var(--ink-soft);
}
.article-meta {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin-top: 23px;
font-size: 12px;
color: #727779;
}
.article-cover {
margin-top: 38px;
}
.article-cover img {
max-height: 560px;
width: 100%;
object-fit: cover;
}
.article-layout {
display: grid;
grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
gap: 58px;
padding-block: 65px;
}
.toc {
position: sticky;
top: 25px;
border-top: 3px solid var(--red);
padding-top: 15px;
}
.toc strong {
display: block;
margin: 9px 0 14px;
}
.toc ol {
padding-left: 20px;
margin: 0;
color: var(--ink-soft);
font-size: 13px;
}
.toc li {
margin-bottom: 12px;
}
.article-body {
min-width: 0;
max-width: 780px;
}
.standfirst {
font-size: 19px;
color: var(--navy);
line-height: 2;
margin-bottom: 36px;
}
.article-section {
position: relative;
padding-bottom: 34px;
margin-bottom: 39px;
border-bottom: 1px solid var(--line);
scroll-margin-top: 40px;
}
.section-num {
font: 15px Georgia, serif;
color: var(--red);
}
.article-section h2 {
margin: 5px 0 18px;
font-size: 26px;
}
.article-section p {
font-size: 16px;
line-height: 2.1;
color: #404a4e;
}
.article-summary {
border-left: 4px solid var(--red);
padding: 20px 25px;
background: #ece6dd;
}
.article-summary p {
font-size: 13px;
color: var(--ink-soft);
margin-top: 8px;
}
.article-back {
margin-top: 28px;
color: var(--red);
font-weight: bold;
}
.about-page {
padding-block: 70px 100px;
}
.big-copy {
max-width: 850px;
font-size: clamp(22px, 3vw, 32px);
line-height: 1.6;
margin: 16px 0 45px;
}
.about-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
}
.about-grid h2 {
margin: 25px 0 12px;
}
.about-grid p {
color: var(--ink-soft);
}
@media (max-width: 1080px) {
  .header-in {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  padding: 15px 0 0;
}
.nav {
overflow-x: auto;
max-width: 100%;
padding-bottom: 8px;
scrollbar-width: thin;
}
.hero {
grid-template-columns: 1fr 1fr;
gap: 18px;
}
.hero-photo img {
height: 460px;
}
.latest-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 760px) {
  .shell {
  width: min(calc(100% - 32px), var(--max-width));
}
.utility-in span:last-child {
display: none;
}
.hero {
grid-template-columns: 1fr;
padding-block: 42px 58px;
}
.hero h1 {
margin-top: 17px;
}
.hero-visual {
padding-right: 12px;
}
.hero-photo img {
height: 390px;
}
.hero-vertical {
right: -2px;
}
.hero-facts {
margin-top: 26px;
gap: 24px;
}
.section-heading {
align-items: start;
flex-direction: column;
gap: 9px;
}
.features-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.story-card.wide {
grid-row: auto;
}
.story-card.wide .story-image img {
aspect-ratio: 1.42;
}
.category-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.latest-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reading-note, .about-grid {
grid-template-columns: 1fr;
gap: 22px;
}
.page-intro {
grid-template-columns: 1fr;
gap: 22px;
}
.article-layout {
grid-template-columns: 1fr;
gap: 25px;
}
.toc {
position: static;
}
.footer-main, .footer-bottom {
flex-direction: column;
}
}
@media (max-width: 480px) {
  .hero h1 {
  font-size: 29px;
}
.hero h1 span {
font-size: 25px;
}
.hero-photo img {
height: 340px;
}
.photo-caption {
padding: 12px 15px;
width: 192px;
}
.photo-caption strong {
font-size: 15px;
}
.hero-facts {
gap: 15px;
}
.hero-facts strong {
font-size: 22px;
}
.features-grid, .latest-grid {
grid-template-columns: 1fr;
}
.category-grid {
grid-template-columns: 1fr 1fr;
}
.category-tile {
min-height: 225px;
padding: 17px 13px;
}
.category-tile h3 {
font-size: 21px;
}
.category-tile p {
font-size: 11px;
}
.features, .latest, .category-list, .related {
padding-block: 45px;
}
.article-head h1 {
font-size: 32px;
}
.article-cover img {
max-height: 280px;
}
}
@media (prefers-reduced-motion: reduce) {
  html {
  scroll-behavior: auto;
}
.story-image img {
transition: none;
}
}
/* V2: robust layout and accessible media defaults */
:where(main, section, article, aside, nav, figure, .shell) {
min-width: 0;
}
:where(p, li, figcaption, a) {
overflow-wrap: break-word;
}
.site-header {
position: relative;
z-index: 2;
}
.nav {
-webkit-overflow-scrolling: touch;
scrollbar-gutter: stable;
}
.story-image, .hero-photo {
isolation: isolate;
}
.story-image img {
background-color: #e9e2d8;
}
@media (max-width: 760px) {
  .header-in {
  gap: 8px;
}
.nav {
width: 100%;
overflow-x: auto;
overscroll-behavior-inline: contain;
}
.hero {
overflow: clip;
}
.hero-visual {
max-width: 100%;
}
.section-heading > p {
max-width: 100%;
}
}
@media (max-width: 380px) {
  .category-grid {
  grid-template-columns: minmax(0, 1fr);
}
.hero-facts {
flex-wrap: wrap;
}
}
