/* FAQ page quick-help redesign — deliberately no dotted decorative boxes. */

.sds-faq-help {
  padding: 54px 0 76px;
  background: #fff;
}

.sds-faq-help__panel {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.7fr);
  align-items: stretch;
  gap: 42px;
  padding: 42px;
  border: 1px solid #dce7f1;
  border-radius: 20px;
  background:
    linear-gradient(112deg, rgba(33, 118, 189, .055) 0%, #fff 44%, rgba(33, 118, 189, .035) 100%);
}

.sds-faq-help__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 38px;
  border-right: 1px solid #d7e2ec;
}

.sds-faq-help__intro .sds-faq-page-eyebrow {
  margin-bottom: 16px;
}

.sds-faq-help__intro h2 {
  margin: 0;
  color: var(--sds-heading);
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -.035em;
  font-weight: 730;
}

.sds-faq-help__intro > p:last-child {
  max-width: 390px;
  margin: 22px 0 0;
  color: #536271;
  font-size: 16px;
  line-height: 1.7;
}

.sds-faq-help__tools {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sds-faq-search {
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 38px auto;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 7px 8px 7px 20px;
  border: 1px solid #ccdceb;
  border-radius: 13px;
  background: #fff;
  box-shadow: none;
}

.sds-faq-search:focus-within {
  border-color: var(--sds-blue);
}

.sds-faq-search__icon {
  color: var(--sds-blue);
}

.sds-faq-search__icon svg {
  display: block;
  width: 27px;
  height: 27px;
}

.sds-faq-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--sds-heading);
  font-size: 16px;
}

.sds-faq-search input::placeholder {
  color: #7b8997;
}

.sds-faq-search__clear {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
  color: #667482;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.sds-faq-search__submit {
  min-width: 108px;
  min-height: 52px;
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  background: #e8f3fd;
  color: var(--sds-blue);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.sds-faq-search__submit:hover,
.sds-faq-search__submit:focus-visible {
  background: var(--sds-blue);
  color: #fff;
}

.sds-faq-topic-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.sds-faq-topic-chip {
  min-width: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  border: 1px solid #d8e3ed;
  border-radius: 13px;
  box-shadow: none;
  background: #fff;
  color: var(--sds-heading);
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.sds-faq-topic-chip:hover,
.sds-faq-topic-chip:focus-visible,
.sds-faq-topic-chip.is-active {
  border-color: rgba(33, 118, 189, .55);
  background: #f7fbff;
  transform: translateY(-2px);
}

.sds-faq-topic-chip__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e9f4fd;
  color: var(--sds-blue);
}

.sds-faq-topic-chip__icon svg {
  width: 22px;
  height: 22px;
  color: currentColor;
}

.sds-faq-topic-chip__label {
  min-width: 0;
  color: var(--sds-heading);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.sds-faq-topic-chip__arrow {
  justify-self: end;
  color: #657585;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.sds-faq-topic-chip:hover .sds-faq-topic-chip__arrow,
.sds-faq-topic-chip:focus-visible .sds-faq-topic-chip__arrow,
.sds-faq-topic-chip.is-active .sds-faq-topic-chip__arrow {
  color: var(--sds-blue);
}

@media (max-width: 1040px) {
  .sds-faq-help__panel {
    grid-template-columns: minmax(220px, .72fr) minmax(0, 1.45fr);
    gap: 30px;
    padding: 34px;
  }

  .sds-faq-help__intro {
    padding-right: 28px;
  }

  .sds-faq-topic-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sds-faq-help {
    padding: 34px 0 54px;
  }

  .sds-faq-help__panel {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 18px;
    border-radius: 17px;
  }

  .sds-faq-help__intro {
    align-items: center;
    padding: 0 0 26px;
    border-right: 0;
    border-bottom: 1px solid #d7e2ec;
    text-align: center;
  }

  .sds-faq-help__intro h2 {
    font-size: 32px;
  }

  .sds-faq-help__intro > p:last-child {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.6;
  }

  .sds-faq-search {
    min-height: 62px;
    grid-template-columns: 25px minmax(0, 1fr) 32px auto;
    gap: 7px;
    padding: 6px 7px 6px 14px;
  }

  .sds-faq-search__icon svg {
    width: 22px;
    height: 22px;
  }

  .sds-faq-search input {
    font-size: 14px;
  }

  .sds-faq-search__submit {
    min-width: 76px;
    min-height: 48px;
    padding-inline: 13px;
    font-size: 13px;
  }

  .sds-faq-topic-chips {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 18px;
  }

  .sds-faq-topic-chip {
    min-height: 66px;
    grid-template-columns: 34px minmax(0, 1fr) 14px;
    gap: 8px;
    padding: 9px 10px;
    border-radius: 11px;
  }

  .sds-faq-topic-chip__icon {
    width: 34px;
    height: 34px;
  }

  .sds-faq-topic-chip__icon svg {
    width: 18px;
    height: 18px;
  }

  .sds-faq-topic-chip__label {
    font-size: 12px;
  }

  .sds-faq-topic-chip__arrow {
    font-size: 24px;
  }
}

@media (max-width: 390px) {
  .sds-faq-help__panel {
    padding-inline: 13px;
  }

  .sds-faq-search {
    grid-template-columns: 22px minmax(0, 1fr) 28px;
  }

  .sds-faq-search__submit {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
  }

  .sds-faq-topic-chip {
    min-height: 70px;
    padding-inline: 8px;
  }
}
