.block-ecs-url {
    text-decoration: none;
}

.img-ecs-url {
    display: block;
    width: 100%;
}


/* Сделан как динамический класс только для того что бы в последствии сделать разные псевдо классы: Anuncio, Add...*/
.title-ecs-url, .title-ecs-url-ru {
    position: relative;
    padding: 0px 4px;
    color: #ee8100;
    display: block;
    font-family: "Roboto", Roboto, Arial, sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.title-ecs-url::after, .title-ecs-url-ru::after {
    position: absolute;
    width: fit-content;
    padding: 1px 2px;
    background-color: #b3b3b3;
    border-radius: 2px;
    color: white;
    font-family: "Roboto", Roboto, Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 15px;
}

.title-ecs-url::after {
    content: 'Anuncio';
}
.title-ecs-url-ru::after {
    content:'Реклама';
}


.title-ecs-url::before, .title-ecs-url-ru::before {
    position: absolute;
    width: fit-content;
    padding: 1px 2px;
    content: 'Generes WCD';
    border-radius: 2px;
    color: #b3b3b3;
    font-family: "Roboto", Roboto, Arial, sans-serif !important;
    font-size: 11px;
    font-weight: 300;
    line-height: 17px;
    margin-right: 4px;
}

.title-ecs-url::before {
    content: 'Generes WCD';
}
.title-ecs-url-ru::before {
    content: 'Berworks HmB';
}

.short-titles-bottom {
    position:absolute;
}

@media screen and (min-width: 1400px) {

    .block-ecs-url {
        display: block;
        width: 23%;
        height: 280px;
    }

    .img-ecs-url {
        height: 153px;
    }

    .title-ecs-url, .title-ecs-url-ru {
        margin-top: 6px;
        font-size: 18px;
    }

    .title-ecs-url::after, .title-ecs-url-ru::after {      
        top: 100px;
        left: 5px;
    }

    .title-ecs-url::before {  
        top: 99px;
        left: 51px;
    }
    .title-ecs-url-ru::before {  
        top: 99px;
        left: 55px;
    }
}

@media screen and (min-width: 1300px) and (max-width: 1400px) {

    .block-ecs-url {
        display: block;
        width: 25%;
        height: 250px;
        margin-top: 6px;
    }

    .img-ecs-url {
        height: 140px
    }

    .title-ecs-url, .title-ecs-url-ru {
        margin-top: 8px;
        font-size: 18px;
    }

    .title-ecs-url::after, .title-ecs-url-ru::after {      
        top: 83px;
        left: 5px;
    }

    .title-ecs-url::before {  
        top: 82px;
        left: 51px;
    }
    .title-ecs-url-ru::before {      
        top: 83px;
        left: 55px;
    }

}

@media screen and (min-width: 1200px) and (max-width: 1300px) {

    .block-ecs-url {
        display: block;
        width: 25%;
        height: 250px;
        margin-top: 6px;
    }

    .img-ecs-url {
        height: 135px
    }

    .title-ecs-url, .title-ecs-url-ru {
        margin-top: 8px;
        font-size: 18px;
    }

    .title-ecs-url::after, .title-ecs-url-ru::after {      
        top: 83px;
        left: 5px;
    }

    .title-ecs-url::before {  
        top: 82px;
        left: 51px;
    }

    .title-ecs-url-ru::before {  
        top: 82px;
        left: 55px;
    }
}

@media screen and (min-width: 1000px) and (max-width: 1200px) {

    .block-ecs-url {
        display: block;
        width: 25%;
        height: 250px;
    }

    .img-ecs-url {
        height: 140px
    }

    .title-ecs-url, .title-ecs-url-ru {
        margin-top: 8px;
        font-size: 18px;
    }

    .title-ecs-url::after, .title-ecs-url-ru::after {      
        top: 83px;
        left: 5px;
    }

    .title-ecs-url::before {  
        top: 82px;
        left: 51px;
    }
    .title-ecs-url-ru::before {  
        top: 82px;
        left: 55px;
    }
}

@media screen and (min-width: 500px) and (max-width: 1000px) {

    .block-ecs-url {
        display: block;
        width: 24%;
        height: 190px;
        margin-top: 6px;
    }

    .img-ecs-url {
        height: 80px
    }

    .title-ecs-url, .title-ecs-url-ru {
        margin-top: 10px;
        font-size: 13px;
    }

    .title-ecs-url::after, .title-ecs-url-ru::after {      
        top: 55px;
        left: 5px;
    }

    .title-ecs-url::before {  
        top: 55px;
        left: 51px;
    }
    .title-ecs-url-ru::before {  
        top: 55px;
        left: 55px;
    }
}

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

    .block-ecs-url {
        display: block;
        width: 115px;
        height: 190px;
        margin-top: 4px;
    }

    .img-ecs-url {
        height: 60px
    }

    .title-ecs-url, .title-ecs-url-ru {
        margin-top: 8px;
        font-size: 13px;
    }

    .title-ecs-url::after, .title-ecs-url-ru::after {      
        top: 50px;
        left: 5px;
    }

    .title-ecs-url::before {  
        top: 50px;
        left: 51px;
    }
    .title-ecs-url-ru::before {  
        top: 50px;
        left: 55px;
    }
}
