@charset "UTF-8";

.half-content-masonry {
    position: relative;
    display: block;
    background-color: var( --dark-nvy );
    padding: 70px 0 0;
    /* background-image: url( '/wp-content/uploads/2025/11/News-1-Background.jpg.webp' ); */
    margin-top: -1px;
}

section.half-content-masonry .container {
    width: 100%;
    align-items: stretch;
}

.half-content-masonry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var( --white );
    border-radius: var( --secRadius );
}

.col {
    padding: 0 8px;
}

.half-content-masonry h2 {
    font-size: var( --h2-font-size );
    line-height: var( --h2-line-height );
    font-weight: var( --heading-font-weight );
    display: flex;
    flex-direction: column;
    gap: min( 140px, 7.29vw );
}

.half-content-masonry .nTxtTop.slideanim {
    height: clamp( 340px, 51.25vw, 984px );
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nTxtTop > div,
.nTxtBtm > div {
    width: 60%;
    display: block;
}

.half-content-masonry .nTxtBtm.slideanim {
    position: relative;
    width: 100%;
    float: left;
    display: flex;
    flex: 1;
    height: clamp( 340px, 51.25vw, 984px );
    flex-direction: column;
    justify-content: center;
}

.half-content-masonry .image {
    position: relative;
    width: calc( 100% - 46px );
    flex: 1;
    margin-right: 0 !important;
}

.half-content-masonry .image::after {
    position: absolute;
    content: '';
    display: block;
    top: 0;
    left: 0;
    width: clamp( 300px, 46.93vw, 901px );
    height: clamp( 340px, 51.25vw, 984px );
    background-image: url('/wp-content/uploads/2025/12/News-Shape-1.png');
    background-size: clamp( 300px, 46.93vw, 901px );
    /* transform: rotate(180deg); */
}

.half-content-masonry .image.align-left::after {
    transform: rotate(180deg);
}

.half-content-masonry .image picture {
    position: relative;
    display: block;
    width: clamp( 300px, 46.93vw, 901px );
    height: clamp( 340px, 51.25vw, 984px );
    overflow: hidden;
}

.half-content-masonry .image img {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    float: none;
    display: block;
    object-fit: cover;
    object-position: center;
    position: relative;
    aspect-ratio: 940 / 880;
    clip-path: polygon(50% 0, 100% 30%, 100% 70%, 50% 100%, 0 70%, 0 30%);
}

@media ( max-width: 1024px ) {
    .half-content-masonry {
        padding-bottom: 0;
        padding-top: 80px;
    }

    .half-content-masonry .image img {
        border-radius: 0;
        clip-path: unset;
        box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.10), 0 20px 30px 0 rgba(0, 0, 0, 0.05);
    }

    .half-content-masonry .image::after {
        display: none;
    }

    .half-content-masonry .nTxtTop.slideanim {
        height: unset;
        padding-bottom: 160px;
    }
    .half-content-masonry .nTxtBtm.slideanim {
        height: unset;
        padding: 56px 0 80px;
    }

    .nTxtTop > div, .nTxtBtm > div {
        width: 100%;
        display: block;
        padding: 0;
    }

    .half-content-masonry .heading {
        margin: 0;
    }

    .half-content-masonry .heading h2 {
        /* font-size: 44px; */
        margin-bottom: 0;
        font-size: 16px;
        font-weight: 500;
    }

    .half-content-masonry .heading h2 small {
        margin-bottom: 56px;
        gap: 20px;
        display: flex;
        font-family: var(--body-font);
        font-weight: 500;
        font-size: 16px;
        line-height: 150%;
        letter-spacing: 2.4px;
        text-transform: uppercase;
        flex-direction: row;
        align-content: center;
        justify-content: flex-start;
        align-items: center;
        gap: 24px;
    }

    .half-content-masonry .heading h2 small::after {
        content: '';
        display: flex;
        width: 60px;
        height: 2px;
        background-color: #34BCAA;
    }

    .half-content-masonry .container.flex {
        flex-wrap: wrap;
        padding: 0px 32px;
        margin-top: 0;
    }

    .half-content-masonry .container.flex .col {
        flex-direction: column;
        display: flex;
        padding: 0;
        align-items: flex-start;
    }

    .half-content-masonry .image {
        width: 100%;
        transform: unset;
    }

    .half-content-masonry .image picture {
        width: 100%;
        height: auto;
    }

    .nTxtTop,
    .nTxtBtm {
        padding: 48px 0 100px;
    }
}