/* Homepage FAQ — local rx_faq override for the Ukishone theme. */
.uk-home-faq {
  position: relative;
  width: 100%;
  margin-top: 80px;
  margin-left: calc(50% - 50vw);
  background: #fff7e6;
  color: #14284a;
}

.uk-home-faq > .rx-faq.uk-home-faq__content {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 630px);
  justify-content: space-between;
  gap: 64px;
  width: calc(100% - 32px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 0;
}

.uk-home-faq .uk-home-faq__intro {
  align-self: start;
}

.uk-home-faq .uk-home-faq__title {
  margin: 0 0 16px;
  color: #14284a;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.uk-home-faq .uk-home-faq__description {
  max-width: 560px;
  margin: 0;
  color: #30425f;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
}

.uk-home-faq .uk-home-faq__contact {
  display: inline-flex;
  min-width: 200px;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  padding: 12px 28px;
  border: 1px solid #94a0b0;
  border-radius: 999px;
  background: #fcfcfc;
  color: #14284a;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.44;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.uk-home-faq .uk-home-faq__contact:hover,
.uk-home-faq .uk-home-faq__contact:focus-visible {
  border-color: #14284a;
  background: #fafcff;
  color: #14284a;
  text-decoration: none;
}

.uk-home-faq .rx-faq.uk-home-faq__content .rx-faq__tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
}

.uk-home-faq .rx-faq.uk-home-faq__content .rx-faq__tab {
  border-bottom: 1px solid #cdd3dc;
  border-radius: 0;
  background: transparent;
}

.uk-home-faq .rx-faq.uk-home-faq__content .rx-faq__tab:last-child {
  border-bottom: 0;
}

.uk-home-faq .rx-faq.uk-home-faq__content .rx-faq__tab-title {
  margin: 0;
  font: inherit;
}

.uk-home-faq .rx-faq.uk-home-faq__content .rx-faq__tab-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  margin: 0;
  padding: 16px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #14284a;
  font-family: inherit;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  appearance: none;
}

.uk-home-faq .rx-faq.uk-home-faq__content .rx-faq__tab-header:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.uk-home-faq .rx-faq.uk-home-faq__content .rx-faq__tab-header::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8L10 12L14 8' stroke='%2314284A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  transition: transform 300ms ease-in-out;
}

.uk-home-faq .rx-faq.uk-home-faq__content .rx-faq__tab.active .rx-faq__tab-header::after {
  transform: rotate(-180deg);
}

.uk-home-faq .rx-faq.uk-home-faq__content .rx-faq__tab-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease-in-out;
}

.uk-home-faq .rx-faq.uk-home-faq__content .rx-faq__tab-content-inner {
  padding: 0 32px 20px 0;
  color: #30425f;
  font-size: 16px;
  line-height: 1.52;
}

@media (max-width: 991.98px) {
  .uk-home-faq {
    margin-top: 64px;
  }

  .uk-home-faq > .rx-faq.uk-home-faq__content {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 767.98px) {
  .uk-home-faq {
    margin-top: 48px;
  }

  .uk-home-faq > .rx-faq.uk-home-faq__content {
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .uk-home-faq .uk-home-faq__title {
    font-size: 32px;
  }

  .uk-home-faq .uk-home-faq__description {
    font-size: 18px;
  }

  .uk-home-faq .uk-home-faq__contact {
    min-height: 54px;
    font-size: 18px;
  }

  .uk-home-faq .rx-faq.uk-home-faq__content .rx-faq__tab-header {
    min-height: 58px;
    font-size: 18px;
  }
}
