.candidates-block {
  padding: 0 2.1875rem;
}
@media (max-width: 640px) {
  .candidates-block {
	padding: 0;
  }
}
.candidates-wrapper {
  padding: 0.625rem;
  gap: 1.875rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 640px) {
  .candidates-wrapper {
	grid-template-columns: 1fr;
	padding: 0;
  }
}

.candidate {
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: all 1s ease;
}
.candidate.hidden {
  display: none;
}
.candidate-header {
  display: flex;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: 8.625rem;
}
@media (max-width: 768px) {
  .candidate-header {
	height: 6.375rem;
	overflow: visible;
  }
}
.candidate-image {
  width: 9.0625rem;
  transition: all 1s ease;
}
@media (max-width: 768px) {
  .candidate-image {
	width: 6.125rem;
  }
}
.candidate-image img,
.candidate-image img:not(.spravy-rtvs-logo) {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 9.0625rem;
  height: 9.0625rem;
  object-fit: contain;
  object-position: bottom;
  z-index: 1;
  transition: all 1s ease;
}
@media (max-width: 768px) {
  .candidate-image img,
  .candidate-image img:not(.spravy-rtvs-logo) {
	width: 6.125rem;
	height: 6.125rem;
  }
}
.candidate-info {
  flex: 1;
  padding: 1.5rem 0.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  transition: all 1s ease;
}
.candidate-info__wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
@media (max-width: 768px) {
  .candidate-info__wrapper {
	align-items: unset;
  }
}
.candidate-info__wrapper svg path {
  fill: var(--text-color);
}
.candidate-info__wrapper svg.close {
  display: none;
}
.candidate-info--ex-president {
  margin-left: -9.0625rem;
  justify-content: center !important;
  align-items: flex-end;
  margin-bottom: 0.625rem;
}
@media (max-width: 768px) {
  .candidate-info--ex-president {
	margin-left: 0;
  }
}
.candidate-name {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 2.375rem;
  transition: all 1s ease;
}
@media (max-width: 768px) {
  .candidate-name {
	font-size: 0.9375rem;
	line-height: 1.75rem;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .candidate-name {
	line-height: 1.875rem;
  }
}
.candidate-color {
  height: 3.875rem;
  width: 88%;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 0;
}
@media (max-width: 400px) {
  .candidate-color {
	height: 2.875rem;
	width: 85%;
  }
}
@media (min-width: 401px) and (max-width: 640px) {
  .candidate-color {
	width: 90%;
	height: 2.875rem;
  }
}
@media (min-width: 641px) and (max-width: 768px) {
  .candidate-color {
	height: 2.875rem;
	width: 81%;
  }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .candidate-color {
	height: 2.875rem;
	width: 81%;
  }
}
.candidate-party {
  display: none;
}
.candidate-content {
  display: none;
}
.candidate.active {
  grid-row: 1;
  grid-column-start: 1;
  grid-column-end: 3;
}
@media (max-width: 640px) {
  .candidate.active {
	grid-column-start: 1;
	grid-column-end: 2;
  }
}
.candidate.active .candidate-info {
  justify-content: flex-start;
}
.candidate.active .candidate-info__wrapper svg.open {
  display: none;
}
.candidate.active .candidate-info__wrapper svg.close {
  display: block;
}
.candidate.active .candidate-color {
  width: 93%;
}
@media (max-width: 400px) {
  .candidate.active .candidate-color {
	width: 85%;
  }
}
@media (min-width: 401px) and (max-width: 640px) {
  .candidate.active .candidate-color {
	width: 90%;
  }
}
.candidate.active .candidate-color--ex-president {
  height: 1.375rem;
}
.candidate.active .candidate-party {
  display: inline-block;
}
.candidate.active .candidate-content {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  gap: 1.25rem;
  border-bottom: 1px dashed #bdbdbd;
}
.candidate.active .candidate-content__wrapper-description {
  display: flex;
  flex-direction: column;
}
.candidate.active .candidate-content__short-description {
  color: var(--excerpt-color);
  font-size: 1rem;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0.02em;
}
.candidate.active .candidate-content__long-description {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 400;
  line-height: 25px;
  letter-spacing: 0.02em;
}
.candidate.active .candidate-content__long-description ul {
  list-style-type: unset;
  padding-left: 1.5rem;
}
.candidate.active .candidate-content__long-description a {
  color: var(--accent-color);
}
.candidate.active .candidate-content__socials ul {
  display: flex;
  gap: 0.5rem;
}
.candidate.active .candidate-content__socials ul a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-color);
}
.candidate.active .candidate-content__socials ul a path {
  fill: var(--text-color);
}
.candidate.active .candidate-content__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.candidate.active .candidate-content__tag {
  display: flex;
  border: 1px solid var(--text-color);
  padding: 0.25rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 400;
  color: var(--text-color);
}
.candidate.active .candidate-content__tag span {
  color: var(--accent-color);
}
.candidate.active .candidate-content__button {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: var(--accent-color);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 400;
  color: var(--contrast-text-color);
}
.candidate.active .candidate-more {
  display: none;
}
.candidate.active .candidate-more.active {
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem 0 1rem;
}
.candidate.active .candidate-more.active h1, .candidate.active .candidate-more.active h2, .candidate.active .candidate-more.active h3, .candidate.active .candidate-more.active h4, .candidate.active .candidate-more.active h5, .candidate.active .candidate-more.active h6 {
  color: var(--accent-color);
}

/*# sourceMappingURL=candidates.css.map */
