.md-button.icon-only {
  padding: 0.4rem 0.6rem;
}

.md-button.icon-only svg {
  width: 1.2em;
  height: 1.2em;
}

/* Base footer styles (desktop) */
.custom-footer {
  font-size: .7rem;
  padding: 1rem 2rem;
  background-color: hsla(225deg, 15%, 9%, 1);
  color: #fff;
}

.custom-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.custom-footer__left,
.custom-footer__center,
.custom-footer__right {
  display: flex;
  align-items: center;
}

/* Center text */
.custom-footer__center {
  flex: 1;
  justify-content: center;
  text-align: center;
}

/* Left & Right */
.custom-footer__left,
.custom-footer__right {
  flex: 0 0 auto;
}

/* Right section: social icons (desktop) */
.custom-footer__right {
  justify-content: flex-end;
  gap: 0.8rem;
}

/* Icon wrapper */
.custom-footer__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease;
}

/* Icon size */
.custom-footer__icon i.fab {
  font-size: 1rem;
}

/* Hover effect */
.custom-footer__icon:hover {
  transform: scale(1.1);
}

/* Button */
.custom-footer__button {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
}

.custom-footer__button:hover {
  background-color: #e55d48;
  color: #fff;
  transform: scale(1.05);
  transition: 0.2s ease;
}

/* ---------------- Mobile Adjustments ---------------- */
@media (max-width: 768px) {
  .custom-footer {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .custom-footer__inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    padding: 0.8rem 1rem;
  }

  .custom-footer__left,
  .custom-footer__center,
  .custom-footer__right {
    justify-content: center;
    font-size: 0.85rem;
  }

  .custom-footer__icon i.fab {
    font-size: 1rem;
  }

  .custom-footer__button {
    font-size: 0.9rem;
    padding: 0.35rem 0.7rem;
  }

  .custom-footer__right {
    justify-content: center;
    gap: 0.6rem;
    margin-top: 0.3rem;
  }
}
