/* Standalone FAQ hand widget from the Male Vitality STAQ product mockup. */
.mvs-faq,
.mvs-faq *,
.mvs-faq *::before,
.mvs-faq *::after {
  box-sizing: border-box;
}

.mvs-faq {
  background: #fff;
  color: #280108;
  font-family: "Geom Graphic", "Avenir Next", Avenir, Gilroy, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  width: 100%;
}

.mvs-faq__inner {
  margin: 0 auto;
  max-width: 1280px;
  padding: 0 20px 64px;
}

.mvs-faq__layout {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-areas: "image" "heading" "questions";
  grid-template-columns: minmax(0, 1fr);
}

.mvs-faq__header {
  grid-area: heading;
  margin: 0 0 8px;
  position: relative;
  text-align: center;
  z-index: 2;
}

.mvs-faq__header h2 {
  color: #280108;
  font-family: inherit;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 28px;
  margin: 0;
  padding: 0;
  text-transform: uppercase;
}

.mvs-faq__image-wrap {
  grid-area: image;
  margin: 0 0 24px;
  position: relative;
  z-index: 0;
}

.mvs-faq__image {
  aspect-ratio: 56 / 45;
  border-radius: 16px;
  display: block;
  filter: brightness(1);
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  mix-blend-mode: multiply;
  object-fit: cover;
  object-position: center;
  transition: filter 0.6s ease;
  width: 100%;
}

.mvs-faq--hovered .mvs-faq__image {
  filter: brightness(1.08);
}

.mvs-faq__questions {
  grid-area: questions;
  position: relative;
  z-index: 1;
}

.mvs-faq__list {
  display: grid;
  gap: 8px;
}

.mvs-faq__item {
  background: linear-gradient(135deg, rgba(77, 24, 18, 0.16) 0%, rgba(155, 55, 40, 0.13) 50%, rgba(126, 90, 35, 0.12) 100%);
  border: 1px solid #7e5a23;
  border-radius: 8px;
  overflow: hidden;
  transition: background 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.mvs-faq__item.is-open {
  background: linear-gradient(135deg, rgba(77, 24, 18, 0.26) 0%, rgba(155, 55, 40, 0.20) 50%, rgba(126, 90, 35, 0.18) 100%);
}

.mvs-faq__button {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #280108;
  cursor: pointer;
  display: flex;
  font-family: inherit;
  font-size: clamp(14.72px, 1.5vw, 17.28px);
  font-weight: 700;
  gap: 16px;
  justify-content: space-between;
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin: 0;
  padding: 0.7rem 1.1rem;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
}

.mvs-faq__button > span {
  color: #280108;
  transition: color 0.3s ease;
}

.mvs-faq__item:hover .mvs-faq__button[aria-expanded="false"] > span {
  color: #4d1812;
}

.mvs-faq__button:focus-visible,
.mvs-faq__link:focus-visible {
  outline: 2px solid #f2b32e;
  outline-offset: -3px;
}

.mvs-faq__chevron {
  color: #7e5a23;
  flex: 0 0 22px;
  height: 22px;
  transform: rotate(0deg);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  width: 22px;
}

.mvs-faq__button[aria-expanded="true"] .mvs-faq__chevron {
  transform: rotate(180deg);
}

.mvs-faq__answer[hidden] {
  display: none;
}

.mvs-faq--enhanced .mvs-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.4s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mvs-faq--enhanced .mvs-faq__button[aria-expanded="true"] + .mvs-faq__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.mvs-faq__answer-inner {
  min-height: 0;
  overflow: hidden;
  padding: 0 1.1rem;
  transition: padding-bottom 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.mvs-faq__item.is-open .mvs-faq__answer-inner {
  padding-bottom: 0.8rem;
}

.mvs-faq__answer p {
  color: #280108;
  font-family: inherit;
  font-size: clamp(14.4px, 1.25vw, 16px);
  font-weight: 400;
  line-height: 1.6;
  margin: 0.3rem 0 0;
  opacity: 0.88;
  padding: 0;
}

.mvs-faq__answer p + p {
  margin-top: 0.6rem;
}

.mvs-faq__link-wrap {
  padding-top: 24px;
  text-align: center;
}

.mvs-faq__link {
  align-items: center;
  color: #f2b32e;
  display: inline-flex;
  font-family: inherit;
  font-size: 12.48px;
  font-weight: 700;
  gap: 8px;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-decoration: underline;
  text-transform: uppercase;
}

.mvs-faq__link:hover {
  color: #f2b32e;
  text-decoration: underline;
}

.mvs-faq__link svg {
  height: 15px;
  transition: transform 0.3s ease;
  width: 15px;
}

.mvs-faq__link:hover svg {
  transform: translateX(6px);
}

@media (max-width: 767px) {
  /* The product wrapper has 24px side gutters; let this full-width asset span them. */
  .mvs-faq {
    margin-left: -24px;
    width: calc(100% + 48px);
  }
}

@media (min-width: 640px) {
  .mvs-faq__inner {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .mvs-faq__inner {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (min-width: 901px) {
  .mvs-faq__inner {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .mvs-faq .mvs-faq__image {
    max-width: 55%;
  }
}

@media (min-width: 1024px) {
  .mvs-faq__inner {
    padding-top: 0;
    padding-bottom: 96px;
  }

  .mvs-faq__layout {
    gap: 64px;
    grid-template-areas: "heading heading" "questions image";
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mvs-faq__header {
    margin: 8px 0 -4px;
  }

  .mvs-faq__image-wrap {
    align-self: start;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mvs-faq *,
  .mvs-faq *::before,
  .mvs-faq *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
