/* 1. CSS Değişkenleri (Variables) */
:root {
    --bg-main: #f8fafc;       /* Sayfa arka planı (Slate 50) */
    --bg-card: #ffffff;       /* Kartların arka planı */
    --text-dark: #0f172a;     /* Başlıklar (Slate 900) */
    --text-muted: #475569;    /* Açıklama metinleri (Slate 600) */
    --primary: #0ea5e9;       /* Medikal Mavi */
    --primary-hover: #0284c7; /* Buton hover rengi */
    --accent: #38bdf8;        /* Açık mavi vurgular */
    --border: #e2e8f0;        /* İnce sınırlar (Slate 200) */
    --success: #22c55e;       /* Yeşil onay rengi */
}

/* 2. Genel Yapı & Sıfırlama */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'BlinkMacSystemFont', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Live Visitor Pill Badge - Sol Alt Köşe Sabit Rozet */
.live-visitor-pill {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    color: #15803d;
    border: 1px solid #bbf7d0;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: -0.2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    user-select: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.live-visitor-pill:hover {
    background: #f0fdf4;
    border-color: #86efac;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(22, 163, 74, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    animation: pulseGreen 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* 3. Kartlar ve Grid Yapısı */
/* Büyük Ekranlarda Her Zaman Sabit 3 Kolon */
.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important; /* Kartları zorla yan yana 3 kolon yap */
    gap: 24px;
    margin-bottom: 40px;
    width: 100%;
}

/* Tablet ve Mobil Ekranlar İçin Esneklik */
@media (max-width: 1024px) {
    .grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Tablette 2 kolon */
    }
}

@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr !important; /* Mobilde tek kolon */
    }
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
    /* İçerideki uzun kelimelerin veya başlıkların kartı yanlamasına şişirmesini önleyen kurallar */
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

/* 4. Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border);
    background-color: var(--bg-card);
    color: var(--text-dark);
}

.btn:hover {
    background-color: #f1f5f9;
}

.btn.primary {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn.primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

/* 5. Hero Alanı */
.hero {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-card {
    background-color: var(--bg-card);
    border-radius: 24px;
    padding: 60px 40px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    border: 1px solid var(--border);
    text-align: center;
}

/* Hero Arama Kutusu Focus Efekti */
.hero-card input[type="text"]:focus {
    outline: none;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

/* 6. Trend Bar & Marquee Animasyonu */
.trend-bar {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: #f1f5f9;
    padding: 14px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
}

.trend-list {
    display: inline-flex;
    gap: 30px;
    animation: marquee 25s linear infinite;
}

.trend-list:hover {
    animation-play-state: paused;
}

.trend-list span {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

.trend-list a {
    color: var(--text-dark);
    transition: color 0.2s;
}

.trend-list a:hover {
    color: var(--primary-hover);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Yardımcı (Utility) Sınıflar */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.pill {
    background-color: #e0f2fe;
    color: var(--primary-hover);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Navbar Tasarımı (Masaüstü Seçenek 1: Tek Satır & Birleşik Sağ Kapsül) */
.navbar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
}

.header-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    padding: 4px 0;
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
}

.site-header-logo {
    height: 100px;
    width: 100px;
    max-height: 100px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.header-logo-link:hover .site-header-logo {
    transform: scale(1.04);
}

.logo-text-fallback {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    text-decoration: none;
    white-space: nowrap;
}

.logo-text-fallback span {
    color: #0284c7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

@media (min-width: 992px) {
    .nav-links li.nav-item a {
        display: inline-flex;
        align-items: center;
        padding: 8px 11px;
        border-radius: 8px;
        white-space: nowrap;
    }

    .nav-links li.nav-item a:hover,
    .nav-links li.nav-item a.nav-link-active {
        background-color: #f0f9ff;
        color: var(--primary);
        font-weight: 700;
    }
}

/* Masaüstü Sağ Birleşik Kullanıcı & Panel Kapsülü (Seçenek 1) */
.nav-user-desktop-only {
    flex-shrink: 0;
    margin-left: 8px;
    white-space: nowrap;
}

.nav-desktop-user-capsule {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 5px 6px 5px 14px;
    border-radius: 12px;
    white-space: nowrap;
}

.nav-desktop-welcome {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.nav-desktop-welcome b {
    color: #0f172a;
    font-weight: 800;
}

.nav-desktop-panel-btn {
    background-color: var(--primary);
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 7px 14px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.2);
    transition: all 0.2s ease;
}

.nav-desktop-panel-btn:hover {
    background-color: var(--primary-hover);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* Orta Boy Dizüstü Ekranlarda (992px - 1180px) Tek Satır Sığma Garantisi */
@media (min-width: 992px) and (max-width: 1180px) {
    .nav-links {
        gap: 2px;
    }
    .nav-links li.nav-item a {
        padding: 7px 8px;
        font-size: 13px;
    }
    .site-header-logo {
        width: 72px;
        height: 72px;
    }
    .logo-text-fallback {
        font-size: 19px;
    }
    .nav-desktop-user-capsule {
        padding: 4px 5px 4px 10px;
        gap: 8px;
    }
    .nav-desktop-panel-btn {
        padding: 6px 10px;
        font-size: 12.5px !important;
    }
}

.btn-signup {
    background-color: var(--primary);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 8px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.2s ease;
}

.btn-signup:hover {
    background-color: var(--primary-hover);
}

/* Hamburger Menü İkonu (Masaüstünde Gizli) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Masaüstünde mobil menü ikonlarını, okları ve mobil kullanıcı kartını gizle */
.nav-mobile-icon,
.nav-mobile-arrow,
.nav-user-mobile-card {
    display: none;
}

/* Header Mobil Uyum (991px ve altı - Tablet & Mobil - Seçenek 1: Modern Liste & Kullanıcı Kartı) */
@media (max-width: 991px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none !important; /* Başlangıçta kesin gizle */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 12px 18px 18px 18px;
        gap: 0;
        box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.12);
        border-bottom: 1px solid var(--border);
        z-index: 999;
    }

    /* Menü açıldığında çalışacak sınıf */
    .nav-links.nav-active {
        display: flex !important;
        animation: menuFadeIn 0.25s ease forwards;
    }

    @keyframes menuFadeIn {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .nav-links li.nav-item {
        width: 100%;
        margin: 0 !important;
        border-bottom: 1px solid #f1f5f9;
    }

    .nav-links li.nav-item:last-of-type {
        border-bottom: none;
    }

    .nav-links li.nav-item a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 10px 12px;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        color: #334155;
        transition: all 0.18s ease;
    }

    .nav-links li.nav-item a:hover,
    .nav-links li.nav-item a.nav-link-active {
        background-color: #f0f9ff;
        color: #0284c7;
        font-weight: 700;
    }

    .nav-link-inner {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }

    .nav-mobile-icon {
        display: inline-block;
        font-size: 15px;
        line-height: 1;
    }

    .nav-mobile-arrow {
        display: inline-block;
        font-size: 16px;
        font-weight: 700;
        color: #cbd5e1;
        line-height: 1;
    }

    .nav-links li.nav-item a:hover .nav-mobile-arrow,
    .nav-links li.nav-item a.nav-link-active .nav-mobile-arrow {
        color: #0ea5e9;
    }

    /* Masaüstü kullanıcı satırlarını mobilde gizle */
    .nav-user-desktop-only {
        display: none !important;
    }

    /* Mobil Alt Kullanıcı & Panel Kartı */
    .nav-user-mobile-card {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
        margin-top: 10px !important;
        padding: 12px 14px;
        background-color: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
    }

    .nav-mobile-user-info {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .nav-mobile-welcome {
        font-size: 12px;
        color: #64748b;
        font-weight: 500;
    }

    .nav-mobile-welcome b {
        color: #0f172a;
        font-weight: 700;
    }

    .nav-mobile-panel-link {
        font-size: 13px !important;
        font-weight: 800 !important;
        color: #0284c7 !important;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .nav-mobile-logout-btn {
        padding: 7px 12px;
        background-color: #fef2f2;
        color: #dc2626 !important;
        border: 1px solid #fecaca;
        border-radius: 9px;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        white-space: nowrap;
        transition: background-color 0.2s ease;
    }

    .nav-mobile-logout-btn:hover {
        background-color: #fee2e2;
    }

    .nav-guest-item {
        width: 100%;
        margin-top: 10px !important;
    }

    .nav-guest-item .btn-signup {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 11px 16px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 700;
    }

    /* Çarpı ikon animasyonu */
    .hamburger.toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger.toggle span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Footer Koyu Lacivert & Beyaz Yazı Tasarımı */
.main-footer {
    background-color: #0f172a !important; /* Premium Koyu Lacivert */
    color: #cbd5e1 !important;
    padding: 50px 0 0 0;
    margin-top: 60px;
    border-top: 4px solid #0ea5e9; /* Tepesinde ince canlı mavi şerit */
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 3px;
    background: #0ea5e9;
    border-radius: 2px;
}

.footer-col p {
    color: #94a3b8;
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #38bdf8;
    transform: translateX(3px);
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    align-items: center;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.footer-social a svg {
    transition: transform 0.25s ease, fill 0.25s ease;
}

.footer-social a:hover {
    color: #ffffff;
    transform: translateY(-4px) scale(1.06);
}

.footer-social a.social-fb:hover {
    background: #1877f2;
    border-color: #1877f2;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.45);
}

.footer-social a.social-ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.45);
}

.footer-social a.social-tw:hover {
    background: #000000;
    border-color: #333333;
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.25);
}

.footer-social a.social-li:hover {
    background: #0a66c2;
    border-color: #0a66c2;
    box-shadow: 0 6px 16px rgba(10, 102, 194, 0.45);
}

.footer-social a.social-yt:hover {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.45);
}

.footer-doctor-cta {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(2, 132, 199, 0.2));
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 18px;
    border-radius: 14px;
}

.footer-doctor-cta h5 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 6px 0;
}

.footer-doctor-cta p {
    font-size: 12.5px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.footer-doctor-btn {
    display: inline-block;
    background: #0ea5e9;
    color: #ffffff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-doctor-btn:hover {
    background: #0284c7;
}

.footer-disclaimer {
    background: rgba(15, 23, 42, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.5;
    text-align: center;
}

.sub-footer {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #94a3b8;
}

.ssl-badge-capsule {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
}

.sub-footer-links {
    display: flex;
    gap: 16px;
}

.sub-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.2s;
}

.sub-footer-links a:hover {
    color: #f8fafc;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .sub-footer {
        flex-direction: column;
        text-align: center;
    }
}

/* Sayfa Genel Esneklik Düzeltmesi */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Doktorlar Listesi Sayfası Stilleri */

/* Arama kutusu geçiş ve odak (focus) efekti */
.card form input[type="text"] {
    transition: all 0.2s ease;
}

.card form input[type="text"]:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15) !important;
    background-color: #fff !important;
}

/* Doktor isim alanındaki onay ikonunun daralmasını (ezilmesini) engelle */
.card h3 svg {
    flex-shrink: 0;
}

/* Makale Detay Sayfası Özel Stilleri */
/* Makale Detay Sayfası Stilleri */
.article-detail-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 36px;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

/* 1. Tepe Kapak Görseli (Premium Dikey Kompozisyon) */
.article-cover-wrapper {
    width: 100%;
    max-width: 1000px;
    height: 450px; 
    margin: 0 auto;
    position: relative;
    border-radius: 24px 24px 0 0; /* Alt köşe düz, içerik ile bitişik */
    border: 1px solid var(--border);
    border-bottom: none;
    overflow: hidden;
}

.article-cover-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Müze Işıklandırması: Daha dramatik ve doygun */
    filter: contrast(1.15) saturate(1.1) brightness(0.85); 
}

/* Pürüzsüz Geçiş (Gradient Overlay - Aydınlık Temaya Uyarlandı) */
.article-cover-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0) 40%, var(--bg-main) 100%);
    pointer-events: none;
}

/* 2. Makale İçerik Kutusu (Görselle Kesişen Alan) */
.article-content-card {
    background-color: var(--bg-card);
    border-radius: 24px;
    padding: 60px 80px; /* Daha geniş, editorial padding */
    margin-top: -120px; /* Daha derin kesişim ile lüks hissiyat */
    position: relative;
    z-index: 5;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary); /* Marka vurgusu */
}

/* 3. Glassmorphism (Buzlu Cam) İkon Kutusu */
.glass-icon-box {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(14, 165, 233, 0.2); /* Soft mavi çerçeve */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    margin: 0 auto 24px auto;
    box-shadow: 0 10px 25px rgba(14, 165, 233, 0.1);
}

/* --- Profesyonel Makale Başlık ve İçerik Stilleri --- */
.article-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.article-title {
    font-size: clamp(32px, 5vw, 46px);
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -0.02em; /* Profesyonel dergi görünümü */
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
}

.meta-dot {
    color: #cbd5e1;
}

.article-body-content {
    font-size: 19px; /* Okuma kolaylığı için büyük punto */
    line-height: 1.9;
    color: #334155; /* Slate 700 - Göz yormayan en ideal metin rengi */
}

.article-body-content p {
    margin-bottom: 28px;
}

.article-body-content h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-top: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    border-bottom: 2px solid var(--border);
    padding-bottom: 12px;
}

.article-body-content h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-top: 36px;
    margin-bottom: 16px;
    font-weight: 700;
}

.article-body-content ul, 
.article-body-content ol {
    margin-bottom: 28px;
    padding-left: 24px;
}

.article-body-content li {
    margin-bottom: 12px;
}

.article-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 32px 0;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
}

/* Alıntı / Quote Alanı (Eğer makalede kullanılırsa) */
.article-body-content blockquote {
    border-left: 4px solid var(--primary);
    background: var(--bg-main);
    padding: 24px 32px;
    margin: 40px 0;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    font-size: 20px;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .article-content-card {
        padding: 40px 20px;
        margin-top: 0;
    }
    .article-body-content {
        font-size: 17px;
    }
}

/* --- Yeni Makale Detay Tasarımı --- */
.article-detail-container {
    max-width: 900px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
}

.article-hero-banner {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.article-hero-meta-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 30px;
}

.article-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.meta-badge {
    background-color: rgba(2, 132, 199, 0.85);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    letter-spacing: normal;
    text-transform: none;
}

.article-content-wrapper {
    background-color: #ffffff;
    padding-top: 40px;
}

.article-main-title {
    font-size: 34px;
    color: #0f172a;
    font-weight: 800;
    margin-bottom: 25px;
}

.article-body {
    font-size: 18px;
    line-height: 1.9;
    color: #334155;
    margin-bottom: 50px;
}

/* --- Makale Detay Sayfası Yazar (Doktor) Kartı --- */
.article-doctor-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    clear: both;
    transition: all 0.3s ease;
}

.article-doctor-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.article-doctor-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    flex-shrink: 0;
    border: 1px solid var(--border);
    padding: 4px;
    background-color: var(--bg-card);
}

.article-doctor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 8px;
}

.article-doctor-info h4 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 800;
}

.article-doctor-info .branch {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
    display: inline-block;
    background-color: #e0f2fe;
    padding: 6px 14px;
    border-radius: 20px;
}

/* Yazar Kartı Mobil Uyumluluk */
@media (max-width: 640px) {
    .article-doctor-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 24px;
    }
    .article-doctor-avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
    }
}

/* --- Makale Detay Sayfası: Yazar (Doktor) Kartı (Doktor Detay Sayfasıyla Birebir Tasarım) --- */
.author-horizontal-card {
    background-color: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border);
    width: 100%;
    padding: 25px 30px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.author-profile-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1;
}

.author-avatar-wrapper {
    width: 130px;
    height: 130px;
    border-radius: 18px;
    border: 4px solid var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
    background-color: #ffffff;
    overflow: hidden;
}

.author-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 14px;
}

.doctor-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    color: #64748b;
    border-radius: 14px;
    font-weight: 600;
    font-size: 14px;
}

.author-profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    line-height: 1.4;
}

.author-name-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    color: #0f172a; /* Slate 900 */
    font-size: 26px;
    margin: 0;
}

.author-title {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
}

.author-pills-wrapper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4px;
}

.pill-primary {
    background-color: #e0f2fe !important;
    color: #0284c7 !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    border: none !important;
}

.pill-secondary {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    border: 1px solid #e2e8f0 !important;
}

.author-profile-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Sadece Makale Detay Sayfasında Profili İncele Butonunu Biraz Yukarı Çek */
.makale-detail-author-card .author-profile-right {
    align-self: flex-start;
    margin-top: 12px;
}

/* Sadece Makale Detay Sayfasında Yazar Bilgilerini (İsim & Rozetler) Biraz Aşağı İndir */
.makale-detail-author-card .author-profile-info {
    margin-top: 25px;
}

.btn-view-profile {
    background-color: var(--accent);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
    text-decoration: none;
}

.btn-view-profile:hover {
    background-color: #0284c7;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(14, 165, 233, 0.35);
}

/* Yeni Yazar Kartı Mobil Uyumluluk */
@media (max-width: 768px) {
    .author-horizontal-card {
        flex-direction: column;
        align-items: center;
        padding: 24px;
        text-align: center;
    }
    .author-profile-left {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .author-profile-right {
        padding-top: 0;
        margin-top: 0;
        align-self: center;
        width: 100%;
        justify-content: center;
    }
    .makale-detail-author-card .author-profile-info {
        margin-top: 0;
    }
    .author-name-wrapper {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Local Icon Fallbacks (Söz konusu CDN kısıtlamalarında tam bağımsız ikon sunumu) */
i.fa-search::before { content: "🔍 "; }
i.fa-phone::before { content: "📞 "; }
i.fa-envelope::before { content: "✉️ "; }
i.fa-whatsapp::before, i.fa-whatsapp-square::before { content: "💬 "; }
i.fa-user::before, i.fa-user-md::before { content: "👤 "; }
i.fa-check-circle::before { content: "✅ "; }
i.fa-exclamation-circle::before { content: "⚠️ "; }
i.fa-sign-in-alt::before { content: "🔑 "; }
i.fa-sign-out-alt::before { content: "🚪 "; }
i.fa-bars::before { content: "☰ "; }
i.fa-comments::before { content: "💬 "; }
i.fa-pen-nib::before { content: "✍️ "; }
i.fa-book-medical::before { content: "📋 "; }
i.fa-cog::before { content: "⚙️ "; }
i.fa-th-large::before { content: "📊 "; }
i.fa-feather-alt::before { content: "🩺 "; }
i.fa-facebook::before, i.fa-facebook-f::before { content: "📘 "; }
i.fa-instagram::before { content: "📷 "; }
i.fa-twitter::before, i.fa-x-twitter::before { content: "🐦 "; }
i.fa-linkedin::before, i.fa-linkedin-in::before { content: "💼 "; }
i.fa-youtube::before { content: "▶️ "; }

/* --- Profesyonel Canlı Arama Kutusu ve Kaydırma Çubuğu (Scrollbar) --- */
#heroLiveBox, #resultsLiveBox, #doktorlarLiveBox, #makalelerLiveBox {
    max-height: 340px !important;
    overflow-y: auto !important;
    scroll-behavior: smooth;
}

/* Şık Özel Sağ Kaydırma Çubuğu (Custom Scrollbar) */
#heroLiveBox::-webkit-scrollbar,
#resultsLiveBox::-webkit-scrollbar,
#doktorlarLiveBox::-webkit-scrollbar,
#makalelerLiveBox::-webkit-scrollbar {
    width: 6px;
}

#heroLiveBox::-webkit-scrollbar-track,
#resultsLiveBox::-webkit-scrollbar-track,
#doktorlarLiveBox::-webkit-scrollbar-track,
#makalelerLiveBox::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

#heroLiveBox::-webkit-scrollbar-thumb,
#resultsLiveBox::-webkit-scrollbar-thumb,
#doktorlarLiveBox::-webkit-scrollbar-thumb,
#makalelerLiveBox::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

#heroLiveBox::-webkit-scrollbar-thumb:hover,
#resultsLiveBox::-webkit-scrollbar-thumb:hover,
#doktorlarLiveBox::-webkit-scrollbar-thumb:hover,
#makalelerLiveBox::-webkit-scrollbar-thumb:hover {
    background: #0ea5e9;
}

/* Popüler Hızlı Arama Etiketleri (Quick Pills) */
.quick-pill-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.quick-pill {
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.quick-pill:hover {
    background: #e0f2fe;
    color: #0284c7;
    border-color: #bae6fd;
    transform: translateY(-1px);
}

/* Şifre Göster / Gizle Göz İkonu Konfigürasyonu */
.password-input-wrapper {
    position: relative;
    width: 100%;
    display: block;
}

.password-toggle-eye {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0.7;
    transition: opacity 0.2s ease, color 0.2s ease;
    user-select: none;
    width: 24px;
    height: 24px;
}

.password-toggle-eye:hover {
    opacity: 1;
}

/* --- Sistem Yöneticisi & Genel Sosyal Medya İkonları --- */
.social-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.social-icon-btn.facebook { color: #1877f2; }
.social-icon-btn.facebook:hover {
    background: #1877f2 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(24, 119, 242, 0.35);
}

.social-icon-btn.instagram { color: #e1306c; }
.social-icon-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(225, 48, 108, 0.35);
}

.social-icon-btn.twitter { color: #0f172a; }
.social-icon-btn.twitter:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.35);
}

.social-icon-btn.linkedin { color: #0a66c2; }
.social-icon-btn.linkedin:hover {
    background: #0a66c2 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(10, 102, 194, 0.35);
}

.social-icon-btn.youtube { color: #ff0000; }
.social-icon-btn.youtube:hover {
    background: #ff0000 !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(255, 0, 0, 0.35);
}

/* --- Favori / Takip Buton Stilleri --- */
.btn-favori-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
    transition: all 0.2s ease;
    user-select: none;
}

.btn-favori-toggle:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #0f172a;
}

.btn-favori-toggle.favori-active {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
}

.btn-favori-toggle.favori-active:hover {
    background: #fee2e2;
    border-color: #f87171;
}

/* 7 ve üzeri favori olduğunda dikey kaydırma çubuğu (Custom Scrollbar) */
.fav-scroll-box {
    max-height: 440px !important;
    overflow-y: auto !important;
    padding-right: 6px;
    scroll-behavior: smooth;
}

.fav-scroll-box::-webkit-scrollbar {
    width: 6px;
}

.fav-scroll-box::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.fav-scroll-box::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.fav-scroll-box::-webkit-scrollbar-thumb:hover {
    background: #0284c7;
}

/* Favori / Takipçi İstatistik Rozeti (Buton Yanındaki Sayı Alanı) */
.favori-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f0f9ff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* Custom Select Box Styling (5+ Scrollable & Mobile Responsive Overlay) */
.custom-select-box {
    position: relative !important;
    flex: 1;
    min-width: 200px;
}

.custom-select-trigger {
    transition: all 0.2s ease;
}

.custom-select-trigger:hover,
.custom-select-box.open .custom-select-trigger {
    border-color: #0284c7 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.custom-select-trigger .arrow {
    transition: transform 0.2s ease;
}

.custom-select-box.open .custom-select-trigger .arrow {
    transform: rotate(180deg);
    color: #0284c7 !important;
}

.custom-select-options {
    display: none;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 1px solid var(--border) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    z-index: 2000 !important;
    max-height: 215px !important;
    overflow-y: auto !important;
    padding: 6px !important;
    scroll-behavior: smooth;
}

/* Custom Scrollbar for 5+ items in select box */
.custom-select-options::-webkit-scrollbar {
    width: 6px;
}
.custom-select-options::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}
.custom-select-options::-webkit-scrollbar-thumb {
    background: #0284c7;
    border-radius: 10px;
}
.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #0369a1;
}

.custom-select-option {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
    color: var(--text-dark);
}

.custom-select-option:hover {
    background: #f0f9ff !important;
    color: #0284c7 !important;
}

.custom-select-option.selected {
    background: #0284c7 !important;
    color: #ffffff !important;
}

/* Taşmayan, Kutusunu 1px Bile Daraltmayan Sabit Filtre Formu */
.search-filter-form {
    display: flex;
    align-items: center;
    gap: 12px !important;
    width: 100%;
    flex-wrap: wrap;
}

.search-filter-input-wrap {
    flex: 1 1 220px !important;
    min-width: 200px !important;
    position: relative;
}

.search-filter-form .custom-select-box {
    flex: 1 1 200px !important;
    min-width: 180px !important;
    max-width: 240px !important;
}

.search-filter-form.only-selects .custom-select-box {
    flex: 1 1 220px !important;
    min-width: 200px !important;
    max-width: none !important;
}

.search-filter-btn-group {
    flex: 0 0 auto !important;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px !important;
}

@media (max-width: 1024px) {
    .search-filter-form .custom-select-box {
        flex: 1 1 170px !important;
        min-width: 160px !important;
        max-width: 220px !important;
    }
}

/* Mobile Responsive Adjustments for Search Filters */
@media (max-width: 768px) {
    .search-filter-form,
    .search-filter-form.only-selects {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .search-filter-input-wrap,
    .search-filter-form .custom-select-box,
    .search-filter-form.only-selects .custom-select-box,
    .search-filter-btn-group {
        flex: 0 0 auto !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
    }

    .search-filter-btn-group {
        display: flex !important;
        gap: 10px !important;
    }

    .search-filter-btn-group .btn {
        flex: 1 !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .custom-select-trigger {
        padding: 14px 16px !important;
        font-size: 14px !important;
    }

    .custom-select-options {
        max-height: 240px !important;
    }
}

/* ==========================================================================
   Modern Creatable Tag Input Bileşeni (Otomatik Tamamlamalı & Serbest)
   ========================================================================== */
.tag-input-container {
    position: relative;
    width: 100%;
}
.tag-input-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    min-height: 48px;
    transition: all 0.2s ease;
    cursor: text;
}
.tag-input-box:focus-within {
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}
.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    user-select: none;
    animation: tagFadeIn 0.15s ease-out;
}
@keyframes tagFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.tag-chip .tag-remove {
    cursor: pointer;
    color: #ef4444;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    padding: 2px;
    border-radius: 50%;
    transition: background 0.15s;
}
.tag-chip .tag-remove:hover {
    background: #fee2e2;
}
.tag-input-field {
    flex: 1;
    min-width: 130px;
    border: none;
    outline: none;
    font-size: 13.5px;
    font-family: inherit;
    color: #0f172a;
    background: transparent;
    padding: 4px 0;
}
.tag-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
    z-index: 10000;
    display: none;
    padding: 6px;
}
.tag-dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.tag-dropdown-item:hover,
.tag-dropdown-item.active {
    background: #f0f9ff;
    color: #0284c7;
}
.tag-dropdown-item .tag-badge {
    font-size: 11px;
    background: #f1f5f9;
    color: #64748b;
    padding: 2px 7px;
    border-radius: 6px;
    font-weight: 700;
}
.tag-hint {
    font-size: 11.5px;
    color: #94a3b8;
    margin-top: 5px;
    display: block;
}

/* ==========================================================================
   Frontend Genel Mobil Uyumluluk Yardımcı Sınıfları (Masaüstünü Bozmaz)
   ========================================================================== */
@media (max-width: 991px) {
    .front-two-col-layout {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

@media (max-width: 640px) {
    .front-form-two-col {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .hero-card {
        padding: 36px 20px;
    }
    .article-hero-banner {
        height: 280px;
    }
    .article-main-title {
        font-size: 26px;
    }
}
