.elections {
    color: var(--election_text_color);
    background-color: var(--election_background_color);
}

.elections__container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 990px) {
    .elections__container {
        padding: 10px;
    }
}

.elections__row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: white;
    flex-basis: 100%;
    gap: 10px;
    max-width: 100%;
    overflow: auto;
}

.elections__row.charts__container {
    justify-content: end;
    gap: 20px;
}

@media (max-width: 990px) {
    .elections__row {
        width: 100%;
    }

    .elections__row.charts__container {
        justify-content: center;
    }
}

@media (max-width: 370px) {
    .elections__row.charts__container {
        justify-content: normal;
    }
}

.elections__columns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

@media (max-width: 990px) {
    .elections__columns {
        flex-direction: column;
        gap: 20px;
    }
}

.elections__row .column {
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.elections__row .column .title {
    font-size: 21px;
}

@media (max-width: 990px) {
    .elections__row .column .title {
        font-size: 16px;
        text-transform: none;
    }
}

.elections__row .column .data {
    font-size: 45px;
    font-weight: bold;
}

@media (max-width: 990px) {
    .elections__row .column .data {
        font-size: 26px;
    }
}

.elections__row .column .chart {
    position: relative;
    min-height: 50px;
    min-width: 50px;
    border-radius: 3px;
    overflow: hidden;
}

@media (max-width: 990px) {
    .elections__row .column .chart {
        min-height: 50px;
        min-width: 40px;
        width: fit-content;
    }

    .elections__row .column {
        svg {
            width: 47px;
            height: 55px;
            opacity: .7;
        }
    }
}

.elections__row .column .chart:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    background-color: var(--election_text_color);
    opacity: 0.2;
}

.elections__row .column .chart_title {
    font-size: 14px;
    font-weight: bold;
}

.elections__row .column .chart_data {
    font-size: 16px;
    font-weight: bold;
}

.elections__row .column .chart .fill {
    background-color: var(--election_text_color);
    position: absolute;
    bottom: 0;
    top: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.elections a {
    color: inherit;
}

.elections .title {
    font-size: 21px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

@media (min-width: 990px) {
    .elections .logo-hidden {
        display: none;
    }
}

@media (max-width: 990px) {
    .elections .title {
        font-size: 18px;
    }
}

.elections .view_more {
    display: block;
    text-align: center;
    font-size: 16px;
    margin-top: 20px;
}

.elections .view_more a:hover {
    text-decoration: underline;
}

@media (max-width: 990px) {
    .elections .view_more {
        font-size: 16px;
    }
}