/* ── Grouped sidebar accordion ───────────────────────────────────── */
.cat-group-details {
    margin-bottom: 8px;
    border-radius: 10px;
    border: 1px solid rgba(190,155,63,.18);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.sidebar-group-hidden { display:none; }
#sidebarShowMore:hover { background:rgba(190,155,63,.06); border-color:#be9b3f; }
.cat-group-summary {
    font-size: .67rem; font-weight: 800; color: #be9b3f; text-transform: uppercase;
    letter-spacing: .9px; padding: 10px 14px; cursor: pointer; list-style: none;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(190,155,63,.06);
    border-bottom: 1px solid rgba(190,155,63,.12);
    user-select: none; transition: background .15s;
}
.cat-group-details[open] .cat-group-summary { background: rgba(190,155,63,.10); }
.cat-group-summary::-webkit-details-marker { display: none; }
.cat-group-chevron { font-size: .58rem; opacity: .7; transition: transform .22s; flex-shrink: 0; }
.cat-group-details[open] .cat-group-chevron { transform: rotate(180deg); }
.cat-group-body { padding: 6px 8px 8px; }

/* ── Category nav ────────────────────────────────────────────────── */
.cat-nav .nav-link {
    color: #000000; padding: 10px 16px; font-size: .88rem; font-weight: 600;
    border-radius: 6px; margin-bottom: 4px; border: 1px solid #eee;
    background: #fafafa; transition: all .25s; display: flex; align-items: center; gap: 8px;
}
.cat-nav .nav-link.active { background: #be9b3f; border-color: #be9b3f; color: #fff; }
.cat-nav .nav-link:hover:not(.active) { background: #fff8ee; border-color: #be9b3f; color: #be9b3f; }
.cat-nav .nav-link .count-badge {
    margin-left: auto; background: rgba(190,155,63,0.12); color: #be9b3f;
    border-radius: 20px; font-size: .7rem; font-weight: 700; padding: 2px 8px;
}
.cat-nav .nav-link.active .count-badge { background: rgba(255,255,255,0.25); color: #fff; }

/* ── Nominee cards ───────────────────────────────────────────────── */
.nominee-card {
    background: #fff; border-radius: 12px; padding: 0;
    text-align: center;
    box-shadow: 0 0 0 1.5px #be9b3f, 0 0 0 5px rgba(190,155,63,.18), 0 4px 20px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s; height: 100%;
    display: flex; flex-direction: column; cursor: pointer; position: relative;
    overflow: hidden;
}
.nominee-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 0 1.5px #be9b3f, 0 0 0 6px rgba(190,155,63,.28), 0 12px 30px rgba(0,0,0,.12);
}
.nominee-photo {
    width: 100%; height: 180px; border-radius: 0; object-fit: cover;
    object-position: top; display: block; flex-shrink: 0;
}
.nominee-initials {
    width: 100%; height: 180px; border-radius: 0; display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
    background: #e9ecef !important;
}
.nom-country-flag {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    font-size: 1.15rem; line-height: 1; background: rgba(255,255,255,.92);
    border-radius: 50%; width: 32px; height: 32px; display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.nom-card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.nominee-name { font-size: 1rem; color: #000000; margin-bottom: 4px; font-weight: 700; line-height: 1.3; }
.nominee-title { font-size: .78rem; color: #be9b3f; font-weight: 600; margin-bottom: 4px; }
.nominee-location { font-size: .76rem; color: #999; margin-bottom: 14px; }
.nominee-location i { color: #be9b3f; margin-right: 3px; }
.vote-bar-container { background: #f0f0f0; border-radius: 10px; height: 6px; width: 100%; margin-bottom: 6px; overflow: hidden; }
.vote-bar-fill { background: linear-gradient(90deg, #be9b3f, #000000); height: 100%; border-radius: 10px; transition: width 1s ease-in-out; }
.vote-stats { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 600; color: #888; margin-bottom: 14px; }
.vote-stats .vote-count { color: #be9b3f; }
.nominee-card-footer { margin-top: auto; }

/* ── Vote Now button — nominee card ──────────────────────────────── */
.nom-vote-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 10px 0; border-radius: 8px;
    background: #0a0a0a; color: #fff;
    font-size: .78rem; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
    text-decoration: none; border: none; cursor: pointer;
    transition: background .22s, color .22s, box-shadow .22s;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    position: relative; overflow: hidden;
}
.nom-vote-btn::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; background: #444; border-radius: 8px 0 0 8px;
    transition: width .22s;
}
.nom-vote-btn:hover, .nom-vote-btn:focus {
    background: #1a1a1a; color: #fff; text-decoration: none;
    box-shadow: 0 4px 18px rgba(0,0,0,.38);
}
.nom-vote-btn:hover::before { width: 100%; opacity: 0; }
.nom-vote-btn i { font-size: .85rem; }
.nom-vote-btn-wrap { margin-bottom: 8px; }

/* ── Search list view (replaces grid when typing) ────────────────── */
#nom-search-list { display: none; }
#nom-search-list.active { display: block; }
#nom-sr-list { display: none; }
#nom-sr-list.active { display: block; }
.nom-sr-row {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 16px; background: #fff; border-radius: 10px;
    margin-bottom: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: box-shadow .2s;
}
.nom-sr-row:hover { box-shadow: 0 4px 18px rgba(0,0,0,.1); }
.nom-sr-avatar {
    width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
    object-fit: cover; object-position: top;
}
.nom-sr-initials {
    width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: #e9ecef;
}
.nom-sr-info    { flex: 1; min-width: 0; }
.nom-sr-name    { font-size: .92rem; font-weight: 700; color: #111; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nom-sr-cat     { font-size: .72rem; color: #be9b3f; font-weight: 600; margin-top: 2px; }
.nom-sr-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nom-sr-vote    { background: #be9b3f; color: #fff; font-size: .75rem; font-weight: 700; padding: 7px 14px; border-radius: 6px; text-decoration: none; white-space: nowrap; transition: opacity .2s; }
.nom-sr-vote:hover { opacity: .85; text-decoration: none; color: #fff; }
.nom-sr-profile { font-size: .75rem; font-weight: 600; color: #555; text-decoration: none; white-space: nowrap; transition: color .2s; }
.nom-sr-profile:hover { color: #be9b3f; text-decoration: none; }
@media (max-width: 480px) {
    .nom-sr-actions { flex-direction: column; gap: 4px; }
}

/* ── Countdown widget ────────────────────────────────────────────── */
.countdown-widget { background: linear-gradient(135deg, #000000, #be9b3f); border-radius: 10px; padding: 24px; color: #fff; text-align: center; margin-bottom: 30px; }
.countdown-widget h6 { font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; opacity: .85; margin-bottom: 12px; }
.countdown-boxes { display: flex; gap: 8px; justify-content: center; }
.countdown-box { background: rgba(255,255,255,0.18); border-radius: 8px; padding: 10px 14px; min-width: 52px; }
.countdown-box .num { font-size: 1.6rem; font-weight: 800; display: block; line-height: 1; }
.countdown-box .lbl { font-size: .62rem; text-transform: uppercase; letter-spacing: 1px; opacity: .7; }
.countdown-closed { font-size: .92rem; opacity: .88; }

/* ── Event selector ──────────────────────────────────────────────── */
.event-selector { margin-bottom: 28px; }
.event-selector label { font-weight: 600; color: #000000; margin-bottom: 8px; display: block; }
.event-selector select { border: 2px solid #eee; border-radius: 8px; padding: 9px 14px; font-size: .9rem; width: 100%; max-width: 420px; color: #333; }
.event-selector select:focus { border-color: #be9b3f; outline: none; box-shadow: 0 0 0 3px rgba(190,155,63,0.12); }

/* ── Event switcher pills ─────────────────────────────────────────── */
.nom-event-pill {
    padding: 5px 13px; border-radius: 20px; font-size: .72rem; font-weight: 700;
    cursor: pointer; border-width: 1.5px; border-style: solid; transition: all .2s;
    outline: none; letter-spacing: .2px; background: #fff; color: #555; border-color: #ddd;
    white-space: nowrap;
}
.nom-event-pill:hover { transform: translateY(-1px); border-color: #be9b3f; color: #be9b3f; box-shadow: 0 3px 10px rgba(190,155,63,.18); }
.nom-event-pill[data-active="1"] { background: #be9b3f; color: #fff; border-color: #be9b3f; box-shadow: 0 4px 14px rgba(190,155,63,.32); }
.nom-event-pill[data-active="1"]:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(190,155,63,.38); }
@media (max-width: 480px) {
    .nom-event-pill { padding: 4px 10px; font-size: .64rem; }
}

/* ── Nominee filter row ──────────────────────────────────────────── */
.nom-filter-row { display: flex; gap: 12px; margin-bottom: 24px; align-items: stretch; flex-wrap: wrap; }
.nom-search-wrap { position: relative; flex: 1 1 180px; min-width: 0; height: 46px; }
.nom-search-wrap input { width: 100%; border: 2px solid #eee; border-radius: 10px; padding: 11px 44px 11px 16px; font-size: .9rem; color: #333; transition: border-color .2s; height: 46px; box-sizing: border-box; }
.nom-search-wrap input:focus { border-color: #be9b3f; outline: none; box-shadow: 0 0 0 3px rgba(190,155,63,.1); }
.nom-search-wrap .search-icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #aaa; pointer-events: none; }
.nom-search-wrap .search-clear { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: #aaa; cursor: pointer; display: none; font-size: .85rem; }

/* Select2 wrappers — match MEMA reference exactly */
.nom-group-wrap { flex: 0 0 160px; }
.nom-group-wrap .select2-container { width: 100% !important; }
.nom-group-wrap .select2-container--default .select2-selection--single { height: 46px; border: 2px solid #eee; border-radius: 10px; display: flex; align-items: center; padding: 0 12px; font-size: .9rem; }
.nom-group-wrap .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: normal; padding: 0; color: #333; }
.nom-group-wrap .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; right: 8px; }
.nom-group-wrap .select2-container--default.select2-container--open .select2-selection--single,
.nom-group-wrap .select2-container--default.select2-container--focus .select2-selection--single { border-color: #be9b3f; box-shadow: 0 0 0 3px rgba(190,155,63,.1); outline: none; }
.nom-cat-wrap { flex: 0 0 200px; }
.nom-cat-wrap .select2-container { width: 100% !important; }
.nom-cat-wrap .select2-container--default .select2-selection--single { height: 46px; border: 2px solid #eee; border-radius: 10px; display: flex; align-items: center; padding: 0 12px; font-size: .9rem; }
.nom-cat-wrap .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: normal; padding: 0; color: #333; }
.nom-cat-wrap .select2-container--default .select2-selection--single .select2-selection__arrow { height: 44px; right: 8px; }
.nom-cat-wrap .select2-container--default.select2-container--open .select2-selection--single,
.nom-cat-wrap .select2-container--default.select2-container--focus .select2-selection--single { border-color: #be9b3f; box-shadow: 0 0 0 3px rgba(190,155,63,.1); outline: none; }
.select2-dropdown { border: 2px solid #be9b3f; border-radius: 10px; font-size: .9rem; }
.select2-results__option--highlighted { background: #be9b3f !important; }
@media (max-width: 576px) {
    .nom-filter-row { flex-direction: column; }
    .nom-group-wrap, .nom-cat-wrap { flex: none; }
    /* Force the wrapper to be a proper containing block with fixed height */
    .nom-search-wrap {
        position: relative !important;
        display: block !important;
        width: 100%;
        height: 46px;
        flex: none;
    }
    .nom-search-wrap input {
        display: block !important;
        width: 100% !important;
        height: 46px;
    }
    /* Pin icon absolutely inside the 46px wrapper */
    .nom-search-wrap .search-icon,
    .nom-search-wrap .search-clear {
        position: absolute !important;
        right: 14px !important;
        top: 23px !important;
        transform: translateY(-50%) !important;
        z-index: 2;
    }
}
#nom-no-results { display: none; text-align: center; padding: 60px 0; color: #aaa; }
/* Global search mode — show all tab panes so search crosses all categories */
#nomineeTabContent.search-all .tab-pane { display: block !important; opacity: 1 !important; }
#nomineeTabContent.search-all .tab-pane + .tab-pane { border-top: 1px solid #f0f0f0; padding-top: 24px; margin-top: 8px; }

/* ── Animated vote count ─────────────────────────────────────────── */
@keyframes voteFlash { 0%{background:rgba(190,155,63,.15)} 100%{background:transparent} }
.vote-updated { animation: voteFlash .8s ease-out; border-radius: 4px; }

/* ── Velocity badge ──────────────────────────────────────────────── */
.velocity-badge {
    display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; font-weight: 700;
    background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff;
    padding: 2px 8px; border-radius: 20px; margin-left: 6px;
}

/* ── Winner badge ────────────────────────────────────────────────── */
.winner-badge {
    position: absolute; top: 158px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #fff;
    font-size: .65rem; font-weight: 800; padding: 4px 16px; border-radius: 20px;
    text-transform: uppercase; letter-spacing: .7px; white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0,0,0,.3); z-index: 2;
}

/* ══ Home — Award Groups section ══════════════════════════════════ */
.home-groups-section { padding: 80px 0; background: linear-gradient(160deg, #0a0a0a, #111); }

.hg-sub   { color: rgba(255,255,255,.5) !important; }
.hg-title { color: #fff !important; }
.hg-desc  { color: rgba(255,255,255,.58); max-width: 520px; margin: 12px auto 0; font-size: .95rem; }

/* Search */
.hg-search-wrap {
    position: relative; max-width: 440px; margin: 0 auto 36px;
}
.hg-search-input {
    width: 100%; padding: 13px 48px 13px 20px;
    background: rgba(255,255,255,.06); border: 1.5px solid rgba(190,155,63,.25);
    border-radius: 30px; font-size: .9rem; color: #fff; outline: none;
    transition: border-color .2s, background .2s;
}
.hg-search-input::placeholder { color: rgba(255,255,255,.35); }
.hg-search-input:focus { border-color: #be9b3f; background: rgba(255,255,255,.09); }
.hg-search-icon {
    position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    color: rgba(255,255,255,.35); pointer-events: none; font-size: .9rem;
}
.hg-search-clear {
    position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: rgba(255,255,255,.5); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; border-radius: 50%; padding: 0;
    transition: color .2s;
}
.hg-search-clear:hover { color: #be9b3f; }

/* Cards */
.hg-col { margin-bottom: 24px; }
.hg-card-link { text-decoration: none; display: flex; height: 100%; }
.hg-card {
    background: rgba(255,255,255,.045); border: 1.5px solid rgba(190,155,63,.16);
    border-radius: 14px; padding: 22px 20px 18px; width: 100%;
    display: flex; flex-direction: column;
    transition: background .22s, border-color .22s, transform .22s;
    cursor: pointer;
}
.hg-card:hover {
    background: rgba(190,155,63,.09); border-color: rgba(190,155,63,.5);
    transform: translateY(-3px);
}
.hg-card-icon { margin-bottom: 12px; font-size: 1.8rem; color: rgba(190,155,63,.45); }
.hg-card-name {
    color: #fff; font-weight: 700; font-size: .93rem;
    margin-bottom: 12px; line-height: 1.45;
}
.hg-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.hg-badge {
    font-size: .68rem; font-weight: 700; padding: 3px 10px; border-radius: 20px;
    display: inline-flex; align-items: center; gap: 4px;
}
.hg-badge-count  { background: rgba(255,255,255,.07); color: rgba(255,255,255,.55); }
.hg-badge-voting { background: rgba(190,155,63,.14); color: #be9b3f; }
.hg-badge-open   { background: rgba(74,222,128,.1);  color: #4ade80; }
.hg-card-cta     { color: #be9b3f; font-weight: 700; font-size: .82rem; margin-top: auto; padding-top: 10px; }
.hg-card-cta i   { margin-left: 5px; font-size: .72rem; }

/* Matched categories — span pills, not <a>, to avoid nested-anchor DOM break */
.hg-matched-cats { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.hg-matched-cat {
    font-size: .66rem; font-weight: 600; padding: 2px 8px; border-radius: 20px;
    border: 1px solid; cursor: pointer; transition: opacity .15s;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 160px; display: inline-block;
}
.hg-matched-cat:hover { opacity: .72; }
.hg-matched-more { font-size: .66rem; color: rgba(255,255,255,.35); padding: 2px 4px; align-self: center; }

/* No results */
.hg-no-results { text-align: center; padding: 50px 0; color: rgba(255,255,255,.35); }
.hg-no-results i { font-size: 2.5rem; display: block; margin-bottom: 12px; }
.hg-no-results p { margin: 0; font-size: .95rem; }

/* Pagination */
.hg-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.hg-page-btn {
    min-width: 36px; height: 36px; border-radius: 8px; padding: 0 10px;
    border: 2px solid rgba(190,155,63,.3); background: transparent;
    color: #be9b3f; font-weight: 700; font-size: .82rem; cursor: pointer;
    transition: all .18s;
}
.hg-page-btn:hover, .hg-page-btn.active {
    border-color: #be9b3f; background: #be9b3f; color: #fff;
}

/* CTA bar */
.hg-cta-bar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }

@media (max-width: 576px) {
    .hg-search-input { font-size: .85rem; padding: 11px 42px 11px 16px; }
    .hg-card { padding: 18px 16px 14px; }
}

/* ══ Group detail — category cards ════════════════════════════════ */
/* ── Group category section ──────────────────────────────────────────────── */
.grp-section-glass {
    background: #fff;
    position: relative;
    overflow: hidden;
    padding: 40px 0 60px;
}
/* Gold dot grid — gives the glass blur something to render against */
.grp-section-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(190,155,63,.14) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none;
}
.grp-section-glass > .auto-container { position: relative; z-index: 1; }

/* Sec-title overrides inside glass section */
.grp-section-glass .sec-title .sub-title { color: #be9b3f !important; }
.grp-section-glass .sec-title h2        { color: #0a0a0a; }
.grp-section-glass .sec-title p         { color: #666; }

/* Phase badge */
.grp-phase-badge {
    display: inline-block;
    background: rgba(190,155,63,.1);
    color: #be9b3f;
    border: 1px solid rgba(190,155,63,.28);
    font-size: .75rem;
    font-weight: 800;
    padding: 5px 18px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Search */
.grp-search-wrap  { max-width: 420px; margin: 0 auto 28px; position: relative; }
.grp-search-input {
    width: 100%;
    padding: 12px 44px 12px 18px;
    border: 1.5px solid rgba(190,155,63,.22);
    border-radius: 30px;
    font-size: .9rem;
    color: #333;
    background: rgba(255,252,246,.85);
    outline: none;
    transition: border-color .2s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.grp-search-input:focus { border-color: #be9b3f; }
.grp-search-input::placeholder { color: #aaa; }
.grp-search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(190,155,63,.55);
    pointer-events: none;
}

/* Cards — frosted glass on dot grid */
.grp-cat-card {
    background: rgba(255, 252, 245, 0.78);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1.5px solid rgba(190,155,63,.2);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color .22s, box-shadow .22s, transform .22s;
    box-shadow: 0 4px 24px rgba(190,155,63,.08), 0 1px 4px rgba(0,0,0,.05);
}
.grp-cat-card:hover {
    border-color: #be9b3f;
    box-shadow: 0 10px 40px rgba(190,155,63,.18), 0 2px 8px rgba(0,0,0,.07);
    transform: translateY(-5px);
}
.grp-cat-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Status badges */
.grp-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .68rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    align-self: flex-start;
    letter-spacing: .3px;
}
.grp-badge-collecting { background: rgba(22,163,74,.1);  color: #16a34a; border: 1px solid rgba(22,163,74,.25); }
.grp-badge-promoted   { background: rgba(190,155,63,.1); color: #be9b3f; border: 1px solid rgba(190,155,63,.28); }
.grp-badge-closed     { background: rgba(239,68,68,.08); color: #ef4444; border: 1px solid rgba(239,68,68,.22); }
.grp-badge-completed  { background: rgba(99,102,241,.08);color: #6366f1; border: 1px solid rgba(99,102,241,.22); }

.grp-cat-name {
    color: #0a0a0a;
    font-weight: 700;
    font-size: .95rem;
    margin: 0 0 8px;
    line-height: 1.45;
}
.grp-cat-desc {
    color: #888;
    font-size: .79rem;
    line-height: 1.55;
    margin-bottom: 12px;
    flex: 1;
}
.grp-cat-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    margin-top: 6px;
    border-top: 1px solid rgba(190,155,63,.12);
}
.grp-cat-count        { display: flex; align-items: center; gap: 4px; }
.grp-cat-count-icon   { color: rgba(190,155,63,.55); font-size: .8rem; }
.grp-cat-count-num    { color: #be9b3f; font-weight: 700; font-size: .87rem; }
.grp-cat-count-label  { color: #aaa; font-size: .72rem; }

/* CTA colours per status */
.grp-cat-cta              { font-size: .78rem; font-weight: 700; }
.grp-cta-collecting       { color: #16a34a; }
.grp-cta-promoted         { color: #be9b3f; }
.grp-cta-closed           { color: #ef4444; }
.grp-cta-completed        { color: #6366f1; }

/* Card column + link wrapper */
.grp-cat-col  { margin-bottom: 28px; }
.grp-cat-link { text-decoration: none; display: flex; height: 100%; }

/* Image area */
.grp-cat-img-wrap    { height: 130px; overflow: hidden; position: relative; }
.grp-cat-img         { width: 100%; height: 100%; object-fit: cover; display: block; }
.grp-cat-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.22));
}

/* Placeholder (no image) */
.grp-cat-placeholder {
    height: 130px;
    background: linear-gradient(135deg, #faf7f0, #ede8d8);
    display: flex;
    align-items: center;
    justify-content: center;
}
.grp-cat-placeholder-icon { font-size: 2.4rem; color: rgba(190,155,63,.3); }

/* Desc / spacer */
.grp-cat-desc        { color: #888; font-size: .79rem; line-height: 1.55; margin-bottom: 12px; flex: 1; }
.grp-cat-desc-spacer { flex: 1; }

@media (max-width: 576px) {
    .grp-cat-body  { padding: 14px 16px 16px; }
    .grp-cat-name  { font-size: .89rem; }
}

/* ── Award Groups page (groups.php) ─────────────────────────────────────── */

/* Event switcher tabs */
.aw-grp-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}
.aw-grp-tab {
    font-size: .82rem;
    font-weight: 700;
    padding: 8px 22px;
    border-radius: 24px;
    border: 2px solid rgba(190,155,63,.35);
    background: transparent;
    color: #be9b3f;
    cursor: pointer;
    transition: all .2s;
}
.aw-grp-tab:hover  { border-color: #be9b3f; background: rgba(190,155,63,.08); }
.aw-grp-tab.active { border-color: #be9b3f; background: #be9b3f; color: #fff; }

/* Group cards */
.aw-grp-card {
    background: rgba(255,252,245,.82);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1.5px solid rgba(190,155,63,.2);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: border-color .22s, box-shadow .22s, transform .22s;
    box-shadow: 0 4px 24px rgba(190,155,63,.08), 0 1px 4px rgba(0,0,0,.05);
}
.aw-grp-card:hover {
    border-color: #be9b3f;
    box-shadow: 0 10px 40px rgba(190,155,63,.18), 0 2px 8px rgba(0,0,0,.07);
    transform: translateY(-4px);
}
.aw-grp-body  { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.aw-grp-name  { color: #0a0a0a; font-weight: 700; font-size: 1rem; margin: 0 0 10px; line-height: 1.4; }
.aw-grp-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

/* Badge variants */
.aw-grp-badge-count  { font-size:.72rem; font-weight:700; background:#f5f5f5; color:#555; padding:3px 10px; border-radius:20px; display:inline-flex; align-items:center; gap:5px; }
.aw-grp-badge-voting { font-size:.72rem; font-weight:700; background:rgba(190,155,63,.1); color:#be9b3f; padding:3px 10px; border-radius:20px; border:1px solid rgba(190,155,63,.25); display:inline-flex; align-items:center; gap:5px; }
.aw-grp-badge-open   { font-size:.72rem; font-weight:700; background:rgba(22,163,74,.08); color:#16a34a; padding:3px 10px; border-radius:20px; border:1px solid rgba(22,163,74,.2); display:inline-flex; align-items:center; gap:5px; }

.aw-grp-cta  { display:flex; align-items:center; gap:8px; color:#be9b3f; font-weight:700; font-size:.85rem; margin-top:auto; }

/* Bottom CTA bar */
.aw-grp-cta-bar  { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:44px; }
.aw-grp-btn-gold { background:#be9b3f !important; border-color:#be9b3f !important; }

/* Pagination buttons (shared with grp-pag-btn on group.php) */
.grp-pag-btn {
    min-width: 36px;
    height: 36px;
    border-radius: 8px;
    padding: 0 10px;
    font-weight: 700;
    font-size: .82rem;
    cursor: pointer;
    border: 2px solid rgba(190,155,63,.3);
    background: transparent;
    color: #be9b3f;
    transition: all .18s;
}
.grp-pag-btn.active,
.grp-pag-btn:hover { border-color: #be9b3f; background: #be9b3f; color: #fff; }

@media (max-width: 576px) {
    .aw-grp-body  { padding: 14px 16px 16px; }
    .aw-grp-name  { font-size: .9rem; }
}

/* ── Category sibling sidebar ────────────────────────────────────────────── */
.cat-sib-group-eyebrow {
    font-size: .72rem; font-weight: 700; color: #be9b3f;
    text-transform: uppercase; letter-spacing: .8px; margin-bottom: 5px;
}

/* Desktop sticky sidebar — dark glass */
.cat-sib-sidebar {
    position: sticky;
    top: 90px;
    background: rgba(8, 6, 2, 0.86);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(190,155,63,.28);
    border-radius: 16px;
    padding: 6px 0;
    box-shadow: 0 8px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(190,155,63,.08) inset;
    overflow: hidden;
}
.cat-sib-sidebar-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px 12px;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #be9b3f;
    border-bottom: 1px solid rgba(190,155,63,.15);
    margin-bottom: 4px;
    background: rgba(190,155,63,.06);
}
.cat-sib-group-link {
    color: #be9b3f;
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .15s;
}
.cat-sib-group-link:hover { color: #fff; }
.cat-sib-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    text-decoration: none;
    color: rgba(255,255,255,.72);
    font-size: .83rem;
    font-weight: 500;
    transition: background .15s, color .15s, border-color .15s;
    border-left: 3px solid transparent;
}
.cat-sib-item:hover { background: rgba(190,155,63,.1); color: #fff; border-left-color: rgba(190,155,63,.45); text-decoration: none; }
.cat-sib-item.active {
    background: rgba(190,155,63,.15);
    color: #fff;
    font-weight: 700;
    border-left-color: #be9b3f;
}
.cat-sib-dot {
    width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.cat-sib-item-name { flex: 1; line-height: 1.35; }
.cat-sib-item-count {
    font-size: .68rem; font-weight: 700; color: #be9b3f;
    background: rgba(190,155,63,.15); padding: 2px 7px; border-radius: 12px;
    flex-shrink: 0; border: 1px solid rgba(190,155,63,.2);
}

/* Mobile horizontal chip strip */
.cat-sib-strip {
    margin-bottom: 20px;
    padding: 12px 16px 14px;
    background: rgba(8,6,2,.86);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 1px solid rgba(190,155,63,.25);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,.35);
}
.cat-sib-strip-label {
    font-size: .68rem; font-weight: 800; color: #be9b3f;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 6px;
}
.cat-sib-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cat-sib-chips::-webkit-scrollbar { display: none; }
.cat-sib-chip {
    flex-shrink: 0;
    font-size: .75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid rgba(190,155,63,.3);
    color: rgba(255,255,255,.72);
    background: rgba(255,255,255,.04);
    text-decoration: none;
    transition: all .18s;
    white-space: nowrap;
}
.cat-sib-chip:hover  { border-color: #be9b3f; background: rgba(190,155,63,.12); color: #fff; text-decoration: none; }
.cat-sib-chip.active { border-color: #be9b3f; background: #be9b3f; color: #fff; }

/* Sidebar CTA area */
.cat-sib-cta-area {
    padding: 14px 14px 16px;
    border-top: 1px solid rgba(190,155,63,.15);
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cat-sib-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: .78rem;
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: all .18s;
    letter-spacing: .2px;
}
.cat-sib-cta-btn:hover { text-decoration: none; transform: translateY(-1px); }

/* Gold — primary action (Vote / Nominate) */
.cat-sib-cta-gold {
    background: linear-gradient(135deg, #be9b3f, #d4af60);
    color: #fff;
    box-shadow: 0 4px 14px rgba(190,155,63,.35);
}
.cat-sib-cta-gold:hover { box-shadow: 0 6px 20px rgba(190,155,63,.5); color: #fff; }

/* Outline — secondary (All in Group) */
.cat-sib-cta-outline {
    background: rgba(190,155,63,.08);
    color: #be9b3f;
    border: 1.5px solid rgba(190,155,63,.35);
}
.cat-sib-cta-outline:hover { background: rgba(190,155,63,.16); border-color: #be9b3f; color: #be9b3f; }

/* Ghost — tertiary (All Nominees) */
.cat-sib-cta-ghost {
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.55);
    border: 1px solid rgba(255,255,255,.1);
}
.cat-sib-cta-ghost:hover { background: rgba(255,255,255,.1); color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.2); }
