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

.blog-title {
    font-size: 32px;
    color: #484F56;
    font-weight: 700;
}

.blog-authors {
    margin-top: 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.content-v1 {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.content-left {
    flex: 1;
    max-width: calc(100% - 350px);
}

.content-left-v1 {
    background: #ffffff;
    border-radius: 10px;
    padding: 0;
}

.content-center-v1 :where(img, video, iframe) {
    max-width: 100%;
}

.content-center-v1 :where(img, video) {
    height: auto;
}

.content-center-v1 :where(table) {
    max-width: 100%;
}

.content-center {
    display: none;
}


.content-right {
    flex: 0 0 24.125rem; /* 386px */
    max-width: 24.125rem;
}

.content-right-v1 {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.content-body {
    transition: all 0.3s ease;
}

.sidebar-blog {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.sidebar-blog:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.sidebar-blog a {
    display: block;
    text-decoration: none;
}

.sidebar-blog a img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.sidebar-blog a:hover img {
    transform: scale(1.05);
}

.news_related--heading{
    font-size: 1.25rem;
    font-weight: 600;
    color: #484F56;
}

/* Related posts sidebar*/
.news_related{
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.news__trending--item{
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background: #F9FFFB;
    border-radius: 1.25rem;
    backdrop-filter: blur(20px);
}

.news__trending--thumb{
    position: relative;
    flex: 0 0 10.625rem;
    width: 10.625rem;
    height: 10.625rem;
    border-radius: 0.625rem;
    overflow: hidden;
}

.news__trending--thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news__trending--tag{
    position: absolute;
    top: 0.9375rem;
    left: 0.75rem;
    padding: 0.25rem 0.625rem;
    border-radius: 1.875rem;
    background: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 300;
    color: #8B6600;
}

.news__trending--info{
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
    min-width: 0;
}

.news__trending--info h3 a{
    font-size: 1rem;
    font-weight: 700;
    color: #2D3136;
    text-decoration: none;
}

.news__trending--info h3 a:hover{
    color: var(--color-green);
}

.news__trending--info p{
    font-size: 0.875rem;
    font-weight: 400;
    color: #6D7883;
    margin: 0;
}

.news__trending--viewmore a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--color-green);
    border-radius: 1.5625rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-green);
    text-decoration: none;
    width: fit-content;
}

.news__trending--viewmore a:hover{
    background: var(--color-green);
    color: #FFFFFF;
}

/** author and share **/
.blog__author{
    margin: 40px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog__author--left{
    display: flex;
    justify-content: start;
    gap: 10px;
    align-items: center;
}

.blog__author--label{
    padding: 8px 20px;
    background: var(--bg-secondary);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 400;
    color:#8B6600;
}

.blog__author--date{
    font-size: 13px;
    font-weight: 400;
    color: var(--color-black);
}

.news-detail__page-hero{
    width: 100%;
    overflow: hidden;
    position: relative;
}

.news-detail__page-hero-image{
    width: 100%;
    object-fit: cover;
    display: block;
}

/* Figma node 577:3452: black -> transparent overlay */
.news-detail__page-hero::after{
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

/** news detail related **/
.news__detail--prev, .news__detail--next{
     font-size: 20px;
    font-weight: 600;
    color: var(--color-black);
    text-decoration: none;
    max-width: 320px;
}

.news__detail--prev:hover, .news__detail--next:hover{
    color:var(--color-green)
}

.news__detail--next--label{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 8px;
   
}

.news__detail--next--label.next{
    justify-content: end;
}

.news__detail--related{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news__detail--title{
    font-size: 16px;
    font-weight: 400;
}

/* 4K and Ultra-wide Screens */
@media (min-width: 1600px) {
}

/* Ultra Large Devices (Extra Large Desktop) */
@media (max-width: 1599px) {
}

/* XXL Devices (Large Desktop) */
@media (max-width: 1399px) {
}

/* Extra Large Devices (Small Desktop) */
@media (max-width: 1199px) {
    .content-v1 {
        flex-direction: column;
        gap: 20px;
    }

    .content-left {
        max-width: 100%;
    }

    .content-right {
        flex: none;
        max-width: 100%;
    }

    .content-right-v1 {
        position: static;
        flex-direction: row;
        overflow-x: auto;
        gap: 20px;
    }

    .sidebar-blog {
        flex: 0 0 250px;
    }
}

/* Large Devices (Tablets) */
@media (max-width: 991px) {
    .blog-top h1 {
        font-size: 24px;
    }

    .blog-authors {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .blog-bot {
        position: static;
        justify-content: flex-start;
    }

    .content-right-v1 {
        flex-direction: column;
    }

    .sidebar-blog {
        flex: none;
    }

    .content-v1 {
        margin-top: 16px;
    }

    .sidebar-blog {
        display: none;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 767px) {
    .blog-title {
        font-size: 1.5rem;
    }

    .content-v1 {
        margin-top: 1.5rem;
        margin-bottom: 2.5rem;
        gap: 1.5rem;
    }

    .news-detail__page-hero-image {
        aspect-ratio: 390 / 220;
        object-fit: cover;
    }

    .blog__author {
        margin: 1.5rem 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .blog__author--left {
        flex-wrap: wrap;
    }

    .blog__author--label,
    .blog__author--date {
        font-size: 0.8125rem;
    }

    .content-left-v1 {
        border-radius: 0.75rem;
        overflow: hidden;
    }

    .table-of-contents {
        margin-top: 1.25rem;
    }

    .news__detail--related {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

    .news__detail--prev,
    .news__detail--next {
        max-width: none;
        width: 100%;
        font-size: 1.0625rem;
    }

    .news__detail--next--label.next {
        justify-content: flex-start;
    }

    .news__trending--item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.75rem;
    }

    .news__trending--thumb {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .news__trending--info {
        padding: 0;
    }

    .news__trending--viewmore a {
        width: 100%;
    }

    .content-center-v1 :where(table) {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Small Devices (Phones) */
@media (max-width: 575px) {
}

/* Extra Small Devices */
@media (max-width: 374px) {
    .blog-title {
        font-size: 1.375rem;
    }

    .content-v1 {
        gap: 1.25rem;
        margin-top: 1.25rem;
    }

    .news__detail--prev,
    .news__detail--next {
        font-size: 1rem;
    }

    .news__detail--title {
        font-size: 0.9375rem;
    }

    .news__trending--viewmore a {
        padding: 0.5rem 1rem;
        border-radius: 2rem;
    }
}
