.royal-footer{
  background:transparent !important;
  color:#dfeee3;
  position:relative;
  margin-top:0;
  padding:0;
  border:0;
  width:100%;
}

.royal-footer a{
  text-decoration:none;
  transition:all .2s ease;
}

.royal-footer-inner{
  width:100%;
  max-width:none !important;
  margin:0;
  padding:0;
  background:transparent !important;
}

.royal-footer.has-border{
  border-top:0 !important;
}

.royal-footer-block,
.royal-footer-block-1,
.royal-footer-block-2,
.royal-footer-block-3{
  display:block;
  width:100%;
  max-width:none !important;
  margin:0;
  padding:0;
  border-radius:0;
}

.royal-footer-block-1{
  width:100%;
  background:#13241a;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.royal-footer-block-2{
  width:100%;
  background:#173222;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.royal-footer-block-3{
  width:100%;
  background:#112018;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.royal-footer-container{
    width:100%;
    max-width:none;
    margin:0;
    padding:<?php echo fs_int($footerSettings['paddingy'] ?? 22, 22); ?>px 18px;
}
.royal-footer-block-1 .royal-footer-container,
.royal-footer-block-2 .royal-footer-container{
  padding-left:18px;
  padding-right:18px;
  box-sizing:border-box;
}

.royal-footer-block-1 .royal-footer-container{
  padding-top:25px;
  padding-bottom:25px;
}

.royal-footer-block-2 .royal-footer-container{
  padding-top:14px;
  padding-bottom:14px;
}

.royal-footer-block-3 .royal-footer-container{
  padding-top:10px;
  padding-bottom:10px;
}

.royal-footer-row{
    display:grid;
    grid-template-columns:auto 1fr;
    align-items:start;
    gap:<?php echo fs_int($footerSettings['centergap'] ?? 24, 24); ?>px;
    width:100%;
}

.royal-footer-row.vertical{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.royal-footer-brand{
    min-width:0;
    max-width:380px;
    justify-self:start;
    text-align:left;
}

.royal-footer-brand-top{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
  margin-left:20px;
}

.royal-footer-brand-desc{
  max-width:420px;
  line-height:1.7;
  color:#dfeee3;
  margin-left:30px;
}

.royal-footer-groups{
  flex:1 1 520px;
  min-width:0;
  width:100%;
  display:flex;
  align-items:flex-start;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:<?php echo fs_int($footerSettings['centergap'] ?? 24, 24); ?>px;
  text-align:left;
}

.royal-footer-groups.layout-vertical{
    flex-direction:column;
    align-items:flex-end;
}

.royal-footer-group{
    min-width:160px;
    flex:0 0 auto;
}

.royal-footer-groups{
    flex:1 1 520px;
    display:flex;
    align-items:flex-start;
    justify-content:flex-center;
    flex-wrap:wrap;
    gap:<?php echo fs_int($footerSettings['centergap'] ?? 24, 24); ?>px;
}
.royal-footer-groups.layout-vertical{
    flex-direction:column;
}
.royal-footer-group{
    min-width:160px;
    flex:0 1 auto;
}
.royal-footer-group-title{
    display:flex;
    align-items:center;
    gap:8px;
    font-weight:700;
    margin-bottom:10px;
    line-height:1.4;
}
.royal-footer-links{
    display:flex;
}
.royal-footer-links.vertical{
    flex-direction:column;
    align-items:flex-start;
}
.royal-footer-links.horizontal{
    flex-direction:row;
    flex-wrap:wrap;
    align-items:center;
    margin-right:15px;
}
.royal-footer-link{
    display:inline-flex;
    align-items:center;
    gap:7px;
    line-height:1.5;
    transition:color .2s ease;
}

.royal-footer-mid{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  gap:<?php echo fs_int($footerSettings['midgap'] ?? 16, 16); ?>px;
  width:100%;
  max-width:100%;
  margin:0px;
  
}

.royal-footer-mid-item{
  flex:0 1 auto;
  min-width:0;
  display:flex;
  align-items:center;
  gap:15px;
  margin-right:85px;
  margin-left:85px;
  margin-top:15px;
  margin-bottom:15px;
}

.royal-footer-mid-icon-wrap{
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}

.royal-footer-mid-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
}

.royal-footer-mid-title{
  font-weight:700;
  line-height:1.2;
}

.royal-footer-mid-subtitle{
  line-height:1.35;
}

.royal-footer-mid-divider{
  display:block;
  flex:0 0 auto;
}

.royal-footer-mid.vertical{
  flex-direction:column;
  align-items:center;
}

.royal-footer-mid.vertical .royal-footer-mid-item{
  width:100%;
  max-width:420px;
  justify-content:flex-start;
}

@media (max-width: 900px){
  .royal-footer-mid{
    flex-direction:column;
    align-items:center;
  }

  .royal-footer-mid-item{
    width:100%;
    max-width:420px;
    justify-content:flex-start;
  }
}



.royal-footer-bottom{
  display:grid;
  grid-template-columns:minmax(220px, 1fr) auto auto;
  align-items:center;
  gap:20px;
  width:100%;
}

.royal-footer-copy{
  min-width:0;
  margin-left:15px;
}

.royal-footer-bottom-links{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.royal-footer-right{
  display:inline-flex;
  justify-content:flex-end;
  align-items:center;
  gap:15px;
  flex-wrap:wrap;
  white-space:nowrap;
  margin-right:15px;
}

@media (max-width: 900px){
  .royal-footer-container{
    padding-left:16px;
    padding-right:16px;
  }

  .royal-footer-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .royal-footer-brand{
    flex:1 1 auto;
    width:100%;
    min-width:0;
  }

  .royal-footer-groups{
    width:100%;
    grid-template-columns:1fr;
    gap:20px;
  }

  

  .royal-footer-bottom{
    grid-template-columns:1fr;
    align-items:flex-start;
  }

  .royal-footer-bottom-links{
    justify-content:flex-start;
    gap:12px;
    flex-direction:column;
    align-items:flex-start;
  }

  .royal-footer-right{
    justify-content:flex-start;
  }
}


.royal-footer *,
.royal-footer *::before,
.royal-footer *::after{
    box-sizing:border-box;
}
.royal-footer a{
    text-decoration:none;
}
.royal-footer-inner{
    width:100%;
}
.royal-footer-block{
    width:100%;
}

.royal-footer-row{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:<?php echo fs_int($footerSettings['centergap'] ?? 24, 24); ?>px;
    flex-wrap:wrap;
}
.royal-footer-row.vertical{
    flex-direction:column;
    align-items:flex-start;
}
.royal-footer-brand{
    flex:1 1 260px;
    min-width:240px;
    max-width:340px;
}
.royal-footer-brand-top{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}
.royal-footer-brand-desc{
    line-height:1.7;
}





.royal-footer-bottom{
    display:grid;
    grid-template-columns: 1fr auto 1fr;
    align-items:center;
    gap:16px;
    width:100%;
}

.royal-footer-copy{
    justify-self:start;
    text-align:left;
    line-height:1.5;
}
.royal-footer-bottom-links{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    justify-self:center;
    text-align:center;
}
.royal-footer-bottom-links.vertical{
    flex-direction:column;
    align-items:center;
}
.royal-footer-right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    justify-self:end;
    text-align:right;
    white-space:nowrap;
}
@media (max-width: 900px){
    .royal-footer-row,
    .royal-footer-mid,
    .royal-footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }
    .royal-footer-mid-center,
    .royal-footer-mid-right,
    .royal-footer-right{
        margin-left:0;
        margin-inline:0;
        justify-content:flex-start;
        text-align:left;
    }
    .royal-footer-groups{
        width:100%;
        flex-direction:column;
    }
    .royal-footer-group{
        width:100%;
    }
}



