.faq-page {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #0d0d0d;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.faq-page :where(a) {
  color: inherit;
  text-decoration: none;
}
.faq-page img {
  display: block;
  max-width: 100%;
}
.faq-page h2 {
  margin: 0;
}

.faq-body {
  background: #fff;
}
.faq-body__wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
}

.faq-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-heading__icon {
  flex: 0 0 auto;
  color: #017435;
  line-height: 0;
}
.section-heading__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #0d0d0d;
  white-space: nowrap;
}
.section-heading__rule {
  flex: 1 1 auto;
  height: 8px;
  background: url("assets/divider-dots.png") left center/auto 8px repeat-x;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid #e8f3e9;
}
.faq-item__q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.faq-item__q::-webkit-details-marker {
  display: none;
}
.faq-item__text {
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #0d0d0d;
  text-wrap: pretty;
  transition: color 0.15s ease;
}
.faq-item__toggle {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px currentColor;
  color: #9a9a9a;
  transition: color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.faq-item__toggle::before, .faq-item__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item__q:hover .faq-item__text {
  color: #017435;
}
.faq-item__q:hover .faq-item__toggle {
  color: #017435;
}
.faq-item[open] .faq-item__text {
  color: #017435;
}
.faq-item[open] .faq-item__toggle {
  color: #017435;
}
.faq-item[open] .faq-item__toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0);
}
.faq-item__a {
  padding: 0 4px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item__a-label {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0d0d0d;
}
.faq-item__a-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #141414;
  text-wrap: pretty;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background: #ebebeb;
  color: #0d0d0d;
  font-size: 14px;
  line-height: 1;
  transition: background 0.15s ease, color 0.15s ease;
}
.pagination__btn:hover {
  background: rgb(214.6, 214.6, 214.6);
}
.pagination__btn.is-active {
  background: #017435;
  color: #fff;
  font-weight: 600;
}
.pagination__btn--nav svg {
  display: block;
}

.faq-side {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.askbox {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #e8f3e9;
}

.askbox__head {
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #44ca81 0%, #017435 100%);
}

.askbox__notch {
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: 26px;
  height: 13px;
  background: #017435;
  transform: translateX(-50%);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.askbox__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
}

@media (max-width: 1100px) {
  .faq-body__wrap {
    grid-template-columns: 1fr;
  }
  .faq-side {
    max-width: 460px;
  }
}
@media (max-width: 640px) {
  .faq-body__wrap {
    padding: 32px 20px;
  }
  .faq-item__text {
    font-size: 15px;
  }
  .page-hero__title {
    font-size: 24px;
    left: 60px;
  }
}
