/**
 * ConnectUsOrg Shared Public Header
 * File: /css/connectus-public.css
 * Version: 1.1
 * Date: 2026-09-25
 */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #dbe5f0;
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 10px 30px;
    display: grid;
    grid-template-columns: 230px minmax(0,1fr) 280px;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.brand-logo {
    width: 40px;
    height: 40px;
    display: block;
    flex: 0 0 40px;
}

.brand-name {
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.3px;
    color: #14213d;
}

.brand-name .us,
.brand-name .org {
    color: #169be8;
}

.top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 27px;
    font-weight: 650;
    font-size: 14px;
}

.top-nav a {
    padding: 9px 0;
    border-bottom: 2px solid transparent;
}

.top-nav a:hover {
    color: #1559d6;
    border-color: #8ab4ff;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 750;
    font-size: 14px;
    cursor: pointer;
}

.btn-outline {
    border-color: #aac1dd;
    background: #fff;
    color: #183e72;
}

.btn-primary {
    background: #1559d6;
    color: #fff;
    box-shadow: 0 6px 14px rgba(21,89,214,.18);
}

@media(max-width:1180px) {
    .header-inner {
        grid-template-columns: 210px minmax(0,1fr) 260px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .top-nav {
        gap: 15px;
        font-size: 13px;
    }
}

@media(max-width:900px) {
    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .top-nav {
        grid-column: 1 / -1;
        order: 3;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 2px;
    }
}

@media(max-width:600px) {
    .brand-name {
        font-size: 20px;
    }

    .brand-logo {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }

    .header-actions .btn-primary {
        display: none;
    }
}

/* -------------------------------------------------
   Shared Pagination
-------------------------------------------------- */

.pagination-wrap {
    min-height: 58px;
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    flex-shrink: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin: 0;
}

.pagination .page-arrow {
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #c9d3df;
    border-radius: 9px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
}

.pagination a.page-arrow:hover {
    border-color: #9aa9ba;
    background: #f7f9fc;
    color: #334155;
}

.pagination .page-arrow.disabled {
    color: #7b8796;
    background: #eef2f6;
}

.pagination .page-status {
    min-width: 142px;
    text-align: center;
    color: #4f5d70;
    font-size: 18px;
    font-weight: 800;
    white-space: nowrap;
}

