/**
 * Contest Winners Stylesheet
 */

.contest-winners-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.contest-winners-section {
    margin-bottom: 80px;
}

.contest-winners-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    color: #2c3e50;
    text-align: center;
}

.contest-winners-heading .heading-icon {
    color: #d2691e;
}

.honorable-mentions-section .contest-winners-heading .heading-icon {
    color: #B8C332;
}

.contest-winners-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.contest-winner-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid #e8e8e8;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.contest-winner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #d2691e 0%, #b8571a 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contest-winner-card:hover::before {
    opacity: 1;
}

.contest-winner-card:hover {
    border-color: #d2691e;
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.2);
    transform: translateY(-4px);
}

.honorable-mentions-section .contest-winner-card::before {
    background: linear-gradient(180deg, #B8C332 0%, #a0ad2b 100%);
}

.honorable-mentions-section .contest-winner-card:hover {
    border-color: #B8C332;
    box-shadow: 0 6px 20px rgba(184, 195, 50, 0.2);
}

.winner-author-info {
    font-size: 1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1.3;
}

.winner-author-name {
    color: #d2691e;
}

.honorable-mentions-section .winner-author-name {
    color: #B8C332;
}

.winner-author-age {
    color: #666;
    font-weight: 600;
}

.winner-post-title {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    font-style: italic;
}

.winner-post-title a {
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.winner-post-title a:hover {
    color: #2c3e50;
    border-bottom-color: #d2691e;
}

.honorable-mentions-section .winner-post-title a:hover {
    border-bottom-color: #B8C332;
}

.contest-winners-no-results {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.1rem;
    color: #777;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ddd;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contest-winners-list {
        grid-template-columns: 1fr;
    }

    .contest-winners-heading {
        font-size: 1.5rem;
    }

    .contest-winners-container {
        margin: 20px auto;
    }

    .contest-winners-section {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .contest-winner-card {
        padding: 15px;
    }

    .winner-author {
        font-size: 1rem;
    }

    .winner-post-title {
        font-size: 0.9rem;
    }
}
