#searchtorney-container {
	max-width: 100%;
	margin: 0 auto;
}

#searchtorney-search {
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}

#searchtorney-search select {
	width: 30%;
}

#searchtorney-results {
	padding-top: 20px;
}

.attorneys-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.country-name {
	text-align: center;
}

h2 {
	font-weight: bold;
}

.city-name {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid gray;
}

h3 {
	font-weight: 600;
}

.firm-name {
	font-weight: bold;
	text-align: center;
}

.attorney-item {
	flex: 0 1 calc(14.28% - 10px);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 10px;
	padding: 10px;
	text-decoration: none;
	color: inherit;
	height: auto;
}

/* .elementor img {
	border-radius: 47px;
} */

.attorney-img-container {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: linear-gradient(to right, white, gray);
	display: flex;
	justify-content: center;
	align-items: flex-end;
	padding-bottom: 10px;
	overflow: hidden;
}

.attorney-img {
	width: 90px;
	height: 90px;
	border-radius: 35%;
	object-fit: cover;
	margin-bottom: -15px;
}

.attorney-name {
	width: 100%;
	margin-top: 10px;
	font-size: 1rem;
	line-height: 1.2;
	overflow: visible;
	word-wrap: break-word;
	hyphens: auto;
}

.searchtorney-close-container {
	text-align: right;
	padding: 10px;
}

.searchtorney-close-btn {
	background-color: transparent;
	color: #888;
	border: none;
	padding: 5px;
	font-size: 32px;
	/* Increased from 24px to 32px */
	cursor: pointer;
	line-height: 1;
	transition: color 0.3s ease;
}

.searchtorney-close-btn:hover {
	color: #333;
}

#searchtorney-city-label {
	font-weight: bold;
	font-size: 18px;
	/* Faint white outline */
	background-color: #ffffff75;
	/* White text color */
	padding: 5px;
	/* Padding for better readability */
	border-radius: 5px;
	/* Rounded corners */
	z-index: 1000;
	/* Ensure it is above other elements */
}

.spinner {
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-left-color: #000;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin: 20px auto;
}

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