/* ITX Professional Section - Redesign */
/* Orange color scheme inspired by modern design */

:root {
	--itx-prof-orange: #F7A600;
	--itx-prof-orange-hover: #E69500;
	--itx-prof-text-dark: #1e293b;
	--itx-prof-text-muted: #64748b;
	--itx-prof-bg-light: #ffffff;
	--itx-prof-border: #e2e8f0;
	--itx-prof-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	--itx-prof-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.itx-professional-section {
	background: var(--itx-prof-bg-light);
	padding: 40px 20px;
	margin: 40px 0;
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Header */
.itx-professional-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--itx-prof-border);
}

.itx-professional-title {
	font-size: 28px;
	font-weight: 700;
	color: var(--itx-prof-text-dark);
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Navigation Buttons */
.itx-professional-nav {
	display: flex;
	gap: 10px;
}

.itx-nav-btn {
	background: var(--itx-prof-orange);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	white-space: nowrap;
	min-width: 120px;
}

.itx-nav-btn:hover {
	background: var(--itx-prof-orange-hover);
	transform: translateY(-2px);
	box-shadow: var(--itx-prof-shadow);
}

.itx-nav-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
	transform: none;
}

/* Content Container */
.itx-professional-content {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

/* Left Column: Articles List */
.itx-professional-list-col {
	flex: 1;
	min-width: 300px;
}

.itx-professional-list-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--itx-prof-text-dark);
	margin: 0 0 20px 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.itx-professional-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.itx-professional-list-item {
	position: relative;
	padding: 20px 0 20px 40px;
	border-bottom: 1px solid var(--itx-prof-border);
	transition: background-color 0.3s ease;
}

.itx-professional-list-item:last-child {
	border-bottom: none;
}

.itx-professional-list-item:hover {
	background: #f8f9fa;
}

/* Orange vertical line - всегда на месте, резервируем пространство */
.itx-professional-list-line {
	position: absolute;
	left: 0;
	top: 20px;
	bottom: 20px;
	width: 4px;
	background: transparent;
	border-radius: 2px;
	transition: background-color 0.3s ease;
}

.itx-professional-list-item:hover .itx-professional-list-line {
	background: var(--itx-prof-orange);
}

.itx-professional-list-link {
	display: block;
	text-decoration: none;
	color: var(--itx-prof-text-dark);
	transition: opacity 0.3s ease;
}

.itx-professional-list-item:hover .itx-professional-list-link {
	opacity: 0.8;
}

.itx-professional-list-content {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.itx-professional-list-title-wrapper {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 4px;
}

.itx-professional-list-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	flex: 1;
}

.itx-professional-list-arrow {
	color: var(--itx-prof-orange);
	font-size: 18px;
	font-weight: 700;
	flex-shrink: 0;
	line-height: 1.2;
	margin-top: 2px;
}

.itx-professional-list-excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: var(--itx-prof-text-muted);
	margin: 0;
}

.itx-professional-list-date {
	font-size: 12px;
	color: var(--itx-prof-text-muted);
	font-weight: 500;
}

/* View All Articles Button */
.itx-professional-view-all {
	display: inline-block;
	margin-top: 20px;
	color: var(--itx-prof-orange);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.3s ease;
}

.itx-professional-view-all:hover {
	color: var(--itx-prof-orange-hover);
	transform: translateX(5px);
}

/* Right Column: Featured Card */
.itx-professional-featured-col {
	flex: 1.5;
	min-width: 400px;
}

.itx-professional-featured-card {
	background: var(--itx-prof-bg-light);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--itx-prof-shadow);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.itx-professional-featured-card:hover {
	box-shadow: var(--itx-prof-shadow-hover);
	transform: translateY(-5px);
}

.itx-professional-featured-image {
	width: 100%;
	height: 300px;
	overflow: hidden;
	background: #f0f0f0;
}

.itx-professional-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.itx-professional-featured-card:hover .itx-professional-featured-image img {
	transform: scale(1.05);
}

.itx-professional-featured-content {
	padding: 30px;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.itx-professional-featured-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
}

.itx-professional-featured-title a {
	color: var(--itx-prof-orange);
	text-decoration: none;
	transition: color 0.3s ease;
}

.itx-professional-featured-title a:hover {
	color: var(--itx-prof-orange-hover);
}

.itx-professional-featured-excerpt {
	font-size: 15px;
	line-height: 1.6;
	color: var(--itx-prof-text-muted);
	margin: 0;
}

.itx-professional-featured-meta {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 13px;
	color: var(--itx-prof-text-muted);
}

.itx-professional-featured-date {
	font-weight: 500;
}

.itx-professional-featured-btn {
	display: inline-block;
	background: var(--itx-prof-orange);
	color: #ffffff;
	padding: 12px 24px;
	border-radius: 8px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	transition: all 0.3s ease;
	margin-top: 10px;
	align-self: flex-start;
}

.itx-professional-featured-btn:hover {
	background: var(--itx-prof-orange-hover);
	transform: translateY(-2px);
	box-shadow: var(--itx-prof-shadow);
	color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
	.itx-professional-content {
		flex-direction: column;
		gap: 20px;
	}

	.itx-professional-list-col {
		width: 100%;
	}

	.itx-professional-featured-col {
		width: 100%;
		min-width: auto;
	}

	.itx-professional-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
	}

	.itx-professional-nav {
		width: 100%;
		justify-content: space-between;
	}

	.itx-nav-btn {
		flex: 1;
		text-align: center;
	}

	.itx-professional-featured-image {
		height: 200px;
	}

	.itx-professional-featured-content {
		padding: 20px;
	}

	.itx-professional-featured-title {
		font-size: 20px;
	}
}
