/* General Module Styles */
.custom-hero-split {
  padding: 40px 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #fafafa;
}

.custom-hero-split__container {
    max-width: 1248px;
    margin: 0 auto;
    padding: 68px 1px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
}

/* Column Styles */
.custom-hero-split__col {
  box-sizing: border-box;
  flex: 1;
  min-width: 300px;
}

.custom-hero-split__col--left {
  text-align: center;
}

.custom-hero-split__col--left img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.custom-hero-split__col--right {
  padding-left: 20px;
}


/* Right Column Elements */
.custom-hero-split .custom-hero-split__pre-title {
    display: block;
    font-size: 12px;
   font-family: Lato, sans-serif;
    font-style: normal;
 font-weight: 700;
    color: #005F85;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 4px;
}

.custom-hero-split .custom-hero-split__title { /* Added specificity */
  font-size: 45px;
  font-weight: bold;
  color: #1f2b3a;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.2;
}

.custom-hero-split .custom-hero-split__description { /* Added specificity */
  font-size: 18px;
  color: #4a4a4a;
  line-height: 1.6;
  font-family: 'Lato';
  margin-bottom: 25px;
}

.custom-hero-split .custom-hero-split__description p { /* Added specificity */
    margin-bottom: 1em;
}
.custom-hero-split .custom-hero-split__description p:last-child { /* Added specificity */
    margin-bottom: 0;
}

.custom-hero-split .custom-hero-split__button { /* Added specificity */
  display: inline-block;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: bold;
  font-family: 'Lato';
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: default;
  background: linear-gradient(180deg, #015F85 -19.35%, #023245 203.23%);
  margin-bottom: 40px;
         width: 81%;
}

/* Features Section Styles */
.custom-hero-split .custom-features-section { /* Added specificity */
  margin-top: -18px;
  max-width: 81%;
}

/* Style for the optional "BUILT FROM" header */
/*
.custom-hero-split .custom-features-section__header { /* Added specificity */
/* background-color: #023245;
  color: #ffffff;
  padding: 10px 15px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
}
*/

/* Grid container for 2x2 layout with spacing */
.custom-hero-split .custom-features-section__grid { /* Added specificity */
  display: flex;         /* Crucial for flex layout */
  flex-wrap: wrap;       /* Crucial for wrapping to next line */
  gap: 15px;             /* Space between the feature items */
  width: 100%;           /* Ensure grid takes full width */
  padding: 0;            /* Reset padding just in case */
  margin: 0;             /* Reset margin just in case */
}

/* Styling for individual feature items */
.custom-hero-split .custom-features-section__item { /* Added specificity */
  box-sizing: border-box;
  width: calc(50% - 7.5px); /* Crucial: 2 items per row, accounting for gap */
  padding: 20px 15px;
  text-align: center;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.custom-hero-split .custom-features-section__icon { /* Added specificity */
  display: block;
  margin: 0 auto 8px auto;
  max-width: 30px;
  height: auto;
  width: 45px;
}

.custom-hero-split .custom-features-section__label {
    display: block;
    font-size: 16px;
    color: #33475b;
    font-weight: 500;
    font-family: 'Lato';
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .custom-hero-split__container {
    flex-direction: column;
    gap: 20px;
  }
  
  
  .custom-hero-split .custom-features-section {
    max-width: 100%!important;
}

.custom-hero-split .custom-hero-split__button {
   width: 100%!important;
}

.custom-hero-split__col--right {
        padding-left: 12px!important;
    }

        .custom-hero-split__col--left {
        padding-left: 17px!important;
    }

  .custom-hero-split__col--left {
     order: 1;
  }
  .custom-hero-split__col--right {
     order: 2;
     padding-left: 0;
   }

  .custom-hero-split .custom-hero-split__title {
    font-size: 40px;
  }

  .custom-hero-split .custom-hero-split__description {
    font-size: 16px;
  }

  /* Adjust feature items for mobile if needed */
  .custom-hero-split .custom-features-section__item {
     width: calc(50% - 7.5px); /* Keep 2x2 on smaller tablets */
  }
}

@media (max-width: 480px) {
    .custom-hero-split .custom-features-section__item {
        /* Switch to single column on very small screens */
         width: 100%;
    }
    .custom-hero-split .custom-features-section__grid {
        gap: 10px; /* Adjust gap for single column */
    }
}