.alegeri-container .presidential-elections-comparison-container {
    margin: 0px!important;
    .presidential-elections-comparison-heading {
        display: none!important;
    }
}
.presidential-elections-comparison-container {
    padding-bottom: 12vh;
    padding-top: 4.2vh;
    display: flex;
    flex-direction: column;
    margin: 0 var(--mobile-margin-width);
    &.expanded {
        #presidentialElectionsListButton {
            .realitatea-icon-solid {
                transform: rotate(180deg);
            }
            .controls-label-collapse {
                display: block;
            }
            .controls-label-expand {
                display: none;
            }
        }
        .presidential-elections-comparison-body {
            .presidential-elections-expandable-list {
                grid-template-rows: 1fr;
            }
        }
    }
    .presidential-elections-comparison-heading {
        h2 {
            font-size: 6vw;
            font-family: "Leitura Sans Grot 3", sans-serif;
            line-height: var(--realitatea-big-line-height);
        }
        .article-box-title {
            margin-top: 1vh;
            margin-bottom: 1.5rem;
            align-items: center;
            &::after {
                font-family: "Realitatea Icons";
                content: "\f30b";
                color: black;
                font-size: 5vw;
                margin-right: 2vw;
                margin-left: 1vw;
                margin-bottom: 1vw;
            }
            span {
                color: var(--realitatea-red);
            }
        }
    }
    .presidential-elections-comparison-body {
        display: flex;
        flex-direction: column;
        .presidential-elections-expandable-list {
            display: grid;
            grid-template-rows: 0fr;
            transition: all;
            transition-duration: 300ms;
            padding-bottom: 16px;
            .presidential-elections-list {
                overflow: hidden;
                .presidential-elections-list-candidate:nth-of-type(1) {
                    border-top: 1px solid lightgrey;
                }
            }
        }
        .presidential-elections-list {
            display: flex;
            flex-direction: column;
            .presidential-elections-list-candidate {
                display: flex;
                justify-content: space-between;
                padding: 12px 0;
                gap: 4px;
                &:not(:last-child) {
                    border-bottom: 1px solid lightgrey;
                }
                &.disabled {
                    .profile-details {
                        .profile-image-container {
                            .profile-image {
                                img {
                                    filter: grayscale(100%);
                                }
                            }
                        }
                    }
                }
                &.winner {
                    .profile-details {
                        .profile-image-container {
                            .badge {
                                display: flex;
                            }
                        }
                    }
                }
                .profile-details {
                    display: flex;
                    gap: 8px;
                    .profile-image-container {
                        border-radius: 99999px;
                        width: 34px;
                        height: 34px;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        position: relative;
                        z-index: 1;
                        .profile-image-container-bg {
                            border-radius: 99999px;
                            width: 30px;
                            height: 30px;
                            position: absolute;
                            top: 2px;
                            left: 2px;
                            z-index: -1;
                        }
                        .profile-image {
                            width: 100%;
                            height: 100%;
                            overflow: hidden;
                            border-radius: 99999px;
                        }
                        .badge {
                            display: none;
                            justify-content: center;
                            align-items: center;
                            position: absolute;
                            right: 0;
                            bottom: 0;
                            transform: translateX(30%) translateY(20%);
                            border-radius: 99999px;
                            width: 16px;
                            height: 16px;
                            svg {
                                width: 12px;
                                height: 12px;
                            }
                        }
                    }
                    .profile-name {
                        display: flex;
                        flex-direction: column;
                        justify-content: space-around;
                        gap: 4px;
                        h3 {
                            font-family: "Leitura Sans Grot 3", sans-serif;
                            color: black;
                        }
                        .party-name {
                            display: none;
                            color: #9a9a9a;
                            font-family: "Leitura Sans Grot 2", sans-serif;
                        }
                        .party-acronym {
                            color: #9a9a9a;
                            font-family: "Leitura Sans Grot 2", sans-serif;
                        }
                    }
                }
                .profile-data {
                    display: flex;
                    flex-direction: column;
                    justify-content: space-around;
                    align-items: end;
                    gap: 4px;
                    .profile-votes {
                        text-align: end;
                        /*font-size: 4.4vw;*/
                        font-family: "Leitura Sans Grot 2", sans-serif;
                        span {
                            font-size: 5vw;
                            font-family: "Leitura Sans Grot 3", sans-serif;
                        }
                    }
                    .profile-percentage {
                        /*font-size: 4.4vw;*/
                        font-family: "Leitura Sans Grot 2", sans-serif;
                        color: #9a9a9a;
                    }
                }
            }
        }
        .presidential-elections-list-control {
            display: flex;
            align-items: center;
            .controls-bar {
                height: 1px;
                width: 100%;
                background-color: lightgrey;
            }
            button {
                display: flex;
                justify-content: center;
                gap: 8px;
                align-items: center;
                flex-wrap: nowrap;
                white-space: nowrap;
                padding: 8px 16px;
                border-radius: 8px;
                border: 1px solid lightgrey;
                background-color: transparent;
                cursor: pointer;
                min-width: 140px;
                .realitatea-icon-solid {
                    transition: transform;
                    transition-duration: 300ms;
                }
                .controls-label-collapse {
                    display: none;
                }
            }
        }
    }
    .presidential-elections-leading {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 24px;
        .presidential-elections-leading-showoff {
            display: flex;
            align-items: end;
            justify-content: space-between;
            position: relative;
            gap: 36px;
            .presidential-elections-leading-candidate {
                display: flex;
                flex: 1;
                gap: 12px;
                &:nth-of-type(3) {
                    flex-direction: row-reverse;
                    .profile-name {
                        align-items: end;
                        h3 {
                            text-align: end;
                        }
                    }
                }
                &.winner {
                    .presidential-elections-leading-candidate-image-container {
                        .badge {
                            display: flex;
                        }
                    }
                }
                .presidential-elections-leading-candidate-image-container {
                    border-radius: 99999px;
                    width: 48px;
                    height: 48px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    position: relative;
                    z-index: 1;
                    .profile-image-container-bg {
                        border-radius: 99999px;
                        width: 44px;
                        height: 44px;
                        position: absolute;
                        top: 2px;
                        left: 2px;
                        z-index: -1;
                    }
                    .profile-image {
                        width: 100%;
                        height: 100%;
                        overflow: hidden;
                        border-radius: 99999px;
                    }
                    .badge {
                        display: none;
                        justify-content: center;
                        align-items: center;
                        position: absolute;
                        right: 0;
                        bottom: 0;
                        transform: translateX(30%) translateY(20%);
                        border-radius: 99999px;
                        width: 16px;
                        height: 16px;
                        svg {
                            width: 12px;
                            height: 12px;
                        }
                    }
                }
                .profile-name {
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    gap: 4px;
                    h3 {
                        font-family: "Leitura Sans Grot 3", sans-serif;
                        line-height: 100%!important;
                    }
                    .party-name {
                        display: none;
                        font-family: "Leitura Sans Grot 3", sans-serif;
                    }
                    .party-acronym {
                        font-size: 1.5rem;
                        font-family: "Leitura Sans Grot 3", sans-serif;
                    }
                }
            }
            .presidential-elections-leading-target {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: center;
                position: absolute;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                gap: 4px;
                .tur-2-image {
                    border-radius: 99999px;
                    width: 32px;
                    height: 32px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    position: relative;
                    z-index: 1;
                    overflow: hidden;
                    img {
                        width: 100%;
                        height: 100%;
                        border-radius: 99999px;
                        object-fit: cover;
                    }
                }
                span {
                    font-family: "Leitura Sans Grot 3", sans-serif;
                }
            }
        }
        .presidential-elections-leading-race {
            display: flex;
            align-items: end;
            .presidential-elections-leading-trace {
                height: 12px;
                background-color: lightgray;
                flex: 1;
                display: flex;
                border-bottom-left-radius: 8px;
                border-top-left-radius: 8px;
                &:nth-of-type(3) {
                    justify-content: end;
                    border-radius: 0 8px 8px 0;
                    .presidential-elections-leading-color {
                        .presidential-elections-leading-color-indicator {
                            right: auto;
                            left: 0;
                            bottom: 0;
                        }
                    }
                }
                .presidential-elections-leading-color {
                    height: 100%;
                    position: relative;
                    .presidential-elections-leading-color-indicator {
                        width: 2px;
                        height: 20px;
                        position: absolute;
                        right: 0;
                        bottom: 0;
                    }
                }
            }
            .presidential-elections-leading-trace-indicator {
                width: 2px;
                height: 20px;
                background-color: #9a9a9a;
            }
        }
        .presidential-elections-leading-data {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 4px;
            .presidential-elections-leading-data-candidate {
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                gap: 4px;
                &:nth-of-type(2) {
                    justify-content: flex-end;
                }
                font-family: "Leitura Sans Grot 2", sans-serif;
                span:nth-of-type(2) {
                    font-size: .9rem;
                    color: #9a9a9a;
                }
            }
        }
    }
}

.icon-down::before {
    content: "\f107";
}

@media only screen and (min-width: 600px) {
    .presidential-elections-comparison-container {
        .presidential-elections-comparison-heading {
            h2 {
                font-size: 5vw;
            }
        }
        .presidential-elections-comparison-body {
            .presidential-elections-list {
                .presidential-elections-list-candidate {
                    .profile-data {
                        .profile-votes {
                            /*font-size: 1.6vw;*/
                            span {
                                font-size: 2vw;
                            }
                        }
                        .profile-percentage {
                            /*font-size: 1.6vw;*/
                        }
                    }
                }
            }
        }
    }
}

@media only screen and (min-width: 768px) {
    .presidential-elections-comparison-container {
        .presidential-elections-comparison-heading {
            h2 {
                font-size: 4vw;
            }
            .article-box-title::after {
                font-size: 2vw;
                margin-bottom: 0;
            }
        }
    }
}

@media only screen and (min-width: 992px) {
    .presidential-elections-comparison-container {
        margin-left: var(--margin-width);
        margin-right: var(--margin-width);
        padding-top: 5vh;
        padding-bottom: 5vh;
        .presidential-elections-comparison-heading {
            h2 {
                font-size: 3vw;
            }
        }
        .presidential-elections-comparison-body {
            .presidential-elections-list {
                .presidential-elections-list-candidate {
                    .profile-details {
                        gap: 8px;
                        .profile-name {
                            .party-name {
                                display: block;
                            }
                            .party-acronym {
                                display: none;
                            }
                        }
                    }
                    .profile-data {
                        .profile-votes {
                            /*font-size: 1vw;*/
                            span {
                                font-size: 1.3vw;
                            }
                        }
                        .profile-percentage {
                            /*font-size: 1vw;*/
                        }
                    }
                }
            }
            .presidential-elections-list-control {
                button {
                    &:hover {
                        background-color: #D3D3D3CC;
                    }
                }
            }
        }
    }
}

@media only screen and (min-width: 1336px) {
    .presidential-elections-comparison-container {
        max-width: 989px;
        margin-left: calc(calc((100vw - 989px) / 2));
        margin-right: calc(calc((100vw - 989px) / 2));
        .presidential-elections-comparison-heading {
            h2 {
                font-size: 2.1vw;
            }
        }
        .presidential-elections-comparison-body {
            .presidential-elections-list {
                .presidential-elections-list-candidate {
                    .profile-data {
                        .profile-votes {
                            /*font-size: 1.1vw;*/
                            span {
                                font-size: 1.3vw;
                            }
                        }
                        .profile-percentage {
                            /*font-size: 1.1vw;*/
                        }
                    }
                }
            }
        }
    }
}

@media only screen and (min-width: 1920px) {
    .presidential-elections-comparison-container {
        max-width: 1390px;
        margin-left: calc(calc((100vw - 1390px) / 2));
        margin-right: calc(calc((100vw - 1390px) / 2));
        .presidential-elections-comparison-body {
            .presidential-elections-list {
                .presidential-elections-list-candidate {
                    .profile-data {
                        .profile-votes {
                            /*font-size: .9vw;*/
                            span {
                                font-size: 1.1vw;
                            }
                        }
                        .profile-percentage {
                            /*font-size: .9vw;*/
                        }
                    }
                }
            }
        }
    }
}