.mhg-footer {
    background-color: #000;
    color: #fff;
    padding: 82px 55px 40px;
    font-family: Arial, sans-serif;
}

    .mhg-footer a {
        color: #cfcfcf;
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .mhg-footer a:hover {
            color: #fff;
        }

    .mhg-footer hr {
        border: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.18);
        margin: 44px auto;
        max-width: 1216px;
    }

    /* TOP LOGOS */

    .mhg-footer .footer-logos {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        align-items: center !important;
        column-gap: 46px !important;
        row-gap: 24px !important;
        width: 100% !important;
        max-width: 1216px !important;
        margin: 0 auto !important;
    }

    .mhg-footer .footer-logo-item {
        height: 118px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

        .mhg-footer .footer-logo-item img {
            display: block !important;
            width: auto !important;
            height: auto !important;
            max-width: 100% !important;
            object-fit: contain !important;
            filter: grayscale(1) brightness(2.8) contrast(0.9) !important;
            opacity: 1 !important;
        }

            /* INDIVIDUAL LOGO SIZING */

            .mhg-footer .footer-logo-item img[alt="ACREW"] {
                max-height: 58px !important;
            }

            .mhg-footer .footer-logo-item img[alt="Insignia Crew"] {
                max-height: 38px !important;
                opacity: 0.7 !important;
            }

            .mhg-footer .footer-logo-item-ics img,
            .mhg-footer .footer-logo-item img[alt="ICS"] {
                max-height: 108px !important;
            }

            .mhg-footer .footer-logo-item img[alt="Isle of Man Maritime"] {
                max-height: 62px !important;
            }

            .mhg-footer .footer-logo-item img[alt="Superyacht Association"] {
                max-height: 90px !important;
            }

            .mhg-footer .footer-logo-item img[alt="Yacht Crew Help"] {
                max-height: 90px !important;
            }

    /* MAIN FOOTER */

    .mhg-footer .footer-main {
        display: grid !important;
        grid-template-columns: 1.45fr 0.9fr 0.9fr !important;
        gap: 60px !important;
        align-items: start !important;
        max-width: 1216px !important;
        margin: 0 auto !important;
    }

    .mhg-footer .footer-col {
        min-width: 0;
    }

    .mhg-footer .footer-col-brand {
        max-width: 420px;
    }

    .mhg-footer .footer-logo {
        width: 150px !important;
        height: auto !important;
        margin-bottom: 18px !important;
        display: block !important;
        filter: brightness(0) invert(1) !important;
        opacity: 1 !important;
    }

    .mhg-footer .footer-col h4,
    .mhg-footer .footer-worldwide h4 {
        margin: 0 0 18px;
        font-size: 18px;
        font-weight: 700;
        color: #fff;
    }

    .mhg-footer .footer-col p,
    .mhg-footer .footer-col li,
    .mhg-footer .footer-worldwide p {
        color: #d7d7d7;
        font-size: 16px;
        line-height: 1.5;
    }

    .mhg-footer .footer-col p {
        margin: 0;
    }

    .mhg-footer .footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mhg-footer .footer-col li {
        margin-bottom: 12px;
    }

    /* WORLDWIDE */

    .mhg-footer .footer-worldwide {
        max-width: 1216px;
        margin: 0 auto;
    }

    .mhg-footer .footer-worldwide-intro {
        margin: 0 0 24px;
        color: #d7d7d7;
    }

    .mhg-footer .worldwide-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
        margin-top: 8px;
    }

        .mhg-footer .worldwide-grid div {
            min-width: 0;
        }

        .mhg-footer .worldwide-grid p {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 18px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.14);
            padding: 10px 0;
            margin: 0;
        }

        .mhg-footer .worldwide-grid .country {
            color: #ffffff;
            white-space: nowrap;
        }

        .mhg-footer .worldwide-grid .phone {
            color: #ffffff;
            white-space: nowrap;
            text-align: right;
            margin-left: auto;
        }

    /* BOTTOM FOOTER */

    .mhg-footer .footer-bottom {
        max-width: 1216px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 30px;
    }

    .mhg-footer .footer-bottom-left {
        display: flex;
        align-items: center;
        gap: 28px;
    }

    .mhg-footer .footer-socials {
        display: flex;
        align-items: center;
        gap: 18px;
    }

        .mhg-footer .footer-socials a {
            color: #9fb0bf;
            font-size: 18px;
            line-height: 1;
        }

            .mhg-footer .footer-socials a:hover {
                color: #ffffff;
            }

    .mhg-footer .footer-copyright {
        margin: 0;
        color: #9fb0bf;
        font-size: 15px;
        line-height: 1.4;
    }

    .mhg-footer .footer-bottom-links {
        display: flex;
        align-items: center;
        gap: 24px;
    }

        .mhg-footer .footer-bottom-links a {
            color: #9fb0bf;
            font-size: 15px;
            line-height: 1.4;
            white-space: nowrap;
        }

            .mhg-footer .footer-bottom-links a:hover {
                color: #ffffff;
            }

/* TABLET */

@media (max-width: 1199px) {

    .mhg-footer .footer-logos {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .mhg-footer .footer-main {
        grid-template-columns: 1fr 1fr !important;
        gap: 40px !important;
    }

    .mhg-footer .footer-col-brand {
        grid-column: 1 / -1;
        max-width: 100%;
    }

    .mhg-footer .worldwide-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .mhg-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }
}

/* MOBILE */

@media (max-width: 767px) {

    .mhg-footer {
        padding: 42px 22px 32px;
    }

        .mhg-footer .footer-logos {
            grid-template-columns: repeat(2, 1fr) !important;
            column-gap: 20px !important;
            row-gap: 18px !important;
        }

        .mhg-footer .footer-logo-item {
            height: 86px !important;
        }

            .mhg-footer .footer-logo-item img {
                max-height: 58px !important;
            }

                .mhg-footer .footer-logo-item-ics img,
                .mhg-footer .footer-logo-item img[alt="ICS"] {
                    max-height: 76px !important;
                }

                .mhg-footer .footer-logo-item img[alt="ACREW"] {
                    max-height: 42px !important;
                }

                .mhg-footer .footer-logo-item img[alt="Insignia Crew"] {
                    max-height: 30px !important;
                }

                .mhg-footer .footer-logo-item img[alt="Superyacht Association"] {
                    max-height: 68px !important;
                }

                .mhg-footer .footer-logo-item img[alt="Yacht Crew Help"] {
                    max-height: 64px !important;
                }

        .mhg-footer .footer-main {
            grid-template-columns: 1fr !important;
            gap: 30px !important;
        }

        .mhg-footer .worldwide-grid p {
            flex-direction: row;
            align-items: center;
        }

        .mhg-footer .worldwide-grid .country,
        .mhg-footer .worldwide-grid .phone {
            white-space: normal;
        }

        .mhg-footer .footer-bottom-left {
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
        }

        .mhg-footer .footer-bottom-links {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }
}
