/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: A plain-vanilla &amp; lightweight theme for Elementor page builder
Tags: flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 2.5.0.1646860834
Updated: 2022-03-09 13:20:34

*/

.project-nav {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	margin-top: 4rem;
	padding-top: 2rem;
	border-top: 1px solid #eee;
	gap: 1rem;
}

.project-nav-link {
	display: flex;
	align-items: center;
	/*width: 50%;*/
	max-width: 48%;
	text-decoration: none;
	color: rgb(49, 81, 142); /* Blue */
	font-weight: bold;
	font-size: 1.1rem;
	line-height: 1.4;
	transition: color 0.2s ease;
	word-break: break-word;
	overflow-wrap: break-word;
	position: relative;
}

.project-nav-link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: currentColor;
	transition: width 0.3s ease;
}

.project-nav-link:hover::after {
	width: 100%;
}

.project-nav-link:hover {
	color: #cc6600; /* Orange on hover */
}

.project-nav-link.prev {
	justify-content: flex-start;
	text-align: left;
}

.project-nav-link.next {
	justify-content: flex-end;
	text-align: right;
}

.project-nav-link .icon {
	color: black;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.project-nav-link.prev .icon {
	margin-right: 0.5rem;
}

.project-nav-link.next .icon {
	margin-left: 0.5rem;
}

.project-nav-placeholder {
	width: 50%;
	max-width: 50%;
}

/* 🔁 Mobile Responsive: Stack nav vertically on small screens */
@media (max-width: 768px) {
	.project-nav {
		flex-direction: column;
		align-items: stretch;
	}

	.project-nav-link,
	.project-nav-placeholder {
		width: 100%;
		max-width: 100%;
		text-align: center !important;
		justify-content: center !important;
	}
}