/* ====================================
   AI Content Generator - Frontend Styles
   ==================================== */

/* News Grid Template */
.acg-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.acg-news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.acg-news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.acg-news-card-image {
    position: relative;
    padding-top: 60%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.acg-news-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.acg-news-card:hover .acg-news-card-image img {
    transform: scale(1.05);
}

.acg-news-card-content {
    padding: 25px;
}

.acg-news-card-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.acg-news-card-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.acg-news-card-title a:hover {
    color: #667eea;
}

.acg-news-card-excerpt {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.acg-news-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
    font-size: 13px;
    color: #9ca3af;
}

.acg-read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.acg-read-more:hover {
    color: #764ba2;
}

/* Single News Post */
.acg-single-news {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.acg-single-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.acg-single-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.acg-single-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 20px 0;
    color: #1f2937;
}

.acg-single-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
    color: #6b7280;
    font-size: 14px;
}

.acg-single-content {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

.acg-single-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px 0;
    color: #1f2937;
}

.acg-single-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: #374151;
}

.acg-single-content p {
    margin-bottom: 20px;
}

.acg-single-content ul,
.acg-single-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.acg-single-content li {
    margin-bottom: 10px;
}

.acg-single-content strong {
    color: #1f2937;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .acg-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .acg-single-title {
        font-size: 28px;
    }
    
    .acg-single-content {
        font-size: 16px;
    }
    
    .acg-single-content h2 {
        font-size: 24px;
    }
    
    .acg-single-content h3 {
        font-size: 20px;
    }
}
