/* ═══════════════════════════════════════════════════
   FAQ + From the Blog — product pages (index, black, grey, white)
   Reuses CSS variables from styles.css / styles.min.css
   ═══════════════════════════════════════════════════ */

/* ── From the Blog — dark pages ──────────────────── */
.from-blog-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: transparent;
}

.from-blog-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.from-blog-inner .section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.from-blog-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.from-blog-inner .blog-grid {
  padding: 0;
}

.from-blog-cta {
  text-align: center;
  margin-top: 2rem;
}

.from-blog-cta-link {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid var(--primary-color);
  border-radius: 100px;
  color: var(--primary-color);
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.from-blog-cta-link:hover {
  background: rgba(129, 85, 254, 0.12);
}

/* ── From the Blog — white/light page ────────────── */
.from-blog-section.from-blog-light {
  background: #f8f7ff;
}

.from-blog-section.from-blog-light .from-blog-subtitle {
  color: #555;
}

.from-blog-section.from-blog-light .from-blog-cta-link {
  border-color: #8155fe;
  color: #8155fe;
}

.from-blog-section.from-blog-light .from-blog-cta-link:hover {
  background: rgba(129, 85, 254, 0.08);
}

/* ── White-page blog cards ────────────────────────── */
.wblog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.wblog-card {
  background: #fff;
  border: 1px solid rgba(129, 85, 254, 0.2);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.wblog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(129, 85, 254, 0.12);
}

.wblog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.wblog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.wblog-card-tag {
  font-family: "Lato", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8155fe;
  margin-bottom: 0.6rem;
}

.wblog-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.wblog-card-excerpt {
  font-family: "Lato", sans-serif;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1rem;
}

.wblog-card-meta {
  font-family: "Lato", sans-serif;
  font-size: 0.78rem;
  color: #777;
}

/* ── Product page FAQ — dark theme ───────────────── */
.page-faq-section {
  padding: clamp(3rem, 5vw, 4rem) 0;
  background: transparent;
}

.page-faq-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-faq-section h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  text-align: center;
}

.page-faq-section .faq-subtitle {
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 2rem;
}

.page-faq-item {
  border: 0.5px solid rgba(117, 117, 117, 0.35);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: var(--card-bg);
}

.page-faq-item summary {
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-family: "Lato", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.page-faq-item summary::-webkit-details-marker {
  display: none;
}

.page-faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--primary-color);
  flex-shrink: 0;
}

.page-faq-item[open] summary::after {
  content: "−";
}

.page-faq-answer {
  padding: 0 1.4rem 1.2rem;
  font-family: "Lato", sans-serif;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Product page FAQ — light/white theme ────────── */
.page-faq-section.faq-light {
  background: #f8f7ff;
}

.page-faq-section.faq-light h2 {
  color: #111;
}

.page-faq-section.faq-light .faq-subtitle {
  color: #555;
}

.page-faq-section.faq-light .page-faq-item {
  border: 1px solid rgba(129, 85, 254, 0.2);
  background: #fff;
}

.page-faq-section.faq-light .page-faq-item summary {
  color: #111;
}

.page-faq-section.faq-light .page-faq-answer {
  color: #444;
}
