/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 20 2026 | 21:07:40 */
/*
===== Карточки инструкторов на Главной =====
Ссылка поверх изображения

Принято решение костылить синхронизируемый виджет карточки из переопределяемых блоков -
Image, Button+Text -
вместо ручного создания каждой карточки с контентом

*/


/* Обертка карточки инструктора */
.u-card-instructor-main-wrapper {
	/* *Размер изображений посмотреть через отладчик */
	max-width: 300px !important;
}


.u-card-instructor-main {
	position: relative !important;
/* 	margin: 0 auto !important; */
/* 	padding: 0 !important; */
/* 	display: inline-block; */
    width: 100%;
/*     max-width: 100%; */
    /* Убираем лишние отступы и выравнивания */
/* 	justify-content: center !important; */
/*     align-items: center !important; */
	transition: all 0.3s ease-in-out;
}
.u-card-instructor-main:hover {
	transform: scale(1.04);
}


/*
=== WP - Изображение ===
*/
.u-card-instructor-main-img {
   max-width: 100%;
}


.u-card-instructor-main-img img {
	width: 100% !important;
}


/*
=== WP - Группа кнопок ===
*/
.u-card-instructor-main-buttons {
	position: absolute !important;
/*     top: 0 !important; */
/*     left: 0 !important; */
/*     right: 0 !important; */
/*     bottom: 0 !important; */
    width: 100% !important;
    height: 100% !important;
/*     margin: 0 !important; */
/*     padding: 0 !important; */
/*     display: flex !important; */
/*     justify-content: center !important; */
/*     align-items: center !important; */
    /* Скругление наследуем от изображения */
/*     border-radius: inherit !important; */
/*     overflow: hidden !important; */
    /* На случай, если нужно скрыть выступающие элементы */
}


/* WP - Кнопка с Текстом */
.u-card-instructor-main-button {
	width: 100% !important;
    height: 100% !important;
/*     margin: 0 !important; */
/*     padding: 0 !important; */
/*     display: block !important; */
/*     position: relative !important; */
}


/* WP - Ссылка внутри кнопки растягивается на всю площадь, полностью прозрачная, кликабельная */
.u-card-instructor-main-button .wp-block-button__link {
/*     display: block !important; */
/*     width: 100% !important; */
/*     height: 100% !important; */
/*     min-height: 100% !important; */
/*     padding: 0 !important; */
/*     margin: 0 !important; */
    background: transparent !important;
/*     border: none !important; */
/*     box-shadow: none !important; */
/*     border-radius: inherit !important; */
/*     text-indent: -9999px !important; */
    /* Скрываем текст, но оставляем кликабельным */
/*     overflow: hidden !important; */
/*     font-size: 0 !important; */
/*     line-height: 0 !important; */
    color: transparent !important;
/*     position: relative !important; */
/*     z-index: 2 !important; */
    /* Поверх изображения */
    /* Убираем все дефолтные стили кнопок */
/*     text-decoration: none !important; */
/*     cursor: pointer !important; */
/*     transition: none !important; */
	transition: all 0.3s ease-in-out;
}
.u-card-instructor-main-button .wp-block-button__link:hover {
    background: rgba(0, 0, 0, 0.3) !important;
/*     text-indent: 0 !important; */
/*     font-size: 16px !important; */
/*     line-height: normal !important; */
/*     color: #fff !important; */
    color: var(--wp--preset--color--base) !important;
/*     color: var(--wp--preset--color--accent-1) !important; */
/*     text-align: center !important; */
/*     display: flex !important; */
/*     align-items: center !important; */
/*     justify-content: center !important; */
/*     text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important; */
}




/* *** */
