/*
    The footer of every page (Views/Shared/_PublicFooter.cshtml): the public pages and the application alike.
    Its own file because the application (site.css) and the public pages (landing.css) do not share a stylesheet;
    sizes in px so it looks the same under both (site.css changes the root font size). Logical properties: it mirrors
    by itself in Arabic and Urdu.
*/

/* site.css leaves a margin under the page (body 60px, html 5px): the footer is the end of the page. */
html:has(body > footer.lp-footer),
body:has(> footer.lp-footer) { margin-bottom: 0 !important; }

.lp-footer {
    background: #2c3e50;
    color: rgba(255, 255, 255, .75);
    font-family: 'Work Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: start;
}

.lp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 24px;
}

.lp-footer-brand { padding-bottom: 28px; }
.lp-footer-brand img { height: 36px; margin-bottom: 14px; display: block; }
.lp-footer-brand p { line-height: 1.6; margin: 0; max-width: 460px; font-weight: 300; }

.lp-footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.lp-footer-col { display: flex; flex-direction: column; gap: 8px; }
.lp-footer-col-title { color: #fff; font-weight: 600; margin-bottom: 2px; }

.lp-footer a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    background: none;
    transition: color .2s ease;
}

.lp-footer a:hover,
.lp-footer a:focus-visible { color: #00ddd3; background: none; }

.lp-footer-contact { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lp-footer-contact a { display: inline-flex; align-items: center; gap: 8px; }

.lp-footer-round {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.lp-footer-eu {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 14.4px;
    font-weight: 300;
    line-height: 1.6;
}

.lp-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 14.4px;
}

.lp-footer-bottom .lp-footer-copyright a { color: #fff; }
.lp-footer-bottom nav { display: flex; gap: 24px; }

@media (max-width: 575.98px) {
    .lp-footer-inner { padding: 40px 16px 20px; }
    .lp-footer-columns { gap: 32px; }
}

@media print {
    .lp-footer { display: none; }
}
