/* SEO Enhancement Styles */

/* Semantic HTML5 improvements */
article, aside, details, figcaption, figure, footer, header, main, nav, section {
    display: block;
}

/* Improve heading hierarchy for SEO */
h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Ensure links are crawlable */
a {
    background-color: transparent;
    text-decoration: none;
}

a:active,
a:hover {
    outline: 0;
}

/* Image optimization for SEO */
img {
    border: 0;
    max-width: 100%;
    height: auto;
}

/* Structured data visibility */
[itemscope] {
    display: block;
}

/* Skip to main content for accessibility and SEO */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000;
    color: #fff;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Breadcrumb schema styling */
.breadcrumb {
    padding: 10px 0;
    margin-bottom: 20px;
    list-style: none;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li+li:before {
    content: "/ ";
    padding: 0 5px;
    color: #ccc;
}

/* Rich snippets enhancement */
.rating {
    color: #f90;
}

.price {
    font-weight: bold;
    color: #090;
}

/* Local business schema styling */
.business-hours,
.business-address {
    margin: 10px 0;
}

/* FAQ schema styling */
.faq-item {
    margin-bottom: 20px;
}

.faq-question {
    font-weight: bold;
    margin-bottom: 5px;
}

.faq-answer {
    margin-left: 15px;
}

/* Review schema styling */
.review {
    border-left: 3px solid #3D5198;
    padding-left: 15px;
    margin: 15px 0;
}

.review-author {
    font-weight: bold;
}

.review-rating {
    color: #f90;
}

/* Service schema styling */
.service-item {
    margin-bottom: 20px;
}

.service-name {
    font-weight: bold;
    font-size: 1.2em;
}

/* Person schema styling */
.person-card {
    margin: 15px 0;
}

.person-name {
    font-weight: bold;
    font-size: 1.1em;
}

.person-title {
    color: #666;
    font-style: italic;
}

/* Organization schema styling */
.organization-info {
    margin: 20px 0;
}

/* Event schema styling */
.event {
    border: 1px solid #ddd;
    padding: 15px;
    margin: 15px 0;
}

.event-name {
    font-weight: bold;
    font-size: 1.2em;
}

.event-date {
    color: #666;
}

/* Article schema styling */
article header {
    margin-bottom: 20px;
}

article .author {
    font-style: italic;
    color: #666;
}

article .published-date {
    color: #999;
    font-size: 0.9em;
}

/* Video schema styling */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Mobile optimization for SEO */
@media (max-width: 767px) {
    h1 {
        font-size: 1.5em;
    }
    
    .breadcrumb {
        font-size: 0.9em;
    }
}

/* Print optimization for SEO */
@media print {
    .skip-link,
    nav,
    .social-share,
    .advertisement {
        display: none;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
}
