
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #000000;
    margin: 0;
    padding: 0;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 6px;
}

.navbar {
    padding: 1.5rem 1rem;
    background: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
}

.navbar a:first-child {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    padding: 0.5rem;
    border-radius: 0.25rem;
    flex-shrink: 0;
}

.navbar a:first-child:hover {
    background: #f3f4f6;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 3rem;
}

@media (min-width: 600px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .container {
        width: 83.333%;
        margin: 0 auto;
    }
}

.card {
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.card-content {
    padding: 1rem;
}

.card-content p {
    margin: 0.5rem 0;
}

.link {
    color: #3b82f6;
    text-decoration: none;
}

.link:hover {
    text-decoration: underline;
}

.breadcrumbs {
    padding: 1rem;
    padding-left: 1.5rem;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.breadcrumbs li {
    margin-right: 0.5rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '>';
    margin-left: 0.5rem;
}

.explore-section {
    margin: 2rem 1rem;
}

.explore-section h3 {
    margin-bottom: 1rem;
}

.explore-section ul {
    list-style: none;
    padding: 0;
}

.explore-section li {
    margin-bottom: 0.5rem;
}

.pill {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    color: #000;
    font-size: 0.875rem;
    font-weight: 500;
}

.pill.team {
    background-color: #fee2e2; /* red */
}

.pill.track {
    background-color: #dbeafe; /* blue */
}

.pill.season {
    background-color: #fed7aa; /* orange */
}

.pill.driver {
    background-color: #fef3c7; /* yellow */
}

.pill.source {
    background-color: #dcfce7; /* green */
}
