/* Shared white article footer */
.tz-article-footer {
  direction: rtl;
  width: min(calc(100% - 40px), 1280px);
  margin: 64px auto 30px;
  padding: 0 34px;
  color: #20242c;
  background: linear-gradient(145deg, #ffffff 0%, #fbfbfb 55%, #f6f6f6 100%);
  border: 1px solid #e8e8e8;
  border-radius: 30px;
  box-shadow: 0 18px 45px rgba(28, 35, 48, 0.08);
  box-sizing: border-box;
  font-family: "Estedad", sans-serif;
}

.tz-article-footer__inner {
  display: grid;
  grid-template-columns: minmax(230px, 1.5fr) repeat(5, minmax(110px, 1fr));
  gap: 28px;
  width: 100%;
  padding: 44px 0 36px;
}

/* Brand and logo on the right */
.tz-article-footer__brand {
  text-align: right;
}

.tz-article-footer__logo {
  margin-bottom: 16px;
}

.tz-article-footer__logo .custom-logo-link {
  display: inline-block;
}

.tz-article-footer__logo .custom-logo {
  display: block;
  width: auto;
  max-width: 130px;
  max-height: 58px;
  object-fit: contain;
}

.tz-article-footer__logo > a {
  color: #171a21;
  font-size: 26px;
  font-weight: 800;
  text-decoration: none;
}

.tz-article-footer__brand p {
  max-width: 260px;
  margin: 0 0 15px;
  color: #666d78;
  font-size: 12px;
  line-height: 2;
}

.tz-article-footer__instagram {
  display: inline-flex;
  align-items: center;
  color: #343a46;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

/* Footer columns */
.tz-article-footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.tz-article-footer__column h3 {
  margin: 0 0 8px;
  color: #20242c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
}

.tz-article-footer__column a {
  position: relative;
  padding-right: 10px;
  color: #606773;
  font-size: 11px;
  line-height: 1.8;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.tz-article-footer__column a::before {
  content: "•";
  position: absolute;
  top: 0;
  right: 0;
  color: #a7adb7;
}

.tz-article-footer__column a:hover,
.tz-article-footer__instagram:hover {
  color: #111827;
}

.tz-article-footer__column a:hover {
  transform: translateX(-2px);
}

/* Copyright */
.tz-article-footer__bottom {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 18px 0 22px;
  color: #868c96;
  font-size: 10px;
  border-top: 1px solid #e8e8e8;
}

/* Tablet */
@media (max-width: 1050px) {
  .tz-article-footer__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
  }

  .tz-article-footer__brand {
    grid-column: 1 / -1;
  }
}

/* Small tablet */
@media (max-width: 700px) {
  .tz-article-footer {
    padding-inline: 26px;
  }

  .tz-article-footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .tz-article-footer__brand {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .tz-article-footer {
    width: calc(100% - 20px);
    margin-top: 42px;
    padding-inline: 22px;
    border-radius: 22px;
  }

  .tz-article-footer__inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 26px;
  }

  .tz-article-footer__brand {
    grid-column: auto;
  }

  .tz-article-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
/* One card only: visual styling belongs to the inner footer */
.tz-article-footer {
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.tz-article-footer__inner {
  padding: 42px 34px 34px !important;
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid #e8e8e8;
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 16px 40px rgba(28, 35, 48, 0.08);
  box-sizing: border-box;
}

.tz-article-footer__bottom {
  margin: 0;
  padding: 18px 34px 22px;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-top-color: #eeeeee;
  border-radius: 0 0 28px 28px;
  box-shadow: 0 16px 40px rgba(28, 35, 48, 0.08);
  box-sizing: border-box;
}
/* Align footer with the article card */
body.single-post .techzehn-single {
  padding-bottom: 0 !important;
}

body.single-post .tz-article-footer {
width: min(100%, 1180px) !important;
margin-top: 22px !important;
}

@media (max-width: 767px) {
  body.single-post .tz-article-footer {
    width: calc(100% - 20px) !important;
    margin-top: 16px !important;
  }
}
.tz-article-footer__inner {
  border-radius: 8px 8px 0 0 !important;
}

.tz-article-footer__bottom {
  border-radius: 0 0 8px 8px !important;
}