/* Employer Brand Research: Janeway OLH theme override (press and repository pages).
   Brand Guidelines v1.1, October 2026.
   Server path: /srv/janeway/app/src/files/styling/press/override.scss
   Compiled by "janeway-manage build_assets" into static/OLH/css/press_override.css.
   Fonts: Clear Sans (Apache 2.0), self-hosted from /static/ebr/fonts/.
   Colours: only the five approved values below. No gradients, no other accents. */
@font-face {
  font-family: "Clear Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/ebr/fonts/ClearSans-Regular.woff2") format("woff2"); }

@font-face {
  font-family: "Clear Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/ebr/fonts/ClearSans-Italic.woff2") format("woff2"); }

@font-face {
  font-family: "Clear Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/ebr/fonts/ClearSans-Bold.woff2") format("woff2"); }

@font-face {
  font-family: "Clear Sans";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/static/ebr/fonts/ClearSans-BoldItalic.woff2") format("woff2"); }

/* Research Cobalt: identity, headings accents, links, actions */
/* main backgrounds */
/* long-form text, labels */
/* subtle panels */
/* short labels only, always with Ink text */
/* hairlines: Ink at low opacity */
/* secondary text: Ink, still above 4.5:1 on White and Paper */
/* If a New Order web licence is bought, add its @font-face above and put "New Order" first in $head-font. */
/* OLH colour variables */
:root {
  --primary-dark-color: #2454E6;
  --very-dark-primary-color: #1C2433;
  --primary-light-color: #2454E6;
  --topbar-background-color: #FFFFFF;
  --menu-background-color: #FFFFFF;
  --menu-alternative-background-color: #FFFFFF;
  --menu-foreground-color: #1C2433;
  --link-color: #2454E6;
  --toc-link-color: #2454E6;
  --figure-caption-background-color: #F6F7FB;
  --figure-caption-color: #1C2433; }

/* Type */
html, body {
  background: #FFFFFF; }

body, p, li, a, td, th, dd, dt, label, input, select, textarea, button, .button, small, .menu a {
  font-family: "Clear Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important; }

body {
  color: #1C2433;
  font-weight: 400;
  line-height: 1.6; }

p, li {
  font-size: 1.0625rem;
  line-height: 1.6; }

small, small li, .article-menu li {
  font-size: 0.9375rem; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Clear Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-weight: 700;
  color: #1C2433;
  letter-spacing: -0.01em;
  line-height: 1.2; }

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem; }

h2 {
  font-size: 1.625rem;
  margin-top: 1.5rem; }

h3 {
  font-size: 1.25rem; }

/* Links: Cobalt on White or Paper only */
a {
  color: #2454E6;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px; }

a:hover, a:focus {
  color: #1C2433; }

a:focus-visible, .button:focus-visible {
  outline: 2px solid #2454E6;
  outline-offset: 2px; }

/* Header: White, Cobalt lockup (H1, with name), clear space kept by padding */
.main-header {
  background: #FFFFFF;
  border-bottom: 1px solid rgba(28, 36, 51, 0.14); }

.main-header .main.top-bar {
  background: #FFFFFF;
  padding: 0;
  height: auto !important; }

/* Clear space: at least half the head width (about 10px at this size); 16px used */
.main-header .top-bar-left.header-image-bar {
  border: 0 !important;
  padding: 16px 24px;
  height: auto !important;
  display: flex;
  align-items: center; }

.main-header .header-image-bar img,
.main-header .header-image-bar svg,
.main-header .header-image-bar .top-bar-image {
  display: block;
  height: 76px !important;
  width: auto !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important; }

.main-header .top-bar-right {
  border: 0 !important;
  background: #FFFFFF;
  padding: 40px 24px 0 0; }

.main-header .top-bar-right p {
  margin: 0;
  font-size: 1rem;
  color: rgba(28, 36, 51, 0.78); }

.main-header .top-bar-right a, .main-header .dropdown.menu > li > a {
  color: #1C2433;
  text-decoration: none;
  font-weight: 400; }

.main-header .top-bar-right a:hover {
  color: #2454E6;
  text-decoration: underline; }

.main-header .menu-icon::after {
  background: #1C2433;
  box-shadow: 0 7px 0 #1C2433, 0 14px 0 #1C2433; }

.main-header .search-toggle, .main-header .search-toggle i {
  color: #1C2433; }

.main-header .title-bar.toggle {
  background: transparent; }

@media screen and (min-width: 40em) {
  .main-header .title-bar.toggle {
    display: none !important; } }

/* Primary navigation strip */
.main-header #main-menu, .main-header #main-menu .menu {
  background: #FFFFFF; }

.main-header #main-menu {
  border-top: 1px solid rgba(28, 36, 51, 0.14);
  padding: 0 16px; }

.main-header #main-menu .menu > li > a {
  color: #1C2433;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.95rem 1rem;
  border-bottom: 3px solid transparent; }

.main-header #main-menu .menu > li > a:hover,
.main-header #main-menu .menu > li > a:focus {
  color: #2454E6;
  border-bottom-color: #2454E6; }

/* Buttons and actions: Cobalt with White text (approved pair), square corners */
.button, .box .button, button.button, input[type="submit"].button {
  background-color: #2454E6;
  color: #FFFFFF;
  border: 0;
  border-radius: 0;
  font-weight: 700;
  letter-spacing: 0; }

.button:hover, .button:focus, .box .button:hover {
  background-color: #1C2433;
  color: #FFFFFF; }

.button.hollow, .button.secondary {
  background: #FFFFFF;
  color: #2454E6;
  border: 2px solid #2454E6; }

.button.hollow:hover, .button.secondary:hover {
  background: #2454E6;
  color: #FFFFFF; }

/* Forms */
input[type="text"], input[type="search"], input[type="email"], input[type="password"], select, textarea {
  border: 1px solid rgba(28, 36, 51, 0.14);
  box-shadow: none;
  color: #1C2433; }

input:focus, select:focus, textarea:focus {
  border-color: #2454E6;
  box-shadow: 0 0 0 1px #2454E6; }

::placeholder {
  color: rgba(28, 36, 51, 0.66);
  opacity: 1; }

.input-group-label {
  background: #F6F7FB;
  border-color: rgba(28, 36, 51, 0.14);
  color: #1C2433; }

/* Panels */
.callout {
  background: #F6F7FB;
  border: 0;
  color: #1C2433; }

.box, .card {
  border-color: rgba(28, 36, 51, 0.14); }

.article-menu {
  background: #F6F7FB;
  padding: 1.25rem 1.5rem; }

.article-menu h2 {
  margin-top: 0;
  font-size: 1.25rem; }

.article-menu ul {
  margin-left: 1.1rem; }

/* Working paper listings (home page cards are .callout) */
.callout p small a, .callout h3 a {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none; }

.callout p small a:hover {
  text-decoration: underline; }

.callout p small {
  font-size: 0.9375rem; }

.callout p {
  line-height: 1.45;
  margin-bottom: 0.6rem; }

.ebr-supporting {
  font-size: 1.25rem;
  color: #1C2433;
  margin: -0.25rem 0 1.75rem; }

.box.article, .box {
  background: #FFFFFF; }

.box h3 a, .box h2 a, .box .content a {
  font-weight: 700;
  text-decoration: none; }

.box h3 a:hover, .box .content a:hover {
  text-decoration: underline; }

.box .date, .box p.date {
  color: rgba(28, 36, 51, 0.78); }

/* Short label, Ink on Citrus (used by the ebr theme on the paper page) */
.ebr-label {
  display: inline-block;
  background: #DFFF70;
  color: #1C2433;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  margin-bottom: 0.9rem; }

.ebr-note {
  color: rgba(28, 36, 51, 0.78); }

/* Pagination */
.pagination .current {
  background: #2454E6;
  color: #FFFFFF; }

.pagination a {
  color: #1C2433;
  text-decoration: none; }

.pagination a:hover {
  background: #F6F7FB;
  color: #2454E6; }

/* Foundation sticky sidebar (list page): never wider than its column */
.sticky {
  max-width: 100%; }

blockquote {
  border-left: 4px solid #2454E6;
  color: #1C2433; }

hr {
  border-bottom-color: rgba(28, 36, 51, 0.14); }

table thead {
  background: #F6F7FB; }

table tbody tr:nth-child(even) {
  background: #F6F7FB; }

/* Footer: Paper, so the Cobalt lockup sits on an approved background */
footer.main-footer {
  background: #F6F7FB;
  border-top: 1px solid rgba(28, 36, 51, 0.14);
  height: auto;
  min-height: 120px;
  padding: 0;
  margin: 0; }

footer.main-footer .logo-wrapper, footer.main-footer .very-dark-primary-color {
  background: #F6F7FB !important;
  height: auto;
  padding: 22px 24px;
  text-align: left; }

footer.main-footer .logo-wrapper svg, footer.main-footer .logo-wrapper img {
  display: block;
  height: 72px;
  width: auto;
  max-width: none; }

footer.main-footer, footer.main-footer p, footer.main-footer li {
  color: #1C2433; }

footer.main-footer a {
  color: #1C2433;
  text-decoration: none; }

footer.main-footer a:hover {
  color: #2454E6;
  text-decoration: underline; }

footer.main-footer .inline-list {
  margin-top: 2.2rem; }

footer.main-footer .inline-list li a {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  font-size: 0.9375rem; }

/* Small screens: keep the full-name lockup, at a size where the name stays readable */
@media screen and (max-width: 39.9375em) {
  .main-header .top-bar-left.header-image-bar {
    padding: 12px 16px;
    justify-content: space-between;
    width: 100%; }
  .main-header .header-image-bar img,
  .main-header .header-image-bar svg,
  .main-header .header-image-bar .top-bar-image {
    height: 64px !important; }
  h1 {
    font-size: 1.875rem; }
  footer.main-footer .inline-list {
    margin-top: 0.5rem; } }
