:root{
  --acw-public-container:1360px;
  --acw-public-gutter:32px;
  --acw-public-gutter-mobile:18px;
  --shell-primary:#0B1F3A;
  --shell-gold:#D4A64A;
  --shell-ink:#10213A;
  --shell-muted:#667488;
  --shell-line:rgba(11,31,58,.1);
  --shell-soft:rgba(255,255,255,.95);
  --shell-footer:linear-gradient(145deg,rgba(11,31,58,.98),rgba(18,41,71,.94));
}

body .container{
  width:min(var(--acw-public-container),calc(100% - var(--acw-public-gutter)));
  margin-inline:auto;
}

.site-footer,
.footer{
  margin-top:42px !important;
  padding:32px 0 22px !important;
  background:var(--shell-footer) !important;
  color:#fff !important;
  border-top:1px solid rgba(212,166,74,.14) !important;
}

.site-footer .container,
.footer .container{
  display:grid;
  gap:18px;
}

.site-footer .footer-grid,
.footer .footer-grid,
.footer .footer-top{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr)) !important;
  gap:18px !important;
}

.site-footer .footer-panel,
.footer .footer-panel,
.footer .footer-card{
  padding:24px !important;
  border-radius:24px !important;
  background:rgba(255,255,255,.05) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  box-shadow:0 16px 34px rgba(0,0,0,.14) !important;
}

.site-footer .footer-panel h4,
.footer .footer-card h4,
.footer .footer-panel h4{
  color:#fff !important;
  font-size:22px;
  margin:0 0 10px;
}

.site-footer .footer-panel p,
.footer .footer-card p,
.footer .footer-panel p{
  color:rgba(255,255,255,.72) !important;
}

.site-footer .footer-links,
.footer .footer-links{
  display:grid !important;
  gap:10px !important;
  align-items:start;
}

.site-footer .footer-links a,
.footer .footer-links a{
  color:rgba(255,255,255,.82) !important;
  font-weight:600;
  transition:color .18s ease,transform .18s ease;
}

.site-footer .footer-links a:hover,
.footer .footer-links a:hover{
  color:#fff !important;
}

html[lang='fa'] .site-footer .footer-links a:hover,
html[lang='fa'] .footer .footer-links a:hover{
  transform:translateX(-3px);
}

html[lang='en'] .site-footer .footer-links a:hover,
html[lang='en'] .footer .footer-links a:hover{
  transform:translateX(3px);
}

.site-footer .footer-meta,
.footer .footer-bottom{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:16px !important;
  padding-top:18px !important;
  border-top:1px solid rgba(255,255,255,.10) !important;
  color:rgba(255,255,255,.66) !important;
  font-size:13px !important;
}

.site-footer .footer-domain{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  color:#fff;
}

.site-footer .footer-domain::before{
  content:'';
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--shell-gold);
  box-shadow:0 0 0 4px rgba(212,166,74,.14);
}

@media (max-width:920px){
  .site-footer .footer-grid,
  .footer .footer-grid,
  .footer .footer-top{
    grid-template-columns:1fr !important;
  }

  .site-footer .footer-meta,
  .footer .footer-bottom{
    flex-direction:column !important;
    align-items:flex-start !important;
  }
}

@media (max-width:640px){
  body .container{
    width:min(var(--acw-public-container),calc(100% - var(--acw-public-gutter-mobile)));
  }

  body{
    background-attachment:scroll !important;
  }
}
