html {
  font-size: 16px !important;
}
.manifesto-party-container::-webkit-scrollbar {
  height: 6px;
}
.manifesto-party-container::-webkit-scrollbar-track {
  background: transparent; 
  border-radius: 10px;
}
.manifesto-party-container::-webkit-scrollbar-thumb {
  background: #00386660; 
  border-radius: 10px;
  margin-left: 0.5em;
}
.statement-wrap::-webkit-scrollbar {
  width: 6px;
}
.statement-wrap::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 10px;
}
.summary-text::-webkit-scrollbar {
  width: 6px;
padding-left: 0.5em;
}
.summary-text::-webkit-scrollbar-thumb {
  background: #e0e0e0;
  border-radius: 10px;
}
.manifesto-party-container {
  padding-right: 10px; 
}
.manifesto-party-container::-webkit-scrollbar-thumb:hover {
  background: var(--theme-ui-colors-secondary) !important; 
  width: 6px !important; 
}
.manifesto-section {
  padding-bottom: 10px; 
}
.manifesto-main {
  max-width: 1200px;
margin: auto;
  border-top: 3px solid #e90144;
  }
.indicator {
  font-weight: 700;
    color: var(--theme-ui-colors-main);
font-size: 1.8rem;
}
.indicator-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: var(--theme-ui-colors-main);
  color: white;
  width: 43px;
  height: 43px;
  font-weight: bold;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
.participant-message {
  display: inline-flex;
  gap: 0.5em;
  align-items: center;
  font-weight: 500;
background-color: #fff;
  padding: 0.5em 1em;
  border-radius: 10px;
}
.participant-message p {
  margin: 0;
}
.thumbsup {
  background-color: #fff;
  padding: 0.5em;
  border-radius: 25px;
  border: 1px solid #cecece;
}
.thumbsup img {
  width: 21px;
  height: 20px;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.manifesto-fixed-nav {
  position: sticky;
  z-index: 10;
  top: 3%;
  padding: 0.5em;
}
.manifesto-fixed-nav ul {
  list-style: none;
  padding: 1em;
  display: inline-flex;
  background: #ffffffed;
  border-radius: 10px;
  gap: 0.5em;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.manifesto-fixed-nav ul li {
  padding: 0.5em 1em;
  cursor: pointer;
  border-radius: 50px !important;
  border: 2px solid #ddd;
  background-color: #fff;
  color: #000;
  margin-bottom: 5px;
  text-align: center;
  font-size: 1rem;
}
.manifesto-fixed-nav ul li:hover {
    transition: all 0.3s ease-in-out;
  border: 2px solid var(--theme-ui-colors-main);
}
.manifesto-fixed-nav ul li.active {
  background: var(--theme-ui-colors-main);
  color: white;
  border: 2px solid var(--theme-ui-colors-main);
}
.manifesto-party-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color:#e9edf0;
  width: 100%;
  border-radius: 10px 10px 0 0;
  padding: 0.5em;
  margin-bottom: 10px;
}
.manifesto-party-logo {
  width: 28px;
}
.manifesto-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: flex-start;
}
.party-slide > .manifesto-party-intro {
  padding: 1em; 
}
.party-banner{
  width: 55%;
  height: 340px;
}
.party-slogan {
  color: #000;
  font-weight: 800;
margin-bottom: 0.5em;
  font-size: 1.5rem;
  line-height: 1.3;
  padding: 0.8em 0 0.4em 0;
  position: relative;
}
.slogan-en p{
  text-align: center !important;
  line-height: 1.3 !important;
  font-weight: 400;
  margin-bottom: 0;
  margin-top: 0.2em;
  color: #818181;
  font-size: 0.95rem;
}
.party-slogan::before {
  content: "竞选口号";
  font-size: 0.8rem;
  position: absolute;
  top: 0%;
  font-weight: 400;
  transform: translate(-50%, -50%);
  padding: 0.2em 0.8em;
  border-radius: 50px;
  left: 50%;
  color: #fff;
  background-color: var(--slogan-color, grey);
}
.manifesto-summary {
  background: white;
  padding: 1em 0.5em 0 0.5em; 
align-items: center;
  border-radius: 10px;
  height: 100%;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}
.summary-text {
  overflow-y: auto;
  flex: 1;
  padding: 1em 0.5em;
}
.manifesto-summary::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50px;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #f3f3f3 100%) !important;
  transition: opacity 0.2s ease;
}
.manifesto-party-intro {
  width: 45%;
  margin: 0 1.5em 0 0;
  text-align: center;
  flex: 1 1 auto; 
padding: 1em;
  }
.manifesto-party-intro img {
  width: 40px;
  height: 40px;
  margin-bottom: 0.3em;
}
.manifesto-party-intro h2 {
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 5px;
}
.manifesto-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 0 0 0;
}
.manifesto-section h2 {
  font-weight: bold;
  padding-bottom: 0px;
  margin-bottom: 0px;
}
.manifesto-topic {
  display: block;
  padding: 2em 1em;
  min-width: 300px;
  align-items: center;
  border: 1px solid #e2e2e2;
  background-color: #fdfdfd96 !important;
    border-radius: 10px;
}
.manifesto-topic h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #373737;
}
.manifesto-topic-subheader {
  display: flex;
  align-items: end;
gap: 0.5em;
margin: 0 0 1em;
  border-bottom: 2px dotted #999;
  padding: 0 0 0.2em;
  justify-content: center;
}
.manifesto-party-container {
  display: flex;
  padding: 1em;
  gap: 20px;
}
.manifesto-topic-swiper {
  width: 100%;
  padding: 0 0 0.5em 0.5em;
  width: 100%;
  overflow: hidden;
  cursor: grabbing;
  position: relative;
}
/* dont remove it!!! */
.swiper-slide{
  display: flex!important;
}
.manifesto-topic-swiper .swiper-wrapper {
  display: flex;
  gap: 0.5em;
  padding-left: 1.5em;
}
.manifesto-topic-swiper .party-slide {
  width: auto;
  flex-shrink: 0;
}
.manifesto-topic-swiper .swiper-button-next,
.manifesto-topic-swiper .swiper-button-prev {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  z-index: 10;
  top: 30px;
  position: absolute; 
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
/* dont remove it!!! */
.swiper-button-next.swiper-button-disabled, .swiper-button-prev.swiper-button-disabled {
  opacity: 0!important;
}

.manifesto-topic-swiper .swiper-pagination {
  bottom: -10px;
  text-align: center;
  font-size: 12px;
  color: #000;
}
.manifesto-party {
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto; 
  justify-content: flex-start;
  width: 250px !important;
  margin-right: 0px !important;
  min-width: 250px;
min-height: 450px;
  text-align: left;
  background: white;
  padding: 0em;
  border-radius: 10px;
  border: 1px solid #bdbdbd;
}
.manifesto-party h4 {
  font-size: 1rem;
  font-weight: bold;
  color: #353535;
  margin-bottom: 0;
}
.manifesto-party p {
  font-size: 0.9rem;
  margin-bottom: 0.5em;
  font-weight: 700;
}
.manifesto-party ul {
  list-style: square;
  padding: 0.5em 1em 0em 2em;
  width: 100%;
  text-align: left;
  line-height: 1.5;
}
.manifesto-party ul li {
  padding: 10px 15px;
  border-bottom: 1px solid #e8e8e8;
  display: table;
  width: 100%;
  font-size: 1rem;
  box-sizing: border-box;
}
.manifesto-party ul li::before {
width: 6px;
height: 6px;
margin-right: 0.6em;
display: flex;
position: relative;
top: 15px;
left: -15px;
content: '';
background: var(--theme-ui-colors-main);
}

.manifesto-section-header {
  display: flex;
  justify-content: center;
  align-items: end;
}
.section-icon {
  width: 80px;
  height: 70px;
}
.header-icon {
  width: 50px;
}
.manifesto-party {
  position: relative;
  min-height: 380px;
  max-height: 380px;
  overflow: hidden; 
}
.statement-wrap {
  height: 100%;
  overflow-y: auto;
  padding-right: 10px; 
}
.manifesto-party::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50px;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #e9edf0 100%) !important;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.manifesto-party.show-feather::after {
  opacity: 1;
}

.manifesto-read-more {
  padding: 0.4em 1em 0.3em 1em;
  font-weight: 400 !important;
  margin: 0 2.5em 3em;
  color: #000 !important;
  background: var(--theme-ui-colors-white);
  border-radius: 50px !important;
  border: 1px solid #ccc;
  display: inline-block;
  font-size: 0.9rem !important;
}
.manifesto-read-more:hover {
  border: 1px solid #fff;
transition: all 0.3s ease-in-out;
  color: var(--theme-ui-colors-secondary) !important;
  background: var(--theme-ui-colors-muted);
}
.swiper-button-prev{
  right: 7% !important;
  left: auto !important;
}
@media screen and (min-width:768px)and (max-width:1023px){
  .party-banner {
    width: 100%;
    }
.swiper-button-prev {
  right: 10%!important;
  left: auto!important;
}
.manifesto-topic-swiper .swiper-button-next,
.manifesto-topic-swiper .swiper-button-prev {
  top: 25px;
}
.party-slide {
  height: 60vh !important;
  max-height: 60vh;
}
}
@media screen and (max-width:767px) {
  .manifesto-topic-swiper .swiper-button-next,
.manifesto-topic-swiper .swiper-button-prev {
  top: 25px;
}
  .party-banner {
    width: 100%;
    height: 200px;
  }
  .manifesto-topic-swiper .swiper-wrapper {
    padding-left: 0;
}
  .swiper-button-prev{
    right: 15%!important;
    left: auto!important;
  }
  .party-slide {
    flex-direction: column;
    overflow: hidden;
    height: 85vh !important;
    max-height: 85vh;
  }
}
@media screen and (max-width:768px){
  .manifesto-section {
    padding: 0.5em 0em;
    margin: 1em 0em;
  }
.participant-message {
    font-size: 1rem;
  }
  .section-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 0.5em;
  }
.manifesto-section-header {
  display: block;
}
.manifesto-topic {
  padding: 1em 0;
  }

.manifesto-topic h3 {
font-size: 1.3rem;
  margin-bottom: 0;
  }
  .manifesto-fixed-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.5em 1em;
  }
  .manifesto-fixed-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    box-shadow: none;
  }
  .manifesto-fixed-nav ul li {
    flex: 1 1 calc(30% - 10px);
    white-space: nowrap;
    font-size: 0.85rem!important;
    padding: 0.4em 0.9em!important;
    line-height: 1.8!important;
  }
  .manifesto-fixed-nav {
    position: relative;
  }
.poll-bar {
    padding: 5px 2px !important;
    font-size: 0.8rem !important;
  }
.inside-label{
      padding-right: 2px!important;
  }
  .outside-label{
    font-size: 0.8rem !important;
  }
  .short-bar{
    padding: 0!important;
  }
}
.manifesto-swiper {
  width: 100%; 
  max-width: 1200px;
  margin: 0 auto 2em;
  height: auto;
  padding: 30px 0;
  overflow: hidden;
  display: flex;
  cursor: grab;
  justify-content: center;
}
.party-slide {
  display: flex !important;
  justify-content: right;
    background: white;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 340px;
  max-width: 80%;
    align-items: stretch;
}
.manifesto-swiper-button-prev,
.manifesto-swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.swiper-button-next,.swiper-button-prev{
  box-shadow: none;
}
.arrow, .swiper-button-prev:after, .swiper-button-next:after {
  display: none;
}
.swiper-pagination-current {
  color: var(--theme-ui-colors-main);
  font-weight: 800;
}
.manifesto-swiper-button-prev {
  left: 10px !important;
}
.manifesto-swiper-button-next {
  right: 10px;
}
.swiper-pagination {
  position: absolute;
  bottom: 10px;
}

.manifesto-party-intro h2 {
  font-size: 1.2rem;
  margin-bottom: 0.2em;
}
.manifesto-party-intro p {
  text-align: left;
  line-height: 1.4;
}
@media screen and (min-width: 1024px) {
  .party-slide {
    height: 25vh!important;
  }
}
@media screen and (max-width: 768px) {
.manifesto-topic-subheader {
    justify-content: left;
    text-align: justify;
    align-items: center;
    padding-left: 1em;
  }
  .manifesto-party ul li {
    padding: 10px 0 15px 15px;
  }
  .manifesto-party-intro {
    flex: 1; 
    overflow-y: auto;
}

.swiper-wrapper {
  margin-bottom: 0.5em;
}
.manifesto-party-intro img {
  width: 40px;
  height: 40px;
  margin-bottom: 5px;
}
.party-slide {
    flex-direction: column;
    overflow: hidden;
  }
.manifesto-party {
  min-width: 200px;
  width: 200px;
  min-height: 400px;
  max-height: 400px;
}
.manifesto-party-intro {
  width: auto;
  margin: 0em;
height: 100%;
    overflow-y: auto;
}
.header-icon {
  width: 45px;
}
#mobile-nav-toggle:focus-visible {
  outline: none !important;
}
.mobile-dropup-nav {
  position: fixed;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  z-index: 999;
  pointer-events: none;
  display: none; 
}
.mobile-dropup-nav.visible {
  display: flex;
}
#mobile-nav-toggle {
  width: 100%;
  background: #191919;
  color: #fff;
  border: none;
  padding: 0.5em;
  z-index: 12;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  pointer-events: auto;
}
#mobile-nav-list {
  background: white;
  border-radius: 10px;
  list-style: none;
  margin: 0;
  padding: 0.5em 1em;
  width: 100%;
  z-index: 10;
  max-height: 60vh;
  overflow-y: auto;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  position: absolute;
  bottom: 100%;
  pointer-events: auto;
  display: none;
}
#mobile-nav-list.expanded {
  transform: translateY(0%);
  display: block;
  background-color: #fff;
}
#mobile-nav-list li:nth-child(odd) {
  background-color: #f9f9f9;
} 
#mobile-nav-list li {
  padding: 12px;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-size: 1rem;
  cursor: pointer;
}
#mobile-nav-list li:hover {
  background-color: #f5f5f5;
}
#toggle-icon {
  font-size: 1.3rem;
  margin-left: 1.5em;
  display: inline-block;
  line-height: 1;
}
}
.mobile-dropup-nav {
  display: none;
}
/* :focus-visible {
  outline: 0!important;
} */
button:focus {
  outline: 0 !important;
}
/* poll */
.quiz-wrap {
  display: flex;
  gap: 3em;
  justify-content: center;
}
.quiz-wrap fieldset {
  width: 50%;
}
.quiz-hdline {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0.8em;
}
.quiz-hdline h4{
  margin-bottom: 0;
  line-height: initial;
}
.quiz-hdline-before{
  width: 9px;
  height: 9px;
  margin-right: 0.6em;
  display: flex;
  top: 2px;
  left: 0;
    content: "";
    background: var(--theme-ui-colors-main);
}
.topic-indicator {
  display: inline-flex;
  padding: 0.5em;
  width: 100%;
  gap: 1em;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
}
.indicator-line {
  border: none;
  height: 1px;
  background-color:var(--theme-ui-colors-main);
  margin: 10px 0;
  width: 45%;
}

.poll-bar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.poll-bar {
  height: 20px;
width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
    color: white;
  font-size: 0.9rem;
  margin: 0em 0.2em;
  transition: width 2s ease;
  border-radius: 2px;
  overflow: hidden;
  }

.bar-label {
  font-size: 0.9rem!important;
  font-weight: 500;
  white-space: nowrap;
}

.inside-label {
  padding-right: 5px;
  color: #fff;
}

.outside-label  {
  font-size: 0.9rem!important;
}

.poll-set {
  gap: 0.5em;
  display: grid;
}
.party-bar-chart {
  align-items: center;
padding-top: 0.5em;
  border-top: 1px solid #eaeaea;
}
.poll-avg {
  font-size: 1rem;
  padding: 1em 2em 2em;
  background-color: #fff;
  border-radius: 10px;
}
.poll-avg b {
  color: #000;
  font-size: 1rem;
}
.poll-avg small {
  margin: 0.5em 0 0.1em;
}
.pollOption1Color {
  padding-left: 0.4em;
  background: #0a4fd5;
  color: white;
}
.pollOption2Color {
  padding-right: 0.4em;
  background: #d33f0b;
  color: white;
}
.pollOption3Color {
  padding-left: 0.4em;
  background: #fbb03b;
  color: white;
}
.answer-poll {
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-wrap: wrap;
}
.answer-wrap {
  display: contents;
}
.answer__item.selected {
  border: 2px solid #e90144 !important;
}
.answer__item:hover {
  border: 2px solid var(--theme-ui-colors-main);
}
.answer__item {
  padding: 0.5em 1em;
  cursor: pointer;
  align-items: end;
  gap: 0.2em;
  display: flex;
  border-radius: 50px !important;
  border: 2px solid #ddd;
  background-color: #fff;
  color: #000;
  margin-bottom: 0.1em;
  text-align: center;
  font-size: 0.9rem!important;
}
.answer__reveal-text {
  font-size: 0.9rem;
  padding: 0.5em;
  color: #757575;
}
.poll-results {
  font-size: 0.8rem;
  text-align: right;
  } 
.party-bar-chart .manifesto-party-logo {
  width: 24px;
}
.satisfaction-title-wrap {
    display: flex;
    width: 20%;
    justify-content: end;
}
.satisfaction-bar-chart {
  align-items: center;
  border-top: 1px solid #d5d5d5;
  padding-top: 0.5em;
}
.bar-title-wrap {
  display: flex;
      align-items: center;
      width: 50%;
      gap: 5px;
      text-align: right;
      padding-left: 0.5em;
}

button.disabled {
  /* opacity: 0.6; */
  display: none;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}
@media screen and (max-width: 1023px) {
  .quiz-wrap {
    display: block;
  }
  .quiz-wrap fieldset {
    width: 90%;
    border-radius: 10px;
    padding: 1em;
    background-color: #fff;
    margin: 1em auto;
}
.indicator-icon {
  width: 35px;
  height: 35px;
}
.topic-indicator {
  padding: 0.5em 0;
  gap: 0.5em;
  font-size: 1.5rem;
}
.poll-avg {
  padding: 0.5em 0;
}
.indicator-line {
  width: 40%;
}
.quiz-hdline-before {
  width: 6px;
  height: 6px;
  margin-right: 0.6em;
  display: flex;
  position: absolute;
  top: 18%;
  left: -2%;
}
.indicator {
  font-size: 1.5rem;
}
.quiz-hdline h4 {
  font-size: 1.5rem;
}
.answer__item {
  padding: 0.4em 0.9em;
  line-height: 1.8 !important;
  font-size: 0.85rem !important;
}
.bar-title-wrap {
  width: 48%;
}
}
