.home__cta {
  background-color: #f4f4f0;
  border-bottom: 1px solid #ddd;
  padding: 40px 0px;
  text-align: center;

  h1 {
    margin-block-start: 0px;
    margin-block-end: 15px;
    font-size: 3em;
  }

  p {
    max-width: 600px;
    font-size: 18px;
    line-height: 26px;
    color: #797874;
    font-weight: 600;
    margin: 0px auto;
  }

  div {
    margin-top: 40px;
    padding-bottom: 10px;

    a {
      margin: 0px 10px;
      padding: 10px 20px;
      border-radius: 4px;
      background-color: #ccc;
      transition: 100ms ease-in-out;
      font-size: 16px;
      font-weight: 600;

      &:hover {
        opacity: 0.8;
      }

      &:nth-of-type(1) {
        background-color: var(--color-green);
        color: white;
        border: 1px solid var(--color-green);
      }

      &:nth-of-type(2) {
        background-color: #f5f5f5;
        color: #797874;
        border: 1px solid var(--color-silver);
      }
    }
  }
}

.home__feature {
  div {
    h2 {
      color: var(--color-green);
      font-size: 26px;
      margin-block-end: 0px;
    }

    > p {
      font-size: 16px;
      line-height: 22px;
      margin-block-start: 0px;
    }
  }
}

.home__feature_text {
  padding: 10px;
  text-align: center;
  border: 2px dashed var(--color-silver);
  border-radius: 5px;
  margin-top: 20px;

  h3 {
    margin-block-end: 0px;
  }
}

.home__feature_loans {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  grid-auto-rows: 1fr;
  gap: 30px;
  margin-bottom: 50px;

  > button {
    background-color: white;
    box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
  }
}

// Responsive
@media screen and (max-width: 1040px) {
  // FIXME: unnest structure
  .home__feature_loans {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
}

@media screen and (max-width: 740px) {
  // FIXME: unnest structure
  .home__feature_loans {
    grid-template-columns: repeat(1, minmax(0px, 1fr));
  }
}

@media screen and (max-width: 680px) {
  .home__cta {
    padding: 40px 20px;

    h1 {
      font-size: 30px;
    }

    p {
      font-size: 16px;
    }

    div {
      margin-top: 30px;
      padding-bottom: 5px;

      a {
        padding: 6px 14px;
      }
    }
  }
}
