.site-header {
    background-color: var(--primary-color);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid #050574a1;
}

.header-container {
    max-width: 1152px;
    width: 100%;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    flex: 0 0 auto;
}

.header-logo a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}

.header-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.header-menu-wrapper {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-nav a, .header-nav a:active, .header-nav a:visited {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-nav a:hover {
    background-color: var(--secondary-color);
    color: var(--accent-color);
}

.header-action {
    flex: 0 0 auto;
    margin-left: 15px;
}

.header__social-icon{
    color: #fff;
    font-size: 1.6em;
}

.candidate-number {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 8px 20px;
    border-radius: 8px;
    display: inline-block;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
}

@media (max-width: 991px) {
    .mobile-menu-toggle { display: flex; }

    .header-logo img {
        max-width: 200px;
        height: auto;
    }
    
    .header-menu-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    
    .header-menu-wrapper.is-active {
        max-height: 500px;
        padding: 20px 0 30px 0;
    }
    
    .header-nav { width: 100%; flex: none; }
    .header-nav ul { flex-direction: column; width: 100%; gap: 10px; }
    .header-nav li { width: 100%; text-align: center; }
    .header-nav a { display: block; padding: 12px 20px; }
    .header-action { margin: 20px 0 0 0; }
}