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

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

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

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

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

.fB5vhpSlD0v.xsIGrYgC,
.fB5vhpSlD0v.mjHIOli3IcS,
.fB5vhpSlD0v.p95qsE1D,
.fB5vhpSlD0v.pKGoB8jcB {
    min-height: 500px !important;
}

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

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

.fB5vhpSlD0v .b7aRiGiJiW65 {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
}

.fB5vhpSlD0v.has-image.xsIGrYgC .rSXGB4Ksz,
.fB5vhpSlD0v.has-image.mjHIOli3IcS .rSXGB4Ksz,
.fB5vhpSlD0v.has-image.p95qsE1D .rSXGB4Ksz,
.fB5vhpSlD0v.has-image.pKGoB8jcB .rSXGB4Ksz,
.fB5vhpSlD0v.has-background-image.xsIGrYgC .rSXGB4Ksz,
.fB5vhpSlD0v.has-background-image.mjHIOli3IcS .rSXGB4Ksz,
.fB5vhpSlD0v.has-background-image.p95qsE1D .rSXGB4Ksz,
.fB5vhpSlD0v.has-background-image.pKGoB8jcB .rSXGB4Ksz {
    position: relative;
    z-index: 100 !important;
}

/* Default Style */
.fB5vhpSlD0v.v841IBeJBoi {
    justify-content: center;
    align-items: center;
}

.fB5vhpSlD0v.v841IBeJBoi .b7aRiGiJiW65 {
    margin: 0 auto;
    width: 100%;
}

.fB5vhpSlD0v.v841IBeJBoi .oXW1MMaEcAN {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Split Styles */
.fB5vhpSlD0v.p95qsE1D,
.fB5vhpSlD0v.pKGoB8jcB,
.fB5vhpSlD0v.xsIGrYgC,
.fB5vhpSlD0v.mjHIOli3IcS {
    display: flex !important;
    align-items: stretch;
    min-height: auto;
    padding: 0 !important;
}

/* Override padding for split layouts */
.fB5vhpSlD0v.xsIGrYgC.rLkRJDyerTP2,
.fB5vhpSlD0v.xsIGrYgC.kPYbGgXAIm3,
.fB5vhpSlD0v.xsIGrYgC.jUj8sBMn0l,
.fB5vhpSlD0v.xsIGrYgC.qBnwvOt17r,
.fB5vhpSlD0v.xsIGrYgC.w4KxXq50H1R,
.fB5vhpSlD0v.mjHIOli3IcS.rLkRJDyerTP2,
.fB5vhpSlD0v.mjHIOli3IcS.kPYbGgXAIm3,
.fB5vhpSlD0v.mjHIOli3IcS.jUj8sBMn0l,
.fB5vhpSlD0v.mjHIOli3IcS.qBnwvOt17r,
.fB5vhpSlD0v.mjHIOli3IcS.w4KxXq50H1R,
.fB5vhpSlD0v.p95qsE1D.rLkRJDyerTP2,
.fB5vhpSlD0v.p95qsE1D.kPYbGgXAIm3,
.fB5vhpSlD0v.p95qsE1D.jUj8sBMn0l,
.fB5vhpSlD0v.p95qsE1D.qBnwvOt17r,
.fB5vhpSlD0v.p95qsE1D.w4KxXq50H1R,
.fB5vhpSlD0v.pKGoB8jcB.rLkRJDyerTP2,
.fB5vhpSlD0v.pKGoB8jcB.kPYbGgXAIm3,
.fB5vhpSlD0v.pKGoB8jcB.jUj8sBMn0l,
.fB5vhpSlD0v.pKGoB8jcB.qBnwvOt17r,
.fB5vhpSlD0v.pKGoB8jcB.w4KxXq50H1R {
    padding: 0 !important;
}

.fB5vhpSlD0v.p95qsE1D .oXW1MMaEcAN,
.fB5vhpSlD0v.pKGoB8jcB .oXW1MMaEcAN,
.fB5vhpSlD0v.xsIGrYgC .oXW1MMaEcAN,
.fB5vhpSlD0v.mjHIOli3IcS .oXW1MMaEcAN {
    display: flex !important;
    width: 100%;
    align-items: stretch;
    min-height: 500px !important;
}

.fB5vhpSlD0v.p95qsE1D .b7aRiGiJiW65,
.fB5vhpSlD0v.pKGoB8jcB .b7aRiGiJiW65 {
    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;
}

.fB5vhpSlD0v.p95qsE1D .dDswpQlFWl16,
.fB5vhpSlD0v.pKGoB8jcB .dDswpQlFWl16 {
    flex: 0 0 50%;
    width: 50%;
    min-height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fB5vhpSlD0v.p95qsE1D .dDswpQlFWl16 img,
.fB5vhpSlD0v.pKGoB8jcB .dDswpQlFWl16 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Reverse direction */
.fB5vhpSlD0v.mjHIOli3IcS .oXW1MMaEcAN,
.fB5vhpSlD0v.pKGoB8jcB .oXW1MMaEcAN {
    flex-direction: row !important;
}

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

.fB5vhpSlD0v.ohLYvSBuLsAe {
    min-height: 400px !important;
}

.fB5vhpSlD0v.pfA72ksCxdfi {
    min-height: 500px !important;
}

.fB5vhpSlD0v.lFhQVmkl6J {
    min-height: auto !important;
    height: auto !important;
}

.fB5vhpSlD0v.b0zljxPTg3 {
    min-height: 100vh !important;
}

/* Content inner */
.fB5vhpSlD0v.xsIGrYgC .pPg2A0tF0BT2,
.fB5vhpSlD0v.mjHIOli3IcS .pPg2A0tF0BT2,
.fB5vhpSlD0v.p95qsE1D .pPg2A0tF0BT2,
.fB5vhpSlD0v.pKGoB8jcB .pPg2A0tF0BT2 {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 11 !important;
}

.fB5vhpSlD0v.p95qsE1D .pPg2A0tF0BT2,
.fB5vhpSlD0v.pKGoB8jcB .pPg2A0tF0BT2 {
    width: 100%;
    max-width: 600px;
}

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

.fB5vhpSlD0v.xsIGrYgC .oXW1MMaEcAN,
.fB5vhpSlD0v.p95qsE1D .oXW1MMaEcAN {
    flex-direction: row !important;
}

/* Split content */
.fB5vhpSlD0v.xsIGrYgC .rSXGB4Ksz,
.fB5vhpSlD0v.mjHIOli3IcS .rSXGB4Ksz,
.fB5vhpSlD0v.p95qsE1D .rSXGB4Ksz,
.fB5vhpSlD0v.pKGoB8jcB .rSXGB4Ksz {
    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 */
.fB5vhpSlD0v.rLkRJDyerTP2 .rSXGB4Ksz {
    padding: 10px 15px !important;
}

.fB5vhpSlD0v.kPYbGgXAIm3 .rSXGB4Ksz {
    padding: 20px 25px !important;
}

.fB5vhpSlD0v.jUj8sBMn0l .rSXGB4Ksz {
    padding: 30px 35px !important;
}

.fB5vhpSlD0v.qBnwvOt17r .rSXGB4Ksz {
    padding: 50px 40px !important;
}

.fB5vhpSlD0v.w4KxXq50H1R .rSXGB4Ksz {
    padding: 80px 50px !important;
}

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

.fB5vhpSlD0v.text-right .rSXGB4Ksz {
    justify-content: flex-end !important;
}

/* Split visual */
.fB5vhpSlD0v.xsIGrYgC .kgAX1YUFm,
.fB5vhpSlD0v.mjHIOli3IcS .kgAX1YUFm,
.fB5vhpSlD0v.p95qsE1D .kgAX1YUFm,
.fB5vhpSlD0v.pKGoB8jcB .kgAX1YUFm {
    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 */
.fB5vhpSlD0v.xsIGrYgC .oW05GPLyc,
.fB5vhpSlD0v.mjHIOli3IcS .oW05GPLyc,
.fB5vhpSlD0v.p95qsE1D .oW05GPLyc,
.fB5vhpSlD0v.pKGoB8jcB .oW05GPLyc {
    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;
}

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

/* Hide split elements in default layout */
.fB5vhpSlD0v.i6YcBBFNN2 .rSXGB4Ksz,
.fB5vhpSlD0v.i6YcBBFNN2 .kgAX1YUFm,
.fB5vhpSlD0v.v841IBeJBoi .rSXGB4Ksz,
.fB5vhpSlD0v.v841IBeJBoi .kgAX1YUFm {
    display: none !important;
}

.fB5vhpSlD0v.i6YcBBFNN2 .b7aRiGiJiW65,
.fB5vhpSlD0v.v841IBeJBoi .b7aRiGiJiW65 {
    display: block !important;
}

/* Hide default content in split layouts */
.fB5vhpSlD0v.xsIGrYgC .b7aRiGiJiW65,
.fB5vhpSlD0v.mjHIOli3IcS .b7aRiGiJiW65,
.fB5vhpSlD0v.p95qsE1D .b7aRiGiJiW65,
.fB5vhpSlD0v.pKGoB8jcB .b7aRiGiJiW65 {
    display: none !important;
}

/* Default layout */
.fB5vhpSlD0v.i6YcBBFNN2 .oXW1MMaEcAN {
    justify-content: center;
    align-items: center;
}

.fB5vhpSlD0v.i6YcBBFNN2 .b7aRiGiJiW65 {
    width: 100%;
    padding: 10px;
}

/* Text alignment */
.fB5vhpSlD0v.text-left,
.fB5vhpSlD0v.text-left .b7aRiGiJiW65,
.fB5vhpSlD0v.text-left .pPg2A0tF0BT2,
.fB5vhpSlD0v.text-left .rSXGB4Ksz {
    text-align: left !important;
}

.fB5vhpSlD0v.text-center,
.fB5vhpSlD0v.text-center .b7aRiGiJiW65,
.fB5vhpSlD0v.text-center .pPg2A0tF0BT2,
.fB5vhpSlD0v.text-center .rSXGB4Ksz {
    text-align: center !important;
}

.fB5vhpSlD0v.text-right,
.fB5vhpSlD0v.text-right .b7aRiGiJiW65,
.fB5vhpSlD0v.text-right .pPg2A0tF0BT2,
.fB5vhpSlD0v.text-right .rSXGB4Ksz {
    text-align: right !important;
}

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

.fB5vhpSlD0v.text-center .eq3sTbercZ {
    display: flex;
    justify-content: center !important;
}

.fB5vhpSlD0v.text-right .eq3sTbercZ {
    display: flex;
    justify-content: flex-end !important;
}

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

@media (max-width: 991px) {
    /* Stack split layouts vertically on tablets and mobile */
    .fB5vhpSlD0v.xsIGrYgC .oXW1MMaEcAN,
    .fB5vhpSlD0v.mjHIOli3IcS .oXW1MMaEcAN,
    .fB5vhpSlD0v.p95qsE1D .oXW1MMaEcAN,
    .fB5vhpSlD0v.pKGoB8jcB .oXW1MMaEcAN {
        flex-direction: column !important;
    }

    .fB5vhpSlD0v.xsIGrYgC .rSXGB4Ksz,
    .fB5vhpSlD0v.mjHIOli3IcS .rSXGB4Ksz,
    .fB5vhpSlD0v.xsIGrYgC .kgAX1YUFm,
    .fB5vhpSlD0v.mjHIOli3IcS .kgAX1YUFm,
    .fB5vhpSlD0v.p95qsE1D .rSXGB4Ksz,
    .fB5vhpSlD0v.pKGoB8jcB .rSXGB4Ksz,
    .fB5vhpSlD0v.p95qsE1D .b7aRiGiJiW65,
    .fB5vhpSlD0v.pKGoB8jcB .b7aRiGiJiW65,
    .fB5vhpSlD0v.p95qsE1D .dDswpQlFWl16,
    .fB5vhpSlD0v.pKGoB8jcB .dDswpQlFWl16 {
        flex: 1 1 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 300px !important;
    }
}
