/* Yellow Picnic — global brand footer.
   Extracted from the homepage footer so every standard page can share it.
   Loaded site-wide (except the homepage, which ships its own copy in
   yp-homepage.css). Tokens are also defined in yp-nav.css :root, but are
   repeated here as a fallback so this file is self-sufficient. */
:root {
    --yp-espresso:   #473B37;
    --yp-ivory:      #F5F5F2;
    --yp-fawn:       #D9D6D0;
    --yp-black:      #000000;
    --yp-font-serif: 'Instrument Serif', Georgia, serif;
    --yp-font-sans:  'Montserrat', sans-serif;
    --yp-t-link:     color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

/* Replace Salient's default theme footer wherever the brand footer is injected */
#footer-outer { display: none !important; }

.yp-footer {
    background: var(--yp-ivory);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 60px 20px;
    text-align: center;
}
.yp-footer__logo {
    display: block;
    font-family: var(--yp-font-serif);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--yp-espresso);
    text-decoration: none;
}
.yp-footer__logo-img {
    max-height: 53px;
    width: auto;
    display: block;
    margin: 0 auto;
}
.yp-footer__divider {
    border: none;
    border-top: 1px solid var(--yp-fawn);
    width: 478px;
    max-width: 478px;
    margin: 0;
}
.yp-footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}
.yp-footer__social {
    display: flex;
    gap: 20px;
    align-items: center;
}
.yp-footer__social a {
    color: var(--yp-black);
    opacity: 1;
    transition: var(--yp-t-link);
}
.yp-footer__social a:hover { opacity: 0.6; }
.yp-footer__social svg,
.yp-footer__social img { width: 25px !important; height: 25px !important; }
.yp-footer__disclaimer {
    margin: 0;
    padding: 0;
    max-width: 432px;
    text-align: center;
    font-family: var(--yp-font-sans);
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    color: var(--yp-black);
}
.yp-footer__disclaimer a {
    color: var(--yp-black);
    text-decoration: none;
    text-underline-offset: 2px;
    transition: var(--yp-t-link);
}
.yp-footer__disclaimer a:hover { text-decoration: underline; }

@media (max-width: 690px) {
    .yp-footer__logo-img   { max-height: 42px; }
    .yp-footer__divider    { width: 220px; max-width: 220px; }
    .yp-footer__social svg,
    .yp-footer__social img { width: 18px !important; height: 18px !important; }
    .yp-footer__disclaimer { font-size: 9px; line-height: 15px; }
}
