/* ============================================================
   LMS Celebrity Autographs – FOOTER STYLES (v1.3.4c)
   Unified across all pages
   ============================================================ */

:root {
  --brand-main: #2c146c;
  --brand-accent: #4932a3;
  --brand-gold: #d6b24a;
}

/* === FOOTER BASE === */
footer.site-footer {
  background: var(--brand-main);
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9em;
  border-top: 3px solid var(--brand-gold);
  font-family: "Roboto", sans-serif;
}

/* === FOOTER LINKS WRAPPER === */
footer.site-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  margin-top: 10px;
}

/* === LINK STYLING === */
footer.site-footer .footer-links a {
  color: var(--brand-gold);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s;
}
footer.site-footer .footer-links a:hover {
  text-decoration: underline;
  color: #f1d77b;
}

/* === SOCIAL ICONS (SVG) === */
footer.site-footer .footer-links svg {
  width: 18px;
  height: 18px;
  fill: var(--brand-gold);
  vertical-align: middle;
  transition: fill 0.25s;
}
footer.site-footer .footer-links a:hover svg {
  fill: #f1d77b;
}

/* === TOOLTIP STYLE FOR SOCIAL ICONS === */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: auto;
  white-space: nowrap;
  background-color: var(--brand-gold);
  color: var(--brand-main);
  text-align: center;
  border-radius: 5px;
  padding: 4px 8px;
  font-size: 0.85em;
  font-weight: 600;
  position: absolute;
  z-index: 10;
  bottom: 110%; /* above the icon */
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.tooltip:hover .tooltiptext,
.tooltip:focus .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/* ---------------------------------
   Footer link separators
---------------------------------- */

.footer-info a {
    position: relative;
    padding: 0 10px;
}

.footer-info a:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -2px;
    color: rgba(255,255,255,0.4);
}

.footer-social img:hover {
    opacity: 1;
}
/* ---------------------------------
   Footer layout alignment
---------------------------------- */

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center; /* vertical alignment fix */
    flex-wrap: wrap;
    gap: 20px;
}

.footer-section.footer-social {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Ensure icons align perfectly */
.footer-social img {
    height: 22px;
    width: auto;
    display: block;
}
.footer-links a {
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.footer-legal p {
    letter-spacing: 0.3px;
}

.footer-newsletter {
  margin: 25px 0;
  text-align: center;
}

.footer-newsletter input[type="email"] {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.footer-newsletter button {
  margin-left: 8px;
  padding: 6px 14px;
  background: var(--brand-gold);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}


/* === RESPONSIVE === */
@media (max-width: 480px) {
  footer.site-footer {
    font-size: 0.85em;
  }
  footer.site-footer .footer-links {
    gap: 6px 10px;
  }
}
