* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}



.banner {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-content {
    text-align: center;
    z-index: 1;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
}

.banner-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Noto Serif SC', serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-btn {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary {
    background: #1e3a8a;
    color: #fff;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #fff;
    transition: background 0.3s, color 0.3s;
}

.btn-secondary:hover {
    background: #fff;
    color: #1e3c72;
}

.banner-decoration {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 30px) rotate(5deg); }
}

.main-content {
    padding: 40px 0;
}

.top-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* 极简轮播 */
.slider {
    position: relative;
    height: 280px;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.slider-wrap {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-item {
    flex: 0 0 100%;
    position: relative;
}

.slider-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.slider-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.slider-prev { left: 12px; }
.slider-next { right: 12px; }

.slider-prev:hover, .slider-next:hover { background: rgba(0,0,0,0.6); }

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}

.slider-dot.active { background: #fff; }

.top-left {
    overflow: hidden;
}

.top-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.top-right {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid #1e60df;
}

.news-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1e60df;
    margin: 0;
}

.more-link {
    color: #666;
    text-decoration: none;
    font-size: 13px;
}

.more-link:hover {
    color: #1e60df;
}

.news-items {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.news-items li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
}

.news-items li:last-child {
    border-bottom: none;
}

.news-items li a {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.news-items li a:hover {
    color: #1e60df;
}

.news-items .date {
    color: #999;
    font-size: 12px;
    margin-left: 10px;
    flex-shrink: 0;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: #1e60df;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.list-container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 30px;
}

.list-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-section {
    margin-bottom: 25px;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e60df;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 8px;
}

.sidebar-menu li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 10px;
    display: block;
    border-radius: 4px;
    transition: all 0.3s;
}

.sidebar-menu li a:hover {
    background: #f0f5ff;
    color: #1e60df;
}

.sidebar-menu li.active a {
    background: #1e60df;
    color: #fff;
}



.list-content {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.list-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.filter-bar {
    display: flex;
    gap: 15px;
    align-items: center;
}

.filter-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.search-input-small {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 150px;
}

.article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.article-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    transition: background 0.3s;
}

.article-item:last-child {
    border-bottom: none;
}

.article-item:hover {
    background: #fafafa;
}

.article-item a {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 20px;
}

.article-item a:hover {
    color: #0b3575;
}

.article-item .date {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.pagination li a {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: block;
}

.pagination li a:hover {
    background: #0d3b85;
    color: #fff;
    border-color: #0d3b85;
}

.pagination li.active a {
    background: #0d3b85;
    color: #fff;
    border-color: #0d3b85;
    cursor: default;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 30px;
}

.detail-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.article-detail {
    margin-bottom: 30px;
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.article-header h1 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px;
    line-height: 1.4;
}

.article-detail .article-meta {
    flex-wrap: wrap;
}

.article-detail .article-meta span {
    margin-right: 20px;
}

.article-body {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
}

.article-body p {
    margin: 0 0 20px;
    text-indent: 2em;
}

.article-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px;
}

.article-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}



.detail-sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.banner-section {
    background: #0d3b85;
    padding: 30px 40px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    right: -50px;
    top: -20px;
    width: 150px;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 5 L61 40 L98 40 L68 62 L79 97 L50 75 L21 97 L32 62 L2 40 L39 40 Z' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") no-repeat;
    background-size: contain;
    transform: rotate(-30deg);
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-text {
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 10px;
}

.banner-title {
    font-size: 28px;
    font-weight: 600;
    color: #fff;
}

.banner-highlight {
    font-size: 42px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.three-column-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.column-section {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    position: relative;
    margin-bottom: 20px;
}

.column-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #1e3a8a;
}

.column-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.title-icon {
    font-size: 22px;
}

.column-title h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1e3c72;
    margin: 0;
}

.more-btn {
    color: #666;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 15px;
    transition: all 0.3s;
}

.more-btn:hover {
    background: #0d2137;
    color: #fff;
    border-color: #0d2137;
}

.column-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.column-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    transition: background 0.3s;
}

.column-item:last-child {
    border-bottom: none;
}

.column-item:hover {
    background: #f8f9fa;
    padding-left: 8px;
}

.item-link {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.item-link:hover {
    color: #1e3c72;
}

.item-date {
    color: #999;
    font-size: 13px;
    margin-left: 10px;
    flex-shrink: 0;
}

.news-list {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    background: #f8f9fa;
    margin: 0 -20px;
    padding: 12px 20px;
}

.news-item .news-date {
    font-size: 13px;
    color: #999;
    flex-shrink: 0;
    min-width: 90px;
}

.news-item .news-title {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item .news-title:hover {
    color: #1e3c72;
}

.news-read {
    font-size: 13px;
    color: #1e3c72;
    font-weight: 500;
    cursor: pointer;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.topic-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.topic-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.topic-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 5px;
}

.topic-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.topic-count {
    display: inline-block;
    background: #1e3c72;
    color: #fff;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.papers-list {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.paper-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.paper-item:last-child {
    border-bottom: none;
}

.paper-item:hover {
    background: #f8f9fa;
    margin: 0 -20px;
    padding: 15px 20px;
}

.paper-category {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
}

.paper-title {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.paper-title:hover {
    color: #1e3c72;
}

.paper-date {
    font-size: 13px;
    color: #999;
    flex-shrink: 0;
}

.sidebar-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

.announcement-list {
    list-style: none;
}

.announcement-list li {
    margin-bottom: 12px;
}

.announcement-list li:last-child {
    margin-bottom: 0;
}

.announcement-list li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-list li a:hover {
    color: #1e3c72;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.link-select:focus {
    outline: none;
    border-color: #1e3c72;
}

.stats-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
}

.stats-card h4 {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    opacity: 0.8;
}



.quick-links-group h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1e3c72;
}

.quick-links-group ul {
    list-style: none;
}

.quick-links-group ul li {
    margin-bottom: 10px;
}

.quick-links-group ul li a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.quick-links-group ul li a:hover {
    color: #1e3c72;
    padding-left: 5px;
}

.announcements-list {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.announcement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

.announcement-item:last-child {
    border-bottom: none;
}

.announcement-item:hover {
    background: #f8f9fa;
    margin: 0 -20px;
    padding: 12px 20px;
}

.announcement-item .announcement-date {
    font-size: 13px;
    color: #999;
    flex-shrink: 0;
    min-width: 90px;
}

.announcement-item .announcement-title {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-item .announcement-title:hover {
    color: #1e3c72;
}



.search-container {
    margin-top: 20px;
}

.search-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.search-result-count {
    font-size: 15px;
    color: #333;
    margin: 0;
}

.search-result-count strong {
    color: #1e3c72;
}

.search-filters {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-size: 14px;
    color: #666;
}

.filter-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    cursor: pointer;
}

.search-results {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.search-item {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: #f8f9fa;
    margin: 0 -20px;
    padding: 20px;
}

.search-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
}

.search-title a {
    color: #1e3c72;
    text-decoration: none;
    transition: color 0.3s;
}

.search-title a:hover {
    color: #2a5298;
    text-decoration: underline;
}

.search-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 10px 0;
}

.search-summary .highlight {
    color: #dc3545;
    font-weight: 500;
}

.search-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
}

.search-category {
    background: #1e3c72;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
}



.query-container {
    margin-top: 20px;
}

.query-header {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.query-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.query-desc {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.query-form {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 300px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: #1e3c72;
    box-shadow: 0 0 0 2px rgba(30, 60, 114, 0.1);
}

.form-input::placeholder {
    color: #999;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.query-btn {
    padding: 12px 40px;
    background: #1e3c72;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.query-btn:hover {
    background: #2a5298;
}

.reset-btn {
    padding: 12px 40px;
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.reset-btn:hover {
    background: #eee;
    border-color: #ccc;
}

.query-results {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.results-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.results-count {
    font-size: 15px;
    color: #333;
    margin: 0;
}

.results-count strong {
    color: #1e3c72;
}

.results-table {
    overflow-x: auto;
}

.results-table table {
    width: 100%;
    border-collapse: collapse;
}

.results-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    font-size: 14px;
    border-bottom: 2px solid #1e3c72;
}

.results-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    color: #555;
}

.results-table tbody tr:hover {
    background: #f8f9fa;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status.valid {
    background: #d4edda;
    color: #155724;
}

.status.expired {
    background: #f8d7da;
    color: #721c24;
}

.view-btn {
    display: inline-block;
    padding: 6px 15px;
    background: #1e3c72;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background 0.3s;
}

.view-btn:hover {
    background: #2a5298;
}

.query-result-container {
    margin-top: 20px;
}

.search-filters-bar {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.filter-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-summary span {
    font-size: 14px;
    color: #666;
}

.filter-item {
    color: #333;
}

.filter-item strong {
    color: #1e3c72;
}

.clear-filter {
    margin-left: auto;
    color: #1e3c72;
    text-decoration: none;
    font-size: 14px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #1e3c72;
    border-radius: 4px;
    transition: all 0.3s;
}

.clear-filter:hover {
    background: #1e3c72;
    color: #fff;
}

.certificate-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.certificate-wrapper {
    width: 100%;
    max-width: 800px;
    background: #f5f5f5;
    border: 3px solid #c9a962;
    border-radius: 4px;
    padding: 20px;
    position: relative;
}

.certificate-title {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: #8b7355;
    color: #fff;
    padding: 8px 40px;
    font-size: 18px;
    font-weight: 600;
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
}

.certificate-content {
    margin-top: 20px;
}

.certificate-table {
    width: 100%;
    border-collapse: collapse;
}

.certificate-table tr {
    border-bottom: 1px solid #ddd;
}

.certificate-table tr:last-child {
    border-bottom: none;
}

.certificate-table .cert-label {
    width: 120px;
    background: #e8e8e8;
    padding: 12px 15px;
    text-align: center;
    font-weight: 500;
    color: #555;
    font-size: 14px;
}

.certificate-table .cert-value {
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
}

.certificate-actions {
    margin-top: 25px;
    text-align: center;
}

.back-btn {
    display: inline-block;
    padding: 10px 40px;
    background: #8b7355;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #6b5335;
}

.cert-query-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.cert-query-wrapper {
    width: 100%;
    max-width: 600px;
    border: 1px solid #ddd;
    background: #fff;
}

.cert-query-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #1e3c72;
    color: #fff;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
}

.query-icon {
    font-size: 24px;
}

.cert-query-form {
    padding: 40px;
}

.cert-query-form .form-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.cert-query-form .form-label {
    width: 100px;
    font-size: 15px;
    color: #333;
    text-align: right;
}

.cert-input {
    flex: 1;
    max-width: 350px;
    padding: 10px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    transition: border-color 0.3s;
}

.cert-input:focus {
    outline: none;
    border-color: #1e3c72;
}

.cert-input::placeholder {
    color: #999;
}

.cert-query-form .form-actions {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.search-btn-blue {
    padding: 10px 50px;
    background: #1e3c72;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn-blue:hover {
    background: #2a5298;
}

@media (max-width: 1200px) {
    .container {
        padding: 0 15px;
    }
    
    .header-top {
        padding: 25px 0;
    }
    
    .logo-text h1 {
        font-size: 28px;
        letter-spacing: 2px;
    }
    
    .logo-icon {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .header-top {
        padding: 18px 0;
    }
    
    .header-top .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-left,
    .header-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .logo {
        justify-content: center;
        gap: 15px;
    }
    
    .logo-icon {
        font-size: 36px;
    }
    
    .logo-text h1 {
        font-size: 24px;
        letter-spacing: 1px;
        margin-bottom: 4px;
    }
    
    .logo-text p {
        font-size: 11px;
        letter-spacing: 2px;
    }
    
    .search-box {
        width: 100%;
        max-width: 320px;
    }
    
    .search-input {
        width: calc(100% - 44px);
    }
    
    .three-column-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .banner-section {
        padding: 25px 20px;
    }
    
    .banner-title {
        font-size: 22px;
    }
    
    .banner-highlight {
        font-size: 32px;
    }
    
    .carousel-item img {
        height: 280px;
    }
    
    .carousel-caption h3 {
        font-size: 20px;
    }
    
    .carousel-caption p {
        font-size: 14px;
        display: none;
    }
    
    .topics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .quick-links-selects {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .search-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-group {
        width: 100%;
    }
    
    .cert-query-form .form-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cert-query-form .form-label {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }
    
    .cert-input {
        width: 100%;
        max-width: 100%;
    }
    
    .results-table {
        overflow-x: auto;
    }
    
    .results-table table {
        min-width: 700px;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 12px 0;
    }
    
    .header-top .container {
        padding: 0 15px;
        flex-direction: row;
        justify-content: space-between;
    }
    
    .header-left {
        justify-content: flex-start;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-icon {
        font-size: 26px;
    }
    
    .logo-text h1 {
        font-size: 18px;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }
    
    .logo-text p {
        font-size: 8px;
        letter-spacing: 1px;
    }
    
    .header-right {
        justify-content: flex-end;
    }
    
    .search-box {
        width: auto;
        max-width: 200px;
    }
    
    .search-input {
        width: calc(100% - 40px);
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .search-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .banner {
        height: 300px;
    }
    
    .banner-content h2 {
        font-size: 26px;
    }
    
    .banner-content p {
        font-size: 14px;
    }
    
    .carousel-item img {
        height: 220px;
    }
    
    .carousel-caption {
        padding: 10px 15px;
    }
    
    .carousel-caption h3 {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .carousel-indicators {
        bottom: 5px;
    }
    
    .carousel-indicators li {
        width: 8px;
        height: 8px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .content-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 20px;
        padding: 12px 20px;
    }
    
    .news-card {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .news-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .news-card .news-date {
        font-size: 12px;
    }
    
    .topics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .topic-card {
        padding: 20px;
    }
    
    .topic-card h3 {
        font-size: 16px;
    }
    
    .quick-links-section {
        padding: 20px 0;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .footer-links .divider {
        display: none;
    }
    
    .footer-links a {
        padding: 5px 10px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
    
    .cert-query-wrapper {
        max-width: 100%;
        margin: 0 10px;
    }
    
    .cert-query-header {
        padding: 15px;
        font-size: 18px;
    }
    
    .cert-query-form {
        padding: 25px 15px;
    }
    
    .search-btn-blue {
        width: 100%;
        padding: 12px;
        font-size: 16px;
    }
    
    .certificate-container {
        padding: 0 10px;
    }
    
    .certificate-wrapper {
        padding: 15px;
    }
    
    .certificate-title {
        font-size: 16px;
        padding: 6px 25px;
        top: -18px;
    }
    
    .certificate-table .cert-label {
        width: 80px;
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .certificate-table .cert-value {
        padding: 10px 8px;
        font-size: 13px;
    }
    
    .back-btn {
        width: 100%;
        padding: 12px;
        text-align: center;
        font-size: 16px;
    }
    
    .search-container {
        margin-top: 15px;
    }
    
    .search-result-count {
        font-size: 14px;
    }
    
    .search-item {
        padding: 15px 0;
    }
    
    .search-title {
        font-size: 16px;
    }
    
    .search-summary {
        font-size: 13px;
    }
    
    .search-meta {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }
    
    .filter-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .clear-filter {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .article-content img {
        max-width: 100%;
        height: auto;
    }
    
    .social-share {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .top-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .list-container {
        grid-template-columns: 1fr;
    }
    
    .list-sidebar {
        margin-bottom: 20px;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-item .article-image {
        width: 100%;
        height: 180px;
        margin-bottom: 10px;
    }
    
    .article-item .article-info {
        width: 100%;
    }
    
    .detail-container {
        grid-template-columns: 1fr;
    }
    
    .detail-sidebar {
        margin-top: 20px;
    }
    
    .banner-section {
        padding: 20px 15px;
    }
    
    .banner-text {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .banner-title {
        font-size: 18px;
    }
    
    .banner-highlight {
        font-size: 26px;
    }
    
    .banner-desc {
        font-size: 13px;
    }
    
    .banner-btn {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .quick-links-selects {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .header-top {
        padding: 8px 0;
    }
    
    .header-top .container {
        padding: 0 10px !important;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo-icon {
        font-size: 20px;
    }
    
    .logo-text h1 {
        font-size: 14px;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }
    
    .logo-text p {
        display: none;
    }
    
    .search-box {
        width: 100%;
        max-width: 140px;
        flex-shrink: 1;
    }
    
    .search-input {
        padding: 4px 6px;
        font-size: 11px;
        width: calc(100% - 30px);
        flex: 1;
        min-width: 0;
    }
    
    .search-btn {
        padding: 4px 8px;
        font-size: 10px;
        flex-shrink: 0;
        min-width: 26px;
    }
    
    .banner {
        height: 220px;
    }
    
    .banner-content h2 {
        font-size: 20px;
    }
    
    .banner-content p {
        font-size: 12px;
        display: none;
    }
    
    .carousel-item img {
        height: 160px;
    }
    
    .carousel-caption h3 {
        font-size: 14px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .content-section {
        padding: 20px 0;
    }
    
    .section-title {
        font-size: 18px;
        padding: 10px 15px;
    }
    
    .news-card {
        padding: 12px;
    }
    
    .news-card h3 {
        font-size: 15px;
    }
    
    .topic-card {
        padding: 15px;
    }
    
    .topic-card h3 {
        font-size: 15px;
    }
    
    .topic-card p {
        font-size: 13px;
    }
    
    .quick-links-selects {
        grid-template-columns: 1fr;
    }
    
    .cert-query-wrapper {
        margin: 0 5px;
    }
    
    .cert-query-header {
        padding: 12px;
        font-size: 16px;
    }
    
    .cert-query-form {
        padding: 20px 12px;
    }
    
    .cert-input {
        padding: 10px;
    }
    
    .certificate-wrapper {
        padding: 10px;
    }
    
    .certificate-title {
        font-size: 14px;
        padding: 5px 20px;
        top: -15px;
    }
    
    .certificate-table .cert-label {
        width: 65px;
        padding: 8px 6px;
        font-size: 12px;
    }
    
    .certificate-table .cert-value {
        padding: 8px 6px;
        font-size: 12px;
    }
    
    .article-item .article-title {
        font-size: 15px;
    }
    
    .article-item .article-excerpt {
        font-size: 13px;
    }
    
    .detail-title {
        font-size: 20px;
    }
    
    .detail-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .detail-content {
        padding: 15px;
    }
    
    .article-content p {
        font-size: 14px;
        line-height: 1.8;
    }
}