/* Site footer — layout tokens from skeidar.no Emotion CSS.
   Content (labels, links, icons) comes from CMS only. */

.site-footer {
    width: 100%;
    max-width: none;
    margin: 0;
    background: #ffffff;
    color: #000000;
    font-family: var(--font-mark-ot), Arial, sans-serif;
}


    /* -------------------------------------------------------------------------- */
    /* Full width                                                                 */
    /* -------------------------------------------------------------------------- */

    .site-footer__inner,
    .site-footer__inner.skeidar-block,
    .site-footer__inner.skeidar-block--contained,
    .site-footer.skeidar-block--contained {
        width: 100%;
        max-width: none;
        margin-inline: 0;
    }


/* -------------------------------------------------------------------------- */
/* USP strip                                                                  */
/* -------------------------------------------------------------------------- */

.site-footer__usp {
    width: 100%;
    background: #ffffff;
}


.site-footer__usp-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    margin: 0;
    padding: 32px 8px;
    list-style: none;
}


.site-footer__usp-item {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 160px;
    flex: 0 0 160px;
    text-align: center;
    text-decoration: none;
    color: #000000;
}


    .site-footer__usp-item:hover {
        opacity: 0.7;
    }


.site-footer__usp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}


    .site-footer__usp-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


.site-footer__usp-title {
    width: 160px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
    color: #000000;
}


/* -------------------------------------------------------------------------- */
/* Main footer                                                                */
/* -------------------------------------------------------------------------- */

.site-footer__main {
    width: 100%;
    background: #e6dfd6;
    padding: 16px 0;
}


.site-footer__columns {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
}


.site-footer__column {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
    min-width: 0;
    padding: 8px 12px;
    border: #000;
    border-bottom: 1px solid;
}


/* -------------------------------------------------------------------------- */
/* Back to top                                                                */
/* -------------------------------------------------------------------------- */

.site-footer__back-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 32px;
    margin-bottom: 16px;
    padding: 1px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #000000;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    box-shadow: none;
}


.site-footer__back-to-top-label {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: #000000;
}


.site-footer__back-to-top-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-90deg);
    width: 8px;
    height: 8px;
    margin-left: 2px;
}


    .site-footer__back-to-top-icon svg {
        width: 16px;
        height: 16px;
        display: block;
    }


/* -------------------------------------------------------------------------- */
/* Footer heading                                                             */
/* -------------------------------------------------------------------------- */

.site-footer__heading {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: #000000;
}


/* -------------------------------------------------------------------------- */
/* FOOTER ACCORDION                                                           */
/* -------------------------------------------------------------------------- */

/*
 * Desktop heading is hidden on mobile.
 * Mobile accordion trigger is shown.
 */

.site-footer__desktop-heading {
    display: none;
}


.site-footer__accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #000000;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}


.site-footer__accordion-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}


.site-footer__accordion-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
   
}

    /* Chevron */
    .site-footer__accordion-icon::before {
        content: "";
        width: 8px;
        height: 8px;
        border-right: 1px solid #000000;
        border-bottom: 1px solid #000000;
        transform: rotate(45deg);
        transition: transform 0.2s ease;
    }

    /* Open = chevron pointing up */
    .site-footer__accordion-icon.is-open::before {
        transform: rotate(225deg);
    }


/*
 * Closed state
 */

.site-footer__accordion-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: hidden;
    transition: grid-template-rows 0.25s ease, opacity 0.2s ease;
}


    /*
 * Open state
 */

    .site-footer__accordion-content.is-open {
        grid-template-rows: 1fr;
        opacity: 1;
    }


.site-footer__accordion-content-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 8px;
}


.site-footer__accordion-content.is-open
.site-footer__accordion-content-inner {
    padding-top: 0;
    padding-bottom: 16px;
}


/* -------------------------------------------------------------------------- */
/* Links                                                                      */
/* -------------------------------------------------------------------------- */

.site-footer__links,
.site-footer__social {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
}


    .site-footer__links li,
    .site-footer__social > li {
        margin: 0;
        padding: 0;
    }


    .site-footer__links a,
    .site-footer__social-text {
        margin: 0;
        color: #333333;
        text-decoration: none;
        font-size: 0.875rem;
        font-weight: 300;
        line-height: 1.2;
    }


        .site-footer__links a:hover,
        .site-footer__social-link:hover {
            opacity: 0.5;
        }


/* -------------------------------------------------------------------------- */
/* Social                                                                     */
/* -------------------------------------------------------------------------- */

.site-footer__social-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}


.site-footer__social-link {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-decoration: none;
    color: #333333;
}


.site-footer__social-icon {
    display: block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    overflow: hidden;
}


    .site-footer__social-icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


/* -------------------------------------------------------------------------- */
/* Membership                                                                 */
/* -------------------------------------------------------------------------- */

.site-footer__membership-body {
    margin: 0;
    color: #333333;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.4;
}


    .site-footer__membership-body p {
        margin: 0;
    }


.site-footer__membership-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    height: 32px;
    padding: 8px 16px;
    border-radius: 0;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    text-transform: none;
    box-shadow: none;
}


    .site-footer__membership-cta:hover {
        opacity: 0.85;
    }


/* -------------------------------------------------------------------------- */
/* Legal                                                                      */
/* -------------------------------------------------------------------------- */

.site-footer__legal {
    width: 100%;
    background: #ffffff;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    border-bottom: 0 solid transparent;
}


.site-footer__legal-brand {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 16px;
    row-gap: 4px;
    align-items: center;
    justify-content: start;
    padding: 16px;
    background: #cfd0cd;
    margin-right: auto;
}


.site-footer__logo {
    grid-column: 1;
    grid-row: 1;
    display: block;
    width: 169px;
    height: 22px;
    object-fit: contain;
}


.site-footer__legal-links {
    grid-column: 2;
    grid-row: 1;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}


.site-footer__copyright {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    text-align: left;
}


    .site-footer__legal-links a,
    .site-footer__copyright,
    .site-footer__copyright a,
    .site-footer__copyright span {
        margin: 0;
        color: #666666;
        font-size: 0.75rem;
        font-weight: 400;
        line-height: 1.66;
        text-decoration: none;
    }


        .site-footer__legal-links a:hover {
            opacity: 0.7;
        }


.site-footer__payments {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 24px 16px;
    background: transparent;
}


.site-footer__payment {
    display: block;
    width: 60px;
    height: 25px;
    flex: 0 0 60px;
}


    .site-footer__payment img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }


/* -------------------------------------------------------------------------- */
/* 600px                                                                      */
/* -------------------------------------------------------------------------- */

@media (min-width: 600px) {
    .site-footer__column {
      
        border-bottom: 0px solid;
    }

    .site-footer__usp-icon {
        width: 68px;
        height: 68px;
    }
}


/* -------------------------------------------------------------------------- */
/* 900px — DESKTOP                                                            */
/* -------------------------------------------------------------------------- */

@media (min-width: 900px) {

    .site-footer__back-to-top {
        display: none;
    }


    .site-footer__usp-list {
        padding-left: 48px;
        padding-right: 48px;
    }


    .site-footer__usp-icon {
        width: 80px;
        height: 80px;
    }


    .site-footer__usp-title {
        font-size: 0.875rem;
    }


    .site-footer__main {
        padding: 48px 0 0;
    }


    .site-footer__columns {
        flex-direction: row;
        gap: 32px;
        padding: 0 48px 48px;
    }


    .site-footer__column {
        padding: 0;
        gap: 16px;
    }


    /*
     * Desktop heading visible.
     */

    .site-footer__desktop-heading {
        display: block;
    }


    /*
     * Mobile accordion button hidden.
     */

    .site-footer__accordion-trigger {
        display: none;
    }


    /*
     * Accordion content always visible on desktop.
     */

    .site-footer__accordion-content {
        display: block;
        grid-template-rows: none;
        opacity: 1;
        overflow: visible;
    }


    .site-footer__accordion-content-inner {
        min-height: auto;
        padding: 0;
        overflow: visible;
    }


    .site-footer__accordion-content.is-open
    .site-footer__accordion-content-inner {
        padding-top: 0;
        padding-bottom: 0;
    }


    .site-footer__legal {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        border-bottom: 22px solid #e6dfd6;
    }


    .site-footer__legal-brand {
        flex: 0 0 auto;
        padding: 32px 24px 32px 48px;
        background: transparent;
        margin-right: auto;


    .site-footer__payments {
        flex: 0 0 auto;
        gap: 16px;
        padding: 32px 48px 32px 24px;
        justify-content: flex-end;
        margin-left: auto;
    }
}


/* -------------------------------------------------------------------------- */
/* 1200px                                                                     */
/* -------------------------------------------------------------------------- */

@media (min-width: 1200px) {

    .site-footer__usp-list {
        padding-left: 160px;
        padding-right: 160px;
    }


    .site-footer__columns {
        gap: 64px;
        padding-left: 160px;
        padding-right: 160px;
    }


    .site-footer__legal-brand {
        padding-left: 48px;
    }


    .site-footer__payments {
        padding-right: 48px;
    }
}


/* -------------------------------------------------------------------------- */
/* Small mobile                                                               */
/* -------------------------------------------------------------------------- */

@media (max-width: 599.95px) {

    .site-footer__usp-title {
        font-size: 0.75rem;
    }


    .site-footer__back-to-top-label {
        font-size: 0.75rem;
    }


    .site-footer__heading {
        font-size: 0.75rem;
    }


    .site-footer__accordion-title {
        font-size: 0.75rem;
    }


    .site-footer__links a,
    .site-footer__social-text {
        font-size: 0.75rem;
    }


    .site-footer__membership-cta {
        font-size: 0.75rem;
    }


    .site-footer__legal-links a,
    .site-footer__copyright,
    .site-footer__copyright a,
    .site-footer__copyright span {
        font-size: 0.625rem;
    }
}
