.elementor-5228 .elementor-element.elementor-element-34c34e19{--display:flex;--margin-top:125px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}@media(max-width:767px){.elementor-5228 .elementor-element.elementor-element-34c34e19{--margin-top:-20px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}/* Start custom CSS for container, class: .elementor-element-34c34e19 */.aeg-hero {
    margin-left: -1400px;
    margin-right: -1400px;
    background:#160869;}
    
.aeg-hero h2{
    color: orange
}    

/* Container setup */
.aeg-hero {
    display: flex;
    flex-direction: column;       /* vertical stacking */
    justify-content: flex-end;    /* bottom align */
    align-items: center;          /* horizontal center */
    min-height: 200px;
    padding: 10px 15px;           /* left-right padding for mobile */
    box-sizing: border-box;       /* padding included in width */
    position: relative;
    overflow: visible; 
    /* text visible */
}

/* Paragraph text */
.aeg-hero p {
    margin: 0;
    text-align: center;           /* horizontal center */
    word-wrap: break-word;        /* long words break */
    overflow-wrap: break-word;    /* modern browsers */
    line-height: 1.5;
    width: 100%;                  /* ensure container boundaries */
    max-width: 100%;              /* prevent overflow */
    box-sizing: border-box;       /* include padding */
    padding-bottom: 20px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .aeg-hero {
        min-height: auto;         /* flexible height */
        padding: 10px 15px;       /* sufficient left-right space */
    }

    .aeg-hero p {
        font-size: 7px;          /* mobile-friendly font */
        line-height: 1.4;
        word-break: break-word;    /* force wrap on small screens */
        width: 100%;              /* container ke andar hi rahe */
    }
}


/* PHONE VIEW — image upar, description neeche */
@media (max-width: 768px) {

  .aeg-featured-event-content {
    display: flex;
    flex-direction: column;   /* stack items vertically */
    gap: 1rem;
  }

  .aeg-featured-event-image {
    order: 1;                 /* image first */
    width: 100%;
  }

  .aeg-featured-event-info {
    order: 2;                 /* description second */
    width: 100%;
  }
}


section.aeg-featured-event {
    margin-top: -20px;
}



@media (min-width: 768px) {

    .aeg-featured-event-content {
        max-width: 1200px;      /* Page ke center me rakhne ke liye */
        margin: 0 auto;         /* Yeh center align karta hai */
        
        display: flex;
        gap: 20px;
        align-items: stretch;
        justify-content: center; /* Extra centering */
        padding: 0 20px;        /* Side padding */
    }

    .aeg-featured-event-image,
    .aeg-featured-event-info {
        width: 50%;
    }

    .aeg-featured-event-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }
}


/* Desktop View */
@media (min-width: 768px) {

    .aeg-event-card {
        display: block;          /* Vertical layout */
        max-width: 1000px;
        margin: 0 auto;
        text-align: center;      /* Center align desktop */
    }

    .aeg-event-image {
        width: 100%;
        margin-bottom: 20px;     /* Image ke niche gap */
    }

    .aeg-event-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 10px;
    }

    .aeg-event-info {
        width: 100%;
    }
}

/* Mobile View (same hi rahega vertical) */
@media (max-width: 767px) {

    .aeg-event-card {
        display: block;
        text-align: center;
        padding: 0 15px;
    }

    .aeg-event-image,
    .aeg-event-info {
        width: 100%;
    }

    .aeg-event-info {
        margin-top: 15px;
    }
}


/* Desktop View (3 cards per row) */
@media (min-width: 1024px) {
    .aeg-events-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);  /* 3 column */
        gap: 25px;                               /* cards ke beech space */
        max-width: 1200px;
        margin: 0 auto;                          /* center align */
        padding: 0 20px;
    }
}


@media (min-width: 768px) and (max-width: 1023px) {
    .aeg-events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 767px) {
    .aeg-events-grid {
        grid-template-columns: 1fr;
    }
}/* End custom CSS */