/* Events List Styles */
.events-list-wrapper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.event-item {
	position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
	-ms-flex: 0 0 33.333333%;
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
	
}
.event-box {
    padding: 10px;
    background-color: #fdfdfd;
    box-shadow: 0px 3px 6px #00000029;
    transition: all 0.3s ease;
	margin-bottom:15px;
}
.event-item .event-excerpt p {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-secondary-font-weight);
    line-height: 1.2;
    color: #505050;
    font-size: 14px;
    margin-bottom: 10px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
	min-height: 65px;
}

.event-item h3.event-title {
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    font-weight: var(--e-global-typography-primary-font-weight);
    font-size: 18px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    /* Number of lines to show */
    /* line-clamp: 3; (Optional for future compatibility) */
}

.event-meta {
    display: none !important;
}

.event-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.event-thumbnail {
    overflow: hidden;
    border-radius: 6px;
}

.event-thumbnail img {
    width: 100%;
    height: 250px !important;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.ekit-template-content-footer .footer.e-flex.e-con.e-parent.e-lazyloaded{
	display: none;
}
.event-thumbnail:hover img {
    transform: scale(1.05);
}

.event-content {
    display: flex;
    flex-direction: column;
    padding: 16px 0px;
}

.event-title {
    margin: 0 0 16px 0;
    font-size: 24px;
    line-height: 1.3;
}

.event-title a {
    text-decoration: none;
    color: #505050;
    transition: color 0.3s ease;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #666;
}

.event-meta strong {
    color: #333;
}

.event-excerpt {
    margin-bottom: 15px;
    color: #555;
    line-height: 1.6;
}

.event-read-more {
    font-size: 15px;
    font-weight: 400;
    display: inline-block;
    color: #d5679e;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
    align-self: flex-start;
    position: relative;
    display: inline-block;
}
a.event-read-more:focus {
    /* outline: solid 1px !important; */
    outline: 0!important;	
}

.event-read-more::after {
    position: absolute;
    content: "›";
    font-size: 24px;
    margin-left: 6px;
    top: -10px;
}

.event-read-more:hover{
	color: #d5679e;	
}

.event-read-more:hover::after {
	transform: translateX(6px);
    transition: transform 0.3s ease-out;
}

/* =================================================================	
	SINGLE EVENT DETAIL PAGE	
================================================================= */

/* Full Width Banner */
.events-banner-fullwidth {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 500px;
    overflow: hidden;
    margin-bottom: 50px;
}

.events-banner-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.events-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.events-banner-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    color: #fff;
}

.events-title {
    font-size: 20px;
	color: #505050;
    font-weight: 600;
	overflow: hidden;
    padding: 0px 0px 10px 0px;
    margin: 0px;
    line-height: 1.2;
	padding-top: 25px;
}

.events-date {
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.95;
	overflow: hidden;
    padding: 0px 0px 0px 0px;
    margin: 0px;
    color: #474747;
    font-size: 14px;
    /* text-align: center; */
    margin-bottom: 20px;
}

.events-date svg {
    flex-shrink: 0;
}

/* Content Wrapper */
.events-content-wrap {
    width: 100%;
    padding: 0;
	padding-bottom: 4rem;
}

.events-content-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* Address Box */
.events-address {
    margin-bottom: 40px;
}

.events-address-box {
    background: #f8f9fa;
    border-left: 4px solid #2271b1;
    padding: 20px 25px;
    border-radius: 4px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.events-address-box svg {
    color: #2271b1;
    flex-shrink: 0;
    margin-top: 2px;
}

.events-address-box strong {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.events-address-box p {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Main Content */
.events-main-content {
	overflow: hidden;
    padding: 0px 0px 25px 0px;
    margin: 0px;
    line-height: 22px;
    font-size: 14px;
    color: #505050;
	padding-bottom: 5px;
}

.events-main-content p {
    margin-bottom: 20px;
}

.events-main-content h2,
.events-main-content h3,
.events-main-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #222;
}

.events-main-content ul,
.events-main-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.events-main-content li {
    margin-bottom: 10px;
}

/* =================================================================	
	GALLERY SECTION - EXACTLY LIKE INDEX.HTML	
================================================================= */

.events-gallery-wrap {
    width: 100%;
    padding-top: 0px;
}

.events-gallery-wrap h2 {
    overflow: hidden;
    padding: 0px 0px 20px 0px;
    margin: 0px;
    color: #505050;
    font-family: 'robotoregular';
    font-size: 20px;
	font-weight: 500;
    border-bottom: 1px solid #d3d3d3;
    margin-bottom: 20px;
    text-transform: uppercase;
}
.content-sec{
	background: #ffffff;	
}

.gallery-sec{
    float: left;
    width: 100%;
    background: #f4f4f4;
	padding: 20px 0px 20px 0px;
}

.img-gallery-magnific {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    justify-content: flex-start;
}

.magnific-img {
    width: calc(18% - 10px) !important;
    position: relative !important;
    /* display: none !important; */
    box-sizing: border-box !important;
}

.magnific-img a {
	text-decoration: none !important;
	display: block !important;
}

.magnific-img img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
	position: relative;
	z-index: 999;
	max-height: 170px;
}

.magnific-img i {
    position: absolute !important;
    bottom: 10px !important;
    right: 10px !important;
    color: white !important;
    background: rgba(0, 0, 0, 0.5) !important;
    padding: 8px !important;
    border-radius: 50% !important;
    font-size: 16px !important;
    transition: 0.3s !important;
}

.magnific-img:hover i {
    background: rgba(234, 126, 38, 0.9) !important;
}

/* Show More Button */
.show-more-btn {
    display: block !important;
    margin: 30px auto 60px !important;
    background: #ea7e26 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 10px 30px !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: 0.3s !important;
	display: none !important;
}

.show-more-btn:hover {
    background: #cf6712 !important;
}

/* Events Load More Button */
.events-load-more-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 30px;
    padding: 20px 0;
}

.events-load-more-btn {
    display: inline-block;
    background: #d5679e;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 12px 35px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.events-load-more-btn:hover {
    background: #c4558d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(213, 103, 158, 0.4);
}

.events-load-more-btn[data-loading="true"] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Magnific Popup Animations */
.mfp-with-zoom .mfp-container,
.mfp-with-zoom.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}

.mfp-with-zoom.mfp-ready .mfp-container {
    opacity: 1;
}

.mfp-with-zoom.mfp-ready.mfp-bg {
    opacity: 0.98;
}

.mfp-with-zoom.mfp-removing .mfp-container,
.mfp-with-zoom.mfp-removing.mfp-bg {
    opacity: 0;
}

/* Hide arrows & counter until hover */
button.mfp-arrow,
.mfp-counter {
    opacity: 0 !important;
    transition: opacity 200ms ease-in, opacity 2000ms ease-out;
}

.mfp-container:hover button.mfp-arrow,
.mfp-container:hover .mfp-counter {
    opacity: 1 !important;
}

/* Taxonomies */
.events-taxonomy {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.events-cats,
.events-tags-list {
    display: flex;
    gap: 10px;
    align-items: center;
}

.events-cats strong,
.events-tags-list strong {
    color: #666;
    font-size: 14px;
}

.events-cats a,
.events-tags-list a {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.events-cats a:hover,
.events-tags-list a:hover {
    background: #2271b1;
    color: #fff;
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .events-banner-fullwidth {
        height: 400px;
	}
	
    .events-title {
        font-size: 36px;
	}
	
    .events-banner-overlay {
        padding: 30px 20px;
	}
	
    .magnific-img {
        width: calc(50% - 10px) !important;
	}
	
    
}

@media screen and (max-width: 768px) {
    .events-banner-fullwidth {
        height: 350px;
	}
	
    .events-title {
        font-size: 28px;
	}
	
    .events-date {
        font-size: 16px;
	}
	
    .events-banner-overlay {
        padding: 20px;
	}
	
    .events-content-inner {
        padding: 0 15px 40px;
	}
	
    .events-main-content {
        font-size: 16px;
	}
	
    .events-gallery-wrap h2 {
        font-size: 28px;
	}
	
    .events-address-box {
        padding: 15px 20px;
	}
	
    .event-item {
        grid-template-columns: 1fr;
	}
	
    .event-title {
        font-size: 20px;
	}
	
    .event-meta {
        flex-direction: column;
        gap: 10px;
	}
	
	.event-item {
		-ms-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
	
	
	
}
@media screen and (max-width: 576px) {
	.event-item {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
	
	.event-item .event-excerpt p {
	   min-height: 0;
	   margin-bottom: 0;
    }
}
@media screen and (max-width: 480px) {
    .events-banner-fullwidth {
        height: 280px;
	}
	
    .events-title {
        font-size: 22px;
	}
	
    .events-date {
        font-size: 14px;
	}
	
    .events-banner-overlay {
        padding: 15px;
	}
	
    .events-gallery-wrap h2 {
        font-size: 22px;
	}
	
    .magnific-img {
        width: 100% !important;
	}
	
    .events-taxonomy {
        flex-direction: column;
        gap: 20px;
	}
	
    .events-cats,
    .events-tags-list {
        flex-direction: column;
        align-items: flex-start;
	}
	
    
	
    .event-title {
        font-size: 18px;
	}
}