/* ===== OJS 3 Footer Styles — 4 Columns ===== */

.pkp_structure_footer {
  --bg: #1e1e1e;
  --text: #f2f2f2;
  --muted: #aaaaaa;
  --border: #444444;
  --accent: #f8b400;

  background: var(--bg);
  color: var(--text);
  padding: 30px 0;
  font-size: 14px;
  line-height: 1.6;
}

.pkp_structure_footer a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}
.pkp_structure_footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* 4-column layout */
.pkp_footer_content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);  /* 4 columns */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Headings inside columns */
.pkp_footer_content h4 {
  font-size: 16px;
  margin: 0 0 10px;
  color: #ffffff;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  padding-bottom: 5px;
}

/* Lists inside columns */
.pkp_footer_content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.pkp_footer_content ul li {
  margin-bottom: 6px;
}

/* Bottom strip */
.pkp_footer_bottom {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding: 15px 16px 0;
}

/* ===== Column-specific helpers (optional but useful) ===== */
/* 1) Logo column */
.footer-col--logo {
  display: flex;
  align-items: center;
}
.footer-col--logo img {
  max-width: 180px;     /* adjust as needed */
  height: auto;
  display: block;
  filter: brightness(0) invert(1); /* keeps logo visible on dark bg if it's dark */
}

/* 2) Journal Info column */
.footer-col--journal-info {}

/* 3) Authors column */
.footer-col--authors {}

/* 4) Contact column */
.footer-col--contact address {
  font-style: normal;
  margin: 0;
  line-height: 1.7;
  word-break: break-word;
}

/* Optional: make link blocks easier to tap */
.pkp_footer_content a {
  display: inline-block;
  padding: 2px 0;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .pkp_footer_content {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}
@media (max-width: 576px) {
  .pkp_footer_content {
    grid-template-columns: 1fr;            /* 1 column on phones */
    gap: 16px;
  }
  .footer-col--logo {
    justify-content: flex-start;
  }
}
