.image-content {
    padding: 4rem 2rem 0 2rem;
    overflow: hidden;
}

.image-content-pad {
    padding-bottom: 4rem;
}

.image-content + .image-content {
    padding-top: 0;
}

.image-content + .accordion-section:not(.has-bg) {
    padding-top: 0;
}

.image-content .image-content__title {
    font-size: 50px;
    font-weight: 600;
    margin-bottom: 1rem;
}
.image-content {
    margin-top: 30px;
}

.image-content .image-content__subtitle {
    font-size: 28px;
    color: var(--color--primary);
    text-align: center;
    margin-bottom: 2rem;
}

.image-content .content-container {
    display: flex;
    justify-content: space-between;
    padding: 0;
    background-color: var(--color--black);
    position: relative;
    overflow: hidden;
}

.image-content .content-container > * {
    width: calc(50% - 2rem);
}

.image-content .content-container .image-content__image {
    position: relative;
}

.image-content .content-container .image-content__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-content .content-container .image-content__body {
    z-index: 3;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    flex-flow: column;
    padding: 30px;
    display: flex;
    position: relative;
    justify-content: center;
}

.image-content .content-container .image-content__body a {
    color: var(--color--primary);
}

.image-content .content-container .image-content__body h2 {
    font-size: 30px;
    font-weight: 600;
}
.image-content__body p {
    font-size: 18px;
}
.image-content .content-container .image-content__body .content ul li h3 {
    font-size: 20px;
}

.image-content .content-container .image-content__body > .icon {
    color: var(--color--primary);
    font-size: 40px;
    margin-bottom: 2rem;
}

.image-content .content-container .image-content__body .quote {
    border-left: 5px solid var(--color--primary);
    padding-left: 1rem;
    margin-left: 1.5rem;
    margin-top: 2rem;
}

.image-content .content-container .image-content__body .quote__content {
    margin-bottom: 1rem;
}

.image-content .content-container .image-content__body .content ul li {
    margin-bottom: 1rem;
}

.image-content .content-container .image-content__body h2 span {
    text-transform: uppercase;
    font-weight: 900;
    font-size: 32px;
    color: var(--color--primary);
}

.btn-primary {
    color: white;
}

.image-content__body .content img {
    /* CSS to ensure user added images inside the content section do not overflow and have spacing between them */
    max-width: 100%;
    object-fit: contain;
    margin-top: 10px;
    margin-bottom: 10px;
}

.slice-right img,
img.slice-right {
    /* CSS to slice image from top left towards bottom right */
    width: 100%;
    clip-path: polygon(15% 100%, 100% 100%, 100% 0%, 0% 0%);
}

.slice-left img,
img.slice-left {
    /* CSS to slice image from top right towards bottom left */
    width: 100%;
    clip-path: polygon(0% 0%, 100% 0%, 85% 100%, 0% 100%);
}

#fire-science-research-image-content .image-content__image {
    max-height: 705px;
}

#fire-science-research-image-content.image-content .content-container .image-content__body > .icon {
    margin-bottom: 0;
}

#fire-science-research-image-content .image-content__body {
    padding: calc(1rem + 40px) calc(1rem + 40px) 0;
}

.image-content__body .content {
    margin-bottom: 10px;
}

.image-content__body img {
    border-radius: 10px;
}

/*----------------------------------------*/
/*             REVAMP - START             */
/*----------------------------------------*/

.revamp .image-content {
    margin: 0;
    padding: 40px 0;
    position: relative;
}
.revamp .image-content .content-container {
    background-color: transparent;
    padding: 10px 0;
}

.revamp .image-content__bg-texture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
}
.revamp .image-content__bg-texture img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

/*background colors*/
.revamp .image-content.image-content--white-bg {
    background: #fff;
    box-shadow: 6px 0px 17px #00000022;
}
.revamp .image-content.image-content--gray-bg {
    background: #f2f3f4;
    box-shadow: 6px 0px 17px #00000022;
}
.revamp .image-content.image-content--white-bg .image-content__body,
.revamp .image-content.image-content--gray-bg .image-content__body {
    color: #222;
}

.revamp .image-content.image-content--blue-bg {
    background: #0d283e;
    box-shadow: 6px 0px 17px #00000066;
}
.revamp .image-content.image-content--black-bg {
    background: #222;
    box-shadow: 6px 0px 17px #00000066;
}
.revamp .image-content.image-content--blue-bg .image-content__body,
.revamp .image-content.image-content--black-bg .image-content__body {
    color: #fff;
}

/*image side*/

/*decoration*/

.revamp .content-container--show-decoration .image-content__image-side {
    position: relative;
    flex: 0 0 50%;
    max-width: 50%;
    width: 100% !important;
    padding: 50px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.revamp .content-container--show-decoration .image-content__image-side__background {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.revamp .content-container--show-decoration .image-content__image-side__background__overlay {
    position: absolute;
    inset: 20px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background: #111;
    border: 1px solid #ffffff33;
    border-radius: 10px;
}
.revamp .content-container--show-decoration .image-content__image-side__background__border {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(249, 115, 22, 0.2), transparent);
}

/*colors and directions of decoration*/

/*black & blue bg*/
.revamp .image-content.image-content--blue-bg .content-container--show-decoration .image-content__image-side__background__overlay,
.revamp .image-content.image-content--black-bg .content-container--show-decoration .image-content__image-side__background__overlay {
    border: 1px solid #ffffff33;
}
/*left side blue*/
.revamp .image-content.image-content--blue-bg .content-container--show-decoration.content-container--img-left .image-content__image-side__background__border {
    background: linear-gradient(to bottom right, rgba(249, 115, 22, 0.3), transparent);
}
/*right side blue*/
.revamp .image-content.image-content--blue-bg .content-container--show-decoration.content-container--img-right .image-content__image-side__background__border {
    background: linear-gradient(to bottom left, rgba(249, 115, 22, 0.3), transparent);
}
/*left side black*/
.revamp .image-content.image-content--black-bg .content-container--show-decoration.content-container--img-left .image-content__image-side__background__border {
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.3), transparent);
}
/*right side black*/
.revamp .image-content.image-content--black-bg .content-container--show-decoration.content-container--img-right .image-content__image-side__background__border {
    background: linear-gradient(to bottom left, rgba(59, 130, 246, 0.3), transparent);
}

/*gray & white bg*/
.revamp .image-content.image-content--gray-bg .content-container--show-decoration .image-content__image-side__background__overlay,
.revamp .image-content.image-content--white-bg .content-container--show-decoration .image-content__image-side__background__overlay {
    border: 1px solid #00000033;
}
/*left side gray*/
.revamp .image-content.image-content--gray-bg .content-container--show-decoration.content-container--img-left .image-content__image-side__background__border {
    background: linear-gradient(to bottom right, rgba(59, 130, 246, 0.4), transparent);
}
/*right side gray*/
.revamp .image-content.image-content--gray-bg .content-container--show-decoration.content-container--img-right .image-content__image-side__background__border {
    background: linear-gradient(to bottom left, rgba(59, 130, 246, 0.4), transparent);
}
/*left side white*/
.revamp .image-content.image-content--white-bg .content-container--show-decoration.content-container--img-left .image-content__image-side__background__border {
    background: linear-gradient(to bottom right, rgba(249, 115, 22, 0.4), transparent);
}
/*right side white*/
.revamp .image-content.image-content--white-bg .content-container--show-decoration.content-container--img-right .image-content__image-side__background__border {
    background: linear-gradient(to bottom left, rgba(249, 115, 22, 0.4), transparent);
}

/*general image*/

.revamp .content-container .image-contentt__image-side__image-wrapper {
    position: relative;
    z-index: 2;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 2px 2px 6px #00000044;
}
.revamp .content-container .image-contentt__image-side__image-wrapper img {
    width: 100%;
    height: 100%;
    min-height: 210px;
    max-height: 600px;
    object-fit: cover !important;
    background: #fff;
}

/*content side*/

.revamp .image-content .image-content__body {
    position: relative;
}

.revamp .image-content .content-container .image-content__body > .icon {
    position: absolute;
    inset: -20px 0 0 0;
    z-index: -1;
    font-size: 100px;
    opacity: 0.25;
    margin-bottom: 0;
}

/*decoration*/

.revamp .image-content .content-container.content-container--show-decoration {
    background-color: transparent !important;
    align-items: center;
}

/*----------------------------------------*/
/*             REVAMP - END               */
/*----------------------------------------*/

@media (max-width: 992px) {
    .image-content .content-container > * {
        width: 100%;
    }

    .image-content .content-container {
        flex-direction: column;
        padding: 2rem;
    }

    .image-content .content-container .slice-left {
        clip-path: unset;
    }

    .image-content .content-container .slice-right {
        clip-path: unset;
    }

    .image-content .content-container .image-content__image {
        order: 1;
        margin-bottom: 2rem;
    }

    .image-content .content-container .image-content__body {
        order: 2;
        padding: 20px;
    }

    .image-content .content-container .image-content__image img {
        width: 100%;
        height: auto;
        max-height: 400px;
    }

    .image-content .image-content__title {
        font-size: 36px;
    }

    .image-content .image-content__subtitle {
        font-size: 24px;
    }

    #fire-science-research-image-content .image-content__body {
        padding: 15px;
    }

    /*----------------------------------------*/
    /*             REVAMP - START             */
    /*----------------------------------------*/

    .revamp .image-content {
        margin: 0;
        padding: 20px 0;
    }

    /*image side*/
    .revamp .content-container--show-decoration .image-content__image-side {
        flex: 0 0 100%;
        max-width: 90vw;
        margin: 20px;
        margin-bottom: 25px;
        padding: 40px;
    }
    .revamp .content-container .image-contentt__image-side__image-wrapper {
        border-radius: 10px;
    }
    .revamp .content-container .image-contentt__image-side__image-wrapper img {
        width: 100%;
        height: auto;
        min-height: unset;
        max-height: 300px;
    }
    /*no decoration*/
    .revamp .content-container.content-container--no-decoration .image-contentt__image-side__image-wrapper {
        max-width: 90vw;
        margin: 0 auto 20px;
    }

    /*content side*/
    .revamp .image-content .content-container .image-content__body {
        margin: 0 auto;
        max-width: 90vw;
    }

    /*----------------------------------------*/
    /*             REVAMP - END               */
    /*----------------------------------------*/
}

@media (max-width: 768px) {
    .image-content .content-container .image-content__body > .icon,
    .image-content .content-container .image-content__body h2 {
        margin-bottom: 1rem;
    }

    .image-content .content-container .image-content__body .quote {
        margin-left: 0.5rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .image-content {
        padding: 0 0 0 0;
    }
}

@media (max-width: 1156px) {
    #nyu-image-content-1 .content-container .image-content__image img,
    #nyu-image-content-2 .content-container .image-content__image img,
    #nyu-image-content-3 .content-container .image-content__image img {
        object-fit: contain;
    }
}
