.initiatives-page {
    overflow: clip;
}

.initiatives-page [hidden] {
    display: none !important;
}

.initiatives-page .bg-top-main {
    pointer-events: none;
}

.initiatives-page .initiative-summary {
    position: relative;
    z-index: 1;
}

.initiatives-page .initiative-axes {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.initiative-axes legend {
    float: none;
    width: auto;
    margin: 0 0 12px;
}

.initiative-axis-input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.initiatives-page .pill {
    margin: 0;
}

.initiative-axis-input:checked+.pill {
    background: var(--destaque_color);
    color: #fff;
}

.initiative-axis-input:focus-visible+.pill {
    outline: 3px solid var(--title_color);
    outline-offset: 3px;
}

.initiative-search-button {
    border: 0;
    padding: 6px;
    background: none;
    color: var(--text_color);
}

.initiative-year {
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    color: #fff;
    background: var(--destaque_color);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.initiative-year option {
    color: var(--text_color);
    background: #fff;
}

.initiative-year-shell>span {
    display: none;
}

.initiative-year-shell.is-enhanced {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: start;
    gap: 10px;
    border-radius: 999px;
    padding: 8px 16px;
    color: #fff;
    background: var(--destaque_color);
    font-size: 15px;
    line-height: 1.5;
}

.initiative-year-shell.is-enhanced>span {
    display: block;
    font-weight: 600;
}

.initiative-year-shell.is-enhanced .initiative-year-chevron {
    font-size: 12px;
}

.initiative-year-shell.is-enhanced select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    padding: 0;
}

.initiative-year-shell:focus-within {
    outline: 2px solid var(--title_color);
    outline-offset: 3px;
}

.initiative-active-tag {
    text-decoration: none;
}

.initiative-active-tag:hover {
    color: var(--title_color);
    box-shadow: 0 0 0 1px var(--destaque_color);
}

.initiative-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
    gap: 32px;
}

.initiative-grid .initiative-card {
    width: 350px;
    max-width: 100%;
}

.initiative-grid .img-box {
    min-width: 0;
    width: 100%;
}

.initiative-grid .topic-card__content {
    width: calc(100% - 5%);
}

.initiative-card>a:focus-visible {
    display: block;
    outline: 3px solid var(--destaque_color);
    outline-offset: 6px;
}

.initiative-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--green-light);
}

.initiative-empty {
    padding: 32px 0;
}

.initiative-empty h2 {
    font-size: 26px;
}

.initiative-request-error {
    color: #8b251f;
    padding: 12px 0;
}

.initiative-loading-slot {
    min-height: 1.5em;
}
#initiativeLoading {
    display: none !important;
}

#initiativeResults[aria-busy='true'] {
    opacity: 0.55;
    pointer-events: none;
}

@media (max-width: 575px) {
    .initiatives-page .search-group {
        min-width: 0;
        width: 100%;
    }

    .initiatives-page .active-filters-bar {
        padding: 16px;
    }

    .initiatives-page .clear-filters {
        margin-left: 0;
    }

    .initiative-grid {
        gap: 24px;
    }
}
