/* -------------------------- */
/* КАРТОЧКА В СТИЛЕ - ЛЕНДИНГ */
/* -------------------------- */

/* Добавить в начало ярлыка:

landing-card-

*/

/* ----------------- */
/* БЫСТРЫЕ НАСТРОЙКИ */
/* ----------------- */

:root {
	
	/* Текст кнопки */
	/* ВАЖНО! Измените текст только между кавычками '' */
	--text-button-landing-card: 'Узнать подробнее';
	
	/* 1. Закругление верхней части карточки */
	--radius-top-landing-card: 25px;

	/* 2. Закругление нижней части карточки */
	--radius-bottom-landing-card: 25px;
	
	/* 3. Цвет кнопки */
	--color-bg-button-landing-card: #2E7EEE;
	
	/* 4. Цвет кнопки при наведении */
	--color-bg-button-hover-landing-card: #3083F8;
	
	/* 5. Цвет текста кнопки */
	--color-bg-button-text-landing-card: #ffffff;

	/* 6. Цвет иконки в описании */
	--color-icon-landing-card: #2E7EEE;
	
}

/* 1. Раскомментировать, чтобы убрать ИКОНКУ у названия карточки */

a[href*="wpm-category/landing-card-"] > .folder-content .title:before {
    /* 
	content: ""!important;
    margin: 0!important; 
	*/
}

/* 2. Скрыть СТИКЕР при наведении на карточку */

a[href*="wpm-category/landing-card-"]:hover .label {
	/* display: none; */
}

/* 3. Раскомментировать, чтобы отключить ТЕНЬ при наведении на карточку */

.folders-row .col-lg-3 > a[href*="wpm-category/landing-card-"][class*="folder-wrap"]:hover {
	/* filter: none; */
}

/* 4. Раскомментировать, чтобы сделать текст СТИКЕРА жирным */

a[href*="wpm-category/landing-card-"] .label {
    /* font-weight: bold; */
}

/* ------------------------- */
/* 1. БЛОК - ССЫЛКА КАРТОЧКИ */

/* Убираем рамку - ТЕНЬ вокруг карточки */

.folders-row a[href*="wpm-category/landing-card-"][class*="folder-wrap"] {
	border: none;
	box-shadow: none;
}

/* Общие настройки блока карточки */

.folders-row .col-lg-3:has(a[href*="wpm-category/landing-card-"][class*="folder-wrap"]) {
	display: block!important;
	z-index: 501!important;
	/* 3 карточки в ряду на больших экранах */
    width: calc(100%/3)!important;
}

/* 2 карточки в ряду на средних экранах */

@media (min-width: 768px) and (max-width: 991px) {

.folders-row .col-lg-3:has(a[href*="wpm-category/landing-card-"][class*="folder-wrap"]) {
	width: calc(100%/2)!important;
}
}

/* 1 карточка в ряду на мобильных */

@media (min-width: 320px) and (max-width: 767px) {

.folders-row .col-lg-3:has(a[href*="wpm-category/landing-card-"][class*="folder-wrap"]) {
	width: 100%!important;
	/* Корректировка ширины карточки на узких экранах */
	padding-right: 0px;
    padding-left: 0px;
}
}

/* Высота карточки на разных экранах */

@media (min-width: 1400px) {

.folders-row a[href*="wpm-category/landing-card-"][class*="folder-wrap"] {
	height: 349px;
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

.folders-row a[href*="wpm-category/landing-card-"][class*="folder-wrap"] {
	height: 312px;
}
}

@media (min-width: 992px) and (max-width: 1199px) {

.folders-row a[href*="wpm-category/landing-card-"][class*="folder-wrap"] {
	height: 274px;
}
}

@media (min-width: 768px) and (max-width: 991px) {

.folders-row a[href*="wpm-category/landing-card-"][class*="folder-wrap"] {
    height: 303px;
}
}

@media (min-width: 460px) and (max-width: 767px) {

.folders-row a[href*="wpm-category/landing-card-"][class*="folder-wrap"] {
    height: 299px;
}
}

@media (min-width: 320px) and (max-width: 459px) {

.folders-row a[href*="wpm-category/landing-card-"][class*="folder-wrap"] {
	height: 312px;
}
}

/* --------------------- */
/* 2. СТИКЕР НА КАРТОЧКЕ */

a[href*="wpm-category/landing-card-"] .label {
    font-size: 17px;
    line-height: normal;
	top: calc(13px + var(--radius-top-landing-card)/6);
    right: calc(13px + var(--radius-top-landing-card)/4);
}

/* -------------------- */
/* 3. ОПИСАНИЕ КАРТОЧКИ */

/* ИКОНКА в описании */

.folders-row .col-xs-12 > a[href*="wpm-category/landing-card-"] > .folder-content .title:before {
	color: var(--color-icon-landing-card);
}

/* ---------- */
/* 4. ОБЛОЖКА */

/* Закругление обложки */

a[href*="wpm-category/landing-card-"] .folder-front, 
a[href*="wpm-category/landing-card-"] .folder-sub-front {
	border-radius: var(--radius-top-landing-card) var(--radius-top-landing-card) var(--radius-bottom-landing-card) var(--radius-bottom-landing-card);
	/* Убираем обрезку обложки */
	clip-path: none;
}

/* ---------------------------------------------------------- */
/* РАЗМЕР ОБЛОЖКИ на карточке с МАТЕРИАЛАМИ на разных экранах */

@media (min-width: 1400px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-front pattern image {
    width: 262px;
    transform: translate(4px, 16px);
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-front pattern image {
    width: 248px;
    transform: translate(11px, 16px);
}
}

@media (min-width: 992px) and (max-width: 1199px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-front pattern image {
    width: 230px;
    transform: translate(20px, 16px);
}
}

@media (min-width: 768px) and (max-width: 991px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-front pattern image {
    width: 244px;
    transform: translate(13px, 16px);
}
}

@media (min-width: 460px) and (max-width: 767px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-front pattern image {
    width: 244px;
    transform: translate(13px, 16px);
}
}	

@media (min-width: 320px) and (max-width: 459px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-front pattern image {
	width: 248px;
    transform: translate(11px, 16px);
}
}

/* --------------------------------------------------------- */
/* РАЗМЕР ОБЛОЖКИ на карточке с КАРТОЧКАМИ на разных экранах */

@media (min-width: 1400px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-sub-front  pattern image {
	width: 283px;
    transform: translate(21px, 51px);
}
}

@media (min-width: 1200px) and (max-width: 1399px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-sub-front  pattern image {
	width: 279px;
    transform: translate(23px, 47px);
}
}

@media (min-width: 992px) and (max-width: 1199px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-sub-front  pattern image {
	width: 262px;
    transform: translate(31px, 46px);
}
}

@media (min-width: 768px) and (max-width: 991px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-sub-front  pattern image {
	width: 276px;
    transform: translate(24px, 46px);
}
}

@media (min-width: 460px) and (max-width: 767px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-sub-front  pattern image {
    width: 274px;
    transform: translate(25px, 47px);
}
}	

@media (min-width: 320px) and (max-width: 459px) {

a[href*="wpm-category/landing-card-"][class*="folder-wrap"] .folder-sub-front  pattern image {
	width: 279px;
    transform: translate(23px, 47px);
}
}

/* ------------- */
/* 5. ИНДИКАТОРЫ */

/* Закругление нижней части карточки */

.folders-row .col-xs-12 a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons {
	border-radius: 0 0 var(--radius-bottom-landing-card) var(--radius-bottom-landing-card);
	padding-left: 10px!important;
    padding-right: 10px!important;
	display: block!important;
    height: auto;
}

/* Убираем Прогресс, Комментарии, Просмотры и Замок */

a[href*="wpm-category/landing-card-"] > .folder-content > .bottom-icons .course-progress-wrap,
a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .comments,
a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .views,
a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .status span
{
	display: none;
}

/* Правка иконки статуса, чтобы всё было ОК */

a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .status {
    padding-top: 0;
}

/* ------------------------------------- */
/* Создаём КНОПКУ возле СТАТУСА карточки */

/* Создаём КНОПКУ */

a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .status {
	margin-right: 5px!important;
}

a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .status::before

 {
	background: var(--color-bg-button-landing-card);
	content: var(--text-button-landing-card);
    color: var(--color-bg-button-text-landing-card);
    text-transform: uppercase;
    padding: 10px 15px;
    text-align: center;
    font-size: 17px;
    font-family: "PT Sans", sans-serif;
	border-radius: 10px;
    line-height: normal;
	display: block;
	position: relative;
    bottom: 11px;
}

/* Фон КНОПКИ при наведении */

a[href*="wpm-category/landing-card-"][class*="folder-unlock"] .folder-content .bottom-icons .status:hover::before {
    background: var(--color-bg-button-hover-landing-card);
}

/* Ширина КНОПКИ на разных экранах */

@media (min-width: 1400px) {

a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .status::before
	{
	width: 398px;
	}
}

@media (min-width: 1200px) and (max-width: 1399px) {

a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .status::before
	{
	width: 329px;
	}
}

@media (min-width: 992px) and (max-width: 1199px) {

a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .status::before
	{
	width: 261px;
	}
}

@media (min-width: 768px) and (max-width: 991px) {

a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .status::before
	{
	width: 314px;
	}
}

@media (min-width: 460px) and (max-width: 767px) {

a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .status::before
	{
	width: 309px;
	}
}

@media (min-width: 320px) and (max-width: 459px) {

a[href*="wpm-category/landing-card-"] .folder-content .bottom-icons .status::before
	{
	width: 328px;
	}
}

/* ----------- */
/* 6. АНИМАЦИИ */

/* Убираем цветокоррекцию при наведении */

a[href*="wpm-category/landing-card-"]:hover .folder-sub-front pattern image,
a[href*="wpm-category/landing-card-"]:hover .folder-front pattern image {
	filter: none;
}

/* Скрываем лишний текст в названии карточки */

a[href*="wpm-category/landing-card-"] > .folder-content .title {
    text-wrap: nowrap;
    text-overflow: ellipsis;
	/* для FireFox */
	white-space: -moz-pre-space;
}

/* Показываем название карточки полностью при наведении */

a[href*="wpm-category/landing-card-"] > .folder-content .title:hover {
    text-wrap: inherit;
	/* для FireFox */
	white-space: normal;
}