/* ---------- Directory / filters ---------- */
.acd-directory {
	max-width: 1100px;
	margin: 0 auto;
}
.acd-filters {
	background: #f5f6fa;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 20px;
}
.acd-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: flex-end;
}
.acd-filter-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
	min-width: 160px;
}
.acd-filter-field label {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #555;
}
.acd-filter-field input[type="text"],
.acd-filter-field select {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
}
.acd-filter-submit {
	flex-direction: row;
	align-items: center;
	gap: 12px;
}
.acd-filter-submit button {
	background: #2f5bf6;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 9px 18px;
	font-weight: 700;
	cursor: pointer;
}
.acd-filter-submit button:hover {
	background: #1e46d6;
}
.acd-clear {
	font-size: 13px;
	color: #666;
	text-decoration: underline;
}

.acd-result-count {
	font-size: 14px;
	color: #666;
	margin-bottom: 10px;
}

.acd-results {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}
.acd-results th {
	text-align: left;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #666;
	border-bottom: 2px solid #e5e7ee;
	padding: 10px 12px;
}
.acd-results td {
	padding: 12px;
	border-bottom: 1px solid #eceef4;
	font-size: 14px;
	vertical-align: top;
}
.acd-results tr:hover td {
	background: #f8f9fd;
}
.acd-results a {
	color: #2f5bf6;
	text-decoration: none;
}
.acd-results a:hover {
	text-decoration: underline;
}

.acd-no-results {
	padding: 30px 0;
	color: #777;
}

.acd-pagination {
	display: flex;
	gap: 8px;
	margin: 20px 0;
}
.acd-pagination a {
	padding: 6px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	color: #333;
	text-decoration: none;
	font-size: 14px;
}
.acd-pagination a.acd-page-current {
	background: #2f5bf6;
	color: #fff;
	border-color: #2f5bf6;
}

/* ---------- Single program profile ---------- */
.acd-program-container {
	max-width: 900px;
	margin: 0 auto;
	padding: 30px 20px;
}
.acd-breadcrumb a {
	color: #2f5bf6;
	text-decoration: none;
	font-size: 14px;
}
.acd-program-header h1 {
	margin: 10px 0 4px;
	font-size: 30px;
	color: #0d1b3e;
}
.acd-program-location {
	color: #666;
	margin: 0 0 14px;
	font-size: 15px;
}
.acd-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
}
.acd-badge {
	display: inline-block;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 700;
	background: #e8ecfd;
	color: #2f5bf6;
}
.acd-badge-union {
	background: #d9ecff;
	color: #0a67b3;
}
.acd-badge-type {
	background: #dff5e8;
	color: #0f7a3c;
}
.acd-badge-trade {
	background: #f1e9ff;
	color: #6a2fc9;
}
.acd-badge-dol {
	background: #0d1b3e;
	color: #fff;
}
.acd-program-thumb img {
	width: 100%;
	border-radius: 10px;
	margin-bottom: 20px;
}
.acd-program-content {
	font-size: 16px;
	line-height: 1.7;
	color: #333;
	margin-bottom: 24px;
}
.acd-website-button {
	display: inline-block;
	background: #2f5bf6;
	color: #fff !important;
	padding: 12px 22px;
	border-radius: 8px;
	font-weight: 700;
	text-decoration: none !important;
}
.acd-website-button:hover {
	background: #1e46d6;
}

@media screen and (max-width: 700px) {
	.acd-results thead {
		display: none;
	}
	.acd-results, .acd-results tbody, .acd-results tr, .acd-results td {
		display: block;
		width: 100%;
	}
	.acd-results tr {
		border-bottom: 1px solid #eceef4;
		padding: 10px 0;
	}
	.acd-results td {
		border: none;
		padding: 4px 0;
	}
	.acd-results td:before {
		content: attr(data-label);
		display: block;
		font-size: 11px;
		text-transform: uppercase;
		color: #999;
		font-weight: 700;
	}
}
