﻿:root {
  --site-header-ink: #15202b;
  --site-header-brand: #0f7f95;
  --site-header-brand-dark: #0b5f70;
  --site-header-border: rgba(21, 32, 43, 0.1);
}

#fh5co-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--site-header-border);
  box-shadow: 0 10px 30px rgba(21, 32, 43, 0.06);
  position: relative;
  z-index: 20;
}

#fh5co-header .header-inner {
  min-height: 96px;
  height: auto;
  width: 100%;
  padding: 0 20px;
  display: flex;
  direction: rtl;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  float: none;
}

#fh5co-header .header-inner > br { display: none; }

#fh5co-header h1,
#fh5co-header .site-logo,
#fh5co-header nav {
  margin: 0;
  padding: 0;
  float: none;
  left: auto;
}

#fh5co-header h1,
#fh5co-header .site-logo {
  flex: 0 0 auto;
  line-height: 1;
}

#fh5co-header h1 img,
#fh5co-header .site-logo img {
  display: block;
  width: 230px;
  max-width: 30vw;
  height: auto;
}

#fh5co-header nav { flex: 1 1 auto; }

#fh5co-header nav ul {
  display: flex;
  direction: rtl;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

#fh5co-header nav ul li { flex: 0 0 auto; }

#fh5co-header nav ul li a,
#fh5co-header nav ul li a font,
#fh5co-header nav ul li a b {
  font-family: 'Almoni', 'Almoni Neue', 'Almoni DL', 'Almoni Tzar', 'Assistant', Arial, sans-serif !important;
}

#fh5co-header nav ul li a {
  color: var(--site-header-ink);
  font-size: 17px;
  font-weight: 400;
  border-radius: 999px;
  padding: 10px 13px;
  white-space: nowrap;
}

#fh5co-header nav ul li.cta { margin-left: 20px; }

#fh5co-header nav ul li.cta a {
  padding: 9px 20px !important;
  background: var(--site-header-brand) !important;
  border: 2px solid var(--site-header-brand) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(15, 127, 149, 0.22);
}

#fh5co-header nav ul li.cta a:hover {
  background: var(--site-header-brand-dark) !important;
  border-color: var(--site-header-brand-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

#fh5co-header nav ul li.cta.mk-login-youtube-group { position: relative; }

#fh5co-header nav ul li.cta.mk-login-youtube-group a.mk-youtube-link {
  position: absolute;
  left: -46px;
  top: 50%;
  width: 36px;
  height: 36px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 50%;
  background: var(--site-header-brand) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(15, 127, 149, 0.22);
  transform: translateY(-50%);
}

#fh5co-header nav ul li.cta.mk-login-youtube-group a.mk-youtube-link:hover {
  background: var(--site-header-brand-dark) !important;
  transform: translateY(-50%) translateY(-1px);
}

#fh5co-header nav ul li.cta.mk-login-youtube-group a.mk-youtube-link:after,
#fh5co-header nav ul li.cta.mk-login-youtube-group a.mk-youtube-link:hover:after { display: none; }

@media (max-width: 1200px) and (min-width: 769px) {
  #fh5co-header .header-inner { gap: 12px; padding: 0 10px; }
  #fh5co-header h1 img, #fh5co-header .site-logo img { width: 190px; }
  #fh5co-header nav ul { gap: 2px; }
  #fh5co-header nav ul li a { font-size: 15px; padding: 9px 8px; }
  #fh5co-header nav ul li.cta { margin-left: 10px; }
  #fh5co-header nav ul li.cta a { padding: 8px 13px !important; }
}

@media (max-width: 768px) {
  #fh5co-header .header-inner { min-height: 82px; justify-content: center; }
  #fh5co-header h1 img, #fh5co-header .site-logo img { width: 210px; max-width: 72vw; }
}
