﻿.cma-footer {
    background-color: var(--cma-footer-background);
    color: white;
    padding: 60px 0 40px;
    font-family: inherit;
}

.footer-content {
    max-width: 100%;
    margin-inline: auto;
}

.footer-top {
    margin-bottom: 60px;
}

.footer-section h3 {
    color: var(--cma-text-light);
    font-size: 16px;
    font-weight: 500;
}

.footer-section hr {
    border: none;
    border-top: 1px solid var(--cma-footer-breaker);
    width: 95%;
    margin:0;
    margin-bottom:8px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

    .footer-section ul li {
        margin-bottom: 8px;
    }

        .footer-section ul li a {
            color: white;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            transition: opacity 0.3s ease-in-out
        }

            .footer-section ul li a:hover {
                text-decoration: underline;
                color: rgba(255, 255, 255, 0.8);
            }

.footer-link-item {
    color: var(--cma-footer-breaker);
}

    .footer-link-item:hover {
        opacity: 0.8;
    }

.external-icon {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url('../images/icons/shortcut.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 8px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

    .social-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 0.25rem;
        transition: opacity 0.3s ease-in-out;
    }

        .social-icons a:hover {
            background: rgba(255, 255, 255, 0.2);   
        }

/* Bottom section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


.fotter-left {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-logo{
    padding-left:40px;
    padding-right:40px;
}

.footer-logo-icon img {
    width: 250px;
    height: 44px;
    flex-shrink: 0;
}




.footer-info {
    font-size: 13px;
    line-height: 1.8;
}

    .footer-info .footer-rights {
        font-weight: 600;
    }

    .footer-info p {
        margin-bottom: 5px;
    }


.map {
    margin-bottom: 30px;
}

.map-link {
    color: white;
    text-decoration: underline;
    cursor: pointer;
}

    .map-link:hover {
        color: white;
        opacity: 0.7;
    }


/* ############################## BreakPoints #################################*/
/* ========= XL – Large Screens / Monitors ========= */
@media (min-width: 1400px) {
    .footer-top {
        justify-content: space-between;
        gap: 10px;
    }
}

/* ========= MD – Tablets (768px → 1023px) ========= */
@media (min-width: 768px) and (max-width: 1048px) {
    .footer-top {
        gap: 0;
    }
}

/* ========= SM – Large Mobiles (480px → 767px) ========= */

@media (min-width: 377px) and (max-width: 767px) {
    .footer-logo {
        padding:0;
    }
    .footer-top {
        gap: 5px;
        margin-bottom: 10px;
    }

    .footer-section hr {
        width: 100%;
    }

    .footer-bottom {
        gap: 30px;
    }

    .map {
        margin-bottom: 45px;
    }

    .fotter-left {
        justify-content: flex-start;
    }
}


/* ========= XS – Small Mobiles (0 → 479px) ========= */
@media (max-width: 376px) {
    .footer-top {
        gap: 5px;
        margin-bottom: 10px;
    }

    .footer-bottom {
        gap: 30px;
    }

    .map {
        margin-bottom: 45px;
    }

    .fotter-left {
        justify-content: flex-start;
    }
}
