.gap-matched-layout--text-image {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.gap-matched-layout--image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.gap-matched-layout--image-pair .gap-matched-layout__intro {
  grid-column: 1 / -1;
}

.gap-matched-layout .gap-matched-layout__media figure {
  margin: 0;
  width: 100%;
}

.gap-matched-layout .gap-matched-layout__media img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.gap-matched-layout .gap-matched-layout__media p {
  margin: .75rem 0 0;
  text-align: center;
}

.gap-matched-layout--mapped {
  margin: 1.5rem 0;
}

.gap-matched-layout--mapped .gap-matched-layout__media > * {
  max-width: 100%;
}

.gap-matched-layout--mapped .gap-matched-layout__media img {
  max-width: 100%;
  height: auto;
}

.gap-matched-layout--mapped .gap-matched-layout__media p {
  text-align: left;
}

.gap-matched-layout--mapped .gap-matched-layout__media figure + p,
.post-129 .gap-matched-layout__media p,
.post-133 .gap-matched-layout__media p {
  text-align: center;
}

/* La tabella storica EN lasciava solo ~25 px alla colonna delle immagini. */
.post-2960 .entry-content table {
  width: 100% !important;
  table-layout: fixed;
}

.post-2960 .entry-content table td:first-child {
  width: 63%;
}

.post-2960 .entry-content table td:last-child {
  width: 37%;
  text-align: center;
}

.post-2960 .entry-content table td:last-child img {
  width: auto !important;
  max-width: 100%;
  height: auto;
}

@media (max-width: 700px) {
  .gap-matched-layout--text-image,
  .gap-matched-layout--image-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .gap-matched-layout--image-pair .gap-matched-layout__intro {
    grid-column: auto;
  }

  .post-2960 .entry-content table,
  .post-2960 .entry-content table tbody,
  .post-2960 .entry-content table tr,
  .post-2960 .entry-content table td {
    display: block;
    width: 100% !important;
  }
}
