/* v8 Style: Based on v4 but with Police Blue Theme */

/* Variables - UPDATED to Police Blue */
:root {
    --primary-red: #004ea2;
    /* CHANGED FROM #d32f2f TO #004ea2 (Police Blue) */
    --hover-red: #003a75;
    /* CHANGED FROM #b71c1c TO Darker Blue */
    --header-bg: #f8f9fa;
    --text-main: #333;
    --text-light: #666;
    --border-color: #ddd;
    --white: #fff;
    --gray-bg: #f4f6f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    background-color: var(--gray-bg);
    color: var(--text-main);
}

a {
    text-decoration: none;
    color: var(--text-main);
}

ul {
    list-style: none;
}

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

/* 1. Header Top */
.header-top {
    background-color: var(--header-bg);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
}

.logo-text {
    font-size: 32px;
    font-weight: bold;
    color: #003366;
    /* Deep Blue for logo text consistent with theme */
    letter-spacing: 2px;
}

/* 2. Navigation - BACKGROUND CHANGED TO BLUE */
.top-nav {
    background-color: var(--primary-red);
    /* Now Blue */
    color: var(--white);
    height: 50px;
    line-height: 50px;
}

.nav-list {
    display: flex;
    justify-content: space-between;
}

.nav-list li {
    flex: 1;
    text-align: center;
}

.nav-list li a {
    color: var(--white);
    font-size: 16px;
    display: block;
    width: 100%;
    height: 100%;
}

.nav-list li a:hover,
.nav-list li.active {
    background-color: var(--hover-red);
    /* Now Darker Blue */
}

/* 3. Banner Red - CHANGED TO BLUE BANNER */
.banner-red {
    background-color: var(--primary-red);
    /* Now Blue */
    background-image: linear-gradient(135deg, #004ea2 0%, #007bff 100%);
    /* Blue Gradient */
    color: var(--white);
    text-align: center;
    padding: 15px 0;
    margin-bottom: 0;
}

.banner-red h1 {
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 1px;
}

/* 4. Banner Dark */
.banner-dark {
    background-color: #2c3e50;
    /* Kept Dark Blue/Grey */
    color: var(--white);
    text-align: center;
    padding: 10px 0;
    font-size: 18px;
    letter-spacing: 5px;
}

.banner-dark span {
    margin: 0 20px;
}

/* 5. Policeman Day Header - TEXT COLOR CHANGED */
.policeman-day {
    text-align: center;
    padding: 20px 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.policeman-day h2 {
    color: var(--primary-red);
    /* Now Blue */
    font-size: 28px;
    font-weight: bold;
}

/* Main Content Area */
.main-content {
    background: #fff;
    padding: 20px;
    margin-top: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

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

.col-left {
    flex: 0 0 45%;
    /* Slightly Adjust Width */
}

.col-right {
    flex: 1;
}

/* Carousel */
.carousel {
    width: 100%;
    height: 320px;
    overflow: hidden;
    position: relative;
}

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

/* Panel/Tabs Styles */
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-red);
    /* Blue Border */
    padding-bottom: 5px;
    margin-bottom: 15px;
    height: 40px;
}

.panel-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-red);
    /* Blue Text */
    border-left: 5px solid var(--primary-red);
    /* Blue Marker */
    padding-left: 10px;
}

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

/* Tab Header - ACTIVE COLOR CHANGED */
.tab-header {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 15px;
    height: 40px;
    align-items: center;
}

.tab-item {
    font-size: 18px;
    padding: 5px 15px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    color: #333;
    margin-right: 10px;
}

.tab-item.active {
    color: var(--primary-red);
    /* Blue Active Text */
    border-bottom-color: var(--primary-red);
    /* Blue Active Border */
    font-weight: bold;
}

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

.news-list li a:before {
    content: "•";
    color: #999;
    margin-right: 8px;
}

.news-list li:hover a {
    color: var(--primary-red);
    /* Blue Hover */
}

.news-list .date {
    color: #999;
    font-size: 14px;
}

/* Service Icons Bar */
.service-bar {
    display: flex;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 20px 0;
    border-radius: 5px;
    margin-bottom: 30px;
}

.service-item {
    text-align: center;
    flex: 1;
    cursor: pointer;
    transition: transform 0.2s;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 24px;
    color: var(--primary-red);
    /* Blue Icon */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-item:hover .service-icon {
    background: var(--primary-red);
    /* Blue Hover BG */
    color: #fff;
}

/* Special Section */
.special-section {
    margin-bottom: 30px;
}

.special-section-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-red);
    /* Blue Marker */
    padding-left: 10px;
}

.special-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
}

.special-item {
    min-width: 280px;
    height: 80px;
    background-color: #eee;
    border-radius: 5px;
    flex-shrink: 0;
    overflow: hidden;
}

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

/* Video Section Refinement */
.video-header-only {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.video-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.video-arrow {
    margin-left: auto;
    font-size: 18px;
    color: #ccc;
}

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

.footer-col {
    flex: 1;
}