/* ── Overlay ── */

.aah-modal-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	padding: 24px;
}

.aah-modal-overlay.aah-active {
	opacity: 1;
	visibility: visible;
}

/* ── Modal Card ── */
.aah-modal-contact a {
    color: #ED1C27;
}

.aah-modal {
	background: #fff;
	border-radius: 16px;
	width: 100%;
	max-width: 800px;
	max-height: 85vh;
	overflow-y: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	transform: translateY(20px) scale(0.97);
	transition: transform 0.3s ease;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	position: relative;
}

.aah-modal::-webkit-scrollbar {
	display: none;
}

.aah-modal-overlay.aah-active .aah-modal {
	transform: translateY(0) scale(1);
}

/* ── Close Button ── */

.aah-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	border: none;
	background: none;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	font-size: 36px;
	color: red !important;
}

.aah-modal-close:hover {
	opacity: 0.7;
}

/* ── Modal Header: image left + info right ── */

.aah-modal-header {
	display: flex;
	gap: 24px;
	padding: 32px 48px 32px 32px;
	position: relative;
}

.aah-modal-photo {
	width: 224px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}

.aah-modal-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.aah-modal-name {
	margin: 0 0 4px;
	font-size: 1.4em;
	font-style: italic;
	color: #c0392b;
}

.aah-modal-title {
	margin: 0 0 16px;
	font-size: 0.95em;
	line-height: 1.4;
	color: #333;
}

.aah-modal-contact {
	margin: 0;
	font-size: 0.9em;
	line-height: 1.6;
}

/* ── Modal Body: gray card ── */

.aah-modal-body {
	background: #f0f0f0;
	margin: 0 24px 24px;
	border-radius: 12px;
	padding: 28px 28px 32px;
}

.aah-modal-body-title {
	margin: 0 0 12px;
	font-size: 1.1em;
	color: #c0392b;
}

.aah-modal-body p {
	margin: 0 0 16px;
	line-height: 1.7;
	font-size: 0.92em;
	color: #333;
}

.aah-modal-body p:last-child {
	margin-bottom: 0;
}

.aah-modal-body ul {
	margin: 0;
	padding-left: 20px;
	list-style: disc;
}

.aah-modal-body ul li {
	font-size: 0.92em;
	line-height: 1.7;
	color: #333;
}

/* ── Responsive ── */

@media (max-width: 600px) {
	.aah-modal-header {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 24px 20px 20px;
	}

	.aah-modal-photo {
		width: 140px;
		height: 160px;
	}

	.aah-modal-body {
		margin: 0 16px 16px;
		padding: 20px;
	}

	.aah-modal {
		max-width: 100%;
		border-radius: 12px;
	}
}

.aah-modal-body {
    text-align: justify;
    hyphens: auto;
}
