/* Mezzi di trasporto funebre */

.mezzi-media {
  padding: 0 1.5rem 2.5rem;
  background: var(--cream);
}

.mezzi-media__frame {
  margin: 0 auto;
  max-width: 1100px;
  padding: 0.55rem;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.mezzi-media__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mezzi-media__frame figcaption {
  margin: 0.65rem 0.25rem 0.15rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.mezzi-gallery {
  max-width: 1100px;
  margin: 1.5rem auto 0;
  padding: 0 1.5rem;
}

.mezzi-gallery__item {
  margin: 0;
  padding: 0.55rem;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.mezzi-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mezzi-summary-photo {
  margin: 0 0 1.5rem;
  padding: 0.55rem;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.mezzi-summary-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.mezzi-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--paper);
}

.mezzi-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.02rem;
}

.mezzi-table th,
.mezzi-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(30, 58, 43, 0.12);
}

.mezzi-table thead th {
  background: var(--cream);
  color: var(--green);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.mezzi-table tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 42%;
}

.mezzi-table tbody tr:last-child th,
.mezzi-table tbody tr:last-child td {
  border-bottom: 0;
}
