/* ═══ NutriCove Brand Overrides ═══ */

:root {
  --background-color: #FCF6EF !important;
  --ghost-accent-color: #AD4E00 !important;
  --color-primary-text: #2B180A !important;
  --color-secondary-text: #94877C !important;
  --color-darker-gray: #2B180A !important;
  --color-border: rgba(173, 78, 0, 0.15) !important;
  --color-dark-border: #AD4E00 !important;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
}

/* Global background & text */
html, body, .gh-viewport {
  background-color: #FCF6EF !important;
  color: #2B180A !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
}

/* Header / Navigation */
.gh-navigation,
.gh-head {
  background-color: #FCF6EF !important;
}

.gh-navigation a,
.gh-head a,
.gh-head-menu a,
.gh-head-brand a {
  color: #2B180A !important;
}

.gh-navigation a:hover,
.gh-head a:hover,
.gh-head-menu a:hover {
  color: #AD4E00 !important;
  opacity: 1 !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.gh-article-title,
.gh-card-title,
.post-card-title {
  color: #2B180A !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
}

p, li, td, th, dd, dt, label,
.gh-content p,
.gh-content li,
.gh-content td {
  color: #2B180A !important;
}

/* Secondary text */
.gh-card-excerpt,
.post-card-excerpt,
.gh-card-meta,
.gh-article-meta,
.gh-article-tag,
time,
figcaption,
.byline-meta-content {
  color: #94877C !important;
}

/* Links */
a {
  color: #AD4E00 !important;
}

a:hover {
  color: #2B180A !important;
  opacity: 1 !important;
}

.gh-content a,
article a {
  color: #AD4E00 !important;
  text-decoration: underline;
}

.gh-content a:hover,
article a:hover {
  color: #2B180A !important;
}

/* Navigation links stay dark until hover */
.gh-navigation a,
.gh-head-menu a {
  color: #2B180A !important;
}

/* Cards */
.gh-card,
.post-card {
  border: 1px solid #AD4E00 !important;
  border-radius: 8px !important;
  background-color: #FCF6EF !important;
  overflow: hidden;
}

/* Buttons */
.gh-button,
.gh-btn,
.gh-btn-primary,
a.gh-btn,
.gh-head-button,
.gh-subscribe-btn,
[data-portal="signup"],
[data-portal="signin"] {
  background-color: #AD4E00 !important;
  color: #ffffff !important;
  border-color: #AD4E00 !important;
}

.gh-button:hover,
.gh-btn:hover,
.gh-btn-primary:hover,
a.gh-btn:hover,
.gh-head-button:hover {
  background-color: #8B3E00 !important;
  border-color: #8B3E00 !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

/* Footer */
.gh-footer,
.gh-foot,
footer {
  background-color: #FCF6EF !important;
  color: #2B180A !important;
}

.gh-footer a,
.gh-foot a,
footer a {
  color: #AD4E00 !important;
}

/* Tags */
.gh-card-tag,
.post-card-primary-tag,
.gh-article-tag a {
  color: #AD4E00 !important;
}

/* Subscribe / CTA */
.gh-subscribe,
.subscribe-form {
  background-color: #FCF6EF !important;
}

.gh-subscribe input,
.subscribe-form input {
  border-color: #AD4E00 !important;
  background-color: #ffffff !important;
  color: #2B180A !important;
}

/* Article pages */
.gh-article,
.gh-canvas,
.article {
  background-color: #FCF6EF !important;
}

/* Selection */
::selection {
  background-color: rgba(173, 78, 0, 0.2);
  color: #2B180A;
}

/* Blockquotes */
blockquote {
  border-left-color: #AD4E00 !important;
  color: #2B180A !important;
}

/* Code */
pre, code {
  background-color: #f5ede4 !important;
  color: #2B180A !important;
  border-radius: 4px !important;
}

/* Dividers */
hr {
  border-color: rgba(173, 78, 0, 0.3) !important;
}

/* Pagination */
.pagination a {
  color: #AD4E00 !important;
}

/* Ghost Portal buttons */
.gh-portal-btn-main,
.gh-portal-btn-primary {
  background-color: #AD4E00 !important;
}

/* Featured / hero sections with accent bg */
.gh-navigation.has-accent-color,
.gh-footer.has-accent-color {
  --ghost-accent-color: #AD4E00 !important;
}
