body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    background: #f5f5f5;
}

.jargon-header {
    text-align: center;
    margin-bottom: 3em;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.jargon-header h1 {
    margin-bottom: 1em;
    color: #333;
}

.explanation {
    font-size: 1.1em;
    line-height: 1.6;
    color: #666;
    max-width: 1000px;
    margin: 0 auto;
}

.explanation.spanish {
    margin-top: 1.5em;
    padding-top: 1.5em;
    border-top: 1px solid #eee;
    font-style: italic;
    color: #555;
}

.two-column {
    display: flex;
    justify-content: space-between;
    gap: 3em;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 2em;
}

.column {
    flex: 1;
    min-width: 0;
    max-width: 800px;
}

.section {
    margin-bottom: 2.5em;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
    width: 100%;
}

/* Section headers */
.section-header {
    padding: 1em;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    gap: 0.3em;
}

.section-header span:first-child {
    font-size: 1.1em;
}

.section-header span:last-child {
    font-size: 0.9em;
    opacity: 0.8;
}

/* Section header backgrounds */
.ml-core {
    background-color: #e3f2fd;
    color: #1565c0;
}

.ml-terminology {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.cv-basics {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.metrics {
    background-color: #fff3e0;
    color: #ef6c00;
}

.annotation {
    background-color: #fce4ec;
    color: #c2185b;
}

.user-terms {
    background-color: #e0f7fa;
    color: #00838f;
}

.privacy {
    background-color: #f1f8e9;
    color: #558b2f;
}

/* Topic-specific heading colors */
.section.ml-core .term {
    color: #2980b9 !important;
}

.section.ml-terminology .term {
    color: #27ae60 !important;
}

.section.cv-basics .term {
    color: #c0392b !important;
}

.section.metrics .term {
    color: #f39c12 !important;
}

.section.annotation .term {
    color: #8e44ad !important;
}

.section.user-terms .term {
    color: #16a085 !important;
}

.section.privacy .term {
    color: #d35400 !important;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

td {
    padding: 0.8em 1em;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

td.term {
    font-weight: bold;
    color: #333;
    width: 25%;
}

td.spanish {
    color: #666;
    width: 25%;
    font-style: italic;
}

td.definition {
    color: #444;
    width: 50%;
}

@media screen and (max-width: 1400px) {
    .two-column {
        gap: 2em;
        padding: 0 1.5em;
    }
}

@media screen and (max-width: 1200px) {
    .two-column {
        flex-direction: column;
        padding: 0 1em;
    }
    
    .column {
        width: 100%;
        max-width: none;
    }
    
    td.term, td.spanish, td.definition {
        width: auto;
    }
}

@media screen and (max-width: 736px) {
    .jargon-header {
        padding: 0 1em;
    }
    
    .explanation {
        font-size: 1em;
    }
    
    .section-header {
        padding: 0.8em;
    }
    
    td {
        padding: 0.6em 0.8em;
    }
}

/* Content section styling for new pages */
.content-section {
    margin-bottom: 3em;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 2em;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.content-section h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #eee;
}

.content-section p {
    margin-bottom: 1.5em;
    line-height: 1.6;
}

.content-section:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 736px) {
    .content-section {
        padding: 1.5em;
    }
} 