/* Responsive styles for the Feature Items block (scoped to section) */

/* Desktop/Large screens: center the list and cap width at 60% */
.cs_feature_highlights .cs_feature_list_new {
  width: 60%;
  margin: 0 auto;
}

/* Ensure any SVG/check icon stays fixed size */
.cs_feature_highlights .cs_check_icon_new {
  flex: 0 0 auto;
}

/* Keep text on a single line (items themselves will wrap) */
.cs_feature_highlights .cs_feature_text_new {
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

/* Tablet & Mobile: items wrap to next line based on available space */
@media (max-width: 991px) {
  .cs_feature_highlights .cs_feature_list_new {
    width: 100%;
  }

  .cs_feature_highlights .cs_feature_row_new {
    display: flex;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center;
    gap: 10px 18px;
  }

  .cs_feature_highlights .cs_feature_item_new {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 10px;
    min-width: 220px;
    /* as much fits per row; rest wraps */
    flex: 0 0 auto;
    margin: 0 4px;
  }
}

/* Small mobile: use two-column grid like tablet */
@media (max-width: 576px) {
  .cs_feature_highlights .cs_feature_row_new {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    justify-items: center;
    align-items: center;
    margin: 0 auto;
    max-width: 95%;
    padding: 0 10px;
  }

  .cs_feature_highlights .cs_feature_item_new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 6px 8px;
    width: 100%;
    min-width: 0;
    /* let grid control width */
    margin: 0;
  }

  .cs_feature_highlights .cs_feature_text_new {
    white-space: normal !important;
    /* allow wrap to avoid clipping */
    overflow: visible !important;
    text-overflow: clip !important;
    word-break: break-word;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
  }
}

/* Mobile overrides for the top intro feature list only - Clean responsive design */
/* Base mobile styles (up to 991px) */
@media (max-width: 991px) {
  .cs_feature_intro_top {
    width: 100% !important;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 0 auto;
  }

  .cs_feature_intro_top .cs_feature_row_new {
    display: flex;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .cs_feature_intro_top .cs_feature_item_new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 0;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    width: auto;
    max-width: 98%;
    margin: 0 auto;
    text-align: center;
  }

  .cs_feature_intro_top .cs_feature_item_new.cs_feature_item_centered {
    max-width: 100% !important;
    width: 100% !important;
  }

  .cs_feature_intro_top .cs_feature_item_new:hover {
    background: none;
    border: none;
    transform: none;
    box-shadow: none;
  }

  .cs_feature_intro_top .cs_check_icon_new {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cs_feature_intro_top .cs_check_icon_new.me-2 {
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .cs_feature_intro_top .cs_feature_text_new.cs_fs_16 {
    font-size: 11px !important;
  }

  .cs_feature_intro_top .cs_feature_text_new {
    white-space: nowrap !important;
    overflow: visible;
    text-overflow: clip;
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
    word-break: normal;
    margin: 0;
    padding: 0;
    flex: 0 1 auto;
    letter-spacing: -0.2px;
  }
}

/* Mobile 350px and above - Enhanced styling */
@media (min-width: 350px) and (max-width: 619px) {
  .cs_feature_intro_top .cs_feature_item_new {
    padding: 6px 0;
    gap: 5px;
    width: auto;
    max-width: 98%;
    margin: 0 auto;
  }

  .cs_feature_intro_top .cs_feature_text_new {
    font-size: 11px;
    line-height: 1.3;
    text-align: center;
    white-space: nowrap !important;
    overflow: visible;
    margin: 0;
    padding: 0;
    letter-spacing: -0.2px;
  }

  .cs_feature_intro_top .cs_check_icon_new {
    width: 14px;
    height: 14px;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cs_feature_intro_top .cs_check_icon_new.me-2 {
    margin-right: 0 !important;
  }

  .cs_feature_intro_top .cs_feature_text_new.cs_fs_16 {
    font-size: 11px !important;
  }

  .cs_feature_intro_top .cs_feature_item_new.cs_feature_item_centered {
    max-width: 100% !important;
    width: 100% !important;
  }
}

/* Tablet/Mobile 620px and above - Horizontal layout */
@media (min-width: 620px) and (max-width: 991px) {
  .cs_feature_intro_top .cs_feature_row_new {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px 24px;
  }

  .cs_feature_intro_top .cs_feature_item_new {
    width: auto;
    max-width: none;
    padding: 5px 6px;
    gap: 5px;
    flex-shrink: 0;
    justify-content: center;
    margin: 0;
  }

  .cs_feature_intro_top .cs_feature_text_new {
    font-size: 11px;
    line-height: 1.3;
    white-space: nowrap;
    text-align: center;
    overflow: visible;
    margin: 0;
    padding: 0;
    letter-spacing: -0.2px;
  }

  .cs_feature_intro_top .cs_check_icon_new {
    width: 14px;
    height: 14px;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cs_feature_intro_top .cs_check_icon_new.me-2 {
    margin-right: 0 !important;
  }

  .cs_feature_intro_top .cs_feature_text_new.cs_fs_16 {
    font-size: 11px !important;
  }
}

/* Ultra-small mobile (below 350px) */
@media (max-width: 349px) {
  .cs_feature_highlights .cs_feature_row_new {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .cs_feature_highlights .cs_feature_item_new {
    padding: 5px 6px;
  }

  .cs_feature_highlights .cs_feature_text_new {
    font-size: 13px;
    line-height: 1.35;
  }

  .cs_feature_intro_top .cs_feature_item_new {
    padding: 5px 0;
    gap: 4px;
    max-width: 98%;
  }

  .cs_feature_intro_top .cs_feature_text_new {
    font-size: 10px;
    line-height: 1.3;
    white-space: nowrap !important;
    overflow: visible;
    margin: 0;
    padding: 0;
    letter-spacing: -0.3px;
  }

  .cs_feature_intro_top .cs_check_icon_new {
    width: 12px;
    height: 12px;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cs_feature_intro_top .cs_check_icon_new.me-2 {
    margin-right: 0 !important;
  }

  .cs_feature_intro_top .cs_feature_text_new.cs_fs_16 {
    font-size: 10px !important;
  }

  .cs_feature_intro_top .cs_feature_item_new.cs_feature_item_centered {
    max-width: 100% !important;
    width: 100% !important;
  }
}