@charset "UTF-8";
/* base */
.txt-purple {
  color: #7352F1;
}

.thumb_img {
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 4px;
}

[class*=thumb] img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: top;
     object-position: top;
}

.elections-section__title {
  position: relative;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.elections-section__title-s {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.article-title {
  display: block;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  overflow: hidden;
  letter-spacing: -0.03em;
  line-height: 1.36;
}

.article-meta__time {
  font-size: 13px;
  color: #707070;
}

/* 콘텐츠 헤더 */
.elections-hd {
  position: relative;
  height: 146px;
  background: linear-gradient(to right, #E3EAFE, #ECF2FE);
  overflow: hidden;
}

.elections-hd::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 147px;
  height: 146px;
  background: url(../img/local-elections/9th/bg-hero.png) no-repeat left top -12px/275px auto;
  z-index: 1;
}

.elections-hd::before {
  content: "";
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  width: auto;
  height: 1px;
  background: #7352f1;
  opacity: 0.08;
  z-index: 2;
}

.elections-hd__inner {
  margin: 0 20px;
}

.elections-hd__title {
  position: relative;
  width: 228px;
  height: 63px;
  margin-top: 30px;
  background: url(../img/local-elections/9th/logo-title.svg) no-repeat 0 0/contain;
  z-index: 2;
}

.elections-meta {
  display: flex;
  align-items: flex-start;
  -moz-column-gap: 15px;
       column-gap: 15px;
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 99;
}

.elections-meta__date {
  position: relative;
  opacity: 0.7;
}

.elections-meta__date > * {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
}

.elections-meta__d-day {
  font-size: 18px;
  font-weight: 700;
}

.elections-meta__date::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 6px;
  bottom: 2px;
  right: -8px;
  width: 1px;
  background-color: #7352F1;
  opacity: 0.4;
}

.elections-hd__nav {
  position: absolute;
  bottom: 0;
  left: 20px;
}

.elections-hd__nav-list {
  display: flex;
  -moz-column-gap: 6px;
       column-gap: 6px;
  font-size: 16px;
  font-weight: 500;
}

.elections-hd__nav-item {
  position: relative;
}

.elections-hd__nav-item.active::after {
  content: "";
  display: block;
  position: absolute;
  width: auto;
  height: 3px;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, #7352F1, #7A97FF);
}

.elections-hd__nav-item.active a {
  font-weight: 600;
  color: #7352F1;
}

.elections-hd__nav-item a {
  display: block;
  height: 47px;
  padding: 0 10px;
  line-height: 47px;
}

/* 메인 탑 기사 */
.elections-hero {
  padding: 0 0 25px;
}

.elections-hero__link .thumb_img {
  width: 100%;
  border-radius: 0;
}

.elections-hero__item--top1 {
  position: relative;
}

.elections-hero__item--top1 .article-list__body {
  position: absolute;
  right: 16px;
  bottom: 15px;
  left: 16px;
  z-index: 1;
}

.elections-hero__item--top1 .article-title {
  font-size: 24px;
  font-weight: 500;
  color: #fff;
}

.local_elections .col-list-img2 ul li .tit_thumb {
  -webkit-line-clamp: 2;
}

/* 지방선거 LIVE */
.elections-live {
  padding: 25px 20px;
}

.txt-option {
  position: absolute;
  top: 10px;
  right: 0;
  font-size: 13px;
  font-weight: 400;
  color: #707070;
  justify-self: end;
}

.elections-live__list {
  margin-left: 6px;
  padding-left: 16px;
  background-image: linear-gradient(to bottom, #D8CBFF 50%, rgba(255, 255, 255, 0) 0%);
  background-position: left;
  background-size: 1px 6px;
  background-repeat: repeat-y;
}

.elections-live__item {
  position: relative;
  padding: 0;
  margin-bottom: 8px;
}

.elections-live__item::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background: #CFCFCF;
  border-radius: 50%;
  z-index: 5;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.elections-live__item:last-child {
  margin-bottom: 0;
}

.elections-live__item.active {
  background: #fff;
  border-color: #7352F1;
  transform: translateX(2px);
  box-shadow: 0 4px 4px rgba(115, 82, 241, 0.05);
  z-index: 10;
}

.elections-live__item.active::before {
  background: #7352F1;
  border: 2px solid #fff;
  transform: translate(-4px, -6px);
  box-shadow: 0 0 0 3px rgba(115, 82, 241, 0.2);
}

.elections-live__item .article-body {
  display: block;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.elections-live__item.active .article-body {
  border-color: #7352F1;
  transform: translateX(6px);
  box-shadow: 0 5px 15px rgba(115, 82, 241, 0.1);
}

.elections-live__item .article-title {
  font-size: 17px;
  font-weight: 500;
}

.elections-live__item .article-meta__time {
  display: block;
  margin-bottom: 5px;
}

/* 슬라이드 */
.elections-slide {
  position: relative;
  padding: 25px 0;
  background: #F9F9F9;
  overflow: hidden;
}

.elections-slide::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  height: auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../img/local-elections/9th/elections-slide-r.png);
}

.elections-slide__inner {
  position: relative;
  margin: 0 20px;
}

.elections-slide .swiper-slide {
  position: relative;
  padding-bottom: 26px;
}

.elections-slide .swiper-slide::after {
  content: attr(data-rank);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background-color: rgba(114, 82, 241, 0.8);
  border-radius: 50%;
  z-index: 10;
}

.elections-slide__thumb {
  aspect-ratio: 16/10;
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.elections-slide__thumb:after {
  border-radius: 4px;
}

.elections-slide .article-title {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  -ms-line-clamp: 2;
  line-clamp: 2;
  position: absolute;
  right: 20px;
  bottom: 14px;
  left: 20px;
  font-size: 20px;
  font-weight: 500;
  color: #fff;
  z-index: 1;
}

.dimmed::before {
  top: 40%;
  height: auto;
  border-radius: 4px;
  z-index: 1;
}

.swiper-pagination-progressbar {
  position: absolute !important;
  top: unset !important;
  bottom: 0 !important;
  right: 45px !important;
  left: 0 !important;
  width: auto !important;
  height: 3px !important;
}

.swiper-pagination-progressbar-fill {
  background-color: #7352F1 !important;
}

.swiper-fraction-custom {
  position: absolute;
  right: 0;
  bottom: -7px;
  width: 28px;
  text-align: right;
  font-size: 14px;
  font-weight: 500;
  color: #404040;
}

.swiper-fraction-custom .current-number {
  font-weight: 700;
  color: #7352F1;
}

/* 지방선거 일정 섹션 */
@keyframes pulse-purple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}
.elections-schedule {
  padding: 25px 0;
  background-color: #fff;
}

.elections-schedule__inner {
  margin: 0 20px;
}

.elections-schedule__list {
  margin-left: 6px;
  padding-left: 20px;
  background-image: linear-gradient(to bottom, #D8CBFF 50%, rgba(255, 255, 255, 0) 0%);
  background-position: left;
  background-size: 1px 6px;
  background-repeat: repeat-y;
}

.elections-schedule__item {
  position: relative;
}

.elections-schedule__item:not(:first-child) {
  margin-top: 20px;
}

.elections-schedule__top {
  position: relative;
  margin-bottom: 10px;
}

.elections-schedule__date {
  font-size: 16px;
  font-weight: 500;
  color: #707070;
  margin-bottom: 15px;
}

.elections-schedule__node {
  position: absolute;
  top: 7px;
  left: -26px;
  width: 13px;
  height: 13px;
  background-color: #cfcfcf;
  border-radius: 50%;
  border: 3px solid #fff;
}

.elections-schedule__card {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  text-align: center;
}

.elections-schedule__icon {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.elections-schedule__icon img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}

.elections-schedule-txt {
  flex-grow: 1;
  text-align: left;
}

.elections-schedule__name {
  display: block;
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 2px;
  letter-spacing: -0.05em;
}

.elections-schedule__info {
  display: block;
  font-size: 15px;
  color: #666;
  letter-spacing: -0.03em;
}

.elections-schedule__item.active .elections-schedule__date {
  color: #7352F1;
  font-weight: 700;
}

.elections-schedule__item.active .elections-schedule__node {
  background-color: #7352F1;
  z-index: 1;
}

.elections-schedule__item.active .elections-schedule__node::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background-color: #7352F1;
  z-index: -1;
  animation: pulse-purple 2s ease-out infinite;
}

.elections-schedule__item.active .elections-schedule__card {
  border-color: #7352F1;
  background-color: #fff;
  box-shadow: 0 10px 15px rgba(115, 82, 241, 0.15);
  z-index: 10;
}

.elections-schedule__item.active .elections-schedule__name {
  font-weight: 700;
  color: #2A186E;
}

/* 키워드로 보는 지방선거 */
.elections-keyword {
  padding: 25px 0;
  background: #f6f3fe;
}

.elections-keyword__inner {
  margin: 0 20px;
}

.elections-keyword__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px 6px;
  border-radius: 8px;
}

.elections-keyword__item {
  perspective: 1000px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.elections-keyword__link {
  display: flex;
  align-items: center;
  position: relative;
  height: 50px;
  padding: 0 18px 0 10px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.elections-keyword__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #7352F1 0%, #5a38e0 100%);
  border-color: #7352F1;
  border-radius: 100px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.elections-keyword__thumb {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-right: 8px;
  border-radius: 50%;
  border: 1px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.elections-keyword__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.elections-keyword__text {
  font-size: 15px;
  font-weight: 500;
  color: #4a5568;
  letter-spacing: -0.06em;
}

.elections-keyword__item.active .elections-keyword__link::before {
  opacity: 1;
}

.elections-keyword__item.active .elections-keyword__link {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(115, 82, 241, 0.3);
}

.elections-keyword__item.active .elections-keyword__text {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.elections-keyword__item.active .elections-keyword__thumb {
  border-color: rgba(255, 255, 255, 0.4);
}

/* 지역별 지방선거 뉴스 */
.elections-news {
  padding: 20px 0;
}

.elections-news__inner {
  margin: 0 20px;
}

/* 검색 안내 메시지 */
.elections-search__info {
  padding: 25px 0;
  text-align: center;
}

.elections-search__info-visual {
  width: 80px;
  margin: 0 auto 20px;
}

.elections-search__info-visual img {
  width: 100%;
}

.elections-search__info-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.elections-search__info-desc {
  font-size: 16px;
  color: #707070;
  letter-spacing: -0.03em;
}

/* 후보자 검색 */
.elections-search {
  padding: 25px 20px;
}

.elections-search__bar {
  margin-bottom: 25px;
  padding: 5px 18px 20px;
  border: 1px solid #E6E6E6;
  border-radius: 4px;
}

.elections-search__form {
  background-color: #fff;
}

.custom-select {
  position: relative;
  height: 55px;
  z-index: 10;
}

.elections-search__button-group {
  display: flex;
  -moz-column-gap: 10px;
       column-gap: 10px;
  margin-top: 20px;
}

.elections-search__selected-label {
  width: 100%;
  height: 100%;
  border: none;
  background: #fff url("../img/local-elections/9th/ico-arrow-b-12.svg") no-repeat right 1px center;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: #707070;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.elections-search__options-list {
  display: none;
  position: absolute;
  top: 59px;
  left: -1px;
  right: -1px;
  max-height: 250px;
  background: #fff;
  border: 1px solid #E6E6E6;
  border-radius: 4px;
  z-index: 100;
  overflow-y: auto;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.custom-select.is-open {
  z-index: 100;
}

.custom-select.is-open > button {
  font-weight: 600;
  color: #7352F1;
}

.custom-select.is-open .elections-search__options-list {
  display: block;
}

.elections-search__option {
  padding: 18px 16px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 15px;
}

.elections-search__option:hover,
.elections-search__option.is-selected {
  background: #F8F7FF;
  color: #111;
  font-weight: 600;
}

.elections-search__btn-submit {
  flex: 1;
  width: 104px;
  height: 50px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  border-radius: 4px;
  background: linear-gradient(135deg, #7352F1 0%, #5a38e0 100%);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.elections-search__btn-reset {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

/* 후보자 검색 결과 */
.elections-result__path {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 25px;
  font-size: 14px;
  letter-spacing: -0.03em;
}

.elections-result__category {
  color: #707070;
  font-weight: 400;
}

.elections-result__separator {
  display: block;
  width: 12px;
  height: 12px;
  background: url(../img/local-elections/9th/ico-arrow-b-12.svg) no-repeat center;
  transform: rotate(-90deg);
}

.elections-result__area {
  color: #111;
  font-weight: 500;
}

.elections-result__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 10px;
}

.elections-candidate-card {
  text-align: center;
}

.elections-candidate-card__thumb {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 8px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f5f5f5;
}

.elections-candidate-card__thumb::after {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  border: 1px solid #000;
  border-radius: 50%;
  opacity: 0.05;
  content: "";
}

.elections-candidate-card__party {
  font-size: 14px;
  font-weight: 500;
}

.elections-candidate-card__name-wrap {
  margin-bottom: 6px;
}

.elections-candidate-card__name {
  font-size: 20px;
  font-weight: 500;
  color: #111;
}

.elections-candidate-card__age {
  font-size: 13px;
  letter-spacing: -0.03em;
  color: #111;
}

.elections-candidate-card__position {
  display: block;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-all;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.46;
  color: #707070;
  word-break: keep-all;
}

/* 정당별 텍스트 컬러 */
.--party-minjoo {
  color: #0081CC;
} /* 더불어민주당 */
.--party-power {
  color: #E61E2B;
} /* 국민의힘 */
.--party-reform {
  color: #FF7210;
} /* 개혁신당 */
.--party-basic {
  color: #00D2C3;
} /* 기본소득당 */
.--party-jokuk {
  color: #06275E;
} /* 조국혁신당 */
.--party-social {
  color: #FFB864;
} /* 사회민주당 */
.--party-none {
  color: #949494;
} /* 무소속 */
.--party-jinbo {
  color: #E61E2B;
} /* 진보당 */
.--party-justice {
  color: #FFCD00;
} /* 정의당 */
.--party-newfuture {
  color: #51BDC5;
} /* 새미래민주당 */
.--party-union {
  color: #EC008B;
} /* 국민연합 */
.--party-liberty {
  color: #E24A49;
} /* 자유통일당 */
/* 지역별 최신 뉴스 */
.elections-article {
  padding: 25px 0 0;
}

.elections-area {
  position: relative;
  background: #fff;
}

.elections-area__inner {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 5px;
}

.elections-area,
.elections-area__inner {
  touch-action: pan-x;
}

.elections-area.is-expanded,
.elections-area.is-expanded .elections-area__inner,
.elections-area.is-expanded .elections-area__list {
  touch-action: auto;
}

.elections-area__list {
  display: flex;
  -moz-column-gap: 8px;
       column-gap: 8px;
  padding-left: 20px;
  overflow-x: auto;
  white-space: nowrap;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -ms-overflow-style: none;
  overscroll-behavior-y: contain;
}

.elections-area__list::-webkit-scrollbar {
  display: none;
}

.elections-area__item a {
  display: block;
  height: 36px;
  padding: 0 20px;
  text-align: center;
  line-height: 36px;
  font-size: 15px;
  border-radius: 4px;
  color: #404040;
  border: 1px solid #E6E6E6;
}

.elections-area__item.active a {
  font-weight: 600;
  color: #7352F1;
  box-shadow: 0 2px 8px rgba(115, 82, 241, 0.15);
  border: 1px solid #7352F1;
}

.elections-area.is-expanded .elections-area__list {
  flex-wrap: wrap;
  gap: 12px 0;
  white-space: normal;
  overflow: visible;
}

.elections-area.is-expanded .elections-area__item {
  width: 25%;
  text-align: center;
}

.elections-area.is-expanded .elections-area__item a {
  padding: 0 10px;
  margin: 0 4px;
}

.fade-overlay {
  position: absolute;
  top: 0;
  width: 20px;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.fade-overlay--left {
  left: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}

.fade-overlay--right {
  right: 62px;
  width: 30px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(255, 255, 255));
}

.elections-area.is-expanded .pagination__btn--down {
  transform: rotate(180deg);
}

.elections-area.is-expanded .fade-overlay {
  display: none;
}

.elections-area__controls {
  display: flex;
  align-items: center;
  margin-top: 2px;
  padding-left: 10px;
  padding-right: 20px;
  background: #fff;
  z-index: 2;
}

.btn-all-view {
  display: flex;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-all-view .pagination__btn {
  width: 32px;
  height: 32px;
  background: url(../img/local-elections/9th/ico-arrow-b-12.svg) no-repeat center;
  border: 1px solid #D6D6D6;
  border-radius: 50%;
}

.elections-area.is-expanded .pagination__btn--down {
  transform: rotate(180deg);
}

/* 많이 본 뉴스 */
.rank-news {
  padding: 25px 0;
}

.rank-news .article_list {
  margin-top: 0;
}

.rank-news .article_list .tabcontent {
  margin-top: -15px;
}

.rank-news .elections-section__title-s,
.elections-article .elections-section__title-s {
  margin: 0 20px 20px;
}