.theme-site .content-header {
    padding-top: 0;
}
.theme-site .content-header .title-with-avatar.center{
    padding-top: 0;
}

.theme-site .theme-img-card .img-box a {
    position: relative;
    display: block;
    aspect-ratio: 262 / 176;
    background: #161a26;
}

.theme-site .theme-img-card .img-box img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 29.8667rem) {
    .theme-site {
        padding-top: 0.1rem;
    }
}

/* PC（Zeplin https://zpl.io/5Ne6WkJ） */
@media (min-width: 768px) {
    .theme-site .theme-header-count {
        display: none;
    }

    .theme-site .content-header {
        margin-bottom: 40px;
    }

    .theme-site .content-header .title-with-avatar h1 {
        font-size: 30px;
        font-weight: 600;
        line-height: 42px;
    }

    .theme-site .content-header .title-with-avatar .title-box {
        margin: 30px 0 50px;
    }

    /* Group 509 排序 Tab */
    .theme-site #list_categories_categories_list .sorting-nav {
        padding-top: 0;
        margin-top: 0;
        margin-bottom: 40px;
        letter-spacing: 0;
        text-align: center;
    }

    .theme-site #list_categories_categories_list .sorting-nav ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .theme-site #list_categories_categories_list .sorting-nav li {
        display: inline-block;
        margin: 0 30px;
        margin-top: 0;
        margin-bottom: 0;
    }

    .theme-site #list_categories_categories_list .sorting-nav li h2 {
        margin: 0;
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
    }

    .theme-site #list_categories_categories_list .sorting-nav li a {
        display: inline-block;
        position: relative;
        padding: 0 0 9.5px;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 18px;
        font-weight: 400;
        line-height: 25px;
    }

    .theme-site #list_categories_categories_list .sorting-nav li a:visited {
        color: #fff !important;
    }

    .theme-site #list_categories_categories_list .sorting-nav li a::before {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 43px;
        height: 3px;
        margin-left: -21.5px;
        background: #f7327b;
        border-radius: 0;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .theme-site #list_categories_categories_list .sorting-nav li.active a {
        color: #f7327b !important;
        font-weight: 500;
        text-decoration: none !important;
    }

    .theme-site #list_categories_categories_list .sorting-nav li.active a::before {
        opacity: 1;
    }

    .theme-site #list_categories_categories_list .sorting-nav li:not(.active):hover a {
        color: #fff !important;
        text-decoration: none !important;
    }

    .theme-site #list_categories_categories_list .sorting-nav li:not(.active):hover a::before {
        opacity: 0;
    }

    /* Group 318 主题卡片网格 */
    .theme-site #list_categories_categories_list .row.gutter-20 {
        margin-left: -5px;
        margin-right: -5px;
    }

    .theme-site #list_categories_categories_list .row.gutter-20 > [class^="col-"] {
        padding-left: 5px;
        padding-right: 5px;
    }

    .theme-site .theme-img-card.mb-e-20 {
        margin-bottom: 10px !important;
    }

    .theme-site .theme-img-card .img-box {
        border-radius: 8px;
    }

    .theme-site .theme-img-card .img-box a {
        border-radius: 8px;
        overflow: hidden;
    }

    .theme-site .theme-img-card .overlay {
        background: rgba(12, 12, 12, 0.5);
        border-radius: 8px;
    }

    .theme-site .theme-img-card:hover .overlay {
        background: rgba(12, 12, 12, 0.5);
    }

    .theme-site .theme-img-card .absolute-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1px;
        white-space: normal;
        width: auto;
        max-width: calc(100% - 24px);
    }

    .theme-site .theme-img-card .absolute-center > h3 {
        margin: 0;
        font-size: 24px;
        font-weight: 600;
        line-height: 34px;
        color: #fff;
    }

    .theme-site .theme-img-card .absolute-center .label {
        display: inline-block;
        margin: 0;
        padding: 1px 4px;
        min-height: 20px;
        line-height: 18px;
        font-size: 13px;
        font-weight: 500;
        color: #edeef0;
        background: rgba(8, 8, 8, 0.7);
        border-radius: 4px;
        box-shadow: none;
    }
}

/* H5（Zeplin https://zpl.io/Dp7xnYO · 发布视频 / Group 383） */
@media (max-width: 767.98px) {
    .theme-site .content-header{
        margin-bottom:20px;
    }
    .theme-site {
        padding-top: 0.1rem;
    }

    /* 发布视频 · 标题区 */
    .theme-site .title-with-avatar.theme-header {
        flex-direction: column;
        min-height: 0;
        padding: 16px 0 20px;
    }

    .theme-site .theme-header .title-box {
        margin: 0;
        margin-top: 16px;
    }

    .theme-site .theme-header h1.h3-md,
    .theme-site .theme-header .theme-header-title {
        font-size: 24px;
        font-weight: 600;
        line-height: 34px;
        margin: 0;
    }

    .theme-site .theme-header-count {
        display: block;
        margin-top: 2px;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        color: #aaa;
    }

    /* Group 383 · 排序 Tab */
    .theme-site #list_categories_categories_list .sorting-nav {
        padding-top: 0;
        margin-top: 0;
        margin-bottom: 20px;
        letter-spacing: 0;
        text-align: center;
    }

    .theme-site #list_categories_categories_list .sorting-nav ul {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 12px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .theme-site #list_categories_categories_list .sorting-nav li {
        display: block;
        margin: 0;
    }

    .theme-site #list_categories_categories_list .sorting-nav li h2 {
        margin: 0;
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
    }

    .theme-site #list_categories_categories_list .sorting-nav li a {
        display: inline-block;
        position: relative;
        padding: 0 0 7px;
        color: #fff !important;
        text-decoration: none !important;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
    }

    .theme-site #list_categories_categories_list .sorting-nav li a:visited {
        color: #fff !important;
    }

    .theme-site #list_categories_categories_list .sorting-nav li a::before {
        content: '';
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        margin-left: 0;
        background: #f7327b;
        border-radius: 0;
        opacity: 0;
        transition: opacity 0.3s;
    }

    .theme-site #list_categories_categories_list .sorting-nav li.active a {
        color: #f7327b !important;
        font-weight: 500;
        text-decoration: none !important;
    }

    .theme-site #list_categories_categories_list .sorting-nav li.active a::before {
        opacity: 1;
    }

    .theme-site #list_categories_categories_list .sorting-nav li:not(.active) a,
    .theme-site #list_categories_categories_list .sorting-nav li:not(.active) a:visited {
        color: #fff !important;
        text-decoration: none !important;
    }

    .theme-site #list_categories_categories_list .sorting-nav li:not(.active):hover a {
        color: #fff !important;
        text-decoration: none !important;
    }

    .theme-site #list_categories_categories_list .sorting-nav li:not(.active):hover a::before {
        opacity: 0;
    }

    /* Group 384 · 主题卡片网格 */
    .theme-site #list_categories_categories_list .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .theme-site #list_categories_categories_list .row.gutter-20 {
        margin-left: -6.5px;
        margin-right: -6.5px;
    }

    .theme-site #list_categories_categories_list .row.gutter-20 > [class^="col-"] {
        padding-left: 6.5px;
        padding-right: 6.5px;
    }

    .theme-site .theme-img-card.mb-e-20 {
        margin-bottom: 16px !important;
    }

    .theme-site .theme-img-card .img-box {
        border-radius: 8px;
    }

    .theme-site .theme-img-card .img-box a {
        aspect-ratio: 169 / 114;
        border-radius: 8px;
        overflow: hidden;
    }

    .theme-site .theme-img-card .overlay {
        background: rgba(12, 12, 12, 0.5);
        border-radius: 8px;
    }

    .theme-site .theme-img-card .absolute-center {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        /* white-space: normal; */
        width: auto;
        max-width: calc(100% - 16px);
    }

    .theme-site .theme-img-card .absolute-center > h3 {
        margin: 0;
        font-size: 24px;
        font-weight: 600;
        line-height: 34px;
        color: #fff;
    }

    .theme-site .theme-img-card .absolute-center .label {
        display: inline-block;
        margin: 0;
        padding: 1px 4px;
        line-height: 12px;
        font-size: 8px;
        font-weight: 500;
        color: #edeef0;
        background: rgba(8, 8, 8, 0.7);
        border-radius: 3px;
        box-shadow: none;
    }
}

@media (max-width: 767.98px) {
    html[lang="en"] .theme-site .theme-img-card .absolute-center > h3 {
        font-size: 18px;
    }
}
