body.rexall-faq-template .rexall-pill-btn-secondary {
  border: 1px solid rgba(9, 55, 31, 0.18);
  background: transparent;
  color: var(--rexall-green);
}

body.rexall-faq-template .rexall-pill-btn-secondary:hover {
  background: var(--rexall-green);
  color: var(--rexall-bg);
}

.rexall-faq-hero-section {
  padding: 10px 0 42px;
}

.rexall-faq-hero-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 32px;
  margin-left: 80px;
  margin-right: 80px;
  align-items: stretch;
}

.rexall-faq-hero-copy,
.rexall-faq-hero-media-card,
.rexall-faq-section-wrap,
.rexall-faq-item,
.rexall-faq-empty {
  border-radius: 40px;
}

.rexall-faq-hero-copy {
  position: relative;
  overflow: hidden;
  padding: 42px clamp(26px, 4vw, 54px) 48px;
  background:
    radial-gradient(circle at top right, rgba(212, 255, 0, 0.26), transparent 34%),
    linear-gradient(180deg, rgba(251, 251, 243, 0.98) 0%, rgba(242, 237, 219, 0.96) 100%);
  box-shadow: 0 32px 90px rgba(9, 55, 31, 0.09);
}

.rexall-faq-hero-copy::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(154, 174, 121, 0.14);
}

.rexall-faq-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(9, 55, 31, 0.72);
  font-size: 14px;
  line-height: 1.4;
}

.rexall-faq-eyebrow,
.rexall-faq-section-label,
.rexall-faq-hero-note-label {
  margin: 0;
  color: rgba(9, 55, 31, 0.72);
  font-family: var(--rexall-font-heavy);
  font-size: 14px;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rexall-faq-hero-copy h1 {
  margin: 18px 0 0;
  color: var(--rexall-green);
  font-family: var(--rexall-font-display);
  font-size: clamp(48px, 5vw, 78px);
  font-weight: 400;
  line-height: 1.02;
}

.rexall-faq-intro {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  max-width: 63ch;
  color: var(--rexall-green);
  font-size: 18px;
  line-height: 1.75;
}

.rexall-faq-intro > :first-child {
  margin-top: 0;
}

.rexall-faq-intro > :last-child {
  margin-bottom: 0;
}

.rexall-faq-meta,
.rexall-faq-actions,
.rexall-faq-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rexall-faq-meta {
  margin-top: 26px;
}

.rexall-faq-meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(154, 174, 121, 0.18);
  color: var(--rexall-green);
  font-family: var(--rexall-font-heavy);
  font-size: 14px;
  line-height: 1;
}

.rexall-faq-actions {
  position: relative;
  z-index: 1;
  margin-top: 30px;
}

.rexall-faq-hero-media {
  position: relative;
}

.rexall-faq-hero-media::before {
  content: "";
  position: absolute;
  inset: 28px auto auto -20px;
  width: 120px;
  height: 120px;
  border-radius: 32px;
  background: rgba(154, 174, 121, 0.24);
  transform: rotate(-12deg);
}

.rexall-faq-hero-media-card {
  height: 100%;
  min-height: 620px;
  overflow: hidden;
  background: rgba(154, 174, 121, 0.2);
  box-shadow: 0 32px 90px rgba(9, 55, 31, 0.08);
}

.rexall-faq-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  object-position: center;
}

.rexall-faq-hero-note {
  position: absolute;
  right: 26px;
  bottom: 26px;
  width: min(290px, calc(100% - 52px));
  padding: 24px 24px 22px;
  border-radius: 32px;
  background: rgba(9, 55, 31, 0.94);
  color: var(--rexall-bg);
  box-shadow: 0 24px 60px rgba(9, 55, 31, 0.28);
}

.rexall-faq-hero-note-label {
  color: rgba(251, 251, 243, 0.72);
}

.rexall-faq-hero-note p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.7;
}

.rexall-faq-section {
  padding: 0 0 72px;
}

.rexall-faq-section-wrap {
  margin-left: 80px;
  margin-right: 80px;
  padding: 46px clamp(24px, 3.2vw, 44px) 48px;
  background:
    linear-gradient(180deg, rgba(154, 174, 121, 0.16) 0%, rgba(154, 174, 121, 0.08) 100%),
    var(--rexall-soft);
  box-shadow: 0 24px 70px rgba(9, 55, 31, 0.08);
}

.rexall-faq-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 24px;
  align-items: end;
}

.rexall-faq-heading-copy h2 {
  margin: 14px 0 0;
  color: var(--rexall-green);
  font-family: var(--rexall-font-display);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.08;
}

.rexall-faq-heading-copy > p:last-child {
  margin: 16px 0 0;
  max-width: 58ch;
  color: rgba(9, 55, 31, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.rexall-faq-section-intro {
  margin-top: 16px;
  max-width: 58ch;
  font-size: 17px;
  line-height: 1.7;
}

.rexall-faq-search label {
  display: block;
  margin: 0 0 10px;
  color: rgba(9, 55, 31, 0.72);
  font-family: var(--rexall-font-heavy);
  font-size: 14px;
  line-height: 1.3;
}

.rexall-faq-search input {
  width: 100%;
  min-height: 58px;
  padding: 16px 20px;
  border: 1px solid rgba(9, 55, 31, 0.12);
  border-radius: 18px;
  background: rgba(251, 251, 243, 0.88);
  color: var(--rexall-green);
  font-family: var(--rexall-font-light);
  font-size: 16px;
  line-height: 1.5;
  outline: none;
}

.rexall-faq-search input:focus {
  border-color: rgba(9, 55, 31, 0.3);
  box-shadow: 0 0 0 4px rgba(154, 174, 121, 0.18);
}

.rexall-faq-search-count {
  margin: 12px 0 0;
  color: rgba(9, 55, 31, 0.72);
  font-size: 14px;
  line-height: 1.4;
}

.rexall-faq-filter-bar {
  margin-top: 28px;
}

.rexall-faq-filter {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(9, 55, 31, 0.12);
  border-radius: 999px;
  background: rgba(251, 251, 243, 0.82);
  color: var(--rexall-green);
  font-family: var(--rexall-font-heavy);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.rexall-faq-filter[aria-pressed="true"] {
  border-color: var(--rexall-green);
  background: var(--rexall-green);
  color: var(--rexall-bg);
}

.rexall-faq-list {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.rexall-faq-item {
  overflow: hidden;
  border: 1px solid rgba(9, 55, 31, 0.08);
  background: rgba(251, 251, 243, 0.96);
  box-shadow: 0 24px 50px rgba(9, 55, 31, 0.05);
}

.rexall-faq-item summary {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 48px;
  gap: 18px;
  align-items: center;
  padding: 24px 30px;
  list-style: none;
  cursor: pointer;
}

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

.rexall-faq-item-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(154, 174, 121, 0.18);
  color: var(--rexall-green);
  font-family: var(--rexall-font-heavy);
  font-size: 18px;
  line-height: 1;
}

.rexall-faq-item-question {
  color: var(--rexall-green);
  font-family: var(--rexall-font-heavy);
  font-size: 22px;
  line-height: 1.35;
}

.rexall-faq-item-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--rexall-green);
}

.rexall-faq-item-icon::before,
.rexall-faq-item-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: var(--rexall-bg);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.rexall-faq-item-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.rexall-faq-item[open] .rexall-faq-item-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.3);
}

.rexall-faq-item-answer {
  padding: 0 30px 30px 106px;
  color: rgba(9, 55, 31, 0.84);
  font-size: 17px;
  line-height: 1.75;
}

.rexall-faq-item-answer > :first-child {
  margin-top: 0;
}

.rexall-faq-item-answer > :last-child {
  margin-bottom: 0;
}

.rexall-faq-empty {
  padding: 42px 28px;
  background: rgba(251, 251, 243, 0.82);
  text-align: center;
  border: 1px dashed rgba(9, 55, 31, 0.18);
}

.rexall-faq-empty h3 {
  margin: 0;
  color: var(--rexall-green);
  font-family: var(--rexall-font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.16;
}

.rexall-faq-empty p {
  margin: 12px 0 0;
  color: rgba(9, 55, 31, 0.74);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 1360px) {
  .rexall-faq-hero-wrap,
  .rexall-faq-section-wrap {
    margin-left: 44px;
    margin-right: 44px;
  }
}

@media (max-width: 1180px) {
  .rexall-faq-hero-wrap,
  .rexall-faq-section-wrap {
    margin-left: 32px;
    margin-right: 32px;
  }

  .rexall-faq-heading,
  .rexall-faq-hero-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .rexall-faq-hero-media-card,
  .rexall-faq-hero-image {
    min-height: 520px;
  }
}

@media (max-width: 980px) {
  .rexall-faq-hero-copy,
  .rexall-faq-section-wrap,
  .rexall-faq-item,
  .rexall-faq-empty {
    border-radius: 28px;
  }

  .rexall-faq-hero-copy {
    padding: 34px 24px 38px;
  }

  .rexall-faq-hero-note {
    position: static;
    width: auto;
    margin-top: 18px;
  }

  .rexall-faq-section-wrap {
    padding: 36px 20px 40px;
  }
}

@media (max-width: 767px) {
  .rexall-faq-hero-wrap,
  .rexall-faq-section-wrap {
    margin-left: 16px;
    margin-right: 16px;
  }

  .rexall-faq-hero-section {
    padding-bottom: 24px;
  }

  .rexall-faq-hero-copy h1 {
    font-size: 42px;
  }

  .rexall-faq-intro,
  .rexall-faq-heading-copy > p:last-child,
  .rexall-faq-item-answer {
    font-size: 16px;
  }

  .rexall-faq-hero-media-card,
  .rexall-faq-hero-image {
    min-height: 360px;
  }

  .rexall-faq-item summary {
    grid-template-columns: 48px minmax(0, 1fr) 40px;
    gap: 12px;
    padding: 18px 18px 18px 16px;
  }

  .rexall-faq-item-index {
    width: 48px;
    height: 48px;
    font-size: 16px;
  }

  .rexall-faq-item-question {
    font-size: 19px;
  }

  .rexall-faq-item-icon {
    width: 40px;
    height: 40px;
  }

  .rexall-faq-item-answer {
    padding: 0 18px 22px;
  }

  .rexall-cta-section {
    padding: 16px;
  }
}
