/*
 * ECE R150 content pages
 * Shared visual layer for topic pages, the knowledge base, articles and static pages.
 * The conversion homepage remains intentionally separate in one-page.css.
 */

:root {
  --ink: #101112;
  --asphalt: #101112;
  --asphalt-2: #191b1e;
  --asphalt-3: #0b0c0d;
  --paper: #f4f2ed;
  --paper-2: #ece9e2;
  --paper-warm: #eeebe4;
  --card: #f8f7f2;
  --amber: #ffbf1e;
  --amber-deep: #976800;
  --idx-amber: #ffbf1e;
  --signal: #ed402d;
  --line: #d8d4ca;
  --line-dk: #2d3033;
  --muted: #676a69;
  --ink-soft: #3e4140;
  --maxw: 1280px;
  --measure: 68ch;
  --sans: "Manrope", Arial, sans-serif;
  --disp: "Manrope", Arial, sans-serif;
  --mono: "DM Mono", monospace;
  --track-disp: -.055em;
  --track-mono: .12em;
  --space: clamp(78px, 8vw, 112px);
  --elev-1: 0 12px 28px rgba(16, 17, 18, .06);
  --elev-2: 0 22px 54px rgba(16, 17, 18, .11);
  --glow: none;
  --glow-sm: none;
  --glow-ring: 0 0 0 3px rgba(255, 191, 30, .32);
}

html {
  scroll-padding-top: 78px;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: clip;
}

body::before {
  opacity: .018;
}

:where(a, button, [tabindex]):focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--paper);
}

h1,
h2,
h3,
h4,
.display {
  font-family: var(--disp);
}

.wrap {
  max-width: var(--maxw);
  padding-inline: 32px;
}

.topbar,
.hazard,
.theme-toggle {
  display: none !important;
}

.langsel-label {
  display: none;
}

/* Header ---------------------------------------------------------------- */

header.nav {
  background: rgba(244, 242, 237, .94);
  border-bottom: 1px solid rgba(16, 17, 18, .1);
  color: var(--ink);
  height: 86px;
  transition: background-color .25s ease, box-shadow .25s ease;
}

header.nav.is-scrolled {
  background: rgba(244, 242, 237, .98);
  box-shadow: 0 14px 34px rgba(16, 17, 18, .08);
}

.nav .wrap {
  column-gap: 22px;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 208px;
  height: 86px;
}

.logo {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  gap: 11px;
  letter-spacing: -.04em;
}

.logo.on {
  color: var(--ink);
}

.logo .mark {
  background: repeating-linear-gradient(135deg, var(--ink) 0 5px, var(--amber) 5px 10px);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(255, 191, 30, .25);
  height: 32px;
  width: 32px;
}

.logo .mark::before {
  content: none;
}

nav.links {
  align-items: center;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
}

html[lang] nav.links {
  gap: 4px;
}

nav.links a {
  align-items: center;
  color: #555856;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  justify-self: center;
  text-align: center;
}

nav.links a:hover,
nav.links a.on {
  color: var(--ink);
}

nav.links a::after {
  background: var(--amber);
  bottom: -13px;
  box-shadow: none;
}

.nav-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 56px 142px;
  justify-self: end;
  width: 208px;
}

html[lang] .nav-actions {
  gap: 10px;
}

.langsel-trigger {
  background: transparent;
  border-color: var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 11px;
  min-height: 38px;
  padding: 7px 10px;
  width: 56px;
}

.lang-icon {
  display: none;
}

.langsel-menu {
  background: var(--paper);
  border-color: var(--line);
  border-radius: 3px;
  margin-top: 9px;
  padding: 7px;
}

.langsel-menu a {
  border-radius: 2px;
  padding: 8px 10px;
}

.langsel-menu a.active {
  background: rgba(255, 191, 30, .17);
  color: var(--ink);
}

.navshop {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  box-shadow: 0 9px 20px rgba(16, 17, 18, .16), inset 0 1px 0 rgba(255, 255, 255, .15);
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  justify-content: center;
  padding: 14px 12px;
  text-align: center;
  width: 142px;
}

.navshop::after {
  content: none;
}

.navshop:hover {
  background: var(--ink);
  box-shadow: 0 13px 28px rgba(16, 17, 18, .22);
  color: var(--amber);
  transform: translateY(-2px);
}

.burger {
  height: 38px;
  padding: 9px;
  width: 38px;
}

.burger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 4px);
}

.burger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -4px);
}

/* Page hero -------------------------------------------------------------- */

.arthead {
  align-items: center;
  background: var(--ink);
  box-shadow: none;
  color: #fff;
  display: flex;
  min-height: 430px;
  padding: 84px 0 76px;
}

.arthead.has-photo::before {
  background-position: var(--arthead-position, center center);
  filter: saturate(.95) contrast(1.08);
  opacity: 1;
  transform: none;
}

.arthead.has-photo::after {
  background:
    linear-gradient(90deg, rgba(8, 9, 10, .95) 0%, rgba(8, 9, 10, .82) 43%, rgba(8, 9, 10, .32) 78%, rgba(8, 9, 10, .48) 100%),
    linear-gradient(0deg, rgba(8, 9, 10, .72), transparent 52%);
}

.arthead .wrap::before {
  color: #fff;
  font-size: clamp(160px, 21vw, 310px);
  letter-spacing: -.11em;
  opacity: .045;
  right: -2vw;
  top: 12%;
  transform: none;
}

.arthead .crumb {
  color: #c5c6c2;
  font-size: 9px;
  letter-spacing: .13em;
  margin-bottom: 27px;
}

.arthead .crumb a {
  color: var(--amber);
}

.arthead h1 {
  color: #fff;
  font-size: clamp(44px, 5.2vw, 72px);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .98;
  max-width: 18ch;
  text-wrap: balance;
}

.arthead .arthead-lead,
.arthead > .wrap > .meta {
  color: #d0d2cf;
}

.arthead .arthead-lead {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.6;
  margin-top: 24px;
  max-width: 58ch;
}

.arthead > .wrap > .meta {
  border-top: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  margin-top: 28px;
  padding-top: 17px;
}

.arthead > .wrap > p.meta {
  font-family: "Inter Variable", Arial, sans-serif;
  font-size: 11px;
}

.arthead + .block {
  padding-top: var(--space);
}

/* Content rhythm --------------------------------------------------------- */

section.block {
  background: var(--paper);
  padding: var(--space) 0;
}

.tag,
.eyebrow,
.bcard .cat,
.relposts h2,
.pf-label,
.pf-result-label {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.tag {
  color: var(--amber-deep);
}

.block .tag::before {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  padding: 4px 7px;
}

h2.title,
.depth-intro h2,
.related-guides h2,
.pf-head h2 {
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.08;
  text-wrap: balance;
}

h2.title {
  font-size: clamp(34px, 4vw, 54px);
  max-width: 22ch;
}

.intro {
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.62;
  max-width: 65ch;
  text-wrap: pretty;
}

.depth-intro {
  max-width: 850px;
}

.depth-intro h2 {
  font-size: clamp(31px, 3.4vw, 46px);
  max-width: 23ch;
}

.depth-intro p {
  font-size: clamp(17px, 1.55vw, 20px);
  line-height: 1.72;
  max-width: 68ch;
  text-wrap: pretty;
}

.section-copy {
  max-width: 840px;
}

.section-copy h2,
.section-copy h3,
.article h2,
.article h3 {
  color: var(--ink);
}

.section-copy h2 {
  font-size: clamp(32px, 3.5vw, 46px);
  letter-spacing: -.055em;
  line-height: 1.08;
  max-width: 23ch;
  text-wrap: balance;
}

.section-copy .intro {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.68;
  max-width: 65ch;
}

.section-copy p,
.section-copy li,
.article p,
.article li {
  color: #363938;
}

.section-copy p,
.article p,
.static-content p {
  text-wrap: pretty;
}

.section-copy li::before,
.article li::before,
.article-toc a::before {
  background: var(--amber);
}

/* Shared card language --------------------------------------------------- */

.triad,
.depth-grid,
.guide-grid,
.check,
.countries,
.bloggrid {
  gap: 16px;
}

.tcard,
.depth-card,
.guide-link,
.chk,
.ctry,
.bcard,
.topic-card {
  background: rgba(255, 255, 255, .35);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: none;
}

.tcard,
.depth-card,
.guide-link,
.chk,
.ctry,
.topic-card {
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.tcard:hover,
.depth-card:hover,
.guide-link:hover,
.chk:hover,
.ctry:hover,
.topic-card:hover {
  background: rgba(255, 255, 255, .7);
  border-color: #bcb7ad;
  box-shadow: var(--elev-1);
  transform: translateY(-3px);
}

.tcard::before,
.chk::before {
  border-color: rgba(16, 17, 18, .2);
}

.tcard {
  padding: 29px 27px;
}

.tcard.r150,
.tcard.r104,
.tcard.r48 {
  border-top-width: 3px;
}

.tcard h2,
.depth-card h3,
.guide-link strong,
.chk h2,
.topic-card h3 {
  font-family: var(--sans);
  font-weight: 700;
}

.approved-proof-note > p:first-child {
  padding-top: 11px;
}

.countries-inspection-note > p:first-child {
  padding-top: 14px;
}

.depth-section {
  border-top-color: var(--ink);
}

.depth-card,
.guide-link {
  padding: 23px;
}

.depth-check {
  background: rgba(255, 191, 30, .1);
  border: 1px solid rgba(151, 104, 0, .35);
  border-radius: 2px;
  padding: 24px;
}

.topic-card::before {
  background: var(--amber);
  height: 3px;
}

.topic-card::after {
  content: none;
}

.topic-card .go {
  color: var(--ink);
}

/* Thresholds and practical modules -------------------------------------- */

.thresh {
  border-top: 1px solid var(--ink);
  gap: 0;
}

.tnum {
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  padding: 28px 22px 25px;
}

.tnum:first-child {
  padding-left: 0;
}

.tnum:last-child {
  border-right: 0;
}

.tnum::before,
.tnum::after,
.tnum.in .big::after {
  content: none;
}

.tnum .big {
  color: var(--ink);
  font-size: clamp(34px, 4vw, 50px);
  text-shadow: none;
}

.tnum .lbl {
  color: var(--muted);
}

.note-line {
  background: rgba(255, 191, 30, .1);
  border-left-color: var(--amber);
  box-shadow: none;
}

.truckbox {
  border-radius: 2px;
}

.typecard {
  border-radius: 0 2px 2px 0;
  box-shadow: none;
}

.typecard:hover {
  box-shadow: var(--elev-1);
}

.typecard .n,
.chk .ck {
  border-radius: 2px;
}

.img-frame,
.visual-grid img,
.article img {
  border-radius: 2px;
}

.col {
  border-radius: 2px;
}

.ctry {
  border-top-color: var(--ink);
  border-top-width: 3px;
}

/* Product finder --------------------------------------------------------- */

.product-finder {
  background: var(--ink);
  border: 1px solid #333638;
  border-radius: 2px;
  box-shadow: 0 28px 64px rgba(16, 17, 18, .16);
  color: #fff;
  padding: clamp(25px, 4vw, 45px);
}

.pf-head {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  margin-bottom: 30px;
  max-width: none;
  padding-bottom: 25px;
}

.pf-head .tag {
  color: var(--amber);
}

.pf-head h2,
.pf-head p {
  color: #fff;
}

.pf-head p {
  color: #b9bbb8;
  max-width: 64ch;
}

.pf-panel {
  gap: 22px;
}

.pf-controls {
  gap: 11px;
}

.pf-group {
  background: rgba(255, 255, 255, .025);
  border-color: rgba(255, 255, 255, .17);
  border-radius: 2px;
  padding: 17px;
}

.pf-label {
  color: #b6b8b5;
}

.pf-option {
  background: transparent;
  border-color: rgba(255, 255, 255, .23);
  border-radius: 999px;
  color: #e6e7e4;
}

.pf-option:hover {
  border-color: var(--amber);
  color: #fff;
}

.pf-option.is-active {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: none;
  color: var(--ink);
}

.pf-result {
  background: var(--amber);
  border-radius: 2px;
  color: var(--ink);
  padding: 26px;
  position: relative;
}

.pf-result::after {
  border: 1px solid rgba(16, 17, 18, .13);
  content: "";
  inset: 7px;
  pointer-events: none;
  position: absolute;
}

.pf-result-label {
  color: rgba(16, 17, 18, .66);
  position: relative;
  z-index: 1;
}

.pf-output {
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.025em;
  position: relative;
  z-index: 1;
}

.pf-result .btn {
  position: relative;
  z-index: 1;
}

/* Buttons and calls to action ------------------------------------------- */

.btn {
  border-radius: 999px;
  font-size: 13px;
  padding: 16px 23px;
}

.btn-primary {
  background: var(--amber);
  box-shadow: none;
  color: var(--ink);
}

.btn-primary::after {
  content: none;
}

.btn-primary:hover {
  background: var(--amber);
  box-shadow: 0 13px 28px rgba(16, 17, 18, .2);
}

.pf-result .btn-primary {
  background: var(--ink);
  color: #fff;
}

.megacta {
  background: var(--asphalt-2);
}

.megacta::before,
.megacta::after {
  opacity: .75;
}

.megacta.slim .wrap {
  align-items: center;
  flex-direction: row;
  gap: 35px;
  justify-content: space-between;
  max-width: 960px;
  padding-block: 43px;
}

.megacta.slim p {
  margin: 0;
  text-align: left;
}

/* Long-form articles ----------------------------------------------------- */

.article {
  max-width: 840px;
  padding-block: 84px 100px;
}

.article h2 {
  font-size: clamp(27px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -.05em;
  margin-top: 55px;
}

.article h2::before {
  color: var(--amber-deep);
  font-size: 9px;
  letter-spacing: .14em;
}

.article p,
.article li {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
}

.article-toc {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  margin-bottom: 44px;
  padding: 25px 27px;
}

.article .callout {
  background: rgba(255, 191, 30, .1);
  border-color: rgba(151, 104, 0, .28);
  border-left-color: var(--amber);
  border-radius: 0 2px 2px 0;
}

.article .callout::before {
  border-radius: 2px;
  box-shadow: none;
}

.article-sources {
  border-top: 1px solid var(--line);
  margin-top: 52px;
  padding-top: 29px;
}

.article-sources h2 {
  font-size: clamp(24px, 3vw, 34px);
  margin-top: 0;
}

.article-sources ol {
  margin-bottom: 0;
  padding-left: 20px;
}

.article-sources li {
  margin-bottom: 10px;
}

.article-sources a {
  color: var(--ink);
  text-underline-offset: 3px;
}

.article-sources a:hover {
  color: #8a5d00;
}

.inline-cta {
  background: #101316;
  border: 1px solid rgba(255, 255, 255, .12);
  border-top: 3px solid var(--amber);
  border-radius: 2px;
  box-shadow: 0 24px 55px rgba(16, 17, 18, .18);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(225px, .82fr);
  isolation: isolate;
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.inline-cta::after {
  content: none;
}

.inline-cta__copy {
  align-self: center;
  padding: clamp(34px, 5vw, 52px);
}

.inline-cta__eyebrow {
  align-items: center;
  color: var(--amber);
  display: flex;
  font: 500 9px/1 var(--mono);
  gap: 10px;
  letter-spacing: .18em;
  margin-bottom: 22px;
}

.inline-cta__eyebrow span {
  background: var(--amber);
  display: block;
  height: 2px;
  width: 28px;
}

.article .inline-cta h3 {
  color: #fff;
  font-size: clamp(30px, 4vw, 43px);
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0 0 17px;
  max-width: 12ch;
}

.article .inline-cta p {
  color: rgba(255, 255, 255, .68);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 25px;
  max-width: 38rem;
}

.inline-cta .btn-primary {
  background: var(--amber);
  color: var(--ink);
  margin: 0;
}

.inline-cta .btn-primary:hover {
  background: #ffd04c;
  box-shadow: 0 13px 30px rgba(255, 191, 30, .2);
  transform: translateY(-2px);
}

.inline-cta__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 17px;
  margin-top: 27px;
}

.inline-cta__proof span {
  color: rgba(255, 255, 255, .52);
  font: 500 8px/1 var(--mono);
  letter-spacing: .13em;
}

.inline-cta__proof span + span {
  border-left: 1px solid rgba(255, 255, 255, .2);
  padding-left: 17px;
}

.inline-cta .shoptarget {
  color: rgba(255, 255, 255, .42);
  font-size: 8px;
  margin-top: 15px;
}

.inline-cta__visual {
  border-left: 1px solid rgba(255, 255, 255, .13);
  min-height: 390px;
  overflow: hidden;
  position: relative;
}

.inline-cta__visual picture {
  display: block;
  height: 100%;
}

.article .inline-cta__image {
  border-radius: 0;
  box-shadow: none;
  filter: brightness(.62) saturate(.8);
  height: 100%;
  inset: 0;
  margin: 0;
  max-width: none;
  object-fit: cover;
  position: absolute;
  transform: scale(1.02);
  transition: filter .45s ease, transform .65s cubic-bezier(.2, .7, .2, 1);
  width: 100%;
}

.inline-cta__visual::after {
  background: linear-gradient(90deg, rgba(16, 19, 22, .58), transparent 48%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.inline-cta:hover .inline-cta__image {
  filter: brightness(.76) saturate(.95);
  transform: scale(1.07);
}

.inline-cta__spec {
  align-items: flex-end;
  background: rgba(11, 13, 15, .86);
  border: 1px solid rgba(255, 255, 255, .24);
  bottom: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  left: 22px;
  padding: 15px 17px;
  position: absolute;
  right: 22px;
  z-index: 1;
}

.inline-cta__spec small,
.inline-cta__spec span {
  color: rgba(255, 255, 255, .58);
  font: 500 8px/1 var(--mono);
  letter-spacing: .13em;
}

.inline-cta__spec strong {
  color: var(--amber);
  font-family: var(--sans);
  font-size: 44px;
  grid-row: 1 / 3;
  line-height: .8;
}

.inline-cta__spec span {
  margin-top: 9px;
}

.relposts a {
  font-weight: 700;
}

/* Motion ---------------------------------------------------------------- */

.r {
  opacity: 0;
  transform: translateY(13px);
  transition:
    opacity .68s cubic-bezier(.2, .7, .2, 1),
    transform .68s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}

.r.in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

.arthead .crumb.r,
.arthead h1.r,
.arthead .arthead-lead.r,
.arthead .meta.r {
  transform: translateY(9px);
}

.q button {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
}

.q .plus {
  border-radius: 2px;
}

/* Knowledge base --------------------------------------------------------- */

.blog-toolbar {
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
  padding-bottom: 24px;
}

.blog-toolbar__header {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.blog-toolbar__label,
.blog-toolbar__count {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.blog-toolbar__label {
  color: var(--ink);
}

.blog-toolbar__count {
  color: var(--muted);
  font-weight: 600;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.blog-filter__button {
  appearance: none;
  background: transparent;
  border: 1px solid #c9c5bc;
  border-radius: 2px;
  color: var(--ink-soft);
  cursor: pointer;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 11px 14px;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  white-space: nowrap;
}

.blog-filter__button:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}

.blog-filter__button.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.bloggrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
}

.bcard[hidden] {
  display: none;
}

.bcard {
  color: var(--ink);
}

.bcard:hover {
  border-color: #bdb8ae;
  box-shadow: var(--elev-2);
  transform: translateY(-5px);
}

.bcard .media {
  height: 205px;
}

.bcard .body {
  padding: 25px 25px 27px;
}

.bcard-meta {
  align-items: baseline;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}

.bcard-meta time {
  color: #777a78;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
}

.bcard h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.045em;
}

.bcard .more {
  color: var(--ink);
  font-size: 9px;
  margin-top: 22px;
}

/* Footer ---------------------------------------------------------------- */

footer {
  background: #0b0c0d;
  color: #8f928f;
}

footer .wrap {
  gap: 55px;
  padding-block: 66px 38px;
}

footer h5 {
  color: #fff;
  font-size: 13px;
  letter-spacing: -.02em;
}

footer a,
footer .corp {
  font-size: 12px;
}

.footbar .wrap {
  font-size: 9px;
  padding-block: 21px;
}

.disclaimer {
  font-family: var(--mono);
  font-size: 9px;
}

/* Responsive ------------------------------------------------------------ */

@media (max-width: 1240px) {
  header.nav {
    height: 78px;
  }

  .nav .wrap {
    display: flex;
    height: 78px;
  }

  nav.links {
    display: none;
  }

  .nav-actions {
    display: flex;
    margin-left: auto;
    width: auto;
  }

  .burger {
    display: block;
  }

  nav.links.open {
    align-items: stretch;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 38px rgba(16, 17, 18, .08);
    gap: 0;
    padding: 15px 32px 22px;
    top: 77px;
  }

  nav.links.open a {
    border-bottom: 1px solid var(--line);
    color: #4d504e;
    display: block;
    font-size: 13px;
    padding: 12px 0;
    text-align: left;
    width: 100%;
  }

  nav.links.open a.on {
    color: var(--ink);
  }

  nav.links.open + .nav-actions .burger {
    color: var(--ink);
  }

  .pf-panel,
  .pf-controls {
    grid-template-columns: 1fr;
  }
}

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

  .arthead {
    min-height: 390px;
    padding-block: 70px 62px;
  }

  .arthead.has-photo::after {
    background:
      linear-gradient(90deg, rgba(8, 9, 10, .94), rgba(8, 9, 10, .65)),
      linear-gradient(0deg, rgba(8, 9, 10, .7), transparent 45%);
  }

  .arthead h1 {
    font-size: clamp(40px, 12vw, 60px);
    max-width: 13ch;
  }

  .arthead .arthead-lead {
    font-size: 15px;
  }

  .blog-toolbar {
    margin-bottom: 24px;
    padding-bottom: 20px;
  }

  .blog-toolbar__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .blog-filter {
    flex-wrap: nowrap;
    margin-inline: -20px;
    overflow-x: auto;
    padding: 2px 20px 7px;
    scrollbar-width: none;
  }

  .blog-filter::-webkit-scrollbar {
    display: none;
  }

  .blog-filter__button {
    flex: 0 0 auto;
  }

  .triad,
  .depth-grid,
  .guide-grid,
  .check,
  .countries,
  .bloggrid {
    grid-template-columns: 1fr;
  }

  .thresh {
    display: block;
  }

  .tnum,
  .tnum:first-child {
    border-bottom: 1px solid var(--line);
    border-right: 0;
    padding: 24px 0;
  }

  .tnum:last-child {
    border-bottom: 0;
  }

  .megacta.slim .wrap {
    align-items: flex-start;
    flex-direction: column;
  }

  .article {
    padding: 65px 22px 82px;
  }

  .inline-cta {
    grid-template-columns: 1fr;
  }

  .inline-cta__copy {
    padding: 34px 28px 31px;
  }

  .article .inline-cta h3 {
    font-size: clamp(30px, 8vw, 40px);
    max-width: 13ch;
  }

  .inline-cta__visual {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
    min-height: 250px;
  }

  .inline-cta__visual::after {
    background: linear-gradient(180deg, rgba(16, 19, 22, .34), transparent 55%);
  }
}

@media (max-width: 560px) {
  header.nav,
  .nav .wrap {
    height: 66px;
  }

  .nav .wrap {
    gap: 9px;
  }

  .logo {
    font-size: 15px;
  }

  .logo .mark {
    height: 26px;
    width: 26px;
  }

  .nav-actions {
    gap: 5px;
  }

  html[lang] .nav-actions {
    gap: 5px;
  }

  .navshop {
    font-size: 10px;
    padding: 10px;
    width: 108px;
  }

  .langsel-trigger {
    width: 56px;
  }

  nav.links.open {
    padding-inline: 20px;
    top: 65px;
  }

  .product-finder {
    margin-inline: -2px;
    padding: 22px 18px;
  }

  .pf-result {
    padding: 24px 20px;
  }

  .article-toc div {
    grid-template-columns: 1fr;
  }

  footer .wrap {
    padding-inline: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
  }

  .r,
  .r.in {
    opacity: 1;
    transform: none;
  }
}
.article-byline {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  max-width: 56rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .82);
  font-size: .88rem;
  line-height: 1.55;
}

.article-byline__people {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.8rem;
}

.article-byline__people span {
  display: flex;
  gap: .5rem;
  align-items: baseline;
}

.article-byline b {
  color: #fff;
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-byline__note {
  color: rgba(255, 255, 255, .72);
}

.article-byline a {
  color: var(--yellow);
  font-weight: 700;
  text-decoration: none;
}

.article-byline a:hover {
  text-decoration: underline;
}
