/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */


/**
 * Общие стили
 */
.off {
    display: none;
}

.kb-dynamic-html.short-des {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    max-height: 4.2em;
}

.press:active {
    animation: press 0.2s 1 linear !important;
}

@keyframes press {
		0% {
			transform: scale(1);
		}
		50% {
			transform: scale(0.96);
		}
		to {
			transform: scale(1);
		}
}

/*Слайдер галереи в loop*/
.custom-loop-slider {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 3;
    background: #f0f0f0;
}
.custom-loop-slider .cls-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.custom-loop-slider .cls-track::-webkit-scrollbar {
    display: none;
}
.custom-loop-slider .cls-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}
.custom-loop-slider .cls-slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.custom-loop-slider .cls-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.custom-loop-slider .cls-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #8593a5;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 3px;
    z-index: 10;
    padding: 0;
}
.custom-loop-slider .cls-arrow:hover {
    color: #333;
}
.custom-loop-slider:hover .cls-arrow {
    opacity: 1;
}
.custom-loop-slider .cls-prev { left: 10px; }
.custom-loop-slider .cls-next { right: 10px; }
.custom-loop-slider .cls-pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(45, 55, 72, 0.7);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    pointer-events: none;
}

.custom-loop-slider .cls-dots {
    display: flex;
    gap: 4px;
    margin-left: 2px;
}
.custom-loop-slider .cls-dots i {
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
}
.custom-loop-slider .cls-dots i.active {
    background: #fff;
    width: 12px;
    border-radius: 4px;
}


/* * END общие стили * */


















/**
 * Mobile
 */
@media (max-width: 767px) { 
.no-mo {
    display: none !important;
}

.custom-loop-slider {    
    aspect-ratio: 16 / 9;
}

.kt-button.button.more-loop-btn {
    width: 100%;
}

}
/* * END Mobile * */





/**
 * Mobile landscape
 */
@media (min-width: 577px) and (max-width: 767px) {    



}
/* * END Mobile landscape * */

/**
 * Tablet
 */
@media (min-width: 768px) and (max-width: 1024px) {    
.no-tb {
display: none !important;	
}	



}


/* * END Tablet * */


/* * Tablet Small* */
@media (min-width: 768px) and (max-width: 820px) {    



}
/* * END Tablet Small* */


/**
 * PC: all
 */
@media (min-width: 1025px) {
.no-pc {
    display: none !important;
}		

}
/* * END PC: all * */








/* ПК: малые и средние мониторы */
@media (min-width: 1025px) and (max-width: 1280px) {


}

/* * END 1025 and 1280 * */









@media (min-width: 1025px) and (max-width: 1440px) {

}
/* * END 1025px - 1440 * */









@media (min-width: 1025px) and (max-width: 1366px) {

}
/* * END 1025 and 1366 * */








@media (min-width: 1367px) and (max-width: 1440px) {

}
/* * END 1367px - 1440 * */



@media (min-width: 1441px) and (max-width: 1680px) {

}
/*END 1441px - 1680px*/







/* ПК: очень большие мониторы */
@media (min-width: 1681px) and (max-width: 1919px) {

}
/*END 1441px - 1919px*/


/* ПК: очень большие мониторы (Full HD+ и 2K) */
@media (min-width: 1920px) and (max-width: 2559px) {
 
}


/* Дополнительно: сверхбольшие мониторы */
@media (min-width: 3400px) {
    
}


@media (min-width: 1440px) {

}


@media (min-width: 1025px) and (max-width: 1280px) {

}