
.hiva-footer {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 40px 24px 24px;
  background: #eee;
  color: #222;
  font: 500 12px/22px Abar, Tahoma, sans-serif;
  direction: rtl;
}
.hiva-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  width: min(100%, 1144px);
  margin-inline: auto;
}
.hiva-footer-brand {
  display: flex;
  justify-self: center;
  align-items: center;
  gap: 8.163px;
  direction: ltr;
}
.hiva-footer-brand img { display: block; width: 122px; height: auto; object-fit: contain; filter: brightness(0); }
.hiva-footer-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.hiva-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 100px));
  align-items: start;
  gap: clamp(12px, calc(100vw - 327px), 48px);
  width: min(248px, calc(100% - 83px));
  min-width: 0;
  text-align: right;
}
.hiva-footer-nav ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hiva-footer a { color: inherit; text-decoration: none; }
.hiva-footer-nav a { display: inline-block; }
.hiva-footer a:hover { color: #43958f; }
.hiva-footer a:focus-visible { outline: 2px solid #43958f; outline-offset: 3px; }
.hiva-footer-enamad {
  position: relative;
  flex: 0 0 75px;
  height: 98px;
  overflow: hidden;
}
.hiva-footer-enamad img {
  position: absolute;
  top: 0;
  left: -52.71%;
  width: 201.97%;
  max-width: none;
  height: 100%;
}
.hiva-footer-divider { position: relative; height: 0; }
.hiva-footer-divider::before {
  content: "";
  position: absolute;
  inset: -1px 0 0;
  background: url("../img/footer/divider.9e51a59a53dc.svg") repeat-x left center;
}
.hiva-footer-bottom { min-width: 0; }
.hiva-footer-socials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: ltr;
}
.hiva-footer-socials img { display: block; flex: 0 0 auto; }
.hiva-footer-telegram {
  display: block;
  mask: url("../img/footer/telegram-mask.935f6eb5b795.svg") center / 24px 24px no-repeat;
}
.hiva-footer-tools { display: none; }
@media (min-width: 992px) {
  .hiva-footer { padding: 32px 24px; font-weight: 600; line-height: 20px; }
  .hiva-footer-inner {
    grid-template-columns: 108px minmax(0, 1fr) 122.163px;
    column-gap: 49px;
    row-gap: 24px;
    align-items: center;
    direction: ltr;
  }
  .hiva-footer-brand { grid-column: 3; grid-row: 1; justify-self: end; }
  .hiva-footer-content { display: contents; }
  .hiva-footer-nav {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px;
    width: auto;
    direction: rtl;
  }
  .hiva-footer-nav ul { display: contents; }
  .hiva-footer-nav li { white-space: nowrap; }
  .hiva-footer-nav li:nth-child(1) { order: 0; }
  .hiva-footer-nav ul:first-child li:nth-child(2) { order: 2; }
  .hiva-footer-nav ul:first-child li:nth-child(3) { order: 1; }
  .hiva-footer-nav ul:first-child li:nth-child(4) { order: 3; }
  .hiva-footer-nav ul:last-child li:nth-child(1) { order: 5; }
  .hiva-footer-nav ul:last-child li:nth-child(2) { order: 4; }
  .hiva-footer-nav ul:last-child li:nth-child(3) { order: 6; }
  .hiva-footer-enamad {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 108px;
    height: 128px;
  }
  .hiva-footer-divider { grid-column: 2 / 4; grid-row: 2; }
  .hiva-footer-bottom {
    grid-column: 2 / 4;
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .hiva-footer-socials { gap: 24px; }
  .hiva-footer-tools {
    display: flex;
    align-items: center;
    gap: 16px;
    direction: ltr;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
  }
  .hiva-footer-locale { display: flex; gap: 4px; align-items: center; }
  .hiva-footer-flag { display: block; width: 14px; height: 14px; border-radius: 50%; overflow: hidden; position: relative; }
  .hiva-footer-flag img { position: absolute; width: 21.875px; height: 14.583px; max-width: none; left: -5.83px; top: 0; }
  .hiva-footer-tools > a { border-left: 1px solid #6c7275; padding-left: 16px; text-decoration: underline; }
}
@media (max-width: 991px) {
  html body:has(> [data-site-footer]) { padding-bottom: 0 !important; }
}
@media print { .hiva-footer { display: none; } }
