/* ─────────────────────────────────────────────────────────────
   Estilos propios de la página "materials".

   Declarada en build/pages.php → 'styles'. Se carga DESPUÉS de
   styles.css, así que lo de aquí gana. Los tokens (--brand, --surface…)
   vienen de allí.
   ───────────────────────────────────────────────────────────── */

.mat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; margin-top: 40px; }
.mat { display: flex; flex-direction: column; }

/* Tira decorativa del material: una banda de color arriba de la tarjeta,
   que es como la usa la web actual. No es una foto y no lleva alt. */
.mat-strip { width: 100%; height: 8px; object-fit: cover; border-radius: 2px; margin-bottom: 20px; }
.mat-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); margin-bottom: 20px; }

.mat-gas {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--brand); margin: 0 0 8px;
}
.mat-gas::before { content: ''; width: 16px; height: 1px; background: var(--brand); }
.mat-name { font-size: 27px; margin: 0 0 6px; }
.mat-thick {
  font-family: 'Big Shoulders', sans-serif; font-size: 17px; font-weight: 800;
  letter-spacing: 1.2px; text-transform: uppercase; color: var(--text); margin: 0 0 14px;
}
.mat-body { color: var(--muted); font-size: 14px; }

.mat-speeds { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: auto; }
.mat-speeds th, .mat-speeds td { padding: 9px 0; border-top: 1px solid var(--line-soft); font-weight: 400; }
.mat-speeds th { text-align: left; color: var(--muted); }
.mat-speeds td { text-align: right; color: var(--text); font-weight: 600; }

.mat-other { text-align: center; }
.mat-other .sec-sub { margin-inline: auto; }
.mat-other .btn { margin-top: 12px; }

/* Calidades y espesor de máxima calidad, entre el texto y las velocidades. */
.mat-facts { margin: 0 0 16px; font-size: 13px; }
.mat-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line-soft); }
.mat-facts dt { color: var(--muted); }
.mat-facts dd { margin: 0; color: var(--text); font-weight: 600; text-align: right; }
