:root {
  --oe-ink: var(--ink, #0d1214);
  --oe-muted: var(--ink-soft, #66706c);
  --oe-line: var(--line, rgba(13, 18, 20, .16));
  --oe-paper: #fff;
  --oe-green: var(--lime, #83e947);
  --oe-green-dark: #276b18;
  --oe-radius: 8px;
}

.oe-shell {
  overflow: hidden;
  color: var(--oe-ink);
  background: transparent;
}

.oe-breadcrumbs,
.oe-article {
  width: min(calc(100% - 48px), 1360px);
  margin-inline: auto;
}

.oe-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 26px 0 18px;
  color: var(--oe-muted);
  font-size: 12px;
}

.oe-breadcrumbs a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(13, 18, 20, .24);
  text-underline-offset: 4px;
}

.oe-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: 44px 0 64px;
  border-bottom: 1px solid var(--oe-ink);
}

.oe-kicker {
  margin: 0 0 14px;
  color: var(--oe-green-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.oe-hero h1 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(36px, 3.45vw, 50px);
  line-height: 1;
  letter-spacing: -.045em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.oe-lead {
  max-width: 60ch;
  margin: 22px 0 0;
  color: #3d4743;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.52;
}

.oe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  color: var(--oe-muted);
  font-size: 12px;
}

.oe-meta span,
.oe-meta time {
  position: relative;
}

.oe-meta span::before {
  content: "";
  position: absolute;
  left: -12px;
  top: .45em;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.oe-hero figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--oe-ink);
  border-radius: var(--oe-radius);
  background: #f1f3ee;
}

.oe-hero figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #f1f3ee;
}

.oe-hero figcaption {
  padding: 11px 14px;
  border-top: 1px solid var(--oe-line);
  color: var(--oe-muted);
  font-size: 11px;
  line-height: 1.4;
}

.oe-topic-links {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--oe-line);
}

.oe-topic-links strong {
  margin-right: 8px;
  font-size: 13px;
}

.oe-topic-links a {
  color: #245f18;
  font-size: 14px;
  text-decoration: underline;
  text-decoration-color: rgba(39, 107, 24, .45);
  text-underline-offset: 4px;
}

.oe-topic-links a:hover {
  color: #173f10;
  text-decoration-color: currentColor;
}

.oe-reading {
  display: grid;
  grid-template-columns: 210px minmax(0, 940px);
  justify-content: center;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  padding: 72px 0 96px;
}

.oe-toc {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 9px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding-right: 14px;
}

.oe-toc strong {
  margin-bottom: 8px;
  font-size: 13px;
}

.oe-toc a {
  color: var(--oe-muted);
  font-size: 12px;
  line-height: 1.35;
  text-decoration: none;
}

.oe-toc a:hover {
  color: var(--oe-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.oe-body {
  min-width: 0;
}

.oe-content-block {
  margin-bottom: 76px;
  scroll-margin-top: 100px;
}

.oe-content-block h2,
.oe-catalog h2,
.oe-faq h2,
.oe-related h2,
.oe-cta h2 {
  max-width: 27ch;
  margin: 0 0 20px;
  font-size: clamp(29px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.oe-content-block > p,
.oe-catalog > p,
.oe-cta > p {
  max-width: 78ch;
  margin: 0 0 22px;
  color: #35403b;
  font-size: 18px;
  line-height: 1.72;
}

.oe-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0 0;
}

.oe-gallery figure {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--oe-line);
  border-radius: var(--oe-radius);
  background: var(--oe-paper);
}

.oe-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: #f1f3ee;
}

.oe-gallery figcaption {
  padding: 11px 13px;
  border-top: 1px solid var(--oe-line);
  color: var(--oe-muted);
  font-size: 12px;
  line-height: 1.4;
}

.oe-checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.oe-checklist li {
  position: relative;
  padding: 17px 17px 17px 40px;
  border: 1px solid var(--oe-line);
  border-radius: var(--oe-radius);
  background: rgba(255, 255, 255, .74);
  color: #35403b;
  line-height: 1.45;
}

.oe-checklist li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--oe-green-dark);
  font-weight: 900;
}

.oe-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.oe-facts div {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--oe-line);
  border-radius: var(--oe-radius);
  background: rgba(255, 255, 255, .74);
}

.oe-facts span {
  color: var(--oe-muted);
  font-size: 14px;
  line-height: 1.45;
}

.oe-catalog,
.oe-faq,
.oe-related {
  margin: 0 0 76px;
}

.oe-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.oe-catalog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--oe-line);
  border-radius: var(--oe-radius);
  background: var(--oe-paper);
  color: var(--oe-ink);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.oe-catalog-card:hover {
  transform: translateY(-3px);
  border-color: var(--oe-ink);
  box-shadow: 4px 4px 0 var(--oe-green);
}

.oe-catalog-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #f1f3ee;
}

.oe-catalog-card span {
  padding: 15px 16px 0;
  color: var(--oe-green-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.oe-catalog-card strong {
  padding: 7px 16px 0;
  font-size: 18px;
  line-height: 1.2;
}

.oe-catalog-card em {
  margin-top: auto;
  padding: 16px;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.oe-faq > div {
  display: grid;
  gap: 8px;
}

.oe-faq details {
  border: 1px solid var(--oe-line);
  border-radius: var(--oe-radius);
  background: rgba(255, 255, 255, .76);
}

.oe-faq summary {
  padding: 18px 20px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
}

.oe-faq details p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--oe-muted);
  line-height: 1.6;
}

.oe-related > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.oe-related a {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 154px;
  overflow: hidden;
  border: 1px solid var(--oe-line);
  border-radius: var(--oe-radius);
  background: var(--oe-paper);
  color: var(--oe-ink);
  text-decoration: none;
}

.oe-related a:hover {
  border-color: var(--oe-ink);
  box-shadow: 4px 4px 0 var(--oe-green);
}

.oe-related img {
  display: block;
  width: 180px;
  height: 100%;
  object-fit: cover;
  background: var(--oe-paper-soft);
}

.oe-related a > div {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 8px;
  align-content: center;
  min-width: 0;
  padding: 18px 20px;
}

.oe-related span {
  color: var(--oe-green-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.oe-related strong {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.oe-related em {
  color: var(--oe-ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.oe-cta {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 20px;
  background: var(--oe-ink);
  color: #fff;
}

.oe-cta .oe-kicker {
  color: var(--oe-green);
}

.oe-cta h2 {
  max-width: 18ch;
}

.oe-cta > p {
  color: #c8d0cb;
}

.oe-cta > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.oe-cta .button:not(.button-primary) {
  border-color: #87908a;
  color: #fff;
  background: transparent;
}

@media (max-width: 1050px) {
  .oe-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .oe-hero h1 {
    max-width: 22ch;
  }

  .oe-hero figure {
    max-width: 760px;
  }

  .oe-reading {
    grid-template-columns: 1fr;
  }

  .oe-toc {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    padding: 18px;
    border: 1px solid var(--oe-line);
    border-radius: var(--oe-radius);
    background: rgba(255, 255, 255, .76);
  }

  .oe-toc strong {
    grid-column: 1 / -1;
  }

  .oe-catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .oe-related > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .oe-breadcrumbs,
  .oe-article {
    width: min(calc(100% - 32px), 1360px);
  }

  .oe-breadcrumbs {
    padding-top: 22px;
  }

  .oe-hero {
    padding: 22px 0 38px;
  }

  .oe-hero h1 {
    max-width: none;
    font-size: 30px;
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  .oe-lead {
    font-size: 17px;
  }

  .oe-meta span::before {
    display: none;
  }

  .oe-topic-links {
    display: grid;
    gap: 12px;
  }

  .oe-reading {
    gap: 44px;
    padding: 44px 0 68px;
  }

  .oe-toc {
    display: none;
  }

  .oe-content-block {
    margin-bottom: 60px;
  }

  .oe-content-block h2,
  .oe-catalog h2,
  .oe-faq h2,
  .oe-related h2,
  .oe-cta h2 {
    font-size: 30px;
  }

  .oe-content-block > p,
  .oe-catalog > p,
  .oe-cta > p {
    font-size: 16px;
  }

  .oe-gallery,
  .oe-checklist,
  .oe-facts,
  .oe-catalog-grid,
  .oe-related > div {
    grid-template-columns: 1fr;
  }

  .oe-gallery {
    gap: 10px;
  }

  .oe-related a {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 126px;
  }

  .oe-related img {
    width: 112px;
  }

  .oe-related a > div {
    padding: 14px;
  }

  .oe-related strong {
    font-size: 14px;
  }

  .oe-cta {
    padding: 25px 20px;
  }

  .oe-catalog,
  .oe-faq,
  .oe-related {
    margin-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oe-catalog-card {
    transition: none;
  }
}
