/* ============================================================
   FLORAPANEL - BLOG VE HABERLER
   ============================================================ */

/* --- 1. BLOG LİSTESİ HEADER --- */
.blog-header-section {
    background: linear-gradient(to bottom, #1B4D3E, #2C7A62); /* Koyu yeşil gradyan */
    padding: 60px 0;
    color: #fff;
    margin-bottom: 30px;
}

.blog-main-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.blog-main-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 20px;
}

.divider-center {
    width: 60px; height: 4px;
    background-color: var(--accent); /* Turuncu */
    margin: 0 auto;
    border-radius: 2px;
}

/* --- 2. BLOG KARTI --- */
.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: var(--primary);
}

.blog-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img { transform: scale(1.08); }

.blog-date-badge {
    position: absolute; top: 15px; left: 15px;
    background: rgba(255,255,255,0.95);
    padding: 6px 12px; border-radius: 20px;
    font-size: 0.75rem; font-weight: 700;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-title {
    font-family: var(--font-heading);
    font-size: 1.2rem; font-weight: 700;
    margin-bottom: 15px; line-height: 1.4;
}

.blog-title a { color: var(--text-dark); text-decoration: none; transition: 0.2s; }
.blog-title a:hover { color: var(--primary); }

.blog-excerpt {
    color: #6B7280; font-size: 0.95rem; line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-footer {
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
    display: flex; justify-content: space-between; align-items: center;
}

.read-more-link {
    font-weight: 700; font-size: 0.85rem; color: var(--primary);
    text-transform: uppercase; letter-spacing: 0.5px; text-decoration: none;
}
.read-more-link:hover { color: var(--primary-dark); }

.blog-meta { color: #9CA3AF; font-size: 0.85rem; }


/* --- 3. BLOG DETAY --- */
.blog-breadcrumb-bar {
    background-color: #f9fafb;
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 2.5rem; font-weight: 800;
    color: var(--text-dark); margin-bottom: 15px;
    line-height: 1.2;
}

.detail-meta {
    display: flex; gap: 20px;
    color: #6B7280; font-size: 0.9rem;
    margin-bottom: 25px;
}

.detail-image-wrapper {
    border-radius: 12px; overflow: hidden;
    margin-bottom: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.detail-img { width: 100%; height: auto; display: block; }

/* Tipografi (İçerik Stili) */
.detail-content {
    color: #374151; font-size: 1.1rem; line-height: 1.8;
}
.detail-content p { margin-bottom: 20px; }
.detail-content h2, .detail-content h3 {
    font-family: var(--font-heading); color: var(--primary-dark);
    margin-top: 40px; margin-bottom: 20px; font-weight: 700;
}
.detail-content img {
    max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0;
}

.detail-footer {
    margin-top: 50px; padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; gap: 10px;
}
.share-label { font-weight: 700; color: var(--text-dark); margin-right: 10px; }
.share-btn {
    width: 35px; height: 35px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; text-decoration: none; transition: 0.3s;
}
.share-btn:hover { transform: translateY(-3px); color: #fff; }
.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }


/* --- 4. SIDEBAR (YAN MENÜ) --- */
.sidebar-widget {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.1rem; font-weight: 700;
    color: var(--text-dark); margin-bottom: 20px;
    padding-bottom: 10px; border-bottom: 2px solid #f3f4f6;
    position: relative;
}
.widget-title::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 40px; height: 2px; background: var(--primary);
}

/* Arama */
.search-widget input {
    border-radius: 50px; padding-right: 40px; border-color: #e5e7eb;
}
.search-icon-btn {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: #9CA3AF;
}

/* Son Yazılar Liste */
.recent-posts-list { list-style: none; padding: 0; margin: 0; }
.recent-post-item {
    display: flex; align-items: center; margin-bottom: 20px;
}
.recent-post-item:last-child { margin-bottom: 0; }

.recent-post-img {
    width: 70px; height: 70px; flex-shrink: 0;
    border-radius: 8px; overflow: hidden; margin-right: 15px;
}
.recent-post-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.3s; }
.recent-post-item:hover .recent-post-img img { transform: scale(1.1); }

.recent-post-title { font-size: 0.9rem; margin-bottom: 5px; line-height: 1.3; }
.recent-post-title a { color: var(--text-dark); text-decoration: none; font-weight: 600; }
.recent-post-title a:hover { color: var(--primary); }

.recent-post-date { font-size: 0.75rem; color: #9CA3AF; }

/* Mobil Uyum */
@media (max-width: 768px) {
    .blog-header-section { padding: 40px 0; }
    .blog-main-title { font-size: 2rem; }
    .detail-title { font-size: 1.8rem; }
    .blog-img-wrapper { height: 200px; }
}