:root {
  --guide-paper: #fffaf0;
  --guide-line: #c6c6ae;
  --guide-rust: #a33f26;
  --guide-serif: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif CJK JP", serif;
}
[data-page="guides"], [data-page="article"] { background: #f8f5ed; }
.guide-feature {
  margin-block-start: clamp(32px, 5vw, 64px);
  padding: clamp(15px, 2.7vw, 35px);
  border: 1px solid #c9c9b5;
  background: var(--guide-paper);
  box-shadow: 0 4px 0 -2px #ede9dc, 0 5px 0 -2px #c3c4ae;
}
.guide-mast {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-block: 9px 13px;
  border-block: 4px solid var(--ink);
  border-bottom: 3px double var(--ink);
}
.guide-mast :is(h1,h2) {
  font: 800 clamp(2rem, 4.3vw, 3.65rem)/1.28 var(--guide-serif);
  letter-spacing: -.075em;
}
.guide-mast :is(h1,h2) span { color: var(--guide-rust); }
.guide-all {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  font-size: .88rem;
  font-weight: 750;
  color: var(--green-dark);
  white-space: nowrap;
}
.guide-all span, .guide-cover-link span {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid currentColor;
  border-radius: 50%;
}
.guide-all:hover, .reader-index a:hover, .reader-sources a:hover { text-decoration: underline; text-underline-offset: 4px; }
.guide-spread {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(104px, auto));
  gap: 0 clamp(18px, 3vw, 40px);
  margin-block-start: 19px;
}
.guide-cover {
  position: relative;
  display: grid;
  grid-row: span 3;
  align-content: end;
  min-height: 360px;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background: #254837;
}
.guide-cover img, .guide-cover::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.guide-cover img { object-fit: cover; z-index: -2; }
.guide-cover::after {
  content: "";
  z-index: -1;
  background: linear-gradient(0deg, #102b22f2 0%, #112b22bf 22%, transparent 74%);
}
.guide-cover .guide-story-copy { padding: clamp(17px, 2.8vw, 36px); }
.guide-byline { color: #67594b; font-size: .78rem; font-weight: 680; }
.guide-byline span { color: var(--guide-rust); font-weight: 800; }
.guide-cover .guide-byline, .guide-cover .guide-byline span { color: #fff5df; }
.guide-cover h3 {
  margin-block: 8px 15px;
  font: 750 clamp(1.55rem, 2.65vw, 2.4rem)/1.4 var(--guide-serif);
  text-wrap: balance;
}
.guide-cover-link { display: inline-flex; align-items: center; gap: 10px; font-size: .83rem; font-weight: 700; }
.guide-cover-link span { width: 23px; height: 23px; }
.guide-brief {
  display: grid;
  grid-template-columns: minmax(88px, .53fr) minmax(0, 1fr);
  gap: clamp(12px, 1.7vw, 22px);
  align-items: center;
  padding-block: 12px;
  border-bottom: 1px solid var(--guide-line);
}
.guide-brief:nth-child(2) { padding-top: 0; }
.guide-brief:last-child { padding-bottom: 0; border: 0; }
.guide-brief img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; }
.guide-brief h3 { margin-top: 5px; font: 750 clamp(1rem, 1.7vw, 1.42rem)/1.5 var(--guide-serif); }
:is(.guide-cover, .guide-brief, .guide-tile):hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }

.library-mast { margin-top: 4px; }
.library-mast h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); }
.guide-total { font-size: .95rem; font-weight: 750; }
.guide-topics { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 15px; }
.guide-topics a, .reader-brands a { display: inline-flex; align-items: center; gap: 9px; min-height: 38px; color: var(--green-dark); font-size: .89rem; font-weight: 750; }
.guide-topics a:hover, .reader-brands a:hover { text-decoration: underline; }
.guide-collection { margin-block-start: clamp(30px, 4vw, 56px); }
.guide-collection h2 { border-bottom: 1px solid var(--ink); padding-block-end: 8px; font: 750 clamp(1.5rem, 3vw, 2.15rem)/1.4 var(--guide-serif); }
.guide-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 28px 18px; margin-block-start: 18px; }
.guide-tile { display: flex; flex-direction: column; min-width: 0; }
.guide-tile-photo { overflow: hidden; background: #ebe8db; }
.guide-tile-photo img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; }
.guide-tile-caption { display: flex; flex: 1; flex-direction: column; padding-block-start: 10px; }
.guide-tile h3 { font: 750 1.16rem/1.55 var(--guide-serif); }
.guide-tile p { display: flex; justify-content: space-between; color: var(--muted); margin-top: auto; padding-block: 6px 9px; border-bottom: 1px solid var(--guide-line); font-size: .78rem; }

.reader-mast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  align-items: center;
  gap: clamp(18px, 4vw, 58px);
  background: var(--guide-paper);
  border-block: 4px solid var(--ink);
  border-block-end: 3px double var(--ink);
  padding-block: clamp(16px, 2.4vw, 32px);
  padding-inline: clamp(16px, 3vw, 40px);
}
.reader-intro h1 { margin-block: 12px; font: 800 clamp(1.8rem, 3.1vw, 3rem)/1.47 var(--guide-serif); letter-spacing: -.04em; overflow-wrap: anywhere; }
.reader-dek { max-width: 44em; color: #415448; font-size: .98rem; line-height: 1.9; }
.reader-hero { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
.reader-columns { display: grid; grid-template-columns: minmax(155px, 235px) minmax(0, 690px); justify-content: center; gap: clamp(32px, 6vw, 86px); padding-block-start: clamp(25px, 4vw, 58px); }
.reader-index { position: sticky; top: 24px; align-self: start; padding-block: 11px; border-block: 1px solid var(--guide-line); }
.reader-index h2, .reader-sources h2 { font-size: .93rem; }
.reader-index ol { margin: 9px 0 1px; padding-left: 1.65em; }
.reader-index li { padding: 4px 0; font-size: .87rem; }
.reader-index li::marker { color: var(--guide-rust); font-weight: 750; }
.reader-text { min-width: 0; overflow-wrap: anywhere; }
.reader-text section + section, .reader-takeaway, .reader-brands, .reader-sources { margin-block-start: 36px; }
.reader-text > section > h2 { margin: 0 0 14px; font: 750 clamp(1.25rem, 2.1vw, 1.7rem)/1.5 var(--guide-serif); }
.reader-text p { font-size: 1rem; line-height: 1.95; }
.reader-text p + p { margin-top: 12px; }
.reader-text table { width: 100%; margin-block: 17px 3px; border-collapse: collapse; font-size: .9rem; background: #fffcf5; }
.reader-text :is(th, td) { padding: 9px 10px; text-align: start; border-bottom: 1px solid var(--guide-line); vertical-align: top; }
.reader-text th { background: #e7ecdf; color: #264937; }
.reader-takeaway { background: #eaf0e0; border-left: 4px solid var(--green); padding: 18px 22px; }
.reader-takeaway h2 { font-size: 1rem; color: var(--green-dark); margin-bottom: 5px; }
.reader-brands > div { display: flex; flex-wrap: wrap; gap: 8px; }
.reader-brands a { border: 1px solid var(--guide-line); background: var(--guide-paper); padding: 4px 12px; }
.reader-sources { border-top: 1px solid var(--guide-line); padding-block: 18px; }
.reader-sources ul { padding-inline-start: 1.2em; margin-block: 10px; }
.reader-sources a { color: var(--green-dark); font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .guide-spread { grid-template-columns: 1fr; gap: 0; grid-template-rows: auto; }
  .guide-cover { grid-row: auto; min-height: clamp(225px, 53vw, 370px); margin-bottom: 4px; }
  .guide-brief, .guide-brief:nth-child(2) { grid-template-columns: clamp(80px, 27%, 140px) 1fr; padding-block: 12px; }
  .guide-brief:last-child { padding-bottom: 0; }
  .reader-mast { grid-template-columns: 1fr; }
  .reader-hero { max-height: 350px; }
  .reader-columns { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .reader-index { position: static; }
}
@media (max-width: 540px) {
  .guide-feature { padding: 12px; }
  .guide-mast { padding-bottom: 7px; }
  .guide-all { font-size: .78rem; gap: 5px; }
  .guide-all span { width: 22px; height: 22px; }
  .guide-spread { margin-top: 12px; }
  .guide-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .guide-tile h3 { font-size: 1rem; }
  .guide-topics { gap: 0 14px; }
  .reader-text :is(th, td) { padding: 7px 4px; font-size: .81rem; }
}
