.klyro-faq-confidence,
.klyro-faq-confidence * {
  box-sizing: border-box;
}

.klyro-faq-confidence {
  --kfc-accent: #a74f78;
  --kfc-max-width: 1080px;
  width: 100%;
  overflow: hidden;
  background: #fff;
  color: #29262d;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0;
}

.kfc-inner {
  width: min(100% - 44px, var(--kfc-max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(320px, .82fr);
  gap: 78px;
  align-items: center;
}

.kfc-header {
  margin: 0 0 26px;
}

.kfc-header h2 {
  margin: 0;
  color: #29262d;
  font-size: 32px;
  line-height: 1.12;
  font-weight: 760;
  letter-spacing: 0;
}

.kfc-header p {
  margin: 14px 0 0;
  color: #4d4850;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 450;
}

.kfc-list {
  display: grid;
  gap: 9px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.kfc-item + .kfc-item {
  border-top: 0;
}

.kfc-item {
  border: 1px solid #e8e2e6;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 7px 18px rgba(28, 24, 31, .045);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.kfc-item[open] {
  border-color: rgba(167, 79, 120, .3);
  background: linear-gradient(180deg, rgba(167, 79, 120, .045), #fff 42%);
  box-shadow: 0 9px 22px rgba(167, 79, 120, .08);
}

.kfc-item summary {
  list-style: none;
  min-height: 45px;
  padding: 0 16px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  color: #29262d;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 620;
}

.kfc-item summary::-webkit-details-marker {
  display: none;
}

.kfc-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f7edf2;
  color: var(--kfc-accent);
  font-size: 16px;
  line-height: 1;
  font-weight: 760;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1), background .24s ease, color .24s ease;
}

.kfc-item[open] summary::after {
  content: "-";
  background: var(--kfc-accent);
  color: #fff;
  transform: rotate(180deg);
}

.kfc-answer {
  height: 0;
  padding: 0 52px 0 18px;
  overflow: hidden;
  color: #5b555e;
  font-size: 13px;
  line-height: 1.48;
  opacity: 0;
  transition: height .34s cubic-bezier(.22, .61, .36, 1), opacity .24s ease, padding-bottom .34s cubic-bezier(.22, .61, .36, 1);
  will-change: height;
}

.kfc-item[open] .kfc-answer {
  height: auto;
  padding-bottom: 17px;
  opacity: 1;
}

.kfc-item.is-closing .kfc-answer {
  padding-bottom: 0;
}

.kfc-answer p {
  margin: 0;
  transform: translateY(-3px);
  transition: transform .34s cubic-bezier(.22, .61, .36, 1);
}

.kfc-item[open] .kfc-answer p {
  transform: translateY(0);
}

.kfc-media {
  align-self: end;
  min-height: 470px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.kfc-media img,
.kfc-media picture {
  display: block;
  width: min(100%, 430px);
  height: auto;
  object-fit: contain;
}

@media (max-width: 899px) {
  .kfc-inner {
    width: min(100% - 32px, var(--kfc-max-width));
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .kfc-copy {
    width: 100%;
  }

  .kfc-header {
    margin-bottom: 18px;
    text-align: center;
  }

  .kfc-header h2 {
    font-size: 28px;
    line-height: 1.14;
  }

  .kfc-header p {
    margin-top: 10px;
  }

  .kfc-item summary {
    min-height: 46px;
    padding: 0 15px;
    font-size: 13.5px;
  }

  .kfc-answer {
    padding-left: 15px;
    padding-right: 44px;
    font-size: 12.5px;
  }

  .kfc-item[open] .kfc-answer {
    padding-bottom: 15px;
  }

  .kfc-media {
    width: 100%;
    min-height: 0;
    max-height: 360px;
    overflow: hidden;
  }

  .kfc-media img,
  .kfc-media picture {
    width: min(100%, 340px);
  }
}
