/* =========================================================
   Siyasetçiler.com — Siyasetçi profil sayfası
   (style.css'ten sonra yüklenir)
   ========================================================= */
.profile-wrap{max-width:1240px;margin:16px auto 0;padding:0 18px}
.breadcrumb{display:flex;flex-wrap:wrap;gap:6px;align-items:center;font-size:11.5px;color:var(--muted);margin-bottom:12px}
.breadcrumb a:hover{color:var(--red)}
.breadcrumb i{font-size:8px}

/* ---------- Profil başlığı ---------- */
.profile-hero{background:#fff;border:1px solid #eceef1;border-radius:14px;box-shadow:var(--shadow);overflow:hidden}
.cover{position:relative;height:200px;background:
  linear-gradient(180deg,rgba(8,15,29,.15),rgba(8,15,29,.55)),
  url('../assets/profil-kapak.jpg') center/cover,
  linear-gradient(120deg,#8e1c35,#d7193f 40%,#293b59)}
.cover-badge{position:absolute;right:16px;top:16px;display:flex;align-items:center;gap:6px;background:rgba(255,255,255,.92);color:var(--ink);font-size:11px;font-weight:700;padding:6px 10px;border-radius:20px}
.cover-badge i{color:#2587e8}
.profile-head{display:flex;gap:22px;align-items:center;padding:14px 24px 18px;position:relative}
.profile-avatar{width:132px;height:132px;flex-shrink:0;margin-top:-74px;align-self:flex-start;border-radius:50%;border:5px solid #fff;box-shadow:0 4px 18px rgba(24,35,52,.15);display:grid;place-items:center;font-size:42px;font-weight:850;color:#fff;background:linear-gradient(135deg,#e2546a,#8e1c35);position:relative}
.profile-avatar .online{position:absolute;right:10px;bottom:10px;width:18px;height:18px;border-radius:50%;background:#2fb35a;border:3px solid #fff}
.profile-id{flex:1;min-width:0;padding-bottom:4px}
.profile-id h1{font-size:26px;font-weight:850;letter-spacing:-.6px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.profile-id h1 i{color:#2587e8;font-size:20px}
.profile-id .role{font-size:14px;color:#3e4651;font-weight:600;margin-top:2px}
.profile-meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:8px;font-size:12px;color:var(--muted)}
.profile-meta span{display:flex;align-items:center;gap:6px}
.party-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 9px 3px 4px;border-radius:20px;background:var(--soft-red);color:var(--red);font-weight:700}
.party-badge .party-dot{width:16px;height:16px;border-radius:50%}
.profile-actions{display:flex;gap:8px;padding-bottom:6px}
.profile-actions .follow{padding:10px 20px;font-size:12.5px}
.icon-btn{width:40px;height:40px;border-radius:9px;border:1px solid var(--line);background:#fff;display:grid;place-items:center;color:#4a515b;transition:.15s}
.icon-btn:hover{border-color:var(--red);color:var(--red)}

.profile-stats{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line-soft)}
.profile-stats div{padding:14px 10px;text-align:center;border-right:1px solid var(--line-soft)}
.profile-stats div:last-child{border-right:0}
.profile-stats strong{display:block;font-size:19px;font-weight:850}
.profile-stats small{font-size:11.5px;color:var(--muted)}

.profile-tabs{display:flex;gap:4px;padding:0 16px;border-top:1px solid var(--line-soft);overflow-x:auto;scrollbar-width:none}
.profile-tabs::-webkit-scrollbar{display:none}
.profile-tabs button{display:flex;align-items:center;gap:7px;padding:14px 14px 12px;font-size:12.5px;font-weight:700;color:#626a75;border-bottom:2px solid transparent;white-space:nowrap}
.profile-tabs button:hover{color:var(--red)}
.profile-tabs button.active{color:var(--red);border-color:var(--red)}
.profile-tabs .count{font-size:10px;background:#f1f2f5;color:#626a75;border-radius:10px;padding:1px 7px}
.profile-tabs button.active .count{background:var(--soft-red);color:var(--red)}

/* ---------- İçerik düzeni ---------- */
.profile-grid{display:grid;grid-template-columns:310px minmax(0,1fr);gap:16px;align-items:start;margin-top:16px}
.profile-side{display:grid;gap:12px;position:sticky;top:calc(var(--header-h) + 12px)}
.card{background:#fff;border:1px solid #eceef1;border-radius:var(--radius);box-shadow:var(--shadow);padding:16px}
.card h3{font-size:13.5px;font-weight:800;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}
.card h3 a{color:var(--red);font-size:10.5px;font-weight:700}
.bio{font-size:12.5px;color:#3e4651}
.info-list{list-style:none;display:grid;gap:10px;margin-top:14px}
.info-list li{display:flex;gap:10px;font-size:12px;color:#3e4651}
.info-list i{width:16px;text-align:center;color:#9aa1ab;margin-top:2px}
.info-list b{display:block;font-size:10.5px;color:var(--muted);font-weight:600}
.socials{display:flex;gap:8px;flex-wrap:wrap}
.socials a{width:36px;height:36px;border-radius:9px;display:grid;place-items:center;background:#f1f2f5;color:#4a515b;transition:.15s}
.socials a:hover{background:var(--red);color:#fff}

/* Görev geçmişi */
.timeline{list-style:none;position:relative;display:grid;gap:14px;padding-left:20px}
.timeline::before{content:"";position:absolute;left:5px;top:6px;bottom:6px;width:2px;background:var(--line)}
.timeline li{position:relative}
.timeline li::before{content:"";position:absolute;left:-20px;top:4px;width:12px;height:12px;border-radius:50%;background:#fff;border:2px solid #c7ccd3}
.timeline li.current::before{border-color:var(--red);background:var(--red);box-shadow:0 0 0 3px var(--soft-red)}
.timeline strong{display:block;font-size:12px}
.timeline small{display:block;font-size:11px;color:var(--muted)}
.timeline .tag{display:inline-block;margin-top:3px;font-size:9.5px;font-weight:700;color:var(--red);background:var(--soft-red);padding:1px 7px;border-radius:10px}

/* ---------- Sekme panelleri ---------- */
.tab-panel{display:none}
.tab-panel.active{display:block}
.pinned-label{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700;color:var(--muted);margin-bottom:10px}
.pinned-label i{color:var(--red)}

/* Projeler */
.projects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.project{background:#fff;border:1px solid #eceef1;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column}
.project .thumb{height:120px}
.project-body{padding:14px;display:grid;gap:8px;flex:1}
.project-body h4{font-size:13.5px}
.project-body p{font-size:12px;color:#4e5661}
.status{justify-self:start;font-size:10px;font-weight:800;padding:3px 8px;border-radius:10px}
.status.done{background:#ecf8ef;color:#1d6b33}
.status.ongoing{background:#fff6e6;color:#a05a00}
.status.planned{background:#eef3fb;color:#2c5aa0}
.progress{height:6px;border-radius:6px;background:#eef0f3;overflow:hidden}
.progress span{display:block;height:100%;background:var(--red);border-radius:6px}
.progress-row{display:flex;justify-content:space-between;font-size:10.5px;color:var(--muted)}

/* Fotoğraflar */
.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.photo-grid .photo{aspect-ratio:1;border-radius:8px;font-size:11px}

/* Hakkında detay */
.about-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.about-grid .card p{font-size:12.5px;color:#3e4651}
.about-grid .full{grid-column:1/-1}
.kv{display:grid;grid-template-columns:130px 1fr;gap:8px 12px;font-size:12.5px}
.kv dt{color:var(--muted)}
.kv dd{font-weight:600}

/* Basın */
.press{display:flex;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line-soft)}
.press:last-child{border-bottom:0}
.press .thumb{width:96px;height:64px;border-radius:8px;flex-shrink:0}
.press strong{display:block;font-size:13px}
.press small{font-size:11px;color:var(--muted)}
.press:hover strong{color:var(--red)}

/* Benzer siyasetçiler */
.similar .person-row{padding:6px 0}

/* Kopyalandı bildirimi */
.toast{position:fixed;left:50%;bottom:24px;transform:translate(-50%,20px);background:#1f2329;color:#fff;font-size:12.5px;padding:10px 16px;border-radius:9px;opacity:0;visibility:hidden;transition:.25s;z-index:80}
.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .profile-grid{grid-template-columns:minmax(0,1fr)}
  .profile-side{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .profile-wrap{padding:0 10px;margin-top:10px}
  .cover{height:140px}
  .profile-head{flex-direction:column;align-items:center;text-align:center;gap:10px;padding:0 14px 14px}
  .profile-avatar{width:104px;height:104px;font-size:34px;margin-top:-52px;align-self:center}
  .profile-id h1{justify-content:center;font-size:22px}
  .profile-meta{justify-content:center}
  .profile-actions{width:100%;justify-content:center}
  .profile-actions .follow{flex:1;max-width:220px}
  .profile-stats strong{font-size:16px}
  .profile-stats small{font-size:10.5px}
  .profile-tabs{padding:0 6px}
  .profile-tabs button{padding:12px 10px 10px}
  .projects,.about-grid{grid-template-columns:minmax(0,1fr)}
  .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:560px){
  .profile-side{grid-template-columns:minmax(0,1fr)}
  .profile-stats{grid-template-columns:repeat(2,1fr)}
  .profile-stats div:nth-child(2){border-right:0}
  .profile-stats div:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}
  .kv{grid-template-columns:1fr;gap:2px}
  .kv dd{margin-bottom:8px}
  .press .thumb{width:72px;height:54px}
}
