

@media (max-width: 767px) {
    .bannerHomeParent{
        min-height: 122px;
        border-radius: 20px;
    }
    .angled-div {
        background-color: #882CFF; /* Background color for the div */
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }

    .bannerHomeButton
    {
        height: 44px;
        width: 100px;
        background: #5600C4;
        border-radius: 5px;
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
        border: 0px;
        color: white;
        font-size: 12px;
        font-weight: 600;
    }

    .bannerHomeTitle{
        color: white;
        font-size: 20px;
        font-weight: 600;

    }
    .bannerHomeSubtitle{
        color: white;
        font-size: 12px;
    }

    .bannerHomeContentParent
    {
        padding: 24px;
    }


    .bannerNewsParent{
        min-height: 122px;
        border-radius: 20px;
    }

    .NewsAngled-div{
        background-color: #fff; /* Background color for the div */
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }
    .NewsAngled-div2{
        background-color: #fff; /* Background color for the div */
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }

    .bannerNewsContentParent
    {
        padding: 24px;
    }
    .bannerNewsTitle{
        color: #1A202C;
        font-size: 16px;
        font-weight: 600;
    }
    .bannerNewsSubtitle{
        color: #596780;
        font-size: 12px;
    }
}
@media (min-width: 768px) {
    .bannerHomeParent{
        background-size: cover;
        background-position: center;
        width: 100%;
        border-radius: 20px;
    }
    .angled-div {
        background-color: #882CFF; /* Background color for the div */
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);/* Creates the 45-degree angle ending at 90% of the width */
        width: 40%;
        min-height: 360px;
        /*position: absolute;*/
        left: 0;
        top: 0;
        border-radius: 20px 0 0 20px;
    }

    .bannerNewsParent{
        background-size: cover;
        background-position: right;
        width: 100%;
        border-radius: 20px;
    }

    .NewsAngled-div {
        background-color: #fff; /* Background color for the div */
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);/* Creates the 45-degree angle ending at 90% of the width */
        width: 70%;
        min-height: 360px;
        /*position: absolute;*/
        left: 0;
        top: 0;
        border-radius: 20px 0 0 20px;
    }
    .NewsAngled-div2 {
        background-color: #fff; /* Background color for the div */
        clip-path: polygon(0 0, 100% 0, 95% 100%, 0 100%);/* Creates the 45-degree angle ending at 90% of the width */
        width: 55%;
        min-height: 360px;
        /*position: absolute;*/
        left: 0;
        top: 0;
        border-radius: 20px 0 0 20px;
    }

    .bannerNewsContentParent
    {
        padding: 64px;
    }
    .bannerNewsTitle
    {
        color: #1A202C;
        font-size: 22px;
        font-weight: 600;
    }
    .bannerNewsSubtitle{
        color: #596780;
        font-size: 16px;
        font-weight: 500;
    }
    .bannerHomeButton
    {
        cursor: pointer;
        height: 44px;
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
        background: #5600C4;
        border-radius: 5px;
        border: 0px;
        color: white;
        font-size: 16px;
        font-weight: 600;
    }

    .bannerHomeTitle{
        color: white;
        font-size: 32px;
        font-weight: 600;
    }
    .bannerHomeSubtitle{
        color: white;
        font-size: 16px;
    }

    .bannerHomeContentParent
    {
        padding: 68px;
    }
}

.promo-banner{
    --accent: #882CFF;            /* main accent */
    --bg: #ffffff;                /* card background */
    --text: #121315;              /* primary text */
    --muted: #5b5f66;             /* secondary text */
    --ring: rgba(136,44,255,.22); /* focus/halo */
    --border: rgba(18,19,21,.08); /* soft border */
    --shadow: 0 8px 24px rgba(18,19,21,.08);

    background: var(--bg);
    color: var(--text);
    border-radius: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    position: relative;
    margin-top: 25px;
    margin-bottom: 25px;
}

.promo-banner--light::before{
    /* subtle accent ribbon */
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: min(10px, 1.1%);
    background: linear-gradient(180deg, var(--accent), color-mix(in oklab, var(--accent), white 18%));
    opacity: 0.9;
}

.promo-banner__inner{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: clamp(12px, 2.4vw, 28px);
    padding: clamp(16px, 3.2vw, 28px);
}

/* decorative, very light accent orb */
.promo-banner--light::after{
    content:"";
    position:absolute;
    right:-60px; top:-60px;
    width:240px; height:240px;
    background: radial-gradient(closest-side, color-mix(in oklab, var(--accent), white 80%), transparent 70%);
    filter: blur(12px);
    pointer-events:none;
}

.promo-banner__text{ min-width:0; }

.promo-banner__eyebrow{
    display:inline-block;
    font-size:12px;
    letter-spacing:.12em;
    text-transform:uppercase;
    color: var(--accent);
    background: color-mix(in oklab, var(--accent), white 88%);
    padding:6px 10px;
    border-radius:999px;
    border: 1px solid color-mix(in oklab, var(--accent), white 70%);
}

.promo-banner__title{
    margin:10px 0 6px;
    font-size: clamp(18px, 3vw, 28px);
    line-height:1.2;
    font-weight: 750;
}

.promo-banner__title strong{
    color: var(--accent);
}

.promo-banner__subtitle{
    margin:0;
    color: var(--muted);
    font-size: clamp(14px, 1.7vw, 16px);
}

.promo-banner__cta{
    justify-self: end;
    white-space: nowrap;
    text-decoration: none;
    background: var(--accent);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 700;
    line-height: 1;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
    box-shadow: 0 10px 22px rgba(136,44,255,.28);
    border: 1px solid color-mix(in oklab, var(--accent), black 10%);
}

.promo-banner__cta:hover{
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(136,44,255,.34);
}

.promo-banner__cta:focus-visible{
    outline: 3px solid var(--ring);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px var(--ring);
}

/* Mobile stack */
@media (max-width: 720px){
    .promo-banner__inner{ grid-template-columns: 1fr; }
    .promo-banner__cta{ justify-self: start; }
}
