/* 
 * Main Custom Styles
 * Additional styles beyond the main style.css
 */

/* Post Navigation */
.post-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.post-navigation .nav-title {
    display: block;
    font-weight: 600;
    color: #111;
}

/* Footer Widgets */
.footer-widgets {
    padding: 2rem 0;
    border-bottom: 1px solid #374151;
}

.footer-widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-widget .widget-title {
    color: #fff;
    border-bottom-color: #374151;
}

/* Page Links (Multi-page posts) */
.page-links {
    margin: 2rem 0;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.375rem;
}

.page-links a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    margin: 0 0.25rem;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
}

.page-links a:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

/* Entry Footer (Categories and Tags) */
.entry-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.entry-footer span {
    display: inline-block;
    margin-right: 1rem;
}

/* Archive Description */
.archive-description {
    margin-top: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-left: 4px solid #2563eb;
    border-radius: 0.25rem;
}

/* Page Header */
.page-header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.page-title {
    margin-bottom: 0.5rem;
}

/* Error 404 Links */
.error-404-links ul {
    list-style: none;
    margin: 1rem 0;
}

.error-404-links li {
    padding: 0.5rem 0;
}

/* Comment Navigation */
.comment-navigation {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

/* Comment Form */
.comment-form {
    margin-top: 2rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    margin-bottom: 1rem;
}

.comment-form .form-submit {
    margin-top: 1rem;
}

/* Post Thumbnail */
.post-thumbnail {
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.post-thumbnail a:hover img {
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .post-navigation .nav-links {
        flex-direction: column;
    }

    .footer-widget-area {
        grid-template-columns: 1fr;
    }

    .comment-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}