/* Nejat Locations Widget Styles */

/* Root container */
.nejat-locations {
	position: relative;
	background: #ffffff;
}

/* Inner container with max-width and padding */
.nejat-locations__inner {
	width: 100%;
	max-width: var(--nejat-max-width);
	margin: 0 auto;
	padding: var(--nejat-section-pad-v) var(--nejat-gutter);
}

/* Two-column layout: map + content */
.nejat-locations__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--nejat-gap-lg);
	align-items: start;
}

/* Map Container */
.nejat-locations__map-wrapper {
	position: sticky;
	top: 120px;
	border-radius: var(--nejat-radius);
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nejat-locations__map-embed {
	width: 100%;
	height: 500px;
	border: none;
	display: block;
	transition: opacity 0.3s ease;
}

/* Content Container */
.nejat-locations__content {
	display: flex;
	flex-direction: column;
	gap: var(--nejat-gap-md);
}

/* Headline */
.nejat-locations__headline {
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.2;
	margin: 0;
}

/* Description */
.nejat-locations__description {
	font-size: 16px;
	color: #555555;
	line-height: 1.6;
	margin: 0;
}

/* Location Cards Container */
.nejat-locations__cards {
	display: flex;
	flex-direction: column;
	gap: var(--nejat-gap-sm);
}

/* Individual Location Card */
.nejat-locations__card {
	background: #ffffff;
	border: 1px dashed #aaaaaa;
	border-radius: var(--nejat-radius);
	padding: 24px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.nejat-locations__card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.nejat-locations__card--active {
	background: #ffffff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Card Content */
.nejat-locations__card-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

/* Location Header (icon + name) */
.nejat-locations__location-header {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nejat-locations__icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(74, 179, 200, 0.1);
	border-radius: 50%;
	color: #4ab3c8;
	flex-shrink: 0;
}

.nejat-locations__icon img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}

.nejat-locations__icon svg {
	width: 20px;
	height: 20px;
}

.nejat-locations__name {
	font-size: 20px;
	font-weight: 600;
	color: #1a1a1a;
	line-height: 1.3;
}

.nejat-locations__card--active .nejat-locations__name {
	color: #4ab3c8;
}

/* Card Body: two-column grid (address left, contact right) */
.nejat-locations__card-body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding-left: 48px;
}

.nejat-locations__address {
	font-size: 15px;
	color: #555555;
	line-height: 1.5;
}

/* Contact column */
.nejat-locations__contact-col {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nejat-locations__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: #555555;
}

.nejat-locations__contact-icon {
	width: 16px;
	height: 16px;
	color: #4ab3c8;
	flex-shrink: 0;
	margin-top: 2px;
}

.nejat-locations__contact-item a {
	color: #4ab3c8;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.nejat-locations__contact-item a:hover {
	color: #31bcc8;
	text-decoration: underline;
}

.nejat-locations__hours {
	line-height: 1.5;
}

/* Phone + Text Us inline */
.nejat-locations__phone-text {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}

.nejat-locations__contact-sep {
	color: #aaa;
	font-size: 12px;
}

.nejat-locations__text-icon {
	display: inline-flex;
	align-items: center;
	color: #4ab3c8;
	flex-shrink: 0;
}

.nejat-locations__text-icon svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nejat-locations__text-link {
	color: #4ab3c8;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.nejat-locations__text-link:hover {
	color: #31bcc8;
	text-decoration: underline;
}

/* CTA Button — dark background, teal circle expands on hover (matches doctor widget) */
.nejat-locations__cta {
	display: inline-block;
	background: transparent;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 16px 36px;
	border-radius: 8px;
	text-decoration: none;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	transform: translateZ(0);
	align-self: flex-start;
	margin-top: var(--nejat-gap-sm);
}

.nejat-locations__cta::before {
	content: '';
	position: absolute;
	inset: 0;
	background: #1a1a1a;
	border-radius: inherit;
	z-index: -1;
}

.nejat-locations__cta::after {
	content: '';
	position: absolute;
	left: 50%;
	top: 50%;
	width: 500px;
	height: 500px;
	background: #4ab3c8;
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(0);
	transition: transform 0.55s ease;
	pointer-events: none;
	z-index: -1;
	will-change: transform;
}

.nejat-locations__cta:hover::after {
	transform: translate(-50%, -50%) scale(1);
}

.nejat-locations__cta:hover {
	color: #ffffff;
	text-decoration: none;
}

/* Tablet Layout */
@media (max-width: 1024px) {
	.nejat-locations__layout {
		grid-template-columns: 1fr;
		gap: var(--nejat-gap-md);
	}

	.nejat-locations__map-wrapper {
		position: relative;
		top: 0;
		order: 2;
	}

	.nejat-locations__content {
		order: 1;
	}

	.nejat-locations__map-embed {
		height: 400px;
	}
}

/* Mobile Layout */
@media (max-width: 768px) {
	.nejat-locations__headline {
		font-size: clamp(24px, 6vw, 32px);
	}

	.nejat-locations__card {
		padding: 20px;
	}

	.nejat-locations__card-body {
		grid-template-columns: 1fr;
		padding-left: 0;
		margin-top: 8px;
	}

	.nejat-locations__location-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}

	.nejat-locations__icon {
		width: 32px;
		height: 32px;
	}

	.nejat-locations__name {
		font-size: 18px;
	}

	.nejat-locations__map-embed {
		height: 300px;
	}

	.nejat-locations__cta {
		width: 100%;
		text-align: center;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	.nejat-locations__card {
		padding: 16px;
	}

	.nejat-locations__description {
		font-size: 15px;
	}

	.nejat-locations__contact-item {
		font-size: 13px;
	}
}
