/* Blog footer aligned with Mobile Island ecommerce footer style */

.blog-premium-footer {
  margin-top: 8px;
}

#footer.blog-premium-footer {
  background: #111111;
  border-top: 1px solid rgba(247, 207, 4, 0.24);
}

#footer.blog-premium-footer .footer-widgets {
  max-width: 1240px;
  margin: 0 auto;
  padding: 44px 20px 30px;
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr 1fr;
  gap: 28px;
}

#footer.blog-premium-footer .footer-widget h4 {
  margin: 0 0 14px;
  font-size: 19px;
  color: #ffffff;
  font-weight: 800;
}

#footer.blog-premium-footer .footer-widget h4::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 8px;
  border-radius: 999px;
  background: #f7cf04;
}

.footer-brand-logo img {
  width: auto;
  max-height: 46px;
}

.footer-brand-about {
  margin: 14px 0 16px;
  color: #cfcfcf;
  line-height: 1.7;
  font-size: 14px;
}

.footer-social-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-icons .footer-social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(247, 207, 4, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  transition: all 0.2s ease;
}

.footer-social-icons .footer-social-icon:hover {
  border-color: #f7cf04;
  background: #232323;
  transform: translateY(-2px);
}

.footer-social-icons .footer-social-icon img {
  width: 19px;
  height: 19px;
}

.footer-block {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-icon {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.footer-block-caption {
  color: #d6d6d6;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
}

.footer-block-caption:hover,
#footer.blog-premium-footer .footer-widget a:hover {
  color: #f7cf04;
}

#footer.blog-premium-footer .footer-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer.blog-premium-footer .footer-widget li {
  margin-bottom: 8px;
}

#footer.blog-premium-footer .footer-widget a {
  color: #d6d6d6;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  transition: color 0.2s ease;
}

.footer-info {
  background: #0b0b0b;
  border-top: 1px solid rgba(247, 207, 4, 0.2);
  padding: 12px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 16px;
  color: #d6d6d6;
  font-size: 13px;
}

.footer-info-copy {
  margin: 0;
  white-space: nowrap;
  justify-self: start;
  text-align: left;
}

.footer-policy-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  row-gap: 4px;
  margin: 0;
  justify-self: center;
  grid-column: 2;
}

.footer-policy-links a {
  color: #d6d6d6;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-policy-links a:hover {
  color: #f7cf04;
}

.footer-policy-sep {
  color: #888;
  font-size: 11px;
}

.footer-info .payment-image {
  justify-self: end;
  grid-column: 3;
}

.footer-info .payment-image img {
  display: block;
  max-height: 24px;
  width: auto;
}

@media (max-width: 1080px) {
  #footer.blog-premium-footer .footer-widgets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #footer.blog-premium-footer .footer-widgets {
    grid-template-columns: 1fr;
    padding: 34px 12px 22px;
    gap: 20px;
  }

  .footer-info {
    grid-template-columns: 1fr;
    row-gap: 10px;
    padding: 12px 10px;
    text-align: center;
  }

  .footer-info-copy {
    white-space: normal;
    justify-self: center;
    text-align: center;
    grid-column: 1;
  }

  .footer-policy-links {
    flex-wrap: wrap;
    justify-self: center;
    grid-column: 1;
  }

  .footer-info .payment-image {
    justify-self: center;
    grid-column: 1;
  }
}
