/* LatamNachrichten Plugin Styles */

.latam-nachrichten-container {
    margin: 20px 0;
}

.latam-nachrichten-grid {
    display: grid;
    gap: 20px;
}

/* Article Card Styles */
.latam-article-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.latam-article-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.latam-article-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.latam-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.latam-article-content {
    padding: 16px;
}

.latam-article-category {
    display: inline-block;
    background: #D97706;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.latam-article-title {
    margin: 8px 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.4;
}

.latam-article-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latam-article-title a:hover {
    color: #D97706;
}

.latam-article-excerpt {
    margin: 8px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.latam-article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #999;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.latam-article-author {
    font-weight: 600;
}

/* Featured Article Styles */
.latam-featured-article {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.latam-featured-image {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.latam-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latam-featured-overlay {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3), transparent);
}

.latam-featured-content {
    padding: 30px;
    color: white;
    width: 100%;
}

.latam-featured-category {
    display: inline-block;
    background: #D97706;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.latam-featured-title {
    margin: 0 0 12px 0;
    font-size: 32px;
    font-weight: bold;
    line-height: 1.3;
}

.latam-featured-title a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latam-featured-title a:hover {
    color: #D97706;
}

.latam-featured-meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
}

.latam-featured-author {
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .latam-nachrichten-grid {
        grid-template-columns: 1fr !important;
    }
    
    .latam-featured-title {
        font-size: 24px;
    }
    
    .latam-featured-content {
        padding: 20px;
    }
    
    .latam-featured-article {
        min-height: 300px;
    }
}

@media (max-width: 480px) {
    .latam-article-content {
        padding: 12px;
    }
    
    .latam-article-title {
        font-size: 16px;
    }
    
    .latam-featured-title {
        font-size: 20px;
    }
    
    .latam-featured-content {
        padding: 15px;
    }
}
