/* Site footer — legacy 4-col layout + bottom bar */

.site-footer {
    background: var(--c-fg);
    color: var(--c-bg);
    margin-top: var(--s-9);
    font-size: var(--fs-sm);
}
.site-footer a { color: var(--c-bg); text-decoration: none; }
.site-footer a:hover { opacity: 0.65; text-decoration: underline; text-underline-offset: 3px; }

/* Four columns */
.site-footer__cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-6);
    padding-block: var(--s-8) var(--s-7);
}
@media (min-width: 640px)  { .site-footer__cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__cols { grid-template-columns: repeat(4, 1fr); gap: var(--s-5); } }

.site-footer__col {
    min-width: 0;
}
.site-footer__col .widget-title {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 0 0 var(--s-4);
    color: var(--c-bg);
}

/* Paragraphs inside text widgets */
.site-footer__col .textwidget p {
    margin: 0 0 6px;
    line-height: 1.55;
}
.site-footer__col .footer-block + .footer-block { margin-top: var(--s-3); }
.site-footer__col .footer-block b,
.site-footer__col .footer-block strong { font-weight: var(--fw-semibold); color: var(--c-bg); }

/* Collapsible link groups (legacy class name: details-fotter) */
.details-fotter {
    border-bottom: 1px solid rgba(255,255,255,.15);
}
.details-fotter:first-of-type { border-top: 1px solid rgba(255,255,255,.15); }
.details-fotter summary {
    list-style: none;
    cursor: pointer;
    padding: var(--s-3) 0;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s-3);
}
.details-fotter summary::-webkit-details-marker { display: none; }
.details-fotter summary::after {
    content: "+";
    font-size: 18px;
    line-height: 1;
    font-weight: var(--fw-regular);
}
.details-fotter[open] summary::after { content: "−"; }
.details-fotter summary:hover { opacity: 0.8; }
.details-fotter ul {
    list-style: none;
    margin: 0;
    padding: 0 0 var(--s-3);
    display: grid;
    gap: 6px;
}

/* Bottom bar (copyright line) */
.site-footer__bottom {
    border-top: 1px solid #222;
    padding-block: var(--s-4);
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--s-3);
}
.site-footer__copy { color: #aaa; }

/* Legal menu (if assigned) */
.legal-nav__list {
    display: flex;
    list-style: none;
    margin: 0; padding: 0;
    gap: var(--s-4);
    flex-wrap: wrap;
}
.legal-nav__list a {
    font-size: var(--fs-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
