.contentWrap {
    --sr: 20px;
    --sg: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.contentWrap p,
.contentWrap h2 {
    width: 100%;
    /* text-align: start; */
}

.contentWrap ol {
    margin-bottom: 30px;
}

.contentWrap .imgWrap {
    width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 50px;
}

@media only screen and (max-width: 1024px) {
    .contentWrap .imgWrap {
        margin-top: 10px;
        gap: 30px;
    }
}

@media only screen and (max-width: 768px) {
    .contentWrap .imgWrap {
        margin-top: 0;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

.contentWrap .imgWrap.reverse {
    flex-direction: row-reverse;
}

@media only screen and (max-width: 768px) {
    .contentWrap .imgWrap.reverse {
        flex-direction: column-reverse;
    }
}

.contentWrap .imgWrap .imgGrid {
    width: 31%;
    display: flex;
    align-items: center;
    flex-direction: column;
    /* border-radius: 0 40px 40px 40px; */
    overflow: hidden;
    position: relative;
    gap: var(--sg);
}

@media only screen and (max-width: 768px) {
    .contentWrap .imgWrap .imgGrid {
        width: 100%;
        max-width: 500px;
    }
}

/* .contentWrap .imgWrap .imgGrid:hover {
    box-shadow: 0 0 10px #2d2d2d00080;
} */

.contentWrap .imgWrap .imgGrid .imgContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.contentWrap .imgWrap .imgGrid:nth-child(odd) .imgContainer {
    mask-image:
        /* notch */
        radial-gradient(circle calc(var(--sr) + var(--sg)) at 50% calc(100% + var(--sg)), transparent calc(100% - 0.5px), white 100%),
        /* notch */
        radial-gradient(circle calc(var(--sr) + var(--sg)) at 50% calc(var(--sr) - var(--sg)), transparent calc(100% - 0.5px), white 100%),
        /* chop top & bottom */
        linear-gradient(to bottom, transparent var(--sr), white var(--sr), white 0);
    mask-composite: intersect, intersect;
    mask-repeat: no-repeat;
}

.contentWrap .imgWrap .imgGrid:nth-child(even) .imgContainer {
    mask-image:
        /* protrusion */
        radial-gradient(circle var(--sr) at 50% var(--sr), white calc(100% - 0.5px), transparent 100%),
        /* notch */
        radial-gradient(circle calc(var(--sr) + var(--sg)) at 50% calc(100% + var(--sg)), transparent calc(100% - 0.5px), white 100%),
        /* chop top & bottom */
        linear-gradient(to bottom, transparent var(--sr), white var(--sr), white 0);
    mask-composite: add, intersect;
    mask-repeat: no-repeat;
}

.contentWrap .imgWrap .imgGrid img {
    width: 100%;
    height: auto;
    max-width: 500px;
}

.contentWrap .imgWrap .imgGrid:hover img {
    transform: scale(1.2);
}

/* .contentWrap .imgWrap .imgGrid h5 {
    width: 100%;
    flex: 1;
    padding: 25px 20px;
    color: #fff;
    background-color: #ec1c23;
    text-align: center;
}

@media only screen and (max-width: 1024px) {
    .contentWrap .imgWrap .imgGrid h5 {
        padding: 15px 20px;
    }
} */

.contentWrap .imgWrap .imgContent {
    margin-top: calc(-1 * var(--sr));
    width: 100%;
    padding: 60px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #ec1c23;
    gap: 20px;
}

.contentWrap .imgWrap .imgGrid:nth-child(odd) .imgContent {
    mask-image:
        /* protrusion */
        radial-gradient(circle var(--sr) at 50% var(--sr), white calc(100% - 0.5px), transparent 100%),
        /* notch */
        radial-gradient(circle calc(var(--sr) + var(--sg)) at 50% calc(100% - var(--sr) + var(--sg)), transparent calc(100% - 0.5px), white 100%),
        /* chop top & bottom */
        linear-gradient(to bottom, transparent var(--sr), white var(--sr), white calc(100% - var(--sr)), transparent 0)
        /* , */
        /* chop left & right */
        /* linear-gradient(to right, transparent var(--sr), white var(--sr), white calc(100% - var(--sr)), transparent 0) */
    ;
    mask-composite: add, intersect
        /* , intersect */
    ;
    mask-repeat: no-repeat;
}

.contentWrap .imgWrap .imgGrid:nth-child(even) .imgContent {
    mask-image:
        /* protrusion */
        radial-gradient(circle var(--sr) at 50% var(--sr), white calc(100% - 0.5px), transparent 100%),
        /* protrusion */
        radial-gradient(circle var(--sr) at 50% calc(100% - var(--sr)), white calc(100% - 0.5px), transparent 100%),
        /* chop top & bottom */
        linear-gradient(to bottom, transparent var(--sr), white var(--sr), white calc(100% - var(--sr)), transparent 0);
    mask-composite: add, add;
    mask-repeat: no-repeat;
}

.contentWrap .imgWrap .imgContent h3 {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.contentWrap .imgWrap .imgContent p {
    font-size: 14px;
    color: #fff;
}