/* EnFavori Seçim — ortak kurumsal tasarım dili
   Amaç: sade, net, statik, erişilebilir. Hareket/parıltı/zıplama yok. */

:root{
  --corp-navy:#142844;
  --corp-navy-2:#0e2038;
  --corp-teal:#129f98;
  --corp-text:#22384f;
  --corp-muted:#6f8092;
  --corp-line:#dce5ed;
  --corp-soft:#f5f7fa;
  --corp-white:#fff;
  --corp-green:#168a67;
  --corp-red:#b9505b;
}

/* 1) Tüm sitede hareketli / parlayan / zıplayan efektleri kaldır */
html{scroll-behavior:auto!important}
body *,body *::before,body *::after{
  animation:none!important;
  transition:none!important;
}
a:hover,button:hover,.btn:hover,.card:hover,.candidate-card:hover,.ed-candidate:hover{
  transform:none!important;
}

/* 2) Ortak yüzey dili: düz beyaz yüzey + ince sınır */
.card,.panel,.auth-card,.candidate-profile-card,.candidate-info-panel,
.election-detail-page .ed-card,
.election-detail-page .ed-section,
.election-detail-page .ed-group,
.election-detail-page .ed-candidate{
  box-shadow:none!important;
  border-color:var(--corp-line)!important;
}

/* 3) Başlık ve metin hiyerarşisi */
h1,h2,h3,.card-title,.candidate-name,.ed-group-name,.ed-name{
  color:var(--corp-navy)!important;
}
.muted,.meta,.ed-section-head p,.ed-hero-desc{
  color:var(--corp-muted)!important;
}

/* 4) Butonlar: statik ve net */
.btn,.vote-btn,.ed-vote-btn,.icon-btn,.menu-btn{
  box-shadow:none!important;
  filter:none!important;
}
.btn:focus-visible,.vote-btn:focus-visible,.ed-vote-btn:focus-visible,
a:focus-visible,button:focus-visible{
  outline:2px solid var(--corp-teal)!important;
  outline-offset:2px!important;
  box-shadow:none!important;
}

/* 5) Seçim üst kimlik etiketleri: renk bilgi için var, dekor için değil */
.election-detail-page .ed-hero-meta{gap:9px 10px!important}
.election-detail-page .ed-hero-meta .ed-meta-chip{
  min-height:40px!important;
  padding:8px 13px!important;
  border-radius:10px!important;
  font-size:12px!important;
  font-weight:850!important;
  box-shadow:none!important;
  transform:none!important;
}
.election-detail-page .ed-hero-meta a.ed-meta-chip:hover{
  transform:none!important;
  box-shadow:none!important;
}

/* Kurum */
.election-detail-page .ed-hero-meta .ed-meta-chip:nth-child(1){
  color:#fff!important;
  background:#2d73c8!important;
  border-color:#2d73c8!important;
}
.election-detail-page .ed-hero-meta .ed-meta-chip:nth-child(1) svg{stroke:#fff!important}
/* Seçim türü */
.election-detail-page .ed-hero-meta .ed-meta-chip:nth-child(2){
  color:#17694f!important;
  background:#e8f5ef!important;
  border-color:#c7e7d8!important;
}
/* Şehir */
.election-detail-page .ed-hero-meta .ed-meta-chip:nth-child(3){
  color:#9b3c4b!important;
  background:#fbeff1!important;
  border-color:#efced5!important;
}
.election-detail-page .ed-hero-meta .ed-meta-chip:nth-child(3) svg{stroke:#9b3c4b!important}
/* Yıl */
.election-detail-page .ed-hero-meta .ed-meta-chip:nth-child(4){
  color:#916b13!important;
  background:#fff7df!important;
  border-color:#eadca8!important;
}

/* 6) Bilgilendirme kutusu: sade ve kurumsal */
.election-detail-page .ed-notice{
  background:#f5f8fc!important;
  border:1px solid #d7e2ee!important;
  color:#35526e!important;
  box-shadow:none!important;
}
.election-detail-page .ed-notice::before{background:#2d73c8!important}
.election-detail-page .ed-notice-icon{
  background:#2d73c8!important;
  color:#fff!important;
  box-shadow:none!important;
}

/* 7) Aday listeleri: emoji yok, aynı hizada sade durum noktaları */
.election-detail-page .ed-group-stats{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:10px 18px!important;
  margin-top:14px!important;
  color:#66788c!important;
  font-size:12px!important;
  font-weight:750!important;
}
.election-detail-page .ed-group-stats span{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  white-space:nowrap!important;
  line-height:1.25!important;
}
.election-detail-page .ed-group-stats span::before{
  content:""!important;
  display:block!important;
  width:8px!important;
  height:8px!important;
  flex:0 0 8px!important;
  border-radius:50%!important;
  background-image:none!important;
  box-shadow:none!important;
  font-size:0!important;
}
.election-detail-page .ed-group-stats span:nth-child(1)::before{background:var(--corp-green)!important}
.election-detail-page .ed-group-stats span:nth-child(2)::before{background:var(--corp-red)!important}
.election-detail-page .ed-group-stats span:nth-child(3)::before{background:#71859a!important}
.election-detail-page .ed-group-stats span::after{content:none!important;display:none!important}
.election-detail-page .ed-group{
  padding:17px 18px 16px 20px!important;
  border-radius:13px!important;
  background:#fff!important;
  box-shadow:none!important;
}
.election-detail-page .ed-group:before{width:4px!important}
.election-detail-page .ed-group-name{font-size:15px!important}

/* Aday yoksa gereksiz büyük blok görünmesin */
.election-detail-page .ed-section:has(.ed-candidates > .ed-empty){display:none!important}

/* 8) Seçim hakkında: kart içinde kart yok */
.election-detail-page .ed-about{margin-top:16px;padding:22px!important;box-shadow:none!important}
.election-detail-page .ed-about .article-content{
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  padding:0!important;
  color:#435970!important;
}
.election-detail-page .ed-about .article-content>div,
.election-detail-page .ed-about .article-content section,
.election-detail-page .ed-about .article-content article{
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
  padding-left:0!important;
  padding-right:0!important;
}

/* 9) Footer: tamamen statik, gölgesiz, aynı ikon dili */
.site-footer,.site-footer *{
  text-shadow:none!important;
  filter:none!important;
}
.site-footer .footer-logo,
.site-footer .footer-brand-link,
.site-footer .footer-socials,
.site-footer .footer-social-btn,
.site-footer .footer-share-btn,
.site-footer .footer-menu-row,
.site-footer .footer-row-icon{
  box-shadow:none!important;
  filter:none!important;
}
.site-footer .footer-social-btn,
.site-footer .footer-share-btn,
.site-footer .footer-menu-row{
  transform:none!important;
}
.site-footer .footer-social-btn:hover,
.site-footer .footer-share-btn:hover,
.site-footer .footer-social-btn:active,
.site-footer .footer-share-btn:active,
.site-footer .footer-social-btn:focus,
.site-footer .footer-share-btn:focus{
  transform:none!important;
  box-shadow:none!important;
  filter:none!important;
}
.site-footer .footer-social-btn::before,
.site-footer .footer-social-btn::after,
.site-footer .footer-share-btn::before,
.site-footer .footer-share-btn::after{
  content:none!important;
  display:none!important;
}
.site-footer .footer-row-icon{
  background:transparent!important;
  border-color:rgba(255,255,255,.16)!important;
  color:#52c7c0!important;
}
.site-footer .footer-row-arrow{color:#8ea3b7!important}

/* 10) Renk disiplini: yalnızca ana marka + semantik durum renkleri */
.pill,.eyebrow{
  box-shadow:none!important;
}

/* 11) Alt boşlukları sıkılaştır */
.election-detail-page .ed-body{padding-bottom:22px!important}
.election-detail-page .ed-aside{gap:12px!important}

/* 12) Aynı sayfadaki tekrarlanan ikinci bilgilendirmeyi kaldır */
.election-detail-page .ed-side-note{display:none!important}

/* 13) EnFavori modeli: yalnızca pozitif kullanıcı tercihi */
.election-detail-page .ed-actions form:has(.ed-vote-btn.oppose),
.election-detail-page .ed-vote-stat:has(.ed-vote-dot.oppose){display:none!important}
.election-detail-page .ed-vote-btn.oppose{display:none!important}
.election-detail-page .ed-actions{grid-template-columns:1fr!important}
.election-detail-page .ed-vote-btn.support{font-size:0!important}
.election-detail-page .ed-vote-btn.support::after{content:"Tercihim";font-size:12px;font-weight:850}
.election-detail-page .ed-group-stats span:nth-child(2),
.election-detail-page .ed-group-stats span:nth-child(3){display:none!important}

@media(max-width:700px){
  .election-detail-page .ed-group-stats{gap:9px 14px!important;font-size:11px!important}
  .election-detail-page .ed-group-stats span::before{width:7px!important;height:7px!important;flex-basis:7px!important}
  .election-detail-page .ed-about{padding:18px 16px!important}
  .election-detail-page .ed-body{padding-bottom:16px!important}
  .election-detail-page .ed-vote-btn.support::after{font-size:11px}
}