@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.ltd-recruitment-wrapper {
	font-family: 'Inter', system-ui, -apple-system, sans-serif;
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px 0;
	color: #333;
}

.ltd-main-title {
	text-align: center;
	color: rgb(17, 4, 122); /* Màu chủ đạo */
	text-transform: uppercase;
	font-weight: 800;
	font-size: 28px;
	letter-spacing: 0.5px;
	margin-bottom: 40px;
	position: relative;
	display: inline-block;
	left: 50%;
	transform: translateX(-50%);
}

.ltd-main-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 3px;
	background: rgb(17, 4, 122);
	border-radius: 4px;
}

.ltd-recruitment-container {
	display: flex;
	flex-wrap: wrap;
	gap: 40px;
	align-items: flex-start;
}

/* Sidebar - Left Column */
.ltd-sidebar {
	width: 100%;
	max-width: 280px;
}

.ltd-sidebar-inner {
	background: #fffafa; /* Màu nền hơi hồng phấn nhạt giống bản gốc */
	padding: 20px 25px;
	border-radius: 12px;
	border: 1px solid #f2ecec;
	position: sticky;
	top: 20px;
}

.ltd-sidebar-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 25px;
	margin-top: 0;
	color: rgb(17, 4, 122);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ltd-sidebar-title svg {
	stroke-width: 2.5;
}

.ltd-department-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ltd-department-list li {
	margin-bottom: 5px;
}

.ltd-department-list li a {
	text-decoration: none;
	color: #444;
	display: block;
	padding: 8px 12px;
	border-radius: 4px;
	transition: background-color 0.2s ease, color 0.2s ease;
	font-size: 15px;
	font-weight: 500;
}

.ltd-department-list li a:hover {
	background: rgba(17, 4, 122, 0.05);
	color: rgb(17, 4, 122);
}

.ltd-department-list li.active > a {
	background: rgb(17, 4, 122);
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(17, 4, 122, 0.2);
}

/* Sub-categories styling */
.ltd-term-children {
	list-style: none;
	padding-left: 15px;
	margin-top: 5px;
	margin-bottom: 10px;
	border-left: 2px solid rgba(17, 4, 122, 0.1);
	margin-left: 15px;
}

.ltd-term-children li {
	margin-bottom: 2px;
}

.ltd-term-children li:last-child {
	margin-bottom: 0;
}

.ltd-term-children li a {
	font-size: 14px;
	color: #666;
	padding: 8px 12px;
	font-weight: 400;
}

.ltd-term-children li.active > a {
	color: rgb(17, 4, 122);
	background: transparent;
	font-weight: 600;
	box-shadow: none;
}

.ltd-term-children li.active > a::before {
	content: '';
	position: absolute;
	left: -17px;
	top: 50%;
	transform: translateY(-50%);
	width: 2px;
	height: 100%;
	background: rgb(17, 4, 122);
}

/* Content - Right Column */
.ltd-content {
	flex: 1;
	min-width: 300px;
}

.ltd-job-card {
	background: #ffffff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 25px 30px;
	margin-bottom: 25px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.04);
	position: relative;
	transition: box-shadow 0.2s ease;
}

.ltd-job-card:hover {
	box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.ltd-job-header {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.ltd-job-title {
	margin: 0;
	color: rgb(17, 4, 122);
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.4;
}

.ltd-job-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ltd-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	background: rgba(17, 4, 122, 0.04);
	padding: 6px 14px;
	border-radius: 30px;
	font-size: 13.5px;
	font-weight: 500;
	color: #555;
	border: 1px solid rgba(17, 4, 122, 0.05);
}

.ltd-meta-item svg {
	color: rgb(17, 4, 122);
}

.ltd-job-action {
	margin-top: 10px;
}

.ltd-view-detail {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: rgb(17, 4, 122);
	background: rgba(17, 4, 122, 0.05);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	padding: 10px 24px;
	border-radius: 8px;
	transition: all 0.3s ease;
	border: 1px solid transparent;
}

.ltd-view-detail:hover {
	background: rgb(17, 4, 122);
	color: #ffffff;
	box-shadow: 0 4px 15px rgba(17, 4, 122, 0.3);
}

.ltd-job-full-content {
	margin-top: 25px;
	padding-top: 25px;
	border-top: 1px dashed rgba(0, 0, 0, 0.1);
	font-size: 15px;
	color: #444;
	line-height: 1.7;
	animation: fadeIn 0.4s ease;
}

.ltd-job-full-content h1, 
.ltd-job-full-content h2, 
.ltd-job-full-content h3 {
	color: rgb(17, 4, 122);
	margin-top: 0;
}

.ltd-job-full-content ul, 
.ltd-job-full-content ol {
	padding-left: 20px;
}

.ltd-job-full-content li {
	margin-bottom: 8px;
}

.ltd-jobs-loading {
	opacity: 0.4;
	pointer-events: none;
	filter: blur(2px);
	transition: all 0.3s ease;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
	.ltd-recruitment-container {
		flex-direction: column;
	}
	.ltd-sidebar {
		max-width: 100%;
		position: static;
	}
	.ltd-job-card {
		padding: 20px;
	}
}
