.glossary-header {
    text-align: center;
    padding: 3rem 0;
    background: #f8f9fa;
    margin-bottom: 2rem;
}

.glossary-category {
    margin-bottom: 3rem;
}

.glossary-category h2 {
    border-bottom: 2px solid #2ecc71;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.glossary-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.glossary-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.glossary-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.glossary-item h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.glossary-item a {
    color: #27ae60;
    text-decoration: none;
}

.glossary-item a:hover {
    text-decoration: underline;
}

.glossary-term {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.term-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.term-category {
    color: #7f8c8d;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    display: inline-block;
    background: #ecf0f1;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
}

.term-hero-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.term-body h2 {
    font-size: 1.8rem;
    color: #27ae60;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 5px solid #27ae60;
}

.term-body h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.term-body p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.term-body ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.term-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.related-pages,
.external-links,
.term-keywords {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keyword-tag {
    background: #f1f8e9;
    color: #558b2f;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.glossary-link {
    color: #27ae60;
    text-decoration: underline;
    font-weight: 500;
}