.grid-item {
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 12px !important;
    padding-left: 12px !important;
    margin: 0px 0px 24px 0px !important;
    transition: z-index 0s 0.3s;
}
.grid-item:hover { 
    z-index: 100 !important; 
    transition: z-index 0s 0s; 
}

.grid-item .webinar_panel {
    position: relative;
    overflow: hidden !important;
    border: none !important;
    border-radius: 12px !important;
    background-color: #fff !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1) !important;
    color: rgba(0,0,0,.8);
    padding: 0 !important;
    transition: all 0.3s ease !important;
    transform: translateZ(0);
}
.grid-item .webinar_panel:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15) !important;
}
.grid-item .entry-content, 
.grid-item .panel_media {
    position: relative;
    overflow: hidden !important;
}
.grid-item .image_wrap {
    display: block;
    border-bottom: none !important;
    overflow: hidden !important;
    position: relative;
}
.grid-item .image_wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.grid-item .webinar_panel:hover .image_wrap::after {
    opacity: 1;
}
.grid-item .webinar_panel:hover .image_wrap img,
.grid-item .webinar_panel:hover .webinar-img {
    transform: scale(1.05) !important;
}
.grid-item .image_wrap img,
.grid-item .webinar-img {
    transition: transform 0.4s ease !important;
    width: 100% !important;
    height: 160px !important;
    object-fit: cover !important;
}
.grid-item .webinar_panel .webinar_dur {
    position: absolute !important;
    display: block !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 10px !important;
    text-transform: uppercase !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 10 !important;
}
.webinar_panel .webinar_dur,
.grid-item .webinar_panel .webinar_dur label {
    display: inline-block !important;
    color: #fff !important;
    padding: 5px 10px !important;
    background: #e74c3c !important;
    margin: 0 !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 10px !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}
.grid-item label {
    margin: 0 !important;
    font-size: 11px !important; 
    font-weight: 500 !important;
}
.grid-item .webinar_panel .panel_dt {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 10 !important;
}
.grid-item .webinar_panel .panel_dt .webinar_date {
    background: rgba(255,255,255,0.95) !important;
    text-align: center !important;
    padding: 6px 8px !important;
    font-size: 0 !important;
    margin-bottom: 6px !important;
    border: none !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
}
.grid-item .webinar_panel .panel_dt .webinar_date .date {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    color: #2c3e50 !important;
    text-transform: uppercase !important;
    padding: 3px 0 !important;
    border-bottom: 2px solid #3677a1 !important;
    line-height: 1.2em !important;
    display: block !important;
}
.grid-item .webinar_panel .panel_dt .webinar_date .year {
    display: block !important;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 600 !important;
    font-size: 9px !important;
    color: #3677a1 !important;
    text-transform: uppercase !important;
    padding: 3px 0 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
}
.grid-item .webinar_panel .panel_dt .webinar_time {
    background: rgba(255,255,255,0.95) !important;
    text-align: center !important;
    padding: 5px 8px !important;
    font-size: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12) !important;
}
.grid-item .webinar_panel .panel_dt .webinar_time .pst {
    display: block !important;
    font-family: "Montserrat", sans-serif !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    padding: 2px 0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
}
.grid-item .webinar_panel .panel_dt .webinar_time .est {
    display: block !important;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 600 !important;
    font-size: 9px !important;
    color: #3677a1 !important;
    text-transform: uppercase !important;
    padding: 2px 0 0 !important;
}
.grid-item .webinar_panel .panel_spkr {
    padding: 12px 15px !important;
    overflow: hidden !important;
    border-bottom: none !important;
    background: #f8f9fa !important;
}
.grid-item .webinar_panel .panel_topic {
    background-color: #fff !important;
    color: #1a3e5c !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 12px 15px !important;
    font-family: "Montserrat", sans-serif !important;
    width: 100% !important;
    text-align: left !important;
    height: 80px !important;
    line-height: 1.4em !important;
    align-items: flex-start !important;
    display: flex !important;
    transition: color 0.3s ease !important;
}
.grid-item .webinar_panel:hover .panel_topic {
    color: #3677a1 !important;
}

/* Speaker Profile Styling */
.upcoming-static-single-enterpre-profile {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.upcoming-static-single-enterpre-profile-image img {
    width: 38px !important;
    height: 38px !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    border-radius: 50% !important;
}
.upcoming-static-single-enterpre-profile-name {
    font-weight: 600 !important;
    font-size: 13px !important;
    color: #1a3e5c !important;
}
.upcoming-static-single-enterpre-profile-desc {
    font-size: 11px !important;
    color: #718096 !important;
    margin-top: 2px !important;
}
