/* =========================================================
   CLEAN MASONRY-STYLE FOOTER
========================================================= */

.cp-footer {
  padding: 0px 40px 20px;
  text-align: center;
}

.cp-footer__grid {
  max-width: 1100px;
  margin: 0 auto 20px auto;
  display: grid;
  gap: 50px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start;
}

.cp-footer__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.cp-footer__brand {
  color: var(--brand-yellow);
  font-size: 28px;
  margin-bottom: 2px;
}

.cp-footer__logo {
  font-size: 30px;
  height: 34px;
  letter-spacing: .93px;
  pointer-events: none;
}

.cp-footer__heading {
  color: var(--accent-magenta);
  
  letter-spacing: 1px;
  margin-bottom: 0;
}

@media (max-width: 320px) {
  .cp-footer {
    padding: 0 8px 16px;
    overflow-wrap: anywhere;
  }

  .cp-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 14px;
  }

  .cp-footer__brand {
    font-size: 24px;
    line-height: 1;
    overflow-wrap: anywhere;
  }

  .cp-footer__logo {
    font-size: 24px;
    height: 28px;
  }

  .cp-footer__tagline,
  .cp-footer__bottom {
    font-size: 17px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 180px) {
  .cp-footer {
    padding-inline: 4px;
  }

  .cp-footer__brand {
    font-size: 20px;
  }

  .cp-footer__logo {
    font-size: 20px;
    height: 24px;
  }

  .cp-footer__tagline,
  .cp-footer__bottom {
    font-size: 14px;
  }
}
