/* Shared image footer styles */
.image-footer {
    position: relative;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    min-height: clamp(280px, 42vw, 520px);
    overflow: hidden;
    padding: clamp(36px, 7vw, 88px) 0;
    background: transparent;
}

.image-footer::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: clamp(40px, 10vw, 120px);
    background: linear-gradient(180deg, var(--color-bg, #fdfdfd) 0%, rgba(10, 15, 20, 0) 100%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
    z-index: 1;
}

.image-footer__image-wrapper {
    position: absolute;
    inset: 0;
    background: var(--footer-bg-color, var(--color-bg, transparent));
    z-index: 0;
    overflow: hidden;
}

.image-footer__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    transform: rotate(180deg);
    transform-origin: center;
    background: transparent;
    mix-blend-mode: normal;
}

.image-footer__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    align-items: end;
    gap: 24px;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    padding: 0 20px 48px 20px;
    margin-top: 100px;
}

.image-footer__content,
.image-footer__content a,
.image-footer__content .footer-brand {
    font-family: var(--font-body, 'Open Sans', sans-serif);
    font-weight: 700;
}

.footer-col--brand .footer-brand {
    font-size: clamp(18px, 2.4vw, 28px);
}

.footer-legal {
    margin-top: 6px;
}

.footer-legal__link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.footer-legal__link:hover {
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin: 6px 0;
    position: relative;
    padding-left: 16px;
}

.footer-links li::before {
    content: "\2022";
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-col--social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
}

.footer-social:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .image-footer {
        min-height: 440px;
        padding: clamp(48px, 12vw, 96px) 0;
    }

    .image-footer__content {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 18px;
        padding: 0 20px;
    }

    .footer-col--social {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 14px;
    }
}

@media (min-width: 1024px) {
    .image-footer {
        min-height: clamp(240px, 28vw, 420px);
    }
}
