:root {
    /* Government Blue Palette */
    --primary: #003366;
    /* Deep Official Blue */
    --secondary: #333333;
    /* Dark Gray Text */
    --cta: #1976D2;
    /* Vivid Blue for Actions */
    --cta-hover: #1565C0;
    /* Darker Blue for Hover */
    --accent-red: #D32F2F;
    /* Official Red for highlights */

    --bg: #F4F6F9;
    /* Light Cool Grey Background */
    --surface: #FFFFFF;
    /* White Surface */
    --text: #212529;
    /* Very Dark Gray for main text */
    --text-muted: #6C757D;
    /* Muted Gray */

    --border: #DEE2E6;
    /* Light Border */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --radius: 4px;
    /* Slightly squarer for official look */
}

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

body {
    font-family: "Public Sans", "Microsoft YaHei", "Heiti SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.5;
    min-width: 1200px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

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

/* Header */
.site-header {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow);
    /* No sticky for official look usually, but let's keep it if requested. 
       Let's allow it to scroll or be fixed. Keeping sticky for utility. */
    position: relative;
    /* Changed from sticky to relative for a standard gov header feel, or keep sticky? Let's go with sticky but clean. */
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 4px solid var(--cta);
    /* Added accent border */
}

.header-top {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.logo-text {
    color: #fff;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Navigation - Modern & Right Aligned in Header */
.main-nav ul {
    display: flex;
    gap: 0.5rem;
}

.main-nav a {
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    /* Slate 300 */
}

.main-nav a:hover,
.main-nav a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 300px;
    /* Reduced height */
    overflow: hidden;
    margin-bottom: 2rem;
    background: var(--primary);
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    max-width: 800px;
}

.hero-title {
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Main Layout Grid */
.content-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Cards */
.card {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 2rem;
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8fafc;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    font-weight: 600;
    color: var(--primary);
    padding-left: 0.75rem;
    line-height: 1.2;
    border-left: 4px solid var(--accent-red);
    /* Changed to red for section titles */
}

.card-more {
    font-size: 0.875rem;
    color: var(--cta);
    font-weight: 500;
}

.card-body {
    padding: 1rem 0;
    /* List styles usually handle padding */
}

/* List Items */
.list-item {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

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

.list-item:hover {
    background-color: #f1f5f9;
}

.list-item a {
    color: var(--secondary);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
}

.list-item:hover a {
    color: var(--cta);
}

.list-item .date {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Sidebar Menu */
.sidebar-menu {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.sidebar-item {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--secondary);
    border-bottom: 1px solid var(--border);
    font-weight: 500;
    transition: all 0.2s;
}

.sidebar-item:hover {
    background-color: var(--cta);
    color: white;
    padding-left: 2rem;
    /* Slide effect */
}

.sidebar-item i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* Service Grid (Renamed from Service Icons) */
.service-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--cta);
}

.service-card-icon {
    font-size: 2rem;
    color: var(--cta);
    margin-bottom: 0.75rem;
}

.service-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Tabs */
.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--border);
    background-color: #f1f5f9;
}

.tab-btn {
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-btn:hover {
    color: var(--cta);
}

.tab-btn.active {
    color: var(--cta);
    border-bottom-color: var(--cta);
    background-color: var(--surface);
}

/* Specials Row */
.specials-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.special-card {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.special-card:hover {
    transform: scale(1.02);
}

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

.special-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1rem 0.75rem;
    color: white;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background-color: var(--primary);
    color: #94a3b8;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-brand h2 {
    color: white;
    font-family: "Microsoft YaHei", sans-serif;
    margin-bottom: 1rem;
}

/* Search Bar in Header */
.header-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 5px 15px;
    margin-left: 20px;
}

.header-search input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    font-size: 0.9rem;
    width: 150px;
    /* Expandable in real implementation */
}

.header-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-search i {
    color: white;
    cursor: pointer;
}