/* ============================================================
   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
========================================== */

.footer-newsletter {
    margin: 28px 0;
    text-align: center;
}

.footer-newsletter form {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-label {
    color: #fff;
    font-size: 1rem;
    white-space: nowrap;
}

.newsletter-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-newsletter input[type="email"] {
    width: 300px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 0.95rem;
}

.footer-newsletter button {
    padding: 10px 18px;
    background: var(--brand-gold);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s ease;
}

.footer-newsletter button:hover {
    background: #c6a13d;
}


/* === RESPONSIVE === */
@media (max-width: 480px) {

    footer.site-footer {
        font-size: 0.85em;
    }

    footer.site-footer .footer-links {
        gap: 6px 10px;
    }

    .footer-newsletter form {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .newsletter-form {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-newsletter input[type="email"],
    .footer-newsletter button {
        width: min(320px, 90%);
        margin: 0;
    }

    .newsletter-label {
        font-size: 1.05rem;
        margin-bottom: 4px;
    }

}
