
/* ----------------------------------
   Footer
---------------------------------- */


#maincontainerfooter.main-containerfooter,
#customfooter.main-contentfooter {
    margin: 0;
    max-width: none;
    padding: 0;
    width: auto;
}

.eh-footer {
    align-items: center;
    background:
        linear-gradient(rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.86)),
        url("/images/sektioner/uploads/eh-footer-hero.webp") center / cover no-repeat;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    font-family: "Inter", sans-serif;
    gap: 3.75rem;
    padding: clamp(5rem, 7.8vw, 9.375rem) clamp(1rem, 5.2vw, 6.25rem);
}

.eh-footer__logo-wrap {
    align-items: center;
    display: flex;
    justify-content: center;
}

.eh-footer__logo {
    display: block;
    height: auto;
    object-fit: contain;
    width: 9.875rem;
}

.eh-footer__main {
    max-width: 83.75rem;
    width: 100%;
}

.eh-footer__inner {
    align-items: flex-start;
    display: grid;
    gap: clamp(2rem, 4vw, 4.5rem);
    grid-template-columns: minmax(16rem, 25.375rem) minmax(8rem, 1fr) minmax(11rem, 1fr) minmax(11rem, 1fr);
    padding: 1.875rem;
}

.eh-footer__col {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.eh-footer__col--about {
    gap: 1rem;
}

.eh-footer__heading {
    color: #4ba0cb;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.eh-footer__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    max-width: 25.375rem;
}

.eh-footer__divider {
    background: rgba(255, 255, 255, 0.18);
    height: 0.0625rem;
    width: 100%;
}

.eh-footer__socials {
    align-items: center;
    display: flex;
    gap: 0.625rem;
}

.eh-footer__social {
    align-items: center;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    transition: opacity 180ms ease, transform 180ms ease;
    width: 2rem;
}

.eh-footer__social:hover,
.eh-footer__social:focus-visible {
    opacity: 0.75;
    transform: translateY(-1px);
}

.eh-footer__social img {
    display: block;
    height: 2rem;
    width: 2rem;
}

.eh-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eh-footer__links a {
    color: #ffffff;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.85;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.eh-footer__links a:hover,
.eh-footer__links a:focus-visible {
    color: #4ba0cb;
    transform: translateX(0.125rem);
}

.eh-footer__hours {
    color: #ffffff;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    gap: 0.35rem;
    margin: 0;
    min-width: 12rem;
}

.eh-footer__hours div {
    align-items: center;
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 4.6875rem max-content;
}

.eh-footer__hours dt {
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

.eh-footer__hours dd {
    font-weight: 400;
    line-height: 1.85;
    margin: 0;
    white-space: nowrap;
}

.eh-footer__actions {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.eh-footer__btn {
    align-items: center;
    background: #4ba0cb;
    border-radius: 0.5rem;
    color: #ffffff;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 600;
    gap: 0.25rem;
    justify-content: center;
    line-height: 1.5;
    min-height: 3.375rem;
    padding: 0.9375rem 1.125rem;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
    white-space: nowrap;
}

.eh-footer__btn:hover,
.eh-footer__btn:focus-visible {
    background: #60b2da;
    color: #ffffff;
    transform: translateY(-1px);
}

.eh-footer__btn img {
    display: block;
    height: 1.5rem;
    width: 1.5rem;
}

.eh-footer__bottom {
    align-items: center;
    color: #eeeeee;
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    gap: 2rem;
    justify-content: center;
    line-height: 1.85;
    min-height: 1.875rem;
    text-align: center;
}

.eh-footer__copyright {
    align-items: center;
    display: flex;
    gap: 0.3125rem;
    justify-content: center;
}

.eh-footer__copyright span:first-child {
    color: rgba(242, 240, 239, 0.5);
    font-size: 1rem;
}

@media (max-width: 1199.98px) {
    .eh-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .eh-footer {
        align-items: stretch;
        gap: 2.5rem;
        padding: 4rem 1.25rem;
    }

    .eh-footer__logo {
        width: 8.75rem;
    }

    .eh-footer__inner {
        gap: 2rem;
        grid-template-columns: 1fr;
        padding: 0;
    }

    .eh-footer__text,
    .eh-footer__main {
        max-width: none;
    }

    .eh-footer__hours div {
        grid-template-columns: minmax(5.5rem, 1fr) max-content;
    }
}

