/* Additional responsive styles */
@media(max-width:480px) {
    .site-title {
        font-size: 20px
    }

    .post-title {
        font-size: 16px
    }

    .single-post .entry-title {
        font-size: 24px
    }

    .container {
        padding: 0 15px
    }
}

/* Print styles */
@media print {

    .site-header,
    .site-footer,
    .sidebar,
    .breadcrumbs,
    .post-meta {
        display: none
    }

    .site-content {
        width: 100%;
        margin: 0;
        padding: 0
    }
}

/* Search form styles */
.search-form {
    display: flex;
    gap: 8px;
    margin: 20px 0
}

.search-field {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    font-size: 15px
}

.search-submit {
    padding: 10px 20px;
    background: #0066cc;
    color: #fff;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500
}

.search-submit:hover {
    background: #004499
}

/* Archive header */
.archive-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e5e5
}

.archive-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px
}

.archive-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6
}

/* Related posts */
.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #e5e5e5
}

.related-posts h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 20px
}

/* Button styles */
.button,
button {
    display: inline-block;
    padding: 12px 24px;
    background: #0066cc;
    color: #fff;
    border: 0;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background .3s
}

.button:hover,
button:hover {
    background: #004499;
    color: #fff
}

/* Error 404 */
.error-404 {
    text-align: center;
    padding: 40px 20px
}

.error-404 .entry-title {
    font-size: 48px;
    margin-bottom: 20px
}

.error-404 .entry-content {
    max-width: 600px;
    margin: 0 auto
}

.error-404 h2 {
    font-size: 24px;
    margin: 30px 0 15px;
    text-align: left
}

.error-404 .post-grid {
    text-align: left
}

/* No posts message */
.no-posts {
    text-align: center;
    padding: 60px 20px
}

.no-posts h2 {
    font-size: 28px;
    margin: 0 0 15px
}

.no-posts p {
    font-size: 16px;
    color: #666
}

/* Accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: #000;
    color: #fff;
    padding: 10px;
    z-index: 9999
}

.skip-link:focus {
    left: 0
}

/* Loading states */
.loading {
    opacity: .6;
    pointer-events: none
}

/* Focus styles */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #0066cc;
    outline-offset: 2px
}

/* Selection */
::selection {
    background: #0066cc;
    color: #fff
}

::-moz-selection {
    background: #0066cc;
    color: #fff
}