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

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

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

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

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

.lthCrSeCk.asdaYmRx,
.lthCrSeCk.r3OylHPo,
.lthCrSeCk.teMWvwFGS,
.lthCrSeCk.kTcb4xhE1t4 {
    min-height: 500px !important;
}

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

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

.lthCrSeCk .yfXach45 {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.lthCrSeCk.has-image.asdaYmRx .hfWrSkO5r4,
.lthCrSeCk.has-image.r3OylHPo .hfWrSkO5r4,
.lthCrSeCk.has-image.teMWvwFGS .hfWrSkO5r4,
.lthCrSeCk.has-image.kTcb4xhE1t4 .hfWrSkO5r4,
.lthCrSeCk.has-background-image.asdaYmRx .hfWrSkO5r4,
.lthCrSeCk.has-background-image.r3OylHPo .hfWrSkO5r4,
.lthCrSeCk.has-background-image.teMWvwFGS .hfWrSkO5r4,
.lthCrSeCk.has-background-image.kTcb4xhE1t4 .hfWrSkO5r4 {
    position: relative;
    z-index: 100 !important;
}

/* Default Style */
.lthCrSeCk.ldrkPERQkRR {
    justify-content: center;
    align-items: center;
}

.lthCrSeCk.ldrkPERQkRR .yfXach45 {
    margin: 0 auto;
    width: 100%;
}

.lthCrSeCk.ldrkPERQkRR .ehXQXkvrZGd {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Split Styles */
.lthCrSeCk.teMWvwFGS,
.lthCrSeCk.kTcb4xhE1t4,
.lthCrSeCk.asdaYmRx,
.lthCrSeCk.r3OylHPo {
    display: flex !important;
    align-items: stretch;
    min-height: auto;
    padding: 0 !important;
}

/* Override padding for split layouts */
.lthCrSeCk.asdaYmRx.qzhk6LBI,
.lthCrSeCk.asdaYmRx.l0kDMXuKac,
.lthCrSeCk.asdaYmRx.iE2pEUjjnJQv,
.lthCrSeCk.asdaYmRx.yh2J8mzF2b,
.lthCrSeCk.asdaYmRx.t94CWAJ6,
.lthCrSeCk.r3OylHPo.qzhk6LBI,
.lthCrSeCk.r3OylHPo.l0kDMXuKac,
.lthCrSeCk.r3OylHPo.iE2pEUjjnJQv,
.lthCrSeCk.r3OylHPo.yh2J8mzF2b,
.lthCrSeCk.r3OylHPo.t94CWAJ6,
.lthCrSeCk.teMWvwFGS.qzhk6LBI,
.lthCrSeCk.teMWvwFGS.l0kDMXuKac,
.lthCrSeCk.teMWvwFGS.iE2pEUjjnJQv,
.lthCrSeCk.teMWvwFGS.yh2J8mzF2b,
.lthCrSeCk.teMWvwFGS.t94CWAJ6,
.lthCrSeCk.kTcb4xhE1t4.qzhk6LBI,
.lthCrSeCk.kTcb4xhE1t4.l0kDMXuKac,
.lthCrSeCk.kTcb4xhE1t4.iE2pEUjjnJQv,
.lthCrSeCk.kTcb4xhE1t4.yh2J8mzF2b,
.lthCrSeCk.kTcb4xhE1t4.t94CWAJ6 {
    padding: 0 !important;
}

.lthCrSeCk.teMWvwFGS .ehXQXkvrZGd,
.lthCrSeCk.kTcb4xhE1t4 .ehXQXkvrZGd,
.lthCrSeCk.asdaYmRx .ehXQXkvrZGd,
.lthCrSeCk.r3OylHPo .ehXQXkvrZGd {
    display: flex !important;
    width: 100%;
    align-items: stretch;
    min-height: 500px !important;
}

.lthCrSeCk.teMWvwFGS .yfXach45,
.lthCrSeCk.kTcb4xhE1t4 .yfXach45 {
    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;
}

.lthCrSeCk.teMWvwFGS .aFpGbestjVR,
.lthCrSeCk.kTcb4xhE1t4 .aFpGbestjVR {
    flex: 0 0 50%;
    width: 50%;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lthCrSeCk.teMWvwFGS .aFpGbestjVR img,
.lthCrSeCk.kTcb4xhE1t4 .aFpGbestjVR img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Reverse direction */
.lthCrSeCk.r3OylHPo .ehXQXkvrZGd,
.lthCrSeCk.kTcb4xhE1t4 .ehXQXkvrZGd {
    flex-direction: row !important;
}

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

.lthCrSeCk.wWlzUJatPA {
    min-height: 400px !important;
}

.lthCrSeCk.jkP7vd9akUZ {
    min-height: 500px !important;
}

.lthCrSeCk.vICCvltl {
    min-height: auto !important;
    height: auto !important;
}

.lthCrSeCk.vT9fdaINPNw {
    min-height: 100vh !important;
}

/* Content inner */
.lthCrSeCk.asdaYmRx .sMUvhydLA7,
.lthCrSeCk.r3OylHPo .sMUvhydLA7,
.lthCrSeCk.teMWvwFGS .sMUvhydLA7,
.lthCrSeCk.kTcb4xhE1t4 .sMUvhydLA7 {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 11 !important;
}

.lthCrSeCk.teMWvwFGS .sMUvhydLA7,
.lthCrSeCk.kTcb4xhE1t4 .sMUvhydLA7 {
    width: 100%;
    max-width: 600px;
}

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

.lthCrSeCk.asdaYmRx .ehXQXkvrZGd,
.lthCrSeCk.teMWvwFGS .ehXQXkvrZGd {
    flex-direction: row !important;
}

/* Split content */
.lthCrSeCk.asdaYmRx .hfWrSkO5r4,
.lthCrSeCk.r3OylHPo .hfWrSkO5r4,
.lthCrSeCk.teMWvwFGS .hfWrSkO5r4,
.lthCrSeCk.kTcb4xhE1t4 .hfWrSkO5r4 {
    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 */
.lthCrSeCk.qzhk6LBI .hfWrSkO5r4 {
    padding: 10px 15px !important;
}

.lthCrSeCk.l0kDMXuKac .hfWrSkO5r4 {
    padding: 20px 25px !important;
}

.lthCrSeCk.iE2pEUjjnJQv .hfWrSkO5r4 {
    padding: 30px 35px !important;
}

.lthCrSeCk.yh2J8mzF2b .hfWrSkO5r4 {
    padding: 50px 40px !important;
}

.lthCrSeCk.t94CWAJ6 .hfWrSkO5r4 {
    padding: 80px 50px !important;
}

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

.lthCrSeCk.text-right .hfWrSkO5r4 {
    justify-content: flex-end !important;
}

/* Split visual */
.lthCrSeCk.asdaYmRx .pMyjvfVZtv,
.lthCrSeCk.r3OylHPo .pMyjvfVZtv,
.lthCrSeCk.teMWvwFGS .pMyjvfVZtv,
.lthCrSeCk.kTcb4xhE1t4 .pMyjvfVZtv {
    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 */
.lthCrSeCk.asdaYmRx .wkq6RPLM,
.lthCrSeCk.r3OylHPo .wkq6RPLM,
.lthCrSeCk.teMWvwFGS .wkq6RPLM,
.lthCrSeCk.kTcb4xhE1t4 .wkq6RPLM {
    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;
}

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

/* Hide split elements in default layout */
.lthCrSeCk.aPmIuPInI .hfWrSkO5r4,
.lthCrSeCk.aPmIuPInI .pMyjvfVZtv,
.lthCrSeCk.ldrkPERQkRR .hfWrSkO5r4,
.lthCrSeCk.ldrkPERQkRR .pMyjvfVZtv {
    display: none !important;
}

.lthCrSeCk.aPmIuPInI .yfXach45,
.lthCrSeCk.ldrkPERQkRR .yfXach45 {
    display: block !important;
}

/* Hide default content in split layouts */
.lthCrSeCk.asdaYmRx .yfXach45,
.lthCrSeCk.r3OylHPo .yfXach45,
.lthCrSeCk.teMWvwFGS .yfXach45,
.lthCrSeCk.kTcb4xhE1t4 .yfXach45 {
    display: none !important;
}

/* Default layout */
.lthCrSeCk.aPmIuPInI .ehXQXkvrZGd {
    justify-content: center;
    align-items: center;
}

.lthCrSeCk.aPmIuPInI .yfXach45 {
    width: 100%;
    padding: 10px;
}

/* Text alignment */
.lthCrSeCk.text-left,
.lthCrSeCk.text-left .yfXach45,
.lthCrSeCk.text-left .sMUvhydLA7,
.lthCrSeCk.text-left .hfWrSkO5r4 {
    text-align: left !important;
}

.lthCrSeCk.text-center,
.lthCrSeCk.text-center .yfXach45,
.lthCrSeCk.text-center .sMUvhydLA7,
.lthCrSeCk.text-center .hfWrSkO5r4 {
    text-align: center !important;
}

.lthCrSeCk.text-right,
.lthCrSeCk.text-right .yfXach45,
.lthCrSeCk.text-right .sMUvhydLA7,
.lthCrSeCk.text-right .hfWrSkO5r4 {
    text-align: right !important;
}

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

.lthCrSeCk.text-center .k91fo6mobCFf {
    display: flex;
    justify-content: center !important;
}

.lthCrSeCk.text-right .k91fo6mobCFf {
    display: flex;
    justify-content: flex-end !important;
}

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

@media (max-width: 991px) {
    /* Stack split layouts vertically on tablets and mobile */
    .lthCrSeCk.asdaYmRx .ehXQXkvrZGd,
    .lthCrSeCk.r3OylHPo .ehXQXkvrZGd,
    .lthCrSeCk.teMWvwFGS .ehXQXkvrZGd,
    .lthCrSeCk.kTcb4xhE1t4 .ehXQXkvrZGd {
        flex-direction: column !important;
    }

    .lthCrSeCk.asdaYmRx .hfWrSkO5r4,
    .lthCrSeCk.r3OylHPo .hfWrSkO5r4,
    .lthCrSeCk.asdaYmRx .pMyjvfVZtv,
    .lthCrSeCk.r3OylHPo .pMyjvfVZtv,
    .lthCrSeCk.teMWvwFGS .hfWrSkO5r4,
    .lthCrSeCk.kTcb4xhE1t4 .hfWrSkO5r4,
    .lthCrSeCk.teMWvwFGS .yfXach45,
    .lthCrSeCk.kTcb4xhE1t4 .yfXach45,
    .lthCrSeCk.teMWvwFGS .aFpGbestjVR,
    .lthCrSeCk.kTcb4xhE1t4 .aFpGbestjVR {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 300px !important;
    }
}
