/* ═══════════════════════════════════════════════════════════════════
   Blog Modern - Premium Light Section
   Elegant Cards with Clean Layout
   ═══════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════
   Main Section
   ═══════════════════════════════════════════════════════════════════ */

.blog-modern {
    position: relative;
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 50%, #f8f9fa 100%);
    padding: 100px 0;
    overflow: hidden;
}

/* Decorative Pattern */
.blog-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(44, 62, 80, 0.02) 0%, transparent 50%);
    z-index: 1;
}

.blog-modern .container {
    position: relative;
    z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════════
   Section Header
   ═══════════════════════════════════════════════════════════════════ */

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-subtitle-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(44, 62, 80, 0.08);
    border: 1px solid rgba(44, 62, 80, 0.1);
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.blog-subtitle-badge i {
    color: var(--secondary-color);
}

.blog-header-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.blog-header-title span {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-header-desc {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════════════
   Blog Grid
   ═══════════════════════════════════════════════════════════════════ */

.blog-grid-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ═══════════════════════════════════════════════════════════════════
   Blog Card
   ═══════════════════════════════════════════════════════════════════ */

.blog-card-modern {
    position: relative;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.blog-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

/* Image Container */
.blog-img-modern {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-img-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card-modern:hover .blog-img-modern img {
    transform: scale(1.1);
}

/* Date Badge */
.blog-date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    padding: 12px 15px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 60px;
}

.blog-date-badge .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.blog-date-badge .month {
    display: block;
    font-size: 0.75rem;
    color: #777;
    text-transform: uppercase;
    margin-top: 3px;
}

/* New Label */
.blog-new-label {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c9a227 100%);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Image Overlay */
.blog-img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.blog-card-modern:hover .blog-img-overlay {
    opacity: 1;
}

/* Content */
.blog-content-modern {
    padding: 25px;
}

/* Meta */
.blog-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-meta-modern .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #888;
}

.blog-meta-modern .meta-item i {
    color: var(--secondary-color);
}

.blog-meta-modern .meta-item.rating i {
    color: #ffc107;
}

/* Title */
.blog-title-modern {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.blog-title-modern a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-title-modern a:hover {
    color: var(--primary-color);
}

/* Excerpt */
.blog-excerpt-modern {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin: 0 0 20px 0;
}

/* Read More */
.blog-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-readmore:hover {
    color: var(--secondary-color);
    gap: 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .blog-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-modern {
        padding: 80px 0;
    }

    .blog-grid-modern {
        grid-template-columns: 1fr;
    }

    .blog-img-modern {
        height: 200px;
    }
}