/*rbmvhd.cn — editorial visual journal / 2026*/

:root {
  --ink: #243047;
  --muted: #687589;
  --paper: #fcfbf8;
  --panel: #ffffff;
  --line: #e4e8ec;
  --accent: #ba6377;
  --aqua: #7eaaa9;
  --rose: #f5e4e7;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.8 "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

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

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

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

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

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

.top-note {
  background: #263348;
  color: #e7ecf2;
  font-size: 12px;
  text-align: center;
  padding: 5px 12px;
  letter-spacing: .1em;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rose);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 28px;
}

.brand-name {
  font-family: Georgia, "Songti SC", serif;
  font-weight: 700;
  font-size: 25px;
  line-height: 1.1;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .16em;
  margin-top: 3px;
}

.header-copy {
  text-align: right;
  color: var(--muted);
  font-size: 12px;
  max-width: 370px;
}

.nav-wrap {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}

.nav a {
  padding: 6px 15px;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 600;
}

.nav a[aria-current="page"], .nav a:hover {
  background: var(--rose);
  color: #8b3b51;
}

.main {
  padding: 34px 0 80px;
}

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
  color: var(--accent);
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  overflow: hidden;
  background: #edf3f3;
  border-radius: 14px;
  min-height: 415px;
}

.hero-copy {
  padding: clamp(28px,5vw,72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

h1, h2, h3 {
  font-family: "Songti SC", "Noto Serif SC", Georgia, serif;
  line-height: 1.38;
}

h1 {
  font-size: clamp(28px,3.5vw,49px);
  margin: 12px 0 20px;
  font-weight: 700;
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(23px,2.3vw,31px);
  margin: 0 0 18px;
}

h3 {
  font-size: 20px;
  margin: 0 0 11px;
}

p {
  margin: 0 0 16px;
}

.lead {
  font-size: 16px;
  color: #536375;
  line-height: 2;
}

.hero-media {
  position: relative;
  min-height: 380px;
}

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

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 30px 0 50px #edf3f366;
  pointer-events: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: #243047;
  color: white;
  border-radius: 30px;
  padding: 10px 23px;
  font-size: 14px;
  font-weight: 700;
}

.button:hover {
  background: #8b3b51;
  color: white;
}

.button.secondary {
  color: #243047;
  background: white;
  border: 1px solid #d5dde3;
}

.feature-strip {
  margin: 32px 0 58px;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}

.feature {
  padding: 19px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.feature span {
  color: var(--accent);
  font: 700 14px Georgia,serif;
}

.feature strong {
  display: block;
  font-size: 18px;
  margin-top: 5px;
}

.feature small {
  color: var(--muted);
  line-height: 1.5;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  gap: 15px;
}

.section-head h2 {
  margin-bottom: 12px;
}

.section-head .more {
  font-size: 13px;
  color: var(--accent);
  padding-bottom: 16px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 20px;
}

.story-card {
  min-width: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.story-card.featured {
  grid-row: span 2;
}

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

.story-card.featured img {
  aspect-ratio: .91;
}

.story-card-copy {
  padding: 17px 19px 21px;
}

.story-card h3 {
  font-size: 18px;
  margin: 7px 0 9px;
}

.story-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

.meta {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.wide-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #263748;
  color: #fff;
  border-radius: 13px;
  overflow: hidden;
  margin: 62px 0;
}

.wide-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.wide-feature .feature-text {
  padding: clamp(28px,4vw,54px);
  align-self: center;
}

.wide-feature p {
  color: #dbe2e8;
}

.wide-feature .eyebrow {
  color: #f3b8c0;
}

.wide-feature a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

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

.list-card {
  display: grid;
  gap: 11px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.list-card img {
  width: 100%;
  aspect-ratio: 1.62;
  object-fit: cover;
  border-radius: 9px;
}

.list-card h3 {
  font-size: 18px;
  margin: 0;
}

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

.intro-band {
  background: #f3e8e8;
  border-radius: 12px;
  padding: 30px;
  margin: 56px 0 0;
}

.intro-band p {
  max-width: 900px;
  margin: 0;
  color: #695a63;
}

.breadcrumbs {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 25px;
}

.breadcrumbs a {
  color: #8e5564;
}

.page-heading {
  max-width: 880px;
  margin-bottom: 28px;
}

.page-heading h1 {
  font-size: clamp(27px,3.2vw,43px);
}

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

.article-body {
  font-size: 16px;
  line-height: 2.05;
}

.article-body h2 {
  margin: 34px 0 16px;
  font-size: 25px;
}

.article-body p {
  margin-bottom: 19px;
}

.article-hero {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 1.85;
  object-fit: cover;
}

.figcaption {
  color: var(--muted);
  font-size: 12px;
  margin: 8px 0 24px;
}

.sidebar {
  background: #fff;
  border: 1px solid var(--line);
  padding: 23px;
  border-radius: 12px;
}

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

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.related {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}

.related a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer {
  background: #263348;
  color: #dbe3ec;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 25px;
}

.footer a {
  color: #edf1f4;
  text-decoration: underline;
}

.footer p {
  font-size: 13px;
  margin: 7px 0;
  color: #c3ced8;
}

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

  .story-card.featured {
    grid-row: auto;
  }

  .story-card.featured img {
    aspect-ratio: 1.62;
  }

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

  .sidebar {
    max-width: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--max),calc(100% - 28px));
  }

  .top-note {
    font-size: 10px;
  }

  .header-inner {
    min-height: 80px;
  }

  .header-copy {
    display: none;
  }

  .brand-name {
    font-size: 21px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    scrollbar-width: thin;
  }

  .nav a {
    flex: 0 0 auto;
    padding: 6px 11px;
  }

  .main {
    padding-top: 18px;
  }

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

  .hero-copy {
    padding: 27px 23px;
  }

  .hero-media {
    min-height: 230px;
    max-height: 320px;
  }

  .hero-media::after {
    display: none;
  }

  .lead {
    font-size: 14px;
  }

  .feature-strip {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 9px;
    margin: 22px 0 40px;
  }

  .feature {
    padding: 13px;
  }

  .feature strong {
    font-size: 15px;
  }

  .editorial-grid, .list-grid, .wide-feature {
    grid-template-columns: 1fr;
  }

  .story-card.featured img {
    aspect-ratio: 1.62;
  }

  .wide-feature {
    margin: 40px 0;
  }

  .wide-feature img {
    min-height: 230px;
  }

  .wide-feature .feature-text {
    padding: 24px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .intro-band {
    padding: 22px;
  }

  .article-body {
    font-size: 15px;
  }
}

/*2026 layout refinement: readable source, predictable responsive sizing*/

:root {
  --reading-width: 74ch;
}

html {
  overflow-x: clip;
}

body {
  min-width: 320px;
}

main, section, article, aside, nav, .hero-copy, .story-card-copy {
  min-width: 0;
}

.brand-sub {
  display: block;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  padding: 9px 16px;
  background: #fff;
  color: var(--ink);
  z-index: 999;
  border: 2px solid var(--accent);
}

.skip-link:focus {
  top: 12px;
}

.hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  min-height: 0;
}

.hero-copy {
  padding: clamp(24px, 3.4vw, 48px);
}

.hero h1 {
  font-size: clamp(27px, 2.8vw, 40px);
  line-height: 1.4;
  letter-spacing: 0;
  overflow-wrap: break-word;
  margin: 10px 0 12px;
}

.hero-kicker {
  margin-bottom: 16px;
  color: #91546b;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero .lead {
  max-width: var(--reading-width);
  line-height: 1.86;
  font-size: 14px;
}

.hero-media {
  min-height: 340px;
}

.hero-media img,
.wide-feature img {
  object-position: center;
}

.feature-strip {
  gap: 14px;
  margin-block: 28px 50px;
}

.feature {
  min-width: 0;
  overflow-wrap: break-word;
}

.editorial-grid {
  align-items: stretch;
}

.story-card.featured img {
  aspect-ratio: 1.25;
}

.story-card a img,
.list-card a img {
  transition: transform .2s ease;
}

.story-card a,
.list-card a {
  min-width: 0;
}

.article-body > p,
.article-body > ul,
.article-body > ol {
  max-width: var(--reading-width);
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero h1 {
    font-size: clamp(25px, 3vw, 34px);
  }

  .hero-media {
    min-height: 300px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    overflow: visible;
    white-space: normal;
  }

  .nav a {
    display: block;
    min-width: 0;
    padding: 8px 4px;
    text-align: center;
    line-height: 1.4;
    font-size: 12px;
    border-radius: 7px;
  }

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

  .hero-copy {
    padding: 25px 20px;
  }

  .hero h1 {
    font-size: clamp(26px, 7vw, 33px);
  }

  .hero-media {
    min-height: 0;
    max-height: none;
  }

  .hero-media img {
    aspect-ratio: 1.75;
    height: auto;
  }

  .feature-strip {
    margin-block: 20px 38px;
  }

  .feature strong {
    font-size: 15px;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head .more {
    white-space: nowrap;
    margin-top: 6px;
  }

  .story-card.featured img {
    aspect-ratio: 1.62;
  }

  .article-layout {
    gap: 28px;
  }

  .article-body {
    overflow-wrap: break-word;
  }

  .footer-inner {
    gap: 12px;
  }
}

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

  .feature-strip {
    grid-template-columns: 1fr 1fr;
  }

  .feature {
    padding: 11px;
  }

  .section-head h2 {
    font-size: 22px;
  }
}

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

  .story-card a img, .list-card a img {
    transition: none;
  }
}
