﻿/* ==========================================================
   MEDIA AGENCY
   FOOTER
   ========================================================== */

.mda-footer {
 margin-top: 80px;
 background: #f7f3ef;
 border-top: 3px solid var(--mda-orange);
 color: #2b2b2b;
}


.mda-footer-top {
 padding-top: 50px;
 padding-bottom: 30px;
 border-bottom: 1px solid #e6ded7;
}


.mda-footer-brand {
 max-width: 520px;
}


.mda-footer-logo {
 display: block;
 width: auto;
 max-width: 180px;
 max-height: 65px;
 margin-bottom: 18px;
}


.mda-footer-payoff {
 margin: 0 0 10px;
 font-size: 22px;
 font-weight: 600;
 line-height: 1.25;
}


 .mda-footer-payoff span {
  color: var(--mda-orange);
  font-style: italic;
 }


.mda-footer-text {
 margin: 0;
 color: #6d665f;
 font-size: 14px;
 line-height: 1.6;
}


/* ==========================================================
   NAVIGAZIONE FOOTER
   ========================================================== */

.mda-footer-navigation {
 padding: 38px 0 32px;
}


.mda-footer-grid {
 display: grid;
 grid-template-columns: repeat(4, minmax(0, 1fr));
 gap: 35px 45px;
}


.mda-footer-column {
 min-width: 0;
}


.mda-footer-heading {
 margin: 0 0 14px;
 padding-bottom: 9px;
 border-bottom: 1px solid #ded5cd;
 font-size: 15px;
 font-weight: 700;
}


 .mda-footer-heading a {
  color: #222222;
  text-decoration: none;
 }


  .mda-footer-heading a:hover {
   color: var(--mda-orange);
  }


/* ==========================================================
   LINK
   ========================================================== */

.mda-footer-links,
.mda-footer-sublinks {
 margin: 0;
 padding: 0;
 list-style: none;
}


.mda-footer-item {
 margin-bottom: 9px;
}


.mda-footer-link {
 color: #383838;
 font-size: 13.5px;
 font-weight: 600;
 line-height: 1.4;
 text-decoration: none;
}


 .mda-footer-link:hover {
  color: var(--mda-orange);
 }


/* sottolivello */

.mda-footer-sublinks {
 margin-top: 5px;
 margin-left: 10px;
}


 .mda-footer-sublinks li {
  margin-bottom: 3px;
 }


 .mda-footer-sublinks a {
  position: relative;
  display: inline-block;
  padding-left: 10px;
  color: #777069;
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
 }


  .mda-footer-sublinks a::before {
   content: "";
   position: absolute;
   left: 0;
   top: 8px;
   width: 3px;
   height: 3px;
   border-radius: 50%;
   background: var(--mda-orange);
  }


  .mda-footer-sublinks a:hover {
   color: var(--mda-orange);
  }


/* ==========================================================
   BOTTOM
   ========================================================== */

.mda-footer-bottom {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 padding: 18px 0 22px;
 border-top: 1px solid #e0d8d1;
 color: #716a64;
 font-size: 12px;
}


.mda-footer-legal {
 display: flex;
 align-items: center;
 gap: 8px;
}


 .mda-footer-legal a {
  color: #716a64;
  text-decoration: none;
 }


  .mda-footer-legal a:hover {
   color: var(--mda-orange);
  }


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1199.98px) {

 .mda-footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
 }
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767.98px) {

 .mda-footer {
  margin-top: 55px;
 }


 .mda-footer-top {
  padding-top: 35px;
  padding-bottom: 25px;
 }


 .mda-footer-navigation {
  padding: 28px 0 20px;
 }


 .mda-footer-grid {
  grid-template-columns: 1fr;
 }


 .mda-footer-column {
  padding-bottom: 14px;
  border-bottom: 1px solid #e2dad3;
 }


 .mda-footer-bottom {
  flex-direction: column;
  align-items: flex-start;
 }
}
