/* TotalFTBL Home Page Styles */

.home-content {
    padding: 20px 0;
}

.news-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.league-table-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.section-header h2 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* These styles are for old news items, not the news feed widget */
.news-grid .news-item {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    transition: transform 0.2s ease;
}

.news-grid .news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.latest-matches {
    margin-top: 30px;
}

.matches-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.upcoming-matches,
.recent-matches {
    flex: 1;
    min-width: 300px;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .matches-row {
        flex-direction: column;
    }
} 