header {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    top: 0;
    z-index: 1000;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 14px;

    color: inherit;
    text-decoration: none;
}

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

    background: linear-gradient(
        135deg,
        var(--brand-color),
        var(--brand-color-deep)
    );

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.18);
}

.logo-icon span {
    color: white;

    font-size: 32px;
    font-weight: 700;

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1;

    transform: translateY(-1px);
}

.logo-text {
    opacity: 0.9;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-deep);
    letter-spacing: -0.5px;
}

.container {
    max-width: 1440px;
    margin: 20px auto;
    display: grid;
    grid-template-columns: 220px 1fr 200px;
    gap: 20px;
    padding: 0 20px;
}

/* 右侧广告位关闭时避免留白列（Alpine :class） */
.container.container--no-right-rail {
    grid-template-columns: 220px 1fr;
}

footer {
    background: var(--midnight);
    color: #fff;
    padding: 30px;
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    opacity: 0.8;
}
