/* Blog-specific styles for Sharp Portfolio Food Tours */

/* Blog Page Layout */
.blog-page {
    padding: 40px 0;
    background: #fefefe;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-header h1 {
    color: #d2691e;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.2rem;
    color: #5d4e37;
    line-height: 1.6;
}

/* Blog Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Blog Cards */
.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 2rem;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin-bottom: 3rem;
}

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.featured .blog-image {
    height: 300px;
}

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

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

.blog-content {
    padding: 2rem;
}

.featured .blog-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Blog Meta Information */
.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.category {
    background: #d2691e;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: bold;
}

.date {
    color: #8b4513;
    font-weight: 500;
}

.read-time {
    color: #5d4e37;
}

/* Blog Card Content */
.blog-card h2 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-card h2 a {
    color: #2c1810;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: #d2691e;
}

.blog-card p {
    color: #5d4e37;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #d2691e;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.read-more:hover {
    border-bottom-color: #d2691e;
}

/* Sidebar */
.blog-sidebar {
    grid-column: 2;
    grid-row: 1 / span 2;
}

.sidebar-widget {
    background: #f9f7f4;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-widget h3 {
    color: #d2691e;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

/* Categories List */
.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-list a {
    color: #2c1810;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.category-list span {
    background: #e0e0e0;
    color: #666;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

/* Newsletter Form in Sidebar */
.newsletter-form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form-sidebar input {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.newsletter-form-sidebar input:focus {
    outline: none;
    border-color: #d2691e;
}

/* Article Page Styles */
.blog-article {
    padding: 40px 0;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #d2691e;
    text-decoration: none;
}

.breadcrumb span {
    color: #8b4513;
}

/* Article Header */
.article-header {
    margin-bottom: 2rem;
    text-align: center;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.article-header h1 {
    font-size: 2.5rem;
    color: #2c1810;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-lead {
    font-size: 1.3rem;
    color: #5d4e37;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Article Image */
.article-image {
    margin: 2rem 0;
    text-align: center;
}

.article-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Article Body */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.article-body h2 {
    color: #d2691e;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    border-bottom: 3px solid #f4f1eb;
    padding-bottom: 0.5rem;
}

.article-body h3 {
    color: #2c1810;
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.article-body strong {
    color: #2c1810;
    font-weight: bold;
}

/* Article CTA */
.article-cta {
    background: linear-gradient(135deg, #f4f1eb 0%, #e8dcc6 100%);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    border: 2px solid #d2691e;
}

.article-cta h3 {
    color: #d2691e;
    margin-bottom: 1rem;
}

.article-cta p {
    margin-bottom: 1.5rem;
    color: #5d4e37;
}

/* Article Footer */
.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #f4f1eb;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.article-tags,
.article-share {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-tags span,
.article-share span {
    font-weight: bold;
    color: #2c1810;
}

.article-tags a,
.article-share a {
    background: #f4f1eb;
    color: #5d4e37;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.article-tags a:hover,
.article-share a:hover {
    background: #d2691e;
    color: white;
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.related-articles h3 {
    color: #d2691e;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background: #f9f7f4;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.related-card:hover {
    transform: translateY(-3px);
}

.related-card h4 {
    margin-bottom: 0.5rem;
}

.related-card h4 a {
    color: #2c1810;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-card h4 a:hover {
    color: #d2691e;
}

.related-card p {
    color: #5d4e37;
    font-size: 0.95rem;
    margin: 0;
}

/* Responsive Design for Blog */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        grid-column: 1;
        grid-row: auto;
    }
    
    .blog-card.featured {
        grid-template-columns: 1fr;
    }
    
    .featured .blog-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.2rem;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-lead {
        font-size: 1.1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-footer {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .article-tags,
    .article-share {
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-page,
    .blog-article {
        padding: 20px 0;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .article-cta {
        padding: 2rem;
    }
    
    .blog-header h1 {
        font-size: 1.8rem;
    }
    
    .article-header h1 {
        font-size: 1.6rem;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .blog-image,
    .featured .blog-image {
        height: 180px;
    }
}
