@import url(./normal.css);
@import url(./header.css);
@import url(./footer.css);
@import url(./aside.css);
@import url(./popup.css);
@import url(./cookies.css);


/* 新闻盒子 */
@import url(./newBox/hotBox.css);
@import url(./newBox/simpleBox.css);
@import url(./newBox/longBox.css);
@import url(./newBox/recommendBox.css);

[v-cloak] {
    display: none;
}

:root {
    --main-color: #00a562;
    --text-color: #1d1d1f;
    --gray-color: #717171;
    --border-color: #dddddd;
    --cate-color: var(--gray-color);
    --input-border-color: #949494;
}

.container {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    gap: 24px;
}

.container-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
    padding: 0 280px;
    padding-bottom: 30px;
}

.type {
    display: block;
    color: var(--main-color);
    font-size: 14px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.text-overflow-ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    word-break: break-all;
}

.newsbox {
    position: relative;
}

.newsbox a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}

.main {
    flex: 1;
}

.load {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media screen and (min-width: 1024px) {
    .type:hover {
        color: var(--text-color);
    }
}

@media screen and (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding-top: 0;
        gap: 0px;
    }

    .container-main {
        padding: 10px;
    }
}

.ad {
    width: 100%;
    text-align: center;
    font-size: var(--s-fontsize);
    margin: 5px auto;
    padding: 5px;
    background-color: var(--main-color);
    max-width: 650px;
    max-height: 400px;
    color: #ffffff;
}

.ad-wrapper {
    width: 100%;
    margin: 0 auto;
}

.ad-wrapper > div {
    display: flex;
    justify-content: center;
}
