.blog-single {
    --amin-bar-height: 0px;
    --container-space: 1.75rem;
}

.admin-bar .blog-single {
    --amin-bar-height: 32px;
}

.blog-single .hw-gradient {
    z-index: -1;
}

.blog-single .breadcrumbs {
    position: relative;
    top: auto;
    left: auto;
    padding: var(--container-space);
    border-bottom: 1px solid var(--border-color);
}

.blog-single-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 1px solid var(--border-color);
}

.blog-single-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;
    padding: var(--container-space);
}

.blog-single-info-top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-single-top-date {
    font-size: 0.75rem;
    color: #666;
    line-height: 120%;
}

.blog-single-top-title {
    font-size: 3.5rem;
    letter-spacing: -0.07rem;
}

.blog-single-thumbnail img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-single-body {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "a b b c";
    gap: 3.5rem;
    padding: 5rem var(--container-space);
    border-bottom: 1px solid var(--border-color);
    z-index: 0;
}

.blog-single-body-left {
    grid-area: a;
}

.blog-single-body-toc {
    position: sticky;
    top: calc(var(--header-height) + var(--amin-bar-height) + 2rem);
    z-index: 2;
}

.blog-single-content {
    grid-area: b;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    min-width: 0;
}

.blog-single-content .blog-item-content-simple p:first-child {
    margin-top: 0;
}

.blog-single-process {
    position: sticky;
    top: calc(var(--header-height) + var(--amin-bar-height));
    height: 0.5rem;
    z-index: 2;
}

.blog-single-process:before {
    content: '';
    position: absolute;
    left: 0;
    height: 100%;
    width: var(--progress, 0%);
    transition: width 0.1s linear;
}

.hw-blog-cx .blog-single-process {
    background: #F2F2F2;
}

.hw-blog-cx .blog-single-process:before {
    background: #36E6CE;
}


.hw-blog-ai .blog-single-process {}

.hw-blog-ai .blog-single-process:before {}


.hw-blog-tech .blog-single-process {
    background: #333;
}

.hw-blog-tech .blog-single-process:before {
    background: linear-gradient(110deg, #70E0FF 0.01%, #2377FF 49.8%, #BE6CFF 99.59%);
}


.hw-blog-media .blog-single-process {
    background: #333;
}

.hw-blog-media .blog-single-process:before {
    background: linear-gradient(98deg, #FF2828 21.21%, #FF6C22 70.86%, #FFCE00 120.52%);
}



.blog-single-tags {
    display: flex;
    flex-direction: column;
    gap: 0.69rem;
}

.blog-item-conent {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    width: 100%;
    overflow: hidden;
}

.blog-item-conent .basic-text:first-child {
    margin-top: 0;
}

.blog-item-conent-down-author {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.blog-author-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.blog-author-buttons>a {
    display: flex;
    color: var(--main-text-color);
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    width: fit-content;
    border: 1px solid var(--border-color);
}

.blog-author-buttons>a:hover {
    background-color: var(--border-color);
}

.blog-author-buttons>a svg {
    width: 1.25rem;
    height: 1.25rem;
    padding: 0.2rem;
}

.blog-author-buttons>a span {
    font-size: 0.875rem;
    line-height: 140%;
}

.blog-single-body-right {
    grid-area: c;
}

.blog-single-body-right-wrapper {
    position: sticky;
    top: calc(var(--header-height) + var(--amin-bar-height) + 2rem);
    z-index: 2;
    max-height: calc(100vh - var(--header-height) - var(--amin-bar-height) - 2rem);
    overflow-y: auto;
    padding-bottom: 2rem;
}

.blog-single-body-right-wrapper::-webkit-scrollbar {
    width: 2px;
}

.blog-single-body-right-wrapper::-webkit-scrollbar-thumb {
    border-radius: 20px;
}

.blog-single-body-right-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-color);
}

.blog-single-body-right-wrapper::-webkit-scrollbar-track {
    background: var(--second-text-color);
}

.hw-blog-cx .blog-single-body-right-wrapper::-webkit-scrollbar-thumb {
    background: var(--border-color);
}

.hw-blog-cx .blog-single-body-right-wrapper::-webkit-scrollbar-track {
    background: #e4e4e4;
}

.blog-single-body-right-inner {
    display: flex;
    flex-direction: column;
    gap: 1.74rem;
}

.blog-item-content-simple picture {
    max-width: 100%;
}

.blog-item-content-simple img {
    max-width: 100%;
}

.blog-item-content-simple p img {
    max-width: 100%;
    object-fit: contain;
    height: auto;
}

.blog-item-content-simple h2,
.blog-item-content-simple h3,
.blog-item-content-simple h4 {
    font-family: var(--font-family-body);
    font-weight: 500;
}

.blog-item-content-simple h2 {
    font-size: 2rem;
    line-height: 100%;
    margin-top: 5rem;
    margin-bottom: 2.5rem;
}

.blog-item-content-simple h3 {
    font-size: 1.5rem;
    line-height: 100%;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.blog-item-content-simple h4 {
    font-size: 1.125rem;
    line-height: 100%;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.blog-item-content-simple a {
    color: #0053D9;
}

.blog-item-content-simple p {
    line-height: 140%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.blog-item-content-simple ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}


.blog-item-content-simple ul li,
.blog-item-content-simple ol li {
    line-height: 140%;
    margin-bottom: 0.2rem;
}

.blog-item-content-simple>ul {
    list-style: disc;
}

.blog-item-content-simple ul li ul {
    margin-top: 1rem;
    list-style: disc;
}

.more-blogs-headline-container {
    padding: 2.5rem var(--container-space);
}

.more-blogs-headline {
    font-size: 3.5rem;
    letter-spacing: -0.07rem;
}

.more-blog {
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 1200px) {
    .blog-single-body-left {
        display: none;
    }

    .blog-single-body {
        grid-template-areas: "b b b c";
        gap: 2rem;
    }

    .more-blogs-headline {
        font-size: 3rem;

    }
}

@media (max-width: 992px) {
    .blog-single {
        --container-space: 1rem;
    }

    .blog-single-body {
        grid-template-areas: "c c c c" "b b b b";
        gap: 2rem;
        padding: 2rem var(--container-space);
    }

    .blog-single-top-title {
        font-size: 2.5rem;
    }

    .blog-item-conent {
        gap: 3rem;
    }

    .more-blogs-headline {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 782px) {
    .admin-bar .blog-single {
        --amin-bar-height: 46px;
    }

    .blog-single-top {
        grid-template-columns: repeat(1, 1fr);
    }

    .blog-single-info {
        padding: 2.5rem var(--container-space);
    }

    .blog-single-body-left {
        display: none;
    }

    .blog-single-body {
        grid-template-columns: repeat(1, 1fr);
        grid-template-areas: "c" "b";
        gap: 2rem;
    }

    .blog-single-top-title {
        font-size: 1.75rem;
    }

    .blog-author-buttons {
        flex-direction: column;
    }

    .more-blogs-headline {
        font-size: 1.5rem;
    }
}