/* NGO Events basic styling */
.ngo-events-section { padding: 24px 0; }
.ngo-event-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; height: 100%; }
.ngo-event-card__image img { width: 100%; height: 220px; object-fit: cover; display: block; }
.ngo-event-card__content { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ngo-event-card__title { margin: 0; font-size: 1.125rem; line-height: 1.4; color: #1f2937; }
.ngo-event-card__title a { color: inherit; text-decoration: none; }

/* Meta + chips as uniform pills */
.ngo-event-card__meta { display: flex; flex-wrap: wrap; gap: 14px; color: #0f172a; font-size: 1rem; }
.ngo-event-card__meta-item { background: #eef2ff; padding: 10px 16px; border-radius: 9999px; }
.ngo-event-card__chips { display: flex; flex-wrap: wrap; gap: 14px; }
.ngo-chip { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 9999px; font-size: 1rem; font-weight: 600; background: #eef2ff; color: #0f172a; }
/* optional subtle icons spacing */
.ngo-event-card__meta-item::before, .ngo-chip::before { margin-right: 6px; }

.ngo-event-card__excerpt { color: #4b5563; }
.ngo-event-card__button { align-self: flex-start; background: #1f3d1f; color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: background .2s; }
.ngo-event-card__button:hover { background: #1b341b; }

/* Horizontal variant for slider (like your second image) */
.ngo-event-card--horizontal { flex-direction: row; gap: 0; }
.ngo-event-card--horizontal .ngo-event-card__image { width: 36%; min-width: 36%; }
.ngo-event-card--horizontal .ngo-event-card__image img { height: 100%; min-height: 100%; object-fit: cover; }
.ngo-event-card--horizontal .ngo-event-card__content { width: 64%; }

@media (max-width: 768px) {
	.ngo-event-card--horizontal { flex-direction: column; }
	.ngo-event-card--horizontal .ngo-event-card__image { width: 100%; min-width: 100%; }
}

/* Single template */
.ngo-event-single { max-width: 1100px; margin: 0 auto; padding: 24px 16px; }
.ngo-event__hero img { width: 100%; height: auto; border-radius: 14px; }
.ngo-event__header { margin-top: 16px; }
.ngo-event__title { font-size: 2.25rem; margin: 0 0 12px; color: #1f3d1f; }
.ngo-event__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.ngo-event__meta-item { background: #eef2ff; color: #111827; padding: 6px 10px; border-radius: 999px; }
.ngo-event__content { font-size: 1.0625rem; line-height: 1.75; color: #111827; }

/* Centered single template used by plugin */
.ngo-single-event { max-width: 960px; margin: 0 auto; padding: 24px 16px; text-align: center; }
.ngo-single-event .entry-header .entry-title { margin: 0 0 16px; color: #1f3d1f; }
.ngo-single-event .entry-thumbnail img { display: block; margin: 0 auto; width: 100%; height: auto; border-radius: 14px; }
.ngo-single-event .ngo-event-card__meta { justify-content: center; margin-top: 14px; }
.ngo-single-event .ngo-event-card__chips { justify-content: center; margin-top: 10px; }
.ngo-single-event .entry-content { margin-top: 16px; }

/* Archive page styling */
.ngo-events-archive { padding: 24px 0; }
.ngo-events-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.ngo-events-archive-header { text-align: center; margin-bottom: 48px; }
.ngo-events-archive-title { font-size: 2.5rem; color: #1f3d1f; margin: 0 0 16px; font-weight: 700; }
.ngo-events-archive-description { font-size: 1.125rem; color: #6b7280; margin: 0 0 24px; }

/* Breadcrumb styling */
.ngo-events-breadcrumb { 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	gap: 8px; 
	margin-top: 16px; 
	font-size: 0.875rem; 
}
.ngo-events-breadcrumb-link { 
	color: #1f3d1f; 
	text-decoration: none; 
	font-weight: 500;
	transition: color 0.2s ease;
}
.ngo-events-breadcrumb-link:hover { 
	color: #1b341b; 
	text-decoration: underline; 
}
.ngo-events-breadcrumb-separator { 
	color: #9ca3af; 
	font-weight: 600; 
}
.ngo-events-breadcrumb-current { 
	color: #6b7280; 
	font-weight: 600; 
}

/* Events list layout */
.ngo-events-list { display: flex; flex-direction: column; gap: 32px; }

/* Event card improvements for list layout */
.ngo-event-card { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); transition: box-shadow 0.3s ease, transform 0.2s ease; }
.ngo-event-card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); transform: translateY(-2px); }

/* Placeholder for events without images */
.ngo-event-card__placeholder { 
	width: 100%; 
	height: 100%; 
	background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%); 
	display: flex; 
	align-items: center; 
	justify-content: center; 
}
.ngo-event-card__placeholder-icon { font-size: 3rem; color: #9ca3af; }

/* Improved meta styling */
.ngo-event-card__meta { margin-bottom: 12px; }
.ngo-event-card__meta-item { 
	background: #f8fafc; 
	border: 1px solid #e2e8f0; 
	color: #475569; 
	font-size: 0.875rem;
	padding: 8px 12px; 
	border-radius: 6px; 
}

/* Chip styling improvements */
.ngo-chip { 
	font-size: 0.875rem; 
	font-weight: 500; 
	padding: 6px 12px; 
	border-radius: 6px; 
	text-decoration: none;
	display: inline-block;
	transition: all 0.2s ease;
	border: 1px solid transparent;
}
.ngo-chip--status { 
	background: #dbeafe; 
	color: #1e40af; 
	border-color: #93c5fd;
}
.ngo-chip--status:hover { 
	background: #bfdbfe; 
	color: #1e3a8a;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(30, 64, 175, 0.2);
}
.ngo-chip--cause { 
	background: #f0fdf4; 
	color: #166534; 
	border-color: #86efac;
}
.ngo-chip--cause:hover { 
	background: #dcfce7; 
	color: #14532d;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(22, 101, 52, 0.2);
}

/* Button styling */
.ngo-event-card__button { 
	background: #2b4d1b; 
	color: #fff; 
	padding: 12px 24px; 
	border-radius: 30px; 
	text-decoration: none; 
	font-weight: 300;
	transition: all 0.2s ease!important;
	display: inline-block;
	text-align: center;
}
a.ngo-event-card__button:hover { 
color:white;
	
}
.ngo-event-card__button:hover { 
	background: #1b341b; 
	transform: translateY(-1px);
	box-shadow: 0 2px 8px rgba(31, 61, 31, 0.3);
	
}

/* No results styling */
.ngo-events-no-results { 
	text-align: center; 
	padding: 64px 16px; 
	color: #6b7280; 
}
.ngo-events-no-results h2 { 
	font-size: 1.5rem; 
	color: #374151; 
	margin: 0 0 8px; 
}

/* Pagination styling */
.ngo-events-pagination { 
	margin-top: 48px; 
	display: flex; 
	justify-content: center; 
}
.ngo-events-pagination .page-numbers { 
	display: inline-block; 
	padding: 8px 16px; 
	margin: 0 4px; 
	background: #f3f4f6; 
	color: #374151; 
	text-decoration: none; 
	border-radius: 6px; 
	transition: all 0.2s ease; 
}
.ngo-events-pagination .page-numbers:hover, 
.ngo-events-pagination .page-numbers.current { 
	background: #1f3d1f; 
	color: #fff; 
}

/* Responsive improvements */
@media (max-width: 768px) {
	.ngo-events-archive-title { font-size: 2rem; }
	.ngo-events-archive-description { font-size: 1rem; }
	.ngo-events-archive-header { margin-bottom: 32px; }
	.ngo-events-list { gap: 24px; }
	.ngo-event-card--horizontal .ngo-event-card__content { padding: 20px; }
}

/* Swiper overrides */
.swiper { padding-bottom: 44px; }
/* Show navigation arrows only on hover */
.swiper .swiper-button-prev, .swiper .swiper-button-next { opacity: 0; transition: opacity .2s ease, transform .2s ease; }
.swiper:hover .swiper-button-prev, .swiper:hover .swiper-button-next { opacity: 1; } 