/* v62 footer repair - restores original Iran Festival footer layout while keeping admin data */
.ifx-admin-footer-restored{
  direction:rtl;
  width:100%;
  clear:both;
  background:#0d0d0d;
  color:#fff;
}
.ifx-admin-footer-restored *{
  box-sizing:border-box;
}
.ifx-admin-footer-restored .footer-banner{
  position:relative !important;
  background-position:center top !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  min-height:300px;
  padding:80px 60px 60px;
  text-align:center;
  border-bottom:1px solid #2a2a2a;
  overflow:hidden;
}
.ifx-admin-footer-restored .footer-banner::before{
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at 50% 0%, rgba(201,162,39,.14) 0%, transparent 72%), rgba(0,0,0,.35);
  pointer-events:none;
}
.ifx-admin-footer-restored .footer-banner-content{
  position:relative;
  z-index:1;
}
.ifx-admin-footer-restored .footer-slogan{
  margin:0;
  font-size:18px;
  color:#fff;
  letter-spacing:1px;
  position:relative;
  top:-30px;
}
.ifx-admin-footer-restored .footer-slogan::before,
.ifx-admin-footer-restored .footer-slogan::after{
  content:' ◆ ';
  color:#c9a227;
  font-size:10px;
}
.ifx-admin-footer-restored .footer-main{
  display:grid !important;
  grid-template-columns:1fr 1.45fr 1fr 1fr !important;
  gap:40px !important;
  padding:50px 60px !important;
  border-bottom:1px solid #2a2a2a;
  text-align:right;
}
.ifx-admin-footer-restored .footer-col h4{
  margin:0 0 20px;
  font-size:15px;
  font-weight:900;
  color:#c9a227;
  padding-bottom:12px;
  border-bottom:1px solid #2a2a2a;
  position:relative;
}
.ifx-admin-footer-restored .footer-col h4::after{
  content:'';
  position:absolute;
  bottom:-1px;
  right:0;
  width:80px;
  height:2px;
  background:#c9a227;
}
.ifx-admin-footer-restored .footer-links,
.ifx-admin-footer-restored .footer-contact{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.ifx-admin-footer-restored .footer-links a,
.ifx-admin-footer-restored .footer-contact a,
.ifx-admin-footer-restored .footer-contact span{
  color:#888;
  font-size:13px;
  text-decoration:none;
  line-height:1.8;
}
.ifx-admin-footer-restored .footer-links a{
  display:flex;
  align-items:center;
  gap:6px;
  transition:.2s;
}
.ifx-admin-footer-restored .footer-links a::before{
  content:'›';
  color:#c9a227;
  font-size:16px;
}
.ifx-admin-footer-restored .footer-links a:hover,
.ifx-admin-footer-restored .footer-contact a:hover{
  color:#c9a227;
  padding-right:4px;
}
.ifx-admin-footer-restored .footer-col-about p{
  color:#888;
  font-size:13px;
  line-height:2;
  margin:0;
}
.ifx-admin-footer-restored .footer-contact li{
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#888;
}
.ifx-admin-footer-restored .footer-contact svg{
  width:18px;
  height:18px;
  color:#c9a227;
  flex-shrink:0;
  margin-top:4px;
}
.ifx-admin-footer-restored .footer-social{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.ifx-admin-footer-restored .social-btn{
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid #2a2a2a;
  background:#1a1a1a;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#888;
  transition:.3s;
}
.ifx-admin-footer-restored .social-btn svg{
  width:20px;
  height:20px;
}
.ifx-admin-footer-restored .social-btn:hover{
  border-color:#c9a227;
  color:#c9a227;
  background:#1a1200;
}
.ifx-admin-footer-restored .footer-stats{
  display:grid !important;
  grid-template-columns:1fr 1fr auto 1fr 1fr !important;
  border-bottom:1px solid #2a2a2a;
}
.ifx-admin-footer-restored .footer-stat{
  display:flex;
  align-items:center;
  gap:14px;
  padding:24px 30px;
  border-left:1px solid #2a2a2a;
  color:#888;
}
.ifx-admin-footer-restored .footer-stat:last-child{border-left:none;}
.ifx-admin-footer-restored .footer-stat svg{
  width:36px;
  height:36px;
  color:#c9a227;
  flex-shrink:0;
}
.ifx-admin-footer-restored .footer-stat div{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.ifx-admin-footer-restored .footer-stat strong{
  font-size:13px;
  font-weight:800;
  color:#ccc;
}
.ifx-admin-footer-restored .footer-stat span{
  font-size:12px;
  color:#666;
}
.ifx-admin-footer-restored .footer-stat-center{
  justify-content:center;
  padding:16px 24px;
}
.ifx-admin-footer-restored .footer-stat-logo{
  height:55px;
  width:auto;
  filter:drop-shadow(0 0 10px rgba(201,162,39,.3));
}
.ifx-admin-footer-restored .footer-copyright{
  text-align:center;
  padding:20px;
  color:#555;
  font-size:13px;
}
.ifx-admin-footer-restored .footer-copyright p{margin:0;}
@media(max-width:900px){
  .ifx-admin-footer-restored .footer-main{grid-template-columns:1fr 1fr !important;padding:34px 24px !important;}
  .ifx-admin-footer-restored .footer-stats{grid-template-columns:1fr 1fr !important;}
  .ifx-admin-footer-restored .footer-stat-center{display:none;}
}
@media(max-width:640px){
  .ifx-admin-footer-restored .footer-main{grid-template-columns:1fr !important;}
  .ifx-admin-footer-restored .footer-banner{min-height:220px;padding:60px 20px 40px;}
  .ifx-admin-footer-restored .footer-stats{grid-template-columns:1fr !important;}
  .ifx-admin-footer-restored .footer-stat{border-left:0;border-bottom:1px solid #2a2a2a;}
}

/* v143 Footer Builder Controls */
.ifx-admin-footer-restored .footer-main.ifx-footer-main-dynamic{
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr)) !important;
}
.ifx-admin-footer-restored .footer-newsletter-text{
  color:#888;
  font-size:13px;
  line-height:2;
  margin:0 0 14px;
}
.ifx-admin-footer-restored .footer-newsletter-form{
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
}
.ifx-admin-footer-restored .footer-newsletter-form input{
  min-width:0;
  flex:1 1 150px;
  height:42px;
  border:1px solid #2a2a2a;
  border-radius:999px;
  background:#141414;
  color:#fff;
  padding:0 14px;
  outline:none;
  direction:rtl;
}
.ifx-admin-footer-restored .footer-newsletter-form button{
  height:42px;
  border:0;
  border-radius:999px;
  background:#c9a227;
  color:#141414;
  padding:0 18px;
  font-weight:900;
  cursor:pointer;
}
.ifx-admin-footer-restored .footer-bottom-note{
  margin-bottom:8px !important;
  color:#888;
}

/* v148 - make footer social networks clearly visible */
.ifx-admin-footer-restored.ifx-footer-social-visible-v148 .footer-social{
  display:flex !important;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.ifx-admin-footer-restored.ifx-footer-social-visible-v148 .footer-social .social-btn{
  width:44px;
  height:44px;
  border-radius:999px;
  border:1px solid rgba(201,162,39,.38);
  background:rgba(255,255,255,.04);
  color:#c9a227;
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.ifx-admin-footer-restored.ifx-footer-social-visible-v148 .footer-social .social-btn svg{
  width:20px;
  height:20px;
}
.ifx-admin-footer-restored.ifx-footer-social-visible-v148 .footer-social .social-btn:hover{
  background:#1a1200;
  border-color:#c9a227;
  color:#fff;
  transform:translateY(-2px);
}
/* v149 - Rubika real image icon in footer */
.footer .ifx-rubika-logo,
.footer .social-btn .ifx-rubika-logo,
.footer .contact-social-btn .ifx-rubika-logo{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  min-height:24px !important;
  display:block !important;
  object-fit:contain !important;
  border-radius:7px;
}
.footer .contact-social-rubika .ifx-rubika-logo{
  width:22px !important;
  height:22px !important;
}
/* v152 - safe Rubika footer logo only */
.site-footer .rubika-logo-img,
.ifx-site-footer .rubika-logo-img,
.footer-social .rubika-logo-img,
.footer-contact .rubika-logo-img{
  width:24px !important;
  height:24px !important;
  min-width:24px !important;
  min-height:24px !important;
  max-width:24px !important;
  max-height:24px !important;
  object-fit:contain !important;
  display:block !important;
  border-radius:6px !important;
  background:#fff !important;
  padding:2px !important;
  box-sizing:border-box !important;
}