/* SEO Optimization CSS */

/* Ensure images have proper alt attribute styles */
img {
    max-width: 100%;
    height: auto;
}

/* Structured data styles */
[itemscope] {
    /* Add styles for structured data */
}

/* Breadcrumb navigation SEO optimization */
.breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
}

/* Article title SEO optimization */
.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

/* Article content SEO optimization */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    color: #1a1a1a;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    color: #1a1a1a;
}

.article-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem 0;
    color: #1a1a1a;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Link SEO optimization */
.article-content a {
    color: #007bff;
    text-decoration: underline;
}

.article-content a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* Image SEO optimization */
.article-content img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 1rem 0;
}

/* Code block SEO optimization */
.article-content pre {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
    overflow-x: auto;
}

.article-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

/* Blockquote SEO optimization */
.article-content blockquote {
    border-left: 4px solid #007bff;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #6c757d;
}

/* Table SEO optimization */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.article-content th,
.article-content td {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: left;
}

.article-content th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Responsive images */
.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy loading images */
.lazy-img {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy-img.loaded {
    opacity: 1;
}

/* Structured data styles */
.schema-org {
    /* Add styles for schema.org markup */
}

/* Social media share buttons SEO optimization */
.social-share {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.social-share h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #495057;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.8;
    text-decoration: none;
    color: white;
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

/* Related articles SEO optimization */
.related-articles {
    margin: 3rem 0;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.related-articles h3 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.related-article-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.related-article-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.related-article-item a {
    color: #007bff;
    text-decoration: none;
}

.related-article-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Mobile SEO optimization */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
    
    .share-buttons {
        justify-content: center;
    }
}

/* Print styles SEO optimization */
@media print {
    .article-content {
        font-size: 12pt;
        line-height: 1.6;
    }
    
    .article-title {
        font-size: 18pt;
    }
    
    .social-share,
    .related-articles {
        display: none;
    }
} 