/* SEO Enhancement CSS */

/* Logo H1 Styling - Make it look like the original logo div */
.logo h1 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    display: inline;
    color: inherit;
}

/* Social Share Styling */
.social-share-container {
    margin: 1rem 0;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    max-width: 220px;
    display: inline-block;
}

.share-title {
    font-weight: bold;
    margin-bottom: 0.3rem;
    font-size: 0.7rem;
    color: #555;
}

.share-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.share-btn {
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
}

.share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

/* Structured breadcrumb navigation */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background-color: #f8f9fa;
    border-radius: 0.25rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item + .breadcrumb-item {
    padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #6c757d;
    content: "/";
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

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

.breadcrumb-item.active {
    color: #6c757d;
}

/* SEO Optimized section headings */
.section-heading {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1.5rem 0 1rem;
    color: var(--primary);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

/* Article/content meta info for SEO */
.content-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Tag cloud for keywords */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.tag {
    background: #f1f3f5;
    padding: 0.25rem 0.75rem;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #495057;
    text-decoration: none;
    transition: background 0.3s;
}

.tag:hover {
    background: #e9ecef;
    text-decoration: underline;
}

/* SEO enhanced footer */
.seo-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #6c757d;
    text-decoration: none;
}

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

/* Adding semantic borders to improve content structure */
.content-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.content-section:last-child {
    border-bottom: none;
}

/* Focus states - blue outline removed but kept for keyboard users */
:focus {
    outline: none;
}

/* Keep outline only for keyboard navigation - better accessibility */
:focus-visible {
    outline: 2px solid rgba(108, 99, 255, 0.4);
    outline-offset: 2px;
}

/* Skip to main content link - hidden but available for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 8px;
    background-color: var(--primary);
    color: white;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Improve SEO for images with figure/figcaption */
figure {
    margin: 1rem 0;
}

figcaption {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    padding-top: 0.5rem;
}
