/* ============================================================
   blog-details.css — Blog Detay Sayfası
   ============================================================ */

.blog-detail-header {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    border-radius: 20px;
    padding: 35px 40px;
    margin-bottom: 30px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.blog-detail-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.blog-detail-header > * {
    position: relative;
    z-index: 1;
}

.blog-detail-header h1,
.blog-detail-header h2 {
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.blog-detail-header .breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.9rem;
}

.blog-detail-header .breadcrumb-nav a:hover {
    color: #fff;
}

.blog-content-card {
    background: #2a2a2a;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.blog-cover-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.blog-body {
    padding: 35px;
}

.blog-body .blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
}

.blog-meta-item i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 0.95rem;
}

.blog-body .blog-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
    font-size: 0.95rem;
}

.blog-body .blog-text p {
    margin-bottom: 18px;
}

.blog-body .blog-text img {
    max-width: 100%;
    border-radius: 12px;
    margin: 15px 0;
}

.blog-body .blog-text h1,
.blog-body .blog-text h2,
.blog-body .blog-text h3,
.blog-body .blog-text h4 {
    color: #fff;
    margin-top: 25px;
    margin-bottom: 12px;
}

.blog-body .blog-text a {
    color: #667eea;
}

.blog-body .blog-text a:hover {
    color: #8b9cf7;
}

.sidebar-card {
    background: #2a2a2a;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.sidebar-card-header {
    padding: 18px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card-header i {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.1rem;
}

.sidebar-card-header h6 {
    margin: 0;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.sidebar-card-body {
    padding: 20px 22px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-item:first-child {
    padding-top: 0;
}

.detail-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.detail-icon.author { background: rgba(102, 126, 234, 0.15); color: #667eea; }
.detail-icon.date { background: rgba(34, 197, 94, 0.15); color: #4ade80; }
.detail-icon.category { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

.detail-item-text small {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-item-text span {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.tag-badge {
    display: inline-block;
    background: rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.2);
    color: #8b9cf7;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin: 4px;
    transition: all 0.3s;
    text-decoration: none;
}

.tag-badge:hover {
    background: rgba(102, 126, 234, 0.25);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.related-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.related-card:hover {
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.related-card a {
    text-decoration: none;
}

.related-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-card-body {
    padding: 15px;
}

.related-card-body h6 {
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-card-body .related-meta {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
}

.related-card-body .related-meta i {
    margin-right: 4px;
}

.related-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.section-title {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(102, 126, 234, 0.3), transparent);
}

@media (max-width: 767px) {
    .blog-detail-header {
        padding: 25px 20px;
    }
    .blog-detail-header h1,
    .blog-detail-header h2 {
        font-size: 1.15rem;
    }
    .blog-body {
        padding: 20px;
    }
    .blog-cover-image {
        max-height: 220px;
    }
    .blog-meta {
        gap: 12px !important;
    }
}
