/* AEM Labs Limited - CSS Module: JNXPC Promo Banner */
/* ================================================= */

#vectorfind.feature-banner {
    position: relative;
    width: 100%;
    max-width: min(85%, var(--section-max-width));
    margin: 40px auto;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    border-radius: 24px;
}

#vectorfind .promo-card {
    width: 100%;
    background-image: url('https://aem-labs.com/static/img/stock-images/0047.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    overflow: hidden;
    gap: 30px;
}

#vectorfind .image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 24px;
}

#vectorfind .promo-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 26px;
    padding: 3px;
    background: linear-gradient(270deg, #a71c1c, #6907c5, #a71c1c, #6907c5);
    background-size: 300% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: glow-border 2s linear infinite;
    z-index: -1;
}

#vectorfind .promo-card::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 28px;
    background: linear-gradient(270deg, #a71c1c, #6907c5, #a71c1c, #6907c5);
    background-size: 300% 100%;
    animation: glow-border 2s linear infinite;
    filter: blur(12px);
    opacity: 0.6;
    z-index: -2;
    pointer-events: none;
}

@keyframes glow-border {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

#vectorfind .promo-left {
    flex: 1;
    position: relative;
    z-index: 2;
}

#vectorfind .promo-logo {
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
}

#vectorfind .promo-logo img {
    max-width: 250px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

#vectorfind .promo-left p {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: white;
    max-width: 85%;
    position: relative;
    z-index: 2;
}

#vectorfind .promo-left p strong {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 8px;
}

#vectorfind .promo-cta-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

#vectorfind .promo-cta-button {
    display: inline-block;
    background-color: white;
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

#vectorfind .promo-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    background-color: #f8f8f8;
}

@media (max-width: 1440px) {
    #vectorfind.feature-banner {
        max-width: min(95%, var(--section-max-width));
    }

    #vectorfind .promo-left p {
        max-width: 80%;
    }
}

@media (max-width: 992px) {
    #vectorfind .promo-logo img {
        max-width: 225px;
    }

    #vectorfind .promo-left p {
        font-size: 14px;
        max-width: 100%;
    }

    #vectorfind .promo-left p strong {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    #vectorfind .promo-card {
        padding: 24px;
    }

    #vectorfind .promo-left p strong {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #vectorfind .promo-card {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    #vectorfind .promo-logo img {
        max-width: 180px;
    }

    #vectorfind .promo-left p {
        font-size: 11px;
    }

    #vectorfind .promo-left p strong {
        font-size: 13px;
    }

    #vectorfind .promo-cta-container {
        flex-direction: column;
        gap: 10px;
    }

    #vectorfind .promo-cta-button {
        font-size: 10px;
        padding: 6px 12px;
        border-radius: 10px;
    }
}