body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    background-color: var(--brand-blue);
    color: white;
    margin-top: auto;
}

footer .ui.container.grid {
    flex-direction: row !important;
    flex-wrap: unset !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

#footer-nav {
    padding: 2.6rem 0 !important;
}

#map {
    height: 250px;
    width: 250px;
}

.footer-header {
    color: #fff;
    font-size: 1.12rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    text-align: center;
}

.custom-footer-divider {
    background: var(--brand-orange);
    border-radius: 12px;
    height: 4px;
    margin-bottom: 1.4rem;
    width: 60px;
}

.footer-nav-item {
    margin-bottom: 0.75rem !important;
    text-transform: uppercase;
}

#footerNavItems {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.footer-nav-item > ul {
    margin: 0.5rem 0;
    padding-inline-start: 30px;
}

.footer-nav-item > a,
.footer-nav-item > ul a {
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.footer-nav-item > a:hover,
.footer-nav-item > ul a:hover {
    color: var(--brand-orange);
}

.footer-brand-anchor {
    display: block;
    padding-left: 0;
}

#footer-signature {
    align-items: end;
    background: var(--brand-orange);
    color: #fff;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    justify-content: center;
    min-width: 72px;
    writing-mode: vertical-rl;
}

#footer-signature > div {
    height: min-content;
    margin-bottom: 2rem;
    transform: rotate(180deg);
}

#footerContactItems {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

#footerContact > *:not(h3),
#brandsContact > *:not(h3) {
    font-size: initial;
    line-height: normal !important;
}

.footer-map-card {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0 auto;
    max-width: 280px;
    padding: 1.35rem 1.1rem;
    text-align: center;
    white-space: normal;
}

.footer-map-card i {
    color: var(--brand-orange);
    font-size: 2rem;
    margin: 0 0 0.35rem !important;
}

.footer-map-card div {
    font-weight: 700;
}

.footer-map-card span {
    color: rgba(255, 255, 255, 0.72);
    display: block;
}

.footer-map-card a {
    border-bottom: 2px solid var(--brand-orange);
    color: #fff;
    font-weight: 700;
    margin-top: 0.8rem;
    padding-bottom: 0.2rem;
}

.footer-map-card a:hover {
    color: var(--brand-orange);
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    footer .ui.grid.container {
        padding: 0 1rem;
    }
}
