* {
  box-sizing: border-box;
}

:root {
  --bg: #ffffff;
  --text: #222222;
  --muted: #555555;
  --line: #d6d6d6;
  --rule: #000000;
  --dark: #29303b;
  --accent: #c43b1d;
  --blue: #0077a3;
  --max: 1180px;
  --anchor-offset: 144px;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

code {
  padding: 0.08rem 0.28rem;
  border: 1px solid #d0d0d0;
  background: #f1f1f1;
  font-size: 0.86em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: white;
}

.top-strip {
  height: 18px;
  background: #cfcfcf;
  border-top: 3px solid #1e2430;
}

.masthead {
  max-width: var(--max);
  height: 54px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eeeeee;
}

.journal-logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.95rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.masthead-links {
  display: flex;
  align-items: stretch;
  font-size: 1rem;
}

.masthead-links a {
  min-height: 54px;
  padding: 18px 16px 0;
  border-left: 1px solid #eeeeee;
  text-decoration-thickness: 1px;
}

.nav {
  max-width: var(--max);
  min-height: 54px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  border-bottom: 4px solid var(--rule);
}

.nav-links {
  display: flex;
  align-items: stretch;
  gap: 0;
  font-weight: 700;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  padding: 0 14px 0 0;
  margin-right: 18px;
  text-decoration-thickness: 1px;
}

.nav-links a:hover,
.masthead-links a:hover {
  color: var(--accent);
}

.nav-secondary {
  border-left: 1px solid #e6e6e6;
  padding-left: 20px;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 20px 48px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(430px, 1fr);
  min-height: 380px;
  align-items: stretch;
}

.hero-content {
  min-width: 0;
  padding: 30px;
  background: var(--dark);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 11px;
  color: inherit;
  font-size: 0.9rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.card-title {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 800;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 470px;
  margin-bottom: 18px;
  font-size: clamp(1.95rem, 3.2vw, 3rem);
  line-height: 1.02;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(1.65rem, 2.5vw, 2.5rem);
  line-height: 1.05;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.08;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.section-title-link {
  text-decoration-thickness: 1.5px;
}

.hero-text {
  max-width: 460px;
  margin-bottom: 0;
  color: white;
  font-size: 0.96rem;
  line-height: 1.45;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.primary {
  background: white;
  color: var(--dark);
}

.secondary {
  color: white;
}

.hero-card {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  background: #eeeeee;
  border: 1px solid var(--line);
}

.hero-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card-title {
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.card-subtitle,
.muted {
  color: var(--muted);
}

.avatar {
  display: none;
}

.split-section {
  display: grid;
  grid-template-columns: 0.33fr 0.67fr;
  gap: 28px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.glass-panel {
  min-width: 0;
  padding-top: 2px;
  border-top: 3px solid var(--rule);
  color: #222222;
  font-size: 0.96rem;
  line-height: 1.65;
}

.profile-page {
  padding-top: 34px;
}

.profile-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  padding: 18px 0 34px;
  border-bottom: 1px solid var(--line);
}

.profile-identity h1 {
  max-width: 780px;
  margin-bottom: 18px;
}

.profile-dek {
  max-width: 820px;
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.58;
}

.profile-snapshot {
  align-self: start;
  padding: 0;
}

.profile-photo {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 4 / 5;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  background: #f2f2f2;
  border: 1px solid var(--line);
  overflow: hidden;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  font-weight: 800;
}

.profile-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-photo img[hidden] {
  display: none;
}

.profile-email,
.profile-links {
  color: var(--muted);
  line-height: 1.55;
}

.profile-email a,
.profile-links a {
  color: var(--blue);
  font-weight: 700;
}

.profile-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(300px, 0.38fr);
  gap: 42px;
  padding-top: 34px;
}

.profile-narrative h2,
.profile-list-block h2 {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.profile-narrative p {
  max-width: 760px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.13rem;
  line-height: 1.68;
}

.profile-highlight-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 28px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.profile-highlight {
  min-width: 0;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.profile-highlight p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.profile-highlight strong {
  display: block;
  font-size: 1rem;
  line-height: 1.25;
}

.profile-list-block {
  margin-bottom: 30px;
}

.profile-list-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.profile-list-block li {
  margin-bottom: 8px;
}

.section-heading {
  margin-bottom: 14px;
  padding-top: 14px;
  border-top: 4px solid var(--rule);
}

.compact-heading {
  margin-bottom: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.compact-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.35rem, 2vw, 1.95rem);
}

#news .compact-heading h2::after {
  content: "›";
  display: inline-block;
  margin-left: 8px;
  font-family: Arial, sans-serif;
  font-size: 1.1em;
  line-height: 0;
  text-decoration: none;
}

.section-heading p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.55;
}

.code-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(230px, 0.65fr);
  gap: 14px;
}

.news-layout {

  display: grid;

  grid-template-columns: minmax(300px, 1.05fr) repeat(3, minmax(0, 0.52fr));

  gap: 18px;

  padding-bottom: 58px;

}

.article-list {
  display: block;
  border-top: 1px solid var(--line);
}

.news-card,
.article-card,
.review-card,
.collection-card {
  min-width: 0;
  padding-bottom: 21px;
  border-bottom: 1px solid var(--line);
}

.news-card,
.review-card,
.collection-card {
  display: flex;
  flex-direction: column;
}

.featured-news {
  grid-row: span 2;
  display: grid;
  grid-template-rows: auto 1fr;
  padding-bottom: 0;
  border-bottom: 0;
  background: var(--dark);
  color: white;
}

.featured-news .entry-image {
  aspect-ratio: 16 / 8.8;
  margin-bottom: 0;
  border: 0;
}

.featured-news .entry-copy {
  min-height: 238px;
  padding: 25px 20px 22px;
}

.featured-news h3 {
  max-width: 680px;
  margin-bottom: 13px;
  color: white;
  font-size: clamp(1.5rem, 2.3vw, 2rem);
}

.featured-news p {
  color: white;
}

.featured-news .news-meta-block {
  margin-top: auto;
}

.featured-news .entry-meta,
.featured-news .news-author {
  color: white;
}

.news-card:not(.featured-news) .entry-image {
  aspect-ratio: 16 / 8.7;
  margin-bottom: 10px;
}

.news-card:not(.featured-news) h3 {
  margin-bottom: 16px;
  font-size: clamp(1.05rem, 1.55vw, 1.45rem);
}

.news-meta-block {
  margin-top: auto;
}

.news-author {
  margin-bottom: 2px;
  color: var(--text);
}

.article-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 210px;
  gap: 26px;
  padding: 20px 0;
  align-items: start;
}

.articles-index {
  padding-top: 28px;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  font-size: 0.96rem;
}

.breadcrumb a {
  color: var(--muted);
}

.articles-index h1 {
  margin-bottom: 20px;
  color: var(--text);
  text-decoration: none;
}

.article-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 290px));
  gap: 14px;
  margin-bottom: 16px;
  padding: 22px;
  background: #eeeeee;
}

.article-filters label {
  display: grid;
  gap: 9px;
  font-weight: 700;
}

.article-filters select {
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--text);
  background: white;
  color: var(--text);
  font: inherit;
}

.article-index-list {
  border-top: 1px solid var(--line);
}

.article-index-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 210px;
  gap: 26px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.article-index-row h2 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.08;
}

.article-detail {
  padding-top: 28px;
}

.article-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 70px;
}

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

.article-kicker {
  margin-bottom: 8px;
  color: var(--text);
}

.article-detail h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--text);
  text-decoration: none;
}

.detail-authors {
  max-width: 820px;
  margin-bottom: 22px;
  color: var(--blue);
  font-size: 1.05rem;
  line-height: 1.8;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.detail-citation {
  margin-bottom: 46px;
  color: var(--text);
}

.detail-section {
  margin-bottom: 38px;
}

.detail-section h2 {
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.detail-section p {
  max-width: 800px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.62;
}

.review-detail {
  padding-top: 28px;
}

.review-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 66px;
}

.review-main {
  min-width: 0;
}

.review-main h1 {
  max-width: 840px;
  margin-bottom: 18px;
  color: var(--text);
  text-decoration: none;
}

.review-standfirst {
  max-width: 820px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.55;
}

.review-figure {
  margin: 0 0 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.review-figure img {
  width: 100%;
  max-height: 560px;
  display: block;
  object-fit: contain;
  background: #f5f5f5;
  border: 1px solid var(--line);
}

.review-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

#reviewBody p {
  max-width: 800px;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.66;
}

.reference-list {
  max-width: 800px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.55;
}

.reference-list li {
  margin-bottom: 10px;
}

.review-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
}

.access-panel,
.share-panel,
.subjects-panel {
  padding: 16px 0 18px;
  border-top: 1px solid var(--line);
}

.access-panel p,
.share-panel p,
.subjects-panel p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.access-panel strong {
  display: block;
  font-size: 1.04rem;
}

.share-panel a,
.subjects-panel a {
  color: var(--blue);
  font-weight: 700;
}

.subjects-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subjects-panel a {
  padding: 5px 8px;
  background: #eeeeee;
  font-size: 0.86rem;
  text-decoration: none;
}

.article-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
}

.pdf-button {
  display: flex;
  min-height: 50px;
  margin-bottom: 34px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  background: var(--blue);
  color: white;
  font-size: 1.05rem;
  text-decoration: none;
}

.pdf-button::after {
  content: "↓";
  font-weight: 700;
}

.article-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
  border: 1px solid var(--line);
}

.article-tabs button {
  min-height: 38px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #eeeeee;
  color: var(--blue);
  font: inherit;
  cursor: default;
}

.article-tabs button:first-child {
  background: white;
  color: var(--text);
  font-weight: 700;
}

.article-tabs button:last-child {
  border-right: 0;
}

.section-nav {
  display: grid;
  gap: 18px;
}

.section-nav a {
  color: var(--blue);
  line-height: 1.25;
}

.similar-content {
  margin-top: 48px;
  padding: 24px;
  background: #f2f2f2;
}

.similar-content h2 {
  margin-bottom: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0;
}

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

.similar-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  background: white;
}

.similar-grid h3 {
  font-size: 1rem;
}

.article-meta p {
  margin: 0 0 8px;
  color: var(--text);
  font-weight: 700;
}

.article-meta .access {
  color: var(--accent);
  font-weight: 400;
}

.article-copy h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
}

.article-copy p {
  max-width: 820px;
}

.authors {
  margin-top: 20px;
  color: var(--text);
}

.journal-name {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.article-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
}

.article-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.reviews-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) repeat(2, minmax(0, 0.85fr));
  gap: 18px;
  border-top: 1px solid var(--line);
}

.review-card {
  padding-top: 14px;
}

.review-card:first-child {
  grid-row: span 2;
}

.review-card:first-child h3 {
  font-size: 1.5rem;
}

.review-card .entry-image img {
  object-fit: contain;
  background: #f5f5f5;
}

.collection-card {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 18px;
  min-height: 205px;
  padding: 0;
  border: 1px solid var(--line);
}

.collection-card + .collection-card {
  margin-top: 14px;
}

.collection-card .entry-image {
  height: auto;
  margin-bottom: 0;
  aspect-ratio: 4 / 3;
}

.collection-card .entry-copy {
  padding: 20px 20px 20px 0;
}

.entry-image {
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: 11px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
}

.entry-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.entry-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.pub-tag {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.news-card p,
.article-copy p,
.review-card p,
.collection-card p {
  color: var(--muted);
  line-height: 1.5;
}

.entry-meta {
  margin-top: auto;
  padding-top: 11px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
}

.download,
.collection-card a {
  align-self: flex-start;
  color: var(--blue);
  font-weight: 700;
}

.contact {
  margin-top: 22px;
  border-top: 4px solid var(--rule);
  text-align: left;
}

.contact a {
  color: var(--blue);
  font-weight: 700;
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 20px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

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

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

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

  .news-layout,
  .reviews-layout {
    grid-template-columns: 1fr;
  }

  .article-card,
  .article-index-row {
    grid-template-columns: 150px minmax(0, 1fr) 210px;
    gap: 24px;
  }

  .featured-news {
    grid-row: auto;
  }

  .review-card:first-child {
    grid-row: auto;
  }

  .article-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .review-detail-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .review-sidebar {
    position: static;
  }

  .profile-masthead,
  .profile-detail-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  :root {
    --anchor-offset: 156px;
  }

  body {
    font-size: 14px;
  }

  .top-strip {
    height: 16px;
  }

  .masthead {
    height: auto;
    padding: 16px 20px;
    align-items: flex-start;
  }

  .masthead-links {
    display: none;
  }

  .nav {
    min-height: auto;
    padding: 0 20px;
    overflow-x: auto;
  }

  .nav-secondary {
    display: none;
  }

  .nav-links a {
    min-height: 50px;
    margin-right: 18px;
    white-space: nowrap;
  }

  .section {
    padding: 20px 20px 54px;
  }

  .hero-content {
    padding: 28px 24px;
  }

  h1 {
    font-size: clamp(2.15rem, 10vw, 2.7rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
  }

  .hero-card {
    height: 260px;
    min-height: 260px;
  }

  .split-section,
  .news-layout,
  .article-list,
  .reviews-layout,
  .code-grid,
  .profile-highlight-list {
    grid-template-columns: 1fr;
  }

  .collection-card {
    grid-template-columns: 1fr;
  }

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

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

  .article-image {
    order: -1;
  }

  .article-filters {
    grid-template-columns: 1fr;
    padding: 20px;
  }

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

  .collection-card .entry-image {
    margin-bottom: 14px;
  }

  .collection-card .entry-copy {
    padding: 0 20px 22px;
  }
}
