/* =========================================================
   KOLARAS HULCHAL
   FOOTER SYSTEM
   ========================================================= */

.kh-main-footer {
    width: 100%;
    margin: 0;
    padding: 0;
    clear: both;

    background: #0b1b33;
    color: #ffffff;

    box-sizing: border-box;
}

.kh-main-footer *,
.kh-main-footer *::before,
.kh-main-footer *::after {
    box-sizing: border-box;
}


/* =========================================================
   FOOTER MAIN AREA
   ========================================================= */

.kh-main-footer .kh-footer {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #0b1b33;
    color: #ffffff;

    border-top: 4px solid #d90000;
}

.kh-main-footer .kh-footer-inner {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;

    padding: 55px 0 50px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    column-gap: 70px;
    row-gap: 40px;

    align-items: start;
}


/* =========================================================
   COLUMNS
   ========================================================= */

.kh-main-footer .kh-footer-column {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    text-align: center;
}

.kh-main-footer .kh-footer-column h3 {
    display: block;

    width: 100%;

    margin: 0 0 22px;
    padding: 0 0 12px;

    color: #ffffff;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;

    text-align: center;

    border: 0;
    border-bottom: 2px solid #d90000;
}

.kh-main-footer .kh-footer-column ul {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    list-style: none;
}

.kh-main-footer .kh-footer-column li {
    display: block;

    margin: 0 0 14px;
    padding: 0;
}

.kh-main-footer .kh-footer-column li:last-child {
    margin-bottom: 0;
}

.kh-main-footer .kh-footer-column li a {
    display: inline-block;

    min-width: 0;
    min-height: 0;

    color: #cbd5e1;

    font-size: 16px;
    line-height: 1.6;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.kh-main-footer .kh-footer-column li a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================================
   BRAND / LOGO
   ========================================================= */

.kh-main-footer .kh-footer-brand {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: flex-start;

    text-align: center;
}

.kh-main-footer .kh-footer-logo {
    display: block;

    width: 100%;

    margin: 0 0 22px;

    text-align: center;
}

.kh-main-footer .kh-footer-logo a {
    display: inline-block;

    min-width: 0;
    min-height: 0;
}

.kh-main-footer .kh-footer-logo img {
    display: block;

    width: auto;
    max-width: 220px;
    height: auto;
    max-height: 110px;

    margin: 0 auto;

    object-fit: contain;
}

.kh-main-footer .kh-footer-logo-text {
    display: flex;
    flex-direction: column;

    width: fit-content;

    margin: 0 auto;

    line-height: 0.95;

    text-align: center;
}

.kh-main-footer .kh-footer-logo-text span {
    color: #ffffff;

    font-size: 32px;
    font-weight: 800;
}

.kh-main-footer .kh-footer-logo-text strong {
    color: #d90000;

    font-size: 36px;
    font-weight: 900;
}

.kh-main-footer .kh-footer-brand p {
    max-width: 390px;

    margin: 0 auto;
    padding: 0;

    color: #cbd5e1;

    font-size: 16px;
    line-height: 1.8;

    text-align: center;
}


/* =========================================================
   SOCIAL LINKS
   ========================================================= */

.kh-main-footer .kh-social-links {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 16px;

    width: 100%;

    margin: 22px auto 0;
    padding: 0;
}

.kh-main-footer .kh-social-link {
    width: 52px;
    height: 52px;

    min-width: 52px;
    min-height: 52px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.10);

    color: #ffffff;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease;
}

.kh-main-footer .kh-social-link:hover {
    transform: translateY(-4px);

    background: #d90429;

    color: #ffffff;
}


/* SVG ICONS */

.kh-main-footer .kh-social-icon {
    width: 26px;
    height: 26px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.kh-main-footer .kh-social-icon svg {
    width: 26px;
    height: 26px;

    display: block;

    fill: currentColor;

    flex-shrink: 0;
}


/* If icons are rendered through IMG */

.kh-main-footer .kh-social-link img {
    width: 26px;
    height: 26px;

    display: block;

    object-fit: contain;
}


/* Unconfigured social link */

.kh-main-footer .kh-social-link--unconfigured {
    opacity: 0.45;

    cursor: default;

    pointer-events: none;
}


/* =========================================================
   SOCIAL COLUMN
   ========================================================= */

.kh-main-footer .kh-footer-social {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: flex-start;

    text-align: center;
}

.kh-main-footer .kh-footer-social .kh-social-links {
    justify-content: center;
}


/* =========================================================
   BOTTOM LEGAL BAR
   ========================================================= */

.kh-main-footer .kh-footer-bottom-bar {
    width: 100%;

    margin: 0;
    padding: 0;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    background: #081629;
}

.kh-main-footer .kh-bottom-bar-inner {
    width: min(1200px, calc(100% - 48px));

    min-height: 70px;

    margin: 0 auto;
    padding: 18px 0;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 24px;

    text-align: center;
}

.kh-main-footer .kh-copyright-text {
    margin: 0;
    padding: 0;

    text-align: center;
}

.kh-main-footer .kh-copyright-text p {
    margin: 0;
    padding: 0;

    color: #94a3b8;

    font-size: 14px;
    line-height: 1.5;
}

.kh-main-footer .kh-copyright-text strong {
    color: #cbd5e1;
}

.kh-main-footer .kh-bottom-legal-links {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;

    margin: 0;
    padding: 0;
}

.kh-main-footer .kh-bottom-legal-links a {
    display: inline-block;

    min-width: 0;
    min-height: 0;

    color: #cbd5e1;

    font-size: 13px;
    line-height: 1.5;

    text-decoration: none;
}

.kh-main-footer .kh-bottom-legal-links a:hover {
    color: #ffffff;
}

.kh-main-footer .kh-sep {
    color: #64748b;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .kh-main-footer .kh-footer-inner {
        width: calc(100% - 40px);

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        column-gap: 45px;
        row-gap: 45px;
    }

    .kh-main-footer .kh-footer-brand {
        grid-column: 1 / -1;
    }
}


/* =========================================================
   MOBILE / TABLET PORTRAIT
   ========================================================= */

@media (max-width: 700px) {

    .kh-main-footer .kh-footer-inner {
        width: calc(100% - 32px);

        padding: 40px 0 35px;

        grid-template-columns: 1fr;

        gap: 38px;
    }

    .kh-main-footer .kh-footer-brand {
        grid-column: auto;
    }

    .kh-main-footer .kh-footer-brand p {
        max-width: 100%;
    }

    .kh-main-footer .kh-footer-column h3 {
        font-size: 19px;
    }

    .kh-main-footer .kh-footer-column li a {
        font-size: 15px;
    }

    .kh-main-footer .kh-social-links {
        gap: 12px;
    }

    .kh-main-footer .kh-social-link {
        width: 48px;
        height: 48px;

        min-width: 48px;
        min-height: 48px;
    }

    .kh-main-footer .kh-social-icon {
        width: 24px;
        height: 24px;
    }

    .kh-main-footer .kh-social-icon svg {
        width: 24px;
        height: 24px;
    }

    .kh-main-footer .kh-social-link img {
        width: 24px;
        height: 24px;
    }

    .kh-main-footer .kh-bottom-bar-inner {
        width: calc(100% - 32px);

        min-height: 0;

        padding: 18px 0 20px;

        flex-direction: column;

        align-items: center;
        justify-content: center;

        gap: 12px;

        text-align: center;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .kh-main-footer .kh-footer-inner {
        width: calc(100% - 24px);

        padding: 35px 0 30px;
    }

    .kh-main-footer .kh-bottom-bar-inner {
        width: calc(100% - 24px);
    }

    .kh-main-footer .kh-footer-column h3 {
        font-size: 18px;
    }

    .kh-main-footer .kh-footer-logo-text span {
        font-size: 28px;
    }

    .kh-main-footer .kh-footer-logo-text strong {
        font-size: 32px;
    }

    .kh-main-footer .kh-footer-brand p {
        font-size: 15px;
    }

    .kh-main-footer .kh-social-link {
        width: 46px;
        height: 46px;

        min-width: 46px;
        min-height: 46px;
    }
}