.downloads-block {
  background-color: #ffffff;
  width: 100%;
  padding: 40px 112px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.downloads-wrapper {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 20px;
  flex-shrink: 0;
}

.download-box {
  display: flex;
  /* height: 240px; */
  padding: 20px 24px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 12px;
  border: 0 !important;
  background: #fafafa;
  flex: 1 0 0;
  box-sizing: border-box;
}

.download-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
}

.download-box .button-primary {
  display: flex;
  padding: 16px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.button-secondary {
  display: flex;
  padding: 16px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 12px;
  border: 1px solid #6e0bff;
  background: #ffffff;
  color: #6e0bff;
  text-decoration: none;
  font-size: 16px;
}

@container (max-width: 1440px) {
  .downloads-block {
    padding: 40px 32px;
  }
}

@container (max-width: 1024px) {
  .download-block {
    flex-direction: column;
    padding: 40px 32px;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
  .downloads-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    flex: 1 0 0;
  }

  .download-box {
    width: 100% !important;
    height: auto;
    overflow: unset;
    min-height: 240px;
    /* height: 240px; */
    padding: 20px 24px;
    flex: 1 0 0;
  }
}
@container (max-width: 540px) {
  .download-block {
    padding: 40px 16px;
  }

  .downloads-block {
    padding: 20px 16px;
    flex-direction: column;
    align-items: center;
  }

  .downloads-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .download-box {
    width: 100% !important;
    height: auto;
    min-height: fit-content !important;
    gap: 14px;
    padding: 20px;
  }
}
