* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background: #f0f2f5;
    color: #333;
    line-height: 1.6;
}

.header {
    background: linear-gradient(135deg, #1a5fb4 0%, #3584e4 100%);
    color: #fff;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text h1 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
}

.logo-text p {
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
}

.header-nav {
    display: flex;
    gap: 8px;
}

.header-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
}

.header-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.header-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 500;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.hero-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hero-content {
    text-align: center;
    margin-bottom: 30px;
}

.hero-content h2 {
    font-size: 28px;
    color: #1a5fb4;
    margin-bottom: 10px;
    font-weight: 600;
}

.hero-content p {
    color: #666;
    font-size: 16px;
    letter-spacing: 4px;
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.hero-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #3584e4;
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon.notice {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b6b 100%);
    color: #fff;
}

.card-icon.policy {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.card-icon.clockin {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
}

.card-icon.record {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #fff;
}

.hero-card span {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.content-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.section-left,
.section-right {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #1a5fb4;
    margin-bottom: 15px;
}

.section-header h3 {
    font-size: 18px;
    color: #1a5fb4;
    font-weight: 600;
}

.more-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.more-link:hover {
    color: #1a5fb4;
}

.announcement-list,
.policy-list {
    display: flex;
    flex-direction: column;
}

.announcement-item,
.policy-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
    text-decoration: none;
    transition: all 0.3s;
}

.announcement-item:last-child,
.policy-item:last-child {
    border-bottom: none;
}

.announcement-item:hover,
.policy-item:hover {
    background: #f8f9fa;
    padding-left: 10px;
    margin-left: -10px;
    margin-right: -10px;
    padding-right: 10px;
}

.top-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
}

.item-title {
    flex: 1;
    color: #333;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.announcement-item:hover .item-title,
.policy-item:hover .item-title {
    color: #1a5fb4;
}

.item-date {
    color: #999;
    font-size: 13px;
    margin-left: 15px;
    flex-shrink: 0;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.info-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.info-icon {
    margin-bottom: 15px;
}

.info-card h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.footer {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    margin-top: 40px;
    padding: 30px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    color: #1a5fb4;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links span {
    color: #ddd;
}

.page-banner {
    background: linear-gradient(135deg, #1a5fb4 0%, #3584e4 100%);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.page-banner h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 14px;
    opacity: 0.9;
}

.list-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px 20px;
}

.list-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.list-item {
    display: block;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    transition: all 0.3s;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    background: #f8f9fa;
    margin: 0 -25px;
    padding-left: 35px;
    padding-right: 35px;
}

.list-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.category-badge {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-right: 10px;
}

.category-badge.notice {
    background: #fff3e0;
    color: #e65100;
}

.category-badge.policy {
    background: #e3f2fd;
    color: #1565c0;
}

.list-item-title {
    font-size: 17px;
    color: #333;
    font-weight: 500;
    flex: 1;
}

.list-item:hover .list-item-title {
    color: #1a5fb4;
}

.list-item-meta {
    display: flex;
    gap: 20px;
    color: #999;
    font-size: 13px;
}

.list-item-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination a:hover {
    border-color: #1a5fb4;
    color: #1a5fb4;
}

.pagination .current {
    background: #1a5fb4;
    border-color: #1a5fb4;
    color: #fff;
}

.detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.detail-section {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.detail-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.detail-header h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.detail-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: #999;
    font-size: 14px;
}

.detail-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.detail-content p {
    margin-bottom: 15px;
}

.detail-content h1,
.detail-content h2,
.detail-content h3 {
    margin: 25px 0 15px 0;
    color: #333;
}

.detail-content ul,
.detail-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.detail-content li {
    margin-bottom: 8px;
}

.detail-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: #1a5fb4;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
}

.back-btn:hover {
    background: #1552a0;
}

@media (max-width: 992px) {
    .hero-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-section {
        grid-template-columns: 1fr;
    }

    .info-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .header-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header-nav a {
        padding: 8px 15px;
        font-size: 14px;
    }

    .hero-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .hero-card {
        padding: 20px 15px;
    }

    .card-icon {
        width: 48px;
        height: 48px;
    }

    .hero-content h2 {
        font-size: 24px;
    }

    .section-header h3 {
        font-size: 16px;
    }

    .detail-section {
        padding: 25px;
    }

    .detail-header h1 {
        font-size: 20px;
    }

    .detail-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-cards {
        grid-template-columns: 1fr;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .list-item {
        padding: 15px;
    }

    .list-item-title {
        font-size: 15px;
    }

    .list-item-meta {
        flex-direction: column;
        gap: 5px;
    }
}
