.temoin-visite { margin-block: clamp(.85rem, 2.5vw, 2rem); }

.temoin-bandeau {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.35rem, 4vw, 3.25rem);
  border: 1px solid #466955;
  border-radius: 1.1rem;
  background: #101b20;
  color: #f2f7f4;
}

.temoin-bandeau h1 {
  margin: 0 0 .6rem;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.temoin-bandeau p { margin: 0; color: #c7d9ce; }
.temoin-retour {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .65rem 1rem;
  border-radius: .65rem;
  background: #bff06d;
  color: #14251d;
  font-weight: 800;
  text-decoration: none;
}

.temoin-retour:hover { background: #d4ff8e; }
.temoin-retour:focus-visible { outline: 3px solid #f2f7f4; outline-offset: 4px; }

.temoin-reperes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-top: .65rem;
}

.temoin-reperes a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: .2rem .45rem;
  padding: .7rem .9rem;
  border: 1px solid #b4caba;
  border-radius: .65rem;
  background: #fff;
  color: #17462b;
  text-decoration: none;
}

.temoin-reperes a > span:first-of-type { grid-column: 1; color: #4b6055; font-size: .88rem; }
.temoin-fleche { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 800; }
.temoin-reperes a:hover { border-color: #267440; background: #ecf4ee; }
.temoin-reperes a:focus-visible { outline: 3px solid #267440; outline-offset: 2px; }
.temoin-visite ~ main .board-row:target { outline: 2px solid #267440; outline-offset: -2px; background: #ecf4ee; }
.temoin-visite ~ main .board-row[id] { scroll-margin-block-start: 1rem; }

#temoin-forum { margin: .3rem 0 .8rem; font-size: clamp(2.15rem, 5vw, 4.5rem); line-height: 1; }

@media (max-width: 48rem) {
  .temoin-bandeau { grid-template-columns: 1fr; gap: 1rem; }
  .temoin-retour { justify-self: start; }
}

@media (max-width: 36rem) {
  .temoin-reperes { grid-template-columns: 1fr; }
}
