
/* ========================================
   Imdex Footer CTA Banner
======================================== */

.imdex-footer {
    width: 100%;
    margin: 0;
}

.imdex-footer-cta {
    width: 100%;
    min-height: 498px;
    display: flex;
    align-items: center;
    background-color: #ED5437;
    background-image: url("../images/cta-banner-footer.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    box-sizing: border-box;
}

.imdex-footer-cta__inner {
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 70px 77px;
    box-sizing: border-box;
}

.imdex-footer-cta__content {
    width: 100%;
    max-width: 700px;
    text-align: left;
}

.imdex-footer-cta__eyebrow {
    margin: 0 0 16px;
    font-family: Eurostile, sans-serif;
    font-size: 39px;
    font-weight: 500;
    line-height: 49px;
    color: #FFFFFF;
}

.imdex-footer-cta__title {
    margin: 0 0 34px;
    font-family: Eurostile, sans-serif;
    font-size: 88px;
    font-weight: 900;
    line-height: 86px;
    letter-spacing: 0;
    color: #FFFFFF;
    overflow-wrap: anywhere;
}

.imdex-footer-cta__button {
    display: inline-flex;
    min-width: 436px;
    min-height: 78px;
    padding: 16px 28px;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 0;
    border-radius: 0;
    color: #ED5437;
    font-family: Eurostile, sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.imdex-footer-cta__button:hover,
.imdex-footer-cta__button:focus-visible {
    background: #F2F2F2;
    color: #CF4027;
}

/* ========================================
   Footer Credits
======================================== */

.imdex-footer-credits {
    width: 100%;
    min-height: 90px;
    display: flex;
    align-items: center;
    background: #052A3E;
    box-sizing: border-box;
}

.imdex-footer-credits__inner {
    width: 100%;
    max-width: 1520px;
    height: 90px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
}

.imdex-footer-credits__logo {
    display: flex;
    align-items: center;
}

.imdex-footer-credits__logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.imdex-footer-credits__logo img.custom-logo {
    display: block;
    width: 120px;
    max-width: 100%;
    height: auto;
    max-height: 40px;
    object-fit: contain;
}

.imdex-footer-credits__logo > a:not(.custom-logo-link) {
    color: #FFFFFF;
    font-family: Eurostile, sans-serif;
    font-size: 22px;
    text-decoration: none;
}

.imdex-footer-credits__text {
    margin: 0;
    color: #FFFFFF;
    font-family: Typold, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-align: right;
}

/* ========================================
   Responsive
======================================== */

@media (max-width: 1600px) {
    .imdex-footer-credits__inner {
        padding-right: 40px;
        padding-left: 40px;
    }
}

@media (max-width: 900px) {
    .imdex-footer-cta {
        min-height: 420px;
    }

    .imdex-footer-cta__inner {
        padding: 60px 40px;
    }

    .imdex-footer-cta__eyebrow {
        font-size: 30px;
        line-height: 1.3;
    }

    .imdex-footer-cta__title {
        font-size: clamp(48px, 8vw, 72px);
        line-height: 1;
    }

    .imdex-footer-cta__button {
        min-width: 0;
        min-height: 68px;
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .imdex-footer-cta {
        min-height: 380px;
        background-position: center;
    }

    .imdex-footer-cta__inner {
        padding: 48px 24px;
    }

    .imdex-footer-cta__eyebrow {
        margin-bottom: 14px;
        font-size: 24px;
        line-height: 1.35;
    }

    .imdex-footer-cta__title {
        margin-bottom: 28px;
        font-size: clamp(42px, 11vw, 58px);
        line-height: 1.05;
    }

    .imdex-footer-cta__button {
        width: 100%;
        min-height: 62px;
        padding: 14px 18px;
        font-size: 24px;
    }

    .imdex-footer-credits__inner {
        min-height: 90px;
        padding: 24px;
        flex-direction: column;
        justify-content: center;
        gap: 16px;
    }

    .imdex-footer-credits__text {
        text-align: center;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .imdex-footer-cta__button {
        transition: none;
    }
}
