/* Additional styling for SEO optimizations */

.breadcrumbs {
    font-size: 0.9rem;
    color: #6b7280;
    padding: 0.5rem 0;
}

.breadcrumbs a {
    color: #1e40af;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Post navigation */
.post-navigation {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.post-navigation a {
    display: block;
    padding: 1rem;
    background-color: #f3f4f6;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.post-navigation a:hover {
    background-color: #e5e7eb;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f9fafb;
    border-radius: 5px;
}

.comment-meta {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Search form */
.search-form {
    display: flex;
    margin: 1rem 0;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #d1d5db;
    border-radius: 5px 0 0 5px;
}

.search-form button {
    padding: 0.5rem 1rem;
    background-color: #1e40af;
    color: white;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.search-form button:hover {
    background-color: #1e3a8a;
}

/* Mobile menu toggle */
@media (max-width: 768px) {
    .post-navigation {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(30, 64, 175, 0.3);
    border-radius: 50%;
    border-top-color: #1e40af;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
