/* Healthcare App — 10 FAQ */

.cw-healthcare-faq {
  background: #f3efe7;
  color: #141210;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.cw-healthcare-faq__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 110px) clamp(20px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

@media (min-width: 900px) {
  .cw-healthcare-faq__inner {
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  }

  .cw-healthcare-faq__list {
    grid-column: 2;
  }

  .cw-healthcare-faq__empty {
    grid-column: 2;
  }
}

.cw-healthcare-faq__aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (min-width: 900px) {
  .cw-healthcare-faq__aside {
    position: sticky;
    top: 90px;
  }
}

.cw-healthcare-faq__eyebrow {
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #1f6fa8;
}

.cw-healthcare-faq__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cw-healthcare-faq__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #1f6fa8;
}

.cw-healthcare-faq__search-wrap {
  display: block;
  max-width: 420px;
}

.cw-healthcare-faq__search {
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid #141210;
  border-radius: 999px;
  padding: 14px 20px;
  color: #141210;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.cw-healthcare-faq__search:focus-visible {
  outline: 2px solid #1f6fa8;
  outline-offset: 2px;
}

.cw-healthcare-faq__note {
  margin: 0;
  font-size: 13px;
  color: #5a534a;
}

.cw-healthcare-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.cw-healthcare-faq__item {
  border: 1px solid #e4ddd0;
  border-radius: 20px;
  background: #ffffff;
  color: #141210;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  font: inherit;
  width: 100%;
}

.cw-healthcare-faq__item.is-open {
  background: #141210;
  color: #f3efe7;
  border-color: #141210;
}

.cw-healthcare-faq__item.is-hidden {
  display: none;
}

.cw-healthcare-faq__item:focus-visible {
  outline: 2px solid #1f6fa8;
  outline-offset: 3px;
}

.cw-healthcare-faq__item-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  font-weight: 600;
  font-size: 16.5px;
}

.cw-healthcare-faq__no {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #1f6fa8;
  margin-right: 10px;
}

.cw-healthcare-faq__item.is-open .cw-healthcare-faq__no {
  color: #d4f53c;
}

.cw-healthcare-faq__plus {
  color: #1f6fa8;
  flex-shrink: 0;
  transform: rotate(0deg);
  transition: transform 0.25s ease;
  font-size: 20px;
  line-height: 1;
}

.cw-healthcare-faq__item.is-open .cw-healthcare-faq__plus {
  color: #d4f53c;
  transform: rotate(45deg);
}

.cw-healthcare-faq__answer {
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.cw-healthcare-faq__item.is-open .cw-healthcare-faq__answer {
  max-height: 220px;
}

.cw-healthcare-faq__empty {
  margin: 0;
  padding: 20px 0;
  color: #5a534a;
}

.cw-healthcare-faq__empty[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
