/* Kursevi FAQ Widget - Accordion */

.ks-faq-widget {
  margin: 28px 0;
}

.ks-faq-title {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: #101840;
  font-weight: normal;
}

.ks-faq-desc {
  margin: 0 0 20px;
  color: #5a628a;
  font-size: 15px;
  line-height: 1.6;
  max-width: 90ch;
  font-weight: normal;
}

.ks-faq-accordion {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.ks-faq-item {
  border: 1px solid rgba(16, 24, 64, 0.10);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 18px;
  overflow: hidden;
  transition: background 0.2s ease;
}

.ks-faq-item:hover {
  background: rgba(255, 255, 255, 0.78);
}

.ks-faq-btn {
  width: 100%;
  text-align: left;
  padding: 14px 14px;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-weight: normal;
  font-size: 15px;
  color: rgba(16, 24, 64, 0.88);
  transition: color 0.2s ease;
}

.ks-faq-btn:hover {
  color: #101840;
}

.ks-faq-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(16, 24, 64, 0.10);
  background: rgba(255, 255, 255, 0.70);
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: normal;
  font-size: 20px;
  color: rgba(16, 24, 64, 0.75);
  transition: transform 0.25s ease, background 0.2s ease;
  flex-shrink: 0;
}

.ks-faq-body {
  max-height: 0px;
  overflow: hidden;
  transition: max-height 0.22s ease;
}

.ks-faq-inner {
  padding: 0 14px 14px;
  color: #5a628a;
  line-height: 1.7;
  font-weight: normal;
  font-size: 14px;
}

/* Open state */
.ks-faq-item.ks-faq-open .ks-faq-body {
  max-height: 400px;
}

.ks-faq-item.ks-faq-open .ks-faq-icon {
  transform: rotate(45deg);
  background: linear-gradient(135deg, #d75628, #562d6f);
  color: #fff;
  border-color: transparent;
}

/* Responsive */
@media (max-width: 700px) {
  .ks-faq-title {
    font-size: clamp(24px, 4vw, 32px);
  }

  .ks-faq-btn {
    padding: 12px 12px;
    font-size: 14px;
  }

  .ks-faq-icon {
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  .ks-faq-inner {
    padding: 0 12px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .ks-faq-accordion {
    gap: 8px;
  }

  .ks-faq-item {
    border-radius: 14px;
  }

  .ks-faq-btn {
    padding: 10px 10px;
    gap: 8px;
  }

  .ks-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 10px;
  }
}
