/* Tabs container */
.hs-tabs,
.hs-tabs__scroll {
  position: relative;
/*   display: flex;
  justify-content: center; */
}

.hs-tabs__scroll {
/*   overflow-x: auto; */
}

.hs-tabs__nudge {
  position: absolute;
  top: 0;
  bottom: 0;
  display: none;
  box-sizing: border-box;
  height: 80%;
  width: 16px;
  align-items: center;
}

.hs-tabs__nudge,
.hs-tabs__nudge:hover,
.hs-tabs__nudge:focus,
.hs-tabs__nudge:active {
  /* No button */
  /* stylelint-disable */
  padding: 0;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  background: none;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: none;
  transition: none;

  margin: auto 0;
  padding: 0;
  background: #fff;
  /* stylelint-enable */
}

.hs-tabs__nudge--show {
  display: flex;
}

.hs-tabs__nudge--right,
.hs-tabs__nudge--right:active,
.hs-tabs__nudge--right:hover,
.hs-tabs__nudge--right:focus {
  right: 0;
  border: 1px solid #ccc;
  border-right: none;
  justify-content: flex-end;
}

.hs-tabs__nudge--left,
.hs-tabs__nudge--left:active,
.hs-tabs__nudge--left:hover,
.hs-tabs__nudge--left:focus {
  z-index: 1;
  left: 0;
  border: 1px solid #ccc;
  border-left: none;
  justify-content: flex-start;
}

.hs-tabs-nudge-icon {
  display: flex;
  height: 100%;
  width: 8px;
  align-items: center;
  fill: currentColor;
}

.hs-tabs-nudge-icon svg {
  width: 8px;
}

.hs-tabs.label-icon {
  display: flex;
  height: 100%;
  width: 24px;
  align-items: center;
  fill: currentColor;
}

.hs-tabs-label-icon svg {
  width: 24px;
}

.hs-tabs__tab-wrapper {
  display: flex;
/*   max-width: -webkit-fit-content;
  max-width: -moz-fit-content; */
  max-width: 100%;
  justify-content: space-between;
/*   gap: 0.25rem; */
}

/* Tabs */
.hs-tabs__tab {
  display: flex;
  gap: 40px;
  
  position: relative;
  box-sizing: border-box;
  flex: 1;
  justify-content: center;
  text-align: center;
  
  padding: 40px 80px;
}
.hs-tabs__tab img { 
  min-width: 24px;
  min-height: 24px;
  max-width: 48px;
  max-height: 48px;
}
.hs-tabs__tab .hs-tabs__tab_content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
}
.hs-tabs__tab .hs-tabs__tab_content h4 {
  margin: 0;
  font-size: 2rem; /* 32px */
  font-style: normal;
  font-weight: 600;
  line-height: 90%; /* 32.4px */
  text-transform: uppercase;
}
.hs-tabs__tab .hs-tabs__tab_content p {
  color: #737373;
   font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 135%; 
  margin: 0;
/*   max-height: 55px;
  word-wrap: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  line-break: anywhere;
  -webkit-line-break: after-white-space; */
}
.hs-tabs__tab .hs-tabs-label-icon {
  width: 24px;
  height: 24px;
}

.hs-tabs__tab,
.hs-tabs__tab:hover,
.hs-tabs__tab:focus,
.hs-tabs__tab:active {
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  background: none;
  color: initial;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: 90%;
  letter-spacing: inherit;
  text-align: left;
  text-decoration: none;
  transition: none;

  /* Tab styles that we need to override from the above no-button styles */
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  background-color: #eee;
  /* stylelint-enable */
}

.hs-tabs__tab:hover,
.hs-tabs__tab:focus,
.hs-tabs__tab:active {
  background: #fff;
}

.hs-tabs__tab[aria-selected='true'] {
  border-bottom-color: #fff;
  background: #fff;
  font-weight: bold;
  flex-grow: 2;
}

.hs-tabs__tab .hs-tabs__tab-button {
  display: inline-flex;
  min-width: fit-content;
/*   white-space: nowrap; */
  text-align: center;
  max-width: 131px;     /* per design guidelines */
  padding: 20px 40px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  border: 1px solid #FFF;
  background: #000;
  font-size: 1.1rem; /* 18px */
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
  text-decoration: none;
  color: #fff;
}

.hs-tabs__tab-wrapper--has-nudges > .hs-tabs__tab:first-child {
  padding-left: 18px;

  /* Add this as a helper for checking bounding box */
  margin-left: 1px;
}

.hs-tabs__tab-wrapper--has-nudges > .hs-tabs__tab:last-child {
  padding-right: 18px;

  /* Add this as a helper for checking bounding box */
  margin-right: 1px;
}

/* Applies border to pseudo element to prevent jitter when hovering over tabs */

.hs-tabs__tab:after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: '';
}

.hs-tabs__tab[aria-selected='false']:hover:after,
.hs-tabs__tab[aria-selected='false']:focus:after,
.hs-tabs__tab[aria-selected='true']:after {
  border-bottom: 2px solid;
}

/* Tab content */

.hs-tabs__content {
  display: flex;
  border: 1px solid #ccc;
}

.hs-tabs__content__panel {
  box-sizing: border-box;
  width: 100%;
/*   padding: 2.8rem; */
}

/* ******* FEATURES **********************/
.features_wrapper {
  display: flex; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 80px 160px;
}
.features_wrapper .features_wrapper-top {
  max-width: 100%;
  display: flex;
  padding: 40px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
} 
.features_wrapper .features_subtitle h6{
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 600;
}
.features_wrapper .features_title *{
  margin: 0;
}
.features_wrapper .features_description p { 
  margin: 0; 
}
/* Main tab container wrap */
.features_wrapper .features_wrapper-bottom {
  display: flex;  
  align-items: center;
  width: 100%;
  min-height: 700px;
  background: white;
  border-radius: 40px;
}
/* Image wrap */
.features_wrapper .features_tab_images {  
  width: 50%;
  /* max-height: 600px; /* need to change this and/or make it dynamic */
  display: flex;
  flex-wrap: wrap;
}
.features_wrapper .features_tab_images .item-image.tab-content{
  flex-wrap: wrap;
  width: 100%;
  height: 100%      /* ensure full height */
}
.features_wrapper .features_tab_images .item-image-content {
  display: flex;
  flex-wrap: wrap;
  background: #FFF;
  border-top-left-radius: 40px;
  border-bottom-left-radius: 40px;
  width: 100%;
  align-items: center;
  height: 100% !important;
  justify-content: center;
  position: relative;
  padding: 20px; /* Add padding to prevent image from touching edges */
}
.features_wrapper .features_tab_images .item-image-content:before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;

  border-bottom-left-radius: 40px;
  border-top-left-radius: 40px;
  z-index: 0; /* Place behind the image */
}
.features_wrapper .features_tab_images .item-image-content img {
  max-width: 100%;
  max-height: 650px;
  width: auto;
  height: auto;
  /* object-fit: contain; */
  /* position: relative; */
  z-index: 1;
}

/* Tab blocks wrap */
.features_wrapper .features_tabs { 
  width: 50%;
  flex-wrap: wrap;
  background-color: #FFFFFF;
  border-top-right-radius: 40px; 
  border-bottom-right-radius: 40px;
  padding: 30px;
  height: 100%; /* Ensure full height */
} 
.features_wrapper .features_tab-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
} 

.features_wrapper .features_tab-list li { 
  padding: 30px 20px;
  transition: all .3s ease-in-out;
  border-left: 1px solid #A7ADC0;
}
.features_wrapper .features_tab-list li.active {
  background-color: #F2F4F7;
  border-radius: 0;
  padding: 30px 20px;
  border-left: 4px solid #9BAFA3;
}
.features_wrapper .features_tab-list li a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  text-decoration: none;
}
.features_wrapper .features_tab-list li a .item-icon {
  width: 56px;
  height:56px
}

.features_wrapper .features_tab-list li a .item-content {
  width: calc(100% - 80px);
  margin-left: 24px;
  text-decoration: none;
}

.features_wrapper .features_tab-list li a .item-content > * {
  text-align: left;
  color: #000;
  text-decoration: none;
  margin: 0 0 20px 0;
}
.features_wrapper .features_tab-list li a .item-content p{
  margin-bottom: 4px;
}
.features_wrapper .features_tab-list li a .item-content h5, .features_wrapper .features_tab-list li a .item-content h4{
  margin-bottom: 12px;
}


/* *** PACKAGES *********************/
.sponsorship_packages_wrapper {
  
}
.community_module {
 background-color: #F2F4F7; 
  padding: 80px 10px; 
}
.community_module .community_wrapper {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  box-sizing: border-box
}

.community_module .community_title h6 {
  font-weight: 600;
  line-height: 12px;
  text-transform: uppercase;
  margin-bottom: 0;
  font-size: 24px; /* per design guide */
}

.community_module .community_content {
  margin: 0;
  width: 100%;
  margin-top: -10px;  /* reduce gap between title from 30px to 20px */
}

.community_module .community_content p {
  color: #737373;
  font-weight: 400;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%;
}
/* *** Cards *** */
.sponsorship_packages_wrapper .cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  justify-items: center;
  gap: 50px;
  padding: 80px;
}

.sponsorship_packages_wrapper .cards .cards__card {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 40px;
  gap: 30px;
  flex: 1 0 0;
  align-self: stretch;
  text-align: center;
  border-radius: 16px;
  background: #FFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.sponsorship_packages_wrapper .cards .card__image img {
  margin: 0 auto;
  height: auto;
  max-width: 100%;
}
.sponsorship_packages_wrapper .cards .cards__card .card__header *{
  margin: 0;
}
.sponsorship_packages_wrapper .cards .cards__card .card__subtitle *{
  color: #737373;
  margin: 0;
}

.sponsorship_packages_wrapper .cards .cards__card .card__title *{
  color: #000;
  margin: 0;
}
.sponsorship_packages_wrapper .cards .cards__card .card__badge *{
  display: flex;
  padding: 2px 6px 2px 10px;
  align-items: center;
  gap: 4px;
  color: #5A6072;
  border: 1px solid #5A6072;
  border-radius: 16px;
  margin: 0;
}
.sponsorship_packages_wrapper .cards .cards__card .card__text *{
  color: #000;
  margin: 0;
  text-align: left;
}

.sponsorship_packages_wrapper .cards .card__text {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  align-self: stretch;
}

.sponsorship_packages_wrapper .cards .card .card__button {
  display: inline-flex;
  align-items: center;
}
.sponsorship_packages_wrapper .cards .card .card__button a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: acumin-pro, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 135%; /* 24.3px */
  text-decoration: none;
}
.sponsorship_packages_wrapper .cards .card .card__button .icon {
  max-width: 20px;
  max-height: 20px;
}

/* ******* MEDIA QUERIES ****************************************************************************************/
@media screen and (max-width:991px){
  .hs-tabs-wrapper .hs-tabs {
   width: 100%; 
  }
  .hs-tabs .hs-tabs__tab-wrapper .hs-tabs__tab {
    height: auto;
    padding: 40px 20px;
  }
  .hs-tabs__tab .hs-tabs__tab_content h4 {
    font-size: 2rem;
  }
  .hs-tabs__tab .hs-tabs__tab-button {
    padding: 10px 20px;
    font-size: 1rem;
    margin-left: -10px;
  }
  /* ***** Partners > FEATURES ****** */
  .features_wrapper {
    padding: 40px;
  }
  /* ***** Sponsors > PACKAGES ****** */
  .sponsorship_packages_wrapper .cards {
    grid-template-columns: auto;
  }
  .sponsorship_packages_wrapper .cards .cards__card {
   width: 100%; 
  }
}

@media screen and (max-width: 767px) {
  .hs-tabs__scroll {
    width: calc(100% - 112px);
  }
  /* ***** Partners > FEATURES ****** */
  .features_wrapper .features_wrapper-bottom {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }
  .features_wrapper .features_tabs_images {
   width: 100%; 
  }
  .features_wrapper .features_tabs {
   width: 100%; 
  }
  /* ***** Sponsors > PACKAGES ****** */
  .sponsorship_packages_wrapper .cards {
    grid-template-columns: auto;
  }
}
@media screen and (max-width: 480px) {
  .hs-tabs .hs-tabs__tab-wrapper .hs-tabs__tab {
    gap: 10px;
  }
  .hs-tabs__tab .hs-tabs__tab-button {
    padding: 10px;
    font-size: 0.75rem;
    margin-left: -10px;
    min-width: min-content;
    min-width: -webkit-fill-available;
    min-width: -moz-fill-available;
  }
/*   .hs-tabs__tab .hs-tabs__tab_content {
  padding: 10px;
  } */
  /* ***** Partners > FEATURES ****** */
  .features_wrapper {
    padding: 20px;
  }
  .features_wrapper .features_tab_images {  
    width: auto;
  }
  /* ***** Sponsors > PACKAGES ****** */
}