/*
Theme Name: Fin AlpaOne v2
Template: fin
Author: Andrii Khimich
Version: 1.0.0
Description: Light, warm editorial magazine skin for the Fin skeleton theme — inspired by a food-magazine Figma template, rebuilt with this site's own categories and header.
Text Domain: fin
*/

/* Colors here are variables only (--primary-color, --secondary-color,
   --text-color, --bg-color, --surface-color, --border-color, plus shades
   derived from them via color-mix()) — never a hardcoded value. See
   THEME-DEV.md in the parent theme. Fallback values below match the
   defaults functions.php seeds on activation; the Customizer's own inline
   <style> (printed after this file) always wins in practice. */
:root {
  --primary-color: #f2545b;
  --secondary-color: #1b2a4a;
  --text-color: #1f2430;
  --text-muted: #7a8087;
  --bg-color: #ffffff;
  --surface-color: #ffffff;
  --bg-light: #f6f4f1;
  --border-color: #ececec;

  /* Dark sections (footer, promo banners) invert text/bg rather than
     introducing new tokens — same trick as .page__header in v1, just run
     the other direction since this theme's base direction is light. */
  --dark-surface: var(--text-color);
  --dark-text: var(--bg-color);
  --dark-text-muted: color-mix(in srgb, var(--bg-color) 65%, var(--text-color));
}
form {
  position: relative;
}
/* Search form — same rounded input + filled button language as
   .v2-newsletter__inline-form, so search and newsletter signup read as one
   consistent style instead of two unrelated form designs. Covers the
   header overlay search AND the inline form (page-search.php,
   .no-results), since both reuse the same .search__form/.search__input/
   .search__button_submit classes from the parent theme. */
.search__wrapper {
  background-color: var(--surface-color);
  border-top: none;
  border-radius: 16px;
}

.search__title {
  border-bottom-color: var(--border-color);
}

.search__title h3 {
  color: var(--text-color);
}

.search__title p {
  color: var(--text-muted);
}

.search__button_close {
  border-radius: 50%;
  border-color: var(--border-color);
  color: var(--text-muted);
}

.search__button_close:hover {
  background: var(--primary-color);
  color: var(--bg-color);
}

.search__form {
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
}

.search__input {
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  color: var(--text-color);
}

.search__input::placeholder {
  color: var(--text-muted);
  font-style: normal;
}

.search__input:focus {
  background: var(--bg-light);
  border-color: var(--primary-color);
  box-shadow: none;
}

.search__button_submit {
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  background: var(--primary-color);
  color: var(--bg-color);
  border: none;
}

.search__button_submit:hover {
  background: color-mix(in srgb, var(--primary-color) 85%, black);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ─── Podcast Hero (Section 0) — same customizable-overlay/text-color
   functionality as fin-alpaOne_v1's .podcast-hero: an optional background
   photo, a vertical vignette scrim (darker top/bottom, lighter middle)
   mixed from the customizable --hero-overlay-color, and title/subtitle
   text tinted via --hero-text-color. Falls back to this theme's own
   secondary_color (dark navy) when neither is set, so it still looks
   intentional with zero configuration. A floating white panel then holds
   the latest episode player + episode list. ─────────────────────────── */
.v2-podcast-hero {
  position: relative;
  overflow: hidden;
  background-color: var(--secondary-color);
}

.v2-podcast-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.v2-podcast-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--hero-overlay-color, var(--secondary-color)) 70%, transparent) 0%,
    color-mix(in srgb, var(--hero-overlay-color, var(--secondary-color)) 20%, transparent) 50%,
    color-mix(in srgb, var(--hero-overlay-color, var(--secondary-color)) 80%, transparent) 100%
  );
}

.v2-podcast-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 80px 0;
}

.v2-podcast-hero__eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--hero-text-color, var(--bg-color)) 80%, transparent);
  margin-bottom: 14px;
}

.v2-podcast-hero__title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--hero-text-color, var(--bg-color));
  margin: 0 0 16px;
}

.v2-podcast-hero__subtitle {
  font-size: var(--text-md);
  color: color-mix(in srgb, var(--hero-text-color, var(--bg-color)) 85%, transparent);
  max-width: 44ch;
  line-height: 1.6;
  margin: 0 0 28px;
}

.v2-podcast-hero__button {
  display: inline-flex;
  background: var(--bg-color);
  color: var(--secondary-color);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}

.v2-podcast-hero__button:hover {
  background: color-mix(in srgb, var(--bg-color) 90%, var(--secondary-color));
}

.v2-podcast-hero__panel {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 40px color-mix(in srgb, var(--secondary-color) 25%, transparent);
}

.v2-podcast-hero__now-playing {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 12px;
}

.v2-podcast-hero__now-playing-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-color);
}

.v2-podcast-hero__now-playing-title {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
}

.v2-podcast-hero__now-playing-title:hover {
  text-decoration: underline;
}

.v2-podcast-hero__now-playing-guest {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.v2-podcast-hero__list {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.v2-podcast-hero__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v2-podcast-hero__list-title {
  flex: 1;
  min-width: 0;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.v2-podcast-hero__list-title:hover {
  color: var(--primary-color);
}

.v2-podcast-hero__list-item .podcast-player--sm {
  flex-shrink: 0;
}

/* ─── Podcast Player (shared, sm/lg via modifier) — same structure as
   fin-alpaOne_v1's, restyled automatically since it only uses generic
   tokens (surface/border/primary/white/muted), already correct for this
   theme's light palette. ────────────────────────────────────────────── */
.podcast-player {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 999px;
  padding: 8px 20px 8px 8px;
}

.podcast-player__audio {
  display: none;
}

.podcast-player__toggle {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.podcast-player__toggle:hover {
  background: color-mix(in srgb, var(--primary-color) 85%, black);
}

.podcast-player__icon {
  width: 18px;
  height: 18px;
}

.podcast-player__icon-pause {
  display: none;
}

.podcast-player.is-playing .podcast-player__icon-play {
  display: none;
}

.podcast-player.is-playing .podcast-player__icon-pause {
  display: block;
}

.podcast-player__progress {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--border-color);
  cursor: pointer;
  position: relative;
  min-width: 60px;
}

.podcast-player__progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--primary-color);
}

.podcast-player__time {
  flex-shrink: 0;
  font-size: var(--text-xs);
  color: var(--text-muted);
  white-space: nowrap;
  font-weight: 600;
}

.podcast-player--lg {
  padding: 10px 28px 10px 10px;
  gap: 18px;
}

.podcast-player--lg .podcast-player__toggle {
  width: 56px;
  height: 56px;
}

.podcast-player--lg .podcast-player__icon {
  width: 22px;
  height: 22px;
}

.podcast-player--lg .podcast-player__progress {
  height: 8px;
}

.podcast-player--lg .podcast-player__time {
  font-size: var(--text-sm);
}

@media (max-width: 991px) {
  .v2-podcast-hero__inner {
    grid-template-columns: 1fr;
  }
}

/* ─── Archive header (archive.php) — plain light banner by default, or a
   photo hero (same vignette trick as the podcast hero, no customizable
   overlay needed here) when the category has a background image set. ─── */
.v2-archive-header {
  background: var(--bg-light);
  padding: 56px 0;
  text-align: center;
}

.v2-archive-header__title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-color);
  margin: 0;
}

.v2-archive-header__description {
  color: var(--text-muted);
  max-width: 60ch;
  margin: 12px auto 0;
}

.v2-archive-header--has-image {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.v2-archive-header__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.v2-archive-header__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--secondary-color) 55%, transparent) 0%,
    color-mix(in srgb, var(--secondary-color) 80%, transparent) 100%
  );
}

.v2-archive-header--has-image .v2-archive-header__inner {
  position: relative;
  z-index: 1;
}

.v2-archive-header--has-image .v2-archive-header__title {
  color: var(--bg-color);
}

.v2-archive-header--has-image .v2-archive-header__description {
  color: color-mix(in srgb, var(--bg-color) 85%, transparent);
}

/* ─── Single post — same rounded-card visual language as the rest of the
   site (see .v2-card__thumb, .v2-card__badge) instead of the parent's
   plain default look. Pure CSS on the parent's existing classes, no
   markup changes needed. ────────────────────────────────────────────── */
.single .single__image {
  border-radius: 20px;
  border: none;
  overflow: hidden;
}

.single .breadcrumbs {
  color: var(--text-muted);
  border-bottom-color: var(--border-color);
}

.single .breadcrumbs__link {
  color: var(--text-muted);
}

.single .breadcrumbs__link:hover {
  color: var(--primary-color);
}

.single .breadcrumbs__current {
  color: var(--text-color);
}

.single .title-2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.2;
}

.single .single__meta {
  display: flex;
  width: fit-content;
  background: var(--bg-light);
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  margin: 0 auto 40px;
}

.single .single__meta-item {
  color: var(--text-muted);
}

.single .single__meta-item svg {
  display: none;
}

.single .single__meta-item_category {
  background: var(--primary-color);
  border-radius: 999px;
  padding: 4px 14px;
  margin-left: -6px;
}

.single .single__meta-item_category a {
  color: var(--bg-color);
}

.single .single__text {
  color: var(--text-color);
}

/* ─── Section headings — shared across V2's section blocks ──────────────── */
.v2-featured__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.v2-view-all {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
  white-space: nowrap;
}

.v2-view-all:hover {
  text-decoration: underline;
}

/* ─── Post card (shared: grid / featured / list-sm) ─────────────────────── */
.v2-card {
  display: flex;
  flex-direction: column;
}

.v2-card__thumb {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-light);
  aspect-ratio: 4 / 3;
}

.v2-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.v2-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-color);
  color: var(--bg-color);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}

.v2-card__body {
  padding-top: 14px;
}

.v2-card__title {
  font-size: var(--text-md);
  line-height: 1.3;
  margin: 0 0 8px;
}

.v2-card__title a {
  color: var(--text-color);
  text-decoration: none;
}

.v2-card__title a:hover {
  color: var(--primary-color);
}

.v2-card__excerpt {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 10px;
}

.v2-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.v2-card__dot {
  color: var(--border-color);
}

/* Featured variant — larger image, bigger title */
.v2-card--featured .v2-card__thumb {
  aspect-ratio: 16 / 9;
}

.v2-card--featured .v2-card__title {
  font-size: var(--text-xl);
}

/* List-sm variant — small thumbnail beside the text, no badge overlap */
.v2-card--list-sm {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.v2-card--list-sm .v2-card__thumb {
  width: 84px;
  height: 84px;
  aspect-ratio: auto;
  flex-shrink: 0;
}

.v2-card--list-sm .v2-card__badge {
  top: 6px;
  left: 6px;
  padding: 2px 8px;
  font-size: 10px;
}

.v2-card--list-sm .v2-card__body {
  padding-top: 0;
}

.v2-card--list-sm .v2-card__title {
  font-size: var(--text-sm);
  margin-bottom: 4px;
}

/* ─── Section 1: Hero grid ───────────────────────────────────────────────── */
.v2-hero__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ─── Section 2: Newsletter bar ─────────────────────────────────────────── */
.v2-newsletter {
  background: var(--bg-light);
  padding: 36px 0;
}

.v2-newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.v2-newsletter__title {
  font-size: var(--text-lg);
  margin: 0;
}

.v2-newsletter__inline-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.v2-newsletter__input {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: var(--text-sm);
  color: var(--text-color);
  min-width: 180px;
}

.v2-newsletter__input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.v2-newsletter__submit {
  background: var(--primary-color);
  color: var(--bg-color);
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: var(--text-sm);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.v2-newsletter__submit:hover {
  background: color-mix(in srgb, var(--primary-color) 85%, black);
}

/* ─── Section 3: Explore Latest News + sidebar ──────────────────────────── */
.v2-featured__layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* Two direct children only: the featured card, and a .v2-featured__list
   wrapper for the rest — NOT one flat list of cards. A plain 2-column grid
   with implicit auto-placement would wrap the 2nd list-sm item back into
   column 1 underneath the featured card instead of stacking it in column
   2, leaving a blank gap (exactly the bug this structure avoids). */
.v2-featured__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.v2-featured__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.v2-featured__sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.v2-social-widget {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 24px;
}

.v2-social-widget__title {
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
}

.v2-social-widget__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v2-social-widget__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px 14px;
  text-decoration: none;
}

.v2-social-widget__platform {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-color);
}

.v2-social-widget__count {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ─── Section 4: Our Top Categories ─────────────────────────────────────── */
.v2-categories {
  background: var(--bg-light);
  padding: 56px 0;
  text-align: center;
}

.v2-categories__heading h2 {
  margin: 0 0 8px;
}

.v2-categories__heading p {
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin: 0 0 32px;
}

.v2-categories__list {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.v2-categories__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 88px;
}

.v2-categories__thumb {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--surface-color);
  border: 3px solid var(--surface-color);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--text-color) 15%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Oversized + blurred, then clipped by the circle above — sampling only
   real image pixels (never the transparent area past the element's own
   edge) avoids the light "halo" a blurred edge would otherwise show. */
.v2-categories__thumb-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
}

/* Dark scrim so the (light or busy) blurred photo never fights the label
   text sitting on top of it. */
.v2-categories__thumb-scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--secondary-color) 55%, transparent);
}

.v2-categories__name {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
  line-height: 1.25;
  padding: 0 10px;
  color: var(--text-color);
}

.v2-categories__thumb--has-image .v2-categories__name {
  color: var(--bg-color);
}

/* ─── Section 5: Weekly Top Stories ──────────────────────────────────────── */
/* Same two-children structure as .v2-featured__grid — see that comment. */
.v2-weekly__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}

.v2-weekly__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ─── Promo banners (Sections 6 & 8) ─────────────────────────────────────── */
.v2-banner {
  padding: 56px 0;
}

.v2-banner--dark {
  background: var(--dark-surface);
  color: var(--dark-text);
}

.v2-banner--light {
  background: var(--bg-light);
}

.v2-banner__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.v2-banner__inner--reverse {
  flex-direction: row-reverse;
}

.v2-banner__image {
  flex: 1;
  max-width: 360px;
  border-radius: 16px;
  object-fit: cover;
}

.v2-banner__content {
  flex: 1;
}

.v2-banner--dark .v2-banner__title {
  color: var(--dark-text);
}

.v2-banner__title {
  font-size: var(--text-2xl);
  margin: 0 0 12px;
}

.v2-banner--dark .v2-banner__subtitle {
  color: var(--dark-text-muted);
}

.v2-banner__subtitle {
  color: var(--text-muted);
  margin: 0 0 24px;
  line-height: 1.6;
}

.v2-banner__button {
  display: inline-flex;
  background: var(--primary-color);
  color: var(--bg-color);
  border-radius: 8px;
  padding: 14px 28px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: none;
}

.v2-banner--dark .v2-banner__button {
  background: var(--primary-color);
  color: var(--dark-text);
}

.v2-banner__button:hover {
  background: color-mix(in srgb, var(--primary-color) 85%, black);
}

/* ─── Section 7: Latest Articles + Popular sidebar ──────────────────────── */
.v2-articles__layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.v2-articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.v2-popular-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Footer note: no override needed here. The parent's .footer already reads
   background-color: var(--ink) (= var(--text-color)) — since this theme's
   --text-color is dark navy, the footer already renders dark-on-light to
   match the source design automatically, with no extra CSS. */

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .v2-hero__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v2-featured__layout,
  .v2-articles__layout {
    grid-template-columns: 1fr;
  }

  .v2-featured__grid,
  .v2-weekly__grid {
    grid-template-columns: 1fr;
  }

  .v2-articles__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .v2-banner__inner,
  .v2-banner__inner--reverse {
    flex-direction: column;
    text-align: center;
  }

  .v2-banner__image {
    max-width: 100%;
  }
}

@media (max-width: 599px) {
  .v2-hero__grid,
  .v2-articles__grid {
    grid-template-columns: 1fr;
  }

  .v2-newsletter__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .v2-newsletter__inline-form {
    flex-direction: column;
  }
}

.wpcf7-not-valid-tip {
  position: absolute;
  left: 0;
  top: -22px;
  font-size: 12px;
  color: tomato;
  width: 100%;
}
.screen-reader-response,
.hidden-fields-container {
  display: none;
}

.wpcf7-response-output {
  position: absolute;
  font-size: 12px;
  left: 0;
}

/* ─── FAQ accordion (Section 9) ──────────────────────────────────────────── */
.v2-faq__inner {
  max-width: 760px;
}

.v2-faq__heading {
  text-align: center;
  margin-bottom: 40px;
}

.v2-faq__eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.v2-faq__heading h2 {
  margin: 0 0 10px;
}

.v2-faq__heading p {
  color: var(--text-muted);
  margin: 0;
}

.v2-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.v2-faq__item {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.v2-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--text-color);
  cursor: pointer;
}

.v2-faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-color);
  transition: transform 0.2s ease;
}

.v2-faq__icon::before,
.v2-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--bg-color);
  transform: translate(-50%, -50%);
}

.v2-faq__icon::before {
  width: 10px;
  height: 2px;
}

.v2-faq__icon::after {
  width: 2px;
  height: 10px;
}

.v2-faq__item.is-open .v2-faq__icon {
  transform: rotate(45deg);
}

.v2-faq__answer {
  padding: 0 24px 20px;
}

.v2-faq__answer p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
