/* ========================================
   LFBB BLOG - MODERN CLEAN EDITION (MODIFIED)
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: "Inter", sans-serif;
    background: #FFFFFF;
    color: #1A1A1A;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 30px; }

/* Header */
.header {
    border-bottom: 1px solid #F1F5F9;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; text-decoration: none; color: #1A1A1A; }
.logo span { color: #2563EB; }

.nav { display: flex; gap: 40px; }
.nav a { text-decoration: none; color: #64748B; font-weight: 600; font-size: 0.95rem; transition: 0.2s; }
.nav a:hover { color: #2563EB; }

/* Hero Section */
.hero { padding: 100px 0 60px; background: linear-gradient(to bottom, #fff, #F8FAFC); }
.hero h1 { font-size: 3.8rem; font-weight: 800; letter-spacing: -2px; line-height: 1.1; max-width: 900px; margin-bottom: 25px; }
.hero p { font-size: 1.25rem; color: #64748B; max-width: 600px; font-weight: 400; }

/* Cards & Grid */
.section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 30px; padding-bottom: 15px; border-bottom: 2px solid #F1F5F9; }

.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.post-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.post-card:hover { border-color: #2563EB; transform: translateY(-8px); box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08); }

.post-image { height: 240px; background: #F1F5F9; overflow: hidden; }
.post-image img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: 0.5s; }
.post-card:hover .post-image img { opacity: 1; transform: scale(1.05); }

.post-content { padding: 30px; flex-grow: 1; display: flex; flex-direction: column; }
.post-category { color: #2563EB; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.post-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 15px; line-height: 1.3; color: #0F172A; }
.post-excerpt { color: #64748B; font-size: 1rem; margin-bottom: 20px; flex-grow: 1; }

.post-footer { padding-top: 20px; border-top: 1px solid #F1F5F9; color: #94A3B8; font-size: 0.85rem; font-weight: 600; }

/* Sidebar */
.sidebar { background: #F8FAFC; border-radius: 24px; padding: 40px; border: 1px solid #F1F5F9; position: sticky; top: 120px; }
.sidebar-section { margin-bottom: 40px; }
.sidebar-section h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 25px; color: #0F172A; }

.author-card { text-align: center; }
.author-card img { width: 100px; height: 100px; border-radius: 50%; margin-bottom: 20px; border: 4px solid #fff; box-shadow: 0 10px 15px rgba(0,0,0,0.05); }

/* Newsletter */
.newsletter { background: #0F172A; border-radius: 20px; padding: 40px; color: #fff; margin-top: 40px; }
.newsletter h4 { color: #fff; margin-bottom: 10px; }
.newsletter p { color: #94A3B8; font-size: 0.9rem; margin-bottom: 25px; }
.newsletter input { width: 100%; padding: 15px; background: #1E293B; border: 1px solid #334155; border-radius: 12px; color: #fff; margin-bottom: 15px; }
.newsletter button { width: 100%; padding: 15px; background: #2563EB; color: #fff; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.newsletter button:hover { background: #3B82F6; }

/* Category Tags */
.category-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.cat-badge { padding: 8px 16px; background: #fff; border: 1px solid #E2E8F0; border-radius: 100px; text-decoration: none; color: #64748B; font-size: 0.85rem; font-weight: 600; transition: 0.2s; }
.cat-badge:hover { border-color: #2563EB; color: #2563EB; background: #F0F7FF; }

@media (max-width: 1024px) {
    .content-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.8rem; }
    .posts-grid { grid-template-columns: 1fr; }
}
