/* Course SEO Optimizations - Custom CSS */

/* Improved image handling */
.lazy-image {
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.lazy-image.loaded {
    opacity: 1;
}

/* FAQ Styling */
.faq-item h3 {
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-item h3:hover {
    color: #1e40af;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-answer.open {
    max-height: 1000px;
    opacity: 1;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Content freshness indicator */
.last-updated {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.last-updated svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

/* SEO-focused content styling */
.key-highlight {
    background-color: rgba(96, 165, 250, 0.1);
    border-left: 3px solid #3b82f6;
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0.25rem;
}

.key-highlight h4 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Course schema visual indicator (hidden) */
.schema-indicator {
    display: none;
}
