/* ---------------------------------------------------------------------------
   Single blog post: align the live template with the 2026-11 design mock.

   Design tokens (sampled from the mock):
     text      #464646   headings, body, breadcrumbs, TOC, labels
     muted     #7D8697   dates, captions, card excerpts
     link      #FF6900   in-prose links and author names only
     lavender  #E3E0F5 / #F0EEF9 / #F7F6FC
     peach     #FFF0D3   border #E0E0E0

   Why this file exists: a11y-colour.css paints EVERY link brand orange
   (`a:not([style*=background]){color:…!important}`) and forces
   .brxe-text-basic / .brxe-code text to #646464. The single-post template
   (340708) already sets #464646 on the blog title, breadcrumbs and TOC, but
   those rules lose to the global !important ones. This sheet restores the
   design colours on the specific parts the mock shows, and leaves the global
   link rule alone everywhere else.

   Loaded after a11y-colour.css. Selectors are `body …` + !important so they
   beat its (0,1,1)-(0,3,1) !important rules regardless of source order.
   Element ids (#brxe-…) are from template 340708 and the blog header
   template; if an element is rebuilt the rule stops matching and that part
   falls back to the current look (nothing breaks).
--------------------------------------------------------------------------- */

:root{
  --sc-post-text:#464646;
  --sc-post-muted:#7D8697;
  --sc-post-link:#FF6900;
  --sc-post-border:#E0E0E0;
  --sc-post-lavender:#E3E0F5;
  --sc-post-lavender-2:#F0EEF9;
}

@media screen {

/* ---- Hero ---------------------------------------------------------------- */
body .brxe-breadcrumbs a.item,
body .brxe-breadcrumbs .separator,
body .brxe-breadcrumbs span.item{ color:var(--sc-post-text) !important; }
body .brxe-breadcrumbs a.item:hover{ color:var(--sc-post-text) !important; text-decoration:underline; }

/* category pills */
body .brxe-zivabk a,
body .brxe-zivabk a:hover{ color:var(--sc-post-text) !important; }

body .brxe-post-reading-time{ color:var(--sc-post-text) !important; }

/* excerpt under the title */
body #brxe-injews,
body #brxe-injews *:not(a){ color:var(--sc-post-text) !important; }

/* Published on / Updated on */
body #brxe-nordsx,
body #brxe-nordsx *:not(a){ color:var(--sc-post-muted) !important; }

/* "Written by" / "Reviewed by" labels (names stay orange + underlined) */
body #brxe-efbxhc .brxe-text-basic,
body #brxe-efbxhc .brxe-text-basic *:not(a){ color:var(--sc-post-text) !important; }

/* Share: label dark, icons = white glyph on a dark circle */
body #brxe-nnlmiv{ color:var(--sc-post-text) !important; }
body .brxe-post-sharing a,
body .brxe-post-sharing a:hover{ color:#ffffff !important; background-color:var(--sc-post-text) !important; }
body .brxe-post-sharing a svg,
body .brxe-post-sharing a svg *{ fill:currentColor !important; }

/* ---- Body: three columns at the design's proportions -------------------
   Mock at 1920px: TOC 243 | gap 49 | article 760 | gap 52 | sidebar 240
   inside a 1344px container (the hero and related rows stay 1280px). */
@media (min-width: 992px){
  body #brxe-fskfll{ max-width:1344px; width:100%; column-gap:50px; }
  body #brxe-tlaoyc{ width:18.1%; flex-shrink:0; }
  body #brxe-biheag{ width:56.6%; }
  body #brxe-sskfdw{ width:17.9%; flex-shrink:0; }
}

/* Table of contents: dark text, current section slightly heavier */
body #brxe-ysdgpt{ color:var(--sc-post-text) !important; }
body .brxe-post-toc .toc-link,
body .brxe-post-toc .toc-link:hover{ color:var(--sc-post-text) !important; font-weight:400; }
body .brxe-post-toc .toc-link.is-active-link{ color:var(--sc-post-text) !important; font-weight:500; }
body .brxe-post-toc .toc-link:hover{ text-decoration:underline; }

/* ---- Article typography ------------------------------------------------- */
body .brxe-post-content{ color:var(--sc-post-text); }
body .brxe-post-content > h2,
body .brxe-post-content > ol > li > h2{ font-size:24px !important; font-weight:600; line-height:1.4; color:var(--sc-post-text); }
body .brxe-post-content > h3,
body .brxe-post-content > ol > li > h3{ font-size:20px !important; font-weight:600; line-height:1.4; color:var(--sc-post-text); }
body .brxe-post-content > p{ margin-bottom:31px; }

/* Short summary box: full article width, no 6px left overhang */
body .brxe-post-content .summary-blog{
  width:auto !important;
  margin:0 0 40px !important;
  padding:20px 20px 4px !important;
  border-radius:8px !important;
}
body .brxe-post-content .summary-blog > h2{
  font-size:18px !important; font-weight:700; line-height:1.4; margin:0 0 8px !important;
}

/* "Featured Article" quote box: brand font, not the Bricks georgia default */
body .brxe-post-content blockquote{
  font-family:"DM Sans", sans-serif !important;
  font-size:18px;
  background:#ffffff;
  border:1px solid var(--sc-post-border) !important;
  border-radius:12px;
}
body .brxe-post-content blockquote p{ border-left-color:var(--sc-post-link) !important; border-left-width:4px !important; }
body .brxe-post-content blockquote p strong{ font-size:18px; color:var(--sc-post-text); }

/* [cta] shortcode button: the global `.brxe-post-content a` orange made the
   label the same colour as the button (invisible). Keep the label white. */
body .brxe-post-content .wellows-cta{ outline:none; }
body .brxe-post-content a.wellows-cta__link,
body .brxe-post-content a.wellows-cta__link:hover{
  color:#ffffff !important;
  text-decoration:none !important;
  border-radius:8px;
  outline:none;
}

/* In-article "content upgrade" CTA: light lavender card per the design
   (was a dark indigo panel). a11y-colour.css forces its text and links
   white for the dark background, so those are reset here as well. */
body .brxe-post-content .content-upgrade{
  background-color:var(--sc-post-lavender) !important;
  border:0 !important;
  border-radius:12px !important;
  color:var(--sc-post-text) !important;
  font-family:"DM Sans", sans-serif !important;
}
body .brxe-post-content .content-upgrade .title{ color:var(--sc-post-text) !important; font-weight:600 !important; }
body .brxe-post-content .content-upgrade p,
body .brxe-post-content .content-upgrade p *:not(a){ color:var(--sc-post-text) !important; }
body .brxe-post-content .content-upgrade a:not(.btn-cu),
body .brxe-post-content .content-upgrade a:not(.btn-cu):hover{ color:var(--sc-post-text) !important; }
body .brxe-post-content .content-upgrade a.btn-cu,
body .brxe-post-content .content-upgrade a.btn-cu:hover{
  background:#ffffff !important;
  color:var(--sc-post-text) !important;
  border:1px solid var(--sc-post-text) !important;
  border-radius:8px !important;
  box-shadow:none !important;
  display:inline-block;
  padding:14px 24px !important;
  font-size:16px !important;
  font-weight:600 !important;
  line-height:1.2 !important;
}

/* Tables: left-aligned 16px text, flat (no drop shadow) */
body .brxe-post-content table{ box-shadow:none !important; border-radius:12px; overflow:hidden; }
body .brxe-post-content table th,
body .brxe-post-content table td{
  text-align:left !important;
  font-size:16px;
  line-height:1.3;
  color:var(--sc-post-text) !important;
  padding:18px;
}
body .brxe-post-content table th{ font-weight:600; background-color:var(--sc-post-lavender) !important; max-width:none !important; }

/* Image captions: no white frame, small muted left-aligned caption */
body .brxe-post-content figure.wp-caption{
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  max-width:100% !important;
  text-align:left;
}
body .brxe-post-content figure.wp-caption img{ border-radius:8px; max-width:100%; }
body .brxe-post-content .wp-caption-text{
  text-align:left !important;
  font-size:14px !important;
  line-height:1.5 !important;
  padding:8px 0 0 !important;
  color:var(--sc-post-muted) !important;
}

/* FAQ accordion */
body .sc-faq__item{ border-color:var(--sc-post-border); border-radius:8px; }
body .sc-faq__item > summary{ padding:18px 24px; font-size:18px; }
body .sc-faq__item > summary > h3{ font-weight:500; color:var(--sc-post-text) !important; }
body .sc-faq__item > [itemprop="acceptedAnswer"]{ padding:0 24px 18px; }
body .sc-faq [itemprop="text"],
body .sc-faq [itemprop="text"] p{ font-size:18px; line-height:31px; color:var(--sc-post-text); }

/* Author box */
body #brxe-bzhsan .brxe-text-basic,
body #brxe-bzhsan .brxe-text-basic *:not(a){ color:var(--sc-post-text) !important; }
body #brxe-jjngui,
body #brxe-jjngui a{ font-weight:600; color:var(--sc-post-text) !important; }
body #brxe-raomed{ line-height:1.35 !important; }

/* ---- Related posts ------------------------------------------------------ */
body #brxe-aogbnh{ color:var(--sc-post-text) !important; font-weight:600; }
body .brxe-yztdxy{ border-radius:16px !important; }
body .brxe-grnvvl,
body .brxe-grnvvl a,
body .brxe-grnvvl a:hover{ color:var(--sc-post-text) !important; font-weight:600 !important; }
body .brxe-grnvvl a:hover{ text-decoration:underline; }
body .brxe-zwmsva,
body .brxe-elknib,
body .brxe-elknib *:not(a){ color:var(--sc-post-muted) !important; }

} /* end @media screen */
