/* ============================================
   BLOG DETAIL - MİNİMAL & MODERN
   Reference: http://localhost:8888/ozguc-vinc/public/blog
   ============================================ */

/* Breadcrumb */
.blogdetail-breadcrumb {
    background: #f8f9fa;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.blogdetail-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.blogdetail-breadcrumb .breadcrumb-item a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s;
}

.blogdetail-breadcrumb .breadcrumb-item a:hover {
    color: #ff6b35;
}

.blogdetail-breadcrumb .breadcrumb-item.active {
    color: #212529;
}

/* Main Section */
.blogdetail-section {
    padding: 3rem 0;
    background: #ffffff;
}

/* Ana Blog Kartı */
.blogdetail-main-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.blogdetail-header {
    padding: 2rem;
    border-bottom: 1px solid #f1f3f5;
}

.blogdetail-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.blogdetail-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #6c757d;
}

.blogdetail-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blogdetail-meta i {
    color: #ff6b35;
}

.blogdetail-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.blogdetail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blogdetail-content {
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #495057;
}

.blogdetail-content p {
    margin-bottom: 1rem;
}

.blogdetail-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #f1f3f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.blogdetail-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blogdetail-tags i {
    color: #ff6b35;
}

.blogdetail-tags span {
    background: #f8f9fa;
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    color: #495057;
    border: 1px solid #e9ecef;
}

.blogdetail-share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blogdetail-share span {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.blogdetail-share a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.share-facebook { background: #3b5998; }
.share-twitter { background: #1da1f2; }
.share-linkedin { background: #0077b5; }
.share-whatsapp { background: #25d366; }

.blogdetail-share a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Sidebar */
.blogdetail-sidebar {
    position: sticky;
    top: 2rem;
}

.sidebar-block {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #212529;
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #ff6b35;
}

/* İLK BÜYÜK KART */
.sidebar-featured-post {
    display: block;
    text-decoration: none;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.sidebar-featured-post:hover {
    border-color: #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.15);
    transform: translateY(-2px);
}

.featured-post-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.featured-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sidebar-featured-post:hover .featured-post-img img {
    transform: scale(1.05);
}

.img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    color: #adb5bd;
    font-size: 3rem;
}

.featured-post-info {
    padding: 1rem;
    background: #fff;
}

.featured-post-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    transition: color 0.3s;
}

.sidebar-featured-post:hover .featured-post-info h4 {
    color: #ff6b35;
}

.featured-post-info p {
    font-size: 0.875rem;
    color: #6c757d;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

.post-date {
    font-size: 0.75rem;
    color: #adb5bd;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* KÜÇÜK KARTLAR (ALT ALTA) */
.sidebar-small-posts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-small-post {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.sidebar-small-post:hover {
    background: #fff;
    border-color: #ff6b35;
    transform: translateX(3px);
}

.small-post-img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e9ecef;
}

.small-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sidebar-small-post:hover .small-post-img img {
    transform: scale(1.1);
}

.img-placeholder-small {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    color: #adb5bd;
    font-size: 1.5rem;
}

.small-post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.small-post-info h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    transition: color 0.3s;
}

.sidebar-small-post:hover .small-post-info h5 {
    color: #ff6b35;
}

.small-post-info span {
    font-size: 0.75rem;
    color: #adb5bd;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* CTA Block */
.sidebar-cta {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8556 100%);
    color: white;
    text-align: center;
    padding: 2rem 1.5rem !important;
}

.sidebar-cta i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.sidebar-cta h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.75rem 0;
}

.sidebar-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #ff6b35;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.cta-button:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .blogdetail-sidebar {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }

    .blogdetail-title {
        font-size: 1.75rem;
    }

    .blogdetail-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .blogdetail-section {
        padding: 2rem 0;
    }

    .blogdetail-header {
        padding: 1.5rem;
    }

    .blogdetail-title {
        font-size: 1.5rem;
    }

    .blogdetail-content {
        padding: 1.5rem;
        font-size: 0.95rem;
    }

    .blogdetail-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .blogdetail-image {
        height: 250px;
    }

    .featured-post-img {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .blogdetail-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .small-post-img {
        width: 70px;
        height: 70px;
    }

    .small-post-info h5 {
        font-size: 0.85rem;
    }
}
