#upcomingeventspagecontent .wrap {
    position: relative;
    padding: 30px 0;
    overflow: hidden;
}

#upcomingeventspagecontent .sectionTitleAlt {
    margin: 0 0 10px;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    text-align: start;
}

#upcomingeventspagecontent .sectionTitleAlt span {
    position: relative;
    display: inline-block;
}

#upcomingeventspagecontent .sectionTitleAlt span:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 75px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff3158, #ff7b54);
}

#upcomingeventspagecontent .sectionTextAlt {
    text-align: start;
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
}

#upcomingeventspagecontent .convocationCard {
    position: relative;
    min-height: 470px;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    box-shadow: 0 20px 50px #0f172a24;
    transition: transform .45s ease, box-shadow .45s ease;
    isolation: isolate;
}

#upcomingeventspagecontent .convocationCard:before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform .8s ease;
    z-index: -3;
}

#upcomingeventspagecontent .convocationCard:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #03071214, #03071233 35%, #030712e0);
    z-index: -2;
}

#upcomingeventspagecontent .convocationCard:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 70px #0f172a33;
}

#upcomingeventspagecontent .convocationCard:hover:before {
    transform: scale(1.08);
}

#upcomingeventspagecontent .dubaiCard:before {
    background-image: url("../assets/dubai-events-BcWTkHqc.webp");
}

#upcomingeventspagecontent .bangkokCard:before {
    background-image: url("../assets/bangkok-events-D424h7hM.webp");
}

#upcomingeventspagecontent .convocationOverlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, .2), transparent 28%), linear-gradient(135deg, rgba(255, 49, 88, .12), transparent 45%);
    z-index: -1;
    pointer-events: none;
}

#upcomingeventspagecontent .convocationContent {
    position: relative;
    width: 100%;
    padding: 34px 30px 30px;
    color: #fff;
    text-align: center;
}

#upcomingeventspagecontent .convocationTop {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 16px;
}

#upcomingeventspagecontent .convocationBadge {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ffffff24;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: #fff;
}

#upcomingeventspagecontent .convocationTitle {
    margin: 0 0 12px;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
    text-align: start;
}

#upcomingeventspagecontent .convocationDesc {
    margin: 0 0 20px;
    text-align: start;
    font-size: 1rem;
    line-height: 1.75;
    color: #ffffffe0;
}

#upcomingeventspagecontent .convocationList {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
}

#upcomingeventspagecontent .convocationList li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .96rem;
    line-height: 1.6;
    color: #fff;
    padding: 10px 14px;
    border-radius: 14px;
    background: #ffffff1a;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, .08);
}

#upcomingeventspagecontent .icon {
    flex: 0 0 18px;
    font-size: 1rem;
    margin-top: 4px;
    color: #ffd6df;
    transition: transform .3s ease, color .3s ease;
}

#upcomingeventspagecontent .convocationCard:hover .icon {
    transform: scale(1.12);
    color: #fff;
}

#upcomingeventspagecontent .eventBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff3158, #ff7b54);
    color: #fff;
    font-size: .95rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .01em;
    cursor: pointer;
    box-shadow: 0 14px 28px #ff31584d;
    transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
}

#upcomingeventspagecontent .eventBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px #ff31585c;
}

#upcomingeventspagecontent .eventBtn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media(max-width:1199px) {
    #upcomingeventspagecontent .wrap {
        padding: 70px 0;
    }

    #upcomingeventspagecontent .convocationCard {
        min-height: 430px;
    }

    #upcomingeventspagecontent .convocationTitle {
        font-size: 1.8rem;
    }
}

@media(max-width:991px) {
    #upcomingeventspagecontent .sectionTitleAlt {
        font-size: 1.8rem;
    }

    #upcomingeventspagecontent .convocationCard {
        min-height: 400px;
    }

    #upcomingeventspagecontent .convocationContent {
        padding: 28px 24px 24px;
    }

    #upcomingeventspagecontent .convocationTitle {
        font-size: 1.65rem;
    }

    #upcomingeventspagecontent .convocationDesc {
        max-width: 100%;
    }
}

@media(max-width:767px) {
    #upcomingeventspagecontent .wrap {
        padding: 50px 0;
    }

    #upcomingeventspagecontent .sectionTitleAlt {
        font-size: 1.55rem;
    }

    #upcomingeventspagecontent .sectionTextAlt {
        font-size: .95rem;
    }

    #upcomingeventspagecontent .convocationCard {
        min-height: 360px;
        border-radius: 22px;
    }

    #upcomingeventspagecontent .convocationContent {
        padding: 22px 18px 18px;
    }

    #upcomingeventspagecontent .convocationBadge {
        min-height: 30px;
        padding: 5px 12px;
        font-size: .75rem;
    }

    #upcomingeventspagecontent .convocationTitle {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    #upcomingeventspagecontent .convocationDesc {
        font-size: .92rem;
        line-height: 1.65;
        margin-bottom: 16px;
    }

    #upcomingeventspagecontent .convocationList {
        gap: 10px;
        margin-bottom: 22px;
    }

    #upcomingeventspagecontent .convocationList li {
        font-size: .9rem;
        padding: 9px 12px;
        gap: 10px;
    }

    #upcomingeventspagecontent .icon {
        font-size: .92rem;
        margin-top: 3px;
    }

    #upcomingeventspagecontent .eventBtn {
        width: 100%;
    }
}