/* News Card Block Styles */
.news-card-container {
    width: 100%;
    position: relative;
    padding: 60px 40px;
    overflow: hidden;
}

.news-card-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Styles */
.news-card-header {
    margin-bottom: 60px;
    text-align: center;
}

.news-card-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--main-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.news-card-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Grid Layout */
.news-card-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Individual Card */
.news-card-item {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.news-card-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(124, 77, 255, 0.2);
}

/* Image Section */
.news-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-item:hover .news-card-image img {
    transform: scale(1.05);
}

/* Category Badge */
.news-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

/* Content Section */
.news-card-content {
    padding: 30px;
}

/* Meta Information */
.news-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.news-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card-meta i {
    font-size: 0.8rem;
}

/* Title */
.news-card-item-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.news-card-item-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card-item-title a:hover {
    color: #7c4dff;
}

/* Excerpt */
.news-card-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.8;
}

/* Footer with Read More */
.news-card-footer {
    margin-top: auto;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.read-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.read-more-btn:hover::before {
    left: 100%;
}

.read-more-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 77, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .news-card-container {
        padding: 50px 30px;
    }
    
    .news-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .news-card-container {
        padding: 40px 20px;
    }
    
    .news-card-title {
        font-size: 2rem;
    }
    
    .news-card-subtitle {
        font-size: 1rem;
    }
    
    .news-card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card-content {
        padding: 25px;
    }
    
    .news-card-image {
        height: 200px;
    }
    
    .news-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .news-card-container {
        padding: 30px 15px;
    }
    
    .news-card-title {
        font-size: 1.8rem;
    }
    
    .news-card-content {
        padding: 20px;
    }
    
    .news-card-image {
        height: 180px;
    }
    
    .category {
        top: 15px;
        left: 15px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }
}

/* Animation Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card-item {
    animation: fadeInUp 0.6s ease forwards;
}

.news-card-item:nth-child(1) { animation-delay: 0.1s; }
.news-card-item:nth-child(2) { animation-delay: 0.2s; }
.news-card-item:nth-child(3) { animation-delay: 0.3s; }
.news-card-item:nth-child(4) { animation-delay: 0.4s; }
.news-card-item:nth-child(5) { animation-delay: 0.5s; }
.news-card-item:nth-child(6) { animation-delay: 0.6s; }