/**
 * VR GPT Blog Generator Public Styles
 */

/* Enhanced Content Wrapper */
.vr-gpt-enhanced-content {
    position: relative;
}

/* Table of Contents */
.vr-gpt-toc {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.vr-gpt-toc h3 {
    margin-top: 0;
    font-size: 1.2em;
    color: #333;
}

.vr-gpt-toc .toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vr-gpt-toc .toc-list li {
    margin: 8px 0;
}

.vr-gpt-toc .toc-level-2 {
    padding-left: 0;
}

.vr-gpt-toc .toc-level-3 {
    padding-left: 20px;
}

.vr-gpt-toc .toc-level-4 {
    padding-left: 40px;
}

.vr-gpt-toc a {
    text-decoration: none;
    color: #0073aa;
    transition: color 0.3s ease;
}

.vr-gpt-toc a:hover {
    color: #005a87;
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    margin: 30px 0;
    background: #f5f5f5;
    padding: 25px;
    border-radius: 8px;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-question {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 1.1em;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
}

/* Related Posts */
.vr-gpt-related-posts {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.vr-gpt-related-posts h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.4em;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-post-item {
    background: white;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-post-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.related-post-item h4 {
    margin: 10px 0;
    font-size: 1.1em;
}

.related-post-item h4 a {
    color: #333;
    text-decoration: none;
}

.related-post-item h4 a:hover {
    color: #0073aa;
}

.related-post-thumb {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Inline Images */
.vr-gpt-inline-image {
    margin: 30px 0;
    text-align: center;
}

.vr-gpt-inline-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.vr-gpt-inline-image figcaption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #666;
    font-style: italic;
}

.image-attribution {
    display: block;
    margin-top: 5px;
    font-size: 0.8em;
    color: #999;
}

/* Schema Badge */
.vr-gpt-schema-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4caf50;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8em;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .vr-gpt-toc {
        padding: 15px;
    }
    
    .faq-section {
        padding: 20px;
    }
}

/* Print Styles */
@media print {
    .vr-gpt-toc,
    .vr-gpt-related-posts,
    .image-attribution {
        display: none;
    }
}