/* =========================================================
   Footer: single markup, responsive layout only
   ========================================================= */

/* Keep themed colours working if you use CSS vars elsewhere */
.footer-wrapper[data-themed="1"] {
  color: var(--footer-text);
}
.footer-wrapper[data-themed="1"] a {
  color: var(--footer-link);
}

/* X icon sizing (keeps your current look without inline margins) */
.footer-x-icon-connect {
  width: 30px !important;
  margin-left: -4px !important;
  margin-right: 4px !important;
  margin-bottom: 1px !important;
}
.footer-x-icon-share {
  width: 24px !important;
  margin-left: 12px !important;
  margin-right: 2px !important;
  margin-bottom: 1px !important;
}

/* Contact list clean up (your desktop had nested li issues elsewhere) */
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-contact-list li {
  line-height: 16px;
  font-size: 13px;
  margin-bottom: 8px;
}

/* Auth button hover (from your mobile inline CSS) */
.footer-auth-btn {
  background: #ffffff;
  border: 1px solid #ddd;
  transition: 0.2s ease-in-out;
}
.footer-auth-btn:hover { background: #d4a017; border-color: #bbb; }
.footer-auth-btn:active { background: #ffb300; border-color: #aaa; }

/* =========================================================
   Layout engine: use grid so we can move things without
   loading 3 different partials
   ========================================================= */

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

/* Make sure col wrappers behave */
.footer-col {
  min-width: 0;
}

/* Keep the existing flex stack in col 3 */
.footer-col3-stack {
  display: block !important;
}

/* Separators: keep as-is on desktop */
.footer-sep { display: block; }

/* =========================================================
   Tablet: stack to 2 columns, keep spacing similar
   Bootstrap lg breakpoint is 992px
   ========================================================= */
@media (max-width: 991.98px) {

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  /* Order: About, Menu, Social/Sharing, Newsletter/Contact/Links */
  .footer-col-1 { order: 1; }
  .footer-col-2 { order: 2; }
  .footer-col-3 { order: 3; }
  .footer-col-4 { order: 4; }

  /* Reduce top margins a touch to match your tablet feel */
  .footer-share-title { margin-top: 24px !important; }
}

/* =========================================================
   Mobile: single column, adjust bits to match your mobile
   ========================================================= */
@media (max-width: 575.98px) {

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  
  .footer-x-icon-share {
    width: 24px !important;
    margin-left: 12px !important;
    margin-right: 0px !important;
    margin-bottom: 1px !important;
}

  /* Make icons align like your mobile CSS */
  .footer-social-icons,
  .footer-share-icons {
    justify-content: flex-start !important;
    margin-left: 8px !important;
  }

  /* Sharing icons spacing */
  .footer-share-icons .share-btn {
    margin-right: 3px !important;
  }

  /* External links stack nicely */
  .footer-images-grid {
    display: block !important;
  }
  .footer-images-grid > div {
    margin-bottom: 16px;
  }

  /* Your mobile had a bit more breathing room around rules */
  .footer-sep { margin-top: 14px !important; }
}
.footer-block-menu a:hover{
  color:#174a74;
  transform:scale(1.05);
  text-shadow:0 0 6px rgba(255,255,255,.3);
}
.footer-social-icons i{
  font-size:14px;
  margin-right:8px;
  border-radius:50%;
  padding:8px;
  color:#fff !important;
  width:30px; height:30px; line-height:14px;
  text-align:center;
  display:inline-block;
}
.footer-block i{
  font-size:14px;
  margin-right:8px;
  border-radius:50%;
  padding:8px;
  color:#212529;
  width:30px; height:30px; line-height:14px;
  text-align:center;
  display:inline-block;
}
.footer-social-icons-share i{
  font-size:14px;
  margin-right:14px;
  border-radius:50%;
  padding:8px;
  color:#fff;
  width:30px; height:30px;
  text-align:center;
  display:inline-block;
  vertical-align:middle;
}
.footer-about-width{ width:300px; }

.footer-social-icons i.fa-facebook-f{ background:#3b5998; }
.footer-social-icons i.fa-instagram{ background:#E1306C; }
.footer-social-icons i.fa-youtube{ background:#FF0000; }
.footer-social-icons i.fa-twitter{ background:#1DA1F2; }
.footer-social-icons i.fa-tiktok{ background:#000; }

.footer-block .share-btn i.fa-facebook-f{ background:#3b5998; }
.footer-block .share-btn i.fa-twitter{ background:#1DA1F2; }
.footer-block .share-btn i.fa-whatsapp{ background:#25D366; }
.footer-block .share-btn i.fa-envelope{ background:#dd4b39; }
.footer-block .share-btn i.fa-link{ background:#6c757d; }

.footer-social-icons-share i.fa-facebook-f{ background:#3b5998; }
.footer-social-icons-share i.fa-twitter{ background:#1DA1F2; }
.footer-social-icons-share i.fa-instagram{ background:#E1306C; }
.footer-social-icons-share i.fa-youtube{ background:#FF0000; }
.footer-social-icons-share i.fa-tiktok{ background:#000; }
.footer-social-icons-share i.fa-whatsapp{ background:#25D366; }
.footer-social-icons-share i.fa-envelope{ background:#c71610; }
.footer-social-icons-share i.fa-link{ background:#888; }

.share-btn{ margin-left:10px; }
.footer-expanded{
  display:none;
  margin-top:20px;
  border-top:1px solid #ccc;
  padding-top:20px;
}
.footer-toggle-btn{
  background:none;
  border:none;
  color:#444;
  font-weight:600;
  margin-top:10px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.footer-toggle-btn:hover{ color:#000; }
.footer-image-info{
  display:flex;
  flex-direction:column;
  gap:15px;
  margin-top:20px;
}
.footer-image-info img{
  object-fit:cover;
  border-style:solid; border-width:1px;
  margin-right:5px; margin-top:12px;
}
/* Spacing helpers */
.footer-v-space{ margin-top:30px; }
@media (max-width:767px){ .footer-v-space{ margin-top:35px; } }
@media (min-width:768px) and (max-width:1024px){ .footer-v-space{ margin-top:45px; } }
hr.faded-line{
  border:none;
  height:1px;
  background:linear-gradient(to right, transparent, #000, transparent);
  margin:16px 0;
}