/* =========================================================
   SCIENTIFIC LITERATURE HEADER
   Ready-to-upload version
========================================================= */

:root{
  --slh-primary:#061b7a;
  --slh-primary-2:#0b2aa5;
  --slh-cyan:#42d6ce;
  --slh-text:#151b2a;
  --slh-muted:#667085;
  --slh-border:#e7ebf2;
  --slh-bg:#ffffff;
  --slh-soft:#f7f9fc;
  --slh-shadow:0 20px 55px rgba(17,34,85,.14);
  --slh-wrap:1440px;
}

*{box-sizing:border-box}

body{
  margin:0;
}

.slh-header{
  position:sticky;
  top:0;
  z-index:9999;
  font-family:Inter,Arial,Helvetica,sans-serif;
  background:#fff;
  box-shadow:0 5px 22px rgba(10,27,70,.07);
}

.slh-wrap{
  width:min(var(--slh-wrap), calc(100% - 40px));
  margin:0 auto;
}

/* SPECIAL ISSUE TICKER */

.slh-special-bar{
  height:34px;
  overflow:hidden;
  background:linear-gradient(90deg,#04155f,#072684);
  color:#fff;
}

.slh-special-inner{
  height:34px;
  display:flex;
  align-items:center;
  gap:14px;
}

.slh-special-label{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:var(--slh-cyan);
  color:#04155f;
  padding:5px 11px;
  border-radius:999px;
  font-size:10px;
  line-height:1;
  font-weight:900;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.05em;
}

.slh-special-star{font-size:9px}

.slh-special-window{
  flex:1;
  min-width:0;
  overflow:hidden;
  position:relative;
  -webkit-mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent);
  mask-image:linear-gradient(to right,transparent,#000 3%,#000 97%,transparent);
}

.slh-special-track{
  display:flex;
  align-items:center;
  width:max-content;
  height:34px;
  animation:slhSpecialTicker 42s linear infinite;
  will-change:transform;
}

.slh-special-window:hover .slh-special-track{
  animation-play-state:paused;
}

.slh-special-item{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding-right:34px;
  white-space:nowrap;
}

.slh-special-journal{
  color:#69e7df;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.035em;
}

.slh-special-dot{
  width:4px;
  height:4px;
  flex:0 0 4px;
  border-radius:50%;
  background:#dfb94f;
}

.slh-special-item a{
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
}

.slh-special-item a:hover{
  color:#78eee6;
}

@keyframes slhSpecialTicker{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}

/* MAIN BAR */

.slh-bar{
  position:relative;
  background:rgba(255,255,255,.98);
}

.slh-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  gap:32px;
}

.slh-brand{
  min-width:170px;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  line-height:.92;
  letter-spacing:.02em;
}

.slh-brand-scientific{
  color:var(--slh-primary);
  font-size:22px;
  font-weight:900;
}

.slh-brand-literature{
  margin-top:5px;
  color:#323949;
  font-size:13px;
  font-weight:700;
  letter-spacing:.22em;
}

.slh-nav{
  flex:1;
  display:flex;
  align-items:stretch;
  height:76px;
}

.slh-nav-group{
  display:flex;
  align-items:stretch;
}

.slh-nav-item{
  position:relative;
  border:0;
  background:transparent;
  color:#283044;
  padding:0 15px;
  display:flex;
  align-items:center;
  gap:7px;
  cursor:pointer;
  font-size:14px;
  font-weight:700;
}

.slh-nav-item::after{
  content:"";
  position:absolute;
  left:15px;
  right:15px;
  bottom:0;
  height:3px;
  background:var(--slh-primary);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .18s ease;
}

.slh-nav-item:hover,
.slh-nav-item.is-active{
  color:var(--slh-primary);
}

.slh-nav-item:hover::after,
.slh-nav-item.is-active::after{
  transform:scaleX(1);
}

.slh-nav-item svg{
  width:10px;
  height:7px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  transition:transform .18s ease;
}

.slh-nav-item.is-active svg{
  transform:rotate(180deg);
}

.slh-actions{
  display:flex;
  align-items:center;
  gap:15px;
}

.slh-divider{
  width:1px;
  height:28px;
  background:#e3e7ef;
}

.slh-submit{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:11px 17px;
  background:var(--slh-primary);
  color:#fff;
  border-radius:7px;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}

.slh-submit:hover{
  background:var(--slh-primary-2);
}

.slh-submit svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.slh-login{
  color:var(--slh-primary);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  white-space:nowrap;
}

.slh-search-toggle,
.slh-mobile-toggle{
  border:0;
  background:transparent;
  cursor:pointer;
}

.slh-search-toggle{
  width:39px;
  height:39px;
  border-radius:50%;
  display:grid;
  place-items:center;
}

.slh-search-toggle:hover{
  background:#f1f4fa;
}

.slh-search-toggle svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:#1e2740;
  stroke-width:1.8;
}

.slh-mobile-toggle{
  display:none;
  width:42px;
  height:42px;
  padding:9px;
  flex-direction:column;
  justify-content:center;
  gap:5px;
}

.slh-mobile-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:#1c2843;
  transition:.2s ease;
}

/* SEARCH PANEL */

.slh-search-panel{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  z-index:30;
  background:#fff;
  border-top:1px solid var(--slh-border);
  box-shadow:0 18px 35px rgba(25,42,85,.12);
  max-height:0;
  opacity:0;
  visibility:hidden;
  overflow:hidden;
  transition:max-height .25s ease, opacity .18s ease, visibility .18s ease;
}

.slh-search-panel.is-open{
  max-height:130px;
  opacity:1;
  visibility:visible;
}

.slh-search-form{
  min-height:88px;
  display:grid;
  grid-template-columns:minmax(220px,1fr) 170px auto auto;
  align-items:center;
  gap:10px;
}

.slh-search-form input,
.slh-search-form select{
  height:44px;
  border:1px solid #dce2ec;
  border-radius:7px;
  background:#fff;
  padding:0 13px;
  outline:none;
  font-size:14px;
}

.slh-search-form input:focus,
.slh-search-form select:focus{
  border-color:#8798d4;
  box-shadow:0 0 0 3px rgba(6,27,122,.08);
}

.slh-search-form > button[type="submit"]{
  height:44px;
  border:0;
  border-radius:7px;
  background:var(--slh-primary);
  color:#fff;
  padding:0 22px;
  font-weight:800;
  cursor:pointer;
}

.slh-search-close{
  width:42px;
  height:42px;
  border:0;
  background:#f1f4f8;
  border-radius:50%;
  cursor:pointer;
  font-size:24px;
  line-height:1;
  color:#344054;
}

/* MEGA MENU */

.slh-mega{
  position:absolute;
  left:0;
  right:0;
  top:100%;
  z-index:20;
  background:#fff;
  border-top:1px solid #e8edf4;
  box-shadow:var(--slh-shadow);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(8px);
  transition:opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.slh-mega.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}

.slh-mega-inner{
  width:min(var(--slh-wrap), calc(100% - 40px));
  margin:0 auto;
  padding:24px 0 27px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px 38px;
}

.slh-column{
  min-width:0;
}

.slh-column a{
  display:block;
  padding:9px 9px;
  color:#344054;
  text-decoration:none;
  border-radius:6px;
  font-size:13px;
  line-height:1.35;
  font-weight:600;
}

.slh-column a:hover{
  background:#f5f7fb;
  color:var(--slh-primary);
}

.slh-column a.slh-view-all{
  color:var(--slh-primary);
  font-weight:900;
}

.slh-pointer{
  display:none;
}

/* MOBILE */

.slh-mobile-menu{
  position:fixed;
  top:0;
  right:-100%;
  z-index:10002;
  width:min(390px,90vw);
  height:100vh;
  overflow:auto;
  background:#fff;
  box-shadow:-25px 0 65px rgba(11,27,66,.18);
  padding:22px;
  transition:right .27s ease;
}

.slh-mobile-menu.is-open{
  right:0;
}

.slh-mobile-menu-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-bottom:18px;
  margin-bottom:8px;
  border-bottom:1px solid #e7ebf2;
  color:var(--slh-primary);
}

.slh-mobile-close{
  border:0;
  background:#f2f5f9;
  width:38px;
  height:38px;
  border-radius:50%;
  cursor:pointer;
  font-size:24px;
  color:#263248;
}

.slh-mobile-menu > a{
  display:block;
  padding:14px 8px;
  border-bottom:1px solid #eef1f5;
  color:#273248;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}

.slh-mobile-menu > a:hover{
  color:var(--slh-primary);
}

.slh-mobile-menu .slh-mobile-submit{
  margin-top:18px;
  border:0;
  border-radius:7px;
  background:var(--slh-primary);
  color:#fff;
  text-align:center;
}

.slh-overlay{
  position:fixed;
  inset:0;
  z-index:10001;
  background:rgba(8,18,46,.35);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:.2s ease;
}

body.slh-mobile-open .slh-overlay{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

body.slh-mobile-open{
  overflow:hidden;
}

@media(max-width:1200px){
  .slh-inner{gap:18px}
  .slh-nav-item{padding:0 10px;font-size:13px}
  .slh-submit{padding:10px 13px}
}

@media(max-width:991px){

  .slh-wrap{
    width:min(100% - 28px, var(--slh-wrap));
  }

  .slh-inner{
    min-height:68px;
  }

  .slh-nav,
  .slh-divider,
  .slh-submit,
  .slh-login{
    display:none;
  }

  .slh-brand{
    flex:1;
  }

  .slh-actions{
    margin-left:auto;
    gap:7px;
  }

  .slh-mobile-toggle{
    display:flex;
  }

  .slh-mega{
    display:none !important;
  }

  .slh-search-panel{
    position:absolute;
  }

  .slh-search-form{
    padding:14px 0;
    grid-template-columns:1fr auto;
  }

  .slh-search-form select{
    grid-column:1 / 2;
  }

  .slh-search-form > button[type="submit"]{
    grid-column:2 / 3;
    grid-row:1 / 2;
  }

  .slh-search-close{
    grid-column:2 / 3;
    grid-row:2 / 3;
  }

  .slh-special-inner{
    gap:8px;
  }

  .slh-special-label{
    font-size:9px;
    padding:5px 8px;
  }

  .slh-special-journal{
    display:none;
  }

  .slh-special-item a{
    font-size:11px;
  }
}

@media(max-width:560px){

  .slh-brand-scientific{
    font-size:18px;
  }

  .slh-brand-literature{
    font-size:10px;
  }

  .slh-special-bar,
  .slh-special-inner,
  .slh-special-track{
    height:31px;
  }

  .slh-special-label{
    font-size:8px;
  }

  .slh-search-form{
    grid-template-columns:1fr 40px;
  }

  .slh-search-form select{
    display:none;
  }
}
