.section-hero.poll-page-hero {
    padding: clamp(14px, 2.8vw, 26px) clamp(14px, 2.5vw, 26px);
}

.poll-page-hero h1 {
    font-size: clamp(2.05rem, 5vw, 3.5rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.poll-question-hero h1 {
    font-size: clamp(1.7rem, 4.2vw, 3rem);
}

.poll-page-hero p {
    max-width: 65ch;
    line-height: 1.5;
}

.poll-stack {
    display: grid;
    gap: 22px;
}

.poll-featured {
    display: grid;
    border-inline-start: 3px solid var(--primary-accent-bright);
}

.poll-featured.has-image {
    grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
}

.poll-featured-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    max-height: 325px;
    object-fit: cover;
}

.poll-featured-copy {
    min-width: 0;
    padding: clamp(16px, 2.6vw, 26px);
    display: grid;
    justify-items: start;
    align-content: center;
    gap: 11px;
}

.poll-featured-copy p {
    margin: 0;
}

.poll-featured-copy .eyebrow {
    color: var(--ink);
}

.poll-featured-copy h2,
.poll-list-header h2,
.poll-ballot-heading h2 {
    margin: 0;
    font-family: Oswald, Arial, sans-serif;
    font-weight: 900;
    line-height: 1.08;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}

.poll-featured-copy h2 {
    font-size: clamp(1.65rem, 4vw, 2.6rem);
}

.poll-list-header h2,
.poll-ballot-heading h2 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

.poll-meta,
.poll-ballot-heading,
.poll-row,
.poll-list-header,
.poll-next-actions,
.poll-discussion-link {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.poll-meta,
.poll-ballot-heading > span,
.poll-results small {
    color: var(--muted);
    font-size: .875rem;
}

.poll-meta > span + span {
    padding-inline-start: 12px;
    border-inline-start: 1px solid var(--line);
}

.polls-page .poll-voted,
.poll-embed .poll-voted {
    color: var(--ink);
    font-weight: 700;
}

.poll-primary.action-button {
    width: auto;
    min-width: 140px;
    background: var(--primary-accent);
}

.poll-featured-copy .poll-primary {
    margin-top: 3px;
}

.poll-list-header {
    justify-content: space-between;
    align-items: center;
    padding-block: 2px 10px;
}

.poll-list-header form,
.poll-next-actions form {
    margin: 0;
}

.poll-filters {
    display: flex;
    gap: 3px 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--line);
}

.poll-filters button {
    min-height: 42px;
    border: 0;
    border-bottom: 2px solid transparent;
    padding: 6px 2px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: .9rem;
    cursor: pointer;
}

.poll-filters button:hover,
.poll-filters button[aria-pressed="true"] {
    color: var(--ink);
    border-bottom-color: var(--primary-accent-bright);
}

.poll-filters button:focus-visible,
.poll-row a:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
}

.poll-links,
.poll-results {
    list-style: none;
    padding: 0;
    margin: 0;
}

.poll-row {
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.poll-row-copy {
    min-width: 0;
    overflow-wrap: anywhere;
}

.poll-row-question {
    font-weight: 700;
}

.poll-row .poll-meta {
    margin-top: 4px;
}

.poll-row-action {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: 700;
    font-size: .85rem;
}

.poll-empty {
    padding-block: 14px;
}

.poll-embed {
    clear: both;
    margin-block: 16px;
}

.poll-embed:empty {
    display: none;
}

.poll-embed-header h2,
.poll-discussion-header h2 {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.poll-content {
    padding: clamp(12px, 2vw, 18px);
}

.poll-content > :first-child {
    margin-top: 0;
}

.poll-content > :last-child {
    margin-bottom: 0;
}

.poll-detail-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: min(52vw, 240px);
    object-fit: contain;
    margin-inline: auto;
    margin-bottom: 14px;
}

.poll-ballot-heading {
    margin-bottom: 12px;
}

.poll-ballot-heading > strong {
    font-size: 1.15rem;
}

.poll-ballot {
    min-width: 0;
    display: grid;
    gap: 6px;
    padding: 0;
    margin: 0 0 14px;
    border: 0;
}

.poll-ballot legend {
    margin-bottom: 8px;
}

.poll-ballot label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 8px 12px;
    background: var(--bg-panel);
    border: 1px solid transparent;
    cursor: pointer;
}

.poll-ballot label:has(input:checked),
.poll-ballot label:hover {
    border-color: var(--primary-accent-bright);
}

.poll-ballot label:has(input:checked) {
    box-shadow: inset 3px 0 var(--primary-accent-bright);
}

.poll-ballot label:focus-within {
    outline: 2px solid var(--ink);
    outline-offset: 1px;
}

.poll-ballot input {
    accent-color: var(--primary-accent-bright);
}

.poll-results {
    display: grid;
    gap: 14px;
}

.poll-result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px 16px;
}

.poll-result-row > :last-child {
    text-align: right;
    white-space: nowrap;
}

.poll-result-row strong {
    display: inline-block;
    min-width: 5ch;
    font-variant-numeric: tabular-nums;
}

.poll-ballot label span,
.poll-result-row > :first-child,
.poll-discussion-link > :first-child {
    overflow-wrap: anywhere;
    min-width: 0;
}

.poll-result-row .poll-voted {
    display: inline-block;
    margin-inline-start: 5px;
}

.poll-results progress {
    --poll-bar: var(--muted);
    appearance: none;
    display: block;
    width: 100%;
    height: 12px;
    margin-top: 5px;
    border: 0;
    background: var(--line);
    overflow: hidden;
}

.poll-results .is-leading progress {
    --poll-bar: var(--primary-accent-bright);
}

.poll-results progress::-webkit-progress-bar {
    background: var(--line);
}

.poll-results progress::-webkit-progress-value {
    background: var(--poll-bar);
}

.poll-results progress::-moz-progress-bar {
    background: var(--poll-bar);
}

.poll-discussion-link {
    justify-content: space-between;
    padding: 12px 16px;
}

.poll-discussion-link strong {
    color: var(--muted);
}

.poll-next-actions .action-button {
    width: auto;
}

.poll-share {
    border-top: 1px solid var(--line);
    padding-top: 10px;
}

@media (max-width: 620px) {
    .poll-featured.has-image {
        grid-template-columns: minmax(0, 1fr);
    }

    .poll-featured-image {
        order: 1;
        height: min(45vw, 190px);
        min-height: 0;
    }

    .poll-stack {
        gap: 18px;
    }
}
