:root {
  --orange: #d66b3d;
  --paper-deep: #eee4d1;
}

.mag-card__image img {
  width: 100%;
  height: 100%;
}

.mag-card__image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.mag-card__image--hero {
  overflow: hidden;
  background: var(--linen);
}

.mag-card__image--hero img {
  object-fit: cover;
}

.mag-card h1 {
  margin: 7px 0 9px;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.mag-card h1 a:hover {
  color: var(--blue);
}

.article-meta a,
.article-byline a {
  color: var(--blue-dark);
  font-weight: 800;
}

.article-meta__editorial {
  color: #49575a;
}

.article-meta__editorial strong {
  color: var(--charcoal);
}

.article-hero picture,
.article-hero picture img {
  width: 100%;
  height: 100%;
  display: block;
}

.article-hero picture img {
  object-fit: cover;
}

.illustrated-guide {
  margin: 8px 0 52px;
  padding: 28px;
  border: 1px solid #d9cfbd;
  border-top: 8px solid var(--yellow);
  background:
    radial-gradient(circle at 15% 18%, #fff8 0 2px, transparent 3px),
    linear-gradient(135deg, #f8f0df, #f2e5cf);
  background-size: 28px 28px, auto;
}

.illustrated-guide > figcaption {
  margin-bottom: 24px;
}

.illustrated-guide__eyebrow {
  margin: 0 0 6px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .72rem;
  font-weight: 850;
}

.illustrated-guide h2 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: clamp(2rem, 4vw, 3rem);
}

.illustrated-guide > figcaption p:last-child {
  max-width: 680px;
  margin: 0;
}

.job-scene {
  position: relative;
  min-height: 270px;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid #cfc2aa;
  background: linear-gradient(#bfd9d2 0 55%, #d8c794 55% 100%);
}

.job-scene svg {
  width: 100%;
  height: 270px;
  display: block;
}

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

.guide-card {
  min-width: 0;
  padding: 17px;
  border: 1px solid #d6c8af;
  background: #fffdf8;
}

.guide-card svg {
  width: 64px;
  height: 54px;
  margin-bottom: 10px;
  display: block;
}

.guide-card h3 {
  margin: 0 0 6px;
  color: var(--blue-dark);
  font-size: 1.2rem;
}

.guide-card p {
  margin: 0;
  color: #4f5a5c;
  font-size: .9rem;
  line-height: 1.45;
}

.packing-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.packing-group {
  padding: 20px;
  border: 1px solid #d6c8af;
  background: #fffdf8;
}

.packing-group svg {
  width: 100%;
  height: 115px;
  margin-bottom: 12px;
}

.packing-group h3 {
  margin: 0 0 9px;
  color: var(--blue-dark);
  font-size: 1.35rem;
}

.packing-group ul {
  margin: 0;
  padding-left: 18px;
  font-size: .9rem;
}

.packing-group li {
  padding: 2px 0;
}

.packing-layout__note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-left: 5px solid var(--orange);
  background: #fff8e8;
}

.method-choice {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.method-card {
  display: grid;
  grid-template-rows: 110px auto;
  overflow: hidden;
  border: 1px solid #d6c8af;
  background: #fffdf8;
}

.method-card__art {
  display: grid;
  place-items: center;
  background: #d8e4de;
}

.method-card__art svg {
  width: 90%;
  height: 95px;
}

.method-card__body {
  padding: 17px;
}

.method-card h3 {
  margin: 0 0 8px;
  color: var(--blue-dark);
  font-size: 1.3rem;
}

.method-card p,
.method-card li {
  font-size: .88rem;
  line-height: 1.45;
}

.method-card ul {
  margin: 9px 0 0;
  padding-left: 17px;
}

.product-figure {
  display: grid;
  grid-template-columns: minmax(210px, 42%) 1fr;
  gap: 24px;
  align-items: center;
  margin: 12px 0 30px;
  padding: 20px;
  border: 1px solid #d7d7ce;
  background: var(--linen);
}

.product-figure img {
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-figure figcaption {
  color: #4f5a5c;
  font-size: .9rem;
  line-height: 1.5;
}

.product-figure figcaption strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue-dark);
  font: 750 1.35rem/1.15 var(--serif);
}

.product-figure figcaption a {
  color: var(--blue);
  text-decoration: underline;
}

.product-figure-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 12px 0 30px;
}

.product-figure-grid .product-figure {
  grid-template-columns: 1fr;
  margin: 0;
}

.game-illustration {
  margin: 18px 0 30px;
}

.game-illustration img {
  width: 100%;
  border: 1px solid #d6c8af;
  background: var(--linen);
}

.game-illustration figcaption {
  padding: 8px 2px 0;
  color: var(--muted);
  font-size: .82rem;
}

.game-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0 30px;
}

.game-visual-grid .game-illustration {
  margin: 0;
}

.game-visual-grid .game-illustration img {
  aspect-ratio: 900 / 560;
  object-fit: contain;
}

.data-graphic {
  margin: 18px 0 38px;
}

.data-graphic picture,
.data-graphic img {
  display: block;
  width: 100%;
}

.data-graphic img {
  height: auto;
  border: 1px solid #d6c8af;
  background: var(--linen);
}

.data-graphic figcaption {
  margin-top: 9px;
  color: #596668;
  font-size: .82rem;
  line-height: 1.45;
}

.data-graphic figcaption strong {
  color: var(--blue-dark);
}

.data-graphic figcaption a {
  color: var(--blue);
  text-decoration: underline;
}

.checked-price {
  margin: 10px 0 22px;
  padding: 11px 14px;
  border-left: 4px solid var(--yellow);
  background: #fff8e8;
  color: #435154;
  font-size: .9rem;
}

.article-image-credits ul {
  padding-left: 18px;
}

.article-image-credits li {
  margin: 5px 0;
}

.article-image-credits a {
  color: var(--blue);
}

.about-page {
  width: min(780px, calc(100% - 40px));
  margin: auto;
  padding: 78px 0 30px;
}

.about-page h1 {
  margin-bottom: 34px;
  color: var(--blue-dark);
  font-size: clamp(3.2rem, 7vw, 6rem);
}

.about-page p {
  margin-bottom: 24px;
  font-size: 1.15rem;
  line-height: 1.72;
}

.standards-page {
  width: min(780px, calc(100% - 40px));
  margin: auto;
  padding: 78px 0 40px;
}

.standards-page h1 {
  margin: 0 0 24px;
  color: var(--blue-dark);
  font-size: clamp(3rem, 7vw, 5.6rem);
}

.standards-page__lede {
  margin-bottom: 42px;
  color: #35484c;
  font: 600 clamp(1.25rem, 2.6vw, 1.6rem)/1.5 var(--serif);
}

.standards-page h2 {
  margin: 38px 0 10px;
  color: var(--blue-dark);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.standards-page p {
  margin: 0 0 20px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.standards-page a {
  color: var(--blue);
  text-decoration: underline;
}

.mag-footer__bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.archive-count {
  color: var(--muted);
  font-size: .86rem;
}

.search-empty {
  grid-column: 1 / -1;
  padding: 32px;
  border: 1px solid var(--rule);
  background: var(--linen);
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #49575a;
  font-size: .78rem;
}

.review-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.editorial-note {
  margin: 26px 0;
  padding: 18px 20px;
  border-left: 5px solid var(--blue);
  background: #eef4f1;
  color: #25383d;
  line-height: 1.62;
}

.editorial-note strong {
  color: var(--blue-dark);
}

.editorial-note--warning {
  border-left-color: var(--orange);
  background: #fff2e8;
}

.editorial-checklist {
  margin: 24px 0;
  padding: 18px 22px 18px 44px;
  border: 1px solid #d6c8af;
  background: #fffdf8;
}

.editorial-checklist li {
  margin: 8px 0;
  padding-left: 4px;
}

@media (max-width: 900px) {
  .guide-grid,
  .packing-layout,
  .method-choice {
    grid-template-columns: repeat(2, 1fr);
  }

  .packing-layout__note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .illustrated-guide {
    margin-inline: -15px;
    padding: 20px 15px;
  }

  .guide-grid,
  .packing-layout,
  .method-choice,
  .product-figure-grid,
  .game-visual-grid {
    grid-template-columns: 1fr;
  }

  .product-figure {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .product-figure img {
    max-height: 290px;
  }

  .data-graphic picture {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
  }

  .data-graphic img {
    width: 720px;
    max-width: none;
  }

  .data-graphic figcaption::before {
    content: "Swipe graphic horizontally · ";
    color: var(--orange);
    font-weight: 800;
  }

  .job-scene,
  .job-scene svg {
    min-height: 200px;
    height: 200px;
  }

  .about-page {
    width: calc(100% - 30px);
    padding-top: 52px;
  }

  .about-page p {
    font-size: 1.05rem;
  }

  .standards-page {
    width: calc(100% - 30px);
    padding-top: 52px;
  }

  .standards-page p {
    font-size: 1rem;
  }
}

@media print {
  .illustrated-guide,
  .data-graphic,
  .product-figure,
  .game-illustration {
    break-inside: avoid;
  }
}
