.trigger-btn {
	padding: 12px 24px;
	background-color: #333;
	color: white;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	font-size: 16px;
}

/* --- MODAL STYLES --- */

.modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000;

	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
}

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

.modal-container {
	background-color: #ffffff;
	width: 90%;
	max-width: 900px;
	border-top-right-radius: 0.5rem;
	border-top-left-radius: 0.5rem;
	display: flex;
	flex-direction: row;
	position: relative;
	overflow: hidden;
	box-shadow: 0 15px 30px rgba(0,0,0,0.2);
	transform: translateY(20px);
	transition: transform 0.3s ease;
	max-height: 90vh;
}

.modal-overlay.active .modal-container {
	transform: translateY(0);
}

.close-btn {
	position: absolute;
	top: 20px;
	right: 20px;
	background: none;
	border: none;
	cursor: pointer;
	color: #555;
	z-index: 10;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.2s;
}

.close-btn svg {
	width: 24px;
	height: 24px;
}

.close-btn:hover {
	color: #000;
}

.modal-image {
	flex: 1;
	min-width: 50%;
}

.modal-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.modal-content {
	flex: 1;
	padding: 2rem;
	overflow-y: auto;
}

.tags-wrapper {
	display: flex;
	align-items: center;
	margin-bottom: 24px;
	margin-top: 10px;
}

.tag {
	background-color: #bdf09e;
	color: #2b5916;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 6px;
}

.title-modal {
	font-family: Lexend, sans-serif;
	font-weight: 500;
	font-size: clamp(1rem, 0.8043rem + 0.8696vw, 1.5rem);
}

.description-modal {
	font-family: Lexend, sans-serif;
	font-weight: 300;
	font-size: clamp(0.75rem, 0.6522rem + 0.4348vw, 1rem);
}

.tag-line {
	width: 20px;
	height: 2px;
	background-color: #bdf09e;
}

.modal-content ul {
	padding-left: 20px;
}

@media screen and (max-width: 768px) {
	.modal-container {
		flex-direction: column;
		max-width: 450px;
	}

	.modal-image {
		min-width: 100%;
		height: 250px;
	}

	.close-btn {
		color: #fff;
		background-color: rgba(0,0,0,0.3);
		border-radius: 50%;
		top: 15px;
		right: 15px;
		padding: 6px;
	}

	.close-btn:hover {
		color: #fff;
		background-color: rgba(0,0,0,0.6);
	}
}
