.pub { background: #fff; color: #111; }
.pub .site-header .wrap { display: flex; align-items: center; gap: 16px; height: auto; min-height: 56px; flex-wrap: wrap; padding-block: 8px; }
.pub .site-header { height: auto; }
.pub .nav-links { display: flex; gap: 14px; }
.pub .nav-links a { text-decoration: none; font-weight: 600; }
.pub .langs { display: flex; gap: 10px; margin-inline-start: auto; }
.pub .langs a { text-decoration: none; }
.pub .langs a[aria-current="true"] { font-weight: 700; text-decoration: underline; }
.pub .wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.hero { position: relative; min-height: 280px; background: #111; }
.hero img { width: 100%; height: 240px; object-fit: cover; display: block; }
.hero-card { background: #fff; margin: -32px 16px 16px; padding: 16px; border-radius: 12px; position: relative; }
.hero h1 { font-size: 28px; line-height: 34px; margin: 0 0 12px; }
.find { display: grid; gap: 8px; }
.find select, .find .btn { min-height: 44px; }
.section { padding: 28px 0; border-top: 1px solid #e6e6e6; }
.section h2 { margin: 0 0 12px; }
.trade-grid, .photo-grid, .story-grid, .pro-grid { display: grid; gap: 12px; }
.trade-grid { grid-template-columns: 1fr 1fr; }
.trade-grid a, .story-card, .photo-card, .pro-tile {
  border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #fff;
  color: inherit; text-decoration: none; display: block;
}
.trade-grid a { padding: 14px; font-weight: 600; }
.photo-grid { grid-template-columns: 1fr 1fr; }
.photo-card img, .story-card img, .pro-tile img, .hero-story img { width: 100%; height: 140px; object-fit: cover; background: #f7f7f7; }
.photo-card span, .story-card div, .pro-tile div { display: block; padding: 8px 10px; }
.story-grid { grid-template-columns: 1fr; }
.draft { display: inline-block; border: 1px solid #111; padding: 1px 6px; font-size: 12px; font-weight: 700; }
.empty-note { color: #5f5f5f; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: #5f5f5f; margin: 12px 0; }
.crumbs a { color: inherit; }
.article { max-width: 760px; }
.article h1 { font-size: 32px; line-height: 40px; margin: 0 0 8px; }
.article .hero-img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; background: #f7f7f7; }
.byline { color: #5f5f5f; margin: 8px 0 12px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 16px; }
.share a, .share button { border: 1px solid #111; background: #fff; color: #111; min-height: 36px; padding: 0 10px; border-radius: 8px; text-decoration: none; font: inherit; }
.body p { margin: 12px 0; }
.body h2 { margin: 20px 0 8px; }
.body figure { margin: 12px 0; }
.body img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.body figcaption { color: #5f5f5f; font-size: 14px; }
.links, .faq { margin-top: 20px; }
.links a { display: block; margin: 6px 0; }
.faq details { border-top: 1px solid #eee; padding: 8px 0; }
.pro-feature { display: grid; grid-template-columns: 96px 1fr; gap: 12px; border: 1px solid #eee; border-radius: 8px; padding: 12px; margin-top: 16px; text-decoration: none; color: inherit; }
.pro-feature img { width: 96px; height: 72px; object-fit: cover; }
@media (min-width: 800px) {
  .hero img { height: 520px; }
  .hero-card {
    position: absolute;
    inset-inline-start: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: min(440px, 42%);
    margin: 0;
  }
  .find { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .trade-grid { grid-template-columns: repeat(4, 1fr); }
  .photo-grid, .story-grid { grid-template-columns: repeat(4, 1fr); }
  .story-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 390px) {
  .pub .wrap { padding: 0 12px; }
  .hero h1, .article h1 { font-size: 26px; line-height: 32px; }
}

/* Magazine drafts. White page, black buttons, green only as a small accent. */
body.mag { background: #FFFFFF; color: #111; }
.mag .site-header { background: #fff; }
.mag .article { max-width: 760px; }
.mag .article h1 { overflow-wrap: anywhere; }
.mag .article h3 { font-size: 18px; line-height: 26px; font-weight: 600; margin: 16px 0 6px; }
.mag .summary {
  background: #fff;
  border: 1px solid #111;
  border-inline-start: 4px solid #6F8B37;
  padding: 14px 16px;
  margin: 0 0 16px;
}
.mag .summary .kicker { color: #6F8B37; font-weight: 700; font-size: 14px; line-height: 20px; margin: 0 0 8px; }
.mag .summary ul { margin: 0; padding-inline-start: 1.2em; }
.mag .summary li { margin: 6px 0; }
.mag .body ul, .mag .body ol { margin: 8px 0 16px; padding-inline-start: 1.25em; }
.mag .body li { margin: 6px 0; }
.mag .steps { list-style: none; margin: 12px 0 20px; padding: 0; display: grid; gap: 12px; }
.mag .steps li { margin: 0; }
.mag .steps figure { margin: 0; background: #fff; border: 1px solid #111; }
.mag .body .steps img { width: 100%; max-width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: #fff; }
.mag .steps figcaption { display: flex; gap: 8px; align-items: baseline; padding: 8px 10px; color: #111; }
.mag .steps figcaption b { font-weight: 700; }
@media (min-width: 800px) {
  .mag .steps { grid-template-columns: repeat(3, 1fr); align-items: start; }
}
.mag .compare { width: 100%; border-collapse: collapse; background: #fff; margin: 8px 0 16px; table-layout: fixed; }
.mag .compare th, .mag .compare td {
  border: 1px solid #d9d4c8;
  padding: 8px 10px;
  text-align: right;
  vertical-align: top;
  overflow-wrap: anywhere;
  font-weight: 400;
}
.mag .compare th { font-weight: 700; }
.mag .article .hero-img, .mag .body img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #F5F5F5; }
.mag .article .hero-img.natural, .mag .body figure.natural img { aspect-ratio: auto; object-fit: contain; background: #fff; }
.mag .body figure.small { max-width: 220px; }
.mag .quote { background: #fff; border: 1px solid #111; margin: 12px 0 16px; padding: 12px 14px; }
.mag .quote p { margin: 0 0 8px; }
.mag .quote footer { color: #5f5f5f; font-size: 14px; }
.mag .article-cta { background: #fff; border: 1px solid #111; padding: 16px; margin: 24px 0 8px; }
.mag .article-cta p { margin: 0 0 12px; }
.mag .article-cta .btn { background: #111; color: #fff; width: 100%; }
.mag-index { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 16px; }
.mag-index a { display: block; background: #fff; border: 1px solid #111; color: inherit; text-decoration: none; }
.mag-index img { width: 100%; height: 200px; object-fit: cover; background: #F5F5F5; }
.mag-index h2 { font-size: 20px; line-height: 28px; margin: 12px 12px 6px; }
.mag-index p { margin: 0 12px 14px; }
@media (min-width: 800px) {
  .mag-index { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 390px) {
  .mag .summary, .mag .article-cta, .mag .compare th, .mag .compare td { padding: 10px; }
  .mag .article h1 { font-size: 26px; line-height: 34px; }
}
