/* ALO Activities & Events Section Styles (RTL) */
.alo-activities-section {
	direction: rtl;
	text-align: right;
	padding: 35px 0;
	margin: 20px 0;
	font-family: 'Cairo', 'Tajawal', Tahoma, Arial, sans-serif;
}

.alo-section-header {
	text-align: center;
	margin-bottom: 26px;
}

.alo-section-title {
	font-size: 26px !important;
	font-weight: 700 !important;
	color: var(--alo-primary, #0b4f8a);
	margin: 0 0 8px 0 !important;
	position: relative;
	display: inline-block;
	padding-bottom: 10px;
}

.alo-section-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	right: 50%;
	transform: translateX(50%);
	width: 60px;
	height: 3px;
	background: var(--alo-accent, #168a59);
	border-radius: 2px;
}

.alo-section-subtitle {
	font-size: 15px;
	color: #64748b;
	margin: 0;
}

/* Filter Tabs */
.alo-filter-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-bottom: 24px;
}

.alo-filter-btn {
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.22s ease;
	font-family: inherit;
}

.alo-filter-btn:hover {
	background: #e2e8f0;
	color: var(--alo-primary, #0b4f8a);
}

.alo-filter-btn.active {
	background: var(--alo-primary, #0b4f8a);
	color: #ffffff;
	border-color: var(--alo-primary, #0b4f8a);
	box-shadow: 0 4px 12px rgba(11, 79, 138, 0.22);
}

/* Results Bar */
.alo-results-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
	padding: 0 4px;
	font-size: 13.5px;
	color: #475569;
}

/* Loader */
.alo-activities-wrapper {
	position: relative;
	min-height: 200px;
}

.alo-loader {
	position: absolute;
	inset: 0;
	background: rgba(255, 255, 255, 0.82);
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-weight: 600;
	color: var(--alo-primary, #0b4f8a);
	border-radius: 12px;
}

.alo-spinner {
	width: 22px;
	height: 22px;
	border: 3px solid #cbd5e1;
	border-top-color: var(--alo-primary, #0b4f8a);
	border-radius: 50%;
	animation: aloSpin 0.7s linear infinite;
	display: inline-block;
}

@keyframes aloSpin {
	to { transform: rotate(360deg); }
}

/* Grid (3 Columns) */
.alo-activities-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

@media (max-width: 991px) {
	.alo-activities-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.alo-activities-grid {
		grid-template-columns: 1fr;
	}
}

/* Card */
.alo-activity-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.alo-activity-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}

.alo-card-thumb {
	position: relative;
	height: 195px;
	overflow: hidden;
	background: #f1f5f9;
}

.alo-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.alo-activity-card:hover .alo-card-thumb img {
	transform: scale(1.05);
}

/* Status Badges */
.alo-status-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
}

.alo-status-badge.status-upcoming {
	background: var(--alo-accent, #168a59);
}

.alo-status-badge.status-ongoing {
	background: #d97706;
}

.alo-status-badge.status-ended {
	background: #64748b;
}

.alo-mode-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #2563eb;
	color: #fff;
	padding: 3px 10px;
	border-radius: 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.4px;
}

/* Card Body */
.alo-card-body {
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.alo-card-meta-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
	margin-bottom: 10px;
	font-size: 12px;
}

.alo-card-date {
	color: #64748b;
	font-weight: 600;
}

.alo-card-date i {
	color: var(--alo-accent, #168a59);
	margin-left: 4px;
}

.alo-card-cat {
	background: #eff6ff;
	color: var(--alo-primary, #0b4f8a);
	padding: 3px 10px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 11.5px;
}

.alo-card-title {
	font-size: 15.5px !important;
	font-weight: 700 !important;
	line-height: 1.55 !important;
	margin: 0 0 10px 0 !important;
	flex: 1;
}

.alo-card-title a {
	color: #1e293b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.alo-card-title a:hover {
	color: var(--alo-primary, #0b4f8a);
}

.alo-card-excerpt {
	font-size: 13px;
	line-height: 1.6;
	color: #64748b;
	margin: 0 0 12px 0;
}

.alo-card-footer {
	border-top: 1px solid #f1f5f9;
	padding-top: 10px;
	margin-top: auto;
	font-size: 12.5px;
	color: #475569;
}

.alo-card-location i {
	color: var(--alo-primary, #0b4f8a);
	margin-left: 5px;
}

.alo-card-location.is-online {
	color: #2563eb;
	font-weight: 600;
}

/* Pagination */
.alo-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 6px;
	margin-top: 28px;
}

.alo-page-btn {
	min-width: 36px;
	height: 36px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #334155;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.2s ease;
	font-family: inherit;
}

.alo-page-btn:hover {
	border-color: var(--alo-primary, #0b4f8a);
	color: var(--alo-primary, #0b4f8a);
}

.alo-page-btn.active {
	background: var(--alo-primary, #0b4f8a);
	color: #fff;
	border-color: var(--alo-primary, #0b4f8a);
}

.alo-page-dots {
	padding: 0 4px;
	color: #94a3b8;
}

.alo-empty-state {
	text-align: center;
	padding: 40px 20px;
	background: #f8fafc;
	border-radius: 12px;
	border: 1px dashed #cbd5e1;
}
