/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* A-Z Navigation */

.glossary-az-nav {
    background: #f5f5f5;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.glossary-az-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.glossary-az-nav li {
    margin: 0;
}

.glossary-az-nav a {
    display: inline-block;
    padding: 8px 12px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-weight: bold;
    transition: background 0.3s;
}

.glossary-az-nav a:hover {
    background: #005177;
    color: #fff !important;
}

.glossary-az-nav .inactive {
    display: inline-block;
    padding: 8px 12px;
    color: #ccc;
    font-weight: bold;
}

/* Letter Headers */
.glossary-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px; /* Offset for sticky nav */
}

.glossary-letter-header {
    font-size: 2.5em;
    color: #0073aa;
    border-bottom: 3px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Glossary Items */
.glossary-items {
    display: grid;
    gap: 20px;
}

.glossary-item {
    padding: 15px;
    border-left: 3px solid #0073aa;
    background: #fafafa;
}

.glossary-term {
    margin: 0 0 10px 0;
    font-size: 1.3em;
}

.glossary-term a {
    color: #0073aa;
    text-decoration: none;
}

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

.glossary-definition {
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {

    .glossary-az-nav {
	position: inherit;
    }

    .glossary-az-nav ul {
        gap: 5px;
    }
    
    .glossary-az-nav a,
    .glossary-az-nav .inactive {
        padding: 6px 10px;
        font-size: 0.9em;
    }
}
