/* === DESKTOP === */
body.strip-active {
  padding-top: 64px !important;
}

body.strip-active .header {
  top: 64px !important;
}

.gnb {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999999999999999;
  background: #4F5BC6;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 6px 166px;
  gap: 10px;
  isolation: isolate;
  height: 64px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.gnb__inner {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.gnb__text {
  font-size: 18px;
  color: #FFFFFF;
  text-align: center;
  line-height: 1.4;
  max-width: 1180px;
}

.gnb__text a {
  color: #FFFFFF;
  text-decoration: underline;
}

.gnb__close {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #FFFFFF;
  cursor: pointer;
  padding: 0 8px;
  margin: auto;
  transition: opacity 0.2s ease;
  position: absolute;
  left: 42px;
  top: 0;
  bottom: 0;
}

.gnb__close svg path {
  stroke: #FFFFFF;
}

.gnb__close:hover {
  opacity: 0.7;
}

/* Чтобы контент не перекрывался полоской */
body.gnb--visible {}

/* Если есть админ-бар */
body.admin-bar .gnb {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .gnb {
    top: 46px;

  }
}

/* === MOBILE === */
@media (max-width: 768px) {
  body.strip-active {
    padding-top: 124px !important;
  }

  body.strip-active .header {
    top: 124px !important;
  }

  .gnb {
    padding: 12px 16px 12px 50px;
    height: 124px;
    justify-content: center;
    align-items: center;
  }

  .gnb__text {
    font-size: 15px;
  }

  .gnb__close {
    font-size: 20px;
    margin-left: 6px;
    left: 0;
    top: 10px;
    margin: 0;
    bottom: unset;
  }

  body.gnb--visible {}
}