/* v266 — Revenir aux fiches simples de v264 : seul le confort visuel évolue.
   Instructions complètes stockées dans data-prompt et copiées par le JS existant.
   Cette feuille est chargée après les autres styles de l'article. */
.c126-main .c126-group-body {
  padding: 23px 26px 27px;
  background: #fffaf3;
}
.c126-main .c126-code-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
  align-items: stretch;
}
.c126-main .c126-code-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 175px;
  height: auto;
  padding: 23px 24px 22px;
  border: 1px solid #e8d9c8;
  border-radius: 13px;
  background: #fffdf9;
  box-shadow: 0 2px 10px rgba(30, 20, 10, .035);
}
.c126-main .c126-code-card:hover {
  border-color: #f5af7d;
  box-shadow: 0 4px 17px rgba(30,20,10,.065);
}
.c126-main .c126-card-image {
  display: block;
  width: 100%;
  height: 170px;
  max-height: none;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 10px;
}
.c126-main .c126-code-name {
  color: #1a1410;
  font: 800 clamp(19px, 1.65vw, 23px)/1.3 'Manrope',sans-serif;
  letter-spacing: -.025em;
  margin: 0;
  overflow-wrap: anywhere;
}
.c126-main .c126-code-desc {
  color: #4d4238;
  font: 550 clamp(15px,1.15vw,16px)/1.65 'Manrope', sans-serif;
  min-height: 0;
  flex: 1 1 auto;
  margin: 0;
}
.c126-main .c126-copy {
  align-self: stretch;
  width: 100%;
  min-height: 53px;
  margin-top: 7px;
  padding: 12px 18px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #f0caaa;
  border-radius: 9px;
  background: #f8dfcc;
  color: #281b13;
  font: 800 14px/1.3 'Manrope', sans-serif;
}
.c126-main .c126-copy svg {width: 18px;height:18px}
.c126-main .c126-copy:hover {background: #f45b16; border-color:#f45b16;color:white}
.c126-main .c126-copy:focus-visible {outline: 3px solid #d75b0d;outline-offset: 3px}
.c126-main .c126-more {min-height: 47px;padding: 12px 22px;font-size: 13px}
@media(max-width: 820px) {
  .c126-main .c126-code-grid {grid-template-columns: 1fr;gap: 14px}
  .c126-main .c126-group-body {padding: 16px}
  .c126-main .c126-code-card {padding: 19px;gap: 10px;min-height: 169px}
  .c126-main .c126-card-image {height: 200px}
  .c126-main .c126-code-name {font-size: 20px}
  .c126-main .c126-code-desc {font-size: 15px;line-height: 1.62}
}
@media(max-width: 430px) {
  .c126-main .c126-group-body {padding: 11px}
  .c126-main .c126-code-card {padding: 16px;gap: 10px;min-height: 160px}
  .c126-main .c126-card-image {height: 170px}
  .c126-main .c126-code-name {font-size: 19px}
  .c126-main .c126-code-desc {font-size: 15px}
  .c126-main .c126-copy {min-height: 50px;font-size: 14px}
}
@media(prefers-reduced-motion:reduce) {.c126-main .c126-code-card {transition:none}}
