/* ============================================================================
   SITE HEADER (slim, one row) + brand lockup — rolled out site-wide 22.09.2026
   with the «اوج» logo. Loaded AFTER each page's inline styles so it overrides
   the legacy stacked-header rules. The article page keeps its own inline copy
   of these rules (900px bar) — keep the VALUES in sync when changing here.
   Logo: /brand/tile-white-knockout.svg (white tile, letters knocked out to the
   band green). Wordmark stays real text (h1) for SEO/AT.
   ============================================================================ */
.header {
    background-color: #4CAF50;
    color: white;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.header-bar {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
}
.brand-tile { width: 52px; height: 52px; display: block; }
.header h1 {
    color: white;
    margin: 0;
    /* block lockup (user, 22.09): UNBOLDED (Jameel ships 400 only — bold was
       synthesized) and sized so the text's ink height equals the seal tile:
       ink = 0.71 × font-size (canvas-measured) → 46px ≈ 33px ink, a step BELOW the 52px seal (seal leads); the
       translateY centres that ink band on the tile exactly */
    font-size: 46px;
    font-weight: normal;
    line-height: 1;
    transform: translateY(-10px);
    text-align: right;
}
.header-user-section {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.membership-link {
    color: white;
    text-decoration: none;
    font-weight: normal;
    font-size: 16px;
    line-height: 1;
    padding: 6px 12px 9px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    white-space: nowrap;
    transition: background-color 0.2s;
}
.membership-link:hover { background-color: rgba(255, 255, 255, 0.15); }
@media (max-width: 768px) {
    .header-bar { min-height: 72px; padding: 0 12px; }
    .header h1 { font-size: 40px; transform: translateY(-8px); }  /* ink ≈ 28px, tile dominant */
    .brand-tile { width: 44px; height: 44px; }
}
