/* =====================================================
   Develi Bıçak Dünyası - Blog Sayfası Stilleri
   assets/css/blog.css
   ===================================================== */

.blog-section {
    font-family: 'Hanken Grotesk', sans-serif;
    background-color: #f3f4f6;
}

/* Breadcrumb / Top Bar */
.blog-top-bar {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 600;
}

.blog-count {
    font-size: 0.875rem;
    font-weight: 600;
    color: #9ca3af;
}

.blog-count span {
    color: #1f2937;
    font-weight: 700;
}

/* Blog Post Kartı */
.blog-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .blog-card {
        flex-direction: row;
    }
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.blog-card-img-link {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0.375rem;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .blog-card-img-link {
        width: 240px;
        height: 240px;
    }
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.04);
}

/* Kart İçeriği */
.blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.blog-card-title:hover {
    color: var(--heritage-gold, #D4AF37);
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #9ca3af;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.blog-card-meta span.material-symbols-outlined {
    font-size: 1rem;
}

.blog-card-excerpt {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background-color: #f3f4f6;
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
    align-self: flex-start;
    margin-top: auto;
}

.blog-read-more:hover {
    background-color: var(--heritage-gold, #D4AF37);
    color: #1a0a00;
}

/* Sidebar Tasarımı */
.blog-sidebar-widget {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.blog-sidebar-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #f3f4f6;
}

/* Arama Widget */
.blog-search-form {
    padding: 1.25rem;
    display: flex;
    gap: 0.5rem;
}

.blog-search-input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    background-color: #ffffff;
    color: #1f2937;
    transition: all 0.2s ease;
}

.blog-search-input:focus {
    outline: none;
    border-color: var(--heritage-gold, #D4AF37);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.blog-search-btn {
    background-color: #374151;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.5rem 1.25rem;
    border-radius: 0.375rem;
    border: 0;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.blog-search-btn:hover {
    background-color: var(--heritage-gold, #D4AF37);
    color: #1a0a00;
}

/* Sidebar Listeleri */
.blog-sidebar-list li {
    border-bottom: 1px solid #f3f4f6;
}

.blog-sidebar-list li:last-child {
    border-bottom: 0;
}

.blog-sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.25rem;
    color: #4b5563;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.blog-sidebar-link:hover {
    color: var(--heritage-gold, #D4AF37);
    background-color: #f9fafb;
    padding-left: 1.5rem;
}

.blog-sidebar-link span.material-symbols-outlined {
    font-size: 0.875rem;
    flex-shrink: 0;
}

/* Blog Detay Görünümü Stilleri */
.blog-detail-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .blog-detail-card {
        padding: 2.5rem;
    }
}

.blog-detail-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e5e7eb;
}

.blog-detail-title {
    font-family: 'Cinzel', serif;
    font-size: 1.75rem;
    @media (min-width: 768px) {
        font-size: 2.25rem;
    }
    font-weight: 800;
    color: #111827;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-detail-body {
    color: #374151;
    font-size: 0.9375rem;
    line-height: 1.8;
}

.blog-detail-body p {
    margin-bottom: 1.5rem;
}

.blog-detail-body h2, .blog-detail-body h3 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    color: #111827;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-detail-body h2 {
    font-size: 1.375rem;
}

.blog-detail-body h3 {
    font-size: 1.125rem;
}

.blog-detail-body blockquote {
    border-left: 4px solid var(--heritage-gold, #D4AF37);
    padding-left: 1.25rem;
    font-style: italic;
    color: #4b5563;
    margin: 1.5rem 0;
}
