.voting {
	position: relative;
    color: #292929;
    font-family: "Manrope";
    padding: 70px 50px 100px;
    overflow: hidden;
}

.voting__breadcrumbs {
    position: absolute;
    top: 15px;
    left: 50px;
    display: flex;
    font-family: "Manrope";
    color: #ACACAC;
    font-size: 10px;
    font-weight: 300;
    list-style: none;
    z-index: 2;
}

.voting__breadcrumbs a {
    color: currentColor;
    text-decoration: none;
    transition: all .3s ease-in-out;
}

.voting__breadcrumbs a:after {
    content: '/';
    color: #ACACAC;
    margin: 0 5px;
}

.voting__breadcrumbs a:hover {
    color: #292929;
}

.voting__title {
    font-family: "Bounded";
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.voting__info {
    font-size: 15px;
    margin-bottom: 15px;
}

.voting__warn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 50px;
}

.voting__links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.voting__link {
    width: 100%;
    max-width: 210px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #E69E5F;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    border: 2px solid #E69E5F;
    border-radius: 5px;
}

span.voting__link {
    color: #FFFFFF;
    background: #E69E5F;
}

.voting__block:not(:last-child) {
    margin-bottom: 100px;
}

.voting__block-title {
    font-family: "Bounded";
    font-size: 30px;
    font-weight: 400;
    text-transform: uppercase;
    margin-bottom: 60px;
}

.voting__block__items {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 40px;
}

.participant-card {
    grid-column: span 3;
    max-width: 400px;
    display: flex;
    gap: 10px 20px;
}

.participant-card:nth-child(1), .participant-card:nth-child(2), .participant-card:nth-child(3) {
    position: relative;
    grid-column: span 4;
    max-width: 550px;
}

.participant-card:nth-child(1){
    order: -4;
}
.participant-card:nth-child(2){
    order: -3;
}
.participant-card:nth-child(3){
    order: -2;
}

.voting__block-hr {
    content: '';
    grid-column: 1 / -1;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #F4C86F, #4681BD, #4E8D4C, #C84C4C, #F4C86F);
    background-size: 300% 100%;
    animation: gradientShift 10s linear infinite;  
    order: -1;
    margin: 20px 0;
}

@keyframes gradientShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 0%; }
    100% { background-position: 0% 0%; }
}

.participant-card__img {
    flex: 0 0 55%;
}

.participant-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.participant-card__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.participant-card__content-block {
    display: flex;
    flex-direction: column;
}

.participant-card__position {
    width: max-content;
    font-family: "Bounded";
    font-size: 16px;
    font-weight: 900;
    background: #FFD990;
    border-radius: 5px;
    padding: 5px 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.participant-card__position--mobile {
    display: none !important;
}

.participant-card:nth-child(1) .participant-card__position, .participant-card:nth-child(2) .participant-card__position, .participant-card:nth-child(3) .participant-card__position {
    width: 85px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background: linear-gradient(58.87deg, #B78F5A -20.81%, #FFDC94 22.11%, #F7F0DE 48.33%, #FFE392 68.52%, #FFDA94 88.87%, #CEA86D 112.84%);
    background-size: 300% 100%;
    animation: gradientShift 11s linear infinite;  
}
.participant-card:nth-child(2) .participant-card__position {
    background: linear-gradient(236.02deg, #C0C0C0 8.07%, #DBDBDB 29.25%, #FAFAFA 43.15%, #B5B5B5 94.08%);
    background-size: 300% 100%;
    animation: gradientShift 9s linear infinite;  
}
.participant-card:nth-child(3) .participant-card__position {
    background: linear-gradient(236.02deg, #E4B980 8.07%, #F3D8C6 29.25%, #FFEFD8 43.15%, #EAC59C 75.81%, #BB8A52 94.08%);
    background-size: 300% 100%;
    animation: gradientShift 13s linear infinite;  
}

.participant-card__title {
    color: #AEAAAA;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 5px;
}

.participant-card__name {
    font-family: "Bounded";
    font-size: 13px;
    margin-bottom: 5px;
}

.participant-card:nth-child(1) .participant-card__name, .participant-card:nth-child(2) .participant-card__name, .participant-card:nth-child(3) .participant-card__name {
    font-size: 16px;
}

.participant-card__country {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #AEAAAA;
    font-size: 13px;
    font-weight: 600;
}

.participant-card__country img {
    max-width: 20px;
    height: auto;
}

.participant-card__link {
    color: #E69E5F;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.participant-card__button {
    height: 40px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 500;
    background: #E69E5F;
    border: 2px solid #E69E5F;
    border-radius: 5px;
}

.participant-card__button--mobile {
    grid-column: span 2;
    width: 100%;
    max-width: 220px;
    display: none;
    margin: 0 auto;
}

.voting-popup__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease-in-out;
}

.voting-popup__overlay--active {
    opacity: 1;
    pointer-events: all;
}

.voting-popup {
    position: relative;
    width: max-content;
    min-width: 360px;
    max-width: 590px;
    font-family: "Manrope";
    background-color: #FFFFFF;
    border-radius: 5px;
    padding: 60px 45px 30px;
    margin: 0 15px;
}

.voting-popup__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease-in-out;
}

.voting-popup__close svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
}

.voting-popup__close:hover {
    opacity: 0.5;
}

.voting-popup__content {
    display: flex;
    flex-direction: column;
}

.voting-popup__content--1, .voting-popup__content--2, .voting-popup__content--4 {
    display: none;
}

.voting-popup__title {
    color: #292929;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 auto 35px;
}

.voting-popup__title--2 {
    margin-bottom: 40px;
}

.voting-popup__title--3, .voting-popup__title--4 {
    font-family: "Bounded";
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
}

.voting-popup__description {
    font-weight: 400;
    font-size: 15px;
    color: #292929;
    margin: 0 auto 15px;
    font-family: 'Manrope', sans-serif;
}

.voting-popup__form-group {
    margin-bottom: 35px;
}

.voting-popup__form-group--2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.voting-popup__label {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: #7D7D7D;
    margin-bottom: 10px;
    font-family: 'Manrope', sans-serif;
}

.voting-popup__label--2 {
    margin-bottom: 15px;
}

.voting-popup__input {
    width: 100%;
    height: 45px;
    padding: 13px;
    border: 1px solid #E6E6E6;
    border-radius: 5px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #292929;
    outline: none;
    transition: border-color 0.3s ease-in-out;
    box-sizing: border-box;
}

.voting-popup__input::placeholder {
    color: #7D7D7D;
    font-size: 14px;
    font-weight: 400;
    opacity: 1;
}

.voting-popup__input:focus {
    border-color: #b3b3b3;
}

.voting-popup__captcha {
    margin-bottom: 15px;
    min-height: 90px;
    background-color: #fafafa;
    border: 1px dashed #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 14px;
    box-sizing: border-box;
}

.voting-popup__button {
    width: 100%;
    height: 45px;
    border: none;
    border-radius: 5px;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background-color: #E6E6E6;
    color: #7D7D7D;
    cursor: not-allowed;
    margin-bottom: 15px;
    transition: 0.3s ease-in-out;
}

.voting-popup__button--enabled {
    background-color: #E69E5F !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
}

.voting-popup__checkboxes {
    max-width: 495px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.voting-popup__checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 12px;
    font-family: 'Wix Madefor Display', sans-serif;
    color: #292929;
}

.voting-popup__checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #292929;
    border-radius: 0;
    outline: none;
    cursor: pointer;
    background-color: #fff;
    margin-top: 3px;
    flex-shrink: 0;
    transition: .3s ease-in-out;
    position: relative;
}

.voting-popup__checkbox-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg);
    width: 5px;
    height: 9px;
    border: solid #292929;
    border-width: 0 1px 1px 0;
}

.voting-popup__link {
    color: #292929;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    font-weight: 400;
}

.voting-popup__link:hover {
    text-decoration: none;
}

.voting-popup__email {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 15px;
    margin-bottom: 15px;
}

.voting-popup__email-btn {
    color: #7D7D7D;
    font-size: 10px;
    text-decoration: underline;
    background: none;
    border: none;
}

.voting-popup__code {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-bottom: 10px;
}

.voting-popup__code-input {
    width: 35px;
    height: 45px;
    text-align: center;
    font-size: 20px;
    border: 1px solid #E6E6E6;
    border-radius: 5px;
    outline: none;
    transition: 0.3s ease-in-out;
}

.voting-popup__code-input:focus {
    border-color: #000;
}

.voting-popup__code-info {
    color: #7D7D7D;
    font-size: 12px;
    text-align: center;
}

.voting-popup__info {
    max-width: 280px;
    color: #7D7D7D;
    font-size: 12px;
    text-align: center;
    margin: 0 auto;
}

.voting-popup__info-time {
    color: #B82323;
}

.voting-popup__info--3, .voting-popup__info--4 {
    color: #292929;
    font-size: 16px;
    margin-bottom: 35px;
}

.voting-popup__img {
    max-width: 135px;
    height: auto;
    display: block;
    margin: 0 auto 35px;
}

.voting-popup__btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.voting-popup__btn {
    height: 50px;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 500;
    background: #E69E5F;
    border: 2px solid #E69E5F;
    border-radius: 5px;
}

.voting-popup__btn--white {
    color: #E69E5F;
    background: #FFFFFF;
}

.voting-alert {
    position: fixed;
    top: 15px;
    right: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #FFEAEA;
    border: 1px solid #B82323;
    border-radius: 5px;
    box-shadow: 0 4px 30px 0 rgba(0, 0, 0, 0.1);
    padding: 30px 60px;
    opacity: 0;
    pointer-events: none;
    transition: all .3s ease-in-out;
    z-index: 100;
}

.voting-alert--active {
    opacity: 1;
    pointer-events: all;
}

.voting-alert__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
}

.voting-alert__content {
    font-family: "Manrope";
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
}

@media (max-width: 1440px) {
    .voting__block__items {
        grid-template-columns: repeat(3, 1fr);
    }

    .participant-card {
        grid-column: span 1;
    }

    .participant-card:nth-child(1), .participant-card:nth-child(2), .participant-card:nth-child(3) {
        grid-column: span 1;
    }
}

@media (max-width: 1240px) {
    .participant-card:nth-child(1), .participant-card:nth-child(2), .participant-card:nth-child(3) {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1180px) {
    .voting__block__items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .voting {
        padding: 60px 15px 80px;
    }

    .voting__breadcrumbs {
        left: 15px;
    }

    .voting__title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .voting__info {
        font-size: 13px;
    }

    .voting__warn {
        align-items: flex-start;
        gap: 5px;
        font-size: 13px;
        margin-bottom: 40px;
    }

    .voting__links {
        gap: 5px;
        margin-bottom: 40px;
    }

    .voting__link {
        max-width: calc(50% - 5px);
        height: 40px;
        font-size: 13px;
        border: 1px solid #E69E5F;
    }

    .voting__block:not(:last-child) {
        margin-bottom: 60px;
    }

    .voting__block-title {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .voting__block__items {
        grid-template-columns: repeat(1, 1fr);
    }

    .participant-card {
        grid-column: 1;
        display: grid;
        grid-template-columns: 40% 55%;
    }

    .participant-card:nth-child(1), .participant-card:nth-child(2), .participant-card:nth-child(3) {
        grid-column: 1;
    }

    .voting__block-hr {
        height: 1px;
        margin: -10px 0;
    }

    .participant-card__img {
        flex: 0 0 40%;
    }

    .participant-card__content {
        gap: 10px;
    }

    .participant-card__position--mobile {
        display: none !important;
    }

    .participant-card:nth-child(1) .participant-card__name, .participant-card:nth-child(2) .participant-card__name, .participant-card:nth-child(3) .participant-card__name {
        font-size: 13px;
    }

    .participant-card:nth-child(1) .participant-card__link, .participant-card:nth-child(2) .participant-card__link, .participant-card:nth-child(3) .participant-card__link {
        margin-bottom: 10px;
    }

    .voting-popup {
        padding: 70px 15px;
    }

    .voting-popup__close {
        top: 30px;
    }

    .voting-popup__description {
        font-size: 13px;
    }

    .voting-popup__input {
        font-size: 13px;
    }

    .voting-popup__input::placeholder {
        font-size: 13px;
    }

    .voting-popup__captcha {
        min-height: 60px;
    }

    .voting-popup__button {
        font-size: 13px;
    }

    .voting-popup__checkbox-item {
        gap: 5px;
    }

    .voting-popup__code {
        display: flex;
        gap: 5px;
        justify-content: center;
        margin-bottom: 10px;
    }

    .voting-popup__code-input {
        width: 35px;
        height: 45px;
        text-align: center;
        font-size: 20px;
        border: 1px solid #E6E6E6;
        border-radius: 5px;
        outline: none;
        transition: 0.3s ease-in-out;
    }

    .voting-popup__code-input:focus {
        border-color: #000;
    }

    .voting-alert {
        top: 15px;
        right: 15px;
        padding: 30px;
        margin-left: 15px;
    }

    .voting-alert__close {
        top: 10px;
        right: 10px;
    }
    
    .voting-alert__close svg {
        width: 17px;
        height: auto;
    }

    .voting-alert__content {
        font-size: 13px;
    }
}

@media (max-width: 450px) {
    .participant-card:nth-child(1), .participant-card:nth-child(2), .participant-card:nth-child(3) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .participant-card:nth-child(1) .participant-card__img, .participant-card:nth-child(2) .participant-card__img, .participant-card:nth-child(3) .participant-card__img {
        width: 220px;
    }

    .participant-card:nth-child(1) .participant-card__content-block, .participant-card:nth-child(2) .participant-card__content-block, .participant-card:nth-child(3) .participant-card__content-block {
        max-width: 250px;
        align-items: center;
        text-align: center;
    }

    .participant-card:nth-child(1) .participant-card__position, .participant-card:nth-child(2) .participant-card__position, .participant-card:nth-child(3) .participant-card__position {
        width: 70px;
        height: 60px;
        display: none;
    }

    .participant-card:nth-child(1) .participant-card__position--mobile, .participant-card:nth-child(2) .participant-card__position--mobile, .participant-card:nth-child(3) .participant-card__position--mobile {
        display: flex !important;
        margin-bottom: 0;
    }

    .participant-card__button {
        display: none;
    }

    .participant-card__button--mobile {
        display: block;
    }

    .voting-popup {
        min-width: auto;
    }
}