/* ===== BLOCK NEWS LAYOUT ===== */
#block-news {
    background: #fff;
}

.news-header {
    margin-bottom: 2rem;
}

.news-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary, #8B0000);
    text-transform: uppercase;
    margin: 0;
}

/* News Layout Container */
.news-layout {
    position: relative;
}

/* Featured News (left column) */
.news-featured {
    position: relative;
}

/* News List Wrapper (right column) */
.news-list-wrapper {
    position: relative;
    min-height: 100%;
}

.news-card.featured-news {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card.featured-news:hover {
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
    transform: translateY(-5px);
}

.news-card.featured-news .news-image-link {
    display: block;
    width: 100%;
    overflow: hidden;
}

.news-card.featured-news .news-image {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.news-card.featured-news .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card.featured-news:hover .news-image img {
    transform: scale(1.05);
}

.news-card.featured-news .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card.featured-news .news-meta {
    display: flex;
    gap: 1.5rem;
    margin: 0.5rem 0;
    font-size: 0.875rem;
    color: #000000;
    font-weight: 600;
}

.news-card.featured-news .news-meta i {
    margin-right: 0.5rem;
    color: var(--primary, #8B0000);
}

.news-card.featured-news .news-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.news-card.featured-news .news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card.featured-news .news-title a:hover {
    color: var(--primary, #8B0000);
}

.news-card.featured-news .news-description {
    flex: 1;
    margin-bottom: 0.5rem;
}

.news-card.featured-news .news-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.news-card.featured-news .btn-read-news {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary, #8B0000);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.news-card.featured-news .btn-read-news:hover {
    background: #A52A2A;
    transform: translateX(5px);
}

/* News List Scroll (right column) */
.news-list-scroll {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
}

/* Custom Scrollbar */
.news-list-scroll::-webkit-scrollbar {
    width: 6px;
}

.news-list-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.news-list-scroll::-webkit-scrollbar-thumb {
    background: var(--primary, #8B0000);
    border-radius: 10px;
}

.news-list-scroll::-webkit-scrollbar-thumb:hover {
    background: #A52A2A;
}

/* List Item */
.news-card.list-item {
    display: flex;
    gap: 1rem;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card.list-item:hover {
    transform: translateX(5px);
}

.news-card.list-item .news-image-link {
    flex-shrink: 0;
    width: 177px;
    display: block;
    overflow: hidden;
    border-radius: 6px;
}

.news-card.list-item .news-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.news-card.list-item .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card.list-item:hover .news-image img {
    transform: scale(1.1);
}

.news-card.list-item .news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.news-card.list-item .news-meta {
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    color: #999;
}

.news-card.list-item .news-meta i {
    margin-right: 0.25rem;
    color: var(--primary, #8B0000);
}

.news-card.list-item .news-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.news-card.list-item .news-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card.list-item .news-title a:hover {
    color: var(--primary, #8B0000);
}

.news-card.list-item .news-description {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.news-card.list-item .news-description p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .news-list-wrapper {
        min-height: auto;
        margin-top: 2rem;
    }
    
    .news-list-scroll {
        position: static;
        height: auto;
        max-height: none;
        overflow: visible;
    }
    
    .news-card.list-item {
        flex-direction: column;
    }
    
    .news-card.list-item .news-image-link {
        width: 100%;
    }
    
    .news-card.list-item .news-image {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 767.98px) {
    .news-section-title {
        font-size: 1.5rem;
    }
    
    .news-card.featured-news .news-content {
        padding: 1.25rem;
    }
    
    .news-card.featured-news .news-title {
        font-size: 1.25rem;
    }
    
    .news-card.list-item {
        padding: 0.5rem;
    }
    
    .news-card.list-item .news-image-link {
        width: 120px;
    }
}

@media (max-width: 575.98px) {
    .news-card.featured-news .news-content {
        padding: 1rem;
    }
    
    .news-card.featured-news .news-title {
        font-size: 1.1rem;
    }
    
    .news-card.featured-news .news-meta {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .news-card.list-item {
        flex-direction: column;
    }
    
    .news-card.list-item .news-image-link {
        width: 100%;
    }
}

.news-featured-section {
    position: relative;
    background: #fff;
    border-radius: 24px;
    padding: 2.5rem 2.75rem 1.5rem;
    box-shadow: 0 25px 60px rgba(18, 42, 129, 0.08);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.news-featured-swiper {
    width: 100%;
}

.news-featured-slide {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.news-featured-info {
    flex: 1;
    max-width: 540px;
}

.news-featured-meta {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    color: #718096;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.news-featured-meta i {
    margin-right: 0.35rem;
    color: var(--primary, #0F4583);
}

.news-featured-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 1rem;
    color: #152235;
}

.news-featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-featured-title a:hover {
    color: var(--primary, #0F4583);
}

.news-featured-desc {
    color: #4A5568;
    line-height: 1.7;
    margin-bottom: 1.75rem;
    font-size: 1rem;
}

.news-featured-desc p {
    margin: 0;
}

.news-featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary, #0F4583);
    color: #fff;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
  
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.news-featured-btn:hover {
    transform: translateY(-2px);
    background: #0C3A6F;
}

.news-featured-btn i {
    font-size: 1rem;
}

.news-featured-thumb {
    flex: 1;
    max-width: 560px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 69, 131, 0.18);
}

.news-featured-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.news-featured-pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.75rem;
    gap: 0.75rem;
    position: relative;
}

.news-featured-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #CBD5F5;
    opacity: 1;
    transition: transform 0.3s ease, background 0.3s ease;
}

.news-featured-pagination .swiper-pagination-bullet-active {
    transform: scale(1.3);
    background: var(--primary, #0F4583);
}

.news-featured-section .no-after::after {
    display: none;
}

@media (max-width: 1199.98px) {
    .news-featured-slide {
        gap: 2rem;
    }
    .news-featured-title {
        font-size: 1.65rem;
    }
}

@media (max-width: 991.98px) {
    .news-featured-slide {
        flex-direction: column-reverse;
        text-align: center;
    }
    .news-featured-info {
        max-width: 100%;
    }
    .news-featured-meta {
        justify-content: center;
    }
    .news-featured-thumb {
        max-width: 100%;
    }
    .news-featured-btn {
        align-self: center;
    }
}

@media (max-width: 575.98px) {
    .news-featured-section {
        padding: 1.75rem 1.25rem;
    }
    .news-featured-title {
        font-size: 1.4rem;
    }
    .news-featured-desc{
        display:none;
    }
    .news-featured-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===== Sidebar ===== */
.aside-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.aside-block {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 69, 131, 0.08);
    border: 1px solid rgba(15, 69, 131, 0.06);
}

.aside-block-title {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.05em;
}

.aside-block-title i {
    font-size: 1.05rem;
}

.aside-menu {
    list-style: none;
    margin: 0;
    padding: 0.75rem 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.aside-menu-item {
    border-radius: 10px;
    overflow: hidden;
}

.aside-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    color: #102A43;
    padding: 0.55rem 0.75rem;
    border-radius: 5px;
    text-decoration: none;
    background: rgba(15, 69, 131, 0.08);
    transition: background 0.3s ease, color 0.3s ease;
}

.aside-menu-link:hover {
    background: rgba(15, 69, 131, 0.18);
    color: #0F4583;
}

.aside-menu-link .toggle-icon {
    font-size: 0.8rem;
    color: rgba(15, 69, 131, 0.7);
    margin-left: 0.5rem;
    width: 30px;
    height: 30px;
    cursor: pointer;
    text-align: center;
    line-height: 30px;
}

.aside-submenu {
    list-style: none;
    margin: 0.35rem 0 0;
    padding-left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.aside-submenu li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3A516B;
    font-size: 0.95rem;
    padding: 0.4rem 0.35rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.aside-submenu li a:hover {
    background: rgba(15, 69, 131, 0.08);
    color: #0F4583;
}

.aside-submenu li i {
    font-size: 0.7rem;
    color: rgba(15, 69, 131, 0.6);
}

.aside-block-news {
    padding: 0 1.25rem 1.25rem;
}

.aside-block-news .aside-block-title {
    margin: 0 -1.25rem 1rem;
}

.aside-news-swiper {
    padding-right: 0.2rem;
    overflow: hidden;
}

.aside-news-item {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.35rem 0.2rem;
}

.aside-news-thumb {
    width: 72px;
    min-width: 72px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    display: block;
}

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

.aside-news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.aside-news-title {
    font-weight: 700;
    color: #102A43;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.aside-news-title:hover {
    color: #0F4583;
}

.aside-news-desc {
    font-size: 0.9rem;
    color: #4A5568;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aside-news-swiper .swiper-slide {
    height: auto !important;
}

.aside-news-swiper .swiper-wrapper {
    padding-bottom: 0.5rem;
    overflow: hidden;
}

.aside-news-swiper .swiper-scrollbar {
    display: none;
}

@media (max-width: 767.98px) {
    .aside-layout {
        gap: 1rem;
    }
    .aside-menu {
        padding: 0.5rem 1rem 0.75rem;
    }
    .aside-news-thumb {
        width: 64px;
        min-width: 64px;
        height: 52px;
    }
    .aside-news-desc {
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }
}

@media (max-width: 575.98px) {
    .aside-block {
        border-radius: 16px;
    }
    .aside-block-title {
        padding: 0.75rem 1rem;
    }
    .aside-block-news {
        padding: 0 1rem 1rem;
    }
    .aside-block-news .aside-block-title {
        margin: 0 -1rem 0.75rem;
    }
}

