.glossary-page{background:#f8f5ee;min-height:100vh;padding:2rem 0}.glossary-page-secondary-bg{background:#f3efe5}.glossary-container{max-width:1400px;margin:0 auto;padding:0 1.5rem}.glossary-header{text-align:center;margin-bottom:3rem;padding:2rem 0}.glossary-header-sanskrit{color:#8b6914;margin-bottom:.5rem;font-family:Noto Serif Devanagari,serif;font-size:2.5rem}.glossary-header-title{color:#3e2723;margin-bottom:1rem;font-family:serif;font-size:2.5rem}.glossary-header-description{color:#5d4037;max-width:700px;margin:0 auto;font-size:1.1rem;line-height:1.6}.glossary-search-bar{background:#fff;border-radius:12px;flex-wrap:wrap;align-items:center;gap:1rem;margin-bottom:2rem;padding:1.5rem;display:flex;box-shadow:0 2px 8px #8b69141a}.glossary-search-input-wrapper{flex:1;min-width:300px;position:relative}.glossary-search-icon{color:#8b6914;position:absolute;top:50%;left:1rem;transform:translateY(-50%)}.glossary-search-input{background:#faf8f3;border:2px solid #e4dbc8;border-radius:8px;width:100%;padding:.75rem 1rem .75rem 3rem;font-size:1rem;transition:border-color .2s}.glossary-search-input:focus{background:#fff;border-color:#8b6914;outline:none}.glossary-search-clear{color:#8b6914;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:.5rem;display:flex;position:absolute;top:50%;right:.5rem;transform:translateY(-50%)}.glossary-search-clear:hover{background:#f3efe5}.glossary-filter-toggle{cursor:pointer;color:#5d4037;background:#faf8f3;border:2px solid #e4dbc8;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-size:1rem;transition:all .2s;display:flex;position:relative}.glossary-filter-toggle:hover{background:#f3efe5;border-color:#8b6914}.glossary-filter-toggle.active{color:#fff;background:#8b6914;border-color:#8b6914}.filter-badge{background:#d32f2f;border-radius:50%;width:8px;height:8px;position:absolute;top:.5rem;right:.5rem}.glossary-results-count{color:#5d4037;background:#f3efe5;border-radius:6px;padding:.5rem 1rem;font-size:.95rem}.glossary-filters-panel{border-top:1px solid #e4dbc8;flex-wrap:wrap;gap:1.5rem;width:100%;padding-top:1rem;display:flex}.glossary-filter-group{flex-direction:column;gap:.5rem;display:flex}.glossary-filter-label{color:#5d4037;font-size:.9rem;font-weight:600}.glossary-filter-select{color:#3e2723;cursor:pointer;background:#fff;border:2px solid #e4dbc8;border-radius:6px;padding:.5rem 1rem;font-size:.95rem}.glossary-filter-select:focus{border-color:#8b6914;outline:none}.glossary-filter-checkbox-label{cursor:pointer;color:#5d4037;border-radius:6px;align-items:center;gap:.5rem;padding:.5rem;transition:background .2s;display:flex}.glossary-filter-checkbox-label:hover{background:#f3efe5}.glossary-filter-checkbox{cursor:pointer;width:18px;height:18px}.glossary-clear-filters{color:#d32f2f;cursor:pointer;background:0 0;border:1px solid #d32f2f;border-radius:6px;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.9rem;transition:all .2s;display:flex}.glossary-clear-filters:hover{color:#fff;background:#d32f2f}.glossary-grid{grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1.5rem;margin-bottom:3rem;display:grid}.glossary-card{cursor:pointer;background:#fff;border:2px solid #e4dbc8;border-radius:12px;padding:1.5rem;transition:all .2s;box-shadow:0 2px 4px #8b69140d}.glossary-card:hover{border-color:#8b6914;transform:translateY(-2px);box-shadow:0 4px 12px #8b691426}.glossary-card:focus{outline-offset:2px;outline:3px solid #8b6914}.glossary-card-header{justify-content:space-between;align-items:flex-start;gap:.5rem;margin-bottom:.75rem;display:flex}.glossary-card-title{color:#3e2723;font-family:serif;font-size:1.3rem;font-weight:600}.glossary-card-erd-badge{color:#fff;background:#8b6914;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;display:flex}.glossary-card-category{color:#8b6914;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.75rem;font-size:.85rem;font-weight:600}.glossary-card-snippet{color:#5d4037;margin-bottom:1rem;font-size:.95rem;line-height:1.6}.glossary-card-tags{flex-wrap:wrap;gap:.5rem;display:flex}.glossary-tag{color:#5d4037;background:#f3efe5;border:1px solid #e4dbc8;border-radius:12px;padding:.25rem .75rem;font-size:.8rem}.glossary-tag-more{color:#8b6914;font-size:.8rem;font-weight:600}.glossary-modal-overlay{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;background:#3e2723b3;justify-content:center;align-items:center;padding:1rem;animation:.2s fadeIn;display:flex;position:fixed;inset:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.glossary-modal{background:#fff;border-radius:16px;width:100%;max-width:900px;max-height:90vh;animation:.3s slideUp;position:relative;overflow-y:auto;box-shadow:0 20px 60px #3e27234d}@keyframes slideUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.glossary-modal-close{float:right;cursor:pointer;z-index:10;background:#fff;border:2px solid #e4dbc8;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;transition:all .2s;display:flex;position:sticky;top:1rem;right:1rem}.glossary-modal-close:hover{color:#fff;background:#d32f2f;border-color:#d32f2f}.glossary-modal-content{clear:both;padding:2rem}.glossary-modal-header{border-bottom:2px solid #e4dbc8;margin-bottom:2rem;padding-bottom:1.5rem}.glossary-modal-title{color:#3e2723;margin-bottom:.75rem;font-family:serif;font-size:2.5rem}.glossary-modal-meta{align-items:center;gap:1rem;margin-bottom:1rem;display:flex}.glossary-modal-category{color:#8b6914;text-transform:uppercase;letter-spacing:.5px;font-size:.9rem;font-weight:600}.glossary-modal-erd-badge{color:#fff;background:#8b6914;border-radius:12px;align-items:center;gap:.5rem;padding:.25rem .75rem;font-size:.85rem;display:flex}.glossary-modal-tags{flex-wrap:wrap;gap:.5rem;display:flex}.glossary-modal-section{margin-bottom:2rem}.glossary-modal-section-title{color:#5d4037;align-items:center;gap:.5rem;margin-bottom:1rem;font-family:serif;font-size:1.3rem;display:flex}.glossary-modal-text{color:#3e2723;font-size:1.05rem;line-height:1.8}.glossary-modal-text p{margin-bottom:1rem}.glossary-modal-interpretive{background:#faf8f3;border-left:4px solid #8b6914;border-radius:8px;padding:1.5rem}.glossary-modal-erd-section{background:#f3efe5;border:2px solid #e4dbc8;border-radius:12px;padding:1.5rem}.glossary-modal-relations{margin-bottom:1.5rem}.glossary-modal-relations-title{color:#5d4037;margin-bottom:.75rem;font-size:1rem;font-weight:600}.glossary-modal-relations-list{margin:0;padding:0;list-style:none}.glossary-modal-relations-list li{background:#fff;border-radius:6px;flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.5rem;padding:.5rem;font-size:.95rem;display:flex}.relation-arrow{color:#8b6914;font-weight:700}.glossary-modal-erd-link{color:#fff;background:#8b6914;border-radius:8px;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-weight:600;text-decoration:none;transition:all .2s;display:inline-flex}.glossary-modal-erd-link:hover{background:#6d5411;transform:translateY(-2px);box-shadow:0 4px 8px #8b69144d}@media (max-width:768px){.glossary-grid{grid-template-columns:1fr}.glossary-header-sanskrit,.glossary-header-title,.glossary-modal-title{font-size:2rem}.glossary-search-input-wrapper{min-width:100%}.glossary-filters-panel{flex-direction:column}}
