/* ============================================
   BLOG SECTION - Modern Soft Design
   ============================================ */

/* Blog Section */
.blog-section-modern {
    position: relative;
    padding: 100px 0;
}

/* Section Header */
.blog-section-modern .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-section-modern .section-subtitle {
    display: inline-block;
    color: #7c3aed;
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.blog-section-modern .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.2;
}

.blog-section-modern .section-title .highlight {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-section-modern .section-description {
    font-size: 1.0625rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Blog Card - Soft Edges */
.blog-card-modern {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* Image Container */
.blog-image-container {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.blog-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-modern:hover .blog-image-container img {
    transform: scale(1.1);
}

/* Category Badge - Soft Style */
.blog-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 2;
}

/* Category Colors - Soft Pastels */
.blog-category-hosting {
    background: rgba(124, 58, 237, 0.9);
    color: #ffffff;
}

.blog-category-security {
    background: rgba(16, 185, 129, 0.9);
    color: #ffffff;
}

.blog-category-performance {
    background: rgba(251, 146, 60, 0.9);
    color: #ffffff;
}

/* Card Body */
.blog-card-body {
    padding: 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Blog Title */
.blog-card-modern .blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-decoration: none;
    display: block;
}

.blog-card-modern:hover .blog-title {
    color: #7c3aed;
}

/* Blog Excerpt */
.blog-excerpt {
    font-size: 0.9375rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* Blog Meta */
.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: #9ca3af;
}

.blog-date i {
    font-size: 1rem;
    color: #7c3aed;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #7c3aed;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: #5b21b6;
    gap: 10px;
}

.blog-read-more i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.blog-card-modern:hover .blog-read-more i {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 991px) {
    .blog-section-modern {
        padding: 80px 0;
    }

    .blog-section-modern .section-title {
        font-size: 2rem;
    }

    .blog-image-container {
        height: 220px;
    }

    .blog-card-modern .blog-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 767px) {
    .blog-section-modern {
        padding: 60px 0;
    }

    .blog-section-modern .section-title {
        font-size: 1.75rem;
    }

    .blog-section-modern .section-description {
        font-size: 1rem;
    }

    .blog-image-container {
        height: 200px;
    }

    .blog-card-body {
        padding: 24px 20px;
    }

    .blog-card-modern:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 576px) {
    .blog-section-modern .section-title {
        font-size: 1.5rem;
    }

    .blog-image-container {
        height: 180px;
    }

    .blog-card-modern .blog-title {
        font-size: 1.0625rem;
    }

    .blog-excerpt {
        font-size: 0.875rem;
    }
}
