/* ==========================================
   OPLEVIO FOOTER
   ========================================== */

.oplevio-footer {
    background: #f5f8fa;
    color: #18203a;
    font-family: 'Montserrat', sans-serif;
    padding: 85px 0 25px;
}

.oplevio-footer *,
.oplevio-footer *::before,
.oplevio-footer *::after {
    box-sizing: border-box;
}

.oplevio-footer-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 12px;
}

.oplevio-footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 55px;
}

/* Logo */

.oplevio-footer-brand img {
    display: block;
    width: 163px;
    max-width: 100%;
    height: auto;
    margin-bottom: 18px;
}

.oplevio-footer-brand p {
    max-width: 260px;
    margin: 0;
    color: #657084;
    font-size: 13px;
    line-height: 1.8;
}

/* Kolonner */

.oplevio-footer-column h3 {
    margin: 0 0 20px;
    color: #8d198d;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .6px;
}

.oplevio-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.oplevio-footer-column li {
    margin-bottom: 12px;
    color: #657084;
    font-size: 13px;
    line-height: 1.6;
}

.oplevio-footer a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease;
    font-weight: normal;
    font-size: 13px;
}

.oplevio-footer a:hover {
    color: #8d198d;
}

/* Nederste linje */

.oplevio-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid #dfe4ea;
}

.oplevio-footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.oplevio-footer-legal a,
.oplevio-footer-copyright {
    color: #657084;
    font-size: 12px;
    line-height: 1.6;
}

/* Bootstrap-containerbredder */

@media (max-width: 1399.98px) {
    .oplevio-footer-container {
        max-width: 1140px;
    }
}

@media (max-width: 1199.98px) {
    .oplevio-footer-container {
        max-width: 960px;
    }
}

@media (max-width: 991.98px) {
    .oplevio-footer-container {
        max-width: 720px;
    }

    .oplevio-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px;
    }

    .oplevio-footer {
        padding-top: 65px;
    }
}

@media (max-width: 767.98px) {
    .oplevio-footer-container {
        max-width: 540px;
    }
}

@media (max-width: 575.98px) {
    .oplevio-footer-container {
        max-width: 100%;
        padding: 0 16px;
    }

    .oplevio-footer {
        padding: 48px 0 24px;
    }

    .oplevio-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 20px;
        row-gap: 32px;
        padding-bottom: 36px;
    }

    .oplevio-footer-brand {
        grid-column: 1 / -1;
    }

    .oplevio-footer-brand p {
        max-width: 320px;
    }

    .oplevio-footer-column h3 {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .oplevio-footer-column li {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .oplevio-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding-top: 20px;
    }

    .oplevio-footer-legal {
        gap: 14px;
    }

    .oplevio-footer-legal a,
    .oplevio-footer-copyright {
        font-size: 11px;
    }
}

@media (min-width: 992px) {
    .oplevio-footer {
        padding-top: 60px;
        padding-bottom: 24px;
    }

    .oplevio-footer-grid {
        gap: 36px;
        padding-bottom: 36px;
    }

    .oplevio-footer-column h3 {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .oplevio-footer-column li {
        font-size: 13px;
        margin-bottom: 9px;
    }

    .oplevio-footer-brand p {
        font-size: 13px;
        line-height: 1.7;
    }
}
@media (max-width: 575.98px) {
    .oplevio-footer {
        padding: 42px 0 24px;
    }

    .oplevio-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 20px;
        padding-bottom: 30px;
    }

    .oplevio-footer-brand {
        grid-column: 1 / -1;
        padding-bottom: 8px;
    }

    .oplevio-footer-column:last-child {
        grid-column: 1 / -1;
        padding-top: 20px;
        border-top: 1px solid #dfe4ea;
    }

    .oplevio-footer-column h3 {
        font-size: 12px;
        margin-bottom: 14px;
    }

    .oplevio-footer-column li {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .oplevio-footer-bottom {
        gap: 16px;
    }
}