/* teams-archive.css */
.teams-archive-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
	justify-content: center; /* Wichtig: Zentriert das gesamte Grid */
	align-items: center;
	text-align: center;
}

.teams-archive-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #fff;
	justify-content: center; /* Wichtig: Zentriert das gesamte Grid */
}

.archive-year-group {
    margin-bottom: 3rem;
    border-radius: 8px;
    overflow: hidden;
}

.archive-year-header {
    padding: 0.2rem 2rem;
    color: white;
    font-weight: bold;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	background: rgba(0, 10, 33, 0.95) !important; /* Geänderte Hintergrundfarbe */
	
}

.archive-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, max-content));
    gap: 1.8rem;
    padding: 0 0.5rem;
	    justify-content: center;



}

.archive-team-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background: rgba(255, 255, 255, 0.7); /* Leichtes weißes Overlay (Anpassbar) */

	
}

.archive-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.archive-team-card-header {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.archive-team-card-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.archive-team-card:hover .archive-team-card-header img {
    transform: scale(1.05);
}

.archive-placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.archive-placeholder-image span {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.archive-card-body {
    padding: 1.5rem;
    text-align: center;
}

.archive-card-title {
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
}

.archive-team-badge {
    display: inline-block;
    background-color: #f8f9fa;
    color: #495057;
    padding: 0.4em 0.8em;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.archive-team-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

@media (max-width: 992px) {
    .archive-teams-grid {
        grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .teams-archive-container {
        padding: 1.5rem 1rem;
    }
    
    .teams-archive-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .archive-teams-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.2rem;
    }
    
    .archive-card-body {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .archive-teams-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 1rem;
    }
}

