body {
    background-color: #1f2020;
    color: #e8e6e3;
}

.asymmetric-canvas {
    max-width: 900px;
    margin: auto;
    padding-left: 5%;
    padding-right: 5%;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

.century-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #242525;
    border-bottom: 1px solid #3a3a3a;
    padding: 0.5rem 0.75rem;
    overflow-x: auto;
    z-index: 40;
}

.century-header h4 {
    font-family: "Noto Serif", serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: #a1d494;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
}

.century-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 0;
}

.century-header a {
    display: inline-block;
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    color: #e8e6e3;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.century-header a:hover {
    color: #a1d494;
    border-bottom-color: #a1d494;
}

.century-header a.active {
    color: #a1d494;
    border-bottom-color: #a1d494;
}

main {
    margin-left: 0;
}

.biography-card {
    background-color: #242525;
    border: 1px solid #3a3a3a;
    padding: 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 1rem;
}

.biography-card:hover {
    background-color: #2a2a2a;
    border-color: #a1d494;
    transform: translateY(-2px);
}

.biography-card h3 {
    font-family: "Noto Serif", serif;
    font-size: 1rem;
    font-weight: 600;
    color: #a1d494;
    margin-bottom: 0.5rem;
}

.century-section {
    scroll-margin-top: 5rem;
}

.century-heading {
    font-family: "Noto Serif", serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #e8e6e3;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #a1d494;
    padding-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .century-header {
        padding: 0.4rem 0.6rem;
    }

    .century-header a {
        padding: 0.3rem 0.4rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 640px) {
    .century-nav-links {
        gap: 0.35rem;
    }

    .century-header a {
        padding: 0.25rem 0.35rem;
        font-size: 0.65rem;
    }
}