.wof-top10,
.wof-history {
    margin: 20px 0;
}

.wof-results-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.wof-results-table th,
.wof-results-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #333;
	color: #d3d3d3;
}

.wof-results-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.wof-results-table tr:hover {
    background-color: #161616;
}

.wof-history-item {
    margin-bottom: 15px;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
}

.wof-history-header {
    padding: 15px;
    background-color: #313131;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.wof-history-header:hover {
    background-color: #161616;
}

.wof-toggle-icon {
    transition: transform 0.3s;
    font-size: 12px;
}

.wof-history-header.active .wof-toggle-icon {
    transform: rotate(180deg);
}

.wof-history-content {
    padding: 20px;
    background-color: #1c1c1c;
}

.wof-history-results {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.wof-results-column h4 {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #333;
}

.wof-track-image,
.wof-vehicle-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Alignment classes for images */
.wof-align-left {
    float: left !important;
    margin-right: 15px !important;
    margin-bottom: 15px !important;
    margin-left: 0 !important;
}

.wof-align-right {
    float: right !important;
    margin-left: 15px !important;
    margin-bottom: 15px !important;
    margin-right: 0 !important;
}

.wof-align-center {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 15px !important;
    float: none !important;
    clear: both;
}

/* Wrapper for centered images */
.wof-image-wrapper-center {
    text-align: center;
    margin: 15px 0;
}

.wof-image-wrapper-center img {
    display: inline-block;
    margin: 0 auto;
}

.wof-competition-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px 0;
}

.wof-competition-images .wof-image-container {
    flex: 0 0 auto;
}

.wof-competition-images .wof-image-container img {
    max-width: 300px;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .wof-history-results {
        grid-template-columns: 1fr;
    }
    
    .wof-competition-images {
        flex-direction: column;
        gap: 15px;
    }
    
    .wof-competition-images .wof-image-container img {
        max-width: 100%;
    }
}



