/* GivFlow Docs — light, rounded, soft gradient. Not dark. */

:root {
  --gf-blue: #2575fc;
  --gf-purple: #6a11cb;
  --gf-grad: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  --gf-wash: linear-gradient(135deg, #eef2ff 0%, #e8f4ff 55%, #f7f5ff 100%);
  --gf-text: #1c2333;
  --gf-muted: #5c6578;
  --gf-line: #e6eaf2;
  --gf-card: #ffffff;
  --gf-page: #f4f6fb;
  --gf-radius: 16px;
}

body {
  background: var(--gf-page);
  color: var(--gf-text);
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Search banner — light wash, not a dark hero */
#docsSearch {
  background: var(--gf-wash);
  border-bottom: none;
  padding: 48px 20px 40px;
}

#docsSearch h1 {
  color: var(--gf-text);
  font-weight: 650;
  letter-spacing: -0.02em;
}

#searchBar .search-query {
  background: #fff;
  border: 1px solid var(--gf-line);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 117, 252, 0.08);
  color: var(--gf-text);
  padding: 12px 20px;
}

#searchBar button {
  background: var(--gf-grad);
  border: none;
  border-radius: 999px;
  color: #fff;
}

#searchBar button:hover {
  filter: brightness(1.05);
  color: #fff;
}

/* Category cards */
.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.category-list .category {
  display: block;
  background: var(--gf-card);
  border: 1px solid var(--gf-line);
  border-radius: var(--gf-radius);
  box-shadow: 0 6px 18px rgba(28, 35, 51, 0.05);
  padding: 22px 22px 18px;
  text-decoration: none;
  color: var(--gf-text);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.category-list .category:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 117, 252, 0.12);
  border-color: #cfd9ff;
}

.category-list .category h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 650;
}

.category-list .category p {
  color: var(--gf-muted);
  margin: 0;
  line-height: 1.45;
}

.category-list .category .article-count {
  margin-top: 12px;
  font-size: 12px;
  color: #8a93a6;
}

/* Article pages */
.contentWrapper img,
.article img,
#contentArea img {
  border-radius: 12px;
}

/* Help Scout callouts */
.callout,
[class*="callout"] {
  border-radius: 12px !important;
}

.articleFoot time.lu {
  color: var(--gf-muted);
}

/* Keep the existing white logo readable: gradient nav, not a white bar */
#mainNav.navbar,
#mainNav .navbar-inner {
  background: var(--gf-grad);
  border: none;
  box-shadow: none;
}
#mainNav .brand img {
  height: 40px;
  width: auto;
}

/* Contact / nav links on the gradient bar */
#mainNav .nav > li > a,
#mainNav .nav > li > a:hover,
#contact a,
#contactMobile a {
  color: #fff !important;
}

#contentArea.container-fluid {
  max-width: 1100px;
  margin: 28px auto 60px;
}

.category-list .category {
  float: none;
  width: auto;
  margin: 0;
}

#fullArticle {
  color: var(--gf-text);
}

.callout-blue {
  border-radius: 12px;
}
