.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%, 987px);
  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; object-fit: fill; }
.hiva-footer-brand img:first-child { height: 31px; }
.hiva-footer-brand .hiva-footer-wordmark { height: 21.26px; }

.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-nav a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.hiva-footer-nav a:hover { text-decoration: underline; }
.hiva-footer a:focus-visible { outline: 2px solid #287e79; 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.88181c570e33.svg") repeat-x left center;
}

.hiva-footer-socials {
  display: flex;
  justify-content: space-between;
  align-items: center;
  direction: ltr;
}

.hiva-footer-socials img { display: block; }

@media (max-width: 991px) {
  html body:has(> [data-site-footer]) { padding-bottom: 0 !important; }
}

@media print {
  .hiva-footer { display: none; }
}
