﻿.page-header {
    background: linear-gradient(135deg, #003366 0%, #0066cc 100%);
    padding: 100px 0 40px;
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb {
    margin-top: 20px;
    text-align: center;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
}

.content-area {
    padding: 60px 0;
}

.content-area .container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.main-content {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00cccc;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 5px;
}

.sidebar-menu li a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sidebar-menu li a:hover,
.sidebar-menu li a.active {
    background: linear-gradient(135deg, #0066cc, #00cccc);
    color: #fff;
}

.sidebar-parent {
    position: relative;
}

.sidebar-parent > a {
    position: relative;
    padding-right: 35px;
}

.sidebar-parent > a::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) scale(0.7);
    color: #999;
    transition: transform 0.3s ease;
}

.sidebar-parent.active > a::after {
    transform: translateY(-50%) rotate(180deg) scale(0.7);
}

.sidebar-parent > a:hover::after,
.sidebar-parent.active > a::after {
    color: #fff;
}

.sidebar-submenu {
    list-style: none;
    padding: 0;
    margin: 5px 0 10px 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-parent.active > .sidebar-submenu {
    max-height: 200px;
}

.sidebar-submenu li {
    margin-bottom: 3px;
}

.sidebar-submenu li a {
    padding: 8px 12px;
    font-size: 14px;
    background: #f8f9fa;
}

.sidebar-submenu li a:hover,
.sidebar-submenu li a.active {
    background: linear-gradient(135deg, #0066cc, #00cccc);
    color: #fff;
}

.news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fafafa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.news-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.news-item-image {
    width: 200px;
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
}

.news-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #003366;
    margin-bottom: 10px;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-item-title:hover {
    color: #0066cc;
}

.news-item-summary {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}

.news-item-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.text-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.text-list-item {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

.text-list-item:last-child {
    border-bottom: none;
}

.text-list-item:hover {
    background: #f8f9fa;
    padding-left: 25px;
}

.text-list-date {
    width: 100px;
    font-size: 14px;
    color: #999;
    flex-shrink: 0;
}

.text-list-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-list-title:hover {
    color: #0066cc;
}

.text-list-tag {
    padding: 4px 10px;
    font-size: 12px;
    color: #fff;
    background: #00cccc;
    border-radius: 12px;
    margin-left: 15px;
    flex-shrink: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.pagination a {
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
}

.pagination a:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

.pagination span.current {
    background: linear-gradient(135deg, #0066cc, #00cccc);
    color: #fff;
}

.pagination a.prev,
.pagination a.next {
    width: auto;
    padding: 0 15px;
}

.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: linear-gradient(135deg, #0066cc, #00cccc);
    color: #fff;
    border-color: transparent;
}

@media (max-width: 992px) {
    .content-area .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .sidebar {
        position: static;
        top: auto;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-item-image {
        width: 100%;
        height: auto;
    }
    
    .main-content {
        padding: 20px;
    }
    
    .sidebar {
        padding: 20px;
    }
    
    .sidebar-title {
        font-size: 16px;
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .sidebar-menu li a {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 30px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .breadcrumb {
        margin-top: 15px;
    }
    
    .breadcrumb a,
    .breadcrumb span {
        font-size: 13px;
    }
    
    .content-area {
        padding: 40px 0;
    }
    
    .content-area .container {
        gap: 20px;
    }
    
    .main-content {
        padding: 15px;
    }
    
    .sidebar {
        padding: 15px;
    }
    
    .news-item {
        padding: 15px;
        gap: 15px;
    }
    
    .news-item-title {
        font-size: 16px;
    }
    
    .news-item-summary {
        font-size: 13px;
    }
    
    .text-list-item {
        padding: 15px;
    }
    
    .text-list-date {
        width: 80px;
        font-size: 13px;
    }
    
    .text-list-title {
        font-size: 14px;
    }
    
    .text-list-tag {
        padding: 3px 8px;
        font-size: 11px;
        margin-left: 10px;
    }
    
    .pagination a,
    .pagination span {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .pagination {
        margin-top: 30px;
        gap: 8px;
    }
    
    .filter-bar {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 24px;
    }
    
    .pagination a.prev,
    .pagination a.next {
        padding: 0 10px;
        font-size: 12px;
    }
}