*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sintony);
    color: var(--color-secondary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wp-embed-wrap {
    display: flex;
}

.wp-embed {
    box-shadow: 0 7px 30px rgba(0,0,0,0.07);
    padding: 20px;
    margin: 30px 50px 30px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
}

.wp-embed-content-title {
    color: var(--color-secondary);
    font-family: var(--font-poppins);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 27px;
    text-decoration: none;
    margin-bottom: 10px;
}

.wp-embed-content-text {
    font-size: 12px;
    letter-spacing: 0;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.wp-embed-image {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    height: 185px;
    width: 230px;
    margin: 0 -40px 0 20px;
    flex-shrink: 0;
    display: flex;
}

.wp-embed-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-embed-share-dialog-content {
    display: none;
}

.wp-embed-link {
    position: absolute;
    left: 0;
    top: 0;
    right: -20px;
    bottom: 0;
    z-index: 2;
}

@media only screen and (max-width: 600px) {

    .wp-embed {
        margin-left: 15px;
        margin-right: 35px;
    }

    .wp-embed-content-title  {
        font-size: 14px;
        line-height: 17px;
        margin-bottom: 10px;
    }

    .wp-embed:before {
        content: '';
        display: block;
        position: absolute;
        background-color: #fff;
        left: 0;
        top: 0;
        width: calc(100% - 20px);
        height: 100%;
        box-shadow: 0 7px 30px rgba(0,0,0,0.05);
        border-radius: 2px;
    }
    .wp-embed:after {
        content: '';
        display: block;
        padding-bottom: 100%;
    }

    .wp-embed-image {
        position: absolute;
        left: 20px;
        top: 20px;
        width: 100%;
        height: calc(100% - 40px);
        border-radius: 2px;
        overflow: hidden;
        margin: 0;
    }

    .wp-embed img {
        object-fit: cover;
        width: 100%;
        height: 100%;
        transition: all 0.25s ease-in-out;
    }

    .wp-embed-content {
        position: absolute;
        left: 0;
        right: 50px;
        bottom: 0;
        background-color: #fff;
        border-radius: 2px;
        padding: 15px 20px 15px 20px;
        z-index: 1;
        margin-right: 0;
    }

}