.site-footer {
    --footer-primary: #101827;
    --footer-secondary: #0b1220;
    --footer-border: rgba(255, 255, 255, 0.14);
    --footer-muted: #aab6d3;
    --footer-link: #fff;
    --footer-accent: var(--bs-primary);

    background-color: var(--footer-secondary);
    color: #fff;
}

/* General links
-------------------------------------------------------------- */

.site-footer a:not(.btn) {
    color: var(--footer-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:not(.btn):hover,
.site-footer a:not(.btn):focus-visible {
    color: var(--footer-accent);
}

/* Primary footer
-------------------------------------------------------------- */

.site-footer .footer-primary {
    padding: 4.5rem 0;
    background-color: var(--footer-primary);
}

.site-footer .footer-logo {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.site-footer .footer-logo img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 70px;
}

.site-footer .footer-intro {
    max-width: 260px;
    margin-bottom: 1.5rem;
    color: var(--footer-muted);
    font-size: 1.05rem;
    line-height: 1.55;
}

.site-footer .footer-address {
    color: var(--footer-muted);
    line-height: 1.45;
}

.site-footer .footer-address p:last-child {
    margin-bottom: 0;
}

/* Office details
-------------------------------------------------------------- */

.site-footer .footer-offices {
    margin-top: 1.5rem;
}

.site-footer .footer-office {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.site-footer .footer-office-icon {
    padding-top: 0.1rem;
    color: var(--footer-accent);
    font-size: 1rem;
    text-align: center;
}

.site-footer .footer-office-title {
    display: block;
    margin-bottom: 0.35rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.3;
}

.site-footer .footer-office-title span {
    font-weight: inherit;
}

.site-footer .footer-office address {
    margin: 0;
    color: var(--footer-muted);
    font-style: normal;
    line-height: 1.45;
}

.site-footer .footer-contact-links {
    padding-top: 1rem;
    border-top: 1px solid var(--footer-border);
}

.site-footer .footer-contact-links a {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
}

.site-footer .footer-contact-links a + a {
    margin-top: 0.6rem;
}

.site-footer .footer-contact-links i {
    color: var(--footer-accent);
    text-align: center;
}

.site-footer .footer-contact-links span {
    color: var(--footer-accent);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    transition: color 0.2s ease;
}

.site-footer .footer-contact-links a:hover span,
.site-footer .footer-contact-links a:focus-visible span {
    color: #fff;
}

/* Widgets and navigation lists
-------------------------------------------------------------- */

.site-footer .footer-widget-title {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--footer-border);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
}

.site-footer .footer-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .footer-widget li {
    border-bottom: 1px solid var(--footer-border);
}

.site-footer .footer-widget li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

.site-footer .footer-widget li > a::after {
    content: "\2192";
    flex: 0 0 auto;
    color: var(--footer-accent);
}

/* CTA widget
-------------------------------------------------------------- */

.site-footer .footer-primary .footer-widget.widget_theme_blog_cta {
    height: 100%;
    padding: 2rem;
    border: 1px solid var(--footer-border);
    border-radius: 0.75rem;
}

.site-footer .sidebar-cta > h3 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Secondary footer
-------------------------------------------------------------- */

.site-footer .footer-secondary {
    padding: 3rem 0;
    background-color: var(--footer-secondary);
    border-top: 1px solid var(--footer-border);
}

/* Connect column
-------------------------------------------------------------- */

.site-footer .footer-social-link {
    display: grid;
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--footer-border);
}

.site-footer .footer-social-link .bi-linkedin {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 0.35rem;
    background-color: var(--footer-accent);
    color: #fff;
    font-size: 1.25rem;
}

.site-footer .footer-social-link .bi-arrow-right {
    color: var(--footer-accent);
}

/* Newsletter
-------------------------------------------------------------- */

.site-footer .footer-newsletter {
    padding-top: 1.25rem;
}

.site-footer .footer-newsletter h3 {
    margin: 0 0 1rem;
    color: #fff;
    font-size: 1rem;
    line-height: 1.4;
}

.site-footer .footer-newsletter-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 3.25rem;
}

.site-footer .footer-newsletter-fields input {
    width: 100%;
    min-width: 0;
    height: 3.25rem;
    padding: 0 1rem;
    border: 1px solid var(--footer-border);
    border-right: 0;
    border-radius: 0.4rem 0 0 0.4rem;
    outline: 0;
    background-color: transparent;
    color: #fff;
}

.site-footer .footer-newsletter-fields input::placeholder {
    color: var(--footer-muted);
    opacity: 1;
}

.site-footer .footer-newsletter-fields input:focus {
    border-color: var(--footer-accent);
}

.site-footer .footer-newsletter-fields button {
    display: grid;
    height: 3.25rem;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 0 0.4rem 0.4rem 0;
    background-color: var(--footer-accent);
    color: #fff;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.site-footer .footer-newsletter-fields button:hover,
.site-footer .footer-newsletter-fields button:focus-visible {
    background-color: #108FA9;
}

.site-footer .footer-newsletter-fields button:active {
    transform: scale(0.96);
}

/* Utility footer
-------------------------------------------------------------- */

.site-footer .footer-utility {
    padding: 1.25rem 0;
    border-top: 1px solid var(--footer-border);
    color: var(--footer-muted);
}

.site-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.site-footer .footer-legal-nav .navbar-nav {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    margin: 0;
}

.site-footer .footer-legal-nav a {
    color: var(--footer-muted);
    font-size: 0.875rem;
}

/* Responsive
-------------------------------------------------------------- */

@media (max-width: 767.98px) {
    .site-footer .footer-primary {
        padding: 3rem 0;
    }

    .site-footer .footer-secondary {
        padding: 2.5rem 0;
    }

    .site-footer .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer .footer-legal-nav .navbar-nav {
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
    }
}