/* FAQ dedicated styles */
.wrap.castio-faq { max-width: 1000px; }
.wrap.castio-faq h1 { font-size: 24px; margin: 10px 0 18px; }

.wrap.castio-faq .castio-faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; align-items: start; }
@media (max-width: 782px) { .wrap.castio-faq .castio-faq-list { grid-template-columns: 1fr; } }

.wrap.castio-faq details { border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.wrap.castio-faq details[open] { box-shadow: 0 2px 8px rgba(0,0,0,.04); }

.wrap.castio-faq summary {
  cursor: pointer;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  position: relative;
  background: #f9fafb;
  border-left: 4px solid #2271b1;
  border-radius: 6px;
}

.wrap.castio-faq summary::-webkit-details-marker { display: none; }
.wrap.castio-faq summary::before {
  content: '▸';
  position: absolute; left: 10px; top: 20px; color: #6b7280;
  transition: transform .15s ease;
}
.wrap.castio-faq details[open] > summary::before { transform: rotate(90deg); }

.wrap.castio-faq .castio-faq-content { padding: 12px 20px 20px 20px; color: #1f2937; font-size: 15.5px; line-height: 1.7; }
.wrap.castio-faq .castio-faq-content ul { margin: 8px 0 0 18px; }
.wrap.castio-faq .castio-faq-content code { background: #f3f4f6; padding: 2px 5px; border-radius: 4px; }
.wrap.castio-faq a { color: #2271b1; text-decoration: none; }
.wrap.castio-faq a:hover { text-decoration: underline; }
