/* ================================
   Banner Block
   ================================ */

.banner {
  margin-top: 100px;
  padding: 100px 0 100px 50px;
  min-height: 258px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border: 4px solid #014735;
}

.banner__content {
  max-width: 559px;
  z-index: 3;
  position: relative;
  text-align: center;
}

.banner__content .btn {
  font-size: 22px;
}

.banner__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 120%;
  margin-bottom: 35px;
  position: relative;
  z-index: 3;
  text-align: center;
}

.banner__subtitle p {
  font-size: 18px;
  color: var(--text-gold);
  line-height: 140%;
  font-weight: 500;
  margin-bottom: 13px;
}

.banner__text {
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 160%;
}

.banner__image {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  max-height: 478px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.banner__image img {
  height: 100%;
  width: auto;
  object-fit: cover;
  border-radius: 15px 0 0 15px;
  transform-origin: right center;
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0.8) 55%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 0.8) 55%,
    rgba(0, 0, 0, 0.4) 70%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* Responsive adjustments for Banner Block */

@media (max-width: 992px) {
  .banner {
    flex-direction: column;
    padding: 40px 30px 40px 30px;
    min-height: auto;
    align-items: flex-start;
  }

  .banner__content {
    max-width: 100%;
    z-index: 3;
    position: relative;
  }

  .banner__title {
    font-size: 32px;
    max-width: 100%;
    margin-bottom: 12px;
  }

  .banner__subtitle p {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .banner__text {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .banner__button {
    min-width: 120px;
    font-size: 14px;
    padding: 10px 0;
  }

  .banner__image {
    position: relative;
    width: 100%;
    max-height: 250px;
    margin-top: 20px;
    border-radius: 15px;
    pointer-events: auto;
  }

  .banner__image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transform: none;
  }
}

@media (max-width: 480px) {
  .banner__title {
    font-size: 26px;
  }

  .banner__subtitle p {
    font-size: 16px;
  }

  .banner__text {
    font-size: 13px;
  }

  .banner__button {
    min-width: 100px;
    font-size: 13px;
    padding: 8px 0;
  }
}
