﻿@charset "UTF-8";
@import url("common.css");

/* 상단 전국 투표율 */
.sec-turnout { border: none; margin-top: 1em; }
.sec-turnout .turnout-wrp { display: flex; align-items: center; padding: 8px 16px; background: #F1F3F5; overflow: hidden; border-radius: 12px; }
.turnout-wrp .vote-rate { position: relative; text-align: left; margin-right: 1.5em; }
.turnout-wrp .vote-rate::after { content: ""; position: absolute; display: inline-block; width: 1px; height: 36px; background: #ADB5BD; right: -0.75em; top: 50%; transform: translateY(-50%); }
.turnout-wrp .vote-rate .tit { font-size: var(--fs-02); font-family: 'mbcnew-medium'; line-height: 1.43; white-space: nowrap; }
.turnout-wrp .vote-rate .time { font-size: var(--fs-sm); line-height: 1.5; white-space: nowrap; }
.turnout-wrp .result { flex: 1; display: flex; align-items: flex-end; background: linear-gradient(180deg, #12275B 0%, #3157A8 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-fill-color: transparent; }
.turnout-wrp .result .f-bold { font-size: 36px; font-family: 'mbcnew-bold'; line-height: 1.25em; }
.turnout-wrp .result .f-light { font-size: 20px; font-family: 'mbcnew-light'; line-height: 1.8; }
.turnout-wrp .status { display: flex; justify-content: center; align-items: center; font-family: 'mbcnew-medium'; font-size: var(--fs-02); line-height: 1.43; padding: 12px 0; background: #fff; border-radius: 8px; white-space: nowrap; border: 1px solid #DEE2E6; width: 74px; }

@media (max-width: 340px) {
    .turnout-wrp .status { width: 24%; }
}

/* 여론 M */
.sec-pollm { padding: 1.5625em 0 1.875em; }
.sec-pollm .wide { margin-top: 20px; }
.sec-pollm .wide .pollm-tit { margin-bottom: 16px; font-family: 'mbcnew-bold'; font-size: var(--fs-04); line-height: 1.3333; text-align: center; }
.sec-pollm .wide .pollm-wrap { width: 100%; }
.sec-pollm .wide .pollm-wrap .pollm-bx { background-color: #fff; border-radius: 10px; overflow: hidden; }
.sec-pollm .wide .pollm-wrap .txt h3 { margin-top: 16px; font-family: 'mbcnew-light'; color: #fff; font-size: var(--fs-05); line-height: 1.3; }
.sec-pollm .wide .pollm-wrap .txt p { font-size: 10px; color: #fff; }
.sec-pollm .wide #party-main-graph { width: 100%; min-height: 280px; background-color: #fff; border-radius: 8px; }
.sec-pollm .highcharts-tooltip .highcharts-label span { padding: 4px; }
.sec-pollm .hth { padding: 4px 8px; min-width: 60px; text-align: center; font-weight: bold; border-radius: 4px; transform: translate(0px, 4px); }
.sec-pollm .ht { position: relative; display: flex; justify-content: center; align-items: center; padding: 4px 8px; font-weight: bold; text-align: center; font-size: 13px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid red; }
.sec-pollm .highcharts-tooltip .highcharts-label span { padding: 4px; }
.sec-pollm .tooltip-container-party { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; align-content: end; }
.sec-pollm .tooltip-container-party .ht { margin: 4px; border-radius: 4px; background-color: rgba(255, 255, 255, 0.4)}
.sec-pollm .tooltip-container-party .hth { width: 100%; padding: 0; margin: 0 8px 5px 0; transform: none; font-family: 'mbcnew-bold'; color: rgba(82, 22, 250, 0.8); font-size: 16px; background-color: transparent; }
.sec-pollm .tooltip-img { width: 20px !important; height: 20px !important; }
@media screen and (max-width: 768px) {
    .sec-pollm .tooltip-container-party .ht { padding: 4px 4px; margin: 2px; font-size: 12px; letter-spacing: -.05em; }
    .sec-pollm .tooltip-img { width: 14px !important; height: 14px !important; }
}

.sec-pollm .pollm-tabs { width: 100%; margin-top: 20px; }
.sec-pollm .pollm-tabs .tab-list { width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: clamp(8px, calc(6px + 0.5556vw), 10px) clamp(8px, calc(6px + 0.5556vw), 10px); }
.sec-pollm .pollm-tabs .tab-list li { display: inline-block; }
.sec-pollm .tab-btn { display: inline-block;padding: clamp(3px, calc(2px + 0.2778vw), 4px) 10px; background: #12275B; border-radius: 6px; font-size: var(--fs-01); line-height: 1.54; font-family: 'mbcnew-medium'; color: #fff; }
.sec-pollm .tab-btn[aria-selected="false"] { color: #495057; background: #F8F9FA; }
.pollm-tabs .tab-btn.dim[aria-selected="false"] { color: #ADB5BD; cursor: no-drop; }

.pollm-wrap { min-height: 438px; }

.region-panel { display: none; }
.region-panel.is-active { display: block; }
.region-panel .under-con { display: none !important; }
.tooltip-container-rg { display: flex; justify-content: center; align-items: center; flex-wrap: wrap;  align-content: end; }
.tooltip-container-rg .ht { margin: 4px; border-radius: 4px; background-color: rgba(255, 255, 255, 0.4); }
.tooltip-container-rg .hth { transform: none; padding: 0; color: rgba(82, 22, 250, 0.8); background-color: transparent; margin-right: 8px; }

/* 최신 선거뉴스 */
.sec-news { padding: 1.25em 0 1.875em; }
.sec-news .wide { margin-top: 12px; }
.sec-news .news-latest-text li { display: block; width: 100%; border-bottom: 1px solid #DEE2E6; }
.sec-news .news-latest-text li a { display: block; width: 100%; padding: calc(8 / 14 * 1em) 0; font-size: var(--fs-02); line-height: 1.4286; }
.sec-news .news-latest-thumb { display: block; width: 100%; font-size: var(--fs-02); }
.sec-news .news-latest-thumb li { display: block; margin-top: calc(16 / 14 * 1em); }
.sec-news .news-latest-thumb li a { display: flex; align-items: center; gap: calc(16 / 14 * 1em); }
.sec-news .news-latest-thumb .thumb { display: block; flex: 0 1 auto; width: clamp(122px, 30vw, 180px); max-width: 180px; aspect-ratio: 122 / 69; border-radius: 8px; overflow: hidden; }
.sec-news .news-latest-thumb .txt-wrp { flex: 1; min-width: 0; }
.sec-news .news-latest-thumb .txt-wrp .tit { display: block; font-size: var(--fs-02); line-height: 1.4286; margin-bottom: calc(11 / 14 * 1em); }
.sec-news .news-latest-thumb .txt-wrp time { display: block; font-size: var(--fs-sm); color: #646D76; line-height: 1.4286; }

/* 선거 뉴스 영상 */
.sec-video { padding: 20px 0 30px; }
.sec-video .wide { margin-top: 20px; }
.sec-video .news-wrp { display: flex; flex-wrap: wrap; gap: 1.25em 12px; }
.sec-video .news-wrp li { width: calc(50% - 6px); }
.sec-video .news-wrp li .thumb { overflow: hidden; margin-bottom: 8px; width: 100%; aspect-ratio: 1/0.563; border-radius: 10px; }
.sec-video .news-wrp li .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sec-video .news-wrp li .tit { font-family: 'mbcnew-light'; font-size: var(--fs-02); line-height: 1.4286; }

/* 선거 정보 */
.sec-info { padding: 1.25em 0 3.125em; }
.sec-info h3 { margin: 1.1111em 0; font-size: var(--fs-04); text-align: center; font-family: 'mbcnew-light'; line-height: 1.5556; }
.sec-info h3 span { font-family: 'mbcnew-bold'; }
.sec-info .list { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 18px 12px; }
.sec-info .list li { padding: 12px 0 18px; width: calc(50% - 6px); border-radius: 12px; border: 1px solid #DEE2E6; text-align: center; }
.sec-info .list li .icon-wrp { display: inline-block; width: clamp(50px, calc(40px + 2.7778vw), 60px); height: clamp(50px, calc(40px + 2.7778vw), 60px); }
.sec-info .list li img { display: block; width: 100%; height: 100%; object-fit: contain; }
.sec-info .list li h4 { margin: 0.5em 0 0.25em; font-family: 'mbcnew-bold'; font-size: var(--fs-03); line-height: 1.5; }
.sec-info .list li p { font-family: 'mbcnew-light'; vertical-align: middle; color: #646D76; font-size: var(--fs-01); line-height: 1.5385; }

.info-column { position: relative; background: #F8F9FA; padding: 1.25em 1em 1.875em; margin: 1.875em -1em; }
.info-column::before { content: ""; position: absolute; width: 100vw; background: #F8F9FA; left: 50%; top: 0; bottom: 0; transform: translateX(-50%); z-index: 1; }
.info-column .info-list { position: relative; display: flex; flex-direction: column; z-index: 2; word-break: keep-all; }
.info-column .info-list .item { position: relative; font-size: var(--fs-02); line-height: 1.43; color: #646D76; padding-left: 12px; }
.info-column .info-list .item::before { content: ""; position: absolute; display: inline-block; width: 4px; height: 4px; background: #646D76; left: 0; top: .55em; }
.info-column .info-list .item + .item { margin-top: 8px; }
.info-column .info-list .item dt { font-family: 'mbcnew-medium'; white-space: nowrap; }
.info-column .info-list .item dd { font-family: 'mbcnew-light'; margin-top: 4px; }
.info-column .info-list .info-link { display: inline; font-family: 'mbcnew-medium'; text-decoration: underline; }

/* 셀렉트 드롭다운 목록 스크롤바 (Chrome·iOS 다크모드) */
.select-wrp .city-list, .select-wrp .year-list, .select-wrp .csel-l, .select-option .city-list, .win-select-wrp .kind-list, .sec-filter .csel-l { color-scheme: light dark;  overflow-y: auto !important; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.select-wrp .city-list::-webkit-scrollbar, .select-wrp .year-list::-webkit-scrollbar, .select-wrp .csel-l::-webkit-scrollbar, .select-option .city-list::-webkit-scrollbar, .win-select-wrp .kind-list::-webkit-scrollbar, .sec-filter .csel-l::-webkit-scrollbar { width: 6px; display: block !important; color-scheme: light dark; -webkit-overflow-scrolling: touch; }
.select-wrp .city-list::-webkit-scrollbar-track, .select-wrp .year-list::-webkit-scrollbar-track, .select-wrp .csel-l::-webkit-scrollbar-track, .select-option .city-list::-webkit-scrollbar-track, .win-select-wrp .kind-list::-webkit-scrollbar-track, .sec-filter .csel-l::-webkit-scrollbar-track { background: #E9ECEF; border-radius: 3px; -webkit-box-shadow: inset 0 0 0 1px #E9ECEF; }
.select-wrp .city-list::-webkit-scrollbar-thumb, .select-wrp .year-list::-webkit-scrollbar-thumb, .select-wrp .csel-l::-webkit-scrollbar-thumb, .select-option .city-list::-webkit-scrollbar-thumb, .win-select-wrp .kind-list::-webkit-scrollbar-thumb, .sec-filter .csel-l::-webkit-scrollbar-thumb { background: #868E96; border-radius: 3px; border: 1px solid #E9ECEF; box-shadow:  inset 0 0 0 10px #747d8c, inset 0 0 0 10px rgba(0,0,0,0.2) !important; }
.select-wrp .city-list::-webkit-scrollbar-thumb:hover, .select-wrp .year-list::-webkit-scrollbar-thumb:hover, .select-wrp .csel-l::-webkit-scrollbar-thumb:hover, .select-option .city-list::-webkit-scrollbar-thumb:hover, .win-select-wrp .kind-list::-webkit-scrollbar-thumb:hover, .sec-filter .csel-l::-webkit-scrollbar-thumb:hover { background: #495057; }

/* 커스텀 드롭다운 */
.city-list .city-option,
.csel-l .city-option { display: block; width: 100%; padding: 6px 12px; border: 0; border-radius: 0; background: transparent; color: #495057; font: inherit; font-size: var(--fs-02); line-height: 1.4286; text-align: left; cursor: pointer; }
.city-list .city-option:hover,
.city-list .city-option:focus,
.csel-l .city-option:hover,
.csel-l .city-option:focus { background: #F8F9FA; outline: none; }
.city-list .city-option[aria-selected="true"],
.city-list .city-option.is-selected,
.csel-l .city-option[aria-selected="true"],
.csel-l .city-option.is-selected { background: #EEF2FF; font-family: 'mbcnew-medium', sans-serif; font-weight: normal; }
.city-list li[role="presentation"],
.csel-l li[role="presentation"] { list-style: none; margin: 0; padding: 0; }