
.neofuns-hero,
.neofuns-hero * {
  box-sizing: border-box;
}

.neofuns-hero {
  display: grid;
  grid-template-columns: 34.5% 65.5%;
  width: 100%;
  min-height: 514px;
  overflow: hidden;
  background: #004297;
}

/* LEFT CONTENT */

.neofuns-hero-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 45px 40px 45px 52px;
  background: #004297;
  color: #fff;
}

.neofuns-hero-text {
  width: 100%;
  max-width: 350px;
}

.neofuns-hero-text h1 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.35;
}

.neofuns-hero-text h2 {
  margin: 0 0 32px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.neofuns-hero-btn {
  display: inline-block;
  padding: 11px 14px;
  background: #ffae00;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background .3s ease;
}

.neofuns-hero-btn:hover {
  background: #e99a00;
  color: #fff;
}

/* RIGHT IMAGE */

.neofuns-hero-image {
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #f7f7f7;
}

.neofuns-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 514px;
  object-fit: cover;
  object-position: center;
}

/* TABLET */

@media (max-width: 900px) {
  .neofuns-hero {
    grid-template-columns: 38% 62%;
    min-height: 430px;
  }

  .neofuns-hero-content {
    padding: 30px;
  }

  .neofuns-hero-text h1 {
    font-size: 34px;
  }

  .neofuns-hero-text h2 {
    font-size: 15px;
  }

  .neofuns-hero-image img {
    min-height: 430px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .neofuns-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .neofuns-hero-content {
    min-height: 300px;
    padding: 40px 25px;
  }

  .neofuns-hero-text {
    max-width: 350px;
  }

  .neofuns-hero-text h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 18px;
  }

  .neofuns-hero-text h2 {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
  }

  .neofuns-hero-btn {
    font-size: 15px;
    padding: 11px 14px;
  }

  .neofuns-hero-image img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
  }
}
