/* Industry Pulse (Newsmatic). Idea: refero.design "Dezeen — stories in unequal lanes" (design-refs/news.md):
   white pages, black 3px keylines, compact bold grotesk headlines, serif reading text, square controls,
   gray/black taxonomy badges on the picture, color only in photos and one navy service module. */
body {
  --theme-color-red: #000;
  --theme-block-top-border-color: #000;
  --newsmatic-global-preset-color-1: #000;
  --n-sans: "Libre Franklin", "IBM Plex Sans Thai", Arial, sans-serif;
  --n-serif: "Libre Baskerville", "Noto Serif Thai", Georgia, serif;
  background: #fff !important; color: #000; font-family: var(--n-sans);
}
body :focus-visible { outline: 3px solid #757575; outline-offset: 2px; }
body * { border-radius: 0 !important; }
body h1, body h2, body h3, body h4, body .post-title, body .entry-title, body .site-title { font-family: var(--n-sans) !important; font-weight: 700 !important; letter-spacing: 0 !important; line-height: 1.35 !important; }

/* header: plain white, black wordmark, 3px keyline under the nav */
body .row-wrap.row-one { background: #fff !important; border-bottom: 1px solid #000; }
body .row-wrap.row-one, body .row-wrap.row-one a, body .row-wrap.row-one span { color: #000 !important; }
body #masthead *, body .newsmatic_site_block_border_top *, body hr { border-color: #000 !important; }
body .site-title a, body .site-title { color: #000 !important; font-weight: 800 !important; }
body .site-description { color: #757575 !important; font-family: var(--n-sans); }
body #masthead { background: #fff !important; box-shadow: none !important; border-bottom: 3px solid #000; }
body #masthead .row-wrap.row-two { border-color: #000 !important; }
body .main-navigation a, body #site-navigation a { color: #000 !important; font-weight: 700; }
body .main-navigation a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* boxes: flat white, no shadows; section labels crowned by a 3px rule */
body .newsmatic-container .row > *, body .widget, body article, body .news-list-wrap, body .newsmatic-ticker-wrapper, body .ticker-news-wrap { box-shadow: none !important; background-color: #fff; }
body .widget-title, body .section-title, body .newsmatic-block-title, body .block-title, body .widget .wp-block-heading {
  border-top: 3px solid #000 !important; padding-top: 10px !important; background: none !important; color: #000 !important;
  font-size: 15px !important; font-weight: 700 !important; letter-spacing: 0; text-transform: none;
}
body .widget-title::before, body .widget-title::after, body .section-title::before, body .section-title::after { display: none !important; }

/* taxonomy badges attached to the picture */
body .post-categories .cat-item, body .post-categories li { background: #000 !important; }
body .post-categories .cat-item a, body .post-categories li a { color: #fff !important; font-size: 13px !important; font-weight: 700; padding: 5px 7px !important; }
body .post-categories .cat-item:nth-child(even) { background: #eee !important; }
body .post-categories .cat-item:nth-child(even) a { color: #000 !important; }
body .ticker_label_title, body .newsmatic-ticker-label, body .newsmatic-ticker-pause { background: #000 !important; color: #fff !important; }

/* reading text in serif */
body .entry-content p, body .entry-content li, body .post-excerpt, body .entry-content td { font-family: var(--n-serif); font-size: 17px; line-height: 1.85; color: #111; }
body .post-excerpt { font-size: 15px; }
body .entry-content a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
body .entry-content h2 { border-top: 3px solid #000; padding-top: 14px; }
body .entry-content blockquote { border-left: 0 !important; border-top: 3px solid #000; padding-top: 14px; font-family: var(--n-sans); font-weight: 700; font-size: 1.3rem; }
body .entry-content table, body .entry-content th, body .entry-content td { border-color: #000 !important; }
body .entry-content figcaption { font-family: var(--n-sans); font-size: 13px; color: #757575; }

/* controls: small square tools */
body button, body input[type="submit"], body .search-submit, body .menu-toggle, body .wp-block-button__link, body .read-more a, body .post-link-button {
  background: #000 !important; color: #fff !important; border: 0 !important; font-family: var(--n-sans); font-weight: 700;
}
body input[type="search"], body input[type="text"], body input[type="email"], body textarea { border: 1px solid #000 !important; background: #fff; }

/* one isolated color module: the sidebar newsletter/search box in navy */
body .widget_search { background: #10376b !important; color: #fff; padding: 20px; }
body .widget_search .widget-title, body .widget_search label, body .widget_search .wp-block-search__label { color: #fff !important; border-top-color: #fff !important; }

/* footer: black, 3px rules over link groups */
body #colophon { background: #000 !important; }
body #colophon .widget-title { color: #fff !important; border-top-color: #fff !important; }
body #colophon a { color: #fff !important; }

body .page-numbers.current, body .page-numbers:hover { background: #000 !important; color: #fff !important; border-color: #000 !important; }
body .page-numbers { border-color: #000 !important; color: #000; }
body #colophon .row-wrap, body #colophon .bb-bldr-row, body #colophon .site-info, body #colophon [class*="bottom"] { background: #000 !important; color: #fff !important; }
body #colophon * { border-color: #333 !important; }
body .newsmatic_site_block_border_top #theme-content .row > *::before, body [class*="block-border"]::before { background: #000 !important; }

/* the theme sets its accent on body.newsmatic_* (more specific than plain body) */
html body.newsmatic_main_body, html body.newsmatic_font_typography, html body.newsmatic_dark_mode {
  --theme-color-red: #000 !important; --theme-block-top-border-color: #000 !important;
  --sidebar-toggle-color-hover: #000 !important; --search-color-hover: #000 !important; --mode-toggle-color-hover: #000 !important;
  --move-to-top-background-color: #000 !important; --move-to-top-background-color-hover: #333 !important;
}
body .site-footer .row-one.full-width, body .site-footer .row-one .full-width { border-top-color: #000 !important; }
body .newsmatic-category-no-bk .post-categories .cat-item a { color: #000 !important; }

/* header builder rows draw their rule with ::before (theme green by default) */
body .bb-bldr-row::before { border-color: #000 !important; }
body { --wpm-accent: #000; }
