/*
 * Loja do Capita — Identidade visual do blog v3.2.0
 * Camada exclusivamente visual. Não altera estrutura, SEO ou integrações.
 */
:root {
  --capita-navy: #071A2F;
  --capita-navy-2: #0D2946;
  --capita-red: #E8453C;
  --capita-red-hover: #C9362F;
  --capita-cream: #F8F4EA;
  --capita-cream-2: #F5F1E8;
  --capita-white: #FFFFFF;
  --capita-gray: #EEF4F8;
  --capita-gray-2: #F5F7F9;
  --capita-border: #D9E0E7;
  --capita-gold: #C9A24F;
  --capita-text: #1E293B;
  --capita-heading-font: "Sora", system-ui, sans-serif;
  --capita-body-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Escopo restrito aos templates do blog. */
body.gf-blog-single-active,
body.gf-blog-template-active,
body.gf-blog-404-active,
body.home,
body.blog,
body.search,
body.category,
body.tag,
body.archive {
  color: var(--capita-text);
  font-family: var(--capita-body-font);
  background: var(--capita-white);
}

body.gf-blog-single-active :where(h1,h2,h3,h4,h5,h6),
body.gf-blog-template-active :where(h1,h2,h3,h4,h5,h6),
body.gf-blog-404-active :where(h1,h2,h3,h4,h5,h6),
body.home .gf-blog :where(h1,h2,h3,h4,h5,h6) {
  color: var(--capita-navy) !important;
  font-family: var(--capita-heading-font) !important;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-transform: none;
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}

body.gf-blog-single-active :where(p,li,figcaption,blockquote),
body.gf-blog-template-active :where(p,li,figcaption,blockquote),
body.gf-blog-404-active :where(p,li,figcaption,blockquote),
body.home .gf-blog :where(p,li,figcaption,blockquote) {
  font-family: var(--capita-body-font) !important;
}

/* Links editoriais. */
body.gf-blog-single-active .gf-single a:not(.gf-btn):not(.gf-single__share-link),
body.gf-blog-template-active .gf-blog a:not(.gf-btn),
body.gf-blog-404-active .gf-404 a:not(.gf-btn),
body.home .gf-blog a:not(.gf-btn) {
  color: var(--capita-navy-2);
  text-decoration-color: color-mix(in srgb, var(--capita-red) 55%, transparent);
  text-underline-offset: 3px;
}
body.gf-blog-single-active .gf-single a:not(.gf-btn):not(.gf-single__share-link):hover,
body.gf-blog-template-active .gf-blog a:not(.gf-btn):hover,
body.gf-blog-404-active .gf-404 a:not(.gf-btn):hover,
body.home .gf-blog a:not(.gf-btn):hover {
  color: var(--capita-red);
}

/* Botões e CTAs do blog. */
body :where(.gf-blog,.gf-single,.gf-404) :where(.gf-btn,.gf-blog__button,.gf-load-more,button[type="submit"],input[type="submit"]) {
  border-color: var(--capita-red) !important;
  border-radius: 6px !important;
  background: var(--capita-red) !important;
  color: var(--capita-white) !important;
  font-family: var(--capita-body-font) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-text-fill-color: var(--capita-white) !important;
}
body :where(.gf-blog,.gf-single,.gf-404) :where(.gf-btn,.gf-blog__button,.gf-load-more,button[type="submit"],input[type="submit"]):hover {
  border-color: var(--capita-red-hover) !important;
  background: var(--capita-red-hover) !important;
  color: var(--capita-white) !important;
  transform: none;
}

/* Cards, buscas e blocos editoriais. */
body :where(.gf-blog,.gf-single,.gf-404) :where(.gf-card,.gf-blog-card,.gf-post-card,.gf-related__item,.gf-search-box,.gf-blog__search) {
  border-color: var(--capita-border) !important;
  background: var(--capita-white) !important;
  box-shadow: 0 8px 28px rgba(7,26,47,.07) !important;
}
body :where(.gf-blog,.gf-single,.gf-404) :where(input[type="search"],input[type="text"],textarea) {
  border-color: var(--capita-border) !important;
  background: var(--capita-white) !important;
  color: var(--capita-navy) !important;
  font-family: var(--capita-body-font) !important;
}
body :where(.gf-blog,.gf-single,.gf-404) :where(input,textarea)::placeholder {
  color: #66788C !important;
  opacity: 1;
}

/* Categorias, etiquetas e metadados. */
body :where(.gf-blog,.gf-single) :where(.gf-card__category,.gf-blog-card__category,.gf-single__category,.gf-eyebrow,.gf-blog__eyebrow) {
  color: var(--capita-red) !important;
  font-family: var(--capita-body-font) !important;
  font-weight: 700 !important;
}
body :where(.gf-blog,.gf-single) :where(.gf-card__meta,.gf-blog-card__meta,.gf-single__meta,time) {
  color: #5F6F82 !important;
  font-family: var(--capita-body-font) !important;
}

/* Conteúdo do artigo. */
body.gf-blog-single-active .gf-single__content {
  color: var(--capita-text);
  font-size: clamp(1rem, .98rem + .12vw, 1.075rem);
  line-height: 1.78;
}
body.gf-blog-single-active .gf-single__content :where(h2,h3) {
  scroll-margin-top: 110px;
}
body.gf-blog-single-active .gf-single__content blockquote {
  border-left: 4px solid var(--capita-red) !important;
  background: var(--capita-gray) !important;
  color: var(--capita-navy) !important;
}
body.gf-blog-single-active .gf-single__content :where(table,th,td) {
  border-color: var(--capita-border) !important;
}
body.gf-blog-single-active .gf-single__content th {
  background: var(--capita-navy) !important;
  color: var(--capita-cream) !important;
}

/* Seções alternadas, sem alterar o HTML. */
body :where(.gf-blog,.gf-single,.gf-404) :where(.gf-section--soft,.gf-blog__section--soft,.gf-related,.gf-newsletter) {
  background: var(--capita-gray-2) !important;
}
body :where(.gf-blog,.gf-single,.gf-404) :where(.gf-cta,.gf-promo,.gf-newsletter--dark) {
  background: var(--capita-navy) !important;
  color: var(--capita-cream) !important;
}
body :where(.gf-blog,.gf-single,.gf-404) :where(.gf-cta,.gf-promo,.gf-newsletter--dark) :where(h2,h3,p) {
  color: var(--capita-cream) !important;
  -webkit-text-fill-color: var(--capita-cream) !important;
}

/* Cabeçalho e rodapé Elementor: apenas paleta e fonte, sem posicionamento. */
body :where(.elementor-location-header,.site-header,.hfe-site-header) {
  font-family: var(--capita-body-font);
}
body :where(.elementor-location-header,.site-header,.hfe-site-header) a {
  color: var(--capita-navy);
}
body :where(.elementor-location-header,.site-header,.hfe-site-header) a:hover,
body :where(.elementor-location-header,.site-header,.hfe-site-header) .current-menu-item > a {
  color: var(--capita-red) !important;
}
body :where(.elementor-location-footer,.site-footer,.hfe-site-footer) {
  background: var(--capita-navy);
  color: var(--capita-cream);
  font-family: var(--capita-body-font);
}
body :where(.elementor-location-footer,.site-footer,.hfe-site-footer) :where(h2,h3,h4,h5,p) {
  color: var(--capita-cream) !important;
}
body :where(.elementor-location-footer,.site-footer,.hfe-site-footer) a {
  color: #D9E0E7;
}
body :where(.elementor-location-footer,.site-footer,.hfe-site-footer) a:hover {
  color: var(--capita-red) !important;
}

@media (max-width: 767px) {
  body.gf-blog-single-active .gf-single__content {
    font-size: 1rem;
    line-height: 1.72;
  }
  body :where(.gf-blog,.gf-single,.gf-404) :where(.gf-btn,.gf-blog__button,.gf-load-more,button[type="submit"],input[type="submit"]) {
    min-height: 44px;
  }
}

/* ========================================================================
 * 3.2.1 — Aplicação forte da identidade nos seletores reais do Blog do Capita
 * Camada exclusivamente visual: nenhuma alteração estrutural ou de SEO.
 * ======================================================================== */

/* Home/arquivos: tipografia e variáveis antigas passam a apontar para a marca. */
.gf-blog {
  --gf-blog-ink: var(--capita-navy) !important;
  --gf-blog-muted: #5F6B7A !important;
  --gf-blog-purple: var(--capita-red) !important;
  --gf-blog-pink: var(--capita-red) !important;
  --gf-blog-cyan: var(--capita-navy-2) !important;
  --gf-blog-navy: var(--capita-navy) !important;
  --gf-blog-bg: var(--capita-white) !important;
  --gf-blog-line: var(--capita-border) !important;
  --capita-ink: var(--capita-navy) !important;
  --capita-text: #3F4A59 !important;
  --capita-muted: #667384 !important;
  --capita-line: var(--capita-border) !important;
  --capita-soft: var(--capita-gray-2) !important;
  --capita-soft-pink: var(--capita-cream-2) !important;
  --capita-accent: var(--capita-red) !important;
  --capita-accent-dark: var(--capita-red-hover) !important;
  font-family: var(--capita-body-font) !important;
}

.gf-blog :where(h1,h2,h3,h4,h5,h6),
.gf-single :where(h1,h2,h3,h4,h5,h6),
.gf-404 :where(h1,h2,h3,h4,h5,h6) {
  font-family: var(--capita-heading-font) !important;
}

/* Hero: elimina definitivamente texto transparente ou escondido. */
.gf-blog .gf-blog-hero,
body.home .gf-blog .gf-blog-hero {
  background: linear-gradient(135deg, var(--capita-white) 0%, var(--capita-white) 66%, var(--capita-cream-2) 100%) !important;
  color: var(--capita-navy) !important;
  border-bottom-color: var(--capita-border) !important;
}

.gf-blog .gf-blog-hero__copy,
.gf-blog .gf-blog-hero__copy > *,
.gf-blog .gf-blog-hero__copy h1,
.gf-blog .gf-blog-hero__copy h1 *,
.gf-blog .gf-blog-hero h1,
.gf-blog .gf-blog-hero h1#gf-blog-title {
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  color: var(--capita-navy) !important;
  -webkit-text-fill-color: var(--capita-navy) !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  text-shadow: none !important;
}

.gf-blog .gf-blog-hero__copy h1,
.gf-blog .gf-blog-hero h1#gf-blog-title {
  display: block !important;
  position: relative !important;
  width: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  clip: auto !important;
  clip-path: none !important;
  font-family: var(--capita-heading-font) !important;
  font-weight: 700 !important;
}

.gf-blog .gf-blog-hero__copy > p,
.gf-blog .gf-blog-hero__copy p {
  color: #465160 !important;
  -webkit-text-fill-color: #465160 !important;
  font-family: var(--capita-body-font) !important;
}

.gf-blog .gf-blog-eyebrow,
.gf-blog .gf-blog-hero .gf-blog-eyebrow,
.gf-blog .gf-blog-section-heading span,
.gf-blog .gf-blog-promo__eyebrow {
  color: var(--capita-red) !important;
  -webkit-text-fill-color: var(--capita-red) !important;
}
.gf-blog .gf-blog-eyebrow::before { background: var(--capita-red) !important; }

/* Busca e botões. */
.gf-blog :where(.gf-blog-search,.gf-blog-compact-search,.gf-blog-final-search__form) {
  border-color: var(--capita-border) !important;
  background: var(--capita-white) !important;
}
.gf-blog :where(.gf-blog-search,.gf-blog-compact-search,.gf-blog-final-search__form) input {
  color: var(--capita-navy) !important;
  -webkit-text-fill-color: var(--capita-navy) !important;
  background: var(--capita-white) !important;
}
.gf-blog :where(.gf-blog-search,.gf-blog-compact-search,.gf-blog-final-search__form) input::placeholder {
  color: #718096 !important;
  -webkit-text-fill-color: #718096 !important;
}
.gf-blog :where(.gf-blog-search,.gf-blog-compact-search,.gf-blog-final-search__form) button,
.gf-blog #gf-blog-load-more,
.gf-blog .gf-blog-promo__button {
  border-color: var(--capita-red) !important;
  background: var(--capita-red) !important;
  background-image: none !important;
  color: var(--capita-white) !important;
  -webkit-text-fill-color: var(--capita-white) !important;
}
.gf-blog :where(.gf-blog-search,.gf-blog-compact-search,.gf-blog-final-search__form) button:hover,
.gf-blog #gf-blog-load-more:hover,
.gf-blog .gf-blog-promo__button:hover {
  border-color: var(--capita-red-hover) !important;
  background: var(--capita-red-hover) !important;
}

/* Barra de categorias e estados ativos. */
.gf-blog .gf-blog-categories { background: var(--capita-white) !important; }
.gf-blog .gf-blog-categories a {
  border-color: var(--capita-border) !important;
  background: var(--capita-white) !important;
  background-image: none !important;
  color: var(--capita-navy) !important;
}
.gf-blog .gf-blog-categories a:hover,
.gf-blog .gf-blog-categories a:focus-visible,
.gf-blog .gf-blog-categories a.is-active {
  border-color: var(--capita-red) !important;
  background: var(--capita-red) !important;
  background-image: none !important;
  color: var(--capita-white) !important;
}

/* Card preto da hero alinhado à paleta oficial. */
.gf-blog .gf-blog-social-card {
  border-color: var(--capita-navy-2) !important;
  background: var(--capita-navy) !important;
  color: var(--capita-cream) !important;
}
.gf-blog .gf-blog-social-card > span { color: #F2B8B3 !important; }
.gf-blog .gf-blog-social-card strong { color: var(--capita-white) !important; }

/* Promoção: remove roxo/rosa e adota azul-marinho + vermelho. */
.gf-blog .gf-blog-promo__link {
  background: linear-gradient(135deg, var(--capita-navy) 0%, var(--capita-navy-2) 68%, #173A5C 100%) !important;
  color: var(--capita-cream) !important;
}
.gf-blog .gf-blog-promo__link::before,
.gf-blog .gf-blog-promo__link::after { opacity: .2 !important; }
.gf-blog .gf-blog-promo__content > strong,
.gf-blog .gf-blog-promo__content h2,
.gf-blog .gf-blog-promo__content h3 {
  color: var(--capita-white) !important;
  -webkit-text-fill-color: var(--capita-white) !important;
}
.gf-blog .gf-blog-promo__description,
.gf-blog .gf-blog-promo__benefits { color: var(--capita-text-light, #D9E0E7) !important; }

/* Conteúdo institucional e busca final. */
.gf-blog .gf-blog-seo-copy__panel,
.gf-blog .gf-blog-final-search__panel {
  border-color: var(--capita-border) !important;
  background: var(--capita-gray-2) !important;
  background-image: none !important;
}
.gf-blog .gf-blog-seo-copy h2,
.gf-blog .gf-blog-final-search__copy h2 {
  color: var(--capita-navy) !important;
  -webkit-text-fill-color: var(--capita-navy) !important;
}
.gf-blog .gf-blog-seo-copy p,
.gf-blog .gf-blog-final-search__copy p { color: #465160 !important; }

/* Cards dos artigos. */
.gf-blog .gf-blog-card {
  border-color: var(--capita-border) !important;
  background: var(--capita-white) !important;
}
.gf-blog .gf-blog-card h3,
.gf-blog .gf-blog-card h3 a {
  color: var(--capita-navy) !important;
  -webkit-text-fill-color: var(--capita-navy) !important;
  background-image: linear-gradient(var(--capita-red),var(--capita-red)) !important;
}
.gf-blog .gf-blog-card__meta a,
.gf-blog .gf-blog-card footer > a { color: var(--capita-red) !important; }

/* Rodapé real do Capita SEO. */
body .capita-seo-footer {
  background: var(--capita-navy) !important;
  color: var(--capita-cream) !important;
  font-family: var(--capita-body-font) !important;
}
body .capita-seo-footer__inner {
  background: var(--capita-navy) !important;
  border-color: var(--capita-navy-2) !important;
}
body .capita-seo-footer :where(h2,h3,h4,.capita-seo-footer__title,.capita-seo-footer__heading) {
  color: var(--capita-white) !important;
  -webkit-text-fill-color: var(--capita-white) !important;
  font-family: var(--capita-heading-font) !important;
}
body .capita-seo-footer :where(p,li,span) { color: var(--capita-text-light, #D9E0E7) !important; }
body .capita-seo-footer a { color: #D9E0E7 !important; }
body .capita-seo-footer a:hover { color: var(--capita-red) !important; }
body .capita-seo-footer__cta {
  border-color: var(--capita-red) !important;
  background: var(--capita-red) !important;
  color: var(--capita-white) !important;
}

@media (max-width: 767px) {
  .gf-blog .gf-blog-hero__copy h1,
  .gf-blog .gf-blog-hero h1#gf-blog-title {
    font-size: clamp(36px, 11vw, 54px) !important;
    line-height: 1.02 !important;
  }
}

/* ========================================================================
 * 3.2.2 — Cards sem fundo vermelho e identidade aplicada ao post real CBP
 * Apenas template, cores e tipografia. Nenhuma alteração de HTML ou SEO.
 * ======================================================================== */

/* Títulos dos cards: fundo branco limpo, sem faixa/gradiente vermelho. */
.gf-blog .gf-blog-card h3,
.gf-blog .gf-blog-card h3 a,
.gf-blog .gf-blog-card__title,
.gf-blog .gf-blog-card__title a {
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: var(--capita-navy) !important;
  -webkit-text-fill-color: var(--capita-navy) !important;
  text-decoration: none !important;
}

.gf-blog .gf-blog-card h3 a:hover,
.gf-blog .gf-blog-card__title a:hover {
  color: var(--capita-red) !important;
  -webkit-text-fill-color: var(--capita-red) !important;
}

/* ------------------------------------------------------------------------
 * Post individual real do Capita SEO (.cbp-*).
 * ------------------------------------------------------------------------ */
body.single-post .cbp-page {
  --cbp-navy: #071A2F;
  --cbp-navy-2: #0D2946;
  --cbp-red: #E8453C;
  --cbp-red-hover: #C9362F;
  --cbp-cream: #F8F4EA;
  --cbp-soft: #F5F7F9;
  --cbp-gray: #EEF4F8;
  --cbp-border: #D9E0E7;
  --cbp-text: #3F4A59;
  --cbp-muted: #667384;
  color: var(--cbp-text) !important;
  background: #FFFFFF !important;
  font-family: var(--capita-body-font) !important;
}

body.single-post .cbp-page :where(h1,h2,h3,h4,h5,h6) {
  font-family: var(--capita-heading-font) !important;
  color: var(--cbp-navy) !important;
  -webkit-text-fill-color: var(--cbp-navy) !important;
}

body.single-post .cbp-shell,
body.single-post .cbp-main,
body.single-post .cbp-content-column,
body.single-post .cbp-layout {
  background: #FFFFFF !important;
}

body.single-post .cbp-breadcrumb,
body.single-post .cbp-breadcrumb a {
  color: var(--cbp-muted) !important;
  font-family: var(--capita-body-font) !important;
}
body.single-post .cbp-breadcrumb a:hover { color: var(--cbp-red) !important; }

body.single-post .cbp-kicker {
  color: var(--cbp-red) !important;
  -webkit-text-fill-color: var(--cbp-red) !important;
  font-family: var(--capita-body-font) !important;
  font-weight: 700 !important;
}

body.single-post .cbp-title {
  color: var(--cbp-navy) !important;
  -webkit-text-fill-color: var(--cbp-navy) !important;
  background: transparent !important;
  background-image: none !important;
  text-shadow: none !important;
  font-family: var(--capita-heading-font) !important;
  font-weight: 700 !important;
}

body.single-post .cbp-deck,
body.single-post .cbp-meta,
body.single-post .cbp-meta a,
body.single-post .cbp-meta span {
  color: var(--cbp-muted) !important;
  font-family: var(--capita-body-font) !important;
}
body.single-post .cbp-meta a:hover { color: var(--cbp-red) !important; }

body.single-post .cbp-featured {
  background: var(--cbp-soft) !important;
  border-color: var(--cbp-border) !important;
}
body.single-post .cbp-featured-img {
  background: var(--cbp-soft) !important;
}

body.single-post .cbp-prose {
  color: var(--cbp-text) !important;
  font-family: var(--capita-body-font) !important;
}
body.single-post .cbp-prose :where(p,li,td,th,figcaption) {
  color: var(--cbp-text) !important;
}
body.single-post .cbp-prose :where(h2,h3,h4,h5,h6) {
  color: var(--cbp-navy) !important;
  -webkit-text-fill-color: var(--cbp-navy) !important;
  background: transparent !important;
  background-image: none !important;
}
body.single-post .cbp-prose a {
  color: var(--cbp-navy-2) !important;
  text-decoration-color: var(--cbp-red) !important;
}
body.single-post .cbp-prose a:hover { color: var(--cbp-red) !important; }
body.single-post .cbp-prose strong { color: var(--cbp-navy) !important; }

body.single-post .cbp-prose blockquote {
  border-left-color: var(--cbp-red) !important;
  background: var(--cbp-gray) !important;
  color: var(--cbp-navy) !important;
}

body.single-post .cbp-prose table,
body.single-post .cbp-prose th,
body.single-post .cbp-prose td {
  border-color: var(--cbp-border) !important;
}
body.single-post .cbp-prose th {
  background: var(--cbp-navy) !important;
  color: #FFFFFF !important;
}
body.single-post .cbp-prose tr:nth-child(even) td { background: var(--cbp-soft) !important; }

body.single-post .cbp-toc {
  border-color: var(--cbp-border) !important;
  background: var(--cbp-gray) !important;
  color: var(--cbp-text) !important;
}
body.single-post .cbp-toc-head span,
body.single-post .cbp-section-head span,
body.single-post .cbp-author > div > span {
  color: var(--cbp-red) !important;
  -webkit-text-fill-color: var(--cbp-red) !important;
}
body.single-post .cbp-toc-head h2,
body.single-post .cbp-section-head h2,
body.single-post .cbp-author h2 {
  color: var(--cbp-navy) !important;
  -webkit-text-fill-color: var(--cbp-navy) !important;
}
body.single-post .cbp-toc-list a { color: var(--cbp-navy-2) !important; }
body.single-post .cbp-toc-list a:hover { color: var(--cbp-red) !important; }
body.single-post .cbp-toc-toggle {
  border-color: var(--cbp-red) !important;
  background: var(--cbp-red) !important;
  color: #FFFFFF !important;
}

body.single-post .cbp-share,
body.single-post .cbp-author,
body.single-post .cbp-post-nav,
body.single-post .cbp-related,
body.single-post .cbp-side-section {
  border-color: var(--cbp-border) !important;
  background: #FFFFFF !important;
  color: var(--cbp-text) !important;
}
body.single-post .cbp-share > strong { color: var(--cbp-navy) !important; }
body.single-post .cbp-share a,
body.single-post .cbp-copy-link {
  border-color: var(--cbp-red) !important;
  background: var(--cbp-red) !important;
  color: #FFFFFF !important;
  font-family: var(--capita-body-font) !important;
}
body.single-post .cbp-share a:hover,
body.single-post .cbp-copy-link:hover {
  border-color: var(--cbp-red-hover) !important;
  background: var(--cbp-red-hover) !important;
}

body.single-post .cbp-prev,
body.single-post .cbp-next {
  border-color: var(--cbp-border) !important;
  background: var(--cbp-soft) !important;
  color: var(--cbp-navy) !important;
}
body.single-post .cbp-prev:hover,
body.single-post .cbp-next:hover {
  border-color: var(--cbp-red) !important;
  background: var(--cbp-gray) !important;
}
body.single-post .cbp-prev span,
body.single-post .cbp-next span { color: var(--cbp-red) !important; }
body.single-post .cbp-prev strong,
body.single-post .cbp-next strong { color: var(--cbp-navy) !important; }

body.single-post .cbp-card-body,
body.single-post .cbp-related-grid article,
body.single-post .cbp-side-posts article {
  background: #FFFFFF !important;
  border-color: var(--cbp-border) !important;
}
body.single-post .cbp-card-body :where(h3,h4,a),
body.single-post .cbp-side-posts :where(h3,h4,a) {
  color: var(--cbp-navy) !important;
  -webkit-text-fill-color: var(--cbp-navy) !important;
}
body.single-post .cbp-card-body a:hover,
body.single-post .cbp-side-posts a:hover { color: var(--cbp-red) !important; }

body.single-post .cbp-sidebar {
  color: var(--cbp-text) !important;
  font-family: var(--capita-body-font) !important;
}
body.single-post .cbp-sidebar :where(h2,h3,h4) {
  color: var(--cbp-navy) !important;
  -webkit-text-fill-color: var(--cbp-navy) !important;
}
body.single-post .cbp-categories a,
body.single-post .cbp-side-section a {
  color: var(--cbp-navy-2) !important;
}
body.single-post .cbp-categories a:hover,
body.single-post .cbp-side-section a:hover { color: var(--cbp-red) !important; }

body.single-post .cbp-search input {
  border-color: var(--cbp-border) !important;
  background: #FFFFFF !important;
  color: var(--cbp-navy) !important;
  font-family: var(--capita-body-font) !important;
}
body.single-post .cbp-search button,
body.single-post .cbp-cta {
  border-color: var(--cbp-red) !important;
  background: var(--cbp-red) !important;
  background-image: none !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-family: var(--capita-body-font) !important;
}
body.single-post .cbp-search button:hover,
body.single-post .cbp-cta:hover {
  border-color: var(--cbp-red-hover) !important;
  background: var(--cbp-red-hover) !important;
}

@media (max-width: 767px) {
  body.single-post .cbp-title {
    font-size: clamp(34px, 9.5vw, 48px) !important;
    line-height: 1.08 !important;
  }
}
