body:not(.home) .banner {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.banner {
  margin: 0 auto;
  max-width: 1440px;
  border-radius: 30px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 var(--container-padding);
  z-index: 1;
}

.banner__content {
  max-width: 856px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.banner__title {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 48px;
  color: var(--color-white);
  text-transform: uppercase;
}

.banner__text {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 20px;
  color: var(--color-white);
  max-width: 743px;
  line-height: 1.5;
}

.banner__image {
  flex-shrink: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  max-width: 600px;
}

.banner__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .banner {
    min-height: 400px;
    margin: 0 20px;
  }

  .banner__title {
    font-size: 36px;
  }

  .banner__text {
    font-size: 16px;
  }

  .banner__image {
    width: 40%;
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .banner {
    min-height: 300px;
    border-radius: 20px;
    margin: 0 20px;
  }

  .banner__inner {
    flex-direction: column;
    padding: 40px 20px 0 20px;
    text-align: center;
  }

  .banner__title {
    font-size: 22px;
  }

  .banner__text {
    font-size: 14px;
  }

  .banner__image {
    position: relative;
    width: 100%;
    margin-top: 20px;
    opacity: 1;
  }

  .banner__content {
    gap: 20px;
    align-items: center;
  }
}
