.b-master-news{
	background: var(--global-block-bg, #fff);
	border: var(--global-block-border, #e3e4e8) var(--global-block-border-width, 1px) var(--global-block-border-style, solid);
}

.b-master-news__header{
	text-align: right;
	padding-bottom: var(--global-block-body-padding, 15px);
    margin-bottom: var(--global-block-body-padding, 15px);
    border-bottom: #f2f2f2 solid 1px;
}

/* Список */

.b-master-news__item{
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    align-items: center;
    margin-bottom: var(--global-block-body-padding, 15px);
    padding-bottom: var(--global-block-body-padding, 15px);
    position: relative;
    border-bottom: #f2f2f2 solid 1px;
}

.b-master-news__item._actions-true{
    grid-template-columns: auto min-content;
}

.b-master-news__item:last-of-type{
    margin-bottom: 0;
}

.b-master-news__item-inner, 
.b-master-news__item-actions{
    min-width: 0;
}

.b-master-news__item-inner{
    display: grid;
    grid-template-columns: min-content auto;
    align-items: start;
}

.b-master-news__item-inner._img-false{
    grid-template-columns: 1fr;
}

.b-master-news__item-data, 
.b-master-news__item-image{
    min-width: 0;
}

.b-master-news__item-image{
    display: flex;
    justify-content: center;
    border-radius: var(--global-block-border-radius, 3px);
    min-width: 180px;
    aspect-ratio: 9 / 6;
    overflow: hidden;
}

.b-master-news__item-img{
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
}

.b-master-news__item-data{
    padding-left: var(--global-block-body-padding, 15px);
}

.b-master-news__item-inner._img-false .b-master-news__item-data{
    padding-left: 0;
}

.b-master-news__item-created{
    color: #939cb0;
    font-size: 12px;
    text-transform: uppercase;
}

.b-master-news__item-title{
    font-weight: bold;
    font-size: 20px;
    line-height: 22px;
    margin-top: 5px;
    display: block;
}

.b-master-news__item-title .b-ico{
    font-size: 16px;
    vertical-align: 1px;
    margin-right: 3px;
}

.b-master-news__item-more{
    margin-top: 10px;
    line-height: 16px;
    font-size: 16px;
}

.b-master-news__item-more-link .b-ico {
    margin-left: 5px;
    vertical-align: -1px;
    transition: .3s;
}

.b-master-news__item-title:hover .b-master-news__item-more-link .b-ico {
    margin-left: 15px;
}

.b-master-news__item-actions{
    padding-left: 15px;
}

.b-master-news__item-action{
    border: #e5e9ed solid 1px;
	background: #fff url(images/ico-edit.svg) center no-repeat;
	background-size: 18px;
	display: block;
	width: 32px;
	height: 32px;
	border-radius: 38px;
	transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -webkit-transition: all .2s ease-out;
    margin-top: 10px;
}

.b-master-news__item-action._delete{
    background-image: url(images/ico-delete.svg);
}

.b-master-news__item-action._move{
    background-image: url(images/ico-move.svg);
}

.b-master-news__item-action:first-of-type{
    margin-top: 0;
}

@media (min-width: 767px) 
{
    .b-master-news__item-action:hover{
        box-shadow: 0 1px 3px 0 rgb(0 0 0 / 18%);
    }
}

@media (max-width: 580px) 
{
    .b-master-news__item{
        grid-template-columns: 1fr;
        align-items: start;
    }

    .b-master-news__item._actions-true{
        grid-template-columns: auto min-content;
    }

    .b-master-news__item-inner{
        grid-template-columns: 1fr;
    }

    .b-master-news__item-data{
        padding-left: 0;
    }

    .b-master-news__item-image{
        margin-bottom: 10px;
    }
}

/* Заглушка */

.b-master-news__no-items {
	text-align: center;
	padding: 60px 0;
	color: #939cb0;
}

.b-master-news__no-items._hide{
	display: none !important;
}

.b-master-news__no-items:before {
	background: url(images/ico-empty.svg) center center no-repeat;
	background-size: contain;
	width: 56px;
	height: 56px;
	display: block;
	content: '';
	margin: 0 auto 30px auto;
}

.b-master-news__no-items b {
	display: block;
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 15px;
	color: #000;
}

.b-master-news__no-items-action {
	margin-top: 30px;
}