/* SAR additions to stock Headline. Article/card text remains untouched. */
:root {
    --color-primary-text: #242623;
    --color-darker-gray: #242623;
    --color-white: #fcfaf5;
    --color-secondary-text: #64665e;
    --color-light-gray: #d9d6cc;
    --color-lighter-gray: #f0ede4;
    --ghost-accent-color: #745900;
}
.gh-head-logo, .gh-head-logo a { display: flex; align-items: center; gap: 10px; }
.gh-head-logo img.sar-mark { width: 56px; height: auto; max-height: none; flex: 0 0 56px; }
.gh-copyright { color: #bec2ce; }
.gh-topic-grid .gh-card.featured.no-image.large .gh-card-link { background: #e7bf35; }
.gh-topic-grid .gh-card.featured.no-image.large :is(.gh-card-title,.gh-card-footer) { color: #242623; }
.gh-content a:not(.kg-file-card-container):not(.kg-btn):not(.kg-bookmark-container) { color: #745900; text-underline-offset: .16em; }
:is(a,button,input):focus-visible { outline: 3px solid #745900; outline-offset: 4px; }
.gh-foot :focus-visible { outline-color: #e7bf35; }
.gh-article-image img { width: 100%; height: auto; object-fit: contain; }
.gh-content { overflow-wrap: anywhere; }
.gh-content :is(h2,h3,h4,[id]) { scroll-margin-top: 24px; }
.gh-content :is(th,td) { color: #242623; border-color: #d9d6cc; }
.gh-content table { color: #242623; background-color: #fcfaf5; font-size: .85em; }
.gh-content table a { color: #745900; }
.gh-content :is(pre,code) { color: #242623; background-color: #f0ede4; }
.gh-content .kg-file-card { color: #242623; }
.gh-content .kg-file-card-container { background: #f0ede4; color: #242623; }
/* The older chart chooses light/dark text itself; its transparent background
   must follow this theme's fixed paper palette even on a dark-mode device. */
.gh-content #sts-ops-index { color-scheme: light; }
.sar-has-body-byline :is(.gh-author-image-list,.gh-author-name-list) { display: none; }
.footnotes { font-size: .85em; }
@media(max-width:360px) {
    .gh-head-logo { font-size: 18px; }
    .gh-head-logo, .gh-head-logo a { gap: 7px; }
}
