/* ==========================================================================
   Section: Grants — Figma 69:716
   Padding 100px left / 10px right: the image runs almost to the viewport edge.
   ========================================================================== */

.trustav-grants {
  padding-block: clamp(3rem, 6vw, 5.625rem);
}

.trustav-grants__grid {
  display: grid;
  grid-template-columns: 588fr 564fr;
  gap: clamp(3rem, 12vw, 178px);
  align-items: center;
  padding-inline: var(--gutter) 10px;
}

.trustav-grants__text {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 8vw, 124px);
  max-width: 36.75rem;
  margin-inline-start: auto;
}

/* Figma: Lora 52. */
.trustav-grants__title {
  margin: 0;
  color: var(--c-black);
}

/* Figma groups headline + description with a 50px gap, then 124px to the
   buttons — hence the nested block rather than one flat column. */
.trustav-grants__head {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 50px);
}

.trustav-grants__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: var(--ls-body);
  color: var(--c-neutral-1);
}

.trustav-grants__copy p {
  margin: 0;
}

.trustav-grants__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trustav-grants__figure {
  margin: 0;
  height: 514px;
  overflow: hidden;
  background-color: var(--c-neutral-4);
}

.trustav-grants__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .trustav-grants__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3xl);
    padding-inline: var(--gutter);
  }

  .trustav-grants__text {
    max-width: none;
    gap: var(--space-2xl);
  }

  .trustav-grants__figure {
    height: 400px;
  }
}

@media (max-width: 560px) {
  .trustav-grants__buttons .trustav-btn {
    flex: 1 1 100%;
  }

  .trustav-grants__figure {
    height: 300px;
  }
}
