/* ====== 顶部 Header ====== */
.site-header {
    position: relative;
    overflow: hidden;
}

/* 顶部栏容器 */
.header-top {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    padding: 0.5rem 2rem;
    border-bottom: 1px solid #eaeaea;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Logo区域 */
.logo-container {
    flex-shrink: 0;
}

.logo {
    max-width: 180px;
    width: 100%;
    height: auto;
    padding: 10px 0;
}

/* 右上角功能区 */
.header-right {
    display: flex;
    align-items: flex-end;
    gap: 0.8rem;
}

/* 时间显示 */
.current-time {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    text-align: right;
    line-height: 1.4;
}

.time-main {
    font-size: 1.1rem;
    color: #cc0000;
    font-weight: 600;
}

.time-date {
    font-size: 0.85rem;
    color: #888;
    margin-top: 2px;
}

/* 查看最新报纸按钮 */
.latest-paper-btn {
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(204, 0, 0, 0.2);
}

.latest-paper-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 0, 0, 0.3);
    text-decoration: none;
    color: white;
}

.latest-paper-btn:active {
    transform: translateY(0);
}

/* 背景横幅 */
.header-banner {
    background-color: #ffffff;
    text-align: center;
    width: 100%;
    border-top: 3px solid #cc0000;
}

.bg {
    max-width: 100%;
    height: auto;
}

/* ====== 响应式调整 ====== */
@media (max-width: 768px) {
    .header-top {
        padding: 0.5rem 1rem;
    }

    .header-container {
        align-items: flex-start;
        gap: 1rem;
    }

    .header-right {
        align-items: flex-end;
        margin-top: 10px;
    }

    .current-time {
        text-align: left;
    }

    .logo {
        max-width: 160px;
    }

    .latest-paper-btn {
        align-self: flex-start;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-top {
        padding: 0.5rem;
    }

    .logo {
        max-width: 140px;
    }

    .time-main {
        font-size: 1rem;
    }

    .time-date {
        font-size: 0.8rem;
    }
}