/* ==========================================================================
   Quick Engagement Strip
   ========================================================================== */

.qe-section {
    background: var(--bg-dark-1, #131419);
    padding: 28px 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.qe-section--light {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.qe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Lane layout — centered column */
.qe-lane {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 36px;
}

.qe-lane--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.qe-label {
    font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.qe-section--light .qe-label {
    color: rgba(0, 0, 0, 0.45);
}

/* Pills container — horizontal scroll on mobile */
.qe-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 0;
    justify-content: center;
    flex-wrap: wrap;
}

.qe-pills::-webkit-scrollbar {
    display: none;
}

/* Pill base */
.qe-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 20px;
    font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: none;
    line-height: 1.4;
}

/* Dark variant pills (default — homepage) */
.qe-pill--interest {
    background: rgba(255, 254, 0, 0.12);
    color: var(--accent-color, #FFFE00);
    border: 1px solid rgba(255, 254, 0, 0.2);
}

.qe-pill--interest:hover {
    background: rgba(255, 254, 0, 0.22);
    border-color: rgba(255, 254, 0, 0.4);
    transform: translateY(-1px);
}

.qe-pill--topic {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qe-pill--topic:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.qe-pill--topic .qe-pill-icon {
    font-size: 12px;
    opacity: 0.7;
}

/* Light variant pills (guide + hub) */
.qe-section--light .qe-pill--interest {
    background: rgba(0, 113, 227, 0.08);
    color: #0071e3;
    border: 1px solid rgba(0, 113, 227, 0.18);
}

.qe-section--light .qe-pill--interest:hover {
    background: rgba(0, 113, 227, 0.16);
    border-color: rgba(0, 113, 227, 0.3);
    transform: translateY(-1px);
}

.qe-section--light .qe-pill--topic {
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.qe-section--light .qe-pill--topic:hover {
    background: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Poll pills */
.qe-pill--poll {
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.qe-pill--poll:hover {
    background: rgba(255, 254, 0, 0.15);
    color: var(--accent-color, #FFFE00);
    border-color: rgba(255, 254, 0, 0.3);
}

.qe-section--light .qe-pill--poll {
    background: rgba(0, 0, 0, 0.04);
    color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.qe-section--light .qe-pill--poll:hover {
    background: rgba(0, 113, 227, 0.1);
    color: #0071e3;
    border-color: rgba(0, 113, 227, 0.25);
}

/* Poll lane — centered */
.qe-poll-lane {
    justify-content: center;
}

.qe-poll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qe-poll-question {
    font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

.qe-section--light .qe-poll-question {
    color: rgba(0, 0, 0, 0.6);
}

/* Poll results */
.qe-poll-results {
    margin-top: 4px;
}

.qe-poll-thanks {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 4px;
    text-align: center;
}

.qe-section--light .qe-poll-thanks {
    color: rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .qe-section {
        padding: 20px 0 18px;
    }

    .qe-container {
        gap: 16px;
        padding: 0 16px;
    }

    .qe-label {
        font-size: 12px;
    }

    .qe-pills {
        width: 100%;
        padding-bottom: 4px;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
}
