.jeux-editorial .jeux-content {
  padding-block: calc(var(--header-h) + clamp(1.8rem, 4.6vw, 4.1rem)) clamp(2.8rem, 6vw, 5.3rem);
}

.jeux-editorial .mobile-nav-link[aria-current="page"] {
  background: var(--rose-pale);
  color: var(--rose);
  font-weight: 700;
}

.jeux-editorial .jeux-masthead,
.jeux-editorial .jeux-teaching {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.6rem, 4vw, 3.5rem);
}

.jeux-editorial .jeux-masthead {
  padding-block-end: clamp(2.3rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}

.jeux-editorial .jeux-masthead h1 {
  margin-block: 0 1rem;
  font-size: clamp(2.3rem, 4.4vw, 4.6rem);
  line-height: 1.04;
  text-wrap: balance;
}

.jeux-editorial .jeux-content h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.65rem);
  text-wrap: balance;
}

.jeux-editorial .jeux-masthead-copy > p:not(.eyebrow),
.jeux-editorial .jeux-teaching-copy > p:not(.eyebrow),
.jeux-editorial .jeux-discovery-card p,
.jeux-editorial .jeux-testing p {
  color: var(--muted);
}

.jeux-editorial .jeux-masthead-copy > p:not(.eyebrow) {
  max-width: 55ch;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
}

.jeux-editorial .jeux-primary-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .9rem;
  margin-block-start: 1.45rem;
}

.jeux-editorial .jeux-primary-action p {
  color: var(--muted);
  font-size: .86rem;
}

.jeux-editorial .jeux-content .btn {
  min-height: 2.75rem;
  white-space: normal;
  text-align: center;
}

.jeux-editorial .jeux-illustration {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface2);
}

.jeux-editorial .jeux-illustration img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.jeux-editorial .jeux-masthead-art img {
  aspect-ratio: 4 / 3;
}

.jeux-editorial .jeux-illustration figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: .6rem 1rem;
  background: rgb(14 11 20 / 83%);
  color: #fff;
  font-size: .84rem;
}

.jeux-editorial .jeux-discovery {
  padding-block: clamp(2.3rem, 5vw, 4rem);
}

.jeux-editorial .jeux-discovery h2 {
  margin-block-end: 1rem;
}

.jeux-editorial .jeux-discovery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(.85rem, 2.5vw, 1.6rem);
}

.jeux-editorial .jeux-discovery-card {
  display: grid;
  align-content: start;
  gap: .65rem;
  padding: clamp(1rem, 3vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}

.jeux-editorial .jeux-discovery-card h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.jeux-editorial .jeux-text-link {
  justify-self: start;
  color: var(--rose);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.jeux-editorial .jeux-teaching {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface2);
}

.jeux-editorial .jeux-teaching-art img {
  aspect-ratio: 3 / 2;
}

.jeux-editorial .jeux-teaching h2,
.jeux-editorial .jeux-testing h2 {
  margin-block-end: .65rem;
}

.jeux-editorial .jeux-teaching-copy > p:not(.eyebrow) {
  margin-block-end: .75rem;
}

.jeux-editorial .jeux-testing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem clamp(1rem, 4vw, 3rem);
  align-items: center;
  margin-block-start: clamp(2.3rem, 5vw, 4rem);
  padding-block-start: clamp(1.8rem, 4vw, 2.65rem);
  border-top: 1px solid var(--border);
}

.jeux-editorial .jeux-testing p {
  max-width: 76ch;
}

@media (min-width: 769px) and (max-width: 920px) {
  .jeux-editorial .nav { gap: .12rem; }
  .jeux-editorial .nav-link { padding-inline: .44rem; font-size: .8rem; }
  .jeux-editorial .logo-text { white-space: nowrap; }
}

@media (max-width: 760px) {
  .jeux-editorial .jeux-masthead,
  .jeux-editorial .jeux-teaching,
  .jeux-editorial .jeux-testing { grid-template-columns: minmax(0, 1fr); }
  .jeux-editorial .jeux-masthead-art img { aspect-ratio: 16 / 9; }
  .jeux-editorial .jeux-teaching-copy { grid-row: 1; }
  .jeux-editorial .jeux-testing .btn { justify-self: start; }
}

@media (max-width: 480px) {
  .jeux-editorial .jeux-discovery-grid { grid-template-columns: minmax(0, 1fr); }
}
