.half-image-text-block {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 80px 20px;
}

.half-image-text-block-content {
    margin-bottom: 30px;
}

.half-image-text-block-image {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    height: 100%;
    width: 100%;
    margin-top: 25px;
}

.half-image-text-block-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    margin: 0;
    object-fit: cover;
    max-height: 300px;
}

.half-image-text-block h2 {
    color: #1E355E;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 0;
    line-height: 1.05;
    font-family: 'Montserrat', Arial, sans-serif;
}

.half-image-text-block h3 {
    color: #1E355E;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 24px;
    margin-top: 0;
    line-height: 1.05;
    font-family: 'Montserrat', Arial, sans-serif;
}

.half-image-text-block h4 {
    color: #1E355E;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
    margin-top: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    text-transform: uppercase;
}

.half-image-text-block p,
.half-image-text-block ul li {
    font-size: 14px;
    line-height: 36px;
}

.half-image-text-block a:not(.btn) {
    color: #2d3a5b;
    font-weight: 600;
}

.half-image-text-block .btn.btn-primary {
    background: #E6413F;
    color: #fff;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 12px;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(231,76,60,0.10);
    letter-spacing: 0.5px;
    flex-wrap: wrap;
    text-align: center;
    text-wrap: auto;
    font-family: Raleway,sans-serif;
}

.half-image-text-block .btn.btn-primary::after {
    display: none;
}

.half-image-text-block .btn.btn-primary:hover {
    background: #c0392b;
}

.half-image-text-block-content-inner ul {
    padding-left: 24px;
    margin-bottom: 40px;
    margin-top: 10px;
    display: inline-block;
}

.half-image-text-block-content-inner ul li {
    list-style: disc;
}

@media (min-width: 768px) {
    .half-image-text-block-image {
        margin-top: 0;
    }

    .half-image-text-block-image img {
        border-radius: 12px;
        max-height: 400px;
    }

    .half-image-text-block h2 {
        font-size: 24px;
    }

    .half-image-text-block h3 {
        font-weight: 400;
        font-size: 20px;
    }

    .half-image-text-block h4 {
        font-size: 16px;
    }

    .half-image-text-block p,
    .half-image-text-block ul li {
        font-size: 16px;
        line-height: 36px;
    }
}

@media (min-width: 1200px) {
    .half-image-text-block {
        padding: 80px 0;
        align-items: center;
    }

    .half-image-text-block.image-display-left {
        flex-direction: row-reverse;
    }

    .half-image-text-block-content {
        flex: 0 0 55%;
        justify-content: flex-end;
        display: flex;
        margin-bottom: 0;
    }

    .half-image-text-block.image-display-left .half-image-text-block-content {
        justify-content: flex-start;
    }

    .half-image-text-block-content-inner {
        max-width: 695px;
        padding-right: 25px;
        padding-left: 20px;
    }

    .half-image-text-block.image-display-left .half-image-text-block-content-inner {
        padding-right: 20px;
        padding-left: 15px;
    }

    .half-image-text-block-image {
        flex: 0 0 45%;
        padding-left: 25px;
    }

    .half-image-text-block.image-display-left .half-image-text-block-image {
        padding-left: 0;
        padding-right: 25px;
    }

    .half-image-text-block-image img {
        border-radius: 15px 0 0 15px;
        max-height: unset;
    }

    .half-image-text-block.image-display-left .half-image-text-block-image img {
        border-radius: 0 15px 15px 0;
    }

    .half-image-text-block h2 {
        font-size: 62px;
        line-height: 82px;
        font-weight: 600;
    }

    .half-image-text-block h3 {
        font-weight: 400;
        font-size: 52px;
    }

    .half-image-text-block h4 {
        font-size: 28px;
        font-weight: 600;
    }

    .half-image-text-block p,
    .half-image-text-block ul li {
        font-size: 18px;
        line-height: 36px;
    }
}
