/* List layout */
.check-list .elementor-icon-list-items {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

/* Cards */
.check-list .elementor-icon-list-item {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 10px;
  box-sizing: border-box;
  width: 100%;
  min-height: 56px;
  margin: 0 !important;
  padding: 12px 24px !important;
  border: 0 !important;
  border-radius: 12px;
  background: #2b3741;
  font-size: 14px;
}

.check-list .elementor-icon-list-item:first-child {
    font-size: 20px;
}

/* Hide Elementor icons and separators */
.check-list .elementor-icon-list-icon,
.check-list .elementor-icon-list-item::after {
  display: none !important;
}

/* Links */
.check-list .elementor-icon-list-item > a {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

/* List text */
/* The list item owns the card and arrow. Reset older/theme link-card rules. */
.check-list .elementor-icon-list-items > .elementor-icon-list-item > a {
  box-sizing: border-box;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  gap: 0 !important;
}

.check-list .elementor-icon-list-items > .elementor-icon-list-item > a::before,
.check-list .elementor-icon-list-items > .elementor-icon-list-item > a::after {
  content: none !important;
  display: none !important;
}

/* Extend the original link over its entire service card, including the arrow.
   Keep native link behavior (new tab, keyboard, context menu and target). */
.check-list .elementor-icon-list-items > .elementor-icon-list-item:not(:first-child) > a[href] {
  position: static !important;
}

.check-list .elementor-icon-list-items > .elementor-icon-list-item:not(:first-child) > a[href]::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  pointer-events: auto;
  cursor: pointer;
}

.check-list .elementor-icon-list-items > .elementor-icon-list-item > a:focus-visible {
  outline: 2px solid #B9D7FE;
  outline-offset: 4px;
}

/* List text */
.check-list .elementor-icon-list-text {
  flex: 1;
  min-width: 0;
  padding: 0 !important;
  color: #fff;
}

:where(.check-list .elementor-icon-list-item:first-child) .elementor-icon-list-text {
  color: #202830;
}

/* Explicit opt-in: otherwise Elementor owns typography and text colours. */
.cm-list-plugin-typography .check-list .elementor-icon-list-text {
  color: #fff !important;
  font-size: var(--cm-list-size, 12px) !important;
  line-height: var(--cm-list-line, 16px) !important;
  font-weight: var(--cm-list-weight, 400) !important;
}

/* First item: white heading */
.check-list .elementor-icon-list-item:first-child {
  background: #fff;
}

.cm-list-plugin-typography .check-list .elementor-icon-list-item:first-child
.elementor-icon-list-text {
  color: #202830 !important;
  font-size: var(--cm-heading-size, 20px) !important;
  line-height: var(--cm-heading-line, 26px) !important;
  font-weight: var(--cm-list-weight, 400) !important;
}

/* Arrow after text, aligned right */
.check-list .elementor-icon-list-item:not(:first-child)::after {
  content: "" !important;
  display: block !important;
  position: static !important;
  transform: none !important;
  flex: 0 0 14px !important;
  align-self: center;
  width: 14px !important;
  height: 14px !important;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  pointer-events: none;
  background: #fff;
  -webkit-mask: var(--cm-arrow-image)
    center / contain no-repeat;
  mask: var(--cm-arrow-image)
    center / contain no-repeat;
}

/* Gradient background */
.check-list .elementor-icon-list-item:not(:first-child)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(155deg, #B9D7FE 0%, #1678FA 100%);
  opacity: 0;
  transition: opacity 180ms ease;
}

/* Hover, focus, pressed and persistent active states */
.check-list .elementor-icon-list-item:not(:first-child):hover::before,
.check-list .elementor-icon-list-item:not(:first-child):focus-within::before,
.check-list .elementor-icon-list-item:not(:first-child):active::before,
.check-list .elementor-icon-list-item:not(:first-child).is-active::before,
.check-list .elementor-icon-list-item:not(:first-child):has(a.is-active)::before,
.check-list .elementor-icon-list-item:not(:first-child):has(a[aria-current="page"])::before {
  opacity: 1;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .check-list .elementor-icon-list-item:not(:first-child)::before {
    transition: none;
  }
}


/* Heading button added by the script */
.check-list .check-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  text-align: left;
  opacity: 1;
  -webkit-appearance: none;
  appearance: none;
}

.check-list .check-toggle:disabled {
  cursor: default;
  opacity: 1;
}

.check-list .check-toggle-icon {
  display: none;
}

@media (max-width: 767px) {
  .check-accordion {
    gap: 16px !important;
  }

  .check-list {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 0 !important;
  }

  .check-list .elementor-icon-list-items {
    gap: 6px;
  }

  .check-list .elementor-icon-list-item {
    min-height: 44px;
    padding: 12px 24px !important;
    border-radius: 10px;
  }

  /* Mobile heading */
  .check-list .elementor-icon-list-item:first-child {
    padding: 8px 10px 8px 12px !important;
  }

  

  .check-list .check-toggle {
    min-height: 28px;
    cursor: pointer;
  }

  .check-list .check-toggle:focus-visible {
    outline: 2px solid #1678FA;
    outline-offset: 3px;
    border-radius: 4px;
  }

  /* Plus / close button */
  .check-list .check-toggle-icon {
    position: relative;
    display: block;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #f2f5f9;
    color: #38434d;
  }

  .check-list .check-toggle-icon::before,
  .check-list .check-toggle-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1px;
    background: currentColor;
    transform: translate(-50%, -50%);
  }

  .check-list .check-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }

  .check-list.is-open .check-toggle-icon {
    background: #1678FA;
    color: #fff;
  }

  .check-list.is-open .check-toggle-icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .check-list.is-open .check-toggle-icon::after {
    transform: translate(-50%, -50%) rotate(135deg);
  }

  /* Only collapse after JavaScript initializes */
  .check-list.accordion-ready:not(.is-open)
  .elementor-icon-list-item:not(:first-child) {
    display: none !important;
  }
}



.cm-list-plugin-typography .check-list .elementor-icon-list-text { font-family: var(--cm-list-family, inherit) !important; }
.cm-list-plugin-typography .check-list .elementor-icon-list-item:first-child .elementor-icon-list-text {
  font-family: var(--cm-heading-family, inherit) !important;
  font-size: var(--cm-heading-size, 20px) !important;
  line-height: var(--cm-heading-line, 26px) !important;
  font-weight: var(--cm-heading-weight, 400) !important;
}
.check-list .check-toggle-icon { order: 2; }
.check-list .check-toggle:focus-visible { outline: 2px solid #1678FA; outline-offset: 3px; }
