/* Danışman profil sayfası (/u/{slug}) — MOBİL ÖNCELİKLİ tasarım */
.dan-sayfa { background: #f5f6f8; padding-bottom: 50px; min-height: 70vh; }

/* ===== Üst koyu bant: foto + kimlik ===== */
.dan-band { position: relative; overflow: hidden; padding: 100px 0 66px;
    background: linear-gradient(150deg, #171c26 0%, #232a3a 55%, #2e3648 100%); }
.dan-band::before { content: ""; position: absolute; right: -70px; top: -90px; width: 300px; height: 300px;
    border-radius: 50%; border: 40px solid rgba(245,195,31,.09); }
.dan-band::after { content: ""; position: absolute; left: -90px; bottom: -140px; width: 260px; height: 260px;
    border-radius: 50%; border: 32px solid rgba(255,255,255,.04); }
.dan-band-ic { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center;
    text-align: center; gap: 14px; }
.dan-foto img { width: 128px; height: 152px; object-fit: cover; object-position: top center;
    border-radius: 16px; background: #fff; display: block; border: 3px solid #f5c31f;
    box-shadow: 0 12px 30px rgba(0,0,0,.35); }
.dan-foto img.dan-foto-logo { object-fit: contain; padding: 16px; }
.dan-kimlik h1 { color: #fff; font-size: 24px; font-weight: 800; margin: 0 0 4px; line-height: 1.25; }
.dan-rol { color: #f5c31f; font-size: 13.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.dan-rozetler { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.dan-rozet { display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 18px;
    font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.88);
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.dan-rozet i { font-size: 11px; opacity: .8; }
.dan-rozet-sari { background: rgba(245,195,31,.16); border-color: rgba(245,195,31,.45); color: #f5c31f; }
.dan-rozet-sari i { opacity: 1; }

/* ===== Banda binen iletişim barı ===== */
.dan-iletisim-bar { position: relative; z-index: 2; display: flex; gap: 10px; margin-top: -30px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 12px;
    box-shadow: 0 12px 32px rgba(23,28,38,.14); }
/* Aşağı inince JS bar'ı body'ye taşıyıp bu sınıfı verir (GSAP transform fixed'i bozduğundan) */
.dan-iletisim-bar.sabit { position: fixed; margin: 0; z-index: 1030;
    box-shadow: 0 14px 34px rgba(23,28,38,.22); }
.dan-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; min-width: 0; padding: 0 10px; border-radius: 12px; text-decoration: none;
    font-size: 14px; font-weight: 700; border: 1px solid #e5e7eb; transition: all .15s ease; white-space: nowrap; }
.dan-btn i { font-size: 16px; }
.dan-btn-ara { background: #1f2430; color: #fff !important; border-color: #1f2430; }
.dan-btn-ara:hover { background: #f5c31f; color: #1f2430 !important; border-color: #f5c31f; }
.dan-btn-wa { background: #25d366; color: #fff !important; border-color: #25d366; }
.dan-btn-wa:hover { filter: brightness(.93); color: #fff !important; }
.dan-btn-mail { background: #fff; color: #374151 !important; }
.dan-btn-mail:hover { background: #f3f4f6; color: #1f2430 !important; }

/* ===== Sekmeler ===== */
.dan-tabbar { display: flex; gap: 6px; margin-top: 14px; background: #fff; border: 1px solid #e5e7eb;
    border-radius: 14px; padding: 6px; }
.dan-tab { flex: 1; display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    height: 44px; min-width: 0; border: 0; border-radius: 10px; background: transparent; color: #6b7280;
    font-weight: 700; font-size: 13px; cursor: pointer; transition: all .15s ease; white-space: nowrap; }
.dan-tab i { font-size: 12px; }
.dan-tab .dan-adet { background: #e5e7eb; color: #374151; }
.dan-tab.aktif { background: #1f2430; color: #fff; }
.dan-tab.aktif .dan-adet { background: #f5c31f; color: #1f2430; }
.dan-tab-icerik { display: none; }
.dan-tab-icerik.aktif { display: block; }

/* Kart animasyonu: görünüme girince sırayla süzülür, hover'da hafif kalkar */
.dan-ilan-item .ilan-kart { opacity: 0; transform: translateY(22px);
    transition: opacity .5s ease var(--gecikme, 0ms), transform .5s ease var(--gecikme, 0ms), box-shadow .2s ease; }
.dan-ilan-item.gorunur .ilan-kart { opacity: 1; transform: none; }
.dan-ilan-item.gorunur .ilan-kart:hover { transform: translateY(-4px); transition-delay: 0ms; }
@media (prefers-reduced-motion: reduce) {
    .dan-ilan-item .ilan-kart { opacity: 1; transform: none; transition: none; }
}

/* Sayfalama (8'erli) */
.dan-sayfalama { display: flex; gap: 6px; justify-content: center; margin-top: 18px; flex-wrap: wrap; }
.dan-sayfalama:empty { display: none; }
.dan-sayfalama button { min-width: 38px; height: 38px; border: 1px solid #e5e7eb; border-radius: 10px;
    background: #fff; color: #374151; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: all .15s ease; }
.dan-sayfalama button:hover { border-color: #f5c31f; }
.dan-sayfalama button.aktif { background: #1f2430; color: #fff; border-color: #1f2430; }

/* ===== İçerik kartları ===== */
.dan-bolum { margin-top: 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 18px; }
.dan-bolum h2, .dan-ilan-baslik h2 { font-size: 17px; font-weight: 800; color: #1f2430; margin: 0 0 14px;
    display: flex; align-items: center; gap: 10px; }
.dan-bolum h2::before, .dan-ilan-baslik h2::before { content: ""; width: 5px; height: 20px; border-radius: 4px; background: #f5c31f; }
/* İlanlar kutu içine alınmaz; ayraç çizgili başlık, kartlarla arasında nefes payı */
.dan-ilan-baslik { margin: 26px 2px 18px; padding-bottom: 12px; border-bottom: 1px solid #e5e7eb;
    display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.dan-ilan-baslik h2 { margin-bottom: 0; }
.dan-sirala { border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; color: #374151;
    font-size: 13px; font-weight: 600; height: 38px; padding: 0 12px; cursor: pointer; outline: none; }
.dan-sirala:hover, .dan-sirala:focus { border-color: #f5c31f; }
#danIlanListe { margin-bottom: 10px; }
.dan-adet { background: #1f2430; color: #fff; border-radius: 14px; min-width: 26px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center; font-size: 12px; padding: 0 8px; }
.dan-hakkinda { color: #4b5563; font-size: 14px; line-height: 1.85; margin: 0; white-space: pre-line; }

/* Uzmanlıklar */
.dan-uzmanlik { display: flex; gap: 13px; border: 1px solid #eef0f4; border-radius: 14px; padding: 14px;
    height: 100%; background: #fafbfc; }
.dan-uzmanlik-no { flex: 0 0 34px; height: 34px; border-radius: 11px; background: #fdf3d0; color: #8a6d00;
    font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.dan-uzmanlik h5 { font-size: 14px; font-weight: 700; color: #1f2430; margin: 4px 0 5px; }
.dan-uzmanlik p { font-size: 12.5px; color: #6b7280; line-height: 1.6; margin: 0; }

/* ===== Masaüstü ===== */
@media (min-width: 768px) {
    .dan-band { padding: 128px 0 78px; }
    .dan-band-ic { flex-direction: row; text-align: left; gap: 28px; align-items: center; }
    .dan-foto img { width: 158px; height: 188px; }
    .dan-kimlik h1 { font-size: 32px; }
    .dan-rol { font-size: 14.5px; }
    .dan-rozetler { justify-content: flex-start; }
    .dan-iletisim-bar { padding: 14px; gap: 12px; }
    .dan-btn { flex: 0 1 auto; padding: 0 26px; }
    .dan-bolum { padding: 24px 26px; margin-top: 20px; }
    .dan-bolum h2 { font-size: 18px; }
    .dan-hakkinda { font-size: 14.5px; }
}
