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

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

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

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

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

.b8C6RrQPeI.oBgU58avE,
.b8C6RrQPeI.fyW77AlYs,
.b8C6RrQPeI.riXKkb0E5g,
.b8C6RrQPeI.xajbDMlq {
    min-height: 500px !important;
}

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

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

.b8C6RrQPeI .sBCPuCxrUBU {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.b8C6RrQPeI.has-image.oBgU58avE .xSZrijo1,
.b8C6RrQPeI.has-image.fyW77AlYs .xSZrijo1,
.b8C6RrQPeI.has-image.riXKkb0E5g .xSZrijo1,
.b8C6RrQPeI.has-image.xajbDMlq .xSZrijo1,
.b8C6RrQPeI.has-background-image.oBgU58avE .xSZrijo1,
.b8C6RrQPeI.has-background-image.fyW77AlYs .xSZrijo1,
.b8C6RrQPeI.has-background-image.riXKkb0E5g .xSZrijo1,
.b8C6RrQPeI.has-background-image.xajbDMlq .xSZrijo1 {
    position: relative;
    z-index: 100 !important;
}

/* Default Style */
.b8C6RrQPeI.zusUQuejh {
    justify-content: center;
    align-items: center;
}

.b8C6RrQPeI.zusUQuejh .sBCPuCxrUBU {
    margin: 0 auto;
    width: 100%;
}

.b8C6RrQPeI.zusUQuejh .v0JMgFuU {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Split Styles */
.b8C6RrQPeI.riXKkb0E5g,
.b8C6RrQPeI.xajbDMlq,
.b8C6RrQPeI.oBgU58avE,
.b8C6RrQPeI.fyW77AlYs {
    display: flex !important;
    align-items: stretch;
    min-height: auto;
    padding: 0 !important;
}

/* Override padding for split layouts */
.b8C6RrQPeI.oBgU58avE.qDq672isU7ZH,
.b8C6RrQPeI.oBgU58avE.lE3xhDqLfJ6o,
.b8C6RrQPeI.oBgU58avE.xTz9Ucef2taq,
.b8C6RrQPeI.oBgU58avE.hMvvPxkJf6,
.b8C6RrQPeI.oBgU58avE.ciWK8v4WwT2U,
.b8C6RrQPeI.fyW77AlYs.qDq672isU7ZH,
.b8C6RrQPeI.fyW77AlYs.lE3xhDqLfJ6o,
.b8C6RrQPeI.fyW77AlYs.xTz9Ucef2taq,
.b8C6RrQPeI.fyW77AlYs.hMvvPxkJf6,
.b8C6RrQPeI.fyW77AlYs.ciWK8v4WwT2U,
.b8C6RrQPeI.riXKkb0E5g.qDq672isU7ZH,
.b8C6RrQPeI.riXKkb0E5g.lE3xhDqLfJ6o,
.b8C6RrQPeI.riXKkb0E5g.xTz9Ucef2taq,
.b8C6RrQPeI.riXKkb0E5g.hMvvPxkJf6,
.b8C6RrQPeI.riXKkb0E5g.ciWK8v4WwT2U,
.b8C6RrQPeI.xajbDMlq.qDq672isU7ZH,
.b8C6RrQPeI.xajbDMlq.lE3xhDqLfJ6o,
.b8C6RrQPeI.xajbDMlq.xTz9Ucef2taq,
.b8C6RrQPeI.xajbDMlq.hMvvPxkJf6,
.b8C6RrQPeI.xajbDMlq.ciWK8v4WwT2U {
    padding: 0 !important;
}

.b8C6RrQPeI.riXKkb0E5g .v0JMgFuU,
.b8C6RrQPeI.xajbDMlq .v0JMgFuU,
.b8C6RrQPeI.oBgU58avE .v0JMgFuU,
.b8C6RrQPeI.fyW77AlYs .v0JMgFuU {
    display: flex !important;
    width: 100%;
    align-items: stretch;
    min-height: 500px !important;
}

.b8C6RrQPeI.riXKkb0E5g .sBCPuCxrUBU,
.b8C6RrQPeI.xajbDMlq .sBCPuCxrUBU {
    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;
}

.b8C6RrQPeI.riXKkb0E5g .mwuQi1cY7fJ,
.b8C6RrQPeI.xajbDMlq .mwuQi1cY7fJ {
    flex: 0 0 50%;
    width: 50%;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b8C6RrQPeI.riXKkb0E5g .mwuQi1cY7fJ img,
.b8C6RrQPeI.xajbDMlq .mwuQi1cY7fJ img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Reverse direction */
.b8C6RrQPeI.fyW77AlYs .v0JMgFuU,
.b8C6RrQPeI.xajbDMlq .v0JMgFuU {
    flex-direction: row !important;
}

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

.b8C6RrQPeI.v5Z7g5LwsHE {
    min-height: 400px !important;
}

.b8C6RrQPeI.wrHL94aN {
    min-height: 500px !important;
}

.b8C6RrQPeI.zNrNEd3jgJF {
    min-height: auto !important;
    height: auto !important;
}

.b8C6RrQPeI.hWRzo1h19Fr {
    min-height: 100vh !important;
}

/* Content inner */
.b8C6RrQPeI.oBgU58avE .c90Mh2wZT6O,
.b8C6RrQPeI.fyW77AlYs .c90Mh2wZT6O,
.b8C6RrQPeI.riXKkb0E5g .c90Mh2wZT6O,
.b8C6RrQPeI.xajbDMlq .c90Mh2wZT6O {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 11 !important;
}

.b8C6RrQPeI.riXKkb0E5g .c90Mh2wZT6O,
.b8C6RrQPeI.xajbDMlq .c90Mh2wZT6O {
    width: 100%;
    max-width: 600px;
}

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

.b8C6RrQPeI.oBgU58avE .v0JMgFuU,
.b8C6RrQPeI.riXKkb0E5g .v0JMgFuU {
    flex-direction: row !important;
}

/* Split content */
.b8C6RrQPeI.oBgU58avE .xSZrijo1,
.b8C6RrQPeI.fyW77AlYs .xSZrijo1,
.b8C6RrQPeI.riXKkb0E5g .xSZrijo1,
.b8C6RrQPeI.xajbDMlq .xSZrijo1 {
    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 */
.b8C6RrQPeI.qDq672isU7ZH .xSZrijo1 {
    padding: 10px 15px !important;
}

.b8C6RrQPeI.lE3xhDqLfJ6o .xSZrijo1 {
    padding: 20px 25px !important;
}

.b8C6RrQPeI.xTz9Ucef2taq .xSZrijo1 {
    padding: 30px 35px !important;
}

.b8C6RrQPeI.hMvvPxkJf6 .xSZrijo1 {
    padding: 50px 40px !important;
}

.b8C6RrQPeI.ciWK8v4WwT2U .xSZrijo1 {
    padding: 80px 50px !important;
}

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

.b8C6RrQPeI.text-right .xSZrijo1 {
    justify-content: flex-end !important;
}

/* Split visual */
.b8C6RrQPeI.oBgU58avE .qaMuboIlRJ6i,
.b8C6RrQPeI.fyW77AlYs .qaMuboIlRJ6i,
.b8C6RrQPeI.riXKkb0E5g .qaMuboIlRJ6i,
.b8C6RrQPeI.xajbDMlq .qaMuboIlRJ6i {
    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 */
.b8C6RrQPeI.oBgU58avE .quFdWFa5Y,
.b8C6RrQPeI.fyW77AlYs .quFdWFa5Y,
.b8C6RrQPeI.riXKkb0E5g .quFdWFa5Y,
.b8C6RrQPeI.xajbDMlq .quFdWFa5Y {
    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;
}

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

/* Hide split elements in default layout */
.b8C6RrQPeI.fjnfj2PT .xSZrijo1,
.b8C6RrQPeI.fjnfj2PT .qaMuboIlRJ6i,
.b8C6RrQPeI.zusUQuejh .xSZrijo1,
.b8C6RrQPeI.zusUQuejh .qaMuboIlRJ6i {
    display: none !important;
}

.b8C6RrQPeI.fjnfj2PT .sBCPuCxrUBU,
.b8C6RrQPeI.zusUQuejh .sBCPuCxrUBU {
    display: block !important;
}

/* Hide default content in split layouts */
.b8C6RrQPeI.oBgU58avE .sBCPuCxrUBU,
.b8C6RrQPeI.fyW77AlYs .sBCPuCxrUBU,
.b8C6RrQPeI.riXKkb0E5g .sBCPuCxrUBU,
.b8C6RrQPeI.xajbDMlq .sBCPuCxrUBU {
    display: none !important;
}

/* Default layout */
.b8C6RrQPeI.fjnfj2PT .v0JMgFuU {
    justify-content: center;
    align-items: center;
}

.b8C6RrQPeI.fjnfj2PT .sBCPuCxrUBU {
    width: 100%;
    padding: 10px;
}

/* Text alignment */
.b8C6RrQPeI.text-left,
.b8C6RrQPeI.text-left .sBCPuCxrUBU,
.b8C6RrQPeI.text-left .c90Mh2wZT6O,
.b8C6RrQPeI.text-left .xSZrijo1 {
    text-align: left !important;
}

.b8C6RrQPeI.text-center,
.b8C6RrQPeI.text-center .sBCPuCxrUBU,
.b8C6RrQPeI.text-center .c90Mh2wZT6O,
.b8C6RrQPeI.text-center .xSZrijo1 {
    text-align: center !important;
}

.b8C6RrQPeI.text-right,
.b8C6RrQPeI.text-right .sBCPuCxrUBU,
.b8C6RrQPeI.text-right .c90Mh2wZT6O,
.b8C6RrQPeI.text-right .xSZrijo1 {
    text-align: right !important;
}

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

.b8C6RrQPeI.text-center .a95Z2NlEw {
    display: flex;
    justify-content: center !important;
}

.b8C6RrQPeI.text-right .a95Z2NlEw {
    display: flex;
    justify-content: flex-end !important;
}

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

@media (max-width: 991px) {
    /* Stack split layouts vertically on tablets and mobile */
    .b8C6RrQPeI.oBgU58avE .v0JMgFuU,
    .b8C6RrQPeI.fyW77AlYs .v0JMgFuU,
    .b8C6RrQPeI.riXKkb0E5g .v0JMgFuU,
    .b8C6RrQPeI.xajbDMlq .v0JMgFuU {
        flex-direction: column !important;
    }

    .b8C6RrQPeI.oBgU58avE .xSZrijo1,
    .b8C6RrQPeI.fyW77AlYs .xSZrijo1,
    .b8C6RrQPeI.oBgU58avE .qaMuboIlRJ6i,
    .b8C6RrQPeI.fyW77AlYs .qaMuboIlRJ6i,
    .b8C6RrQPeI.riXKkb0E5g .xSZrijo1,
    .b8C6RrQPeI.xajbDMlq .xSZrijo1,
    .b8C6RrQPeI.riXKkb0E5g .sBCPuCxrUBU,
    .b8C6RrQPeI.xajbDMlq .sBCPuCxrUBU,
    .b8C6RrQPeI.riXKkb0E5g .mwuQi1cY7fJ,
    .b8C6RrQPeI.xajbDMlq .mwuQi1cY7fJ {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 300px !important;
    }
}
