.seo-page {
  background: var(--paper);
  color: var(--ink);
}

.seo-shell {
  width: min(1240px, calc(100% - clamp(32px, 8vw, 128px)));
  margin: 0 auto;
}

.breadcrumbs a,
.article-body a {
  color: inherit;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.seo-product {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(40px, 7vw, 96px);
  padding: 58px 0 88px;
}

.seo-product__image {
  min-height: 620px;
  display: grid;
  place-items: center;
  border-radius: 999px 999px 32px 32px;
  background: #e7eadf;
  overflow: hidden;
}

.seo-product__image img {
  width: min(86%, 520px);
  height: auto;
}

.seo-product__copy h1,
.article-header h1,
.journal-header h1,
.not-found h1 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.035em;
}

.seo-product__copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.9;
}

.seo-product__copy h1 small {
  display: block;
  margin-top: 12px;
  font-size: 0.32em;
  letter-spacing: 0.08em;
}

.seo-product__lead {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.55;
}

.article-lead {
  max-width: 760px;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.seo-product__price {
  margin: 28px 0;
  font-size: 1.15rem;
}

.seo-product__buy {
  display: flex;
  gap: 12px;
  margin-bottom: 34px;
}

.seo-product__buy select {
  min-width: 170px;
  border: 1px solid #14251f;
  background: transparent;
  padding: 13px 16px;
}

.seo-product__facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 30px 0;
  background: rgba(20, 37, 31, 0.18);
  border: 1px solid rgba(20, 37, 31, 0.18);
}

.seo-product__facts div {
  padding: 18px;
  background: #f5f0e6;
}

.seo-product__facts span {
  display: block;
  margin-bottom: 6px;
  color: #69736c;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.seo-product__section {
  padding: 24px 0;
  border-top: 1px solid rgba(20, 37, 31, 0.16);
}

.seo-product__warning,
.article-warning {
  padding: 18px 20px;
  border-left: 3px solid #9d5065;
  background: #eee1df;
}

.journal-header,
.article-header,
.not-found {
  max-width: 840px;
  padding: clamp(36px, 5vw, 64px) 0 32px;
}

.journal-header h1,
.not-found h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 1.25rem + 2.75vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Long editorial titles need a reading scale, not the landing-page display scale. */
.article-header {
  padding: clamp(36px, 5vw, 64px) 0 28px;
}

.article-header h1 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 1.25rem + 2.75vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  padding-bottom: 90px;
}

.journal-card {
  border-top: 1px solid rgba(20, 37, 31, 0.2);
  padding-top: 20px;
}

.journal-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 20px;
}

.journal-card h2 {
  margin: 8px 0 12px;
  font-family: "Newsreader", serif;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  line-height: 1.2;
  font-weight: 400;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.32fr);
  gap: 72px;
  align-items: start;
  padding-bottom: 100px;
}

.article-body {
  max-width: 760px;
  font-size: 1.04rem;
  line-height: 1.8;
}

.article-body h2 {
  margin: 48px 0 14px;
  font-family: "Newsreader", "Noto Serif TC", serif;
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
}

.article-body li + li {
  margin-top: 8px;
}

.article-related {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  padding: 24px;
  border: 1px solid rgba(20, 37, 31, 0.18);
}

.article-related img {
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .seo-product,
  .article-layout { grid-template-columns: 1fr; }
  .seo-product { padding-top: 20px; gap: 24px; }
  .seo-product__image { min-height: 0; height: 260px; }
  .seo-product__image img { width: auto; height: 94%; max-width: 90%; object-fit: contain; }
  .seo-product__copy h1 { font-size: 2.8rem; }
  .seo-product__facts { grid-template-columns: 1fr; }
  .seo-product__buy { flex-direction: column; }
  .journal-grid { grid-template-columns: 1fr; }
  .article-related { position: static; }
}
