/* Glossary Single Post Styles */

.glossary-single-wrapper {
    background: #ffffff;
    min-height: 100vh;
    padding: 40px 20px 80px;
}

.glossary-single-container {
    max-width: 900px;
    margin: 0 auto;
}

/* Breadcrumbs */
.glossary-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
    padding: 15px 0;
}

.glossary-breadcrumbs a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.glossary-breadcrumbs a:hover {
    color: #2c6bb8;
    text-decoration: underline;
}

.glossary-breadcrumbs .separator {
    color: #ccc;
}

.glossary-breadcrumbs .current {
    color: #333;
}

/* Header */
.glossary-single-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
}

.glossary-single-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.2;
    margin: 0;
}

/* Featured Image */
.glossary-featured-image {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.glossary-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Content */
.glossary-single-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 60px;
}

.glossary-single-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 40px 0 20px;
    line-height: 1.3;
}

.glossary-single-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 35px 0 18px;
    line-height: 1.3;
}

.glossary-single-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px;
}

.glossary-single-content p {
    margin-bottom: 20px;
}

.glossary-single-content ul,
.glossary-single-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.glossary-single-content li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.glossary-single-content strong,
.glossary-single-content b {
    font-weight: 600;
    color: #1a1a1a;
}

.glossary-single-content a {
    color: #4a90e2;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.glossary-single-content a:hover {
    color: #2c6bb8;
}

.glossary-single-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;
    background: #f9f9f9;
    border-left: 4px solid #4a90e2;
    font-style: italic;
    color: #555;
}

.glossary-single-content code {
    padding: 2px 6px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.glossary-single-content pre {
    margin: 25px 0;
    padding: 20px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow-x: auto;
}

.glossary-single-content pre code {
    padding: 0;
    background: none;
    border: none;
}

.glossary-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
}

/* Footer Navigation */
.glossary-single-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.glossary-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.nav-previous,
.nav-next {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-next {
    text-align: right;
}

.nav-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-title:hover {
    color: #2c6bb8;
}

/* Back to Glossary */
.back-to-glossary {
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: #4a90e2;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #2c6bb8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .glossary-single-wrapper {
        padding: 30px 15px 60px;
    }
    
    .glossary-single-title {
        font-size: 2rem;
    }
    
    .glossary-single-content {
        font-size: 1.05rem;
    }
    
    .glossary-single-content h2 {
        font-size: 1.75rem;
    }
    
    .glossary-single-content h3 {
        font-size: 1.35rem;
    }
    
    .glossary-navigation {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .nav-next {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .glossary-single-title {
        font-size: 1.75rem;
    }
    
    .glossary-single-content {
        font-size: 1rem;
    }
    
    .glossary-single-content h2 {
        font-size: 1.5rem;
    }
    
    .glossary-single-content h3 {
        font-size: 1.25rem;
    }
    
    .back-link {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}
