/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Heiti SC", sans-serif;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    min-width: 1200px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

/* Header Top (New) */
.header-top {
    height: 100px;
    display: flex;
    align-items: center;
    background-color: #fff;
}

.header-top .logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-top .logo-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.header-top .logo-text {
    font-size: 32px;
    font-weight: bold;
    color: #c00;
    letter-spacing: 3px;
}

/* Top Nav (Modified with Shadcn Style) */
.top-nav {
    background-color: #fff;
    height: 60px;
    border-bottom: 1px solid #e2e8f0;
}

.top-nav .nav-list {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 5px;
}

.top-nav .nav-list li {
    height: 40px;
    /* Reduced from 50px for a more compact, modern look */
}

.top-nav .nav-list li a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    height: 100%;
    font-size: 15px;
    color: #475569;
    /* Slate-600 */
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
}

/* Active State - Shadcn Style */
.top-nav .nav-list li.active a {
    background-color: #0056d2;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 86, 210, 0.2);
}

/* Hover Effect for Inactive */
.top-nav .nav-list li:not(.active) a:hover {
    background-color: #f1f5f9;
    /* Slate-100 */
    color: #0f172a;
    /* Slate-900 */
}

/* Banners (Same) */
.banner-red {
    background-color: #d32f2f;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to right, #e53935, #c62828);
}

.banner-red h1 {
    color: #fff;
    font-size: 42px;
    /* Increased size */
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-family: "Songti SC", serif;
    /* More formal font */
}

.banner-dark {
    background-color: #8b0000;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.banner-dark span {
    color: #fff;
    font-size: 26px;
    font-style: italic;
    font-weight: bold;
}

/* Sub Banner (Policeman Day) */
.policeman-day {
    padding: 25px 0;
    text-align: center;
}

.policeman-day h2 {
    color: #d32f2f;
    font-size: 24px;
    font-weight: bold;
}

/* Layout Sections */
.main-content {
    padding-bottom: 50px;
}

.section-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.col-left {
    width: 680px;
}

.col-right {
    flex: 1;
}

/* Carousel */
.carousel {
    width: 100%;
    height: 400px;
    background-color: #eee;
    position: relative;
}

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

/* Panel Headers */
.panel-header {
    border-bottom: 2px solid #0056d2;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.panel-title {
    font-size: 20px;
    color: #0056d2;
    font-weight: bold;
    padding-left: 10px;
    border-left: 5px solid #0056d2;
    line-height: 20px;
}

.panel-more {
    font-size: 12px;
    color: #999;
}

/* News List */
.news-list li {
    display: flex;
    justify-content: space-between;
    line-height: 36px;
    font-size: 15px;
    border-bottom: 1px dashed #eee;
}

.news-list li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80%;
}

.news-list li:hover a {
    color: #0056d2;
}

.news-list li span.date {
    color: #999;
    font-size: 12px;
}

/* Tabs (Unified Style) */
.tab-container {
    height: 100%;
}

.tab-header {
    display: flex;
    border-bottom: 2px solid #0056d2;
    margin-bottom: 15px;
}

.tab-item {
    font-size: 18px;
    padding: 10px 20px;
    cursor: pointer;
    color: #666;
    background: #f9f9f9;
    margin-right: 2px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.tab-item.active {
    background-color: #0056d2;
    color: #fff;
    font-weight: bold;
}

/* Special Columns */
.special-section-title {
    font-size: 22px;
    color: #0056d2;
    font-weight: bold;
    margin-bottom: 15px;
    border-left: 5px solid #0056d2;
    padding-left: 10px;
}

.special-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    /* Hide Scrollbar if desired, but user asked for sliding */
}

.special-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.special-scroll-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.special-item {
    min-width: 280px;
    height: 100px;
    background-color: #eee;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

/* Service Icons */
.service-bar {
    display: flex;
    justify-content: space-between;
    /* Or grid */
    flex-wrap: wrap;
    padding: 20px 0;
}

.service-item {
    width: 10%;
    /* 10 items per row */
    text-align: center;
    margin-bottom: 10px;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background: #e3f2fd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1976d2;
    transition: transform 0.2s;
}

.service-item:hover .service-icon {
    transform: scale(1.1);
    background: #1976d2;
    color: #fff;
}

/* Simplified Video */
.video-header-only {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-title {
    font-size: 22px;
    color: #0056d2;
    font-weight: bold;
}

.video-arrow {
    font-size: 22px;
    color: #0056d2;
}

/* Footer Cols */
.footer-cols {
    display: flex;
    gap: 30px;
}

.footer-col {
    flex: 1;
}