* {
  box-sizing: border-box;
}

:root {
  --ink: #17242c;
  --paper: #f1e8d9;
  --gold: #c7a36a;
  --red: #82483e;
  --muted: #665d52;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui,"Microsoft YaHei",sans-serif;
  line-height: 1.8;
}

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

a:hover {
  text-decoration: underline;
}

a:focus-visible {
  outline: 3px solid #ac7047;
  outline-offset: 4px;
}

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

.wrap {
  max-width: 1180px;
  margin: auto;
  padding: 0 28px;
}

header {
  background: var(--ink);
  color: var(--paper);
}

.mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 25px;
  font-weight: 750;
}

.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
}

.brand img {
  width: 52px;
  height: 52px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  font-size: 14px;
}

.issue {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
}

.hero {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  min-height: 440px;
  margin-top: 32px;
  background: var(--ink);
  color: var(--paper);
}

.hero-copy {
  padding: 42px;
  align-self: center;
}

.hero img {
  width: 100%;
  height: 100%;
  max-height: 540px;
}

h1 {
  font-size: clamp(27px,3.3vw,43px);
  line-height: 1.35;
  margin: 14px 0 20px;
}

h2 {
  font-size: clamp(23px,3vw,30px);
  line-height: 1.4;
}

h3 {
  line-height: 1.5;
}

.note {
  border-left: 4px solid var(--red);
  padding: 12px 18px;
  background: #e8dac4;
  margin: 24px 0;
}

.button {
  display: inline-block;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--ink);
  font-weight: bold;
  margin-top: 8px;
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 2px solid var(--ink);
  margin-top: 42px;
}

.section-title span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
}

.catalog {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  margin: 24px 0 48px;
}

.feature {
  background: #e3d4bd;
}

.feature img {
  width: 100%;
  aspect-ratio: 1.5;
}

.pad {
  padding: 24px;
}

.entry {
  display: grid;
  grid-template-columns: 115px 1fr;
  gap: 18px;
  border-bottom: 1px solid #b9a994;
  padding: 0 0 16px;
  margin-bottom: 16px;
}

.entry img {
  width: 115px;
  height: 115px;
}

.entry h3 {
  margin: 4px 0;
}

.entry p {
  margin: 0;
  font-size: 14px;
}

.tag {
  font-size: 12px;
  color: var(--red);
  font-weight: bold;
  letter-spacing: 1px;
}

.guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 24px 0 48px;
}

.guide section {
  border-top: 4px solid var(--red);
  padding: 12px 0;
}

.article {
  max-width: 850px;
  margin: 30px auto 60px;
}

.article figure {
  margin: 25px 0;
}

.article figure img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #17242c;
}

figcaption,.crumb {
  font-size: 13px;
  color: var(--muted);
}

.article section {
  border-bottom: 1px solid #b9a994;
  padding: 12px 0;
}

footer {
  background: var(--ink);
  color: var(--paper);
  padding: 30px 0;
}

footer p {
  margin: 8px 0;
}

footer nav {
  margin: 15px 0;
}

.sources a {
  text-decoration: underline;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 10px;
  top: 10px;
  z-index: 10;
  background: white;
  padding: 8px;
}

@media(max-width:760px) {
  .wrap {
    padding: 0 18px;
  }

  .mast {
    display: block;
  }

  .mast nav {
    margin-top: 18px;
  }

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

  .hero-copy {
    padding: 26px;
  }

  .hero img {
    max-height: 340px;
  }

  .section-title {
    align-items: start;
  }

  .entry {
    grid-template-columns: 92px 1fr;
    gap: 12px;
  }

  .entry img {
    width: 92px;
    height: 92px;
  }

}

nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-copy, .entry > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
