/* Glossary Specific Styles */

/* Breadcrumb Navigation */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: #333;
}

/* Header Styles */
header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.header-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Main Content Sections */
main section {
    margin-bottom: 3rem;
}

main section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

main section h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

main section h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

main section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #333;
}

/* Term Definition Section */
.term-definition {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

/* Latest Trends Section */
.latest-trends {
    background-color: #e8f4f8;
    padding: 2rem;
    border-radius: 8px;
}

/* AI Integration Section */
.ai-integration {
    background-color: #f0f8f0;
    padding: 2rem;
    border-radius: 8px;
}

/* Common Issues Section */
.common-issues {
    background-color: #fff3cd;
    padding: 2rem;
    border-radius: 8px;
}

/* Related Links Section */
.related-links ul {
    list-style: none;
    padding: 0;
}

.related-links li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.related-links li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.related-links a {
    color: #0066cc;
    text-decoration: none;
}

.related-links a:hover {
    text-decoration: underline;
}

/* Term Navigation */
.term-navigation {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.back-to-index {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.back-to-index:hover {
    background-color: #2980b9;
}

/* Glossary Index Styles */
.glossary-intro {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.term-category {
    margin-bottom: 2.5rem;
}

.term-category h3 {
    font-size: 1.6rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #3498db;
}

.term-links {
    list-style: none;
    padding: 0;
}

.term-links li {
    margin-bottom: 1.5rem;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.term-links li:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.term-links a {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.term-links h4 {
    color: #0066cc;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.term-links p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.glossary-navigation {
    text-align: center;
    margin-top: 3rem;
}

.back-to-home {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.back-to-home:hover {
    background-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    main section h2 {
        font-size: 1.5rem;
    }

    main section h3 {
        font-size: 1.2rem;
    }

    .term-definition,
    .latest-trends,
    .ai-integration,
    .common-issues {
        padding: 1.5rem;
    }

    .term-links h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.6rem;
    }

    main section h2 {
        font-size: 1.3rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }

    .term-definition,
    .latest-trends,
    .ai-integration,
    .common-issues {
        padding: 1rem;
    }
}
