.table-hero {
  display: block;
  min-block-size: 0;
  padding-block-end: var(--section-space);
}

.table-hero__art {
  display: grid;
  justify-items: end;
  margin: 0;
}

.table-hero__art picture { inline-size: 100%; }
.table-hero__art img { mask-image: none; }

.table-hero__caption {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-block-start: 8px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / 84%);
  color: var(--color-heading);
  font-size: 12px;
  line-height: 1.3;
}

.table-hero__caption img { inline-size: 15px; block-size: 15px; }
.table-hero .benefit img { object-fit: contain; }

@media (width < 768px) {
  .table-hero__art {
    inline-size: calc(100% + 2 * var(--gutter));
    max-inline-size: none;
    justify-self: center;
    aspect-ratio: auto;
    border-radius: 16px;
    background: radial-gradient(ellipse at 57% 66%, #f2e8dc, transparent 76%);
  }

  .table-hero__art picture { aspect-ratio: 390 / 220; }
  .table-hero__caption { margin: 0 var(--gutter) 0 0; }
}

@media (min-width: 768px) and (max-width: 899px) {
  .table-hero .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .table-hero .hero__content, .table-hero .table-hero__art { grid-area: auto; }
  .table-hero .table-hero__art { justify-self: center; max-inline-size: 560px; }
  .table-hero__art picture { justify-self: center; max-inline-size: 400px; }
}

@media (min-width: 900px) {
  .table-hero { padding-block-start: 44px; }
  .table-hero .hero__grid { align-items: center; }
  .table-hero .hero__content { align-self: start; }
  .table-hero__art picture { max-inline-size: 600px; }
  .table-hero .hero__description { max-inline-size: 30em; }
  .table-hero__caption { margin-inline-end: 10px; font-size: 13px; }
}

@media (min-width: 1200px) {
  .table-hero {
    display: grid;
    min-block-size: calc(100svh - var(--header-height) + 1px);
    padding-block-start: clamp(38px, calc(30svh - 202px), 122px);
    padding-block-end: calc(var(--section-space) + 12px);
  }
}
