.live_pulse {
    animation: live_pulse 0.7s infinite;
    animation-direction: alternate;
    -webkit-animation-name: live_pulse;
    animation-name: live_pulse;
  }

  @-webkit-keyframes live_pulse {
    0% {
      -webkit-transform: scale(1);
    }

    100% {
      -webkit-transform: scale(1.5);
    }
  }

  @keyframes live_pulse {
    0% {
      transform: scale(1);
    }

    100% {
      transform: scale(1.5);
    }
  }

  .toggle-link {
    text-decoration: none;
    color: #00af00;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .arrow {
    transition: transform 0.3s ease;
    width: 1em;
    height: 1em;
    display: inline-block;
  }

  .toggle-link.open .arrow {
    transform: rotate(0deg);
  }

  .toggle-link.closed .arrow {
    transform: rotate(180deg);
  }

  .card_party--list {
    display: flex;
    flex-direction: row;
  }

  .card_party--list-item {
    display: list-item;
    text-align: -webkit-match-parent;
    unicode-bidi: isolate;
    list-style: none !important;
    margin: 0px;
  }

  .card_party--resume {
    width: 130px;
    height: 180px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-content: center;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
  }

  .card_party--details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-content: center;
    flex-wrap: nowrap;
    border-radius: 0px;
  }

  .card_party--logo {
    width: 50px;
    height: 50px;
    background-color: #f7f8f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card_party--name {
    font-size: 14px;
    text-align: center;
  }

  .card_party--percentage {
    font-weight: 700;
    font-size: 1.125rem;
  }

  .card_party--mandates {
    font-size: 1rem;
  }



  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-50px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .election__container-title {
    padding: 50px 0px 30px 0px;
    color: #00af00;
    font-size: 1.4117647059rem;
    line-height: 1.2;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: end;
  }

  .election_container--live {
    width: 150px;
    height: 27px;
    background: #ee3239;
    color: #fff;
    font-weight: 500;
    font-size: 12px;
    line-height: 14px;
    padding: 4px 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  .card_party--resume {
    display: flex;
  }

  .card_party--details .party__progress {
    animation: bar-progress 1.25s ease-out;
    height: 8px;
    height: 1.2rem;
    margin: var(--partyprogress-m, 0.2941176471rem 0 0 0);
    width: var(--progress-value, 0);
  }

  .card_party--details.party__percentage {
    font-size: 1.125rem;
    font-weight: 700;
    margin-left: 0px !important;
  }

  .card_party--details.party__votes {
    font-size: 1rem;
    margin-left: 0px !important;
  }

  .card_party--details.party__votes {
    margin-left: 0px !important;
  }

  .elections_block__footer {
      display: flex;
      justify-content: space-between;
      padding: 10px 0px;
      font-size: 14px;
      flex-wrap: nowrap;
      flex-direction: row;
  }


  @media (max-width: 639px) {

    .elections_block__footer {      
      padding: 5px 0px;
      flex-direction: column;
  }
   


    .card_party--resume {
      width: 140px;
    }

    .election__container-title {
      flex-direction: column;
      align-items: start;
      gap: 10px;
    }

    .horizontal li:nth-child(n + 7) {
      /*display: none;*/
    }

    

    .js-party-list-resume .slick-slide {
      padding: 0 8px;
    }

    .js-party-list-resume .slick-list {
      margin: 0 -8px;
      padding: 0;
    }

    .election__resumebox--item {
      width: 100%;
    }
  }

  .progress-circle {
    transform: rotate(-90deg);
    transition: all 0.3s ease;
  }

  .bg-circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 4;
  }

  .progress-path {
    fill: none;
    stroke: #00af00;
    stroke-width: 4;
    stroke-linecap: round;
    transition: stroke-dasharray 0.6s ease-in-out;
  }

  .election__resumebox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    justify-content: space-between;
  }

  .election__resumebox--item {
    border: 2px solid rgba(0, 150, 0, 0.25);
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    padding: 0px 10px;
    min-height: 80px;
    min-width: 32%;
  }

  .percentage-box {
    position: relative;
    overflow: hidden;
  }

  .fill-background {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #00af00b8;
    transition: width 0.8s ease-in-out;
    z-index: 1;
  }

  .text-content {
    position: relative;
    z-index: 2;
    color: #333;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
  }

  .election__submenu {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin: 10px 0px;
    font-size: 14px;
    cursor: pointer;
  }

  .election__submenu .active {
    padding: 10px;
    border-bottom: 3px solid #00af00;
  }

  .hidden__list {
    display: none;
  }

  /** ------------------------------------------------------------------------------- */

  .candidate-card {
    background: white;
    overflow: hidden;
    width: 130px;
    text-align: center;
    transition: transform 0.2s;
  }

  .candidate-image {
    width: 130px;
    height: 130px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 8px;
    border-radius: 30px;
  }

  .candidate-name {
    background: #fff;
    padding: 5px 8px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .candidate-percentage {
    background: #00af00;
    color: white;
    padding: 12px;
    font-size: 20px;
    font-weight: bold;
  }

  .stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: solid 1px #00af00;
  }

  .stats-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 50px;
  }

  .stats-group {
    display: flex;
    gap: 60px;
    align-items: center;
  }

  .stat-item {
    text-align: center;
  }

  .stat-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
  }

  .stat-number {
    font-size: 15px;
    color: #666;
  }

  .stat-percentage {
    font-size: 15px;
    color: #666;
  }

  .detail-button {
    padding: 5px 10px;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 100px;
    position: relative;
    overflow: hidden;
  }

  .detail-button:after {
    content: "";
    background: #02af00;
    width: 100%;
    height: 161px;
    right: -110px;
    position: absolute;
    top: 0;
    transform: skew(27deg, 304deg);
    z-index: 1
  }


  .button-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #fff;
  }

  .button-text {
    position: relative;
    z-index: 2;
  }

  .button-icon {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
  }

  @media (max-width: 768px) {
    .stats-bar {
      flex-direction: column;
      gap: 20px;
      padding: 10px;
    }

    .stats-group {
      gap: 5px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .stat-item {
      min-width: 100px;
    }
  }

.slick-prev ,
.slick-next  {    background: transparent;
  border: none;
}

.slick-prev svg,
.slick-next svg {
  fill: none;
  stroke: #00af00;
  stroke-width: 3;
}

@media (max-width: 768px) {
  .slick-prev ,
  .slick-next  { 
    width: 80%;
  }
}
