/* ------------------------------------------------------------- */
/* КАРТОЧКА - КАТЕГОРИЯ С ИКОНКОЙ, ЗАГОЛОВКОМ, ОПИСАНИЕМ И ФОНОМ */
/* ------------------------------------------------------------- */

/* Добавить в начало ярлыка:

cat-icon-title-text-card-

*/

/* ----------------- */
/* БЫСТРЫЕ НАСТРОЙКИ */
/* ----------------- */

/* Анимация карточки при наведении - ТЕНЬ */

.folders-row .col-lg-3 > a[href*="wpm-category/cat-icon-title-text-card-"][class*="folder-wrap"]:hover {
	filter: drop-shadow(6px 12px 8px var(--shadow-color-cat-icon-title-text-card));
	-webkit-filter: drop-shadow(6px 12px 8px var(--shadow-color-cat-icon-title-text-card));
}

/* Убираем рамку - ТЕНЬ вокруг карточки */

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"][class*="folder-wrap"] {
	border: none;
	box-shadow: none;
	border-radius: 0;
	background: var(--color-bg-cat-icon-title-text-card);
	border-radius: var(--radius-cat-icon-title-text-card);
	/* временный фон карточки */
    /* background: aqua;  */
}

/* Убираем все индикаторы */

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-content .bottom-icons {
	display: none!important;
}

/* Переносим карточку КАТЕГОРИЯ на новую строку */

.col-lg-3:has(a[href*="wpm-category/cat-icon-title-text-card-"][class*="folder-wrap"]) {
	display: block!important;
	width: 100%!important;
	z-index: 498!important;
}

/* ------------------------ */
/* Внешние отступы карточки */
/* ------------------------ */

.col-lg-3:has(a[href*="wpm-category/cat-icon-title-text-card-"][class*="folder-wrap"]) {
    margin-bottom: 60px;
	margin-top: 30px;
}

/* ВЫСОТА карточки на разных экранах */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"][class*="folder-wrap"] {
    height: 275px!important;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"][class*="folder-wrap"] {
	height: 275px!important;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"][class*="folder-wrap"] {
	height: 273px!important;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"][class*="folder-wrap"] {
	height: 260px!important;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"][class*="folder-wrap"] {
	height: 180px!important;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"][class*="folder-wrap"] {
	height: 180px!important;
}
}

/* ------------------- */
/* ИЗОБРАЖЕНИЕ ОБЛОЖКИ */
/* ------------------- */

/* Убираем обрезку обложки */

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-front,
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-sub-front {
	z-index: 10;
	width: 100%!important;
	border-radius: 0!important;
	clip-path: none!important;
	-webkit-clip-path: none!important;
	/* исправляем глюк с закруглением (для clip-path) для Сафари */
	transform: translateZ(0);
    will-change: transform;
	top: 0;
	background: none;
}

/* Убираем коррекцию обложки */
	
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-front path[id*="shape-front"],
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-sub-front path[id*="shape-front"] {
	transform: none;
}

/* Убираем коррекцию стилей от Mozilla Firefox */

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-front use[fill^="url"],
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-sub-front use[fill^="url"] {
	transform: none;
}

/* --------------- */
/* ЭФФЕКТЫ ОБЛОЖКИ */
/* --------------- */

/* Тонировка обложки */
/* Берётся от классической карточки */

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-sub-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-front pattern image {
	/* эффекты */
	filter: none;
	-webkit-filter: none;
}

/* Осветление и Яркость - при наведении */
/* Берётся от классической карточки */

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"]:hover .folder-sub-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"]:hover .folder-front pattern image {
	/* эффекты */
	filter: none;
	-webkit-filter: none;
}

/* ----------------------------------------- */
/* Фоновая картинка ИКОНКА на разных экранах */
/* ----------------------------------------- */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-sub-front  pattern image

{
    transform: translate(124px, 80px);
    width: 22px;
    height: 22px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-sub-front  pattern image

{
	transform: translate(122px, 77px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-sub-front  pattern image

{
	transform: translate(122px, 71px);
    width: 25px;
    height: 25px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-sub-front  pattern image

{
	transform: translate(122px, 65px);
    width: 26px;
    height: 26px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-sub-front  pattern image

{
	transform: translate(115px, 54px);
    width: 41px;
    height: 41px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-front pattern image,
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-sub-front  pattern image

{
	transform: translate(115px, 57px);
    width: 41px;
    height: 41px;
}
}

/* ----------------------------- */
/* Превращаем СТИКЕР в ЗАГОЛОВОК */

/* Общие настройки */

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .label {
	background: none!important;
	color: var(--color-title-cat-icon-title-text-card)!important;
	border-radius: 0;
	font-weight: bold;
	font-size: 40px;
	width: 100%!important;
	max-width: none;
	left: 0px;
    text-align: center;
    right: 0;
    margin: 0 auto;
	text-transform: none;
	padding: 6px 20px 15px 20px;
	line-height: 1.9rem;
	/* overflow: visible; */
}

/* Размер заголовка на мобильных */

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .label {   
	font-size: 25px;
	line-height: .9;
    overflow: hidden;
    text-overflow: ellipsis;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .label {   
	font-size: 25px;
	line-height: .9;
    overflow: hidden;
    text-overflow: ellipsis;
}
}

/* ПОЛОЖЕНИЕ ЗАГОЛОВКА на разных экранах на Страницах и в Активации */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .label {
	top: 155px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .label {
	top: 155px;

}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .label {
	top: 136px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .label {
    top: 121px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .label {
	top: 90px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .label {
    top: 92px;
}
}

/* ------------------- */
/* СОДЕРЖАНИЕ КАРТОЧКИ */

/* Общие настройки блока содержания */

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content {
	width: 100%!important;
	border-radius: 0px 0px 35px 35px;
	background: none;
}

/* --------------------------- */
/* БЛОК СОДЕРЖАНИЯ КАРТОЧКИ */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content {
	bottom: 12px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content {
    bottom: 16px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content {
	bottom: 12px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content {
	bottom: 12px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content {
	bottom: 21px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content {
	bottom: 21px;
}
}

/* Высота и закругление блока с описанием карточки */

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content .title {
	background: none!important;
	color: var(--color-main-text-cat-icon-title-text-card)!important;
    text-align: center;
	margin: 0;
	border: none;
	font-size: 20px;
	line-height: 1.1;
	max-height: none;
    text-wrap: wrap;
	white-space: pre-wrap;
	width: 100%;
	/* text-overflow: ellipsis; */
	/* overflow: visible; */
}

/* Запрещаем скрывать текст */

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content .title .js-shave {
	display: inline!important;
    position: relative;
	top: 0px;
	color: var(--color-main-text-cat-icon-title-text-card)!important;
}

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content .title .js-shave-char {
	display: none;
}

/* Описание карточки на разных экранах на Страницах и в Активации */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content .title {
	height: 64px;
    padding: 10px 178px 0px 178px !important;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content .title {
	height: 60px;
    padding: 10px 90px 0px 90px !important;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content .title {
	height: 80px;
    padding: 10px 60px 0px 60px !important;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content .title{
	height: 85px;
    padding: 10px 30px 0px 30px !important;
}
}

/* Описание на мобильных */

@media (min-width: 320px) and (max-width: 767px) {
	
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] .folder-content .title {
	font-size: 17px;
    padding: 6px 15px!important;
	text-wrap: nowrap;
    overflow: hidden;
}
}

/* Убираем раскрытие всего описания при наведении на мобильных */

@media (min-width: 320px) and (max-width: 767px) {
	
.folders-row a[href*="wpm-category/cat-icon-title-text-card-"]:hover .folder-content .title {
    text-wrap: nowrap;
	white-space: nowrap;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content .title {
	/* height: 80px; */
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/cat-icon-title-text-card-"] > .folder-content .title {
	/* height: 80px; */
}
}

/* ИКОНКА возле описания */

.folders-row .col-xs-12 > a[href*="wpm-category/cat-icon-title-text-card-"] .folder-content .title:before {
	display: none;
}