
.announcements-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0;
    padding-top: 15px;
}

.announcement-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}


.announcement-list {
    list-style: none;
    padding: 0;
    margin: auto;
    max-width: 600px;
}

.announcement-list li {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.announcement-list li a.announcement-title {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    flex-grow: 1; /* take up remaining space */
}

.announcement-list li a.announcement-title:hover {
    text-decoration: underline;
}

.announcement-date {
    color: #666;
    font-size: 0.9rem;
    margin-left: 1rem;
    white-space: nowrap;
}

.new-announcement {
    border: 2px solid #23496a; /* deep blue */
}

.more-announcements {
    max-width: 600px;
    margin: 0.5rem auto 0;
    text-align: right;
}

.more-announcements a {
    color: #23496a;
    font-weight: 500;
    text-decoration: none;
    font-size: 0.95rem;
}

.more-announcements a:hover {
    text-decoration: underline;
}


.new-tag {
    background-color: #23496a;  /* deep blue */
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    position: relative;
    top: -2px; /* raise it slightly */
}


.recent-competitions {
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
}

.competition-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.recent-competitions-title {
    padding-bottom: 15px;
}

.competition-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 1rem;
    width: 250px;
    transition: transform 0.2s;
}

.competition-card:hover {
    transform: scale(1.02);
}

.competition-icon {
    width: 45px;
    object-fit: contain;
}


.featured-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
}

.featured {
    background-color: #ffffff;
    padding: 1rem;
    flex: 1 1 300px;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.featured-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.viikon-title {
    padding-bottom: 0;
}

.featured-box img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    padding: 0.5rem;
}

.featured-box h3 {
    font-size: 1.5rem;
    padding-bottom: 0;
}

.featured-box p {
    margin: 0.1rem 0;
    color: #666;
    font-size: 0.95rem;
}

/* Layout Wrapper */
.featured-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.featured-card-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    max-width: 480px;
}

/* Base Card Style */
.featured-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Hover Effect: Lifts up with a soft theme glow */
.featured-card-link:hover .featured-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(35, 73, 106, 0.15);
    border-color: #23496a;
}

/* Daily Badge Tag */
.featured-badge {
    position: absolute;
    top: -14px;
    background: linear-gradient(135deg, #23496a, #0b2a40);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(11, 42, 64, 0.25);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.featured-avatar-wrapper {
    width: 250px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, border-radius 0.3s ease;
    will-change: transform, border-radius;
}

.featured-card-link:hover .featured-avatar-wrapper {
    transform: scale(1.04);
    border-radius: 10%;
}

.featured-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Title & Names */
.featured-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    text-align: center;
}

/* Info Items (Organized into subtle background blocks) */
.featured-info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
    width: 90%;
}

.info-pill {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.88rem;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 500;
}

/* Call To Action Button */
.featured-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #23496a;
    margin-top: auto;
    padding-top: 12px;
    transition: color 0.2s ease;
}

.featured-cta .arrow {
    transition: transform 0.2s ease;
}

.featured-card-link:hover .featured-cta {
    color: #5682ae;
}

.featured-card-link:hover .featured-cta .arrow {
    transform: translateX(5px);
}

/* Compact Hero Stats Bar */
.hero-stats {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 18px;
    border-radius: 30px;
    margin: 1px 0 20px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 0.85rem;
}

/* Base styling for smooth transitions */
.stat-number {
    font-weight: 800;
    font-size: 1rem;
    color: #5682ae;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* 🌟 Pulse & Color Flash Animation when number increases */
@keyframes statPulseCelebration {
    0% {
        transform: scale(1);
        color: #5682ae;
    }
    30% {
        transform: scale(1.45);
        color: #4cd137; /* Vibrant green highlight */
        text-shadow: 0 0 12px rgba(76, 209, 55, 0.8);
    }
    100% {
        transform: scale(1);
        color: #5682ae;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    }
}

.stat-number.celebrate {
    animation: statPulseCelebration 0.8s ease-out;
}

.stat-label {
    font-weight: 500;
    letter-spacing: 0.2px;
    opacity: 0.9;
}

.stat-divider {
    width: 1px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.25);
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .hero-stats {
        flex-direction: column;
        gap: 0.35rem;
        border-radius: 14px;
        padding: 8px 14px;
    }
    .stat-divider {
        display: none;
    }
}