/* ----------------------------------------------------------------
	Canvas: eBook
-----------------------------------------------------------------*/
.entry-meta i {
	width: 20px;
	height: 20px;
}
#logo img {
    max-height: 55px !important;
    height: auto;
    width: auto;
}

/* WB button default */
a.button.wb-button {
	background-color: #6F2DBD !important; /* Wildberries */
	border-color: #6F2DBD !important;
	color: #fff !important;
	transition: background-color .25s ease, border-color .25s ease;
}

/* Hover — цвет темы сайта */
a.button.wb-button:hover {
	background-color: #F44336 !important;
	border-color: #F44336 !important;
	color: #fff !important;
}

/* Иконка и текст */
a.button.wb-button i,
a.button.wb-button strong {
	color: #fff !important;
}


#logo a {
	font-size: 2.5rem;
	line-height: 1;
	color: var(--cnvs-contrast-1000);
}

:root,
		.not-dark {
			--cnvs-themecolor: #F44336; /* Черный основной цвет */
			--cnvs-themecolor-rgb: 244, 67, 54; /* Красный RGB для hover */
			--cnvs-side-header-bg: var(--cnvs-themecolor);
		}

		.menu-item .menu-link:hover {
			color: #F44336 !important; /* Красный цвет при наведении */
		}

		/* Стили для кнопок */
		.button:hover {
			background-color: #F44336 !important; /* Красный фон при наведении */
			color: #FFFFFF !important; /* Белый текст при наведении */
			border-color: #F44336 !important; /* Красная рамка */
		}
		
		a:hover {
        color: #212529; /* Меняет цвет на ЧЕРНЫЙ */
        /* transform: scale(1.1); /* Увеличивает размер */ */
		}
		
 
/*Изменение цвета полосы прокрутки*/
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #F44336;
    border-radius: 10px;
}

#header.shadow-none.border-0.dark {
    background-color: #212529 !important;
}
p {
    color: #000000 !important; /* Весь текст в <p> черный */
}
.d-grid {
			display: grid;
			width: 100%;
			margin: 0 auto;
			padding: 10vh 0;
			max-width: 1050px;
		    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
		    grid-auto-rows: 200px;
			grid-gap: 2rem;
			justify-content: center;
			list-style: none;
		}

		.d-grid-item {
			width: 100%;
			height: 100%;
			margin: 0;
			padding: 0;
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;
			position: relative;
			background: #FBFBFB;
		}

		/* отключить все data-delay в мобильной и планшетной версии */
@media (max-width: 1024px) {
  [data-delay] {
    animation-delay: 0s !important;
    transition-delay: 0s !important;
  }
}

@media (min-width: 768px) {
	html,
	body {
		height: auto !important;
		width: auto !important;
		overflow-y: visible !important;
	}

	.blocks-panel {
		position: static !important;
		height: auto !important;
		max-height: none !important;
		overflow-y: visible !important;
	}
}
#page-menu {
  --cnvs-page-submenu-sticky-offset: 55px !important;
}
@media (max-width: 1139px) {
  .counter-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media (max-width: 991px) {
  #logo img {
    transform: scale(0.8);
    transform-origin: left center;
  }
}

#header {
  --cnvs-primary-menu-font-size: 0.925rem;
}
.shadow-ts.lazy {
  transition: opacity .35s ease, box-shadow .25s ease, transform .25s ease !important;
}

.card-hover-red:hover .more-link,
.card-hover-red:hover .more-link i{
  color:#F44336 !important;
}

.card-hover-red:hover .more-link{
  border-color:#F44336 !important;
}

@media (min-width: 768px) {
  .page-title .page-title-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .page-title .page-title-content {
    width: 100%;
    text-align: center;
  }

  .page-title .page-title-content h1 {
    margin-bottom: 0;
  }

  .page-title .page-title-row > nav[aria-label="breadcrumb"] {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .page-title .breadcrumb {
    margin: 0;
    justify-content: center;
  }
}