/* =============================================================================
   marketing-blog-list.css — KineSuite Blog Listing Page
   ============================================================================= */

/* ── Hero Section ─────────────────────────────────────────────────────────── */
.blog-hero {
    padding: calc(var(--landing-nav-height, 68px) + 3rem) 0 3.5rem;
    background: linear-gradient(135deg, #064e3b 0%, #0f766e 50%, #10b981 100%);
    color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-hero-title {
    color: #ffffff !important;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.blog-hero-subtitle {
    color: #f1f5f9 !important;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin: 0 auto;
}

/* ── Grid Section ─────────────────────────────────────────────────────────── */
.blog-grid-section {
    padding: 5rem 0;
    background: #f8fafc;
    min-height: 50vh;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    position: relative;
    height: 220px;
    background: linear-gradient(135deg, #e0f2fe 0%, #dcfce7 100%);
    overflow: hidden;
}

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

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

.blog-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #10b981;
    opacity: 0.6;
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0.85rem;
}

.blog-card-meta i {
    color: #10b981;
    margin-right: 0.25rem;
}

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

.blog-card:hover .blog-card-title {
    color: #059669;
}

.blog-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.blog-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #059669;
    margin-top: auto;
    transition: gap 0.2s;
}

.blog-card:hover .blog-card-cta {
    gap: 0.75rem;
}

/* ── Empty state ──────────────────────────────────────────────────────────── */
.blog-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: #64748b;
}

.blog-empty i {
    font-size: 3.5rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.blog-empty p {
    font-size: 1.1rem;
}

/* ── CTA Banner ───────────────────────────────────────────────────────────── */
.blog-cta-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.blog-cta-card {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 45%, #0f172a 100%);
    border-radius: 1.5rem;
    padding: 4rem 2.5rem;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 25px 50px -12px rgba(6, 78, 59, 0.35);
    border: 1px solid rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.blog-cta-card h2 {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.blog-cta-card p {
    font-size: 1.15rem;
    color: #f1f5f9 !important;
    margin-bottom: 2.25rem;
    line-height: 1.6;
}

.blog-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: #10b981;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
    transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.blog-cta-button:hover {
    background: #059669;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.5);
}

/* ── Minimal Footer ───────────────────────────────────────────────────────── */
.blog-footer {
    padding: 2rem 0;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 6rem 0 3rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
