

.tags-detail-site {
    padding-top: 0;
}
.tags-detail-site .video-img-box .title a {
    font-size: 0.875rem;
}
.tags-detail-site .content-header {
    padding-top: 0;
}

.tags-detail-site .content-header .container {
    padding-top: 3rem;
}

.tags-detail-site .tab_desc {
    margin-bottom: 4.5rem;
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.tags-detail-site .tab_desc h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.8rem 0;
}

.tags-detail-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 5rem;
    padding: 1rem 0;
}

.tags-detail-title {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.tags-detail-count {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.3rem;
}

.tags-detail-desc {
    text-align: center;
    padding: 0 1rem 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
}

.tags-detail-desc-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    margin: 0 0 0.2rem;
    display: inline;
}

.tags-detail-desc-text {
    font-size: 0.7rem;
}

.tags-detail-site .theme-detail-sort-nav {
    text-align: center;
    padding-top: 6rem;
    margin-bottom: 1.5rem;
}

.tags-detail-site .theme-detail-sort-nav .sorting-nav-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.tags-detail-site .theme-detail-sort-nav .sorting-nav-list li {
    display: inline-block;
    margin: 0 0.8rem;
}

.tags-detail-site .theme-detail-sort-nav .sorting-nav-list li a {
    position: relative;
    display: inline-block;
    padding: .5rem 1.2rem;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 18px;
    border-bottom: 0;
    transition: color .3s;
}

.tags-detail-site .theme-detail-sort-nav .sorting-nav-list li:not(.active) a:visited {
    color: #fff !important;
}

.tags-detail-site .theme-detail-sort-nav .sorting-nav-list li a::before {
    display: none;
    content: none;
}

.tags-detail-site .theme-detail-sort-nav .sorting-nav-list li a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 43px;
    height: 3px;
    background: #f7327b;
    opacity: 0;
    transform: translateX(-50%);
}

.tags-detail-site .theme-detail-sort-nav .sorting-nav-list li.active a,
.tags-detail-site .theme-detail-sort-nav .sorting-nav-list li.active a:visited {
    color: #f7327b !important;
    font-weight: 500;
}

.tags-detail-site .theme-detail-sort-nav .sorting-nav-list li.active a::after {
    opacity: 1 !important;
}

.tags-detail-site .theme-detail-sort-nav .sorting-nav-list li:not(.active):hover a {
    color: rgba(255, 255, 255, 0.9) !important;
}


.tags-detail-site .video-card-meta {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.2rem 0 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.tags-detail-site .video-card-meta .meta-views::before,
.tags-detail-site .video-card-meta .meta-likes::before {
    content: '';
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    margin-right: 0.15rem;
    vertical-align: -0.1em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tags-detail-site .video-card-meta .meta-views::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
}

.tags-detail-site .video-card-meta .meta-likes::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z'/%3E%3C/svg%3E");
}

@media (max-width: 51.2rem) {
    .tags-detail-site {
        padding-top: 0.1rem;
    }

    .tags-detail-site .video-img-box .title a {
        font-size: 0.875rem;
    }

    .tags-detail-site .content-header {
        padding-top: 0;
    }

    .tags-detail-site .content-header h1,
    .tags-detail-site .title-with-avatar h1 {
        font-size: 1.6rem;
        font-weight: 700;
        line-height: 1.4;
    }
    .tags-detail-site .title-with-avatar .fs-2 {
        font-size: 0.8667rem;
    }
    .tags-detail-site .title-with-avatar .title-box {
        margin: 1.5rem;
    }
    .tags-detail-site .tab_desc h2 {
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0 0 0.5rem 0;
        line-height: 1.4;
    }
    .tags-detail-site .tab_desc {
        font-size: 0.9rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.5);
        margin-bottom: 1.5rem;
    }
    .tags-detail-site .sorting-nav,
    .tags-detail-site .theme-detail-sort-nav {
        margin-bottom: 1rem;
        padding-top: 0;
        margin-top: 0;
    }

    .tags-detail-title {
        font-size: 1.6rem;
    }

    .tags-detail-count {
        font-size: 1.1rem;
    }

    .tags-detail-desc {
        font-size: 1.1rem;
    }

    .tags-detail-desc-label {
        font-size: 1.2rem;
    }

    .tags-detail-desc-text {
        font-size: 1.1rem;
    }

    .tags-detail-site .theme-detail-sort-nav .sorting-nav-list {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 0;
        margin: 0;
        list-style: none;
        width: auto;
        max-width: none;
    }

    .tags-detail-site .theme-detail-sort-nav .sorting-nav-list li {
        display: block;
        margin: 0;
        white-space: nowrap;
    }

    .tags-detail-site .theme-detail-sort-nav .sorting-nav-list li a {
        display: inline-block;
        position: relative;
        padding: 0 0 7px;
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        border-bottom: 0;
    }

    .tags-detail-site .theme-detail-sort-nav .sorting-nav-list li a::before {
        content: '' !important;
        display: block !important;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        margin-left: 0;
        background: #f7327b;
        border-radius: 0;
        opacity: 0;
        transform: none;
        transition: opacity 0.3s;
    }

    .tags-detail-site .theme-detail-sort-nav .sorting-nav-list li a::after {
        display: none !important;
    }

    .tags-detail-site .theme-detail-sort-nav .sorting-nav-list li.active a,
    .tags-detail-site .theme-detail-sort-nav .sorting-nav-list li.active a:visited {
        color: #f7327b !important;
        font-weight: 500;
    }

    .tags-detail-site .theme-detail-sort-nav .sorting-nav-list li.active a::before {
        opacity: 1 !important;
    }

    .tags-detail-site .theme-detail-sort-nav .sorting-nav-list li:not(.active) a:visited {
        color: #fff !important;
    }

    .tags-detail-site .video-card-meta {
        font-size: 1.1rem;
    }

    .tags-detail-site .video-card-meta .meta-views::before,
    .tags-detail-site .video-card-meta .meta-likes::before {
        width: 1.1rem;
        height: 1.1rem;
    }
}

@media (max-width: 30rem) {
    .tags-detail-site {
        padding-top: 0.1rem;
    }

    .tags-detail-site .content-header {
        padding-top: 0;
    }

    .tags-detail-title {
        font-size: 1.8rem;
    }

    .tags-detail-count {
        font-size: 1.2rem;
    }

    .tags-detail-desc {
        font-size: 1.2rem;
    }

    .tags-detail-desc-label {
        font-size: 1.4rem;
    }

    .tags-detail-desc-text {
        font-size: 1.2rem;
    }

    .tags-detail-site .video-card-meta {
        font-size: 1.2rem;
    }

    .tags-detail-site .video-card-meta .meta-views::before,
    .tags-detail-site .video-card-meta .meta-likes::before {
        width: 1.2rem;
        height: 1.2rem;
    }
    .tags-detail-site .tab_desc {
        font-size: 0.625rem;
    }

    .tags-detail-site .tab_desc h2 {
        font-size: 1rem;
    }
    .tags-detail-site .content-header .container {
        padding-top: 1.5rem;
        padding-bottom: 0;
    }  
    .tags-detail-site .tab_desc {
        margin-bottom: 30px;
    }  
}

.tags-detail-site .tab_desc {
    color: #aaa;
    font-size: 14px;
}

.tags-detail-site .tab_desc h2 {
    font-size: 20px;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .tags-detail-site .tab_desc {
        color: #aaa;
        font-size: 12px;
    }

    .tags-detail-site .tab_desc h2 {
        font-size: 15px;
        font-weight: 600;
    }
}

@media (max-width: 767.98px) {
    html[lang="en"] .tags-detail-site .theme-detail-sort-nav .sorting-nav-list li a {
        font-size: 12px;
    }
}