.first-block .container {
    margin: 0 auto;
    width: 60%;
}

@media (max-width: 768px) {
    .first-block .container {
        width: 100%;
    }
}

.first-block .content-box {
    padding: 3rem 0;
}

.first-block .years-box {
    padding-bottom: 3rem;
}

.first-block .years-box a.active {
    color: red;
}

.first-block .years-box a:after {
    padding: 0 10px;
    content: "|";
    font-weight: bold;
    color: #000000;
}

.first-block .years-box a:last-child:after {
    content: none;
}

.graybg {
    background: #e6e6e6;
}

.films-module .img-box {
    padding: 10px;
    background: #ffffff;
    position: relative;
}

.text-box {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, .2);
}

.film-title {
    width: 70%;
    font-size: 25px;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0;
    line-height: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;

}

@media(max-width: 768px){
    .film-title {
        font-size: 20px;
    }
}

.films-module .col {
    padding-top: calc(var(--bs-gutter-x) * 1);
}

/*.films-module .img-box{
    height: 310px;
}*/
.fs40{
    font-size: 40px;
}