:root {
    --foundation-gradient-3: radial-gradient(718.13% 133.15% at 4.71% 100%, #FF5C6E 4.63%, #AB8BE2 54.4%, #299CE7 86.3%);
    --color-white-solid: #FFF;
}

.custom-promo-banner {
    display: flex;
    max-width: 100%;
    height: 174px; /* Changed from min-height */
    box-sizing: border-box;
    padding: 38px 48px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-radius: 15px;
    background: var(--foundation-gradient-3);
    box-shadow: 0px 4px 15px 0px rgba(0, 0, 0, 0.20);
    color: var(--color-white-solid);
    font-family: "Plus Jakarta Sans", sans-serif;
    margin: 30px 0;
    overflow: hidden;
}

.custom-promo-banner__icon {
    flex-shrink: 0;
    margin-right: 25px;
}

.custom-promo-banner__icon svg {
    display: block;
    width: 61px;
    height: 62px;
}

.custom-promo-banner__text-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

/* This class now styles the <span> tag */
.custom-promo-banner__heading {
    color: var(--color-white-solid);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 125.987%;
    margin: 0;
    display: block; /* Span is inline by default, make it block for similar layout to H3 */
}

.custom-promo-banner__description {
    color: var(--color-white-solid);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.12px;
    margin: 0;
    margin-top: 8px;
}

.custom-promo-banner__action {
    flex-shrink: 0;
}

.custom-promo-banner__button {
    display: flex;
    padding: 14px 30px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    background-color: var(--color-white-solid);
    color: #299CE7;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.custom-promo-banner__button:hover {
    background-color: #f0f0f0;
    color: #1f78b4;
}

/* Responsive adjustments */
@media (max-width: 1160px) {
    .custom-promo-banner {
        padding: 25px 30px;
        /* If content wraps, fixed height might be an issue. Consider height: auto; here too if needed. */
    }
    .custom-promo-banner__heading {
        font-size: 28px;
    }
    .custom-promo-banner__description {
        font-size: 20px;
        line-height: 1.3;
    }
    .custom-promo-banner__button {
        font-size: 16px;
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    .custom-promo-banner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px; /* Adjusted padding */
        gap: 10px;
        height: auto; /* Allow height to adjust to content */
    }
    .custom-promo-banner__icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    .custom-promo-banner__icon svg {
        width: 50px; /* Slightly smaller icon */
        height: 51px;
    }
    .custom-promo-banner__text-content {
        align-items: center;
        gap: 8px; /* Adjusted gap in text content */
    }
    .custom-promo-banner__heading {
        font-size: 24px; /* Smaller heading */
    }
    .custom-promo-banner__description {
        font-size: 18px; /* Smaller description */
        line-height: 1.4;
    }
    .custom-promo-banner__action {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 10px; /* Add some space above button when stacked */
    }
    .custom-promo-banner__button {
        font-size: 16px;
        padding: 12px 20px;
        width: 100%;
        max-width: 280px; /* Button takes full width up to a max */
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .custom-promo-banner {
        padding: 20px 15px;
        gap: 15px;
    }
    .custom-promo-banner__heading {
        font-size: 22px;
    }
    .custom-promo-banner__description {
        font-size: 16px;
    }
     .custom-promo-banner__button {
        font-size: 15px;
        padding: 10px 18px;
    }
}