/* ==========================================================================
   Footer Block — BEM CSS
   ========================================================================== */

/* Section */
.cf-footer {
    position: relative;
    width: 100%;
    background-color: #000000;
    overflow: hidden;
}

/* Yellow triangle — bottom-left corner */
.cf-footer__triangle {
    position: absolute;
    left: 0;
    bottom: 0;
    top: auto;
    width: 50px;
    height: 90px;
    background: linear-gradient(to top right, #F9E62B 50%, transparent 50%);
}

/* Inner container */
.cf-footer__inner {
    position: relative;
    max-width: 1360px;
    margin: 0 auto;
    padding: clamp(2rem, 4.17vw, 3.75rem) clamp(1rem, 2.78vw, 2.5rem);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Copyright */
.cf-footer__copyright {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: #666666;
}

/* Right section with links */
.cf-footer__right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Links */
.cf-footer__link {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.cf-footer__link:hover {
    opacity: 0.7;
}

/* Separator */
.cf-footer__sep {
    color: #666666;
    font-size: 0.875rem;
}

/* ---- Mobile ---- */
@media (max-width: 767px) {
    .cf-footer__triangle {
        width: 35px;
        height: 60px;
    }

    .cf-footer__inner {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* === Footer Navigation (wp_nav_menu) === */
.cf-footer__nav-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.cf-footer__nav-list li {
    display: flex;
    align-items: center;
}

.cf-footer__nav-list li + li::before {
    content: '|';
    color: #666666;
    font-size: 0.875rem;
    padding: 0 0.5rem;
}

.cf-footer__nav-list a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.875rem;
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.3s ease;
}

.cf-footer__nav-list a:hover {
    opacity: 0.7;
}
