.seo-page {
  background: #f5f0e6;
  color: #14251f;
}

.seo-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.seo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(20, 37, 31, 0.16);
}

.seo-header__links,
.seo-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

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

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 28px 0 0;
  font-size: 0.84rem;
  color: #5a675f;
}

.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: "Newsreader", "Noto Serif TC", serif;
  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,
.article-lead {
  font-family: "Newsreader", "Noto Serif TC", serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  line-height: 1.55;
}

.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: 80px 0 44px;
}

.journal-header h1,
.article-header h1,
.not-found h1 {
  margin: 0 0 20px;
  font-size: clamp(3.4rem, 8vw, 7rem);
  line-height: 0.94;
}

.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.8rem, 3vw, 2.6rem);
  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: 2.25rem;
  font-weight: 400;
}

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

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

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

.seo-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 32px 0 48px;
  border-top: 1px solid rgba(20, 37, 31, 0.16);
}

@media (max-width: 760px) {
  .seo-shell { width: min(100% - 28px, 1120px); }
  .seo-header { align-items: flex-start; }
  .seo-header__links { justify-content: flex-end; gap: 10px 14px; }
  .seo-product,
  .article-layout { grid-template-columns: 1fr; }
  .seo-product { padding-top: 30px; }
  .seo-product__image { min-height: 420px; }
  .seo-product__facts { grid-template-columns: 1fr; }
  .seo-product__buy { flex-direction: column; }
  .journal-grid { grid-template-columns: 1fr; }
  .article-related { position: static; }
  .seo-footer { flex-direction: column; }
}
