/* ==========================================================================
   cs-faq — native <details>/<summary> accordion (paired with cs-accordion.js)
   --------------------------------------------------------------------------
   Mirrors the checkout / DYP section cards: white card; hover = soft green
   border + shadow + 1px lift; open = green border + deeper shadow; chevron
   rotates + greens; body slides via a grid-rows mechanism. Used on the blog
   long-form FAQ block and the trade-program landing page.

   Markup: <div class="cs-faq" data-cs-accordion data-single="true"> …
             <details class="cs-faq__item" data-cs-accordion-item> …
   ========================================================================== */

.cs-faq {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.cs-faq__head { margin: 0 0 16px; }
.cs-faq__title {
  font-family: "SinaNovaRegular", Times, serif;
  font-weight: 400;
  color: #4e4f4b;
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 4px;
}
.cs-faq__sub {
  font-family: "Gotham", Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #6b6c68;
  margin: 0;
}
.cs-faq__item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
  transition:
    border-color 250ms ease,
    box-shadow 300ms cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cs-faq__item:hover {
  border-color: rgba(99, 119, 58, 0.35);
  box-shadow: 0 6px 22px -10px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.cs-faq__item[open] {
  border-color: #abc578;
  box-shadow: 0 10px 32px -12px rgba(99, 119, 58, 0.25);
}
.cs-faq__q {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-family: "Gotham", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #4e4f4b;
}
.cs-faq__q::-webkit-details-marker { display: none; }
.cs-faq__q::marker { content: ''; }
.cs-faq__q > span { flex: 1 1 auto; min-width: 0; }
.cs-faq__q svg {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: #6b6c68;
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1), color 200ms ease;
}
.cs-faq__item:hover .cs-faq__q svg,
.cs-faq__item[open] .cs-faq__q svg { color: #63773a; }
.cs-faq__item[open] .cs-faq__q svg { transform: rotate(180deg); }
/* Body slide — same grid-rows mechanism as .cs-checkout-section__body. */
.cs-faq__body {
  display: grid;
  grid-template-rows: 0fr;
  grid-template-columns: minmax(0, 1fr);
  transition: grid-template-rows 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cs-faq__item[open] .cs-faq__body { grid-template-rows: 1fr; }
.cs-faq__body-inner { overflow: hidden; min-width: 0; min-height: 0; padding: 0 16px 16px; }
.cs-faq__body-inner > *:first-child { margin-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .cs-faq__body { transition: none; }
}
