.actaps-glueup-directory {
	--actaps-directory-border: #dfe6e8;
	--actaps-directory-muted: #5f6c70;
	--actaps-directory-text: #162b28;
	--actaps-directory-surface: #fff;
	--actaps-directory-subtle: #f7f8f6;
	--actaps-directory-accent: #b78b56;
	--actaps-directory-accent-dark: #906c42;
	--actaps-directory-green: #123c34;
	--actaps-directory-name: #b78b56;
	--actaps-directory-shadow: 0 8px 20px rgba(16, 35, 31, 0.08);
	color: var(--actaps-directory-text);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.45;
	position: relative;
}

.actaps-glueup-directory *,
.actaps-glueup-directory *::before,
.actaps-glueup-directory *::after {
	box-sizing: border-box;
}

.actaps-glueup-loading {
	position: fixed;
	top: 20px;
	left: 50%;
	z-index: 99999;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: min(240px, calc(100vw - 32px));
	min-height: 0;
	padding: 18px 20px;
	transform: translateX(-50%);
	border: 1px solid var(--actaps-directory-border);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 14px 32px rgba(16, 35, 31, 0.18);
	gap: 10px;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.actaps-glueup-directory.is-loading {
	cursor: wait;
}

.actaps-glueup-directory.is-loading .actaps-glueup-loading {
	display: flex;
}

.actaps-glueup-loading__spinner {
	width: 40px;
	height: 40px;
	border: 4px solid rgba(18, 60, 52, 0.16);
	border-top-color: var(--actaps-directory-green);
	border-radius: 50%;
	animation: actaps-glueup-spin 0.8s linear infinite;
}

.actaps-glueup-loading__text {
	color: var(--actaps-directory-text);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

@keyframes actaps-glueup-spin {
	to {
		transform: rotate(360deg);
	}
}

.actaps-glueup-search {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	margin: 0 0 28px;
}

.actaps-glueup-search__fields {
	display: grid;
	grid-template-columns: minmax(220px, 1fr);
	gap: 12px;
	flex: 1 1 560px;
}

@media (min-width: 760px) {
	.actaps-glueup-search__fields {
		grid-template-columns: repeat(2, minmax(220px, 1fr));
	}
}

.actaps-glueup-search__field label {
	display: block;
	margin: 0 0 7px;
	color: var(--actaps-directory-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.actaps-glueup-search input[type="search"] {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1px solid var(--actaps-directory-border);
	border-radius: 6px;
	background: #fff;
	color: var(--actaps-directory-text);
	font: inherit;
	font-size: 16px;
	box-shadow: none;
}

.actaps-glueup-search__actions {
	display: flex;
	gap: 12px;
	align-items: center;
	flex: 0 0 auto;
}

.actaps-glueup-search button,
.actaps-glueup-pagination__link {
	min-height: 48px;
	padding: 11px 18px;
	border: 1px solid var(--actaps-directory-green);
	border-radius: 6px;
	background: var(--actaps-directory-green);
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.actaps-glueup-search button:hover,
.actaps-glueup-search button:focus,
.actaps-glueup-pagination__link:hover,
.actaps-glueup-pagination__link:focus {
	background: var(--actaps-directory-accent-dark);
	border-color: var(--actaps-directory-accent-dark);
	color: #fff;
}

.actaps-glueup-search__clear {
	color: var(--actaps-directory-accent);
	font-weight: 700;
	text-decoration: none;
}

.actaps-glueup-alphabet {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin: -8px 0 28px;
}

.actaps-glueup-alphabet__label {
	color: var(--actaps-directory-muted);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.actaps-glueup-alphabet__links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}

.actaps-glueup-alphabet__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	min-height: 34px;
	padding: 6px 9px;
	border: 1px solid var(--actaps-directory-border);
	border-radius: 6px;
	background: #fff;
	color: var(--actaps-directory-green);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.actaps-glueup-alphabet__link:hover,
.actaps-glueup-alphabet__link:focus,
.actaps-glueup-alphabet__link.is-active,
.actaps-glueup-alphabet__link:hover:visited,
.actaps-glueup-alphabet__link:focus:visited,
.actaps-glueup-alphabet__link.is-active:visited {
	border-color: var(--actaps-directory-green);
	background: var(--actaps-directory-green);
	color: #fff !important;
	text-decoration: none;
}

.actaps-glueup-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	margin: -10px 0 28px;
}

.actaps-glueup-filters__fields {
	display: grid;
	grid-template-columns: minmax(180px, 1fr);
	gap: 12px;
	flex: 1 1 720px;
}

@media (min-width: 760px) {
	.actaps-glueup-filters__fields {
		grid-template-columns: repeat(2, minmax(180px, 1fr));
	}
}

@media (min-width: 980px) {
	.actaps-glueup-filters__fields {
		grid-template-columns: repeat(3, minmax(180px, 1fr));
	}
}

.actaps-glueup-filters__field label {
	display: block;
	margin: 0 0 7px;
	color: var(--actaps-directory-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.actaps-glueup-filters__field select {
	width: 100%;
	min-height: 44px;
	padding: 9px 12px;
	border: 1px solid var(--actaps-directory-border);
	border-radius: 6px;
	background: #fff;
	color: var(--actaps-directory-text);
	font: inherit;
	font-size: 15px;
	box-shadow: none;
}

.actaps-glueup-filters__actions {
	display: flex;
	gap: 12px;
	align-items: center;
	flex: 0 0 auto;
}

.actaps-glueup-filters button {
	min-height: 44px;
	padding: 9px 16px;
	border: 1px solid var(--actaps-directory-green);
	border-radius: 6px;
	background: var(--actaps-directory-green);
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.actaps-glueup-filters button:hover,
.actaps-glueup-filters button:focus {
	background: var(--actaps-directory-accent-dark);
	border-color: var(--actaps-directory-accent-dark);
}

.actaps-glueup-filters__clear {
	color: var(--actaps-directory-accent);
	font-weight: 700;
	text-decoration: none;
}

.actaps-glueup-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

@media (min-width: 700px) {
	.actaps-glueup-grid--columns-2,
	.actaps-glueup-grid--columns-3,
	.actaps-glueup-grid--columns-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.actaps-glueup-grid--columns-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.actaps-glueup-grid--columns-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.actaps-glueup-card {
	display: flex;
	gap: 18px;
	min-width: 0;
	min-height: 150px;
	padding: 24px 28px;
	border: 1px solid var(--actaps-directory-border);
	border-radius: 8px;
	background: var(--actaps-directory-surface);
	box-shadow: var(--actaps-directory-shadow);
}

.actaps-glueup-card__media {
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	overflow: hidden;
	border: 1px solid var(--actaps-directory-border);
	border-radius: 6px;
	background: #f6f8fa;
}

.actaps-glueup-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.actaps-glueup-card__body {
	width: 100%;
	min-width: 0;
}

.actaps-glueup-card__title {
	margin: 0 0 10px;
	color: var(--actaps-directory-name);
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: clamp(24px, 1.75rem, 32px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.actaps-glueup-card__fields {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 9px 18px;
}

.actaps-glueup-card__field {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 8px;
	align-items: baseline;
	margin: 0;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.35;
}

.actaps-glueup-card__field--company {
	display: block;
	grid-column: 1 / -1;
	margin: 0 0 4px;
}

.actaps-glueup-card__field--company .actaps-glueup-card__label,
.actaps-glueup-card__field--profession .actaps-glueup-card__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.actaps-glueup-card__field--company .actaps-glueup-card__value {
	color: var(--actaps-directory-text);
	font-size: clamp(19px, 1.3rem, 24px);
	font-weight: 700;
	line-height: 1.2;
}

.actaps-glueup-card__field--profession {
	display: block;
	grid-column: 1 / -1;
}

.actaps-glueup-card__field--profession .actaps-glueup-card__value {
	color: var(--actaps-directory-text);
	font-weight: 600;
}

.actaps-glueup-card__field--member_type,
.actaps-glueup-card__field--membership_type {
	grid-column: 1 / -1;
}

.actaps-glueup-card__field--email,
.actaps-glueup-card__field--phone,
.actaps-glueup-card__field--web_url,
.actaps-glueup-card__field--website {
	grid-column: 1 / -1;
}

.actaps-glueup-card__field--contact {
	display: flex;
	flex-wrap: wrap;
	grid-column: 1 / -1;
	gap: 4px 10px;
	align-items: baseline;
}

.actaps-glueup-card__field--city,
.actaps-glueup-card__field--region {
	grid-column: 1 / -1;
}

.actaps-glueup-card__field--jurisdiction {
	grid-column: 1 / -1;
}

.actaps-glueup-card__label {
	color: var(--actaps-directory-muted);
	font-weight: 700;
	letter-spacing: 0;
}

.actaps-glueup-card__label::after {
	content: ":";
}

.actaps-glueup-card__value {
	min-width: 0;
	color: var(--actaps-directory-text);
	overflow-wrap: break-word;
	word-break: normal;
}

.actaps-glueup-card__value a {
	color: var(--actaps-directory-accent);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.actaps-glueup-card__contact-item {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 8px;
	min-width: 0;
	align-items: baseline;
}

.actaps-glueup-card__contact-separator {
	color: var(--actaps-directory-muted);
}

@media (max-width: 820px) {
	.actaps-glueup-card__fields {
		grid-template-columns: 1fr;
	}

	.actaps-glueup-card__field,
	.actaps-glueup-card__field--profession,
	.actaps-glueup-card__field--company,
	.actaps-glueup-card__field--member_type,
	.actaps-glueup-card__field--membership_type,
	.actaps-glueup-card__field--email,
	.actaps-glueup-card__field--phone,
	.actaps-glueup-card__field--web_url,
	.actaps-glueup-card__field--website,
	.actaps-glueup-card__field--city,
	.actaps-glueup-card__field--region,
	.actaps-glueup-card__field--jurisdiction {
		grid-column: 1 / -1;
	}

	.actaps-glueup-card__field--contact {
		display: grid;
		grid-template-columns: 1fr;
	}

	.actaps-glueup-card__contact-separator {
		display: none;
	}
}

.actaps-glueup-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-top: 28px;
}

.actaps-glueup-pagination__current {
	color: var(--actaps-directory-muted);
	font-weight: 700;
	font-size: 15px;
}

.actaps-glueup-empty,
.actaps-glueup-notice {
	padding: 16px;
	border: 1px solid var(--actaps-directory-border);
	border-radius: 8px;
	background: var(--actaps-directory-subtle);
}

.actaps-glueup-notice p {
	margin: 0 0 8px;
}

.actaps-glueup-notice p:last-child {
	margin-bottom: 0;
}

.actaps-glueup-debug {
	margin-top: 24px;
	padding: 14px;
	border: 1px solid #b8c2cc;
	border-radius: 8px;
	background: #f8fafc;
	color: #17212b;
	font-size: 13px;
	line-height: 1.4;
}

.actaps-glueup-debug summary {
	cursor: pointer;
	font-weight: 700;
}

.actaps-glueup-debug table {
	width: 100%;
	margin-top: 12px;
	border-collapse: collapse;
	background: #fff;
}

.actaps-glueup-debug th,
.actaps-glueup-debug td {
	padding: 8px;
	border: 1px solid #d9e0e7;
	text-align: left;
	vertical-align: top;
}

.actaps-glueup-debug code {
	white-space: nowrap;
}

@media (max-width: 520px) {
	.actaps-glueup-search,
	.actaps-glueup-search__actions {
		display: block;
	}

	.actaps-glueup-search__actions {
		margin-top: 12px;
	}

	.actaps-glueup-search button {
		width: 100%;
	}

	.actaps-glueup-search__clear {
		display: inline-block;
		margin-top: 10px;
	}

	.actaps-glueup-alphabet {
		display: block;
	}

	.actaps-glueup-alphabet__label {
		display: block;
		margin-bottom: 10px;
	}

	.actaps-glueup-filters,
	.actaps-glueup-filters__actions {
		display: block;
	}

	.actaps-glueup-filters__actions {
		margin-top: 12px;
	}

	.actaps-glueup-filters button {
		width: 100%;
	}

	.actaps-glueup-filters__clear {
		display: inline-block;
		margin-top: 10px;
	}

	.actaps-glueup-card {
		display: block;
		min-height: 0;
		padding: 20px;
	}

	.actaps-glueup-card__media {
		margin-bottom: 12px;
	}

	.actaps-glueup-card__field {
		grid-template-columns: 1fr;
		gap: 3px;
	}
}
