/* KarasTechs Resources / Insights section styles.
   Loaded only on /resources and /resources/<slug> pages, on top of
   style2.min.css (design tokens, nav, footer, buttons all come from there). */

.article-body {
  max-width: 760px;
  font-size: 1.04rem;
  line-height: 1.82;
}

.article-body h2 {
  margin-top: 2.2em;
  line-height: 1.25;
}

.article-body h3 {
  margin-top: 1.6em;
  line-height: 1.35;
}

.article-body p,
.article-body li {
  color: var(--text-muted);
}

.article-body a,
.article-byline a {
  color: var(--accent);
}

.article-byline time + time::before {
  content: " ";
}

.article-faq {
  margin-top: 46px;
  margin-bottom: 42px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  padding: 0 18px;
}

.faq-item summary {
  cursor: pointer;
  padding: 17px 0;
  color: var(--text-main);
  font-weight: 700;
}

.faq-item p {
  max-width: 70ch;
  margin: 0 0 18px;
  color: var(--text-muted);
  line-height: 1.7;
}

@media (max-width: 700px) {
  .article-hero.container,
  .article-layout.container,
  .article-faq.container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-body {
    font-size: 1rem;
    line-height: 1.75;
  }

  .article-body h2 {
    font-size: 1.55rem;
    margin-top: 1.9em;
  }

  .article-body h3 {
    font-size: 1.15rem;
  }

  .article-byline {
    align-items: flex-start;
  }

  .article-byline span {
    line-height: 1.55;
  }

  .faq-item {
    padding: 0 14px;
  }
}
