.container {
  display: grid;
  gap: var(--Spacing-x-quarter);
}

.image {
  object-fit: cover;
  overflow: hidden;
  width: 100%;
  height: 179px; /* Exact mobile height from Figma */
  border-radius: var(--Corner-radius-md);
}

.imageContainer {
  display: flex;
}

@media (min-width: 768px) {
  .container:has(.imageContainer) {
    gap: var(--Spacing-x2);
    align-items: center;
  }

  .container:not(:has(.imageContainer)) {
    grid-template-columns: 1fr;
  }

  .container:has(.image-right) {
    grid-template-columns: 456px 1fr;
  }

  .container:has(.image-left) {
    grid-template-columns: 1fr 456px;
  }

  .image-right {
    order: 2;
  }

  .image-left {
    order: 0;
  }

  .image {
    height: 320px; /* Desktop height from Figma */
  }
}
