﻿.TopicNews {
    letter-spacing: 1px;
    text-align: left;
    line-height: 1.75em;
    margin: 0.5em 0.5%;
    
}

    .TopicNews > * {
        padding: 0;
        border: none;
    }

    .TopicNews .firstNewsItem {
        position: relative;
        font-size: 0;
        height: 0;
        padding-top: 56.25%;
        overflow: hidden;
    }
        .TopicNews .firstNewsItem img {
            width: 100%;
            position: absolute;
            top: 50%;
            bottom: 50%;
            transform: translate(0, -50%);
        }
        .TopicNews .firstNewsItem .mask {
            position: absolute;
            top: 0;
            left: 0;
            z-index: 9;
            width: 100%;
            height: 100%;
            background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.4) 90%, rgba(0,0,0,0.75) 100%);
            background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 90%,rgba(0,0,0,0.75) 100%);
            background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.4) 90%,rgba(0,0,0,0.75) 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
        }

            .TopicNews .firstNewsItem .mask a {
                display: block;
                height: 100%;
            }

            .TopicNews .firstNewsItem .mask:hover {
                background: -moz-linear-gradient(top, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 90%, rgba(0,0,0,0.65) 100%);
                background: -webkit-linear-gradient(top, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0.4) 90%,rgba(0,0,0,0.65) 100%);
                background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%,rgba(0,0,0,0.4) 90%,rgba(0,0,0,0.65) 100%);
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a000000', endColorstr='#a6000000',GradientType=0 );
            }

    .TopicNews .firstNewsItemText {
        position: absolute;
        color: #FFFFFF;
        display: block;
        bottom: 0;
        padding: 0.65em 0.5em;
        font-size: 1.375rem;
        z-index: 10;
    }
    .TopicNews .firstNewsItem span {
        margin-right: 0.5em;
        font-weight: 600;
    }

    .TopicNews .firstNewsItem time {
        font-size: 12px;
        color: #ffffff;
        display: inline-block;
    }



    .TopicNews .TopicNewsList {
        /* border: 1px solid #ffffff; */
        background-color: #fff7e1;
    }

        .TopicNews .TopicNewsList > div {
            padding: 0.25em 0.5em;
        }

            .TopicNews .TopicNewsList > div:not(:first-child) {
                border-top: 1px solid #ffe6d0;
            }

            .TopicNews .TopicNewsList > div h3 {
                display: block;
            }

                .TopicNews .TopicNewsList > div h3::before {
                    content: "\2022";
                    display: inline-block;
                    color: #ffc3a5;
                    font-size: 1.125em;
                    padding-right: 3px;
                }

            .TopicNews .TopicNewsList > div time {
                display: block;
                font-size: 0.75em;
                color: #999;
                margin-left: 1.3em;
            }

    .TopicNews .tagList {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        height: 2em;
        overflow: hidden;
        margin: 0.5em auto;
        padding: 0 0.75em;
        position: relative;
        text-align: center;
        text-decoration: none;
    }

        .TopicNews .tagList::before, .TopicNews .tagList::after {
            position: absolute;
            content: '';
            width: 97%;
            left: 1.5%;
            height: calc(50% - 1px);
            border: 1px solid #ffa082;
        }

        .TopicNews .tagList::before {
            top: 0;
            transform: perspective(1em) rotateX(3deg);
            border-bottom: none;
        }

        .TopicNews .tagList::after {
            bottom: 0;
            transform: perspective(1em) rotateX(-3deg);
            border-top: none;
        }

        .TopicNews .tagList strong {
            padding: 0 0.5em;
            font-weight: 500;
            line-height: 2em;
            position: relative;
            border-color: #f01278;
            border-radius: 0;
            margin-left: 0;
            position: relative;
            z-index: 1;
            white-space: nowrap;
        }

            .TopicNews .tagList strong a {
                color: #e96568;
            }

            .TopicNews .tagList strong:not(:first-child)::before {
                content: "\2044";
                display: inline-block;
                margin-right: 1em;
                color: #f01278;
            }


@media only screen and (min-width: 720px) {
    .TopicNews {
        font-size: 17px;
        width: 49%;
    }
}


@media only screen and (min-width: 1200px) {
    .TopicNews {
        width: 32%;
    }
}
