header {
    background-color: var(--header-alt-color);
}

.tag-header {
    padding-top: 30px;
    margin-bottom: 50px;
}

@media screen and (max-width: 992px) {
    .tag-header {
        padding-top: 25px;
        margin-bottom: 34px;
    }


    @media screen and (max-width: 768px) {
        .tag-header {
            padding-top: 20px;
            margin-bottom: 30px;
        }
    }

    @media screen and (max-width: 576px) {
        .tag-header {
            padding-top: 10px;
            margin-bottom: 20px;
        }
    }
}

.tag-header .t_head .t_title {
    margin-bottom: 32px;
    font-size: 46px;
    font-weight: 900;
    word-break: break-word;
    text-transform: capitalize;
}

@media only screen and (max-width: 576px) {
    .tag-header .t_head .t_title {
        font-size: 32px;
    }
}

.tag-header .t_head .t_desc {
    display: block;
    font-size: 16px;
    font-weight: 500;
    max-width: 1140px;
    border-radius: 8px;
    transition: none;
    line-height: 1.8;
    color: var(--link-color);
    transition: all .35s;
}

@media only screen and (max-width: 576px) {
    .tag-header .t_head .t_desc {
        font-size: 14px;
    }
}

.tag-header .t_head .t_list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--background-alt-color);
    list-style-type: none;
    margin: 0 -6px;
}

.tag-header .t_head .t_list .t_item {
    margin: 6px 8px;
    will-change: transform;
    transition: transform .2s;
}

.tag-header .t_head .t_list .t_item:hover {
    transform: translateY(-6px);
    cursor: pointer;
}

.tag-header .t_head .t_list .t_link {
    text-decoration: none;
    color: var(--link-color);
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    border-radius: 8px;
    background: var(--background-alt-color);
}

.tag_info {
    max-width: 1140px;
    padding-left: 16px;
    padding-right: 16px;
    margin: 0 auto;
}

@media only screen and (max-width: 1140px) {
    .tag_info {
        max-width: 1000px;
    }
    @media only screen and (max-width: 1024px) {
        .tag_info {
            max-width: 740px;
        }
    }

    @media only screen and (max-width: 768px) {
        .tag_info {
            max-width: 560px;
        }
    }

    @media only screen and (max-width: 576px) {
        .tag_info {
            max-width: 480px;
            padding-left: calc(16px + 4px);
            padding-right: calc(16px + 4px);
        }
    }
}

@media only screen and (max-width: 768px) {
    .tag_info .tag-i::after {
        background: transparent;
    }
}

.tag_info-box {
    display: flex;
    align-items: center;
}

.tag_info .tag_name,
.tag_info .top_link,
.tag_info .tag_counter {
    background: var(--background-color);
    z-index: 2;
}

.tag_info .tag_counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    color: var(--heading-font-color);
    background: var(--background-alt-color);
}

@media only screen and (max-width: 576px) {
    .tag_info .tag_counter {
        display: none;
    }
}

.tag_info .tag_counter span {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.tag_info .tag_counter small {
    font-size: 16px;
    font-weight: 500;
}

.tag_info .tag_name {
    padding: 50px 20px 50px 20px;
    margin-bottom: 0;
    font-size: 36px;
    max-width: 90%;
    line-break: auto;
    text-transform: capitalize;
    background-color: var(--background-color);
}

@media only screen and (max-width: 768px) {
    .tag_info .tag_name {
        font-size: 32px;
    }

    .tag_info .tag_name {
        padding: 32px 12px 32px 10px;
        font-size: 26px;
    }
}

.s_posts {
    background-color: transparent;
}