

.headName {
    color: white;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Sekcja lat */
.archive-years {

    border-radius: 10px;
    overflow: hidden;
}

.year-container {
    border-bottom: 1px solid #eee;
}

.year-header {
    background: #f8f9fa;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: 600;
    color: #2a5298;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.year-header:hover {
    background: #e9ecef;
}

.year-header i {
    transition: transform 0.3s ease;
}

.year-header.active i {
    transform: rotate(90deg);
}

/* Tabela */
.archive-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 15px 0;
}

.archive-table thead {
    background: #f1f4f9;
}

.archive-table th {
    padding: 15px;
    text-align: left;

    font-weight: 600;
    border-bottom: 2px solid #333333;
}

.archive-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.event-row {
    transition: background-color 0.2s ease;
}

.event-row:hover {
    background-color: #f8f9fa;
}

/* Lista rajdów */
.event-row ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.event-row ul li {
    margin: 5px 0;
}

.event-row ul li a {
    color: #2a5298;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.event-row ul li a:hover {
    color: #1e3c72;
    text-decoration: underline;
}

/* Przyciski */
.btn-files, .btn-sponsors {
    background: #1b1f23;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.btn-files:hover, .btn-sponsors:hover {
    background: #1e3c72;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Kontenery plików */
.files-container, .sponsors-container {
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
}

.files-container ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.files-container a.btn {
    text-decoration: none;
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.files-container a.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Animacje */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.year-content {
    animation: slideDown 0.3s ease-out;
}

/* Responsywność */
@media (max-width: 768px) {
    .archive-table {
        display: block;
        overflow-x: auto;
    }

    .headName {
        font-size: 20px;
    }

    .year-header {
        font-size: 16px;
    }
}
