/**
 * Golf Tournaments Frontend Styles
 */

.golf-tournament-single .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Tournament shortcode styles */
.golf-upcoming-tournaments,
.golf-next-tournament,
.golf-tournament-calendar,
.golf-recent-results {
    margin: 20px 0;
}

.golf-tournament-card {
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.golf-tournament-card h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
}

.golf-tournament-card a {
    color: #3498db;
    text-decoration: none;
}

.golf-tournament-card a:hover {
    text-decoration: underline;
}

.tournament-datetime,
.tournament-date,
.tournament-location {
    margin: 5px 0;
    color: #7f8c8d;
    font-size: 14px;
}

.golf-signup-button {
    background: #3498db;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.golf-signup-button:hover {
    background: #2980b9;
    color: white;
    text-decoration: none;
}

/* Calendar styles */
.tournament-calendar-list {
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
}

.calendar-tournament-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #e1e5e9;
    background: white;
}

.calendar-tournament-item:last-child {
    border-bottom: none;
}

.calendar-tournament-item:hover {
    background: #f8f9fa;
}

.calendar-tournament-item .tournament-date {
    min-width: 120px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.calendar-tournament-item .tournament-title {
    flex: 1;
    margin: 0;
}

/* Recent results styles */
.recent-result-item {
    padding: 15px;
    border-bottom: 1px solid #e1e5e9;
    background: white;
}

.recent-result-item:last-child {
    border-bottom: none;
}

.recent-result-item h4 {
    margin: 0 0 5px 0;
}

.result-date,
.result-winner {
    color: #7f8c8d;
    font-size: 14px;
    margin: 5px 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .golf-tournament-single {
        padding: 10px;
    }
    
    .calendar-tournament-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .calendar-tournament-item .tournament-date {
        min-width: auto;
    }
}
