:root{
    --bg_color: #425aef;
    --text_color: #b3bdf9;
}

/* ===============================
   基础布局
=============================== */
@media screen and (min-width:768px) {
    .head_box_mx {
        color:white;
        position:relative;
        text-align:center;
        box-sizing:border-box;
        margin-top:-20px;
        margin-bottom:20px;
    }
}

@media screen and (max-width:768px) {
    .head_box_mx {
        color:white;
        position:relative;
        text-align:center;
        box-sizing:border-box;
        margin-bottom:20px;
    }
}

.moxing_head_info_post_title {
    color:#fff;
    font-weight:700;
    line-height:1.2;
    text-align:center;
    margin:1rem 0 1rem 0 !important;
    -webkit-line-clamp:2;
    overflow:hidden;
}

.category>i {
    margin-right:5px;
    margin-top:3px;
}

/* ===============================
   标签 & 分类
=============================== */
.mxbk_tags-container {
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
}

.mulu_one_two {
    display:flex;
    align-items:center;
    justify-content:center;
}

.mulu_one_two span {
    display:inline-flex;
    align-items:center;
    background-color:rgba(255,255,250,0.2);
    color:white;
    padding:7px 10px;
    margin-right:5px;
    border-radius:10px;
    font-weight:bold;
    font-size:14px;
    cursor:pointer;
}

.mulu_one_two span:hover {
    background-color:#fff;
    color:var(--b2color) !important;
    transition:background-color 0.3s ease,color 0.3s ease;
}

.tags {
    display:flex;
    align-items:center;
    margin-left:20px;
}

.tags span {
    border-radius:10px;
    color:white;
    opacity:.8;
    padding:7px 10px;
    margin-right:5px;
    font-weight:bold;
    transition:background-color 0.3s ease,color 0.3s ease;
    cursor:pointer;
}

.tags span:hover {
    background-color:rgba(255,255,255,0.3);
    color:white;
}

.tags span::before {
    font-size:14px;
    content:'#';
    color:white;
    font-weight:bold;
    margin-right:5px;
    opacity:.4;
}

/* ===============================
   底部元信息
=============================== */
.mx_footer_meta {
    display:flex;
    align-items:center;
    color:var(--text_color);
    font-size:14px;
    flex-wrap:wrap;
    margin-top:30px;
    justify-content:center;
}

.mx_footer_meta span {
    margin-right:5px;
}

.mx_footer_meta a {
    color:var(--text_color);
    text-decoration:none;
}

.marrig {
    margin-right:5px;
}

/* ===============================
   波浪动画
=============================== */
.mx_waves {
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    height:8vh;
    min-height:50px;
    max-height:100px;
    overflow:hidden;
}

.parallax>use {
    animation:move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}

.parallax>use:nth-child(1) {
    animation-delay:-2s;
    animation-duration:7s;
}
.parallax>use:nth-child(2) {
    animation-delay:-3s;
    animation-duration:10s;
}
.parallax>use:nth-child(3) {
    animation-delay:-4s;
    animation-duration:13s;
}
.parallax>use:nth-child(4) {
    animation-delay:-5s;
    animation-duration:20s;
}

@keyframes move-forever {
    0% { transform:translate3d(-90px,0,0); }
    100% { transform:translate3d(85px,0,0); }
}

/* ===============================
   动画
=============================== */
@keyframes fade-in-up {
    from {
        opacity:0;
        transform:translateY(20px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}

.animate-fade-in-up {
    animation:fade-in-up 0.5s ease-out forwards;
    animation-delay:0.3s;
    opacity:0;
}

/* ===============================
   背景图
=============================== */
.moxing_background {
    position:absolute;
    left:0;
    right:0;
    top:0;
    background-color:var(--bg_color);
}

.moxing_background .b-wrap {
    position:absolute;
    left:50%;
    top:0;
    bottom:0;
    overflow:hidden;
}

.moxing_background .img {
    position:absolute;
    inset:0;
    transform:rotate(20deg);
    filter:blur(4px);
}

.moxing_background img {
    position:absolute;
    right:0;
    top:0;
    width:100%;
    height:100%;
    object-fit:cover;
    transform:scale(0.9);
    transition:transform 1s ease;
}

.moxing_background .b-wrap::after {
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(257.4deg,rgba(250,250,250,0.2) 2%,var(--bg_color) 80%);
}

/* ===============================
   响应式
=============================== */
@media screen and (max-width:768px) {
    .head_box_mx { padding:20px; }
    .mxbk_tags-container { flex-direction:column; }
    .tags { display:none; }
    h1.moxing_head_info_post_title { font-size:18px; }
    .moxing_background,.head_box_mx { height:40vh; }
}

@media screen and (min-width:768px) and (max-width:1024px) {
    .head_box_mx { padding:50px; }
    .moxing_background,.head_box_mx { height:40vh; }
}

@media screen and (min-width:1025px) {
    .head_box_mx { padding:100px; }
    .moxing_background,.head_box_mx { height:50vh; }
}

@media screen and (min-width:768px) {
    h1.moxing_head_info_post_title { font-size:36px; }
}