/**
 * Amena Wellness — Global FAQ
 *
 * Typography mirrors the site: Marcellus SC headings at #2d2d2d with no
 * text-transform, a .custom_h4 condensed uppercase eyebrow at #5e5952, and
 * body copy at var(--font-18)/2.25rem in #767067. --font-18 / --font-30 are
 * referenced with fallbacks, so the site's own values win where they exist.
 */
:root{
  --aw-bg:          #f8f6f2;   /* section background     */
  --aw-surface:     #ffffff;   /* card background        */
  --aw-heading:     #2d2d2d;   /* h1–h3                  */
  --aw-body:        #767067;   /* p / li                 */
  --aw-eyebrow:     #5e5952;   /* .custom_h4             */
  --aw-accent:      #5e5952;   /* active state           */
  --aw-gold:        #b39b73;   /* icon / rule            */
  --aw-active-bg:   #000000;   /* hover + open bar       */
  --aw-active-ink:  #ffffff;   /* hover + open text      */
  --aw-line:        #e6e1d8;   /* hairlines              */

  --aw-font-heading: "Marcellus SC", Georgia, "Times New Roman", serif;
  --aw-font-cond:    "din-condensed-regular", "Arial Narrow", sans-serif;
  /* Inherits the theme's body face — see "Theme overrides" below. */
  --aw-font-body:    inherit;

  --aw-radius: 12px;
  --aw-max:    1440px;
}

.aw-faq,
.aw-faq *,
.aw-faq *::before,
.aw-faq *::after{ box-sizing:border-box; }

/* Scoped to the section: the theme owns body/typography defaults. */
.aw-faq{
  background:var(--aw-bg);
  color:var(--aw-body);
  -webkit-font-smoothing:antialiased;
}

.aw-faq{ padding:clamp(48px,7vw,96px) 20px; }

.aw-faq__inner{ max-width:var(--aw-max); margin:0 auto; }

/* ---------- Heading ---------- */
.aw-faq__head{
  text-align:center;
  max-width:760px;
  margin:0 auto clamp(36px,5vw,60px);
}

/* ---------------------------------------------------------------
   Theme overrides

   The theme styles headings as:
       h1, h2, h3 { font-family:"Marcellus SC", serif; text-transform:uppercase; }

   Two separate things push the questions into capitals:
     1. text-transform:uppercase, inherited by the button inside the h3.
     2. Marcellus SC is itself a SMALL CAPS face (the "SC"), so lowercase
        letters render as capitals even with text-transform:none.

   So the question button both opts out of the transform and refuses the
   inherited font — font-family:inherit here chains past the h3 up to
   .aw-faq, i.e. the theme's body font. Element+class selectors keep these
   above the theme's h1,h2,h3 rule regardless of stylesheet order.
----------------------------------------------------------------*/
.aw-faq h2.aw-faq__title{
  text-transform:none !important;
}

.aw-faq h3.aw-item__h,
.aw-faq h3.aw-item__h .aw-item__q,
.aw-faq h3.aw-item__h button.aw-item__q{
  font-family:inherit !important;
  text-transform:none !important;
  font-variant:normal !important;
  font-variant-caps:normal !important;
  font-feature-settings:normal !important;
  letter-spacing:normal !important;
}

/* The theme decorates .custom_h4 with its own dash:
       .custom_h4::before { content:""; background:#5e5952; height:2px; width:2.5rem; }
   The eyebrow here already carries a matching rule on each side, so the
   theme's is suppressed inside the FAQ to avoid a third, off-centre dash. */
.aw-faq .custom_h4::before{
  content:none !important;
  display:none !important;
}

/* mirrors the site's .custom_h4 */
.aw-faq .custom_h4{
  font-size:var(--font-30, clamp(1.375rem,2.4vw,1.875rem));
  font-family:var(--aw-font-cond);
  line-height:normal;
  text-transform:uppercase;
  color:var(--aw-eyebrow);
  display:flex;
  align-items:center;
  gap:0.8rem;
  font-weight:400;
  margin-top:0rem;
  margin-bottom:1.5rem;
  justify-content:center;
  letter-spacing:.04em;
}

.aw-faq__rule{
  display:block;
  width:46px;
  height:1px;
  background:var(--aw-gold);
  flex:none;
}

.aw-faq__title{
  font-family:var(--aw-font-heading);
  font-weight:400;
  font-size:clamp(1.9rem,4.4vw,3rem);
  line-height:1.2;
  color:var(--aw-heading);
  margin:0;
}

/* p / li — site spec */
.aw-faq p,
.aw-faq li{
  font-size:var(--font-18, 1.125rem);
  line-height:2.25rem;
  font-weight:400;
  color:var(--aw-body);
}

/* ---------- Two column layout ---------- */
.aw-faq__cols{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(20px,3vw,34px);
  align-items:start;
}

.aw-faq__col{
  display:flex;
  flex-direction:column;
  gap:14px;
}

/* ---------- Accordion item ---------- */
.aw-item{
  background:var(--aw-surface);
  border:1px solid var(--aw-line);
  border-radius:var(--aw-radius);
  overflow:hidden;
  transition:border-color .25s ease, box-shadow .25s ease;
}

.aw-item:hover{ border-color:#d8d1c4; }

.aw-item.is-open{
  border-color:var(--aw-active-bg);
  box-shadow:0 10px 28px -18px rgba(45,45,45,.45);
}

.aw-item__h{ margin:0; }

/* The h3 wrapper keeps the semantics/SEO; the button sets its own font so
   questions stay in the body face rather than Marcellus SC small caps.
   Swap to var(--aw-font-heading) if you'd rather they match h3. */
/* The selectors below are deliberately specific: they have to beat the
   theme's own button styling, which otherwise supplies its own uppercase
   and hover/active background. */
.aw-faq .aw-item h3.aw-item__h button.aw-item__q{
  width:100%;
  margin:0;
  background:transparent !important;
  border:0;
  border-radius:0;
  box-shadow:none;
  cursor:pointer;
  text-align:left;
  text-transform:none;
  letter-spacing:normal;
  font-family:var(--aw-font-body);
  font-size:var(--font-18, 1.125rem);
  font-weight:400;
  line-height:1.55;
  color:var(--aw-heading);
  padding:22px 58px 22px 24px;
  position:relative;
  display:block;
  transition:background-color .25s ease, color .25s ease;
}

/* Hover, keyboard focus and the open question all share one black bar.
   The theme paints its own button hover:
       .button:hover, button:hover, input[type=submit]:hover { background:rgba(241,78,78,.8); }
   so these use element+class selectors to outrank it, and the background
   shorthand to clear any image or gradient rather than only its colour. */
.aw-faq .aw-item h3.aw-item__h button.aw-item__q:hover,
.aw-faq .aw-item h3.aw-item__h button.aw-item__q:focus,
.aw-faq .aw-item h3.aw-item__h button.aw-item__q:active,
.aw-faq .aw-item.is-open h3.aw-item__h button.aw-item__q{
  background:var(--aw-active-bg) !important;
  color:var(--aw-active-ink) !important;
}

.aw-faq .aw-item h3.aw-item__h button.aw-item__q:focus-visible{
  outline:2px solid var(--aw-active-ink);
  outline-offset:-4px;
}

/* plus / minus icon */
.aw-item__icon{
  position:absolute;
  top:50%;
  right:22px;
  width:18px;
  height:18px;
  transform:translateY(-50%);
  pointer-events:none;
}
.aw-item__icon::before,
.aw-item__icon::after{
  content:"";
  position:absolute;
  background:var(--aw-gold);
  border-radius:2px;
  transition:transform .3s ease, opacity .3s ease, background .3s ease;
}
.aw-item__icon::before{ top:8px; left:0; width:18px; height:1.5px; }
.aw-item__icon::after { left:8px; top:0; width:1.5px; height:18px; }

.aw-item.is-open .aw-item__icon::after{ transform:scaleY(0); opacity:0; }

/* Icon inverts with the bar. */
.aw-faq button.aw-item__q:hover .aw-item__icon::before,
.aw-faq button.aw-item__q:hover .aw-item__icon::after,
.aw-faq button.aw-item__q:focus .aw-item__icon::before,
.aw-faq button.aw-item__q:focus .aw-item__icon::after,
.aw-faq .aw-item.is-open .aw-item__icon::before{
  background:var(--aw-active-ink) !important;
}

/* answer panel */
.aw-item__a{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .35s ease;
}
.aw-item.is-open .aw-item__a{ grid-template-rows:1fr; }

.aw-item__a-inner{ overflow:hidden; }

.aw-item__a-inner > div{
  padding:0 24px 24px;
  border-top:1px solid transparent;
}

.aw-item.is-open .aw-item__a-inner > div{
  border-top-color:var(--aw-line);
  padding-top:18px;
}

.aw-item__a p{ margin:0 0 16px; }
.aw-item__a p:last-child{ margin-bottom:0; }

/* ---------- Responsive ---------- */
/* Column stack. */
@media (max-width:860px){
  .aw-faq__cols{ grid-template-columns:1fr; gap:14px; }
  .aw-faq .aw-item h3.aw-item__h button.aw-item__q{ padding:20px 50px 20px 20px; }
  .aw-item__a-inner > div{ padding:0 20px 20px; }
}

/* Matches the theme's own rule at this breakpoint:
       p, li { font-size:15px; line-height:1.6; }
   The question is a button, so it is named here to track the body copy. */
@media only screen and (max-width:1190px){
  .aw-faq p,
  .aw-faq li,
  .aw-faq .aw-item h3.aw-item__h button.aw-item__q{
    font-size:15px;
    line-height:1.6;
  }
}

/* Matches the theme's own rule at this breakpoint:
       .custom_h4 { font-size:20px; gap:10px; } */
@media only screen and (max-width:992px){
  .aw-faq .custom_h4{
    font-size:20px;
    gap:10px;
  }
}

/* Matches the theme's own rule at this breakpoint:
       h2 { font-size:21px; } */
@media only screen and (max-width:767px){
  .aw-faq__title{ font-size:21px; }

  .aw-faq{ padding:44px 16px; }
  .aw-faq .aw-item h3.aw-item__h button.aw-item__q{ padding:18px 46px 18px 18px; }
  .aw-item__a-inner > div{ padding:0 18px 18px; }
  .aw-faq__rule{ width:28px; }
}

@media (prefers-reduced-motion:reduce){
  .aw-faq *{ transition:none !important; }
}