/**
 * Footer Styles for EUF Child Theme
 */

footer {
    .ccdmd-footer-border {
        background-color: #343434;
        padding: 59px 0;

        figure {
            @media (min-width: 1025px) {
                img {
                    width: 40px;
                    height: auto;
                }
            }
        }

        ul {
            gap: 50px !important;

            li {
                position: relative;
                text-decoration: none;

                a {
                    font-family: var(--font-family-primary);
                    font-size: 18px !important;
                    font-weight: 600;
                    line-height: 22px !important;
                    letter-spacing: 1% !important;
                    color: var(--blanc) !important;
                    text-decoration: none;

                    &:hover {
                        color: #ababab !important;
                        text-decoration: none;
                    }
                }
            }
        }
    }

    .ccdmd-footer-nav {
        max-width: 1112px;
        margin: 0 auto;
        padding: 15px 30px 20px 30px;
        background-color: black;
        box-shadow: 0 0 0 100vmax black;
        clip-path: inset(0 -100vmax);

        .ccdmd-footer-link p {
            font-size: 12px !important;
        }
        @media (max-width: 1100.5px) {
            .footer-logo {
                p {
                    line-height: 14px !important;
                }
            }
        }
        .copyright-bar-links {
            gap: 20px;
            justify-content: right;

            p {
                position: relative;
                font-size: 12px !important;
                line-height: auto !important;
                letter-spacing: 0% !important;
                color: var(--blanc) !important;

                &:not(:last-child)::after {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: calc(100% + 10px);
                    transform: translateY(-50%);
                    width: 1px;
                    height: 16px;
                    background-color: white;
                }

                a {
                    text-decoration: underline;

                    &:hover {
                        color: #ABABAB !important;
                    }
                }
            }
        }
    }
}

@media (max-width: 782px) {
    footer {
        .ccdmd-footer-link {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            gap: 10px;
            text-align: left;

            p {
                font-size: 10px !important;
            }
        }

        .ccdmd-footer-border {
            padding: 30px 0 !important;

            ul {
                gap: 30px !important;

                li {
                    position: static;

                    a {
                        font-size: 16px !important;
                    }

                    &:not(:last-child)::after {
                        content: none;
                        display: none;
                    }
                }
            }
        }

        .ccdmd-footer-nav {
            padding: 16px 26px 26px !important;
            justify-content: center !important;

            .footer-logo {
                justify-content: center !important;
            }

            .copyright-bar-links {
                justify-content: center !important;

                p {
                    font-size: 11px !important;

                    a {
                        text-decoration: none;
                    }
                }
            }

            p {
                font-size: 10px !important;
            }
        }
    }
}