/* Public FAQ and the closing call to action. */
.faq-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
}

.faq-list { min-width: 0; }

.faq-item, .post-faq > details {
  border-bottom: 1px solid var(--border, #e5e7eb);
}

.faq-item__question, .post-faq > details > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: var(--text, #050a32);
  font: 600 16px/1.65 Onest, system-ui, sans-serif;
  list-style: none;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.faq-item__question::-webkit-details-marker, .post-faq > details > summary::-webkit-details-marker {
  display: none;
}

.faq-item__question::after, .post-faq > details > summary::after {
  content: "";
  flex: 0 0 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234EA0D2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform .25s ease;
}

.faq-item[open] > .faq-item__question::after, .post-faq > details[open] > summary::after {
  transform: rotate(180deg);
}

.faq-item__question:focus-visible, .post-faq > details > summary:focus-visible {
  outline: 2px solid var(--public-deep, #2c74a3);
  outline-offset: 2px;
  border-radius: 8px;
}

.faq-item__answer, .post-faq > details > p {
  margin: 0 0 16px;
  padding: 14px 16px 16px;
  border-radius: 12px;
  background: #f2f7fd;
  color: var(--text-secondary, #747986);
  font: 400 15px/1.6 Onest, system-ui, sans-serif;
  overflow-wrap: anywhere;
}

.post-content .faq-item__answer > :last-child { margin-bottom: 0; }
.post-faq { margin: 4px 0 32px; }

.public-faq__title, .cta-plashka .section__title {
  font: 600 clamp(26px, 3.8vw, 44px)/1.15 Onest, system-ui, sans-serif;
  letter-spacing: -.02em;
}

.public-faq__title {
  margin: 0 0 30px;
  color: var(--text, #050a32);
}

.cta-plashka {
  padding: 72px 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1c1f26, #2e2654 50%, #4ea0d2);
  box-shadow: 0 24px 60px rgba(28, 31, 38, .25);
  color: #fff;
  text-align: center;
}

.cta-plashka .section__title {
  margin: 0 0 14px;
  color: inherit;
  text-align: center;
}

.cta-plashka .section__subtitle {
  margin: 0 auto 30px;
  color: inherit;
  font: 400 clamp(15px, 1.4vw, 18px)/1.5 Onest, system-ui, sans-serif;
  text-align: center;
}

.cta-plashka .btn--white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 14px 32px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: #4ea0d2;
  font: 600 17px/1.6 Onest, system-ui, sans-serif;
  text-decoration: none;
  white-space: normal;
  transition: color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.cta-plashka .btn--large { padding: 18px 40px; font-size: 18px; }
.cta-plashka--logo .section__subtitle { max-width: 62ch; }
.cta-plashka--logo .btn--white { color: var(--public-deep); }
.cta-plashka .btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}
.cta-plashka .btn--white:active { transform: translateY(0); }
.cta-plashka .btn--white:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

@media (max-width: 768px) {
  .faq-cols { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .public-faq__title, .cta-plashka .section__title { font-size: clamp(24px, 3.4vw, 40px); }
  .cta-plashka { padding: 48px 24px; border-radius: 16px; }
  .cta-plashka .btn--large { padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item__question::after, .post-faq > details > summary::after, .cta-plashka .btn--white {
    transition: none;
  }
  .cta-plashka .btn--white:hover { transform: none; }
}
