/* BuonaLabs brand overrides for Digest — white background, purple accent */

:root {
  --ghost-accent-color: #3b04ee;
  --buonalabs-brand: #3b04ee;
  --buonalabs-brand-hover: #2f03c4;
  --buonalabs-brand-cyan: #0099ff;
}

html,
body,
.gh-site,
.gh-main,
.gh-outer,
.gh-inner {
  background-color: #ffffff;
  color: var(--color-primary-text, #333);
}

::selection {
  background: rgb(59 4 238 / 25%);
  color: #15171a;
}

a:not([class]) {
  color: var(--buonalabs-brand);
}

a:not([class]):hover {
  color: var(--buonalabs-brand-hover);
}

.gh-section-title,
.gh-card-date,
.gh-article-tag a,
.gh-content a {
  color: var(--buonalabs-brand);
}

.gh-section-title::after,
.gh-section-title span::after {
  background-color: var(--buonalabs-brand);
}

.gh-btn,
.gh-head-btn.gh-btn,
.gh-content .gh-btn,
button.gh-btn-primary {
  --ghost-accent-color: var(--buonalabs-brand);
}

.gh-btn.gh-primary-btn,
.gh-head-btn.gh-btn,
.gh-btn-primary,
a.gh-btn.gh-primary-btn {
  background-color: var(--buonalabs-brand) !important;
  border-color: var(--buonalabs-brand) !important;
  color: #ffffff !important;
}

.gh-btn.gh-primary-btn:hover,
.gh-head-btn.gh-btn:hover,
.gh-btn-primary:hover,
a.gh-btn.gh-primary-btn:hover {
  background-color: var(--buonalabs-brand-hover) !important;
  border-color: var(--buonalabs-brand-hover) !important;
  opacity: 1;
}

.gh-head-menu a:hover,
.gh-head-actions a:hover,
.gh-card-link:hover .gh-card-title {
  color: var(--buonalabs-brand);
}

.gh-content a:hover {
  color: var(--buonalabs-brand-hover);
}

.gh-foot a:hover {
  color: var(--buonalabs-brand);
}

/* Keep Digest light gray sections — no dark inversion */
.gh-latest,
.gh-feature,
.gh-cta,
.gh-content-cta {
  background: linear-gradient(315deg, #f4f2ff, #fafafa) !important;
}

.gh-latest .gh-btn,
.gh-feature .gh-btn,
.gh-cta .gh-btn {
  background-color: var(--buonalabs-brand) !important;
  color: #fff !important;
}

.gh-powered-by {
  display: none !important;
}
