
.wp-block-acf-header-banner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.wp-block-acf-header-banner picture.cp_img-wrap,
.wp-block-acf-header-banner img.cp_img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%; 
  object-fit: cover;
  z-index: 1;
}

.wp-block-acf-header-banner .cp_content-box {
  position: relative; 
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 40px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  color: var(--text-color, #ffffff);
  text-align: left;
}

.cp_content-box h2 {
  margin: 0 0 10px;
  color: var(--text-color, #ffffff);
  font-weight: 700;
  line-height: 1.2;
  max-width: 65%;
}

.cp_content-box p {
    color: #ffffff;
    font-size: 14px;
}

.cp_content-box h2 {
  font-size: 30px;
}  

.cp_feature-list {
  list-style: none;
  padding: 0;
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-left: 0px !important;
  color: var(--features-color, #ffffff);
  margin-left: 0;
}

.cp_feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--features-color, #ffffff);
  font-weight: 20px;
}

.cp_feature-icon {
  width: 30px;
  height: auto;
  display: inline-block;
}

@media (max-width: 767px) {
  .wp-block-acf-header-banner .cp_content-box {
    padding: 22px 0px;
  }
  .cp_content-box h2 {
    font-size: 23px;
  }
  .cp_feature-list {
    gap: 2px;
  }
  .cp_feature-list {
    font-size: 14px;
  }
}

.banner-content,
.banner-content p,
.banner-content h1,
.banner-content h2,
.banner-content h3,
.banner-content h4,
.banner-content h5,
.banner-content h6,
.banner-content span,
.banner-content a {
  color: var(--description-color);
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.3;
  text-align: left;
}


.wp-block-acf-header-banner picture, .wp-block-acf-header-banner img.header-banner-image { 
    object-fit: cover;
    width: 100%;
    display: block;
    object-position: bottom;
}

.wp-block-acf-header-banner .banner-content p:nth-child(1) {
  width: 65%;
}

.wp-block-acf-header-banner .banner-content p:nth-child(2) {
  width: 55%;
}

.wp-block-acf-header-banner .banner-content p:nth-child(3) {
  width: 50%;
}

.wp-block-acf-header-banner .banner-content {
    padding-top: 20px;
}

.banner-features li {
    display: flex;
    align-items: center;
    gap: 5px !important;
    font-size: 12px;
    color: var(--features-color, #ffffff);
    white-space: nowrap;
}

/*.header-banner-wrapper::before,*/
.header-banner-wrapper::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  pointer-events: none;
  z-index: 2;
}
/*
.header-banner-wrapper::before {
  top: 0;
  background: linear-gradient(to bottom, #25293D 0%, #25293D 20%, transparent 100%);
}
*/
.header-banner-wrapper::after {
  bottom: 0;
  background: linear-gradient(to top,  #25293D 0%, #25293D 20%, transparent 100%);
}

.header-banner-wrapper {
  position: relative; 
  z-index: 0;
}

@media (max-width: 500px) {
  .banner-content, 
  .banner-content p, 
  .banner-content h1, 
  .banner-content h2, 
  .banner-content h3, 
  .banner-content h4, 
  .banner-content h5, 
  .banner-content h6, 
  .banner-content span, 
  .banner-content a,
  .cp_feature-list li {
    font-size: 13px;
  }
  .cp_feature-list {
    display: inline;
  }
   .cp_feature-list li {
    font-size: 13px;
    display: inline-flex;
    margin-right: 5px;
  }
  .cp_content-box h2 {
    max-width: 100%;
  }
  .wp-block-acf-header-banner .banner-content {
    padding-top: 5px;
    margin-bottom: 0;
  }
}