/* Sticky footer - keeps footer at bottom of viewport when content is short */
html {
    min-height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.copyright
{
    margin-top: auto;     /* Pushes footer to bottom in flex layout */
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 10px;
    padding: 18px 24px 0;
    background-color: grey;
    font-family: 'Inter', sans-serif;
}

.footer-legal a {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #b44a3f;
    text-decoration: underline;
}

.footer-legal-sep {
    color: rgba(0, 0, 0, 0.35);
    font-size: 14px;
    user-select: none;
}

.copyright p
{
    text-align: center;
    padding: 14px 28px 28px;
    color: black;
    background-color: grey;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* Footer inside social section: transparent so section gradient + overlay show through */
.socials-section-modern .copyright,
.socials-section-modern .copyright p,
.socials-section-modern .footer-legal {
    background: transparent !important;
    background-color: transparent !important;
    color: #ffffff !important;
}

.socials-section-modern .copyright p {
    color: #ffffff !important;
}

.socials-section-modern .footer-legal a {
    color: #ffffff !important;
}

.socials-section-modern .footer-legal a:hover {
    color: #e8a59e !important;
}

.socials-section-modern .footer-legal-sep {
    color: rgba(255, 255, 255, 0.5) !important;
}

@media (max-width: 640px){
  .footer-legal {
    padding: 14px 16px 0;
    gap: 4px 8px;
  }

  .footer-legal a,
  .footer-legal-sep {
    font-size: 13px;
  }

  .copyright p{
    padding: 12px 18px 18px;
    font-size: 14px;
  }
}
