.detail-hero {
    background: radial-gradient(circle at center bottom, #0f172a 0%, #1e1b4b 100%);
    padding: 140px 0 80px;
    position: relative;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-pattern {
    position: absolute; inset: 0; opacity: 0.1;
    background-image: repeating-linear-gradient(45deg, #4f46e5 0, #4f46e5 1px, transparent 0, transparent 50%);
    background-size: 20px 20px; pointer-events: none;
}

.d-container { margin: 0 auto; padding: 0 24px; position: relative; z-index: 10; }

/* Breadcrumb */
.breadcrumb {
    display: flex; gap: 10px; align-items: center; color: #94a3b8; font-size: 0.9rem; margin-bottom: 25px; flex-wrap: wrap;
}
.breadcrumb a { color: #cbd5e1; text-decoration: none; transition: 0.2s; }
.breadcrumb a:hover { color: #3b82f6; }
.breadcrumb i { font-size: 0.7rem; opacity: 0.5; }

.term-title-large {
    font-size: 3rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #bfdbfe); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* Meta Bar */
.meta-bar {
    display: flex; align-items: center; justify-content: space-between; 
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; margin-top: 20px;
    flex-wrap: wrap; gap: 20px;
}
.meta-left { display: flex; gap: 20px; color: #94a3b8; font-size: 0.9rem; align-items: center; }
.meta-right { display: flex; gap: 10px; }

.share-btn {
    width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center; color: white;
    transition: 0.3s; cursor: pointer; text-decoration: none;
}
.share-btn:hover { background: #3b82f6; transform: translateY(-3px); }


/* 2. BODY LAYOUT */
.detail-body {
    background: #f8fafc; padding: 60px 0 100px;
}
.layout-grid {
    display: grid; grid-template-columns: 2.5fr 1fr; gap: 60px; align-items: start;
}

/* SOL: İÇERİK ALANI */
.content-box {
    background: white; border-radius: 24px; padding: 50px;
    border: 1px solid #e2e8f0; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.article-content { color: #334155; line-height: 1.8; font-size: 1.1rem; }
.article-content h2 { color: #0f172a; font-size: 1.8rem; font-weight: 800; margin: 40px 0 20px; }
.article-content p { margin-bottom: 20px; }
.article-content ul { padding-left: 20px; margin-bottom: 30px; }
.article-content li { margin-bottom: 10px; list-style: disc; marker: #3b82f6; }
.article-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 20px 0; }

.highlight-box {
    background: #eff6ff; border-left: 4px solid #3b82f6; padding: 20px 25px;
    border-radius: 0 12px 12px 0; margin: 30px 0; font-weight: 500; color: #1e40af;
}

/* SAĞ: SIDEBAR */
.sidebar-widget {
    background: white; border-radius: 20px; padding: 30px;
    border: 1px solid #e2e8f0; margin-bottom: 30px;
}
.widget-title {
    font-size: 1.1rem; font-weight: 800; color: #0f172a; margin-bottom: 20px;
    padding-bottom: 15px; border-bottom: 1px solid #f1f5f9;
}

.related-list { display: flex; flex-direction: column; gap: 15px; }
.related-item {
    display: flex; align-items: center; gap: 12px; text-decoration: none; group;
    transition: 0.2s; padding: 10px; border-radius: 10px;
}
.related-item:hover { background: #f8fafc; }

.r-icon {
    width: 36px; height: 36px; background: #f1f5f9; border-radius: 8px; color: #64748b;
    display: flex; align-items: center; justify-content: center; font-size: 0.9rem; flex-shrink: 0;
    transition: 0.3s;
}
.related-item:hover .r-icon { background: #3b82f6; color: white; }

.r-text { font-size: 0.95rem; font-weight: 600; color: #475569; transition: 0.3s; }
.related-item:hover .r-text { color: #3b82f6; }


/* CTA BANNER (Sidebar İçin) */
.sidebar-cta {
    background: #0f172a; border-radius: 20px; padding: 30px; text-align: center; color: white;
}
.s-cta-icon { font-size: 2.5rem; color: #60a5fa; margin-bottom: 15px; }
.s-cta-btn {
    display: block; width: 100%; background: #3b82f6; color: white; padding: 12px;
    border-radius: 10px; font-weight: 700; text-decoration: none; margin-top: 20px;
    transition: 0.3s;
}
.s-cta-btn:hover { background: #2563eb; }


/* RESPONSIVE AYARLAR */
@media (max-width: 1024px) {
    .layout-grid { grid-template-columns: 1fr; gap: 40px; }
    .sidebar { order: 2; margin-top: 20px; }
    .sidebar-widget { border: none; background: white; padding: 20px; border: 1px solid #e2e8f0; }
    .related-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
    .related-item { background: #f8fafc; border: 1px solid #e2e8f0; }
    .sidebar-cta { display: none; } /* Mobilde yan bannerı gizleyebiliriz veya en alta alabiliriz */
}

@media (max-width: 768px) {
    /* Hero */
    .detail-hero { padding: 120px 0 60px; }
    .term-title-large { font-size: 2rem; line-height: 1.1; }
    .meta-bar { flex-direction: column; align-items: flex-start; gap: 15px; }
    .meta-right { width: 100%; justify-content: flex-start; gap: 15px; }
    
    /* Body */
    .detail-body { padding: 40px 0 80px; }
    .content-box { padding: 25px; border-radius: 16px; }
    .article-content { font-size: 1rem; }
    .article-content h2 { font-size: 1.5rem; margin-top: 30px; }
    
    /* Sidebar */
    .related-list { grid-template-columns: 1fr; }
}