.wnu-ojs-footer {
  width: 100%;
  background: linear-gradient(135deg, #6e2d12 0%, #853715 45%, #a24a22 100%);
  color: #fff7f2;
  font-family: "Tahoma", "Arial", sans-serif;
  border-top: 4px solid #d6a26a;
  box-shadow: 0 -6px 24px rgba(58, 20, 7, 0.20);
  position: relative;
  overflow: hidden;
}

.wnu-ojs-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 232, 214, 0.08), transparent 26%),
    radial-gradient(circle at 88% 22%, rgba(214, 162, 106, 0.10), transparent 22%),
    linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.05) 50%, rgba(255,255,255,0.02) 100%);
  pointer-events: none;
}

.wnu-ojs-footer a {
  color: #ffe0bf;
  text-decoration: none;
  transition: all 0.25s ease;
}

.wnu-ojs-footer a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 224, 191, 0.30);
}

.wnu-ojs-footer-main {
  width: 100%;
  margin: 0;
  padding: 42px 32px 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  background: transparent;
}

.wnu-ojs-footer-brand,
.wnu-ojs-footer-column {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 224, 191, 0.18);
  border-radius: 16px;
  padding: 22px 20px;
  backdrop-filter: blur(4px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.wnu-ojs-footer-title-ar,
.wnu-ojs-footer-title-en {
  margin: 0 0 10px;
  line-height: 1.35;
}

.wnu-ojs-footer-title-ar {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
}

.wnu-ojs-footer-title-en {
  color: #ffe0bf;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.wnu-ojs-footer-desc {
  margin: 14px 0 0;
  color: #fff3eb;
  font-size: 0.97rem;
  line-height: 1.95;
}

.wnu-ojs-footer-social {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.wnu-ojs-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(106, 40, 13, 0.95), rgba(214, 162, 106, 0.30));
  border: 1px solid rgba(255, 224, 191, 0.28);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
}

.wnu-ojs-footer-social a:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(133, 55, 21, 0.98), rgba(214, 162, 106, 0.42));
}

.wnu-ojs-footer-column h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 700;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 224, 191, 0.22);
}

.wnu-ojs-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wnu-ojs-footer-list li {
  margin: 0 0 11px;
  color: #fff4ed;
  line-height: 1.8;
}

.wnu-ojs-footer-contact li strong {
  color: #ffe0bf;
  font-weight: 700;
}

.wnu-ojs-footer-ar {
  direction: rtl;
  text-align: right;
}

.wnu-ojs-footer-en {
  direction: ltr;
  text-align: left;
}

.wnu-ojs-footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 224, 191, 0.16);
  background: rgba(88, 33, 12, 0.24);
  width: 100%;
}

.wnu-ojs-footer-bottom-inner {
  width: 100%;
  margin: 0;
  padding: 16px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  color: #fbe8dc;
  box-sizing: border-box;
}

.wnu-ojs-footer-bottom-inner .wnu-ojs-footer-ar,
.wnu-ojs-footer-bottom-inner .wnu-ojs-footer-en {
  flex: 1;
}

/* Keep footer visible */
.pkp_structure_footer_wrapper {
  display: block !important;
}

/* Hide only OJS / PKP branding */
.pkp_brand_footer,
.pkp_structure_footer_wrapper .pkp_brand_footer,
.pkp_footer_content + .pkp_brand_footer,
.page_index_journal .pkp_brand_footer,
footer .pkp_brand_footer,
div.pkp_brand_footer {
  display: none !important;
}

@media (max-width: 1100px) {
  .wnu-ojs-footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .wnu-ojs-footer-main {
    grid-template-columns: 1fr;
    padding: 30px 16px 22px;
  }

  .wnu-ojs-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
  }

  .wnu-ojs-footer-title-ar {
    font-size: 1.35rem;
  }

  .wnu-ojs-footer-title-en {
    font-size: 1.05rem;
  }

  .wnu-ojs-footer-social {
    gap: 8px;
  }

  .wnu-ojs-footer-social a {
    width: 100%;
  }
}