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

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

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

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

.n0Ocxst7m {
    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;
}

.n0Ocxst7m.zwaXsefY,
.n0Ocxst7m.z7DrzPll,
.n0Ocxst7m.spMqDWa4p,
.n0Ocxst7m.o29UneR7B {
    min-height: 500px !important;
}

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

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

.n0Ocxst7m .kgUlh06oil {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.n0Ocxst7m.has-image.zwaXsefY .h7cJjMPSo2,
.n0Ocxst7m.has-image.z7DrzPll .h7cJjMPSo2,
.n0Ocxst7m.has-image.spMqDWa4p .h7cJjMPSo2,
.n0Ocxst7m.has-image.o29UneR7B .h7cJjMPSo2,
.n0Ocxst7m.has-background-image.zwaXsefY .h7cJjMPSo2,
.n0Ocxst7m.has-background-image.z7DrzPll .h7cJjMPSo2,
.n0Ocxst7m.has-background-image.spMqDWa4p .h7cJjMPSo2,
.n0Ocxst7m.has-background-image.o29UneR7B .h7cJjMPSo2 {
    position: relative;
    z-index: 100 !important;
}

/* Default Style */
.n0Ocxst7m.aoDwSstJu6Wm {
    justify-content: center;
    align-items: center;
}

.n0Ocxst7m.aoDwSstJu6Wm .kgUlh06oil {
    margin: 0 auto;
    width: 100%;
}

.n0Ocxst7m.aoDwSstJu6Wm .quiMTEO0s {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Split Styles */
.n0Ocxst7m.spMqDWa4p,
.n0Ocxst7m.o29UneR7B,
.n0Ocxst7m.zwaXsefY,
.n0Ocxst7m.z7DrzPll {
    display: flex !important;
    align-items: stretch;
    min-height: auto;
    padding: 0 !important;
}

/* Override padding for split layouts */
.n0Ocxst7m.zwaXsefY.yM1IizBVP,
.n0Ocxst7m.zwaXsefY.qRHwEhfV,
.n0Ocxst7m.zwaXsefY.t1bO1Bj8lg,
.n0Ocxst7m.zwaXsefY.m151OwDsUHw,
.n0Ocxst7m.zwaXsefY.pR2Oxr9gC0v,
.n0Ocxst7m.z7DrzPll.yM1IizBVP,
.n0Ocxst7m.z7DrzPll.qRHwEhfV,
.n0Ocxst7m.z7DrzPll.t1bO1Bj8lg,
.n0Ocxst7m.z7DrzPll.m151OwDsUHw,
.n0Ocxst7m.z7DrzPll.pR2Oxr9gC0v,
.n0Ocxst7m.spMqDWa4p.yM1IizBVP,
.n0Ocxst7m.spMqDWa4p.qRHwEhfV,
.n0Ocxst7m.spMqDWa4p.t1bO1Bj8lg,
.n0Ocxst7m.spMqDWa4p.m151OwDsUHw,
.n0Ocxst7m.spMqDWa4p.pR2Oxr9gC0v,
.n0Ocxst7m.o29UneR7B.yM1IizBVP,
.n0Ocxst7m.o29UneR7B.qRHwEhfV,
.n0Ocxst7m.o29UneR7B.t1bO1Bj8lg,
.n0Ocxst7m.o29UneR7B.m151OwDsUHw,
.n0Ocxst7m.o29UneR7B.pR2Oxr9gC0v {
    padding: 0 !important;
}

.n0Ocxst7m.spMqDWa4p .quiMTEO0s,
.n0Ocxst7m.o29UneR7B .quiMTEO0s,
.n0Ocxst7m.zwaXsefY .quiMTEO0s,
.n0Ocxst7m.z7DrzPll .quiMTEO0s {
    display: flex !important;
    width: 100%;
    align-items: stretch;
    min-height: 500px !important;
}

.n0Ocxst7m.spMqDWa4p .kgUlh06oil,
.n0Ocxst7m.o29UneR7B .kgUlh06oil {
    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;
}

.n0Ocxst7m.spMqDWa4p .lYjVaP5Z0,
.n0Ocxst7m.o29UneR7B .lYjVaP5Z0 {
    flex: 0 0 50%;
    width: 50%;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.n0Ocxst7m.spMqDWa4p .lYjVaP5Z0 img,
.n0Ocxst7m.o29UneR7B .lYjVaP5Z0 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Reverse direction */
.n0Ocxst7m.z7DrzPll .quiMTEO0s,
.n0Ocxst7m.o29UneR7B .quiMTEO0s {
    flex-direction: row !important;
}

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

.n0Ocxst7m.qUTwC13i {
    min-height: 400px !important;
}

.n0Ocxst7m.qBwziplY {
    min-height: 500px !important;
}

.n0Ocxst7m.lGn1pIGP6n {
    min-height: auto !important;
    height: auto !important;
}

.n0Ocxst7m.lJCsoXBgvuco {
    min-height: 100vh !important;
}

/* Content inner */
.n0Ocxst7m.zwaXsefY .mVEKGDkoO,
.n0Ocxst7m.z7DrzPll .mVEKGDkoO,
.n0Ocxst7m.spMqDWa4p .mVEKGDkoO,
.n0Ocxst7m.o29UneR7B .mVEKGDkoO {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 11 !important;
}

.n0Ocxst7m.spMqDWa4p .mVEKGDkoO,
.n0Ocxst7m.o29UneR7B .mVEKGDkoO {
    width: 100%;
    max-width: 600px;
}

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

.n0Ocxst7m.zwaXsefY .quiMTEO0s,
.n0Ocxst7m.spMqDWa4p .quiMTEO0s {
    flex-direction: row !important;
}

/* Split content */
.n0Ocxst7m.zwaXsefY .h7cJjMPSo2,
.n0Ocxst7m.z7DrzPll .h7cJjMPSo2,
.n0Ocxst7m.spMqDWa4p .h7cJjMPSo2,
.n0Ocxst7m.o29UneR7B .h7cJjMPSo2 {
    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 */
.n0Ocxst7m.yM1IizBVP .h7cJjMPSo2 {
    padding: 10px 15px !important;
}

.n0Ocxst7m.qRHwEhfV .h7cJjMPSo2 {
    padding: 20px 25px !important;
}

.n0Ocxst7m.t1bO1Bj8lg .h7cJjMPSo2 {
    padding: 30px 35px !important;
}

.n0Ocxst7m.m151OwDsUHw .h7cJjMPSo2 {
    padding: 50px 40px !important;
}

.n0Ocxst7m.pR2Oxr9gC0v .h7cJjMPSo2 {
    padding: 80px 50px !important;
}

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

.n0Ocxst7m.text-right .h7cJjMPSo2 {
    justify-content: flex-end !important;
}

/* Split visual */
.n0Ocxst7m.zwaXsefY .ltA1MMWq,
.n0Ocxst7m.z7DrzPll .ltA1MMWq,
.n0Ocxst7m.spMqDWa4p .ltA1MMWq,
.n0Ocxst7m.o29UneR7B .ltA1MMWq {
    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 */
.n0Ocxst7m.zwaXsefY .aKCklHt5,
.n0Ocxst7m.z7DrzPll .aKCklHt5,
.n0Ocxst7m.spMqDWa4p .aKCklHt5,
.n0Ocxst7m.o29UneR7B .aKCklHt5 {
    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;
}

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

/* Hide split elements in default layout */
.n0Ocxst7m.qgK9FkN3 .h7cJjMPSo2,
.n0Ocxst7m.qgK9FkN3 .ltA1MMWq,
.n0Ocxst7m.aoDwSstJu6Wm .h7cJjMPSo2,
.n0Ocxst7m.aoDwSstJu6Wm .ltA1MMWq {
    display: none !important;
}

.n0Ocxst7m.qgK9FkN3 .kgUlh06oil,
.n0Ocxst7m.aoDwSstJu6Wm .kgUlh06oil {
    display: block !important;
}

/* Hide default content in split layouts */
.n0Ocxst7m.zwaXsefY .kgUlh06oil,
.n0Ocxst7m.z7DrzPll .kgUlh06oil,
.n0Ocxst7m.spMqDWa4p .kgUlh06oil,
.n0Ocxst7m.o29UneR7B .kgUlh06oil {
    display: none !important;
}

/* Default layout */
.n0Ocxst7m.qgK9FkN3 .quiMTEO0s {
    justify-content: center;
    align-items: center;
}

.n0Ocxst7m.qgK9FkN3 .kgUlh06oil {
    width: 100%;
    padding: 10px;
}

/* Text alignment */
.n0Ocxst7m.text-left,
.n0Ocxst7m.text-left .kgUlh06oil,
.n0Ocxst7m.text-left .mVEKGDkoO,
.n0Ocxst7m.text-left .h7cJjMPSo2 {
    text-align: left !important;
}

.n0Ocxst7m.text-center,
.n0Ocxst7m.text-center .kgUlh06oil,
.n0Ocxst7m.text-center .mVEKGDkoO,
.n0Ocxst7m.text-center .h7cJjMPSo2 {
    text-align: center !important;
}

.n0Ocxst7m.text-right,
.n0Ocxst7m.text-right .kgUlh06oil,
.n0Ocxst7m.text-right .mVEKGDkoO,
.n0Ocxst7m.text-right .h7cJjMPSo2 {
    text-align: right !important;
}

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

.n0Ocxst7m.text-center .c1QfaHdm6j7 {
    display: flex;
    justify-content: center !important;
}

.n0Ocxst7m.text-right .c1QfaHdm6j7 {
    display: flex;
    justify-content: flex-end !important;
}

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

@media (max-width: 991px) {
    /* Stack split layouts vertically on tablets and mobile */
    .n0Ocxst7m.zwaXsefY .quiMTEO0s,
    .n0Ocxst7m.z7DrzPll .quiMTEO0s,
    .n0Ocxst7m.spMqDWa4p .quiMTEO0s,
    .n0Ocxst7m.o29UneR7B .quiMTEO0s {
        flex-direction: column !important;
    }

    .n0Ocxst7m.zwaXsefY .h7cJjMPSo2,
    .n0Ocxst7m.z7DrzPll .h7cJjMPSo2,
    .n0Ocxst7m.zwaXsefY .ltA1MMWq,
    .n0Ocxst7m.z7DrzPll .ltA1MMWq,
    .n0Ocxst7m.spMqDWa4p .h7cJjMPSo2,
    .n0Ocxst7m.o29UneR7B .h7cJjMPSo2,
    .n0Ocxst7m.spMqDWa4p .kgUlh06oil,
    .n0Ocxst7m.o29UneR7B .kgUlh06oil,
    .n0Ocxst7m.spMqDWa4p .lYjVaP5Z0,
    .n0Ocxst7m.o29UneR7B .lYjVaP5Z0 {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 300px !important;
    }
}
