
/* News & Articles Page Styles --------------------------------- */
.news_articles_vy {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.news_layout_vy {
    display: flex;
    gap: 40px;
}

.news_main_content_vy {
    flex: 1;
    min-width: 0;
}

.news_sidebar_vy {
    width: 350px;
    position: sticky;
    top: 120px;
    height: fit-content;
}

/* Featured Article */
.featured_article_vy {
    margin-bottom: 60px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    display: flex;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.featured_article_vy:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.featured_img_vy {
    flex: 1.3;
    overflow: hidden;
    position: relative;
    min-height: 400px;
}

.featured_img_vy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured_article_vy:hover .featured_img_vy img {
    transform: scale(1.08);
}

.featured_content_vy {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Tags & Titles */
.news_tag_vy {
    display: inline-block;
    padding: 6px 18px;
    background: #172747;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 20px;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news_title_vy {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #111;
    line-height: 1.2;
    font-family: "DM Sans";
}

.news_excerpt_vy {
    color: #555;
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 16px;
    font-family: "DM Sans";
}

.news_date_vy {
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* News Grid */
.news_grid_vy {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news_card_vy {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news_card_vy:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.07);
}

.card_img_vy {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.card_img_vy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.news_card_vy:hover .card_img_vy img {
    transform: scale(1.12);
}

.card_content_vy {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card_title_vy {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #111;
    line-height: 1.3;
    font-family: "DM Sans";
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card_excerpt_vy {
    font-weight: 400;
    font-family: "DM Sans";
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar Widgets */
.sidebar_widget_vy {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.02);
}

.widget_title_vy {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #172747;
    color: #111;
    position: relative;
}

.widget_title_vy::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #172747;
}

.search_form_vy {
    position: relative;
}

.search_form_vy input {
    width: 100%;
    padding: 14px 45px 14px 18px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
    transition: border-color 0.3s;
    background: #fdfdfd;
}

.search_form_vy input:focus {
    border-color: #172747;
}

.search_form_vy button {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #172747;
    font-size: 18px;
    cursor: pointer;
}

.category_list_vy {
    list-style: none;
    padding: 0;
}

.category_list_vy li {
    margin-bottom: 15px;
    border-bottom: 1px solid #f8f8f8;
    padding-bottom: 12px;
}

.category_list_vy li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.category_list_vy a {
    color: #444;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s;
}

.category_list_vy a span {
    color: #999;
    font-weight: 400;
    font-size: 13px;
}

.category_list_vy a:hover {
    color: #172747;
    padding-left: 5px;
}

.recent_post_vy {
    display: flex;
    gap: 18px;
    margin-bottom: 25px;
    align-items: center;
}

.recent_post_vy:last-child {
    margin-bottom: 0;
}

.recent_post_img_vy {
    width: 85px;
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent_post_img_vy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent_post_info_vy .rp_title_vy {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent_post_info_vy .rp_date_vy {
    font-size: 12px;
    color: #999;
}

/* Pagination */
.pagination_vy {
    margin-top: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.page_link_vy {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 50%;
    color: #444;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    background: #fff;
}

.page_link_vy.active {
    background: #172747;
    color: #fff;
    border-color: #172747;
    box-shadow: 0 5px 15px rgba(23, 39, 71, 0.2);
}

.page_link_vy:hover:not(.active) {
    background: #f8f8f8;
    border-color: #172747;
    color: #172747;
}

.page_nav_vy {
    font-size: 18px;
    color: #172747;
    cursor: pointer;
    transition: transform 0.3s;
}

.page_nav_vy:hover {
    transform: scale(1.1);
}

/* News Detail Page Styles --------------------------------- */
.news_detail_wrapper_vy {
    background: #fff;
    border-radius: 30px;
    padding: 50px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.03);
}

.news_detail_header_vy {
    margin-bottom: 40px;
}

.news_detail_header_vy .news_tag_vy {
    margin-bottom: 15px;
}

.news_detail_title_vy {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: "DM Sans";
}

.news_detail_meta_vy {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 40px;
}

.meta_item_vy {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #777;
    font-size: 14px;
}

.meta_item_vy i {
    color: #172747;
    font-size: 16px;
}

.news_detail_featured_img_vy {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 50px;
}

.news_detail_featured_img_vy img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news_detail_content_vy {
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    font-family: "DM Sans";
}

.news_detail_content_vy p {
    margin-bottom: 25px;
}

.news_detail_content_vy h4 {
    font-size: 24px;
    font-weight: 600;
    color: #111;
    margin: 40px 0 20px;
}

.news_detail_content_vy blockquote {
    margin: 40px 0;
    padding: 40px;
    background: #f9f9f9;
    border-left: 5px solid #172747;
    font-style: italic;
    font-size: 22px;
    color: #111;
    border-radius: 0 20px 20px 0;
}

.news_share_vy {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.share_title_vy {
    font-weight: 600;
    color: #111;
    font-size: 16px;
}

.share_links_vy {
    display: flex;
    gap: 15px;
}

.share_btn_vy {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    color: #172747;
    transition: all 0.3s;
}

.share_btn_vy:hover {
    background: #172747;
    color: #fff;
    transform: translateY(-3px);
}

.back_to_news_vy {
    margin-top: 50px;
}

/* Responsive Fixes */
@media (max-width: 1400px) {
    .news_grid_vy {
        gap: 20px;
    }
}

@media (max-width: 1200px) {
    .news_grid_vy {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured_content_vy {
        padding: 40px;
    }
    .news_title_vy {
        font-size: 30px;
    }
    .news_detail_title_vy {
        font-size: 34px;
    }
}

@media (max-width: 991px) {
    .news_layout_vy {
        flex-direction: column;
    }
    .news_sidebar_vy {
        width: 100%;
        position: static;
    }
    .featured_article_vy {
        flex-direction: column;
    }
    .featured_img_vy {
        min-height: 300px;
    }
    .news_detail_wrapper_vy {
        padding: 30px;
    }
    .news_detail_featured_img_vy {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .news_articles_vy {
        padding: 60px 0;
    }
    .news_title_vy {
        font-size: 26px;
    }
    .featured_content_vy {
        padding: 30px;
    }
    .news_detail_title_vy {
        font-size: 28px;
    }
    .news_detail_meta_vy {
        gap: 15px;
    }
}

@media (max-width: 575px) {
    .news_grid_vy {
        grid-template-columns: 1fr;
    }
    .pagination_vy {
        gap: 8px;
    }
    .page_link_vy {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    .news_detail_featured_img_vy {
        height: 250px;
    }
}

