/* ═══════════════════════════════════════════════════════════════
   DIWP — Professional Footer  v2.0
   100% self-contained. RTL. Glassmorphism.
═══════════════════════════════════════════════════════════════ */
:root {
  --diwp-ft-bg:     #0d0d14;
  --diwp-ft-text:   #c8c8d8;
  --diwp-ft-accent: #5b8dee;
  --diwp-ft-border: rgba(255,255,255,0.08);
}
#diwp-footer {
  background: var(--diwp-ft-bg) !important;
  border-top: 1px solid var(--diwp-ft-border) !important;
  font-family: 'Alexandria', 'Segoe UI', Tahoma, sans-serif !important;
  color: var(--diwp-ft-text) !important;
  direction: rtl !important;
  margin: 0 !important; padding: 0 !important;
}
.diwp-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 32px;
}
/* ── Grid columns ─── */
.diwp-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px 32px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--diwp-ft-border);
}
.diwp-footer-col { display: flex; flex-direction: column; gap: 14px; }
.diwp-footer-col-title {
  font-size: 0.88rem !important; font-weight: 700 !important;
  text-transform: uppercase !important; letter-spacing: 0.1em !important;
  color: #ffffff !important; margin: 0 !important; padding: 0 !important;
  background: none !important; border: none !important; box-shadow: none !important;
}
.diwp-footer-col-body {
  font-size: 0.88rem !important; line-height: 1.75 !important;
  color: var(--diwp-ft-text) !important;
}
.diwp-footer-col-body p { margin: 0 0 10px !important; color: var(--diwp-ft-text) !important; }
.diwp-footer-col-body a {
  color: var(--diwp-ft-text) !important; text-decoration: none !important;
  display: block !important; padding: 4px 0 !important;
  transition: color .2s, padding-right .2s !important;
}
.diwp-footer-col-body a:hover { color: var(--diwp-ft-accent) !important; padding-right: 6px !important; }
/* ── Bottom bar ─── */
.diwp-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.diwp-footer-copy {
  font-size: 0.82rem !important; color: rgba(200,200,216,0.6) !important;
  margin: 0 !important; font-family: 'Alexandria', sans-serif !important;
}
/* ── Social icons ─── */
.diwp-footer-social {
  display: flex; align-items: center; gap: 8px;
}
.diwp-footer-social-link {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  width: 38px !important; height: 38px !important; border-radius: 50% !important;
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  color: var(--diwp-ft-text) !important; text-decoration: none !important;
  transition: background .2s, color .2s, transform .2s !important;
}
.diwp-footer-social-link:hover {
  background: var(--diwp-ft-accent) !important; color: #fff !important;
  transform: translateY(-2px) !important; border-color: transparent !important;
}
@media (max-width: 640px) {
  .diwp-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .diwp-footer-inner { padding: 36px 16px 24px; }
  .diwp-footer-bottom { flex-direction: column; text-align: center; }
}
