.primary-menu {
	background-image: url(../img/back-pattern.gif);
	height: 118px;
	text-align: center;
}

.primary-menu .nav {
	background-repeat: no-repeat;
	background-position: center center;
	height: 116px;
	background-image: url(../img/decor.png);
}

.menu-trophymenu-container {
	display: inline-block;
	margin-top: 34px;
}

.dd-select {
	display: none;
	border: 0;
}

.nacked-menu {
    padding: 0 !important;
    margin-bottom: -1px;
    height: 118px;
}

.menu-header {
	height: 118px;
}

/* ========= MENU ========= */

ul .nav-menu a {
	transition-timing-function: none;
}

.nav-menu .menu-item .arrow {
	display: none;
}

.nav-menu .menu-item a::after {
	display: none;
}

.nav-menu li a {
	color: transparent;
	text-indent: 200%;
    white-space: nowrap;
    overflow: hidden;

	background-image: url(../img/menu1.png);
    height: 32px;
	background-position: 0 0;
}

.nav-menu li a:hover {
	background-position: 0 32px;
}

.nav-menu li:nth-child(1) a {
	width: 82px;
	background-image: url(../img/menu0.png); // main
}

.nav-menu li:nth-child(2) a {
	width: 89px;
	background-image: url(../img/menu5.png); // novosti
}

.nav-menu li:nth-child(3) a {
	width: 154px;
	background-image: url(../img/menu1.png); // trophy
}

.nav-menu li:nth-child(4) a {
	width: 86px;
	background-image: url(../img/menu2.png); // reytingi
}

.nav-menu li:nth-child(5) a {
	width: 199px;
	background-image: url(../img/menu3.png); // kak dobavit
}

.nav-menu li:nth-child(6) a {
	width: 227px;
	background-image: url(../img/menu4.png); // metodika
}

.nav-menu li:nth-child(7) a {
	width: 106px;
	background-image: url(../img/menu6.png); // kontakti
}

.nav-menu li.current_page_item a, .nav-menu li.current_page_parent a, .nav-menu li.current-menu-item a {
	background-position: 0 32px;
}

/* ========= ЕДИНЫЙ СТИЛЬ ТЕКСТА ДЛЯ ВСЕХ РАЗРЕШЕНИЙ ========= */

@media only screen and (max-width: 1199px) {
	.nav-menu li a {
		color: white !important;
		text-indent: 0 !important;
		white-space: nowrap;
		overflow: hidden;
		width: auto !important;
		
		/* Единый стиль текста */
		font-size: 12px !important;
		font-weight: 600 !important;
		font-family: Arial, Helvetica, sans-serif !important;
		text-decoration: none !important;
		text-transform: uppercase !important;
		letter-spacing: 0.5px !important;
		text-align: center !important;
		
		/* ФИКСИРОВАННАЯ ШИРИНА ДЛЯ ВСЕХ ПУНКТОВ */
		min-width: 120px !important;
		box-sizing: border-box !important;
		
		background-image: none !important;
		height: auto !important;
		line-height: 40px !important;
		padding: 0 10px !important;
		display: block !important;
		margin: 0 2px !important;
	}

	.nav-menu .menu-item {
		vertical-align: top;
		margin-top: 0;
		display: inline-block;
	}

	/* Сбрасываем все индивидуальные ширины */
	.nav-menu li:nth-child(1) a,
	.nav-menu li:nth-child(2) a,
	.nav-menu li:nth-child(3) a,
	.nav-menu li:nth-child(4) a,
	.nav-menu li:nth-child(5) a,
	.nav-menu li:nth-child(6) a,
	.nav-menu li:nth-child(7) a {
		background-image: none !important;
		width: auto !important;
	}

	.nav-menu li.current_page_item a, 
	.nav-menu li.current_page_parent a, 
	.nav-menu li.current-menu-item a,
	.nav-menu li.active a {
		background-position: initial !important;
		background-color: rgba(255, 255, 255, 0.15) !important;
		border-radius: 3px !important;
	}

	.nav-menu li a:hover {
		background-position: initial !important;
		background-color: rgba(255, 255, 255, 0.1) !important;
		border-radius: 3px !important;
	}
}

/* ========= MEDIA QUERIES ========= */

@media only screen and (max-width: 1200px) {
	.primary-menu .nav {
		background-size: 96%;
	}

	.menu-trophymenu-container {
		display: inline-block;
		margin-top: 38px;
	}
}

@media only screen and (max-width: 1198px) {
	/* Стили уже применены выше */
}

@media only screen and (max-width: 1024px) {
	#centerbox {
		margin-top: 0;
	}
}

@media only screen and (max-width: 991px) {
	/* Дополнительные корректировки для меньших экранов */
	.nav-menu li a {
		font-size: 11px !important;
		padding: 0 8px !important;
		line-height: 35px !important;
		/* Уменьшаем минимальную ширину для маленьких экранов */
		min-width: 100px !important;
		margin: 0 1px !important;
	}
}

@media only screen and (max-width: 768px) {
	.primary-menu {
		height: auto;
	}

	.dd-select {
		display: block;
	}

	.menu-trophymenu-container {
		margin-top: 0;
		display: none;
	}

	.primary-menu .nav {
		background-repeat: no-repeat;
		background-position: center center;
		height: auto;
		background-image: none;
	}

	#wrapper .dd-container .dd-selected-text {
		background-color: #464646;
		/* Единый стиль для мобильного меню */
		font-size: 12px !important;
		font-weight: 600 !important;
		font-family: Arial, Helvetica, sans-serif !important;
		text-transform: uppercase !important;
		letter-spacing: 0.5px !important;
		color: white !important;
	}

	ul.dd-options li {
		background-color: #464646;
		/* Единый стиль для пунктов выпадающего меню */
		font-size: 12px !important;
		font-family: Arial, Helvetica, sans-serif !important;
		color: white !important;
	}

	.nacked-menu, .menu-header {
		height: 70px;
	}
}