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

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

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

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

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

.qLp0KcsSp.dJrWckIVJlZ,
.qLp0KcsSp.gZlqs7r8HY,
.qLp0KcsSp.ceKSV5aX1,
.qLp0KcsSp.bxWIXCT47 {
    min-height: 500px !important;
}

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

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

.qLp0KcsSp .lgfguTAnvj {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.qLp0KcsSp.has-image.dJrWckIVJlZ .mimlM0Wh,
.qLp0KcsSp.has-image.gZlqs7r8HY .mimlM0Wh,
.qLp0KcsSp.has-image.ceKSV5aX1 .mimlM0Wh,
.qLp0KcsSp.has-image.bxWIXCT47 .mimlM0Wh,
.qLp0KcsSp.has-background-image.dJrWckIVJlZ .mimlM0Wh,
.qLp0KcsSp.has-background-image.gZlqs7r8HY .mimlM0Wh,
.qLp0KcsSp.has-background-image.ceKSV5aX1 .mimlM0Wh,
.qLp0KcsSp.has-background-image.bxWIXCT47 .mimlM0Wh {
    position: relative;
    z-index: 100 !important;
}

/* Default Style */
.qLp0KcsSp.gJtc4324wtgj {
    justify-content: center;
    align-items: center;
}

.qLp0KcsSp.gJtc4324wtgj .lgfguTAnvj {
    margin: 0 auto;
    width: 100%;
}

.qLp0KcsSp.gJtc4324wtgj .bvUubWri {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Split Styles */
.qLp0KcsSp.ceKSV5aX1,
.qLp0KcsSp.bxWIXCT47,
.qLp0KcsSp.dJrWckIVJlZ,
.qLp0KcsSp.gZlqs7r8HY {
    display: flex !important;
    align-items: stretch;
    min-height: auto;
    padding: 0 !important;
}

/* Override padding for split layouts */
.qLp0KcsSp.dJrWckIVJlZ.zEhUuFT1rG,
.qLp0KcsSp.dJrWckIVJlZ.ybUyMr9ui8,
.qLp0KcsSp.dJrWckIVJlZ.uHlFqiJOJqFF,
.qLp0KcsSp.dJrWckIVJlZ.iM3bh69T,
.qLp0KcsSp.dJrWckIVJlZ.kAmmwuwdHt,
.qLp0KcsSp.gZlqs7r8HY.zEhUuFT1rG,
.qLp0KcsSp.gZlqs7r8HY.ybUyMr9ui8,
.qLp0KcsSp.gZlqs7r8HY.uHlFqiJOJqFF,
.qLp0KcsSp.gZlqs7r8HY.iM3bh69T,
.qLp0KcsSp.gZlqs7r8HY.kAmmwuwdHt,
.qLp0KcsSp.ceKSV5aX1.zEhUuFT1rG,
.qLp0KcsSp.ceKSV5aX1.ybUyMr9ui8,
.qLp0KcsSp.ceKSV5aX1.uHlFqiJOJqFF,
.qLp0KcsSp.ceKSV5aX1.iM3bh69T,
.qLp0KcsSp.ceKSV5aX1.kAmmwuwdHt,
.qLp0KcsSp.bxWIXCT47.zEhUuFT1rG,
.qLp0KcsSp.bxWIXCT47.ybUyMr9ui8,
.qLp0KcsSp.bxWIXCT47.uHlFqiJOJqFF,
.qLp0KcsSp.bxWIXCT47.iM3bh69T,
.qLp0KcsSp.bxWIXCT47.kAmmwuwdHt {
    padding: 0 !important;
}

.qLp0KcsSp.ceKSV5aX1 .bvUubWri,
.qLp0KcsSp.bxWIXCT47 .bvUubWri,
.qLp0KcsSp.dJrWckIVJlZ .bvUubWri,
.qLp0KcsSp.gZlqs7r8HY .bvUubWri {
    display: flex !important;
    width: 100%;
    align-items: stretch;
    min-height: 500px !important;
}

.qLp0KcsSp.ceKSV5aX1 .lgfguTAnvj,
.qLp0KcsSp.bxWIXCT47 .lgfguTAnvj {
    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;
}

.qLp0KcsSp.ceKSV5aX1 .i6jR57DZGTRE,
.qLp0KcsSp.bxWIXCT47 .i6jR57DZGTRE {
    flex: 0 0 50%;
    width: 50%;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qLp0KcsSp.ceKSV5aX1 .i6jR57DZGTRE img,
.qLp0KcsSp.bxWIXCT47 .i6jR57DZGTRE img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Reverse direction */
.qLp0KcsSp.gZlqs7r8HY .bvUubWri,
.qLp0KcsSp.bxWIXCT47 .bvUubWri {
    flex-direction: row !important;
}

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

.qLp0KcsSp.xbIRSI47IA {
    min-height: 400px !important;
}

.qLp0KcsSp.bnHIFdch7nU {
    min-height: 500px !important;
}

.qLp0KcsSp.qtBqvoUX2 {
    min-height: auto !important;
    height: auto !important;
}

.qLp0KcsSp.lvWOZxeNy9j {
    min-height: 100vh !important;
}

/* Content inner */
.qLp0KcsSp.dJrWckIVJlZ .wHArztgGhBIg,
.qLp0KcsSp.gZlqs7r8HY .wHArztgGhBIg,
.qLp0KcsSp.ceKSV5aX1 .wHArztgGhBIg,
.qLp0KcsSp.bxWIXCT47 .wHArztgGhBIg {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 11 !important;
}

.qLp0KcsSp.ceKSV5aX1 .wHArztgGhBIg,
.qLp0KcsSp.bxWIXCT47 .wHArztgGhBIg {
    width: 100%;
    max-width: 600px;
}

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

.qLp0KcsSp.dJrWckIVJlZ .bvUubWri,
.qLp0KcsSp.ceKSV5aX1 .bvUubWri {
    flex-direction: row !important;
}

/* Split content */
.qLp0KcsSp.dJrWckIVJlZ .mimlM0Wh,
.qLp0KcsSp.gZlqs7r8HY .mimlM0Wh,
.qLp0KcsSp.ceKSV5aX1 .mimlM0Wh,
.qLp0KcsSp.bxWIXCT47 .mimlM0Wh {
    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 */
.qLp0KcsSp.zEhUuFT1rG .mimlM0Wh {
    padding: 10px 15px !important;
}

.qLp0KcsSp.ybUyMr9ui8 .mimlM0Wh {
    padding: 20px 25px !important;
}

.qLp0KcsSp.uHlFqiJOJqFF .mimlM0Wh {
    padding: 30px 35px !important;
}

.qLp0KcsSp.iM3bh69T .mimlM0Wh {
    padding: 50px 40px !important;
}

.qLp0KcsSp.kAmmwuwdHt .mimlM0Wh {
    padding: 80px 50px !important;
}

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

.qLp0KcsSp.text-right .mimlM0Wh {
    justify-content: flex-end !important;
}

/* Split visual */
.qLp0KcsSp.dJrWckIVJlZ .wttnbStCkX,
.qLp0KcsSp.gZlqs7r8HY .wttnbStCkX,
.qLp0KcsSp.ceKSV5aX1 .wttnbStCkX,
.qLp0KcsSp.bxWIXCT47 .wttnbStCkX {
    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 */
.qLp0KcsSp.dJrWckIVJlZ .f0OyNNl4A,
.qLp0KcsSp.gZlqs7r8HY .f0OyNNl4A,
.qLp0KcsSp.ceKSV5aX1 .f0OyNNl4A,
.qLp0KcsSp.bxWIXCT47 .f0OyNNl4A {
    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;
}

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

/* Hide split elements in default layout */
.qLp0KcsSp.zAiyzxUPWS .mimlM0Wh,
.qLp0KcsSp.zAiyzxUPWS .wttnbStCkX,
.qLp0KcsSp.gJtc4324wtgj .mimlM0Wh,
.qLp0KcsSp.gJtc4324wtgj .wttnbStCkX {
    display: none !important;
}

.qLp0KcsSp.zAiyzxUPWS .lgfguTAnvj,
.qLp0KcsSp.gJtc4324wtgj .lgfguTAnvj {
    display: block !important;
}

/* Hide default content in split layouts */
.qLp0KcsSp.dJrWckIVJlZ .lgfguTAnvj,
.qLp0KcsSp.gZlqs7r8HY .lgfguTAnvj,
.qLp0KcsSp.ceKSV5aX1 .lgfguTAnvj,
.qLp0KcsSp.bxWIXCT47 .lgfguTAnvj {
    display: none !important;
}

/* Default layout */
.qLp0KcsSp.zAiyzxUPWS .bvUubWri {
    justify-content: center;
    align-items: center;
}

.qLp0KcsSp.zAiyzxUPWS .lgfguTAnvj {
    width: 100%;
    padding: 10px;
}

/* Text alignment */
.qLp0KcsSp.text-left,
.qLp0KcsSp.text-left .lgfguTAnvj,
.qLp0KcsSp.text-left .wHArztgGhBIg,
.qLp0KcsSp.text-left .mimlM0Wh {
    text-align: left !important;
}

.qLp0KcsSp.text-center,
.qLp0KcsSp.text-center .lgfguTAnvj,
.qLp0KcsSp.text-center .wHArztgGhBIg,
.qLp0KcsSp.text-center .mimlM0Wh {
    text-align: center !important;
}

.qLp0KcsSp.text-right,
.qLp0KcsSp.text-right .lgfguTAnvj,
.qLp0KcsSp.text-right .wHArztgGhBIg,
.qLp0KcsSp.text-right .mimlM0Wh {
    text-align: right !important;
}

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

.qLp0KcsSp.text-center .z7DFPynMTyzV {
    display: flex;
    justify-content: center !important;
}

.qLp0KcsSp.text-right .z7DFPynMTyzV {
    display: flex;
    justify-content: flex-end !important;
}

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

@media (max-width: 991px) {
    /* Stack split layouts vertically on tablets and mobile */
    .qLp0KcsSp.dJrWckIVJlZ .bvUubWri,
    .qLp0KcsSp.gZlqs7r8HY .bvUubWri,
    .qLp0KcsSp.ceKSV5aX1 .bvUubWri,
    .qLp0KcsSp.bxWIXCT47 .bvUubWri {
        flex-direction: column !important;
    }

    .qLp0KcsSp.dJrWckIVJlZ .mimlM0Wh,
    .qLp0KcsSp.gZlqs7r8HY .mimlM0Wh,
    .qLp0KcsSp.dJrWckIVJlZ .wttnbStCkX,
    .qLp0KcsSp.gZlqs7r8HY .wttnbStCkX,
    .qLp0KcsSp.ceKSV5aX1 .mimlM0Wh,
    .qLp0KcsSp.bxWIXCT47 .mimlM0Wh,
    .qLp0KcsSp.ceKSV5aX1 .lgfguTAnvj,
    .qLp0KcsSp.bxWIXCT47 .lgfguTAnvj,
    .qLp0KcsSp.ceKSV5aX1 .i6jR57DZGTRE,
    .qLp0KcsSp.bxWIXCT47 .i6jR57DZGTRE {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 300px !important;
    }
}
