/* Shroomsy Blog Styles */

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #f7efd6 0%, #ffffff 100%);
    padding: 80px 0 60px;
    text-align: center;
}

.blog-hero h1 {
    font-family: 'Playfair Display', serif;
    color: #BC6534;
    font-size: 3rem;
    margin-bottom: 15px;
}

.blog-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.post-count {
    margin-top: 20px;
    font-weight: 600;
    color: #BC6534;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: #BC6534;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #8d4e2a;
    text-decoration: underline;
}

.breadcrumbs span {
    color: #999;
}

/* Blog Layout */
.blog-content {
    padding: 60px 0;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
}

@media (max-width: 1024px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

/* Posts Grid */
.posts-grid {
    display: grid;
    gap: 40px;
}

.post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
}

@media (max-width: 768px) {
    .post-card {
        grid-template-columns: 1fr;
    }
}

.post-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.post-card.featured {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .post-card.featured {
        grid-template-columns: 1fr;
    }
}

.post-image {
    overflow: hidden;
    display: block;
    position: relative;
}

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

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

.post-content {
    padding: 25px 25px 25px 0;
}

.post-card.featured .post-content,
.post-card:not(.featured) .post-content {
    padding: 25px;
}

@media (max-width: 768px) {
    .post-content {
        padding: 25px !important;
    }
}

.post-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
}

.post-category {
    background: #BC6534;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: background 0.3s;
}

.post-category:hover {
    background: #8d4e2a;
}

.post-date, .post-reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-card.featured .post-title {
    font-size: 2.5rem;
}

@media (max-width: 768px) {
    .post-title {
        font-size: 1.5rem;
    }
    
    .post-card.featured .post-title {
        font-size: 2rem;
    }
}

.post-title a {
    color: #2d2d2d;
    text-decoration: none;
    transition: color 0.3s;
}

.post-title a:hover {
    color: #BC6534;
}

.post-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    color: #BC6534;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.read-more:hover {
    gap: 10px;
}

/* Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-family: 'Playfair Display', serif;
    color: #BC6534;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
}

.category-list a {
    color: #2d2d2d;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    transition: color 0.3s;
}

.category-list a:hover {
    color: #BC6534;
}

.recent-posts {
    list-style: none;
}

.recent-posts li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    color: #2d2d2d;
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.recent-posts a:hover {
    color: #BC6534;
}

.recent-post-date {
    font-size: 0.85rem;
    color: #999;
}

.cta-widget {
    background: linear-gradient(135deg, #BC6534 0%, #8d4e2a 100%);
    color: white;
}

.cta-widget h3 {
    color: white;
}

.sidebar-cta-btn {
    display: block;
    background: white;
    color: #BC6534;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
    transition: all 0.3s;
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 60px;
}

.pagination-btn {
    padding: 10px 20px;
    background: #BC6534;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination-btn:hover {
    background: #8d4e2a;
    transform: translateY(-2px);
}

.pagination-numbers {
    display: flex;
    gap: 8px;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #2d2d2d;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
}

.pagination-number:hover,
.pagination-number.active {
    background: #BC6534;
    color: white;
    border-color: #BC6534;
}

/* Single Post Styles */
.blog-post {
    background: white;
}

.post-header {
    padding: 60px 0 40px;
    text-align: center;
    background: #f7efd6;
}

.post-header h1 {
    font-family: 'Playfair Display', serif;
    color: #2d2d2d;
    font-size: 3rem;
    margin: 20px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .post-header h1 {
        font-size: 2rem;
    }
}

.post-author {
    color: #666;
    font-weight: 600;
    margin-top: 15px;
}

.post-featured-image {
    padding: 40px 0;
}

.post-featured-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.post-body {
    padding: 60px 0;
}

.post-body .container {
    max-width: 800px;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d2d2d;
}

.post-content h2 {
    font-family: 'Playfair Display', serif;
    color: #BC6534;
    font-size: 2rem;
    margin: 40px 0 20px;
}

.post-content h3 {
    font-family: 'Playfair Display', serif;
    color: #BC6534;
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content a {
    color: #BC6534;
    text-decoration: underline;
}

.post-content a:hover {
    color: #8d4e2a;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
}

.post-content blockquote {
    border-left: 4px solid #BC6534;
    padding-left: 25px;
    margin: 30px 0;
    font-style: italic;
    color: #666;
    font-size: 1.15rem;
}

.post-tags {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.post-tags strong {
    color: #2d2d2d;
    margin-right: 10px;
}

.tag {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 6px 14px;
    border-radius: 20px;
    text-decoration: none;
    margin: 5px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.tag:hover {
    background: #BC6534;
    color: white;
}

/* Social Sharing */
.social-sharing {
    margin-top: 50px;
    padding: 30px;
    background: #f7efd6;
    border-radius: 12px;
}

.social-sharing h3 {
    font-family: 'Playfair Display', serif;
    color: #BC6534;
    margin-bottom: 20px;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.facebook:hover {
    background: #1465d9;
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
}

.social-btn.twitter:hover {
    background: #0d8bd9;
}

.social-btn.linkedin {
    background: #0077b5;
    color: white;
}

.social-btn.linkedin:hover {
    background: #006399;
}

.social-btn.pinterest {
    background: #e60023;
    color: white;
}

.social-btn.pinterest:hover {
    background: #cc0020;
}

.social-btn.copy {
    background: #6d4c41;
    color: white;
}

.social-btn.copy:hover {
    background: #5a3d33;
}

/* Related Posts */
.related-posts {
    padding: 80px 0;
    background: #f9f9f9;
}

.related-posts h2 {
    font-family: 'Playfair Display', serif;
    color: #BC6534;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

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

.related-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.related-post-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

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

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

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

.related-post-content {
    padding: 20px;
}

.related-post-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.related-post-content h3 a {
    color: #2d2d2d;
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-content h3 a:hover {
    color: #BC6534;
}

.related-post-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 20px;
}

.no-posts h2 {
    font-family: 'Playfair Display', serif;
    color: #BC6534;
    font-size: 2rem;
    margin-bottom: 15px;
}

.no-posts p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0 40px;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .blog-content {
        padding: 40px 0;
    }
    
    .social-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

