/* Main Container */
.news-detail-main {
    padding: 40px 0;
}

.news-detail-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.content-left {
    border-bottom: 1px solid #ECECEC;
    padding-bottom: 30px;
}

/* Blog Header */
.blog-header {
    margin-bottom: 24px;
}

.blog-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1.5;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar__box__header {
    display: flex;
    align-items: center;
    gap: 2px;
}

.author-name {
    font-weight: 700;
    color: var(--color-text-brand);
    font-size: 24px;
}

.publish-date {
    color: var(--color-text-brand);
    font-size: 1rem;
    font-weight: 400;
}


/* Right Sidebar */
.content-right {
    flex: 0 0 360px;
    position: sticky;
    top: 15px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Hot News Section */

/* Hot news styles for right sidebar */
.news__title__hot {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-hotline);
    margin-bottom: 14px;
    text-transform: uppercase;
    line-height: 1.4;
}

.news_right__grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news__item__hot {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-white);
    border-radius: 4px;
    border: #ECECEC 1px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news_item__hot__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news_item__hot__link {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text-brand);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.calendar__box__hot {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: auto;
}

.calendar__image__hot {
    width: 16px;
    height: 16px;
}

.calendar__text__hot {
    font-size: 14px;
    color: var(--color-text-brand);
}


/* Responsive Design */

/* Large Desktop */
@media (max-width: 1199px) {
    .news-detail-content {
        gap: 30px;
    }

}

/* Tablets */
@media (max-width: 991px) {
    .news-detail-main {
        padding: 20px 0;
    }

    .news-detail-content {
        gap: 20px;
    }

    .content-left {
        padding: 30px;
    }

    .blog-title {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .news-detail-content {
        flex-direction: column;
        gap: 20px;
    }

    .content-left {
        padding: 20px;
        order: 1;
    }

    .content-right {
        order: 2;
        flex: none;
        position: static;
    }

    .blog-title {
        font-size: 20px;
        line-height: 1.4;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news_right__grid {
        gap: 20px;
        padding-bottom: 10px;
    }

    .news__item__hot:last-child {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }
}

/* Small Mobile */
@media (max-width: 575px) {
    .news-detail-main {
        padding: 15px 0;
    }

    .content-left {
        padding: 0px;
    }

    .blog-title {
        font-size: 18px;
    }

    .blog-content {
        font-size: 15px;
    }

    .blog_post__right {
        padding: 0px;
    }

    .news__title__hot {
        font-size: 16px;
    }
}