.vote-page {
  .vote-title-wrapper {
    display: flex;
    flex-direction: column;

    .vote-text {
      margin-bottom: 60px;
      margin-top: 10px;
    }

    .vote-img {
      svg {
        width: 100%;
      }
    }
  }

  .voting {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;

    .voting-pretitle {
      font-weight: 400;
      font-size: 32px;
      text-transform: uppercase;
      color: #fff;
      line-height: 1.2;
    }

    .voting-breadcrumbs {

      ul {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 12px;

        li, a {
          font-weight: 400;
          font-size: 20px;
          line-height: 1.5;
          letter-spacing: -0.02em;
          background: linear-gradient(90deg, #fdd69d 0%, #edb261 100%);
          background-clip: text;
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
        }

        li:not(:last-child):after {
          content: '/';
          padding: 0 12px 0 12px;
        }
      }
    }
  }

  .vote-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px;
    margin-top: 60px;

    .vote-content-title {
      font-weight: 400;
      font-size: 20px;
      letter-spacing: -0.02em;
      color: #fff;
      line-height: 1.2;

      span {
        background: linear-gradient(90deg, #fdd69d 0%, #edb261 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
    }

    .vote-content-item {
      display: flex;
      flex-direction: column;

      .vote-content-title-wrapper {
        display: flex;
        flex-direction: column;
        gap: 12px;



        .vote-content-text {
          font-weight: 600;
          font-size: 14px;
          color: #edb261;
          line-height: 1.2;
        }
      }

      .vote-content-list {
        display: flex;
        flex-direction: column;
        gap: 16px;

        .vote-content-list-item {
          padding: 14px 16px;
          display: flex;
          backdrop-filter: blur(10px);
          -webkit-backdrop-filter: blur(10px);
          background: rgba(255, 255, 255, 0.07);
          border-radius: 8px;
          height: fit-content;
        }

        .form-control__text {
          font-weight: 500;
          font-size: 15px;
          line-height: 1.2;
          letter-spacing: -0.02em;
          color: #fff;

          span {
            color: inherit;
          }
        }
      }

      .vote-content-btn {
        border-radius: 10px;
        padding: 26px 32px;
        height: 64px;
        background: linear-gradient(90deg, #fdd69d 0%, #edb261 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        font-size: 16px;
        text-align: center;
        color: #080808;
        cursor: pointer;
        border: 0;
        text-transform: uppercase;
        width: 100% !important;
      }
    }

    .vote-content-result-list-title {
      font-weight: 400;
      font-size: 24px;
      letter-spacing: -0.02em;
      color: #fff;
      /*padding-bottom: 16px;*/
      /*border-bottom: 1px solid #32355a;*/
      line-height: 1.2;
      height: 55px;
      overflow: hidden;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;

      span {
        background: linear-gradient(90deg, #fdd69d 0%, #edb261 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
      }
    }

    .vote-content-result-list-item {
      display: grid;
      grid-template-columns: 1fr 1fr;
      justify-content: space-between;
      width: 100%;
      color: #fff;
      padding: 16px 0;
      border-bottom: 1px solid #32355a;
      gap: 10px;
    }

    .vote-content-list-item.checked {
      .vote-content-result-name {
        background: linear-gradient(90deg, #fdd69d 0%, #edb261 100%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        gap: 8px;
      }
    }

    .vote-content-result-name {
      display: flex;
      align-items: center;
      font-weight: 400;
      font-size: 20px;
      line-height: 1.5;
      letter-spacing: -0.02em;

    }

    .vote-content-result-bar {
      flex: 1;
      height: 4px;
      background: #413cab;
      position: relative;
    }

    .vote-content-result-bar span {
      display: block;
      height: 100%;
      background: linear-gradient(90deg, #fdd69d 0%, #edb261 100%);;
    }

    .vote-content-result-percent {
      font-weight: 400;
      font-size: 12px;
      color: #f0b86c;
    }

    .vote-content-list-item .vote-content-result-name::before {
      content: "";
      color: #fdd69d;
      opacity: 0;
      background-repeat: no-repeat;
      background-image: url('data:image/svg+xml,<svg width="14" height="11" viewBox="0 0 14 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 6L5.2 9L13 1" stroke="url(%23paint0_linear_5435_7228)" stroke-width="2" /><defs><linearGradient id="paint0_linear_5435_7228" x1="1" y1="5" x2="13" y2="5" gradientUnits="userSpaceOnUse"><stop stop-color="%23FDD69D" /><stop offset="1" stop-color="%23EDB261" /></linearGradient></defs></svg>');
    }

    .vote-content-list-item.checked .vote-content-result-name::before {
      opacity: 1;
      width: 14px;
      height: 11px;
    }

    .vote-content-item {
      position: relative;
      border-radius: 12px;
      overflow:  hidden;
      width: 100%;
      height: 100%;
      border: 1px solid #fdd69d;

      .vote-content-show-more {
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        justify-content: center;

        svg {
          transition: 0.35s;
        }
      }

      .vote-content-item-wrapper {
        padding: 32px;
        display: flex;
        flex-direction: column;
        gap: 32px;
        height: 100%;

        .totalpoll-form {
          display: flex;
          flex-direction: column;
          gap: 32px;
          height: 100%;
        }
      }

      .vote-content-title-wrapper {
        padding: 32px;
        border-bottom: 1px solid #fdd69d
      }

      .vote-content-handlers {
        display: flex;
        flex-direction: column;
        gap: 32px;
        margin-top: auto;
      }

      .vote-content-bg-img {
        position: absolute;
        z-index: -1;
        width: 100%;
        height: 100%;
        border-radius: 12px;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          border-radius: 12px;
        }
      }

      .vote-content-result-bar-wrapper {
        margin-top: 6px;
      }

      .vote-content-list-results {
        .vote-content-list-item {
          padding: 0;
          background: transparent;
          flex-direction: column;
          backdrop-filter: none;
        }
      }

    }
  }
}

.custom-radio {
  position: absolute;
  z-index: -1;
  opacity: 0;

  &+label {
    display: inline-flex;
    align-items: center;
    user-select: none;
    cursor: pointer;

    &:before {
      content: '';
      display: inline-block;
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      flex-grow: 0;
      border: none;
      border-radius: 50%;
      background-repeat: no-repeat;
      background-position: center center;
      margin-right: 8px;
      background-color: #fff;
    }
  }

  &:checked+label::before {
    border-color: #fdd69d;
    background-color: #fdd69d;
    background-image: url('data:image/svg+xml,<svg width="12" height="10" viewBox="0 0 12 10" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 5.83268L4.5 8.33268L11 1.66602" stroke="%23110E32" stroke-width="2" /></svg>');
  }
}

@media(max-width: 1600px) {
  .vote-page {

    .vote-content {
      gap: 32px;

      .vote-content-result-list-title {
        height: 80px;
        -webkit-line-clamp: 3;
      }
    }
  }
}

@media(max-width: 1200px) {
  .vote-page {
    .vote-title-wrapper {

      .vote-text {
        margin-bottom: 30px;
      }
    }

    .voting {
      margin-top: 40px;

      .voting-pretitle {
        font-size: 24px;
      }

      .voting-breadcrumbs {

        ul {

          li, a {
            font-size: 16px;
          }
        }
      }
    }

    .vote-content {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 60px 30px;
      margin-top: 40px;

      .vote-content-item {

        .vote-content-title-wrapper {

          .vote-content-title {
            font-size: 20px;
          }
        }

        .vote-content-list {

          .form-control__text {
            font-size: 16px;
          }
        }

        .vote-content-btn {
          padding: 12px 18px;
          height: 32px;
        }
      }
    }
  }
}

@media(max-width: 600px) {
  .vote-page {
    .voting-breadcrumbs {
      ul {
        li, a {
          font-size: 16px !important;
          line-height: 1.2 !important;
        }
      }
    }
    .vote-content {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 40px;

      .vote-content-result-list-title {
        height: auto;
        -webkit-line-clamp: 333;
      }
    }
  }
}

.vote-content-title-wrapper-new {
  border-bottom: none !important;
  .vote-content-result-list-title {
    font-family: "Tektur", sans-serif;
    font-weight: 400;
    font-size: 36px;
    text-align: center;
    color: #fff;
  }
}

.vote-content-list-links {
  .vote-content-list-item {
    /*background: #393939 !important;*/
    transition: 0.35s;
    width: fit-content;
    /*border-radius: 0 !important;*/
    line-height: 1.3;

    a {
      font-weight: 400;
      font-size: 20px;
      color: #fff;
      width: 100%;
      line-height: 1.3;
    }
  }

  .vote-content-list-item:has(a):hover {
    background: linear-gradient(169deg, rgba(242, 189, 115, 0.7) 0%, rgba(222, 180, 118, 0.3) 100%) !important;
  }
}

.btn.to-top {
  padding: 0 !important;
}

@media(max-width: 700px) {
  .btn-actions .btn {
    font-size: 14px !important;
  }
}
