/* =============================================================================
   ITX INDICATORS MODERN - Новый дизайн блока индикаторов
   ============================================================================= */

/* Основная секция */
.itx-indicators-modern-section {
	max-width: 1200px;
	margin: 55px auto 0;
	padding: 0 15px;
}

/* Заголовок с навигацией */
.itx-indicators-header {
	position: relative;
	margin-bottom: 25px;
}

.itx-indicators-title {
	font-size: 28px;
	font-weight: 700;
	margin: 0;
	color: #222;
}

.itx-indicators-nav-wrapper {
	display: flex;
	align-items: center;
	gap: 15px;
}

.itx-indicators-all-link {
	background: #F7A600;
	color: #fff;
	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;
	box-shadow: 0 2px 8px rgba(247, 166, 0, 0.2);
}

.itx-indicators-all-link:hover {
	background: #E69500;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(247, 166, 0, 0.3);
	color: #fff;
}

/* Основной контент */
.itx-indicators-content {
	display: flex;
	gap: 30px;
	margin-bottom: 30px;
}

/* Боковая панель с категориями */
.itx-indicators-sidebar {
	flex: 0 0 250px;
}

.itx-indicators-categories-box {
	background: #fff;
	border-radius: 8px;
	padding: 20px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.itx-indicators-categories-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 15px 0;
	color: #222;
}

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

.itx-indicators-category-item {
	margin-bottom: 4px;
}

.itx-indicators-category-link {
	display: block;
	padding: 10px 15px;
	color: #222;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.3s ease;
	font-size: 14px;
}

.itx-indicators-category-item:not(.active) .itx-indicators-category-link:hover {
	background-color: #f2f2f2;
}

.itx-indicators-category-item.active .itx-indicators-category-link {
	background-color: #F7A600;
	color: #fff;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(247, 166, 0, 0.2);
}

/* Основная область с карточками */
.itx-indicators-main {
	flex: 1;
}

.itx-indicators-cards-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

/* Карточка индикатора */
.itx-indicator-card {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

.itx-indicator-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.itx-indicator-card-image {
	width: 100%;
	height: 160px;
	overflow: hidden;
	background: #f5f5f5;
}

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

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

.itx-indicator-card-content {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.itx-indicator-card-title {
	margin: 0 0 12px 0;
	font-size: 16px;
	line-height: 1.4;
	font-weight: 700;
}

.itx-indicator-card-title a {
	color: #222;
	text-decoration: none;
	transition: color 0.3s ease;
}

.itx-indicator-card-title a:hover {
	color: #146eb3;
}

.itx-indicator-card-description {
	margin: 0 0 15px 0;
	font-size: 14px;
	line-height: 1.5;
	color: #666;
	flex: 1;
}

.itx-indicator-card-btn {
	display: inline-block;
	padding: 10px 20px;
	background: #F7A600;
	color: #fff;
	text-decoration: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-align: center;
	transition: all 0.3s ease;
	margin-top: auto;
	box-shadow: 0 2px 8px rgba(247, 166, 0, 0.2);
}

.itx-indicator-card-btn:hover {
	background: #E69500;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(247, 166, 0, 0.3);
}


/* Адаптивность */
@media (max-width: 1024px) {
	.itx-indicators-cards-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.itx-indicators-sidebar {
		flex: 0 0 200px;
	}
}

@media (max-width: 768px) {
	.itx-indicators-content {
		flex-direction: column;
	}
	
	.itx-indicators-sidebar {
		flex: 1;
	}
	
	.itx-indicators-cards-grid {
		grid-template-columns: 1fr;
	}
	
}

@media (max-width: 480px) {
	.itx-indicators-modern-section {
		padding: 0 10px;
	}
	
	.itx-indicators-title {
		font-size: 24px;
	}
	
	.itx-indicator-card-image {
		height: 140px;
	}
}

