.skyle-values-box-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.skyle-values-box {
  background: #fff;
  padding: 30px;
  border-radius: 25px;
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.05); */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.skyle-box-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.skyle-dots-container {
  display: flex;
  gap: 6px;
}

.skyle-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--teal, #00b3ce);
  opacity: 0.3;
}

.skyle-dot.active {
  opacity: 1;
}

.skyle-box-number {
  color: var(--teal, #00b3ce);
  /* font-size: 14px; */
  /* font-weight: 600; */
}

.skyle-box-title {
  /* font-size: 24px; */
  /* margin-bottom: 15px; */
  /* color: var(--black, #222222); */
}

.skyle-box-content p {
  /* color: var(--dark-grey, #888888); */
  /* font-size: 16px; */
  /* line-height: 1.6; */
  /* margin: 0; */
}

/* CHI SIAMO - Mobile Expandable Boxes */
@media (max-width: 1024px) {
  .skyle-values-box-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .chi-box-valori {
    cursor: pointer;
    transition: background-color 0.3s;
  }

  /* Use grid-template-rows for smooth height animation */
  .chi-box-valori > .elementor-widget-text-editor {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    transition: grid-template-rows 0.5s ease-out, opacity 0.5s ease-out, margin 0.5s ease-out;
  }

  .chi-box-valori.expanded > .elementor-widget-text-editor {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 15px !important;
  }

  /* Ensure the inner container handles the overflow */
  .chi-box-valori > .elementor-widget-text-editor > .elementor-widget-container {
    overflow: hidden;
  }
}