body {
    font-family: "Charter", "Bitstream Charter", "Sitka Text", "Cambria", serif;
    /* Use theme variables directly */
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 6.5rem 2rem 4rem 2rem;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 800px;
}

nav.breadcrumb {
    margin-bottom: 3rem;
    font-size: 0.9rem;
    color: var(--accent);
}

nav.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

nav.breadcrumb a:hover {
    color: var(--hover);
}

h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--hover);
    letter-spacing: -0.01em;
}

h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--hover);
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

p {
    margin-bottom: 1.5rem;
}

ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

li {
    margin-bottom: 0.8rem;
    position: relative;
}

/* Custom subtle bullet */
ul>li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: -1.2rem;
    opacity: 0.5;
}

ul ul>li::before {
    content: "◦";
}

a {
    color: var(--text);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

a:hover {
    color: var(--hover);
    transform: translateX(4px);
    border-bottom: 1px solid var(--hover);
}

nav.breadcrumb a {
    border-bottom: none;
}

/* Table of Contents */
.toc {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    border: 1px solid #222;
}

.toc h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0;
    margin-bottom: 1rem;
    border-bottom: none;
    color: var(--accent);
}

.toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin: 0;
    padding: 0;
}

.toc li {
    margin: 0;
}

.toc li::before {
    display: none;
}

.toc a {
    font-size: 0.95rem;
    color: var(--accent);
    border-bottom: none;
}

.toc a:hover {
    color: var(--hover);
    transform: none;
}

/* Specific component styles */
.map-container {
    height: 500px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin: 2rem 0;
    border: 1px solid #333;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    body {
        padding: 4.5rem 1.5rem 2rem 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    .toc ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}