/* ── Footer links: one line, no bullets ───────────────────── */
.footer-area .footer-top-contents ul,
.footer-area .footer-middle ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;      /* row gap, column gap between the links */
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-area .footer-top-contents ul li,
.footer-area .footer-middle ul li {
    margin: 0;
}

/* ── Footer row: logo first, links right after it ─────────── */
.footer-area .footer-top-contents .row,
.footer-area .footer-middle .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 24px 60px;      /* row gap, space between logo and links */
}

/* column 1: the logo */
.footer-area .row > div:has(img) {
    order: 1;
    flex: 0 0 auto;
    width: auto;
    max-width: none;
}

.footer-area .row > div:has(img) img {
    max-height: 60px;    /* change for a bigger or smaller logo */
    width: auto;
}

/* column 2: the links */
.footer-area .row > div:has(ul) {
    order: 2;
    flex: 0 1 auto;
    width: auto;
    max-width: none;
}

/* small screens: logo on top, links below */
@media (max-width: 767px) {
    .footer-area .footer-top-contents .row,
    .footer-area .footer-middle .row {
        flex-direction: column;
        align-items: flex-start;
    }
}