/*
 * Site Footer (Molka Website design)
 * Theme Name: Molka Blog
 */

.site-footer {
  align-self: stretch;
  width: 100%;
  background-color: #14171a;
  box-sizing: border-box;
  direction: rtl;
}

.site-footer__inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 112px 120px;
  box-sizing: border-box;
  direction: rtl;
}

.site-footer__heading {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 42px;
  color: #9ba3ab;
  text-align: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex: 0 1 384px;
  max-width: 384px;
}

.site-footer__brand-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  max-width: 274px;
}

.site-footer__logo-link {
  display: block;
  line-height: 0;
}

.site-footer__logo {
  display: block;
  width: 133px;
  height: 32px;
}

.site-footer__address {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 24px;
  color: #f7f9fa;
  text-align: start;
}

.site-footer__about {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #76818a;
  text-align: start;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex: 0 1 384px;
  max-width: 384px;
}

.site-footer__contact-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.site-footer__contact-row {
  display: flex;
  flex-direction: row;
  gap: 16px;
  width: 100%;
  direction: rtl;
}

.site-footer__btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-width: 64px;
  padding: 12px 16px;
  font-family: sans;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-decoration: none;
  box-sizing: border-box;
  flex: 1;
  direction: rtl;
}

.site-footer__btn span {
  flex: 1;
  text-align: start;
  white-space: nowrap;
}

.site-footer__btn svg {
  flex-shrink: 0;
}

.site-footer__btn--primary {
  background-color: #f7f9fa;
  color: #14171a;
  border: 1px solid #ffffff;
}

.site-footer__btn--primary svg {
  color: #14171a;
}

.site-footer__btn--outline {
  background-color: #14171a;
  color: #f7f9fa;
  border: 1px solid #2a2e33;
}

.site-footer__btn--outline svg {
  color: #f7f9fa;
}

.site-footer__contact-row--social .site-footer__btn--social {
  flex: 1;
}

.site-footer__contact-row--social .site-footer__btn--social span {
  text-align: center;
  flex: 0 1 auto;
}

.site-footer__contact-row--social .site-footer__btn--instagram {
  flex: 0 0 auto;
  min-width: 131px;
}

.site-footer__btn:hover {
  opacity: 0.9;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  flex: 0 0 176px;
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

.site-footer__links a {
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  color: #f7f9fa;
  text-decoration: none;
  text-align: start;
}

.site-footer__links a:hover {
  color: #9ba3ab;
}

/* Mobile footer — Figma node 5242-3179 */
@media (max-width: 768px) {
  .site-footer__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    max-width: none;
    padding: 40px 16px 80px;
  }

  .site-footer__brand,
  .site-footer__contact,
  .site-footer__nav {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .site-footer__brand {
    gap: 24px;
  }

  .site-footer__brand-top {
    max-width: none;
  }

  .site-footer__contact,
  .site-footer__nav {
    gap: 24px;
  }

  .site-footer__contact-actions {
    gap: 16px;
  }

  .site-footer__contact-row {
    flex-direction: row;
    gap: 16px;
  }

  .site-footer__btn {
    flex: 1;
    min-width: 0;
  }

  .site-footer__contact-row--social .site-footer__btn--instagram {
    flex: 1;
    min-width: 0;
  }

  .site-footer__contact-row--social .site-footer__btn--social span {
    text-align: center;
  }
}

@media (max-width: 445px) {
  .site-footer__inner {
    padding: 32px 16px 64px;
    gap: 32px;
  }

  .site-footer__heading {
    font-size: 20px;
    line-height: 32px;
  }

  .site-footer__about {
    font-size: 13px;
    line-height: 24px;
  }

  .site-footer__btn {
    font-size: 14px;
    line-height: 20px;
    padding: 10px 12px;
    gap: 6px;
  }

  .site-footer__btn svg {
    width: 20px;
    height: 20px;
  }

  .site-footer__contact-row {
    gap: 12px;
  }

  .site-footer__contact-row--social .site-footer__btn--social span {
    font-size: 13px;
  }
}
