@import url(./normal.css);
@import url(./header.css);
@import url(./footer.css);

:root {
    --main-color: #0076bf;
    --drak-color: #00629d;
    --red: #f1002b;
    --black: #1d1d1f;
    --gray: #e9e9e9;
    --dark-gray: #606060;
    --xxs-fontsize: 12px;
    --xs-fontsize: 14px;
    --s-fontsize: 16px;
    --m-fontsize: 18px;
    --l-fontsize: 20px;
    --xl-fontsize: 22px;
    --xxl-fontsize: 24px;
    --xxxl-fontsize: 26px;
    --xxxxl-fontsize: 28px;
    --xxxxxl-fontsize: 30px;
}

[v-cloak] {
    display: none;
}

.ad {
    text-align: center;
    margin: 5px auto;
    padding: 5px;
    color: #fff;
}

.dark-bg {
    background-color: var(--drak-color);
}

.gray-border {
    border: 1px solid var(--gray);
}

.flex {
    display: flex;
}

.column {
    flex-direction: column;
}

.between {
    justify-content: space-between;
}

.middle {
    align-items: center;
}

.gray {
    background-color: var(--gray);
}


.merr {
    font-family: exo, Arial, Helvetica, sans-serif;
}

.main {
    width: 100%;
    height: 100%;
}

.block {
    width: 100%;
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
}

.route {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.block-title {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    font-size: var(--xxxxl-fontsize);
    font-weight: 700;
    font-family: Arial Black, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

.content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 10px auto;
}

.content-item.long {
    display: flex;
    grid-area: 1/1/1 span/3 span;
}

.content-item.tall {
    grid-area: 1/4/2 span/1 span;
    padding: 10px 8px;
}

.content-item-left,
.content-item-right {
    width: 100%;
    height: 100%;
}

.content-item-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: var(--main-color);
    color: #ffffff;
    padding: 35px 20px;
}

.content-item-left .left-title {
    width: 100%;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    word-break: break-all;
    font-size: var(--m-fontsize);
    font-weight: 700;
    text-align: center;
}

.content-item-left .left-sub-title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    word-break: break-all;
    font-size: var(--m-fontsize);
}

.content-item-left .left-tips {
    font-size: var(--xs-fontsize);
}

.content-item-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.content-item-top {
    position: relative;
    width: 100%;
    padding-bottom: 55%;
}

.content-item-top img {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid var(--gray);
}

.content-item-bottom {
    max-width: 300px;
    width: 100%;
    height: 130px;
    overflow: hidden;
    padding: 10px;
}

.content-item-title {
    width: 95%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    font-size: var(--xs-fontsize);
    font-weight: 700;
    color: var(--main-color);
}

.content-item-title_sub {
    font-size: var(--s-fontsize);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-all;
    margin-bottom: 10px;
}

.content-item-hour {
    font-size: 12px;
    color: var(--red);
    padding-left: 20px;
    background-image: url(../imgs/hour.svg);
    background-size: 15px 15px;
    background-position: left;
    background-repeat: no-repeat;
}

.content-title {
    position: relative;
    width: 250px;
    line-height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: var(--m-fontsize);
    color: var(--main-color);
    font-weight: 700;
    text-transform: uppercase;
    font-family: Arial Black, Arial, Helvetica, sans-serif;
}

.content-title::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 46px;
    height: 4px;
    background-color: var(--main-color);
}

.news {
    position: relative;
    border-bottom: 1px solid var(--black);
    padding: 10px 0;
}

.news span {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    word-break: break-all;
    font-size: var(--s-fontsize);
}

.list {
    width: 100%;
}

.list-item {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
    border-top: 1px solid var(--gray);
}

.list-item-left {
    width: 304px;
    height: 171px;
}

.list-item-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-item-right {
    flex: 1;
    height: 171px;
    padding: 6px 10px;
}

.item-right-top {

}

.item-right-top .item-top_title {
    width: 500px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: var(--s-fontsize);
    font-weight: 700;
    color: var(--main-color);
}

.item-right-top .item-top_date {
    font-size: var(--xxs-fontsize);
    color: var(--dark-gray);
}

.item-right-center {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    word-break: break-all;
    font-size: var(--xs-fontsize);
    color: var(--black);
    margin: 8px 0;
}

.item-right-bottom {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    word-break: break-all;
    font-size: var(--xxs-fontsize);
    color: var(--dark-gray);
}

.content-item-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 60%;
}

.content-item-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-image: linear-gradient(0deg, #000000 0%, transparent 100%);
    z-index: 1;
}

.content-item-wrapper .content-item_img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-item-wrapper__title {
    position: absolute;
    bottom: 0;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 50px;
    padding: 5px;
    color: var(--gray);
    z-index: 2;
}



@media screen and (min-width: 641px) and (max-width: 960px) {
    .content {
        grid-template-columns: repeat(3, 1fr);
    }

    .content-item-left .left-sub-title, .content-item-title_sub, .news span {
        font-size: 1.5vmin;
    }

    .content-item-left .left-tips {
        font-size: 1.2vmin;
    }

    .content-item.tall {
        grid-area: 3/1/1 span /3 span;
    }

    .list-item-left {
        width: 171px;
    }

    .item-right-top .item-top_title {
        width: 315px;
    }
}


@media screen and (min-width: 481px) and (max-width: 640px) {
    .content {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-item.box:last-child {
        grid-area: 3/1/1 span/2 span;
    }

    .content-item.long {
        grid-area: 1/1/1 span/2 span;
    }

    .content-item.tall {
        grid-area: 4/1/1 span /2 span;
    }

    .content-item-left .left-sub-title, .content-item-title_sub, .news span {
        font-size: 1.5vmin;
    }

    .content-item-left .left-tips {
        font-size: 1.2vmin;
    }

    .list-item-left {
        width: 130px;
        height: 130px;
    }

    .list-item-right {
        height: 130px;
    }

    .item-right-top .item-top_title {
        width: 185px;
    }

    .item-right-center {
        -webkit-line-clamp: 2;
    }

    .item-right-bottom {
        -webkit-line-clamp: 2;
    }
}

@media screen and (max-width: 480px) {
    .content {
        grid-template-columns: repeat(1, 1fr);
    }

    .content-item.long {
        grid-area: initial;
    }

    .content-item.tall {
        grid-area: initial;
    }

    .content-item-left {
        padding: 2vmin;
    }

    .content-item-left .left-title {
        font-size: 4vmin;
    }

    .content-item-left .left-sub-title {
        font-size: 3.5vmin;
        -webkit-line-clamp: 3;
        margin: 1vmin 0;
    }

    .content-item-right {
        width: 50%;
    }

    .news span {
        font-size: 3.5vmin;
    }

    .content-item-title {
        font-size: 4vmin;
    }

    .content-item-title_sub {
        font-size: 3.5vmin;
    }
    
    .content-item-bottom {
        padding-top: 10px;
    }

    .list-item-left {
        width: 100px;
        height: 100px;
    }

    .list-item-right {
        height: 100px;
    }

    .item-right-top .item-top_title {
        width: 130px;
    }

    .item-right-center {
        -webkit-line-clamp: 1;
    }

    .item-right-bottom {
        -webkit-line-clamp: 1;
    }
}