/**
 * HT Mega 2026 — Stats / Counter Widget
 * File: assets/css/widgets/htm25-stats.css
 *
 * BEM component: .htm25-stats
 * Requires htm25-tokens.css (design token system)
 * Zero hardcoded colours — all values via var(--htm25-*)
 */

/* =========================================================
   SECTION WRAPPER
   ========================================================= */
.htm25-stats {
  position: relative;
  overflow: hidden;
  padding-block: var(--htm25-section-py);
  padding-inline: var(--htm25-section-px);
  background-color: var(--htm25-bg-section);
}

/* ── Background decoration (glass + aurora) ── */
.htm25-stats__bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.htm25-stats__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: htm25-stblob-drift 20s ease-in-out infinite alternate;
}

.htm25-stats__blob--1 {
  width: 50vw;
  height: 40vw;
  max-width: 720px;
  max-height: 560px;
  top: -20%;
  right: -5%;
  background: radial-gradient(circle, var(--htm25-accent-primary) 0%, transparent 70%);
  animation-delay: 0s;
}

.htm25-stats__blob--2 {
  width: 40vw;
  height: 30vw;
  max-width: 600px;
  max-height: 440px;
  bottom: -15%;
  left: -5%;
  background: radial-gradient(circle, var(--htm25-accent-secondary, var(--htm25-accent-primary)) 0%, transparent 70%);
  animation-delay: -9s;
}

@keyframes htm25-stblob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-3%, 5%) scale(1.07); }
  100% { transform: translate(2%, -3%) scale(0.96); }
}


/* =========================================================
   INNER WRAPPER
   ========================================================= */
.htm25-stats__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--htm25-container-xl);
  margin-inline: auto;
}

/* =========================================================
   SECTION HEADER (optional — Grid / Bento layouts)
   ========================================================= */
.htm25-stats__header {
  text-align: center;
  margin-bottom: var(--htm25-space-12);
}

.htm25-stats .htm25-stats__section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--htm25-space-2);
  font-size: var(--htm25-text-xs);
  font-weight: var(--htm25-weight-semibold);
  letter-spacing: var(--htm25-tracking-wider);
  text-transform: uppercase;
  color: var(--htm25-section-label-color, var(--htm25-accent-primary));
  margin-bottom: var(--htm25-space-4);
}

.htm25-stats .htm25-stats__headline {
    white-space: pre-line;

  font-family: var(--htm25-font-heading);
  font-size: var(--htm25-text-4xl);
  font-weight: var(--htm25-weight-heading, var(--htm25-weight-bold));
  line-height: var(--htm25-leading-heading, var(--htm25-leading-tight));
  letter-spacing: var(--htm25-tracking-heading, var(--htm25-tracking-tight));
  color: var(--htm25-section-title-color, var(--htm25-text-heading));
  margin-top: 0;
  margin-bottom: var(--htm25-space-5);
}

/* Base — always clip to text so Elementor gradient/color controls render as text, not a box */
.htm25-stats .htm25-stats__headline-accent {
  background-color: var(--htm25-accent-primary);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Glass + Aurora: gradient text */
.htm25-style--glass .htm25-stats__headline-accent,
.htm25-style--aurora .htm25-stats__headline-accent {
  background-color: transparent;
  background-image: var(--htm25-gradient-text, var(--htm25-gradient-btn));
}

/* Neo: black accent text (readable on neo bg); user gradient clips to text same as other styles */
.htm25-style--neo .htm25-stats__headline-accent {
  background-color: var(--htm25-swatch-black, #000);
  background-image: none;
}

.htm25-stats .htm25-stats__description {
  font-size: var(--htm25-text-lg);
  line-height: var(--htm25-leading-normal);
  color: var(--htm25-section-body-color, var(--htm25-text-muted));
  max-width: 52ch;
  margin-inline: auto;
  margin-top: 0;
  margin-bottom: 0;
}

/* =========================================================
   GRID — shared across layouts
   ========================================================= */
.htm25-stats__grid {
  display: grid;
  gap: var(--htm25-space-6);
}

/* ─── ROW layout — all items in one horizontal strip ─── */
.htm25-stats--row .htm25-stats__grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  border: var(--htm25-border-width) var(--htm25-border-style) var(--htm25-border-color);
  border-radius: var(--htm25-radius-card);
  overflow: hidden;
  background-color: var(--htm25-bg-card);
  box-shadow: var(--htm25-shadow-card);
}

.htm25-style--glass .htm25-stats--row .htm25-stats__grid,
.htm25-style--aurora .htm25-stats--row .htm25-stats__grid {
  background: var(--htm25-glass-bg, var(--htm25-bg-card));
  -webkit-backdrop-filter: var(--htm25-glass-blur, none);
          backdrop-filter: var(--htm25-glass-blur, none);
}

.htm25-style--neo .htm25-stats--row .htm25-stats__grid {
  border-width: var(--htm25-border-width-thick, 3px);
  box-shadow: var(--htm25-shadow-card);
  border-radius: 0;
}

/* ─── GRID layout — card-based ─── */
.htm25-stats--grid .htm25-stats__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.htm25-stats--grid .htm25-stats__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.htm25-stats--grid .htm25-stats__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ─── BENTO layout — first item spans 2 cols ─── */
.htm25-stats--bento .htm25-stats__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.htm25-stats--bento .htm25-stats__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.htm25-stats--bento .htm25-stats__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

.htm25-stats--bento .htm25-stats__item--featured {
  grid-column: span 2;
}

/* =========================================================
   STAT ITEM — shared base
   ========================================================= */
.htm25-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: var(--htm25-space-3);
  padding: var(--htm25-space-8) var(--htm25-space-6);
  position: relative;
}

/* ─── ROW item: vertical divider between items ─── */
.htm25-stats--row .htm25-stats__item {
  padding: var(--htm25-space-10) var(--htm25-space-8);
}

.htm25-stats__item-divider {
  display: none;
}

.htm25-stats--row .htm25-stats__item-divider {
  display: block;
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: var(--htm25-divider-width);
  background-color: var(--htm25-divider-color);
}

/* Hide divider on last child */
.htm25-stats--row .htm25-stats__item:last-child .htm25-stats__item-divider {
  display: none;
}

/* ─── GRID / BENTO item: card style ─── */
.htm25-stats--grid .htm25-stats__item,
.htm25-stats--bento .htm25-stats__item {
  background-color: var(--htm25-bg-card);
  border: var(--htm25-border-width) var(--htm25-border-style) var(--htm25-border-color);
  border-radius: var(--htm25-radius-card);
  box-shadow: var(--htm25-shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.htm25-stats--grid .htm25-stats__item:hover,
.htm25-stats--bento .htm25-stats__item:hover {
  box-shadow: var(--htm25-shadow-card-hover);
  transform: translateY(-2px);
}

/* Glass / Aurora card backgrounds */
.htm25-style--glass .htm25-stats--grid .htm25-stats__item,
.htm25-style--glass .htm25-stats--bento .htm25-stats__item,
.htm25-style--aurora .htm25-stats--grid .htm25-stats__item,
.htm25-style--aurora .htm25-stats--bento .htm25-stats__item {
  background: var(--htm25-glass-bg, var(--htm25-bg-card));
  -webkit-backdrop-filter: var(--htm25-glass-blur, none);
          backdrop-filter: var(--htm25-glass-blur, none);
}

.htm25-style--glass .htm25-stats--grid .htm25-stats__item:hover,
.htm25-style--glass .htm25-stats--bento .htm25-stats__item:hover,
.htm25-style--aurora .htm25-stats--grid .htm25-stats__item:hover,
.htm25-style--aurora .htm25-stats--bento .htm25-stats__item:hover {
  background: var(--htm25-glass-bg-hover, var(--htm25-bg-card-alt));
}

/* Neo card */
.htm25-style--neo .htm25-stats--grid .htm25-stats__item,
.htm25-style--neo .htm25-stats--bento .htm25-stats__item {
  border-width: var(--htm25-border-width-thick, 3px);
  border-radius: 0;
  box-shadow: var(--htm25-shadow-card);
}

.htm25-style--neo .htm25-stats--grid .htm25-stats__item:hover,
.htm25-style--neo .htm25-stats--bento .htm25-stats__item:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--htm25-shadow-card-hover);
}

/* ─── Featured item (bento first) ─── */
.htm25-stats--bento .htm25-stats__item--featured {
  background-color: var(--htm25-accent-primary-lt, var(--htm25-bg-card));
  border-color: var(--htm25-accent-primary);
}

.htm25-style--dark .htm25-stats--bento .htm25-stats__item--featured {
  background-color: var(--htm25-accent-primary-lt);
  border-color: var(--htm25-accent-primary);
}

.htm25-style--glass .htm25-stats--bento .htm25-stats__item--featured,
.htm25-style--aurora .htm25-stats--bento .htm25-stats__item--featured {
  background: var(--htm25-accent-primary-lt, rgba(255,255,255,0.08));
  box-shadow: var(--htm25-shadow-card),
              0 0 32px var(--htm25-accent-glow, var(--htm25-accent-primary-lt));
}

.htm25-style--neo .htm25-stats--bento .htm25-stats__item--featured {
  background-color: var(--htm25-swatch-yellow);
  border-color: var(--htm25-swatch-black, #000);
  box-shadow: 6px 6px 0 var(--htm25-swatch-black, #000);
}

/* Featured item enlarged number */
.htm25-stats--bento .htm25-stats__item--featured .htm25-stats__item-number {
  font-size: var(--htm25-text-5xl);
}

.htm25-stats--bento .htm25-stats__item--featured .htm25-stats__item-prefix,
.htm25-stats--bento .htm25-stats__item--featured .htm25-stats__item-suffix {
  font-size: var(--htm25-text-3xl);
}

/* =========================================================
   ICON
   ========================================================= */
.htm25-stats__item-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: var(--htm25-radius-icon, var(--htm25-radius-md));
  background-color: var(--htm25-accent-primary-lt, var(--htm25-bg-subtle));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: var(--htm25-space-2);
}

.htm25-stats__item-icon {
  font-size: var(--htm25-text-lg);
  color: var(--htm25-accent-primary);
  line-height: 1;
}

.htm25-style--neo .htm25-stats__item-icon-wrap {
  border: 2px solid var(--htm25-swatch-black, #000);
  border-radius: 0;
  background-color: var(--htm25-swatch-yellow);
}
.htm25-style--neo.htm25-stats .htm25-stats__item-icon,
.htm25-style--neo.htm25-stats .htm25-stats__item-icon svg,
.htm25-style--neo.htm25-stats .htm25-stats__item-icon i {
  color: #000000;
}
.htm25-style--neo.htm25-stats .htm25-stats__item-icon svg path {
  fill: #000000;
}

/* =========================================================
   VALUE ROW (prefix + number + suffix)
   ========================================================= */
.htm25-stats__item-value-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--htm25-space-1);
  line-height: var(--htm25-leading-tight);
}

.htm25-stats__item-number {
  font-family: var(--htm25-font-heading);
  font-size: var(--htm25-text-4xl);
  font-weight: var(--htm25-weight-black, var(--htm25-weight-bold));
  letter-spacing: var(--htm25-tracking-tight);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  /* Always clip so Elementor gradient control renders as text gradient, not a box */
  background-color: var(--htm25-text-heading);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: background-color 0.2s ease;
}

/* Style-specific number colours */
.htm25-style--dark .htm25-stats__item-number {
  background-color: var(--htm25-accent-primary);
}

.htm25-style--glass .htm25-stats__item-number,
.htm25-style--aurora .htm25-stats__item-number {
  background-image: var(--htm25-gradient-text, var(--htm25-gradient-btn));
  background-color: transparent;
}

.htm25-style--neo .htm25-stats__item-number {
  font-size: var(--htm25-text-4xl);
  background-color: var(--htm25-text-heading);
}

.htm25-stats__item-prefix,
.htm25-stats__item-suffix {
  font-family: var(--htm25-font-heading);
  font-size: var(--htm25-text-2xl);
  font-weight: var(--htm25-weight-bold);
  color: var(--htm25-accent-primary);
  line-height: 1;
  align-self: flex-end;
  padding-bottom: 0.1em;
}

.htm25-style--glass .htm25-stats__item-prefix,
.htm25-style--glass .htm25-stats__item-suffix,
.htm25-style--aurora .htm25-stats__item-prefix,
.htm25-style--aurora .htm25-stats__item-suffix {
  color: var(--htm25-text-muted);
}

.htm25-style--neo .htm25-stats__item-prefix,
.htm25-style--neo .htm25-stats__item-suffix {
  color: var(--htm25-text-heading);
}

/* =========================================================
   LABEL + DESCRIPTION
   ========================================================= */
.htm25-stats .htm25-stats__item-label {
  font-family: var(--htm25-font-body);
  font-size: var(--htm25-text-sm);
  font-weight: var(--htm25-weight-semibold);
  color: var(--htm25-text-body);
  letter-spacing: var(--htm25-tracking-wide);
  text-transform: uppercase;
  margin: 0;
  line-height: var(--htm25-leading-snug);
}

.htm25-style--dark .htm25-stats__item-label {
  color: var(--htm25-text-muted);
}

.htm25-style--neo .htm25-stats--bento .htm25-stats__item--featured .htm25-stats__item-label {
  color: var(--htm25-text-heading);
}

.htm25-stats .htm25-stats__item-description {
  font-size: var(--htm25-text-xs);
  color: var(--htm25-text-muted);
  line-height: var(--htm25-leading-normal);
  margin: 0;
}

/* =========================================================
   ROW LAYOUT — hover accent line on items
   ========================================================= */
.htm25-stats--row .htm25-stats__item::before {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--htm25-accent-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--htm25-duration-normal) var(--htm25-ease-out);
}

.htm25-stats--row .htm25-stats__item:hover::before {
  transform: scaleX(1);
}

.htm25-style--neo .htm25-stats--row .htm25-stats__item::before {
  height: 4px;
  background: var(--htm25-swatch-yellow);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Row layout: stack at mobile */
@media (max-width: 768px) {
  .htm25-stats--row .htm25-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Re-show dividers as bottom borders in 2-col row */
  .htm25-stats--row .htm25-stats__item-divider {
    display: block;
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: var(--htm25-divider-width);
    background-color: var(--htm25-divider-color);
  }

  /* Hide right-column divider */
  .htm25-stats--row .htm25-stats__item:nth-child(even) .htm25-stats__item-divider {
    display: none;
  }
}

/* Grid/Bento: 4-col → 2-col at 1100px */
@media (max-width: 1100px) {
  .htm25-stats--grid .htm25-stats__grid--cols-4,
  .htm25-stats--bento .htm25-stats__grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .htm25-stats--bento .htm25-stats__grid--cols-4 .htm25-stats__item--featured {
    grid-column: span 2;
  }
}

/* Grid/Bento: 3-col → 2-col at 900px, bento featured still spans 2 */
@media (max-width: 900px) {
  .htm25-stats--grid .htm25-stats__grid--cols-3,
  .htm25-stats--bento .htm25-stats__grid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .htm25-stats--bento .htm25-stats__grid--cols-3 .htm25-stats__item--featured {
    grid-column: span 2;
  }
}

/* All → 1-col at 480px */
@media (max-width: 480px) {
  .htm25-stats--row .htm25-stats__grid {
    grid-template-columns: 1fr;
  }

  .htm25-stats--row .htm25-stats__item-divider {
    display: none;
  }

  .htm25-stats--row .htm25-stats__item::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: var(--htm25-divider-width);
    background-color: var(--htm25-divider-color);
  }

  .htm25-stats--grid .htm25-stats__grid--cols-2,
  .htm25-stats--grid .htm25-stats__grid--cols-3,
  .htm25-stats--grid .htm25-stats__grid--cols-4,
  .htm25-stats--bento .htm25-stats__grid--cols-2,
  .htm25-stats--bento .htm25-stats__grid--cols-3,
  .htm25-stats--bento .htm25-stats__grid--cols-4 {
    grid-template-columns: 1fr;
  }

  .htm25-stats--bento .htm25-stats__item--featured {
    grid-column: span 1;
  }

  .htm25-stats--bento .htm25-stats__item--featured .htm25-stats__item-number {
    font-size: var(--htm25-text-4xl);
  }

  .htm25-stats--bento .htm25-stats__item--featured .htm25-stats__item-prefix,
  .htm25-stats--bento .htm25-stats__item--featured .htm25-stats__item-suffix {
    font-size: var(--htm25-text-2xl);
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .htm25-stats__blob {
    animation: none;
  }

  .htm25-stats--grid .htm25-stats__item,
  .htm25-stats--bento .htm25-stats__item {
    transition: none;
  }

  .htm25-stats--grid .htm25-stats__item:hover,
  .htm25-stats--bento .htm25-stats__item:hover {
    transform: none;
  }

  .htm25-stats--row .htm25-stats__item::before {
    transition: none;
  }

  /* Number count-up is disabled via JS when prefers-reduced-motion is set */
}
/**
 * HT Mega 2026 — Testimonials Widget
 * File: assets/css/widgets/htm25-testimonials.css
 *
 * BEM component: .htm25-testimonials
 * Requires htm25-tokens.css (design token system)
 * Zero hardcoded colours — all values via var(--htm25-*)
 */

/* =========================================================
   SECTION WRAPPER
   ========================================================= */
.htm25-testimonials {
  position: relative;
  overflow: hidden;
  padding-block: var(--htm25-section-py);
  padding-inline: var(--htm25-section-px);
  background-color: var(--htm25-bg-section);
}

/* ── Background decoration (glass + aurora) ── */
.htm25-testimonials__bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.htm25-testimonials__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: htm25-tmblob-drift 18s ease-in-out infinite alternate;
}

.htm25-testimonials__blob--1 {
  width: 55vw;
  height: 40vw;
  max-width: 800px;
  max-height: 580px;
  top: -15%;
  left: -10%;
  background: radial-gradient(circle, var(--htm25-accent-primary) 0%, transparent 70%);
  animation-delay: 0s;
}

.htm25-testimonials__blob--2 {
  width: 45vw;
  height: 35vw;
  max-width: 680px;
  max-height: 480px;
  bottom: -15%;
  right: -8%;
  background: radial-gradient(circle, var(--htm25-accent-secondary, var(--htm25-accent-primary)) 0%, transparent 70%);
  animation-delay: -7s;
}

@keyframes htm25-tmblob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(3%, 4%) scale(1.06); }
  100% { transform: translate(-2%, 2%) scale(0.97); }
}


/* =========================================================
   INNER WRAPPER
   ========================================================= */
.htm25-testimonials__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--htm25-container-xl);
  margin-inline: auto;
}

/* =========================================================
   SECTION HEADER
   ========================================================= */
.htm25-testimonials__header {
  text-align: center;
  margin-bottom: var(--htm25-space-12);
}

.htm25-testimonials .htm25-testimonials__section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--htm25-space-2);
  font-size: var(--htm25-text-xs);
  font-weight: var(--htm25-weight-semibold);
  letter-spacing: var(--htm25-tracking-wider);
  text-transform: uppercase;
  color: var(--htm25-section-label-color, var(--htm25-accent-primary));
  margin-bottom: var(--htm25-space-4);
}

.htm25-testimonials .htm25-testimonials__headline {
    white-space: pre-line;

  font-family: var(--htm25-font-heading);
  font-size: var(--htm25-text-4xl);
  font-weight: var(--htm25-weight-heading, var(--htm25-weight-bold));
  line-height: var(--htm25-leading-heading, var(--htm25-leading-tight));
  letter-spacing: var(--htm25-tracking-heading, var(--htm25-tracking-tight));
  color: var(--htm25-section-title-color, var(--htm25-text-heading));
  margin-top: 0;
  margin-bottom: var(--htm25-space-5);
}

/* Base — always clip to text so Elementor gradient/color controls render as text, not a box */
.htm25-testimonials .htm25-testimonials__headline-accent {
  background-color: var(--htm25-accent-primary);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Glass + Aurora: gradient text */
.htm25-style--glass .htm25-testimonials__headline-accent,
.htm25-style--aurora .htm25-testimonials__headline-accent {
  background-color: transparent;
  background-image: var(--htm25-gradient-text, var(--htm25-gradient-btn));
}

.htm25-testimonials .htm25-testimonials__description {
  font-size: var(--htm25-text-lg);
  line-height: var(--htm25-leading-normal);
  color: var(--htm25-section-body-color, var(--htm25-text-muted));
  max-width: 56ch;
  margin-inline: auto;
  margin-top: 0;
  margin-bottom: 0;
}

/* =========================================================
   GRID
   ========================================================= */
.htm25-testimonials__grid {
  display: grid;
  gap: var(--htm25-space-6);
  align-items: start;
}

/* Grid layout: explicit columns */
.htm25-testimonials--grid .htm25-testimonials__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.htm25-testimonials--grid .htm25-testimonials__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.htm25-testimonials--grid .htm25-testimonials__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Masonry layout: CSS multi-column */
.htm25-testimonials--masonry .htm25-testimonials__grid {
  display: block;
}
.htm25-testimonials--masonry .htm25-testimonials__grid--cols-2 { column-count: 2; column-gap: var(--htm25-space-6); }
.htm25-testimonials--masonry .htm25-testimonials__grid--cols-3 { column-count: 3; column-gap: var(--htm25-space-6); }
.htm25-testimonials--masonry .htm25-testimonials__grid--cols-4 { column-count: 4; column-gap: var(--htm25-space-6); }

.htm25-testimonials--masonry .htm25-testimonials__card {
  break-inside: avoid;
  margin-bottom: var(--htm25-space-6);
}

/* Centered layout: single centered column */
.htm25-testimonials--centered .htm25-testimonials__grid {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin-inline: auto;
}

/* =========================================================
   CARD
   ========================================================= */
.htm25-testimonials__card {
  background-color: var(--htm25-bg-card);
  border: var(--htm25-border-width) var(--htm25-border-style) var(--htm25-border-color);
  border-radius: var(--htm25-radius-card);
  box-shadow: var(--htm25-shadow-card);
  padding: var(--htm25-space-8);
  display: flex;
  flex-direction: column;
  gap: var(--htm25-space-6);
  transition: box-shadow var(--htm25-duration-normal) var(--htm25-ease-out),
              transform var(--htm25-duration-normal) var(--htm25-ease-out);
}

.htm25-testimonials__card:hover {
  box-shadow: var(--htm25-shadow-card-hover);
  transform: translateY(-2px);
}

/* ── Featured card ── */
.htm25-testimonials__card--featured {
  border-color: var(--htm25-accent-primary);
  box-shadow: var(--htm25-shadow-card),
              0 0 0 2px var(--htm25-accent-primary);
}

.htm25-style--glass .htm25-testimonials__card--featured {
  border-color: var(--htm25-border-color-glow, var(--htm25-accent-primary));
  box-shadow: var(--htm25-shadow-card),
              0 0 32px var(--htm25-accent-glow, rgba(120,110,255,0.25));
}

.htm25-style--aurora .htm25-testimonials__card--featured {
  border-color: var(--htm25-accent-primary);
  box-shadow: var(--htm25-shadow-card),
              0 0 40px var(--htm25-accent-glow-pink, rgba(255,60,172,0.25));
}

.htm25-style--dark .htm25-testimonials__card--featured {
  border-color: var(--htm25-accent-primary);
  box-shadow: var(--htm25-shadow-card),
              var(--htm25-shadow-glow-accent);
}

.htm25-style--neo .htm25-testimonials__card--featured {
  background-color: var(--htm25-swatch-yellow);
  box-shadow: 6px 6px 0 var(--htm25-swatch-black, #000);
}

.htm25-style--neo .htm25-testimonials__card--featured:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--htm25-swatch-black, #000);
}

/* ── Glass / Aurora card backgrounds ── */
.htm25-style--glass .htm25-testimonials__card,
.htm25-style--aurora .htm25-testimonials__card {
  background: var(--htm25-glass-bg, var(--htm25-bg-card));
  -webkit-backdrop-filter: var(--htm25-glass-blur, none);
          backdrop-filter: var(--htm25-glass-blur, none);
}

.htm25-style--glass .htm25-testimonials__card:hover,
.htm25-style--aurora .htm25-testimonials__card:hover {
  background: var(--htm25-glass-bg-hover, var(--htm25-bg-card-alt));
}

/* ── Neo card ── */
.htm25-style--neo .htm25-testimonials__card {
  border-width: var(--htm25-border-width-thick, 3px);
  box-shadow: var(--htm25-shadow-card);
}

.htm25-style--neo .htm25-testimonials__card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--htm25-shadow-card-hover);
}

/* =========================================================
   QUOTE SECTION
   ========================================================= */
.htm25-testimonials__card-quote {
  display: flex;
  flex-direction: column;
  gap: var(--htm25-space-4);
  flex: 1;
}

.htm25-testimonials__card-quote-icon {
  color: var(--htm25-accent-primary);
  opacity: 0.25;
  line-height: 0;
}

.htm25-style--dark .htm25-testimonials__card-quote-icon {
  opacity: 0.40;
}

.htm25-style--neo .htm25-testimonials__card-quote-icon {
  opacity: 1;
  color: var(--htm25-swatch-black, #000);
}

.htm25-style--neo .htm25-testimonials__card--featured .htm25-testimonials__card-quote-icon {
  color: var(--htm25-swatch-black, #000);
}

/* ── Star rating ── */
.htm25-testimonials__card-rating {
  display: flex;
  gap: var(--htm25-space-1);
  align-items: center;
}

.htm25-testimonials__star {
  color: var(--htm25-accent-warning, #D97706);
  flex-shrink: 0;
}

.htm25-style--dark .htm25-testimonials__star--filled {
  color: var(--htm25-accent-primary);   /* electric lime in dark mode */
}

.htm25-style--neo .htm25-testimonials__star--filled {
  color: var(--htm25-swatch-orange, #FF6D00);
}

.htm25-testimonials__star--empty {
  opacity: 0.25;
}

/* ── Quote text ── */
.htm25-testimonials .htm25-testimonials__card-text {
  font-family: var(--htm25-font-body);
  font-size: var(--htm25-text-base);
  line-height: var(--htm25-leading-loose);
  color: var(--htm25-text-body);
  margin: 0;
  font-style: italic;
}

.htm25-style--neo .htm25-testimonials__card--featured .htm25-testimonials__card-text {
  color: var(--htm25-text-heading);
}

/* =========================================================
   AUTHOR
   ========================================================= */
.htm25-testimonials__card-author {
  display: flex;
  align-items: center;
  gap: var(--htm25-space-4);
  margin-top: auto;
  padding-top: var(--htm25-space-5);
  border-top: var(--htm25-divider-width) solid var(--htm25-divider-color);
}

/* ── Avatar ── */
.htm25-testimonials__card-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--htm25-radius-full);
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--htm25-border-color);
}

.htm25-testimonials__card-avatar-placeholder {
  width: 48px;
  height: 48px;
  border-radius: var(--htm25-radius-full);
  background-color: var(--htm25-accent-primary-lt, var(--htm25-bg-subtle));
  color: var(--htm25-accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--htm25-font-heading);
  font-size: var(--htm25-text-lg);
  font-weight: var(--htm25-weight-bold);
  flex-shrink: 0;
  border: 2px solid var(--htm25-border-color);
  text-transform: uppercase;
}

.htm25-style--neo .htm25-testimonials__card-avatar,
.htm25-style--neo .htm25-testimonials__card-avatar-placeholder {
  border-width: 3px;
  border-color: var(--htm25-swatch-black, #000);
  border-radius: 0;
}

/* ── Author info ── */
.htm25-testimonials__card-author-info {
  display: flex;
  flex-direction: column;
  gap: var(--htm25-space-1);
  min-width: 0;
}

.htm25-testimonials .htm25-testimonials__card-name {
  font-family: var(--htm25-font-heading);
  font-size: var(--htm25-text-sm);
  font-weight: var(--htm25-weight-semibold);
  color: var(--htm25-text-heading);
  line-height: var(--htm25-leading-tight);
  display: block;
}

.htm25-style--neo .htm25-testimonials__card--featured .htm25-testimonials__card-name {
  color: var(--htm25-text-heading);
}

.htm25-testimonials__card-meta {
  font-size: var(--htm25-text-xs);
  color: var(--htm25-text-muted);
  line-height: var(--htm25-leading-normal);
}

.htm25-testimonials__card-role {
  color: var(--htm25-text-muted);
}

.htm25-testimonials__card-sep {
  color: var(--htm25-text-faint);
  margin-inline: var(--htm25-space-1);
}

.htm25-testimonials__card-company {
  font-weight: var(--htm25-weight-medium);
  color: var(--htm25-accent-primary);
}

.htm25-style--neo .htm25-testimonials__card-company {
  color: var(--htm25-text-heading);
  font-weight: var(--htm25-weight-black, 900);
}

/* =========================================================
   CENTERED LAYOUT OVERRIDES
   ========================================================= */
.htm25-testimonials--centered .htm25-testimonials__card {
  padding: var(--htm25-space-10) var(--htm25-space-12);
}

.htm25-testimonials--centered .htm25-testimonials__card-quote-icon svg {
  width: 56px;
  height: 44px;
}

.htm25-testimonials--centered .htm25-testimonials__card-text {
  font-size: var(--htm25-text-xl);
  line-height: var(--htm25-leading-snug);
  text-align: center;
}

.htm25-testimonials--centered .htm25-testimonials__card-author {
  justify-content: center;
}

.htm25-testimonials--centered .htm25-testimonials__card-quote-icon {
  text-align: center;
}

.htm25-testimonials--centered .htm25-testimonials__card-rating {
  justify-content: center;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* 4-col → 2-col at 1200px */
@media (max-width: 1200px) {
  .htm25-testimonials--grid .htm25-testimonials__grid--cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .htm25-testimonials--masonry .htm25-testimonials__grid--cols-4 {
    column-count: 2;
  }
}

/* 3-col → 2-col at 1024px */
@media (max-width: 1024px) {
  .htm25-testimonials--grid .htm25-testimonials__grid--cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .htm25-testimonials--masonry .htm25-testimonials__grid--cols-3 {
    column-count: 2;
  }
}

/* All → 1-col at 640px */
@media (max-width: 640px) {
  .htm25-testimonials__header {
    margin-bottom: var(--htm25-space-8);
  }

  .htm25-testimonials--grid .htm25-testimonials__grid--cols-2,
  .htm25-testimonials--grid .htm25-testimonials__grid--cols-3,
  .htm25-testimonials--grid .htm25-testimonials__grid--cols-4 {
    grid-template-columns: 1fr;
  }

  .htm25-testimonials--masonry .htm25-testimonials__grid--cols-2,
  .htm25-testimonials--masonry .htm25-testimonials__grid--cols-3,
  .htm25-testimonials--masonry .htm25-testimonials__grid--cols-4 {
    column-count: 1;
  }

  .htm25-testimonials--centered .htm25-testimonials__card {
    padding: var(--htm25-space-8) var(--htm25-space-6);
  }

  .htm25-testimonials--centered .htm25-testimonials__card-text {
    font-size: var(--htm25-text-base);
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .htm25-testimonials__blob {
    animation: none;
  }

  .htm25-testimonials__card,
  .htm25-testimonials__card--featured,
  .htm25-style--neo .htm25-testimonials__card,
  .htm25-style--neo .htm25-testimonials__card--featured {
    transition: none;
  }

  .htm25-testimonials__card:hover,
  .htm25-style--neo .htm25-testimonials__card:hover,
  .htm25-style--neo .htm25-testimonials__card--featured:hover {
    transform: none;
  }
}
/**
 * HT Mega 2026 — FAQ Section Widget
 * File: assets/css/widgets/htm25-faq.css
 *
 * BEM component: .htm25-faq
 * Requires htm25-tokens.css (design token system)
 * Zero hardcoded colours — all values via var(--htm25-*)
 * Uses native <details>/<summary> — no JS required
 */

/* =========================================================
   SECTION WRAPPER
   ========================================================= */
.htm25-faq {
  position: relative;
  overflow: hidden;
  padding-block: var(--htm25-section-py);
  padding-inline: var(--htm25-section-px);
  background-color: var(--htm25-bg-section);
}

/* ── Background decoration (glass + aurora) ── */
.htm25-faq__bg-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.htm25-faq__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: htm25-faqblob-drift 20s ease-in-out infinite alternate;
}

.htm25-faq__blob--1 {
  width: 50vw;
  height: 38vw;
  max-width: 720px;
  max-height: 540px;
  top: -20%;
  left: -5%;
  background: radial-gradient(circle, var(--htm25-accent-primary) 0%, transparent 70%);
  animation-delay: 0s;
}

.htm25-faq__blob--2 {
  width: 40vw;
  height: 32vw;
  max-width: 600px;
  max-height: 460px;
  bottom: -15%;
  right: -8%;
  background: radial-gradient(circle, var(--htm25-accent-secondary, var(--htm25-accent-primary)) 0%, transparent 70%);
  animation-delay: -8s;
}

@keyframes htm25-faqblob-drift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(3%, -4%) scale(1.05); }
  100% { transform: translate(-2%, 3%) scale(0.97); }
}

/* =========================================================
   INNER WRAPPER
   ========================================================= */
.htm25-faq__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--htm25-container-md, 780px);
  margin-inline: auto;
}

/* Grid layout needs wider container */
.htm25-faq--grid .htm25-faq__inner {
  max-width: var(--htm25-container-xl);
}

/* =========================================================
   SECTION HEADER
   ========================================================= */
.htm25-faq__header {
  text-align: center;
  margin-bottom: var(--htm25-space-14);
}

.htm25-faq .htm25-faq__section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--htm25-space-2);
  font-size: var(--htm25-text-xs);
  font-weight: var(--htm25-weight-semibold);
  letter-spacing: var(--htm25-tracking-wider);
  text-transform: uppercase;
  color: var(--htm25-section-label-color, var(--htm25-accent-primary));
  margin-bottom: var(--htm25-space-5);
}

.htm25-faq .htm25-faq__headline {
    white-space: pre-line;

  font-family: var(--htm25-font-heading);
  font-size: var(--htm25-text-4xl);
  font-weight: var(--htm25-weight-heading, var(--htm25-weight-bold));
  line-height: var(--htm25-leading-heading, var(--htm25-leading-tight));
  letter-spacing: var(--htm25-tracking-heading, var(--htm25-tracking-tight));
  color: var(--htm25-section-title-color, var(--htm25-text-heading));
  margin-top: 0;
  margin-bottom: var(--htm25-space-5);
}

/* Base — always clip to text so Elementor gradient/color controls render as text, not a box */
.htm25-faq .htm25-faq__headline-accent {
  background-color: var(--htm25-accent-primary);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Glass + Aurora: gradient text */
.htm25-style--glass .htm25-faq__headline-accent,
.htm25-style--aurora .htm25-faq__headline-accent {
  background-color: transparent;
  background-image: var(--htm25-gradient-text, var(--htm25-gradient-btn));
}

.htm25-faq .htm25-faq__description {
  font-size: var(--htm25-text-lg);
  line-height: var(--htm25-leading-normal);
  color: var(--htm25-section-body-color, var(--htm25-text-muted));
  margin: 0;
  max-width: 56ch;
  margin-inline: auto;
}

/* =========================================================
   FAQ LIST
   ========================================================= */
.htm25-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--htm25-space-8);
}

/* Two-column grid layout */
.htm25-faq--grid .htm25-faq__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--htm25-space-4);
  align-items: start;
}

/* Boxed layout adds gap between cards */
.htm25-faq--boxed .htm25-faq__list {
  gap: var(--htm25-space-4);
}

/* =========================================================
   FAQ ITEM — <details>/<summary> native accordion
   ========================================================= */
.htm25-faq__item {
  border-bottom: var(--htm25-border-width) var(--htm25-border-style) var(--htm25-border-color);
  overflow: hidden;
  transition: background-color 0.2s ease;
}

/* Remove default browser triangle marker */
.htm25-faq__item summary::-webkit-details-marker,
.htm25-faq__item summary::marker {
  display: none;
  content: '';
}

/* ── Summary row ── */
.htm25-faq__item-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--htm25-space-4);
  padding: var(--htm25-space-5) 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
  outline: none;
}

.htm25-faq__item-summary:focus-visible {
  outline: 2px solid var(--htm25-accent-primary);
  outline-offset: 2px;
  border-radius: var(--htm25-radius-sm);
}

.htm25-faq__item-question-wrap {
  display: flex;
  flex-direction: column;
  gap: var(--htm25-space-1);
  flex: 1;
  min-width: 0;
}

.htm25-faq__item-category {
  display: inline-block;
  font-size: var(--htm25-text-xs);
  font-weight: var(--htm25-weight-semibold);
  letter-spacing: var(--htm25-tracking-wider);
  text-transform: uppercase;
  color: var(--htm25-accent-primary);
  background-color: var(--htm25-accent-primary-lt, var(--htm25-bg-subtle));
  padding: 2px var(--htm25-space-2);
  border-radius: var(--htm25-radius-full);
  width: fit-content;
}

.htm25-faq .htm25-faq__item-question {
  font-family: var(--htm25-font-heading);
  font-size: var(--htm25-text-base);
  font-weight: var(--htm25-weight-semibold);
  color: var(--htm25-text-heading);
  line-height: var(--htm25-leading-snug, 1.4);
}

/* ── Chevron icon ── */
.htm25-faq__item-icon {
  flex-shrink: 0;
  color: var(--htm25-text-muted);
  transition: transform 0.2s ease,
              color 0.2s ease;
}

.htm25-faq__item[open] .htm25-faq__item-icon {
  transform: rotate(180deg);
  color: var(--htm25-accent-primary);
}

/* ── Answer body ── */
.htm25-faq__item-body {
  overflow: hidden;
  /* Smooth reveal: height animates from 0 to auto via grid trick */
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

/* Fallback for browsers without grid-template-rows animation (uses max-height) */
@supports not (grid-template-rows: 0fr) {
  .htm25-faq__item-body {
    display: block;
    max-height: 0;
    transition: max-height 0.3s ease;
  }

  .htm25-faq__item[open] .htm25-faq__item-body {
    max-height: 600px;
  }
}

.htm25-faq__item[open] .htm25-faq__item-body {
  grid-template-rows: 1fr;
}

/* The inner div collapses to overflow:hidden when grid row = 0fr */
.htm25-faq__item-body > * {
  overflow: hidden;
}


.htm25-faq .htm25-faq__item-answer {
  font-size: var(--htm25-text-base);
  line-height: var(--htm25-leading-normal);
  color: var(--htm25-section-body-color, var(--htm25-text-muted));
  margin: 0;
  padding-bottom: var(--htm25-space-5);
  padding-right: var(--htm25-space-8);
}

/* =========================================================
   LAYOUT: SIMPLE — divider between items, no card bg
   ========================================================= */
.htm25-faq--simple .htm25-faq__item:first-child {
  border-top: var(--htm25-border-width) var(--htm25-border-style) var(--htm25-border-color);
}

.htm25-faq--simple .htm25-faq__item[open] .htm25-faq__item-question {
  color: var(--htm25-accent-primary);
}

/* =========================================================
   LAYOUT: BOXED — each item in its own card
   ========================================================= */
.htm25-faq--boxed .htm25-faq__item {
  background-color: var(--htm25-bg-card);
  border: var(--htm25-border-width) var(--htm25-border-style) var(--htm25-border-color);
  border-radius: var(--htm25-radius-xl);
}

.htm25-faq--boxed .htm25-faq__item-summary {
  padding: var(--htm25-space-5) var(--htm25-space-6);
}

.htm25-faq--boxed .htm25-faq__item-answer {
  padding-inline: var(--htm25-space-6);
  padding-bottom: var(--htm25-space-6);
}

.htm25-faq--boxed .htm25-faq__item[open] {
  border-color: var(--htm25-accent-primary);
  box-shadow: 0 0 0 1px var(--htm25-accent-primary), 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* =========================================================
   LAYOUT: GRID — two columns
   ========================================================= */
.htm25-faq--grid .htm25-faq__item {
  background-color: var(--htm25-bg-card);
  border: var(--htm25-border-width) var(--htm25-border-style) var(--htm25-border-color);
  border-radius: var(--htm25-radius-xl);
}

.htm25-faq--grid .htm25-faq__item-summary {
  padding: var(--htm25-space-5) var(--htm25-space-6);
}

.htm25-faq--grid .htm25-faq__item-answer {
  padding-inline: var(--htm25-space-6);
  padding-bottom: var(--htm25-space-6);
}

.htm25-faq--grid .htm25-faq__item[open] {
  border-color: var(--htm25-accent-primary);
  box-shadow: 0 0 0 1px var(--htm25-accent-primary);
}

/* =========================================================
   STYLE: BENTO
   ========================================================= */
.htm25-style--bento .htm25-faq--boxed .htm25-faq__item,
.htm25-style--bento .htm25-faq--grid  .htm25-faq__item {
  box-shadow: var(--htm25-shadow-sm);
  transition: box-shadow 0.2s ease,
              border-color 0.2s ease;
}

.htm25-style--bento .htm25-faq--boxed .htm25-faq__item:hover,
.htm25-style--bento .htm25-faq--grid  .htm25-faq__item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

/* =========================================================
   STYLE: GLASS + AURORA — frosted bg
   ========================================================= */
.htm25-faq.htm25-style--glass,
.htm25-faq.htm25-style--aurora {
  background: var(--htm25-gradient-hero);
}

.htm25-style--glass .htm25-faq--boxed .htm25-faq__item,
.htm25-style--glass .htm25-faq--grid  .htm25-faq__item,
.htm25-style--aurora .htm25-faq--boxed .htm25-faq__item,
.htm25-style--aurora .htm25-faq--grid  .htm25-faq__item {
  background: var(--htm25-glass-bg, var(--htm25-bg-card));
  -webkit-backdrop-filter: var(--htm25-glass-blur, none);
          backdrop-filter: var(--htm25-glass-blur, none);
}

/* =========================================================
   STYLE: NEO-BRUTALIST
   Dual selectors on every layout rule:
     descendant (space)  = FSE block  (<div class="htm25-style--neo"><section class="htm25-faq--*">)
     combined   (no spc) = Elementor  (<section class="htm25-faq htm25-style--neo htm25-faq--*">)
   ========================================================= */

/* Simple layout: full card treatment (all 4 sides border + offset shadow) */
.htm25-style--neo .htm25-faq--simple .htm25-faq__item,
.htm25-style--neo.htm25-faq--simple  .htm25-faq__item {
  border: 3px solid var(--htm25-border-color);
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--htm25-border-color);
  margin-bottom: var(--htm25-space-3);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

/* Override the first-child top-border that simple layout adds (already have full border) */
.htm25-style--neo .htm25-faq--simple .htm25-faq__item:first-child,
.htm25-style--neo.htm25-faq--simple  .htm25-faq__item:first-child {
  border-top: 3px solid var(--htm25-border-color);
}

/* Simple: last item no bottom margin */
.htm25-style--neo .htm25-faq--simple .htm25-faq__item:last-child,
.htm25-style--neo.htm25-faq--simple  .htm25-faq__item:last-child {
  margin-bottom: 0;
}

/* Simple closed items: hover translate + shadow grow */
.htm25-style--neo .htm25-faq--simple .htm25-faq__item:not([open]):hover,
.htm25-style--neo.htm25-faq--simple  .htm25-faq__item:not([open]):hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--htm25-border-color);
}

/* Simple open item: larger shadow on yellow */
.htm25-style--neo .htm25-faq--simple .htm25-faq__item[open],
.htm25-style--neo.htm25-faq--simple  .htm25-faq__item[open] {
  box-shadow: 4px 4px 0 var(--htm25-border-color);
}

/* Simple layout: horizontal padding so content doesn't touch borders */
.htm25-style--neo .htm25-faq--simple .htm25-faq__item-summary,
.htm25-style--neo.htm25-faq--simple  .htm25-faq__item-summary {
  padding: var(--htm25-space-5) var(--htm25-space-6);
}

.htm25-style--neo .htm25-faq--simple .htm25-faq__item-answer,
.htm25-style--neo.htm25-faq--simple  .htm25-faq__item-answer {
  padding: var(--htm25-space-3) var(--htm25-space-6) var(--htm25-space-5);
}

/* Boxed + Grid: thick borders, sharp corners, offset shadow */
.htm25-style--neo .htm25-faq--boxed  .htm25-faq__item,
.htm25-style--neo.htm25-faq--boxed   .htm25-faq__item,
.htm25-style--neo .htm25-faq--grid   .htm25-faq__item,
.htm25-style--neo.htm25-faq--grid    .htm25-faq__item {
  border-color: var(--htm25-border-color);
  border-width: 3px;
  border-radius: 0;
  box-shadow: 3px 3px 0 var(--htm25-border-color);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Boxed + Grid closed items: hover translate + shadow grow */
.htm25-style--neo .htm25-faq--boxed  .htm25-faq__item:not([open]):hover,
.htm25-style--neo.htm25-faq--boxed   .htm25-faq__item:not([open]):hover,
.htm25-style--neo .htm25-faq--grid   .htm25-faq__item:not([open]):hover,
.htm25-style--neo.htm25-faq--grid    .htm25-faq__item:not([open]):hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--htm25-border-color);
}

/* Closed items: dark pill so it reads on cream bg */
.htm25-style--neo .htm25-faq__item-category {
  background-color: #000;
  color: #fff;
  border-radius: 0;
}

.htm25-style--neo .htm25-faq__item[open] {
  background-color: var(--htm25-swatch-yellow, #fef08a);
}

.htm25-style--neo .htm25-faq__item[open] .htm25-faq__item-question,
.htm25-style--neo .htm25-faq__item[open] .htm25-faq__item-answer {
  color: #000;
}

/* Chevron: force black so it's visible on yellow bg */
.htm25-style--neo .htm25-faq__item[open] .htm25-faq__item-icon {
  color: #000;
}

/* Open item pill: invert back to yellow-on-black */
.htm25-style--neo .htm25-faq__item[open] .htm25-faq__item-category {
  background-color: #000;
  color: var(--htm25-swatch-yellow, #fef08a);
  border: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .htm25-faq--grid .htm25-faq__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .htm25-faq .htm25-faq__headline {
    font-size: var(--htm25-text-3xl);
  }

  .htm25-faq .htm25-faq__item-answer {
    padding-right: 0;
  }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  .htm25-faq__blob {
    animation: none;
  }

  .htm25-faq__item-body,
  .htm25-faq__item-icon {
    transition: none;
  }
}
