/**
 * AR TMC Speakers — Directory Styles
 */

.artmc-sp-directory {
	font-family: 'Cairo', system-ui, sans-serif;
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 16px;
}

.artmc-sp-filters {
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 18px;
	margin: 24px 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.artmc-sp-search {
	display: flex;
	gap: 8px;
	width: 100%;
}
.artmc-sp-search input {
	flex: 1;
	padding: 12px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	font-family: inherit;
	font-size: 14px;
	background: #fafbfc;
}
.artmc-sp-search input:focus {
	outline: none;
	border-color: #a855f7;
	background: white;
}
.artmc-sp-search button {
	padding: 12px 24px;
	background: linear-gradient(135deg, #6f42c1, #5a32a3);
	color: white;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	font-size: 18px;
}

.artmc-sp-topics {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.artmc-sp-topic {
	padding: 8px 14px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 999px;
	color: #475569;
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}
.artmc-sp-topic:hover {
	border-color: #d8b4fe;
	color: #6f42c1;
	text-decoration: none;
}
.artmc-sp-topic.is-active {
	background: linear-gradient(135deg, #6f42c1, #5a32a3);
	color: white;
	border-color: transparent;
}
.artmc-sp-topic span {
	background: rgba(0,0,0,0.08);
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	margin-right: 4px;
}
.artmc-sp-topic.is-active span { background: rgba(255,255,255,0.25); }

.artmc-sp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 22px;
	margin: 24px 0;
}

.artmc-sp-card {
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	transition: all 0.2s;
}
.artmc-sp-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 36px rgba(111, 66, 193, 0.13);
	border-color: #d8b4fe;
}
.artmc-sp-card a {
	display: block;
	text-decoration: none;
	color: inherit;
}
.artmc-sp-card a:hover { text-decoration: none; color: inherit; }

.artmc-sp-card-thumb {
	width: 100%;
	aspect-ratio: 1 / 1;
	background: #f1f5f9;
	overflow: hidden;
	position: relative;
}
.artmc-sp-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.artmc-sp-card-no-thumb {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #faf5ff, #e9d5ff);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 60px;
	color: #6f42c1;
}

.artmc-sp-card-body {
	padding: 16px;
	text-align: center;
}
.artmc-sp-card-body h3 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 700;
	color: #1a1a2e;
}
.artmc-sp-card:hover h3 { color: #6f42c1; }

.artmc-sp-card-title {
	margin: 0 0 4px;
	color: #6f42c1;
	font-size: 13px;
	font-weight: 600;
}
.artmc-sp-card-org {
	margin: 0;
	color: #64748b;
	font-size: 12px;
}

.artmc-sp-empty {
	text-align: center;
	padding: 60px 20px;
	background: #fafbfc;
	border-radius: 14px;
}
.artmc-sp-empty-icon { font-size: 60px; }
.artmc-sp-empty h3 { color: #6f42c1; margin: 12px 0 0; }

.artmc-sp-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin: 30px 0;
}
.artmc-sp-pagination a {
	padding: 9px 18px;
	background: white;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	color: #475569;
	text-decoration: none;
	font-weight: 600;
}
.artmc-sp-pagination a:hover {
	border-color: #a855f7;
	background: #faf5ff;
	color: #6f42c1;
	text-decoration: none;
}
.artmc-sp-pagination span {
	color: #64748b;
	font-weight: 600;
}

@media (max-width: 600px) {
	.artmc-sp-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.artmc-sp-card-body { padding: 12px; }
	.artmc-sp-card-body h3 { font-size: 14px; }
}
