/**
 * WPHub Blocks - Static CSS
 * Стили для кастомных Gutenberg блоков
 * Использует CSS переменные из inline стилей
 */

/* ==========================================================================
   WORDPRESS BLOCK TABLE
   ========================================================================== */

.blk-aab9e1de thead {
    border-bottom: none !important;
}

/* ==========================================================================
   CTA SECTION BLOCK
   ========================================================================== */

.a5rLBv3YSBH {
    position: relative;
    overflow: hidden;
    display: flex;
    align-content: center;
    width: 100%;
    margin: 2rem 0 4rem 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-header-bg), var(--color-primary));
    min-height: auto;
    height: auto;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.a5rLBv3YSBH.xK3AsCWe,
.a5rLBv3YSBH.ijl2ctcX,
.a5rLBv3YSBH.sretoh6TiH9,
.a5rLBv3YSBH.yaqSgEJnXVP {
    min-height: 500px !important;
}

.a5rLBv3YSBH.animate-in-view {
    opacity: 1;
    transform: translateY(0);
}

.a5rLBv3YSBH .n5AvIy5MF {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
}

.a5rLBv3YSBH .mCaGpNKN0k {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.a5rLBv3YSBH.has-image.xK3AsCWe .wmfC9hFKz,
.a5rLBv3YSBH.has-image.ijl2ctcX .wmfC9hFKz,
.a5rLBv3YSBH.has-image.sretoh6TiH9 .wmfC9hFKz,
.a5rLBv3YSBH.has-image.yaqSgEJnXVP .wmfC9hFKz,
.a5rLBv3YSBH.has-background-image.xK3AsCWe .wmfC9hFKz,
.a5rLBv3YSBH.has-background-image.ijl2ctcX .wmfC9hFKz,
.a5rLBv3YSBH.has-background-image.sretoh6TiH9 .wmfC9hFKz,
.a5rLBv3YSBH.has-background-image.yaqSgEJnXVP .wmfC9hFKz {
    position: relative;
    z-index: 100 !important;
}

/* Default Style */
.a5rLBv3YSBH.rXxUKCNQYCYH {
    justify-content: center;
    align-items: center;
}

.a5rLBv3YSBH.rXxUKCNQYCYH .mCaGpNKN0k {
    margin: 0 auto;
    width: 100%;
}

.a5rLBv3YSBH.rXxUKCNQYCYH .hB6H5EznE {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Split Styles */
.a5rLBv3YSBH.sretoh6TiH9,
.a5rLBv3YSBH.yaqSgEJnXVP,
.a5rLBv3YSBH.xK3AsCWe,
.a5rLBv3YSBH.ijl2ctcX {
    display: flex !important;
    align-items: stretch;
    min-height: auto;
    padding: 0 !important;
}

/* Override padding for split layouts */
.a5rLBv3YSBH.xK3AsCWe.nHpJ0AF81ua,
.a5rLBv3YSBH.xK3AsCWe.nOtCFvxyUKK,
.a5rLBv3YSBH.xK3AsCWe.xKNjBQvW6ap9,
.a5rLBv3YSBH.xK3AsCWe.cU7ZoKPi,
.a5rLBv3YSBH.xK3AsCWe.k7ioFMr6,
.a5rLBv3YSBH.ijl2ctcX.nHpJ0AF81ua,
.a5rLBv3YSBH.ijl2ctcX.nOtCFvxyUKK,
.a5rLBv3YSBH.ijl2ctcX.xKNjBQvW6ap9,
.a5rLBv3YSBH.ijl2ctcX.cU7ZoKPi,
.a5rLBv3YSBH.ijl2ctcX.k7ioFMr6,
.a5rLBv3YSBH.sretoh6TiH9.nHpJ0AF81ua,
.a5rLBv3YSBH.sretoh6TiH9.nOtCFvxyUKK,
.a5rLBv3YSBH.sretoh6TiH9.xKNjBQvW6ap9,
.a5rLBv3YSBH.sretoh6TiH9.cU7ZoKPi,
.a5rLBv3YSBH.sretoh6TiH9.k7ioFMr6,
.a5rLBv3YSBH.yaqSgEJnXVP.nHpJ0AF81ua,
.a5rLBv3YSBH.yaqSgEJnXVP.nOtCFvxyUKK,
.a5rLBv3YSBH.yaqSgEJnXVP.xKNjBQvW6ap9,
.a5rLBv3YSBH.yaqSgEJnXVP.cU7ZoKPi,
.a5rLBv3YSBH.yaqSgEJnXVP.k7ioFMr6 {
    padding: 0 !important;
}

.a5rLBv3YSBH.sretoh6TiH9 .hB6H5EznE,
.a5rLBv3YSBH.yaqSgEJnXVP .hB6H5EznE,
.a5rLBv3YSBH.xK3AsCWe .hB6H5EznE,
.a5rLBv3YSBH.ijl2ctcX .hB6H5EznE {
    display: flex !important;
    width: 100%;
    align-items: stretch;
    min-height: 500px !important;
}

.a5rLBv3YSBH.sretoh6TiH9 .mCaGpNKN0k,
.a5rLBv3YSBH.yaqSgEJnXVP .mCaGpNKN0k {
    flex: 0 0 50%;
    width: 50%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    box-sizing: border-box;
    background: inherit;
}

.a5rLBv3YSBH.sretoh6TiH9 .cfmW4SYxaMV,
.a5rLBv3YSBH.yaqSgEJnXVP .cfmW4SYxaMV {
    flex: 0 0 50%;
    width: 50%;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a5rLBv3YSBH.sretoh6TiH9 .cfmW4SYxaMV img,
.a5rLBv3YSBH.yaqSgEJnXVP .cfmW4SYxaMV img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Reverse direction */
.a5rLBv3YSBH.ijl2ctcX .hB6H5EznE,
.a5rLBv3YSBH.yaqSgEJnXVP .hB6H5EznE {
    flex-direction: row !important;
}

/* Height variants */
.a5rLBv3YSBH.hKD3N694Fjmu {
    min-height: 300px !important;
}

.a5rLBv3YSBH.ipNkH5QguvmV {
    min-height: 400px !important;
}

.a5rLBv3YSBH.vCFHhZkhWbpT {
    min-height: 500px !important;
}

.a5rLBv3YSBH.mDSFHIb7p {
    min-height: auto !important;
    height: auto !important;
}

.a5rLBv3YSBH.iFmk1mQfTN {
    min-height: 100vh !important;
}

/* Content inner */
.a5rLBv3YSBH.xK3AsCWe .aE5rX5G6a3E,
.a5rLBv3YSBH.ijl2ctcX .aE5rX5G6a3E,
.a5rLBv3YSBH.sretoh6TiH9 .aE5rX5G6a3E,
.a5rLBv3YSBH.yaqSgEJnXVP .aE5rX5G6a3E {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 11 !important;
}

.a5rLBv3YSBH.sretoh6TiH9 .aE5rX5G6a3E,
.a5rLBv3YSBH.yaqSgEJnXVP .aE5rX5G6a3E {
    width: 100%;
    max-width: 600px;
}

/* Section container */
.a5rLBv3YSBH .hB6H5EznE {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch;
    position: relative;
    z-index: 5;
}

.a5rLBv3YSBH.xK3AsCWe .hB6H5EznE,
.a5rLBv3YSBH.sretoh6TiH9 .hB6H5EznE {
    flex-direction: row !important;
}

/* Split content */
.a5rLBv3YSBH.xK3AsCWe .wmfC9hFKz,
.a5rLBv3YSBH.ijl2ctcX .wmfC9hFKz,
.a5rLBv3YSBH.sretoh6TiH9 .wmfC9hFKz,
.a5rLBv3YSBH.yaqSgEJnXVP .wmfC9hFKz {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 50px 40px;
    box-sizing: border-box;
    min-height: 500px !important;
    background: inherit;
    position: relative;
    z-index: 10 !important;
}

/* Padding variants */
.a5rLBv3YSBH.nHpJ0AF81ua .wmfC9hFKz {
    padding: 10px 15px !important;
}

.a5rLBv3YSBH.nOtCFvxyUKK .wmfC9hFKz {
    padding: 20px 25px !important;
}

.a5rLBv3YSBH.xKNjBQvW6ap9 .wmfC9hFKz {
    padding: 30px 35px !important;
}

.a5rLBv3YSBH.cU7ZoKPi .wmfC9hFKz {
    padding: 50px 40px !important;
}

.a5rLBv3YSBH.k7ioFMr6 .wmfC9hFKz {
    padding: 80px 50px !important;
}

/* Text alignment for split content */
.a5rLBv3YSBH.text-left .wmfC9hFKz {
    justify-content: flex-start !important;
}

.a5rLBv3YSBH.text-right .wmfC9hFKz {
    justify-content: flex-end !important;
}

/* Split visual */
.a5rLBv3YSBH.xK3AsCWe .weeHZwALKK4,
.a5rLBv3YSBH.ijl2ctcX .weeHZwALKK4,
.a5rLBv3YSBH.sretoh6TiH9 .weeHZwALKK4,
.a5rLBv3YSBH.yaqSgEJnXVP .weeHZwALKK4 {
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-height: 500px !important;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

/* Split image */
.a5rLBv3YSBH.xK3AsCWe .yzZcHhjPjqfl,
.a5rLBv3YSBH.ijl2ctcX .yzZcHhjPjqfl,
.a5rLBv3YSBH.sretoh6TiH9 .yzZcHhjPjqfl,
.a5rLBv3YSBH.yaqSgEJnXVP .yzZcHhjPjqfl {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    min-width: 100% !important;
    min-height: 100% !important;
    border-radius: 0 !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

.a5rLBv3YSBH .yzZcHhjPjqfl:hover {
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
    border-radius: 0 !important;
}

/* Hide split elements in default layout */
.a5rLBv3YSBH.bya5JA7icIc .wmfC9hFKz,
.a5rLBv3YSBH.bya5JA7icIc .weeHZwALKK4,
.a5rLBv3YSBH.rXxUKCNQYCYH .wmfC9hFKz,
.a5rLBv3YSBH.rXxUKCNQYCYH .weeHZwALKK4 {
    display: none !important;
}

.a5rLBv3YSBH.bya5JA7icIc .mCaGpNKN0k,
.a5rLBv3YSBH.rXxUKCNQYCYH .mCaGpNKN0k {
    display: block !important;
}

/* Hide default content in split layouts */
.a5rLBv3YSBH.xK3AsCWe .mCaGpNKN0k,
.a5rLBv3YSBH.ijl2ctcX .mCaGpNKN0k,
.a5rLBv3YSBH.sretoh6TiH9 .mCaGpNKN0k,
.a5rLBv3YSBH.yaqSgEJnXVP .mCaGpNKN0k {
    display: none !important;
}

/* Default layout */
.a5rLBv3YSBH.bya5JA7icIc .hB6H5EznE {
    justify-content: center;
    align-items: center;
}

.a5rLBv3YSBH.bya5JA7icIc .mCaGpNKN0k {
    width: 100%;
    padding: 10px;
}

/* Text alignment */
.a5rLBv3YSBH.text-left,
.a5rLBv3YSBH.text-left .mCaGpNKN0k,
.a5rLBv3YSBH.text-left .aE5rX5G6a3E,
.a5rLBv3YSBH.text-left .wmfC9hFKz {
    text-align: left !important;
}

.a5rLBv3YSBH.text-center,
.a5rLBv3YSBH.text-center .mCaGpNKN0k,
.a5rLBv3YSBH.text-center .aE5rX5G6a3E,
.a5rLBv3YSBH.text-center .wmfC9hFKz {
    text-align: center !important;
}

.a5rLBv3YSBH.text-right,
.a5rLBv3YSBH.text-right .mCaGpNKN0k,
.a5rLBv3YSBH.text-right .aE5rX5G6a3E,
.a5rLBv3YSBH.text-right .wmfC9hFKz {
    text-align: right !important;
}

/* Button wrapper alignment */
.a5rLBv3YSBH.text-left .yOrK31LYDdW9 {
    display: flex;
    justify-content: flex-start !important;
}

.a5rLBv3YSBH.text-center .yOrK31LYDdW9 {
    display: flex;
    justify-content: center !important;
}

.a5rLBv3YSBH.text-right .yOrK31LYDdW9 {
    display: flex;
    justify-content: flex-end !important;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 991px) {
    /* Stack split layouts vertically on tablets and mobile */
    .a5rLBv3YSBH.xK3AsCWe .hB6H5EznE,
    .a5rLBv3YSBH.ijl2ctcX .hB6H5EznE,
    .a5rLBv3YSBH.sretoh6TiH9 .hB6H5EznE,
    .a5rLBv3YSBH.yaqSgEJnXVP .hB6H5EznE {
        flex-direction: column !important;
    }

    .a5rLBv3YSBH.xK3AsCWe .wmfC9hFKz,
    .a5rLBv3YSBH.ijl2ctcX .wmfC9hFKz,
    .a5rLBv3YSBH.xK3AsCWe .weeHZwALKK4,
    .a5rLBv3YSBH.ijl2ctcX .weeHZwALKK4,
    .a5rLBv3YSBH.sretoh6TiH9 .wmfC9hFKz,
    .a5rLBv3YSBH.yaqSgEJnXVP .wmfC9hFKz,
    .a5rLBv3YSBH.sretoh6TiH9 .mCaGpNKN0k,
    .a5rLBv3YSBH.yaqSgEJnXVP .mCaGpNKN0k,
    .a5rLBv3YSBH.sretoh6TiH9 .cfmW4SYxaMV,
    .a5rLBv3YSBH.yaqSgEJnXVP .cfmW4SYxaMV {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 300px !important;
    }
}
