/* Shared site header — used by every page in every language */
header.site-header {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 10px 60px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: rgba(247, 241, 223, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  text-align: left;
  color: #333;
}

.site-header .sh-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header .sh-logo img {
  height: 180px;
  width: auto;
  max-width: none;
  display: block;
}

.site-header .sh-promo {
  width: 500px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  flex: 0 1 500px;
}

.site-header .sh-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.site-header .sh-nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  margin: 0;
  transition: color 0.3s;
}

.site-header .sh-nav a:hover {
  color: #f97316;
}

.site-header .sh-lang {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.site-header .sh-lang a {
  display: flex;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 5px;
  border-radius: 8px;
  line-height: 0;
  margin: 0;
  transition: border-color 0.2s, transform 0.2s;
}

.site-header .sh-lang a:hover,
.site-header .sh-lang a.active {
  border-color: #f97316;
}

.site-header .sh-lang a:hover {
  transform: scale(1.08);
}

.site-header .sh-lang img {
  width: 26px;
  height: auto;
  display: block;
  border-radius: 3px;
}

@media (max-width: 900px) {
  header.site-header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
  }

  .site-header .sh-logo img {
    height: auto;
    width: 110px;
  }

  .site-header .sh-promo {
    width: 260px;
    flex: 0 0 auto;
  }

  .site-header .sh-nav {
    justify-content: center;
    gap: 10px 16px;
  }

  .site-header .sh-nav a {
    font-size: 14px;
  }

  .site-header .sh-lang {
    gap: 8px;
  }
}
