.parallax-block {
    margin: 0;
    padding: 0;
}

.parallax-block .inner-container {
    margin: 0 auto;
    padding: 0 15px;
}

.parallax-block .row {
    display: flex;
    align-items: center;
    min-height: 400px;
    margin: 0;
}

/* Layout classes are assigned server-side from the configured layout mode. */
.parallax-block .row.dx-image-left {
    flex-direction: row;
}

.parallax-block .row.dx-image-right {
    flex-direction: row-reverse;
}

/* Image column */
.parallax-block .image-col {
    flex: 0 0 50%;
    padding: 10px;
}

.parallax-block .image-col img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Text column */
.parallax-block .text-col {
    flex: 0 0 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.text-col .text-wrapper {
    max-width: 600px;
    width: 100%;
}

.text-col h3.block-title {
    color: #000;
    margin-bottom: 25px;
    width: 100%;
    font-size: 1.5rem;
    font-weight: 600;
}

.text-col .description {
    color: #000;
    line-height: 1.6;
    width: 100%;
}

.text-col .description p {
    margin-bottom: 1rem;
}

.text-col .description p:last-child {
    margin-bottom: 0;
}

/* Characteristics hook specific styles */
.dx-parallax-characteristics {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
    .parallax-block .row {
        flex-direction: column !important;
        min-height: auto;
    }

    .parallax-block .image-col,
    .parallax-block .text-col {
        flex: 0 0 100%;
        padding: 15px;
    }

    .parallax-block .image-col {
        order: -1;
        margin-bottom: 20px;
    }

    .parallax-block .text-col {
        text-align: center;
        padding: 15px;
    }

    .parallax-block .text-col h3.block-title {
        font-size: 1.25rem;
        margin-bottom: 15px;
    }
}

/* Tablet responsiveness */
@media (min-width: 768px) and (max-width: 991px) {
    .parallax-block .row {
        min-height: 300px;
    }

    .parallax-block .text-col {
        padding: 25px;
    }

    .parallax-block .text-col h3.block-title {
        font-size: 1.35rem;
    }
}
