.Dashboard-Content-CardMedia{
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 10px;
    position: relative;
}
/*.Dashboard-Content-CardMedia--category{*/
/*    font-weight: bold;*/
/*    font-size: 13px;*/
/*    line-height: 20px;*/
/*    color: var(--site-color-corporate);*/
/*    align-self: end;*/
/*}*/
.Dashboard-Content-CardMedia--category-link{
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 2px;
    transition: background-size .3s;
    font-weight: bold;
    font-size: 13px;
    line-height: 20px;
    color: var(--site-color-corporate);
    align-self: end;
}
.Dashboard-Content-CardMedia--name{
    font-family: var(--site-font-family-name);
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: var(--site-color-name);
    text-decoration: none;
    transition: color 50ms linear;
}
.Dashboard-Content-CardMedia--name:hover,
.Dashboard-Content-CardMedia--name:focus{
    color: var(--site-color-corporate);
}
.Dashboard-Content-CardMedia--image{
    padding-top: calc(100% / 290 * 160);
    position: relative;
    z-index: 0;
    margin: 0 -10px;
}
.Dashboard-Content-CardMedia--image:after{
    z-index: 1;
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--site-background-color-content);
    opacity: 0;
    transition: opacity 50ms linear;
}
.Dashboard-Content-CardMedia--image:hover:after{
    opacity: 0.1;
}
.Dashboard-Content-CardMedia--image:before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 70%;
    z-index: 1;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0) 0%, var(--site-color) 100%);
    mix-blend-mode: normal;
}

.Dashboard-Content-CardMedia--image-img{
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-position: center;
    object-fit: cover;
}

.Dashboard-Content-CardMedia--ico{
    position: absolute;
    z-index: 1;
    bottom: 10px;
    right: 0;
    border-right: 10px solid var(--site-color-corporate);
    background-position: left center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 20px;
    padding-left: 34px;
}
.Dashboard-Content-CardMedia--ico--photo{
    background-image: url("../../../ArticleItem/photo.svg");
}
.Dashboard-Content-CardMedia--ico--video{
    background-image: url("../../../ArticleItem/video.svg");
}

@media (min-width: 740px){
    .Dashboard-Content-CardMedia{
        display: block;
        padding-top: calc(100% / 600 * 270);
        z-index: 0;
    }
    .Dashboard-Content-CardMedia--name{
        font-family: var(--site-font-family-name);
        font-weight: 700;
        font-size: 20px;
        line-height: 25px;
        color: var(--site-background-color-content);
        position: absolute;
        bottom: 33px;
        left: 20px;
        right: 63px;
        text-decoration: none;
        transition: color 50ms linear;
    }
    .Dashboard-Content-CardMedia--image{
        margin: 0;
        background-color: var(--site-background-color);
        position: absolute;
        z-index: -2;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        padding-top: 0;
        width: 100%;
        height: 100%;
    }
    .Dashboard-Content-CardMedia--image-img{
        position: initial;
        object-position: center;
        object-fit: cover;
        left: 0;
    }
    .Dashboard-Content-CardMedia--category{
        position: absolute;
        bottom: 10px;
        left: 20px
    }
}
@media (min-width: 991px){
    .Dashboard-Content-CardMedia--category-link:hover{
        background-size: 100% 2px;
    }
}