/* =========================================================
   FOOTER
========================================================= */

.cd-footer{
  margin-top:60px;
  border-top:1px solid var(--border);
  background:#fff;
}

/* inner */

.cd-footer__inner{
  max-width:1200px;
  margin:0 auto;
  padding:48px 20px;

  display:grid;
  grid-template-columns:1.2fr 2fr;
  gap:60px;
}

/* brand */

.cd-footer__logo{
  font-size:22px;
  font-weight:900;
  margin-bottom:10px;
}

.cd-footer__desc{
  font-size:14px;
  opacity:.7;
  max-width:320px;
  line-height:1.6;
}

/* nav */

.cd-footer__nav{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
}

.cd-footer__col{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.cd-footer__title{
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  opacity:.6;
  margin-bottom:8px;
}

.cd-footer__col a{
  text-decoration:none;
  color:var(--text);
  opacity:.85;
  font-size:14px;

  transition:opacity .14s ease, transform .14s ease;
}

.cd-footer__col a:hover{
  opacity:1;
  transform:translateX(4px);
}

/* bottom */

.cd-footer__bottom{
  border-top:1px solid var(--border);
}

.cd-footer__bottom-inner{
  max-width:1200px;
  margin:0 auto;
  padding:16px 20px;

  display:flex;
  justify-content:space-between;
  align-items:center;

  font-size:13px;
  opacity:.6;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:900px){

  .cd-footer__inner{
    grid-template-columns:1fr;
    gap:36px;
  }

  .cd-footer__nav{
    grid-template-columns:1fr 1fr;
    gap:28px;
  }

}

@media (max-width:560px){

  .cd-footer__nav{
    grid-template-columns:1fr;
  }

  .cd-footer__bottom-inner{
    flex-direction:column;
    gap:6px;
    text-align:center;
  }

}

.cd-footer__publisher{
  color:var(--accent-hover);
  text-decoration:none;
  font-weight:700;
}

.cd-footer__publisher:hover{
  color:var(--accent);
  text-decoration:none;
}
