.gray_Section_box .deals_intro_col {
    border-radius: var(--border-radius-small);
    background: var(--off-white);
    padding: 65px 18px 44px 14px;
}
#menu-dealmakers{
    border-top-width: var(--border-width);
    border-top-style: solid;
    padding-top: 13px;
    padding-bottom: 5px;
}
.white-event{
    border-radius: var(--border-radius-small);
    background: var(--white);
}
.white-event {
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 55px;
}
.lets_connect.btn_registration.w-btn {
    width: 249px;
}
.ver_video_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
	    width: 100%;
}
.video_opacity{
	height: 366px;
}
.team_grid_image .deals_arrow_img {
    position: absolute;
    top: 11px;
    right: 11px;
    z-index: 9;
}
.team_grid_image {
    position: relative;
}
.team_grid_content span {
    margin-bottom: 2px !important;
}
.team_grid_row {
	transition: scale 0.4s ease;
}
.team_grid_row:hover {
    scale: 1.02;
}
.team_grid_row .team_grid_content span.post_title{
	position: relative;
	width: fit-content;
}
.team_grid_row .team_grid_content span.post_title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.team_grid_row:hover .team_grid_content span.post_title::after {
    transform: scaleX(1);
}
.ver_team_popup{
	display: none;
}
.team_popup_left {
	flex: 0 0 50%;
	    margin: 0 !important;
}
.team_popup_right {
	flex: 0 0 50%;
}
.teams_popup_data {
    border-top: 1px solid #121D46;
    padding-top: 35px;
    padding-bottom: 87px;
	margin-top: 30px;
}
.team_popup_left h4 {
    margin: 0;
    padding: 0;
	font-weight: 300;
	color: #121D46;
}
.team_popup_left h4.post_title{
	font-weight: 700;
}
.team_content {
    border-top: 1px solid;
    padding-top: 30px;
    margin-top: 20px;
}
.white-team-popup .w-popup-box-content {
    background: #fff !important;
}
.white-team-popup .w-popup-closer:before {
    background: #000;
}
.download_agenda_col {
    margin-bottom: 10px;
}
/* Target the specific button class */
.btn_download_agenda {
    background-color: #121D46 !important; /* Your navy blue */
    color: #ffffff !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-family: sans-serif;
    gap: 12px; /* Spacing between pseudo-elements and text */
}

/* Icon Before: Adobe Style PDF Logo */
.lets_connect.btn_download_agenda::before {
    content: "";
    background-image: var(--pdf-icon);
    width: 41px;
    height: 41px;
    aspect-ratio: 1/1;
}

/* Icon After: Your specific Download Icon */
.btn_download_agenda::after {
    content: "";
    background-image: var(--download-icon);
    background-repeat: no-repeat;
    background-position: right;
    background-size: contain;
    width: 16px;
    height: 16px;
}
.btn_download_agenda.lets_connect.w-btn {
    width: 241px;
    height: 38px;
    visibility: visible !important;
}
.event_schedule.ver_box {
    padding-top: 41px;
}


.schedule-day-group {
    margin-bottom: 50px;
    padding-top: 12px;
}

/* Header Labels */
.grid-labels {
    display: flex;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.label-time, .label-event {
    color: #1a2b58; /* Navy Blue */
    font-size: 22px;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

.label-time { width: 30%; margin-right: 20px; }
.label-event { width: 70%; }

/* The "Outer Border" Containers */
/* This simulates the two separate boxes seen in your image */
.schedule-grid {
    display: block;
}

.schedule-item {
    display: flex;
    gap: 20px;
}

/* Shared Column Styles */
.time-column, .event-column {
    padding: 12px 15px;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

/* Background Striping (Every other row beige) */
.schedule-item:nth-child(odd) .time-column,
.schedule-item:nth-child(odd) .event-column {
    background-color: #f2eee4;
}

.schedule-item:nth-child(even) .time-column,
.schedule-item:nth-child(even) .event-column {
    background-color: transparent;
}

/* Sizing columns */
.time-column { width: 30%; }
.event-column { width: 70%; }

/* Rounding the top corners of the first row */
.schedule-item:nth-of-type(2) .time-column,
.schedule-item:nth-of-type(2) .event-column {
    border-top: 1px solid #ccc;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

/* Rounding the bottom corners of the last row */
.schedule-item:last-child .time-column,
.schedule-item:last-child .event-column {
    border-bottom: 1px solid #ccc;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* Small text refinement */
.event-name {
    color: #333;
    font-size: 14px;
    line-height: 1.4;
}

.schedule-wrapper {
    display: flex;
    align-items: flex-start;
    margin-top: 48px;
}

/* Common Header Styles */
.header-group h3 {
    color: #121D46;
    display: inline-block;
    margin-bottom: 2px;
    font-weight: 700;
}

/* TIME BOX: No Left Border */
.time-container {
    flex: 0 0 35%;
}

.time-box {
    border: 1px solid #999;
    border-left: none;
    padding: 15px 0;
    border-radius: 0 15px 15px 0;
}

/* EVENT BOX: Standard Borders */
.event-container {
    flex: 1;
}

.event-box {
    border: 1px solid #999;
    border-left: none;
    border-radius: 0 15px 15px 0;
    padding: 15px 17px 15px 0;
}

/* ROW STYLES */
.schedule-wrapper .row {
    height: 45px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 5px 0;
    font-size: 15px;
    line-height:19px;
}

/* STRIPES */
.highlight {
    background-color: #ECE7DC;
}

/* Round the left side of the time stripe */
.time-box .highlight {
    border-radius: 15px 0 0 15px;
}

/* Round the right side of the event stripe */
.event-box .highlight {
    border-radius: 0 15px 15px 0;
}

.schedule-day-group.schedule-day-block h3 {
    color: #000;
    letter-spacing: 0.25px;
    font-weight: 400;
    margin: 0;
}

.schedule-day-group.schedule-day-block h3.subtitle {
    color: #000000B2;
    padding-top: 5px;
}
.schedule-day-group:first-child {
    border: 0;
    padding-top: 0px;
}
/* Force visibility for the PDF generator */
#agenda-content {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* Ensure the 'highlight' rows show the tan background */
#agenda-content .highlight {
    background-color: #f2ede4 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

/* Fix for WPBakery/Theme row heights */
#agenda-content .vc_column-inner {
    height: auto !important;
}
.img_gals{
    padding-top: 18px;
}
.img_gals img.attachment-large.size-large {
    object-fit: contain;
}
.img_gals .w-gallery-item-img{
    background: #E8E8E8;
	border-radius: 15px;
	padding: 15px;
}
.img_gals:not(.img_gal_1) .w-gallery-item {
    aspect-ratio: 1;
    width: 127px;
    height: 86px;
}
.img_gals:not(.img_gal_1) img {
   max-height: 100%;     /* Keeps it within the card */
  max-width: 100%;
}
section.l-section.gray_Section_box {
    padding-top: 30px;
    padding-bottom: 0px;
}
section.l-section.video-sec {
    padding-top: 36px;
    padding-bottom: 36px;
}
.video_box.video_sec{
    padding-left: 0px;
    padding-right: 0px;
}
.lets_connect.w-btn.btn-sponser {
	height: 35px;
    margin-top: 30px;
    margin-left: 0;
        width: 342px;
}
section.l-section.video-sec .ver_video_content {
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    padding: 0 31px;
}
section.l-section.video-sec .ver_video_content ul{
    margin: 0;
    padding-top: 18px;
}
.video_box {
    margin: 0 !important;
    border-radius: 15px;
    padding: 22px 31px 54px;
}
.lets_connect.w-btn.btn-registration{
    width: 249px;
     margin-left: auto;
}

/* Spinner Animation */
.pdf-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: pdf-spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes pdf-spin {
    to { transform: rotate(360deg); }
}

/* Fix for Left Cutoff & Content Visibility */
/* body.generating-pdf #agenda-content {
    margin: 0 !important;
    padding: 40px !important;
    width: 100% !important;
    background: #fff !important;
    opacity: 1 !important;
    display: block !important;
} */

/* Ensure WordPress/WPBakery rows don't shift left */
/* body.generating-pdf .wpb_row, 
body.generating-pdf .vc_column-inner {
    left: 0 !important;
    margin-left: 0 !important;
    padding-left: 15px !important; 
} */

/* Ensure the tan highlight rows appear in the PDF */
#agenda-content .highlight {
    background-color: #f2ede4 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}
.team_popup_right img {
    border-radius: 15px;
}
.w-popup-box-h>.w-popup-closer {
    outline: none;
}
.img_gal_1 .w-gallery-item-img{
    background: #E8E8E8;
    padding: 12px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    display: flex;
    aspect-ratio: 2/1;
    width: 265px;
    height: 179px;
}
.img_gal_1 .w-gallery-item-img img{
	width: 144px;
height: 144px;
aspect-ratio: 1/1;
}
.video_opacity .w-video-h {
    position: relative;
}
.video_opacity .w-video-h::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: #e6eaff;
    position: absolute;
    top: 0px;
    z-index: 1;
    opacity: .4;
}
@media print {
    #agenda-content {
        overflow: visible !important;
        height: auto !important;
    }
	#agenda-content {
		width: 1140px !important;
		max-width: 1140px !important;
		margin: 0 auto !important;
	}
}
#agenda-content {
    height: auto !important;
    overflow: visible !important;
}
h2.deals_days br, .schedule-wrapper.type_mobile {
    display: none;
}
.deals_last_sec img {
    width: 337px;
    height: 230px;
    aspect-ratio: 99/94;
    object-fit: contain;
}
.deals_last_sec h3{
    padding: 0;
    margin-bottom: 10px;
}
.w-popup-box-content .team_content .w-hwrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.teams_popup_data .left_content {
    margin: 0 !important;
}
.team_popup_right .post_image img {
    height: 525px;
    width: 525px;
    aspect-ratio: 1;
}
/*------------------------------------- Deals CSS (Tablet Screen) ------------------------------------------*/
@media screen and (min-width:768px) and (max-width: 1279px) {
	.img_gals:not(.img_gal_1) .w-gallery-item {
		aspect-ratio: 1;
		width: auto;
		height: auto;
	}
	.img_gals .w-gallery-item-img {
		border-radius: 10px;
		padding: 8px;
	}
	.img_gal_1 .w-gallery-item-img {
		padding: 12px;
		aspect-ratio: 2/1;
		width: 150px;
		height: 160px;
	}
	.team_popup_right .post_image img {
		height: auto;
		width: auto;
		aspect-ratio: 1;
	}
}
/*------------------------------------- Deals CSS (Mobile Screen) ------------------------------------------*/
@media screen and (max-width: 767.5px) {
	.team_popup_right .post_image img {
		height: auto;
		width: auto;
		aspect-ratio: 1;
	}
	#menu-dealmakers li{
		--main-gap: 10px;
		padding-bottom: 5px;
	}
	.w-popup-box-content .team_content .w-hwrapper {
		grid-template-columns: 100%;
	}
	.gray_Section_box .deals_intro_col {
		padding: 30px 18px 44px 14px;
	}
	#menu-dealmakers {
		padding-top: 7px;
		padding-bottom: 5px;
		flex-wrap: wrap;
		text-align: center !important;
		justify-content: center;
		gap: 5px 15px;
	}
	.white-event {
		padding-top: 20px;
		padding-bottom: 32px;
		margin-top: 11px;
	}
	h2.deals_days br {
		display: block;
	}
	h2.deals_days span {
		display: none;
	}
	.lets_connect.btn_registration.w-btn {
		width: 197px;
	}
	.video_box {
		padding: 17px 31px 22px;
	}
	.ver_video_content {
		padding: 0 14px;
	}
	.video_opacity .w-video-h, .video_opacity {
		height: 450px;
	}
	.video_box {
		margin: 0 !important;
		border-radius: 15px;
		padding: 22px 0;
	}
	.deals_intro_col .services_top_sec.awards_about-sec h3.vc_custom_heading {
		border-bottom: var(--border-width) solid var(--black) !important;
		padding-bottom: 10px;
		margin-bottom: 20px ! Important;
		border-top: var(--border-width) solid var(--black);
		padding-top: 0;
		text-align: left !important;
		font-size: clamp(15px, 4.688vw, 20px);
		line-height: 1.4;
		border-top: none;
	}
	.deals_intro_col .services_top_sec .vc_custom_heading {
		text-align: left !important;
	}
	.deals_team_grid .w-grid-list {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.download_agenda_col h3, #venue h3{
		font-size: clamp(15px, 4.688vw, 20px);
	}
	.download_agenda_col {
		margin-bottom: 10px;
		display: block;
	}
	.schedule-day-group.schedule-day-block h3 {
		font-size: 12px;
		line-height: 1.4;
	}
	.event_schedule.ver_box {
		padding-top: 32px;
	}
	.schedule-wrapper {
		margin-top: 12px;
	}
	.header-group {
		display: none;
	}
	.schedule-wrapper.type_desktop {
		display: none;
	}
	.schedule-wrapper.type_mobile {
		display: block;
	}
	.schedule-row {
		padding: 10px 11px 9px 13px;
		font-size: clamp(11px, 3.438vw, 15px);
	}
	#agenda-content .highlight {
		background-color: #ECE7DC!important;
		border-radius: 15px;
	}
	.img_gals .w-gallery-item {
		aspect-ratio: unset !important;
	}
	.img_gals:not(.img_gal_1) .w-gallery-item {
		width: auto;
	}
	.lets_connect.w-btn.btn-sponser {
		width: 100%;
	}
	.lets_connect.btn-sponser:after {
		top: 11px;
		right: 11px;
	}
	#venue .counter_box .w-counter-value {
		font-size: 106px !important;
		letter-spacing: -7.2px;
	}
	#venue p.w-counter-title {
        padding-top: 11px;
    }
	.service_row_home.deals_row_box h3.vc_custom_heading, .service_row_home.deals_row_box.download_agenda_sec h3::after {
        background: url(/wp-content/themes/Impreza-child/assets/images/down_toggle_arrow.svg);
        background-repeat: no-repeat;
        background-position: right;
        line-height: normal;
        cursor: pointer;
    }
    .service_row_home.deals_row_box .active h3.vc_custom_heading, .service_row_home.deals_row_box.download_agenda_sec  .active h3::after {
        background: url(/wp-content/themes/Impreza-child/assets/images/toggle_arrow.svg);
        background-repeat: no-repeat;
        background-position: right;
        color:#000!important;
    }
    .service_row_home.deals_row_box.download_agenda_sec h3, .service_row_home.deals_row_box.download_agenda_sec .active h3{
        background: none;
        cursor: default;
    }
    .service_row_home.deals_row_box.download_agenda_sec .download_agenda_col h3::after {
        content: '';
        width: 30px;
        height: 30px;
        display: block;
        position: absolute;
        right: 0;
        bottom: 15px;
    }
    .service_row_home.deals_row_box.download_agenda_sec .active .download_agenda_col h3::after{
        bottom: -54px;
    }
    .service_row_home.deals_row_box.download_agenda_sec .active .download_agenda_col h3{
        position: relative;
        margin-right: 0px;
    }
    .service_row_home.deals_row_box .vc_custom_heading + .ver_box , .service_row_home.deals_row_box .vc_custom_heading + .ver_box + .deals_team_grid, .service_row_home.deals_row_box .download_agenda_col + .event-schedule-wrapper {
        display: none;
    }
    div#speakers {
        padding-bottom: 0px !important;
    }   
    div#ask_experts {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    div#agenda-content {
        padding-top: 0px !important;
        border-bottom: 0.5px solid;
        margin-bottom: 37px;
        padding-bottom: 14px !important;
    }
    div#ask_experts h3 span{
        width: 182px;
        display: block;
    }
    .lets_connect.btn_download_agenda::before {
        content: "";
        background-image: var(--pdf-icon);
        width: auto;
        height: 28px;
        aspect-ratio: 1/1;
        background-size: 25px;
        top: 7px;
        left: 5px;
    }
    .btn_download_agenda::after {
        content: "";
        background-image: var(--download-icon);
        background-repeat: no-repeat;
        background-position: right;
        background-size: 11px;
        width: 100%;
        height: 26px;
        right: 9px;
    }
    .btn_download_agenda.lets_connect.w-btn {
        width: auto;
        height: 38px;
        visibility: visible !important;
    }
    #sponsors.counter-row-home > .owl-dots {
        top: unset;
        width: 100%;
    }
    #sponsors.counter-row-home .owl-dot {
        background: transparent;
        padding: 0 2px;
    }
    #register .lets_connect.w-btn.btn-sponser {
        width: 100%;
        padding: 0;
        margin: 10px 0 !important;
    }
    .lets_connect.w-btn.btn-registration{
        width: 197px;
    }
    #register .lets_connect.btn-sponser:after{
        content: none;
    }
    section#register {
        padding-bottom: 8px;
    }
    .team_popup_right {
        flex: unset;
    }
    .w-popup-box-content .team_content .w-hwrapper {
        flex-direction: column-reverse;
        align-items: baseline;
        gap: 10px;
    }
    .team_content {
        border-top: none;
        padding-top: 0;
        margin-top: 20px;
    }
    .img_gal_1 .w-gallery-item-img {
        width: 100%;
    }
}