.vrp-carnet-index {
  max-width: 1160px;
}

.vrp-carnet-index > .s-intro {
  max-width: 60ch;
}

.vrp-carnet-topics {
  display: grid;
  gap: clamp(28px, 4.8vw, 52px);
  margin-block: clamp(24px, 4vw, 44px);
}

.vrp-carnet-topic {
  border-top: 3px solid var(--c-amber);
  padding-top: 16px;
}

.vrp-carnet-topic h2 {
  margin: 0;
}

.vrp-carnet-cards,
.vrp-carnet-reading {
  padding: 0;
  margin: 14px 0 0;
  list-style: none;
}

.vrp-carnet-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}

.vrp-carnet-index a.vrp-carnet-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--p-line);
  border-radius: 6px;
  background: #fffdf8;
  color: inherit;
  text-decoration: none;
}

.vrp-carnet-card:is(:hover, :focus-visible) h3 {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.vrp-carnet-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e9e3d7;
}

.vrp-carnet-image--contain {
  object-fit: contain;
  background: #0b151e;
}

.vrp-carnet-card-copy {
  padding: 14px clamp(12px, 1.7vw, 20px) 18px;
}

.vrp-carnet-cards h3 {
  margin: 0;
  font: 400 clamp(19px, 1.9vw, 23px)/1.24 Oswald, Arial, sans-serif;
}

.vrp-carnet-cards p {
  margin: 7px 0 0;
  color: var(--p-muted);
  font-size: .9rem;
  line-height: 1.5;
}

.vrp-carnet-cover {
  margin: clamp(16px, 3vw, 28px) 0 24px;
}

.vrp-carnet-cover img {
  border-radius: 6px;
}

.vrp-carnet-cover figcaption {
  margin-top: 8px;
  color: var(--p-muted);
  font-size: .88rem;
  line-height: 1.5;
}

.vrp-carnet-question .vrp-carnet-speaker {
  margin: 0 0 6px;
  font-weight: 700;
  color: var(--p-blue);
  font-size: .84rem;
}

.vrp-carnet-question h2 {
  margin-bottom: 10px;
}

.vrp-carnet-reading a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

@media (max-width: 900px) {
  .vrp-carnet-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .vrp-carnet-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
