/* Wall Ministries - Enhanced Blog Styles
   Modern Blog Layout with Green Gradients, Fixed Header Support, Enhanced Search, and Enhanced Visual Design */

/* Blog Page Layout - Fixed Header Compensation */
body {
    padding-top: 80px; /* Compensate for fixed header */
}

.page-banner {
    margin-top: 0; /* Remove conflicting margin since body has padding-top */
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

/* Search and Filter Styles */
.blog-filters {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.search-form {
    flex: 1;
    max-width: 700px;
}

.search-group {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.search-input-wrapper input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-medium);
    box-shadow: 0 0 0 3px rgba(76, 149, 108, 0.1);
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-medium);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.search-btn:hover {
    color: var(--primary-dark);
}

.filter-group select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    background-color: var(--background-light);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-medium);
}

.clear-filters {
    color: var(--error-color);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--error-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.clear-filters:hover {
    background-color: var(--error-color);
    color: var(--text-light);
}

.results-info {
    font-size: 0.9rem;
    color: #666;
    text-align: right;
}

.filter-results {
    color: var(--primary-medium);
    font-weight: 600;
}

.total-posts {
    color: #666;
}

/* Main Blog Page Layout */
.blog-page {
    margin-top: var(--spacing-lg);
}

/* Blog Layout Container */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2.5rem;
    align-items: start;
}

/* Main Content Area (Search + Blog Posts) */
.blog-main-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm); /* Changed from var(--spacing-md) to var(--spacing-sm) */
    min-width: 0;
}

/* Blog Header Section - Search and Recent Posts Side by Side */
.blog-header-section {
    display: grid;
    grid-template-columns: 2fr 350px;
    gap: 2.5rem;
    margin-bottom: var(--spacing-lg);
    align-items: start;
}

.blog-content {
    min-width: 0; /* Prevent grid overflow */
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Enhanced Blog Post Cards */
.blog-post {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 77, 46, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(76, 149, 108, 0.1);
    position: relative;
}

.blog-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 77, 46, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-post:hover::before {
    opacity: 1;
}

/* Posts with images */
.blog-post.has-image .post-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.blog-post.has-image .post-content {
    padding: var(--spacing-lg);
    position: relative;
}

/* Posts without images */
.blog-post.no-image .post-content {
    padding: var(--spacing-lg);
    border-radius: 15px;
    position: relative;
}

.post-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-post:hover .post-image img {
    transform: scale(1.05);
}

.post-content h2 {
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 600;
}

.post-content h2 a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: bottom;
    transition: all 0.3s ease;
}

.post-content h2 a:hover {
    color: var(--primary-medium);
    background-size: 100% 2px;
}

/* Enhanced Post Meta */
.post-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    color: #6c757d;
    padding: var(--spacing-sm);
    background: linear-gradient(90deg, rgba(76, 149, 108, 0.05), rgba(212, 163, 115, 0.05));
    border-radius: 8px;
    border-left: 3px solid var(--primary-light);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.post-meta .post-date::before {
    content: "📅";
    font-size: 0.9em;
}

.post-meta .post-author::before {
    content: "✍️";
    font-size: 0.9em;
}

.post-excerpt p {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-size: 1rem;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-medium);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(76, 149, 108, 0.1), rgba(76, 149, 108, 0.05));
    transition: all 0.3s ease;
    border: 1px solid rgba(76, 149, 108, 0.2);
}

.read-more::after {
    content: "→";
    transition: transform 0.3s ease;
}

.read-more:hover {
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
    color: white;
    transform: translateX(5px);
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Enhanced Sidebar - Spans Full Height */
.sidebar {
    position: sticky;
    top: calc(80px + var(--spacing-lg));
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.blog-layout .sidebar {
    position: sticky;
    top: calc(80px + var(--spacing-lg));
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sidebar-widget {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    padding: var(--spacing-lg);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(26, 77, 46, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(76, 149, 108, 0.1);
    position: relative;
    overflow: hidden;
}

.sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light), var(--accent));
}

.sidebar-widget h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-md);
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: var(--spacing-sm);
    position: relative;
}

.sidebar-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
}

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

.recent-posts li {
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.recent-posts li:hover {
    background: linear-gradient(90deg, rgba(76, 149, 108, 0.05), rgba(212, 163, 115, 0.05));
    transform: translateX(5px);
}

.recent-posts li:last-child {
    margin-bottom: 0;
}

.recent-posts a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
    display: block;
    font-weight: 500;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: var(--primary-medium);
}

/* Newsletter Widget Enhancement */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-medium) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.newsletter-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100px;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(15deg);
}

.newsletter-widget h3,
.newsletter-widget p {
    color: var(--text-light);
    position: relative;
    z-index: 2;
}

/* Enhanced Pagination */
.pagination-wrapper {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-md);
    border-top: 2px solid var(--border-color);
}

.pagination-info {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.pagination-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--primary-medium);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    min-width: 44px;
    justify-content: center;
    background: white;
}

.pagination-link:hover {
    background-color: var(--primary-light);
    color: var(--text-light);
    border-color: var(--primary-light);
    transform: translateY(-1px);
}

.pagination-link.current-page {
    background-color: var(--primary-medium);
    color: var(--text-light);
    border-color: var(--primary-medium);
    font-weight: 600;
}

.pagination-link.first-page,
.pagination-link.last-page {
    font-weight: 600;
}

.pagination-link.prev-page,
.pagination-link.next-page {
    padding: 0.6rem 1.2rem;
    font-weight: 600;
}

.pagination-ellipsis {
    padding: 0.6rem 0.5rem;
    color: #666;
    font-weight: bold;
}

/* No Posts State */
.no-posts {
    text-align: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    border: 2px dashed rgba(76, 149, 108, 0.2);
    margin: var(--spacing-lg) 0;
}

.no-posts-content i {
    font-size: 4rem;
    color: var(--primary-medium);
    margin-bottom: var(--spacing-md);
}

.no-posts-content h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-sm);
}

.no-posts-content p {
    color: #666;
    margin-bottom: var(--spacing-md);
}

/* Single Post Page Enhancements */
.single-post .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.single-post .post-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    align-items: start;
}

/* Enhanced Post Content */
.single-post .post-content {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(26, 77, 46, 0.1), 0 8px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(76, 149, 108, 0.1);
    position: relative;
}

.single-post .post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-medium), var(--primary-light), var(--accent));
}

/* Enhanced Post Header */
.post-header {
    padding: var(--spacing-xl) var(--spacing-lg) var(--spacing-lg);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    border-bottom: 1px solid rgba(76, 149, 108, 0.1);
    position: relative;
}

.post-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin: 0 0 var(--spacing-md) 0;
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-header .post-meta {
    background: linear-gradient(90deg, rgba(76, 149, 108, 0.08), rgba(212, 163, 115, 0.08));
    padding: var(--spacing-md);
    border-radius: 12px;
    border-left: 4px solid var(--primary-light);
    margin: 0;
}

/* Featured Image Enhancement */
.post-featured-image {
    margin: 0;
    position: relative;
    overflow: hidden;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

/* Enhanced Post Body */
.post-body {
    padding: var(--spacing-xl);
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-body h2,
.post-body h3,
.post-body h4 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary-dark);
    position: relative;
}

.post-body h2 {
    font-size: 1.8rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--primary-medium), var(--primary-light)) 1;
    padding-bottom: var(--spacing-sm);
}

.post-body h3 {
    font-size: 1.4rem;
}

.post-body a {
    color: var(--primary-medium);
    text-decoration: underline;
    text-decoration-color: rgba(76, 149, 108, 0.3);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.post-body a:hover {
    color: var(--primary-dark);
    text-decoration-color: var(--primary-dark);
}

/* Enhanced Post Footer */
.post-footer {
    padding: var(--spacing-xl);
    border-top: 1px solid rgba(76, 149, 108, 0.1);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.post-tags .tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-medium));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    margin-right: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 149, 108, 0.2);
}

.post-tags .tag:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-medium));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 149, 108, 0.3);
}

/* Enhanced Share Buttons */
.post-share {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.post-share span {
    font-weight: 600;
    color: var(--primary-dark);
    margin-right: var(--spacing-sm);
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.share-btn:hover::before {
    opacity: 1;
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #42a5f5);
}

.share-btn.email {
    background: linear-gradient(135deg, var(--primary-medium), var(--primary-light));
}

/* Enhanced Related Posts */
.related-posts {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.related-posts::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-medium), var(--primary-light), var(--accent));
}

.related-posts h2 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-lg);
    font-size: 1.8rem;
    text-align: center;
    font-weight: 600;
    position: relative;
}

.related-posts h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
    border-radius: 2px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.related-post {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(26, 77, 46, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(76, 149, 108, 0.1);
    position: relative;
}

.related-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-medium), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 77, 46, 0.12), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.related-post:hover::before {
    opacity: 1;
}

.related-post-image {
    position: relative;
    overflow: hidden;
    height: 180px;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-post:hover .related-post-image img {
    transform: scale(1.08);
}

.related-post h3 {
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.4;
    color: var(--primary-dark);
    font-weight: 600;
}

.related-post-date {
    padding: 0 var(--spacing-md) var(--spacing-md);
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Admin Notice Enhancement */
.admin-notice {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffc107;
    border-left: 4px solid #ff9800;
    color: #856404;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-radius: 10px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

/* Responsive Design Enhancements */
@media (max-width: 992px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .blog-layout .sidebar {
        position: static;
        order: -1; /* Move recent posts above main content on tablet */
    }
    
    .single-post .post-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-form {
        max-width: 100%;
    }
    
    .results-info {
        text-align: center;
        margin-top: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .blog-layout {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .blog-layout .sidebar {
        order: -1; /* Move recent posts above main content on mobile */
        width: 100%;
        margin: 0 auto;
        position: static;
    }
    
    .blog-main-content {
        order: 1; /* Ensure main content appears after sidebar on mobile */
        width: 100%;
    }
    
    .sidebar-widget {
        width: 100%;
        box-sizing: border-box;
    }
    
    .blog-filters {
        width: 100%;
        margin: 0 auto;
    }
    
    .sidebar {
        top: calc(70px + var(--spacing-md));
    }
    
    .post-header {
        padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
    }
    
    .post-header h1 {
        font-size: 2rem;
    }
    
    .post-body {
        padding: var(--spacing-md);
        font-size: 1rem;
    }
    
    .post-footer {
        padding: var(--spacing-md);
    }
    
    .post-share {
        justify-content: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .pagination-link {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .search-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input-wrapper {
        min-width: auto;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-posts {
        gap: var(--spacing-md);
    }
    
    .post-content {
        padding: var(--spacing-md);
    }
    
    .post-header h1 {
        font-size: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
        text-align: center;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .sidebar-widget {
        padding: var(--spacing-md);
    }
    
    .related-posts {
        padding: var(--spacing-md);
    }
    
    .search-group {
        gap: var(--spacing-xs);
    }
    
    .pagination-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .pagination-link.prev-page,
    .pagination-link.next-page {
        padding: 0.5rem 1rem;
    }
}