/*
 Theme Name:  astra Child
 Template:     astra
 Version:      1.0.0
*/

/* ===== Astrologer Jii Footer ===== */

.aj-footer {
  background: #0b0f2b;
  color: #d1d5ff;
  padding-top: 40px;
}

.aj-footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.aj-footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
}

.aj-footer-col p {
  font-size: 14px;
  line-height: 1.7;
  color: #b5b9ff;
}

.aj-footer-col ul {
  list-style: none;
  padding: 0;
}

.aj-footer-col ul li {
  margin-bottom: 10px;
}

.aj-footer-col ul li a {
  color: #b5b9ff;
  text-decoration: none;
}

.aj-footer-col ul li a:hover {
  color: #ffd36a;
}

.aj-footer-bottom {
  margin-top: 40px;
  padding: 15px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .aj-footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .aj-footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* ===== Fix stretched footer lists on mobile ===== */

@media (max-width: 768px) {

  /* Center list container itself */
  .aj-footer-col ul {
    max-width: 280px;        /* 👈 key fix */
    margin: 0 auto;         /* center the list block */
  }

  /* Center text but keep compact width */
  .aj-footer-col ul li {
    text-align: center;
  }

}

