.editorialimg-box-content-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorialimg-box {
    position: relative;
    width: 100%; /* desired width */
}

.editorialimg-box:before {
    content: "";
    display: block;
    padding-top: 100%; /* initial ratio of 1:1*/
}

.editorialimg-box-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Other ratios */
.ratio2_1:before {
    padding-top: 50%;
}

.ratio1_2:before {
    padding-top: 200%;
}

.ratio4_3:before {
    padding-top: 75%;
}

.ratio16_9:before {
    padding-top: 56.25%;
}

.ratio14_6:before {
    padding-top: 42.85%;
}

.editorialimg-caption {
    color: rgba(0, 0, 0, 0.7);
    margin-top: 20px;
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
}

.floateditorialimg-right {
    margin-left: -20%;
    float: right;
    width: 50%;
    position: relative;
    right: -25%;
}

.floateditorialimg-left {
    margin-right: -20%;
    float: left;
    width: 50%;
    position: relative;
    left: -25%;
}

/* modify wp-cation */
.wp-caption {
    border: 0px !important;
}

.wp-caption .wp-caption-text {
    color: rgba(0, 0, 0, 0.7);
    font-size: 12px;
    font-weight: 300;
    line-height: 20px;
    text-align: left !important;
}

@media screen and (max-width: 767px) {
    .floateditorialimg-left {
        left: 0px;
        margin-right: 20px;
    }
    .floateditorialimg-right {
        right: 0px;
        margin-left: 20px;
    }
}


