﻿.hg-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(3,4,5,.98);
  backdrop-filter:blur(12px);
}

.admin-bar .hg-header{top:32px}

.hg-header-main{
  min-height:108px;
  position:relative;
  background:#030405;
}

.hg-header-main::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(2,3,4,.15), rgba(2,3,4,.08));
  pointer-events:none;
}

.hg-header-main::after{display:none;}

.hg-header-inner{
  width:var(--hg-container);
  margin:0 auto;
  min-height:108px;
  display:grid;
  grid-template-columns:1fr 230px 1fr;
  align-items:start;
  gap:24px;
  position:relative;
  z-index:2;
}

.hg-menu-left ul,
.hg-menu-right ul{justify-content:flex-end; padding-top:34px;}

.hg-menu-left ul{justify-content:flex-start; padding-top:34px;}

.hg-menu-right ul{justify-content:flex-end}

.hg-menu-left a,
.hg-menu-right a{
  font-family:var(--hg-serif-font);
  font-size:18px;
  color:var(--hg-text);
  white-space:nowrap;
  transition:.22s ease;
}

.hg-menu-left a:hover,
.hg-menu-right a:hover{color:var(--hg-gold-2)}

.hg-logo-bay{
  position:relative;
  height:124px;
  margin-bottom:-34px;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  isolation:isolate;
}

.hg-logo-bay::before{display:none;}

.hg-logo-bay::after{display:none;}

.hg-logo-link{
  width:132px;
  margin-top:8px;
  display:block;
  position:relative;
}

.hg-logo-link img{
  width:132px;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.58));
}

.hg-lang{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:24px;
  flex:0 0 34px;
  border-radius:5px;
  transition:transform .2s ease, filter .2s ease;
}

.hg-lang:hover{transform:translateY(-1px);filter:brightness(1.08)}

.hg-lang:focus-visible{outline:2px solid var(--hg-gold-2);outline-offset:4px}

.hg-flag-tr,
.hg-flag-en{
  position:relative;
  display:block;
  width:30px;
  height:20px;
  border-radius:3px;
  overflow:hidden;
  box-shadow:0 0 0 1px rgba(255,255,255,.18), 0 8px 18px rgba(0,0,0,.30);
}

.hg-flag-tr{
  background:#e30a17;
}

.hg-flag-tr::before{
  content:"";
  position:absolute;
  left:8px;
  top:5px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#fff;
}

.hg-flag-tr::after{
  content:"";
  position:absolute;
  left:11px;
  top:5px;
  width:10px;
  height:10px;
  border-radius:50%;
  background:#e30a17;
  box-shadow:7px 1px 0 -3px #fff;
}

.hg-flag-en{
  background:
    linear-gradient(0deg, transparent 39%, #fff 39% 61%, transparent 61%),
    linear-gradient(90deg, transparent 39%, #fff 39% 61%, transparent 61%),
    linear-gradient(0deg, transparent 44%, #c8102e 44% 56%, transparent 56%),
    linear-gradient(90deg, transparent 44%, #c8102e 44% 56%, transparent 56%),
    linear-gradient(34deg, transparent 45%, #fff 45% 55%, transparent 55%),
    linear-gradient(146deg, transparent 45%, #fff 45% 55%, transparent 55%),
    linear-gradient(34deg, transparent 48%, #c8102e 48% 52%, transparent 52%),
    linear-gradient(146deg, transparent 48%, #c8102e 48% 52%, transparent 52%),
    #012169;
}

@media (max-width:1320px){
  .hg-header-inner{grid-template-columns:1fr;gap:12px;padding:12px 0 24px}
  .hg-logo-bay{order:-1;margin-bottom:0;height:126px}
  .hg-logo-bay::before{height:126px}
  .hg-logo-link{width:128px}
  .hg-logo-link img{width:128px}
  .hg-menu-left ul,.hg-menu-right ul{justify-content:center;gap:24px;flex-wrap:wrap}
}

@media (max-width:800px){
  .admin-bar .hg-header{top:46px}
  .hg-header-main{min-height:auto}
  .hg-menu-left ul,.hg-menu-right ul{gap:16px}
  .hg-menu-left a,.hg-menu-right a{font-size:15px}
}
/* WordPress menu reset */

.hg-header,
.hg-header *{
  box-sizing:border-box;
}

.hg-menu-left ul,
.hg-menu-right ul,
.hg-menu-left .menu,
.hg-menu-right .menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:42px;
  flex-wrap:nowrap;
}

.hg-menu-left li,
.hg-menu-right li,
.hg-menu-left .menu-item,
.hg-menu-right .menu-item{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  white-space:nowrap;
}

.hg-menu-left li::marker,
.hg-menu-right li::marker,
.hg-menu-left .menu-item::marker,
.hg-menu-right .menu-item::marker{
  content:"";
  font-size:0;
}

.hg-menu-left > div,
.hg-menu-right > div{
  display:flex;
  align-items:center;
}

.hg-header{
  background:transparent;
  backdrop-filter:none;
  box-shadow:none;
  isolation:isolate;
}

.hg-header-main{
  min-height:176px;
  background:none;
  background-image:none;
  background-color:transparent;
  position:relative;
  overflow:visible;
}

.hg-header-main::before,
.hg-header-main::after,
.hg-logo-bay::before,
.hg-logo-bay::after{
  display:none;
  content:none;
  background:none;
  border:0;
  box-shadow:none;
}

.hg-header-bg{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:176px;
  overflow:visible;
  background:none;
  pointer-events:none;
  z-index:1;
}

.hg-header-rule{
  position:absolute;
  left:0;
  right:0;
  top:0;
  width:100%;
  height:100%;
  display:block;
  overflow:visible;
}

.hg-header-mask-fill{
  fill:url(#hgHeaderFill);
}

.hg-header-mask-line{
  fill:none;
  stroke:#b17a12;
  stroke-width:1.15;
  vector-effect:non-scaling-stroke;
  stroke-linecap:round;
  filter:drop-shadow(0 0 4px rgba(209,153,34,.36));
}

.hg-header-inner{
  min-height:176px;
  grid-template-columns:minmax(420px, 1fr) 260px minmax(420px, 1fr);
  gap:18px;
  align-items:start;
  position:relative;
  z-index:2;
  background:transparent;
}

.hg-menu-left{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
}

.hg-menu-left ul,
.hg-menu-left .menu{
  padding-top:48px;
  gap:36px;
}

.hg-logo-bay{
  height:176px;
  margin:0;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  position:relative;
}

.hg-logo-link{
  width:156px;
  max-width:156px;
  margin-top:8px;
  transform:translateY(0);
}

.hg-logo-link img{
  width:156px;
  max-width:156px;
  height:auto;
  display:block;
  filter:none;
  transform:none;
}

.hg-lang,
.hg-menu-right{
  flex:0 0 auto;
}

.hg-menu-right{
  display:flex;
  align-items:flex-start;
}

.hg-menu-right ul,
.hg-menu-right .menu{
  padding-top:0;
  gap:24px;
  flex-wrap:nowrap;
}

.hg-menu-left a,
.hg-menu-right a{
  line-height:1;
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
}

@media (max-width:1320px){
.hg-header-main{
    min-height:auto;
  }

  .hg-header-bg{
    height:160px;
  }

  .hg-header-inner{
    grid-template-columns:1fr;
    min-height:auto;
    padding:14px 0 20px;
    gap:14px;
  }

  .hg-logo-bay{
    order:-1;
    height:160px;
  }

  .hg-logo-link,
  .hg-logo-link img{
    width:156px;
    max-width:156px;
    transform:none;
  }

  .hg-menu-left ul,
  .hg-menu-left .menu,
  .hg-menu-right ul,
  .hg-menu-right .menu{
    padding-top:0;
  }
}

@media (max-width:800px){
.hg-header-bg{
    height:138px;
  }

  .hg-header-rule{
    height:100%;
  }

  .hg-logo-bay{
    height:116px;
  }

  .hg-logo-link,
  .hg-logo-link img{
    width:110px;
    max-width:110px;
  }

  .hg-menu-left ul,
  .hg-menu-left .menu,
  .hg-menu-right ul,
  .hg-menu-right .menu{
    gap:16px;
  }
}

.hg-menu-left,
.hg-menu-right{
  align-items:center;
}

.hg-menu-left ul,
.hg-menu-left .menu,
.hg-menu-right ul,
.hg-menu-right .menu{
  align-items:center;
  gap:34px;
}

.hg-menu-left a,
.hg-menu-right a{
  position:relative;
  min-height:32px;
  padding:9px 0 10px;
  font-family:var(--hg-serif-font);
  font-size:19px;
  font-weight:700;
  line-height:1.15;
  color:rgba(255,250,242,.94);
  text-shadow:0 8px 18px rgba(0,0,0,.42);
  transition:color .2s ease;
}

.hg-menu-left a::after,
.hg-menu-right a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:0;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, transparent, var(--hg-gold-2), transparent);
  box-shadow:0 0 14px rgba(242,208,120,.42);
  transform:translateX(-50%);
  transition:width .22s ease;
}

.hg-menu-left a:hover,
.hg-menu-right a:hover,
.hg-menu-left .current-menu-item > a,
.hg-menu-right .current-menu-item > a,
.hg-menu-left .current_page_item > a,
.hg-menu-right .current_page_item > a,
.hg-menu-left .current-menu-ancestor > a,
.hg-menu-right .current-menu-ancestor > a{
  color:var(--hg-gold-2);
}

.hg-menu-left a:hover::after,
.hg-menu-right a:hover::after,
.hg-menu-left .current-menu-item > a::after,
.hg-menu-right .current-menu-item > a::after,
.hg-menu-left .current_page_item > a::after,
.hg-menu-right .current_page_item > a::after,
.hg-menu-left .current-menu-ancestor > a::after,
.hg-menu-right .current-menu-ancestor > a::after{
  width:100%;
}

.home .hg-menu-left li:first-child > a{
  color:var(--hg-gold-2);
}

.home .hg-menu-left li:first-child > a::after{
  width:100%;
}

@media (max-width:1320px){
.hg-menu-left ul,
  .hg-menu-left .menu,
  .hg-menu-right ul,
  .hg-menu-right .menu{
    gap:24px;
  }
}

@media (max-width:800px){
.hg-menu-left a,
  .hg-menu-right a{
    font-size:15px;
    min-height:28px;
    padding:7px 0 8px;
  }
}

.hg-lang{
  width:42px;
  height:30px;
  flex:0 0 42px;
  padding:3px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:7px;
  background:rgba(255,255,255,.035);
  box-shadow:inset 0 0 0 1px rgba(201,154,52,.08);
}

.hg-lang:hover{
  background:rgba(201,154,52,.10);
  transform:translateY(-1px);
}

.hg-header-tools{
  position:absolute;
  top:48px;
  right:-74px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:0;
  z-index:7;
  white-space:nowrap;
  flex:0 0 auto;
}

.hg-live-visitors{
  position:absolute;
  top:156px;
  right:-190px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  height:30px;
  min-width:50px;
  padding:0 10px;
  flex:0 0 auto;
  border:1px solid rgba(201,154,52,.36);
  border-radius:999px;
  background:rgba(255,255,255,.035);
  box-shadow:inset 0 0 0 1px rgba(201,154,52,.08), 0 10px 24px rgba(0,0,0,.22);
  color:var(--hg-gold-2);
  font-family:var(--hg-sans-font);
  font-size:14px;
  font-weight:800;
  line-height:1;
  white-space:nowrap;
  z-index:9;
}

.hg-live-visitors[hidden]{
  display:none;
}

.hg-live-visitors::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:#4fe08b;
  box-shadow:0 0 0 3px rgba(79,224,139,.14), 0 0 12px rgba(79,224,139,.72);
}

.hg-live-visitors svg{
  width:16px;
  height:16px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  opacity:.92;
}

.hg-live-count{
  min-width:1ch;
  text-align:left;
}

@media (max-width:1320px){
.hg-header-tools{
    position:static;
    flex:0 0 auto;
  }

  .hg-live-visitors{
    position:static;
  }
}

.hg-flag-tr,
.hg-flag-en{
  display:block;
  width:34px;
  height:22px;
  border-radius:3px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  box-shadow:0 0 0 1px rgba(255,255,255,.20), 0 8px 18px rgba(0,0,0,.28);
}

.hg-flag-tr::before,
.hg-flag-tr::after,
.hg-flag-en::before,
.hg-flag-en::after{
  display:none;
}

.hg-flag-tr{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Crect width='36' height='24' fill='%23e30a17'/%3E%3Ccircle cx='15' cy='12' r='6.2' fill='%23fff'/%3E%3Ccircle cx='17.6' cy='12' r='4.9' fill='%23e30a17'/%3E%3Cpath d='M23.6 8.8l.95 2.05 2.24-.27-1.64 1.55.7 2.15-1.98-1.08-1.84 1.3.42-2.22-1.8-1.36 2.25-.22z' fill='%23fff'/%3E%3C/svg%3E");
}

.hg-flag-en{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 40'%3E%3Crect width='60' height='40' fill='%23012169'/%3E%3Cpath d='M0 0l60 40M60 0L0 40' stroke='%23fff' stroke-width='8'/%3E%3Cpath d='M0 0l60 40M60 0L0 40' stroke='%23c8102e' stroke-width='4'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23fff' stroke-width='13'/%3E%3Cpath d='M30 0v40M0 20h60' stroke='%23c8102e' stroke-width='8'/%3E%3C/svg%3E");
}

@media (min-width:1321px){
.hg-header-tools{
    right:-8px;
  }
}

@media (max-width:900px){
.hg-header{
    position:relative;
    top:auto;
  }

  .hg-header-inner{
    width:100%;
    padding-left:12px;
    padding-right:12px;
    overflow:hidden;
  }

  .hg-menu-left,
  .hg-menu-right{
    width:100%;
    overflow:hidden;
  }

  .hg-menu-left ul,
  .hg-menu-right ul{
    width:100%;
    display:flex;
    flex-wrap:nowrap;
    justify-content:flex-start;
    gap:22px;
    overflow-x:auto;
    padding:0 2px 8px;
    scrollbar-width:none;
  }

  .hg-menu-left ul::-webkit-scrollbar,
  .hg-menu-right ul::-webkit-scrollbar{
    display:none;
  }

  .hg-header-tools,
  .hg-live-visitors{
    position:static;
  }
}

.hg-theme-light .hg-header-mask-fill{fill:#fff8ed}

.hg-theme-light .hg-header-mask-line{stroke:#b7831d;filter:drop-shadow(0 0 4px rgba(183,131,29,.20))}

.hg-theme-light .hg-logo-link::before{
  content:"";
  position:absolute;
  inset:16px 16px 34px;
  z-index:-1;
  border-radius:50%;
  background:radial-gradient(circle, rgba(8,7,5,.78) 0%, rgba(8,7,5,.50) 48%, rgba(8,7,5,0) 72%);
  filter:blur(.2px);
}

.hg-theme-light .hg-menu-left a,
.hg-theme-light .hg-menu-right a{color:#241b10;text-shadow:none}

.hg-theme-light .hg-menu-left a:hover,
.hg-theme-light .hg-menu-right a:hover,
.hg-theme-light .hg-menu-left .current-menu-item > a,
.hg-theme-light .hg-menu-right .current-menu-item > a,
.hg-theme-light .hg-menu-left .current_page_item > a,
.hg-theme-light .hg-menu-right .current_page_item > a{color:#9b6b12}

.hg-header-tools{flex-direction:column;gap:8px}

.hg-theme-toggle{
  width:42px;
  height:30px;
  display:inline-grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  color:var(--hg-gold-2);
  background:rgba(255,255,255,.035);
  box-shadow:inset 0 0 0 1px rgba(201,154,52,.08), 0 8px 18px rgba(0,0,0,.20);
  cursor:pointer;
  position:relative;
  transition:transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.hg-theme-toggle:hover{transform:translateY(-1px);background:rgba(201,154,52,.10)}

.hg-theme-toggle:focus-visible{outline:2px solid var(--hg-gold-2);outline-offset:4px}

.hg-theme-toggle-icon{grid-area:1 / 1;display:grid;place-items:center;transition:opacity .18s ease, transform .18s ease}

.hg-theme-toggle svg{width:17px;height:17px;display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.hg-theme-toggle .is-moon{opacity:0;transform:scale(.72) rotate(-14deg)}

.hg-theme-light .hg-theme-toggle{
  color:#7a520a;
  border-color:rgba(122,82,10,.20);
  background:rgba(255,248,237,.82);
  box-shadow:inset 0 0 0 1px rgba(183,131,29,.13), 0 8px 18px rgba(82,55,16,.12);
}

.hg-theme-light .hg-theme-toggle .is-sun{opacity:0;transform:scale(.72) rotate(14deg)}

.hg-theme-light .hg-theme-toggle .is-moon{opacity:1;transform:scale(1) rotate(0)}

.hg-theme-light .hg-lang{
  border-color:rgba(122,82,10,.18);
  background:rgba(255,248,237,.82);
  box-shadow:inset 0 0 0 1px rgba(183,131,29,.10), 0 8px 18px rgba(82,55,16,.12);
}

.hg-theme-light .hg-live-visitors{
  border-color:rgba(173,122,28,.28);
  background:rgba(255,248,237,.88);
  color:#7a520a;
  box-shadow:inset 0 0 0 1px rgba(183,131,29,.10), 0 8px 18px rgba(82,55,16,.12);
}

.hg-header-inner{
  grid-template-columns:minmax(330px,1fr) 220px minmax(330px,1fr) auto;
  column-gap:24px;
}

.hg-menu-left{
  grid-column:1;
}

.hg-logo-bay{
  grid-column:2;
}

.hg-menu-right{
  grid-column:3;
  justify-content:flex-end;
  padding-top:0;
  margin-top:48px;
}

.hg-header-tools{
  grid-column:4;
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  padding-top:0;
  margin-top:48px;
  margin-left:10px;
  flex:0 0 auto;
  white-space:nowrap;
  position:static;
}

.hg-header-tools .hg-live-visitors{
  margin-left:2px;
}

.hg-live-visitors[hidden]{
  display:none;
}

.hg-logo-link{
  display:grid;
  place-items:center;
}

.hg-logo-img{
  grid-area:1 / 1;
  width:156px;
  max-width:156px;
  height:auto;
  display:block;
}

.hg-logo-link .hg-logo-img-light{
  display:none;
}

.hg-theme-light .hg-logo-link::before{
  content:none;
  display:none;
}

.hg-theme-light .hg-logo-link .hg-logo-img-dark{
  display:none;
}

.hg-theme-light .hg-logo-link .hg-logo-img-light{
  display:block;
  filter:drop-shadow(0 8px 18px rgba(89,58,16,.12));
}

.hg-lang{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.035);
  box-shadow:inset 0 0 0 1px rgba(201,154,52,.08), 0 8px 18px rgba(0,0,0,.20);
}

.hg-theme-light .hg-lang{
  border-color:rgba(122,82,10,.22);
  background:rgba(255,248,237,.90);
}

@media (max-width:1320px){
.hg-header-inner{
    grid-template-columns:1fr;
  }

  .hg-menu-left,
  .hg-logo-bay,
  .hg-menu-right,
  .hg-header-tools{
    grid-column:1;
  }

  .hg-menu-right{
    margin-top:0;
  }

  .hg-header-tools{
    padding-top:0;
    margin-top:0;
    margin-left:0;
    justify-content:center;
  }
}

@media (max-width:800px){
.hg-logo-img{
    width:110px;
    max-width:110px;
  }
}

@media (min-width:1321px){
  .hg-header-inner{
    grid-template-columns:minmax(0,1fr) 230px minmax(0,1fr);
    column-gap:24px;
  }

  .hg-menu-left,
  .hg-menu-right{
    margin-top:48px;
    padding-top:0;
  }

  .hg-menu-left ul,
  .hg-menu-right ul{
    padding-top:0;
  }

  .hg-menu-left{grid-column:1;}
  .hg-logo-bay{grid-column:2;}
  .hg-menu-right{
    grid-column:3;
    justify-content:flex-end;
    padding-right:62px;
  }

  .hg-header-tools{
    position:absolute;
    grid-column:auto;
    top:48px;
    right:-28px;
    width:42px;
    margin:0;
    padding:0;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:8px;
    white-space:nowrap;
    z-index:8;
  }

  .hg-header-tools .hg-live-visitors{
    position:absolute;
    top:108px;
    right:-92px;
    margin:0;
  }
}

@media (min-width:1321px){
  .hg-menu-left,
  .hg-menu-right{
    margin-top:58px;
  }

  .hg-menu-left ul,
  .hg-menu-left .menu,
  .hg-menu-right ul,
  .hg-menu-right .menu{
    padding-top:0;
  }

  .hg-header-tools{
    top:58px;
    right:-10px;
    width:auto;
    flex-direction:row;
    align-items:center;
    gap:8px;
  }

  .hg-menu-right{
    padding-right:108px;
  }
}

