/* Single Post Page Styling - Match Homepage */

/* Global gradient background removed - now using theme-specific backgrounds from style.css and theme-switcher.css */

/* Override container width globally for single posts */
.single .container,
.single-post .container {
    max-width: 1400px !important;
    padding: 0 !important;
}

/* Header alignment for single posts - make it full width like homepage */
.single .site-header {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1rem 2rem !important;
}

.single .site-header .container {
    max-width: 1200px !important;
    padding: 0 20px !important;
}

/* Single post content area - contained within main */
.single-post-content {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow: visible !important;
}

/* Remove sidebar completely */
.sidebar,
#secondary {
    display: none !important;
}

/* Single post article styling - exactly like comments-wrapper */
.single-post {
    background: rgba(255, 255, 255, 0.95);
    /* backdrop-filter: blur(20px); Removed to prevent containing block for fixed chatbox */
    border-radius: 0;
    padding: 4rem 6rem;
    box-shadow: none;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px !important;
}

/* Post header */
.post-header {
    text-align: center;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(30, 64, 175, 0.1);
}

/* Post title - match homepage h1 style */
.post-title {
    font-family: var(--font-heading) !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
    letter-spacing: -0.02em;
}

/* Post meta */
.post-meta-single {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: #64748b;
}

.post-meta-single span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.post-date,
.post-reading-time,
.post-category {
    font-weight: 500;
}

/* Featured image - Optimized for portrait images */
.post-featured-image {
    margin: 2rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 64, 175, 0.2);
    /* Narrower width for portrait images */
    max-width: 700px;
    width: 100%;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    /* No max-height - let portrait images be naturally tall */
}

/* Post content - match homepage typography */
.post-content-single {
    font-family: var(--font-primary) !important;
    font-size: 1.125rem !important;
    line-height: 1.8 !important;
    color: #334155 !important;
    margin-top: 2.5rem;
    overflow: visible !important;
}

/* WordPress Image Alignment Classes */
.post-content-single img {
    max-width: 100%;
    height: auto;
}

/* Gutenberg Block Images */
.post-content-single .wp-block-image,
.post-content-single figure.wp-block-image {
    margin: 1.5rem 0;
}

.post-content-single .wp-block-image.alignleft,
.post-content-single .wp-block-image.alignright,
.post-content-single figure.wp-block-image.alignleft,
.post-content-single figure.wp-block-image.alignright {
    max-width: 45%;
}

.post-content-single .wp-block-image.alignleft,
.post-content-single figure.wp-block-image.alignleft {
    float: left !important;
    margin: 0.5rem 2rem 1.5rem 0 !important;
}

.post-content-single .wp-block-image.alignright,
.post-content-single figure.wp-block-image.alignright {
    float: right !important;
    margin: 0.5rem 0 1.5rem 2rem !important;
}

.post-content-single .wp-block-image.aligncenter,
.post-content-single figure.wp-block-image.aligncenter {
    text-align: center;
    margin: 2rem auto;
    display: block;
}

.post-content-single .wp-block-image img,
.post-content-single figure.wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* Gutenberg figure captions */
.post-content-single figure.wp-block-image figcaption {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    padding: 0.5rem 0.75rem;
    font-style: italic;
    margin-top: 0.5rem;
}

/* Classic Editor Image Alignment */
.post-content-single .alignleft {
    float: left !important;
    margin: 0.5rem 2rem 1.5rem 0 !important;
    max-width: 45%;
}

.post-content-single .alignright {
    float: right !important;
    margin: 0.5rem 0 1.5rem 2rem !important;
    max-width: 45%;
}

.post-content-single .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    clear: both;
}

.post-content-single .alignnone {
    margin: 1.5rem 0;
}

/* Image captions */
.post-content-single .wp-caption {
    max-width: 100%;
}

.post-content-single .wp-caption.alignleft {
    float: left !important;
    margin: 0.5rem 2rem 1.5rem 0 !important;
    max-width: 45%;
}

.post-content-single .wp-caption.alignright {
    float: right !important;
    margin: 0.5rem 0 1.5rem 2rem !important;
    max-width: 45%;
}

.post-content-single .wp-caption.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    clear: both;
}

.post-content-single .wp-caption img {
    display: block;
    width: 100%;
    height: auto;
}

.post-content-single .wp-caption-text {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    padding: 0.5rem 0.75rem;
    font-style: italic;
    background: rgba(241, 245, 249, 0.5);
    border-radius: 0 0 8px 8px;
}

/* Clear floats after aligned images */
.post-content-single::after {
    content: "";
    display: table;
    clear: both;
}

/* Ensure paragraphs work with floated images */
.post-content-single > p {
    display: block;
    width: auto;
}

/* Add clearfix for elements after floated images */
.post-content-single > *:not(.alignleft):not(.alignright):not(.wp-block-image) {
    display: block;
}

.post-content-single h1,
.post-content-single h2,
.post-content-single h3,
.post-content-single h4,
.post-content-single h5,
.post-content-single h6 {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-top: 1.5rem !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em;
}

.post-content-single h2 {
    font-size: 2.25rem !important;
    color: #1e40af !important;
    font-weight: 700 !important;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid rgba(30, 64, 175, 0.1);
}

.post-content-single h3 {
    font-size: 1.75rem !important;
    color: #1e3a8a !important;
    font-weight: 700 !important;
}

.post-content-single h4 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.post-content-single p {
    margin-bottom: 0.75rem !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    font-size: 1.125rem !important;
    overflow: visible !important;
}

.post-content-single a {
    color: #3b82f6 !important;
    text-decoration: none;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.post-content-single a:hover {
    color: #1e40af !important;
    border-bottom-color: #1e40af;
}

/* Lists */
.post-content-single ul,
.post-content-single ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.post-content-single li {
    margin-bottom: 0.5rem;
    color: #475569;
    line-height: 1.6;
}

.post-content-single ul li {
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}

.post-content-single ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: 600;
}

/* Images in content */
.post-content-single img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.15);
}

.post-content-single figure {
    margin: 2rem 0;
}

.post-content-single figcaption {
    text-align: center;
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Blockquotes */
.post-content-single blockquote {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-left: 4px solid #3b82f6;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 8px;
    font-style: italic;
    color: #475569;
}

/* Code blocks */
.post-content-single pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 12px;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-content-single code {
    background: rgba(30, 64, 175, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #1e40af;
}

.post-content-single pre code {
    background: none;
    padding: 0;
    color: #e2e8f0;
}

/* Tables */
.post-content-single table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(155, 133, 121, 0.1);
}

.post-content-single th {
    background: linear-gradient(135deg, #9b8579 0%, #b5a295 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.post-content-single td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.post-content-single tr:last-child td {
    border-bottom: none;
}

/* Dark theme table styles */
body[data-theme="dark"] .post-content-single table {
    background: #1e293b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .post-content-single th {
    background: linear-gradient(135deg, #475569 0%, #64748b 100%);
    color: #f1f5f9;
}

body[data-theme="dark"] .post-content-single td {
    color: #cbd5e1;
    border-bottom-color: #334155;
}

/* Mobile responsive tables */
@media (max-width: 768px) {
    .post-content-single table {
        font-size: 0.875rem;
        margin: 1.5rem 0;
    }
    
    .post-content-single th,
    .post-content-single td {
        padding: 0.75rem 0.5rem;
    }
    
    .post-content-single th {
        text-align: center;
        font-size: 0.8rem;
    }
    
    /* Make tables horizontally scrollable on mobile */
    .post-content-single table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .post-content-single table thead,
    .post-content-single table tbody,
    .post-content-single table tr {
        display: table;
        width: 100%;
        table-layout: fixed;
    }
    
    .post-content-single table th,
    .post-content-single table td {
        display: table-cell;
        white-space: normal;
        word-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .post-content-single table {
        font-size: 0.8rem;
    }
    
    .post-content-single th,
    .post-content-single td {
        padding: 0.5rem 0.25rem;
    }
    
    .post-content-single th {
        font-size: 0.75rem;
    }
}

/* Tags */
.post-tags {
    margin-bottom: 2rem;
}

.tags-label {
    font-weight: 600;
    color: #1e293b;
    margin-right: 0.5rem;
}

.post-tags a {
    display: inline-block;
    background: linear-gradient(135deg, rgba(155, 133, 121, 0.1) 0%, rgba(181, 162, 149, 0.1) 100%);
    color: #7d6e63;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.post-tags a:hover {
    background: linear-gradient(135deg, #9b8579 0%, #b5a295 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 133, 121, 0.3);
}

/* Post Navigation - Search Results Style */
.post-navigation-wrapper {
    max-width: 1400px;
    margin: 3rem auto 0;
}

.navigation-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #7d6e63;
    margin-bottom: 2rem;
    text-align: center;
}

.post-navigation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    animation: fadeInUp 0.5s ease;
}

/* Navigation Post Item - Match Search Results */
.nav-post-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(155, 133, 121, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.nav-post-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(155, 133, 121, 0.15);
    border-color: rgba(155, 133, 121, 0.2);
}

.nav-post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    background: #f3f4f6;
    border-radius: 20px 20px 0 0;
}

.nav-post-image a {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 20px 20px 0 0;
}

.nav-image-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 8rem;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.nav-post-item:hover .nav-post-image img {
    transform: scale(1.1);
}

.nav-post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nav-post-label {
    font-size: 0.875rem;
    color: #9b8579;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.nav-post-title {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.nav-post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-post-title a:hover {
    color: #9b8579;
}

.nav-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.nav-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-post-excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

.nav-post-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #9b8579;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-post-link:hover {
    color: #b5a295;
    gap: 0.75rem;
}

/* Comments wrapper - contained within main */
.comments-wrapper {
    /* backdrop-filter: blur(20px); Removed to prevent containing block for fixed chatbox */
    padding: 4rem 0;
    box-shadow: none;
    margin: 0;
    width: 100%;
    max-width: 100% !important;
}

/* Comments section */
.comments-area {
    background: transparent;
    backdrop-filter: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    margin-top: 0;
}

.comments-title {
    font-family: var(--font-heading) !important;
    font-size: 2rem !important;
    color: #1e293b !important;
    margin-bottom: 2rem !important;
}

/* Responsive design */
@media (max-width: 768px) {
    .single-post-content {
        padding: 0 !important;
    }
    
    .single-post {
        padding: 2rem 1.5rem;
    }
    
    /* Make aligned images full width on mobile */
    .post-content-single .alignleft,
    .post-content-single .alignright,
    .post-content-single .wp-caption.alignleft,
    .post-content-single .wp-caption.alignright,
    .post-content-single .wp-block-image.alignleft,
    .post-content-single .wp-block-image.alignright,
    .post-content-single figure.wp-block-image.alignleft,
    .post-content-single figure.wp-block-image.alignright {
        float: none !important;
        max-width: 100% !important;
        margin: 1.5rem 0 !important;
        display: block !important;
    }
    
    .comments-wrapper {
        padding: 2rem 0;
    }
    
    .single .site-header {
        padding: 1rem 1.5rem !important;
    }
    
    .single .site-header .container {
        padding: 0 20px !important;
    }
    
    .post-title {
        font-size: 2rem !important;
    }
    
    .post-content-single h2 {
        font-size: 1.75rem !important;
    }
    
    .post-content-single h3 {
        font-size: 1.5rem !important;
    }
    
    .post-content-single p,
    .post-content-single li {
        font-size: 1rem !important;
    }
    
    .post-meta-single {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .post-featured-image {
        border-radius: 12px;
        margin: 1.5rem auto;
        max-width: 600px;
    }
    
    .post-featured-image img {
        border-radius: 12px;
    }
    
    .post-navigation-wrapper {
        padding: 0 1.5rem;
    }
    
    .navigation-title {
        font-size: 1.5rem;
    }
    
    .post-navigation-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .nav-post-image,
    .nav-image-placeholder {
        height: 220px;
    }
    
    .nav-image-placeholder {
        font-size: 6rem;
    }
    
    .nav-post-content {
        padding: 1.25rem;
    }
    
    .nav-post-title {
        font-size: 1.125rem;
    }
}

/* Mobile styles */
@media (max-width: 640px) {
    .post-featured-image {
        margin: 1rem auto;
        border-radius: 10px;
        max-width: 100%;
    }
    
    .post-featured-image img {
        border-radius: 10px;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .single-post-content {
        padding: 0 !important;
    }
    
    .single-post {
        padding: 3rem 3rem;
    }
    
    .comments-wrapper {
        padding: 3rem 0;
    }
    
    .single .site-header {
        padding: 1rem 3rem !important;
    }
    
    .single .site-header .container {
        padding: 0 20px !important;
    }
    
    .post-navigation-wrapper {
        padding: 0 3rem;
    }
}

/* Archive and search pages - also remove sidebar */
.archive .content-area,
.search .content-area,
.blog .content-area {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Ensure main container has specified width on single posts */
.single main {
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 2rem 6rem !important;
    overflow: visible !important;
}

/* Force body and html to not create containing block for fixed chatbox */
body.single,
html.single,
body.single-post,
html.single-post {
    margin: 0 !important;
    overflow: visible !important;
    transform: none !important;
    will-change: auto !important;
}

/* Footer on single posts - removed overrides to match other pages */

.single main .container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Social Sharing Buttons */
.post-share-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.share-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.social-share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.share-icon {
    font-size: 1.125rem;
}

.share-twitter:hover {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.share-facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-linkedin:hover {
    background: #0a66c2;
    color: white;
    border-color: #0a66c2;
}

.share-pinterest:hover {
    background: #bd081c;
    color: white;
    border-color: #bd081c;
}

.share-instagram:hover {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border-color: #e6683c;
}

.share-copy:hover {
    background: linear-gradient(135deg, #9b8579 0%, #7d6e63 100%);
    color: white;
    border-color: #9b8579;
}

/* Related Posts Section */
.related-posts-section {
    padding: 2rem 0;
    border-top: 2px solid var(--border-color);
    max-width: 100% !important;
    margin: 0 !important;
    padding: 2rem 0 !important;
}

.related-posts-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0;
    max-width: 100%;
    padding: 0;
}

.related-post-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.related-post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.related-post-image {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.related-post-content {
    padding: 1.5rem;
}

.related-post-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.related-post-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-title a:hover {
    color: var(--primary-accent);
}

.related-post-excerpt {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-post-link {
    color: var(--primary-accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: gap 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.related-post-link:hover {
    gap: 0.5rem;
}

/* Dark Theme for Social Share and Related Posts */
body[data-theme="dark"] .share-title {
    color: #e2e8f0;
}

body[data-theme="dark"] .share-btn {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
}

body[data-theme="dark"] .related-post-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.1);
}

body[data-theme="dark"] .related-post-title a {
    color: #ffffff !important;
}

body[data-theme="dark"] .related-post-title a:hover {
    color: #d4a574 !important;
}

body[data-theme="dark"] .related-post-excerpt {
    color: #94a3b8;
}

body[data-theme="dark"] .related-post-link {
    color: #a68b73;
}

/* Responsive */
@media (max-width: 768px) {
    .single main {
        padding: 2rem 1.5rem !important;
    }
    
    .related-posts-section {
        padding: 2rem 0 !important;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .social-share-buttons {
        gap: 0.5rem;
    }
    
    .share-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }
}

