.banner-ebook-component {
  padding: 0 64px;
}

.banner-ebook-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  background-color: #1C7859;
  border-radius: 16px;
  overflow: hidden;
  padding: 16px 24px;
}

.banner-ebook-image {
  flex: 0 0 auto;
  width: 400px;
  max-width: 400px;
}

.banner-ebook-image img {
  width: 100%;
  max-width: 400px;
  max-height: 224px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.banner-ebook-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.banner-ebook-chip {
  display: inline-block;
  background-color: #e1ae7f;
  color: rgba(0, 0, 0, 0.87);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0.16px;
  padding: 7px 10px;
  border-radius: 16px;
}

.banner-ebook-title {
  font-family: 'Roboto', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.48;
  color: #ffffff;
  margin: 8px 0 16px;
}

.banner-ebook-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  background-color: #e37d1d;
  color: #ffffff;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 22.4px;
  text-decoration: none;
  border-radius: 8px;
  padding: 12px 24px;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.banner-ebook-cta:hover {
  opacity: 0.88;
  color: #ffffff;
}

@media (max-width: 768px) {
  .banner-ebook-component {
    padding: 0 16px;
  }

  .banner-ebook-inner {
    flex-direction: column;
    max-width: 560px;
    padding: 20px 12px;
    gap: 16px;
  }

  .banner-ebook-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .banner-ebook-content {
    padding: 0 28px;
  }
}
