
  
footer{
  background-color: var(--gb-color);
  color: #fff;
  padding: 48px 16px 24px;
}

/* 4 баганын wrapper */
footer > .____4f_{
  max-width: 1200px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

@media (max-width: 992px){
  footer > .____4f_{
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}


@media (max-width: 576px){
  footer > .____4f_{
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }
}

footer .__4f_ h3,
footer .__4f_ h4{
  margin-bottom: 12px;
  font-size: 1.2rem;
}

footer .__4f_ a{
  display: block;
  color: #ddd;
  text-decoration: none;
  margin-bottom: 6px;
  transition: color .3s ease;
}

footer .__4f_ a:hover{
  color: #fff;
}

footer address{
  font-style: normal;
  line-height: 1.6;
  margin: 8px 0;
}

/* social icons container */
footer .__4f_:last-child a{
  background: white;
  width: 45px;
  height: 45px;
  border-radius: 4px;
}
/* social icons grid */
footer .__4f_:last-child > div{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
  gap: 12px;

  max-width: 300px;   /* хүсвэл */
}
footer .__4f_:last-child i[class^="icon-"]{
  width: 45px;
  height: 45px;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}



 
/*Доод copyright мөр*/
footer > p{
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.2);
  text-align: center;
  font-size: 14px;
  color: #ccc;
}

footer > p span{
  margin-left: 6px;
  font-size: 13px;
}



/* map link button */
footer a[href*="google.com/maps"]{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 8px 14px;
  margin-top: 10px;

  background: #fff;
  color: #000;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;

  max-width: fit-content;
}

/* map icon image */
footer a[href*="google.com/maps"] img{
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

  