/* Header: one black bar (logo left, menu centre, search right), replacing the theme's white two-row
   "large" header. The theme's bar already holds a small logo, shown only in its sticky state and on
   phones; it is shown always here, and the big logo row above it is hidden. The bar's logo is the
   white logo the footer uses (server.js swaps the file). Same layout when the bar sticks on scroll. */

/* the black bar (also the phone menu's own header) */
.navbar-primary, .navbar-primary .navbar-wrap, .offcanvas-header { background-color: #000 !important; }
.navbar-primary .navbar-wrap { border-bottom: 0; }
.navbar-primary .navbar-wrap, .navbar-primary .navbar-content { height: 64px; }

/* menu, search and menu-button icons in white */
.navbar-primary .navbar-nav > li > a { color: #fff; }
.navbar-primary .navbar-nav > li > a:hover,
.navbar-primary .navbar-nav > li > a:focus,
.navbar-primary .navbar-nav > li.current-menu-item > a,
.navbar-primary .navbar-nav > li.current-category-ancestor > a { color: #bdbdbd; }
.navbar-primary .navbar-toggle-search, .navbar-primary .navbar-toggle-offcanvas,
.navbar-primary .navbar-toggle-search .cs-icon, .navbar-primary .navbar-toggle-offcanvas .cs-icon,
.offcanvas-header .toggle-offcanvas, .offcanvas-header .toggle-offcanvas .cs-icon { color: #fff; }
.navbar-primary .navbar-toggle-search:hover, .navbar-primary .navbar-toggle-offcanvas:hover { color: #bdbdbd; }

/* the bar's logo */
.navbar-primary .navbar-brand img, .offcanvas-header .navbar-brand img { max-height: 30px; }

@media (min-width: 1020px) {
  /* the big centred logo row is gone; the bar's logo is always shown, on the left */
  .header-large .navbar-topbar { display: none; }
  .header-large .navbar-bottombar .navbar-brand { transform: none; opacity: 1; margin-right: 0; transition: none; }
  /* on desktop every section is in the bar, so the menu button is not needed (phones keep it) */
  .header-large .navbar-bottombar .navbar-toggle-offcanvas { display: none; }
  .navbar-primary .navbar-brand img { max-height: 32px; }
}

/* "Manage cookies" moved from the menu to the footer (lib/footer.js, assets/footer.css) */

/* Article header panel (category, headline, reading time, author, date, shares): black with white
   text, matching the header bar, instead of the theme's white panel over the photo */
.entry-header.entry-header-large { background-color: #000; color: #fff; }
.entry-header.entry-header-large .entry-title { color: #fff; }
.entry-header.entry-header-large .entry-title::after { background-color: #fff; }
.entry-header.entry-header-large .post-categories a { color: #bdbdbd; }
.entry-header.entry-header-large .post-categories a:hover { color: #fff; }
.entry-header.entry-header-large .post-meta,
.entry-header.entry-header-large .post-meta li,
.entry-header.entry-header-large .post-meta .by,
.entry-header.entry-header-large .cs-icon { color: #a6a6a6; }
.entry-header.entry-header-large .post-meta a,
.entry-header.entry-header-large .meta-author a { color: #fff; }
.entry-header.entry-header-large .post-meta a:hover { color: #bdbdbd; }
/* the editorial avatar is a black circle: a thin white ring keeps it visible on black */
.entry-header.entry-header-large .meta-author img { box-shadow: 0 0 0 1px #fff; border-radius: 50%; }
.entry-header.entry-header-large .pk-share-buttons-total,
.entry-header.entry-header-large .pk-share-buttons-total * { color: #a6a6a6; }
/* on phones and tablets the theme gives the panel no inner spacing (the white panel didn't need it) */
@media (max-width: 1019px) {
  .entry-header.entry-header-large { padding: 1.5rem 1.25rem 1.25rem; }
}
