/* --- JUMP TO SECTION (A-Z Index) - FULL WIDTH TOP --- */
.jump-to-section-full-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.jump-to-section-full-width {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
}

.jump-label {
    font-size: 16px;
    color: #666;
    margin-right: 10px;
    white-space: nowrap;
}

.a-z-index {
    display: flex;
    flex-wrap: wrap;
}

.index-letter {
    display: block;
    padding: 0 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    color: #DB383A; /* Active color (Red) */
    opacity: 0.3; /* FADE non-active letters */
    transition: opacity 0.2s;
}

/* Style for the active/selected letter */
.index-letter.active {
    opacity: 1; /* Fully visible for the active letter */
}

.index-letter:hover {
    opacity: 0.7;
}

/* Visually separate the index from the content */
.index-separator {
    border: 0;
    height: 1px;
    background-color: #DDD;
    margin: 15px 0 30px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Global Wrapper and Layout --- */
.custom-glossary-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
    display: flex; /* Enable Flexbox for two-column layout */
    gap: 40px;
}

/* --- Left Column: Filters (Sidebar) --- */
.glossary-sidebar {
    flex-basis: 250px; /* Fixed width for the filter column */
    flex-shrink: 0;
}

/* --- Right Column: Glossary Content --- */
.glossary-list-content {
    flex-grow: 1; /* Content takes the remaining space */
    padding-right: 20px;
}

/* --- Filter by Category --- */
.glossary-filters {
    margin-bottom: 30px;
}

.glossary-filters h4 {
    font-size: 16px;
    font-weight: normal;
    color: #333;
    margin-bottom: 15px;
}

.category-filter-options {
    display: flex;
    gap: 20px;
}

.filter-label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.filter-label input[type="radio"] {
    margin-right: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #999;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.filter-label input[type="radio"]:checked {
    border-color: #DB383A;
    background-color: #FFF;
}

/* Custom checkmark for checked state */
.filter-label input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    background: #DB383A;
    border-radius: 1px;
}


/* --- Glossary Items (Right Column) --- */
.glossary-item {
    padding: 20px 0;
    /* JS handles display: block/none for filtering */
}

.glossary-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.glossary-definition {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

.item-separator {
    border: 0;
    height: 1px;
    background-color: #DDD;
    margin: 20px 0 0 0; 
}