/* News Detail Page Styles */
.blog_title {
    font-size: 2rem;
}
.blog_desc {
    font-size: 1rem;
    padding: 1rem 0;
}
.content_v1 {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}
.meta_wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.meta_item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
}
.content_left {
    flex: 1;
    max-width: calc(100% - 350px);
}

.content_left_v1 {
    border-radius: 10px;
    padding: 0;
}
.content_center_v1 {
    line-height: 1.6;
}
.content_center_v1 img{
    margin: 1rem 0;
    max-width: 100%;
    width: auto;
    height: auto;
}
.content_center_v1 iframe,
.content_center_v1 video,
.content_center_v1 embed{
    width: 100%;
    height: auto;
    margin: 1rem 0;
}
.content_center_v1 li,
.content_center_v1 ul{
    margin-left: 14px;
}

.content_center {
    display: none;
}


.content_right {
    flex: 0 0 320px;
    max-width: 320px;
}

.content_right_v1 {
    position: sticky;
    top: 95px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.content_body {
    transition: all 0.3s ease;
}
.title-section  {
    text-align: center;
    padding: 1.5rem 0;
}
.news_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news_card {
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.news_image {
    overflow: hidden;
    border-bottom: none;
}

.news_image img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news_image:hover img {
    transform: scale(1.1);
}

.news_card_content {
    padding: 1rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.news_title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.news_title a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.news_title a:hover {
    color: var(--color-blue);
}

.news_meta {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.news_description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.news_link {
    display: flex;
    margin-top: auto;
    justify-content: flex-end;
    align-items: center;
}

.news_link a {
    display: flex;
    text-align: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
}
.news_link a span {
    display: inline-flex;
    align-items: center;
}

.news_link a:hover {
    color: #dc2626;
}

.related_posts {
    padding-bottom: 4rem;
}
.news_detail_main {
    padding: 6rem 0;
}


/* 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_right_v1 {
        flex-direction: column;
    }
    .content_v1 {
        flex-direction: column-reverse;
        margin-top: 16px;
    }

    .news_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .title_section {
        font-size: 1.875rem;
    }

    .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;
    }
}

/* Large Devices (Tablets) */
@media (max-width: 991px) {
    .content_right_v1 {
        flex-direction: column;
    }
    .content_v1 {
        flex-direction: column-reverse;
        margin-top: 16px;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 767px) {
    .news_detail_main {
        padding: 3rem 0;
    }
    .news_grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .news_card_content {
        padding: 0.75rem;
        min-height: 180px;
    }

    .news_title {
        font-size: 1.125rem;
    }

    .news_meta {
        font-size: 0.8rem;
    }

    .title_section {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .blog_title {
        font-size: 1.5rem;
    }
}

/* Small Devices (Phones) */
@media (max-width: 575px) {
    .news_grid {
        grid-template-columns: 1fr;
    }

    .news_main {
        padding: 1.5rem 0 3rem;
    }

    .news_card_content {
        min-height: 160px;
    }

    .title_section {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
}

/* Extra Small Devices */
@media (max-width: 374px) {
    .news_card_content {
        padding: 0.5rem;
    }

    .news_title {
        font-size: 1rem;
    }

    .news_description {
        font-size: 0.9rem;
    }
}
