/* Blog CSS - Styles for blog-related pages */

/* Blog Archive Section */
.blog-archive-section {
    padding: 4rem 0;
}

.blog-archive-section .section-header {
    margin-bottom: 3rem;
}

.blog-archive-section .section-title {
    font-size: clamp(24px, 3vw, 36px);
    color: #333;
}

.blog-archive-section .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-archive-section .blog-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blog-archive-section .blog-item:hover {
    transform: translateY(-5px);
}

.blog-archive-section .blog-thumbnail {
    position: relative;
    overflow: hidden;
}

.blog-archive-section .blog-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-archive-section .blog-item:hover .blog-thumbnail img {
    transform: scale(1.1);
}

.blog-archive-section .blog-content {
    padding: 1.5rem;
}

.blog-archive-section .blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-archive-section .blog-category a {
    background: #14735b;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    text-decoration: none;
}

.blog-archive-section .blog-category a:hover {
    background: #1b82d0;
}

.blog-archive-section .blog-title {
    margin-bottom: 1rem;
}

.blog-archive-section .blog-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-archive-section .blog-title a:hover {
    color: #14735b;
}

.blog-archive-section .blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-archive-section .read-more {
    color: #14735b;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-archive-section .read-more:hover {
    color: #1b82d0;
}

/* Blog Single Page */
.blog-single-header {
    padding: 2rem 0;
    text-align: center;
}

.blog-single-title {
    font-size: clamp(24px, 3vw, 36px);
    color: #333;
    margin-bottom: 1rem;
}

.blog-single-thumbnail {
    margin: 2rem 0;
}

.blog-single-thumbnail img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.blog-single-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    line-height: 1.8;
}

.blog-single-content p {
    margin-bottom: 1.5rem;
}

.blog-single-content h2 {
    font-size: clamp(20px, 2.5vw, 28px);
    color: #333;
    margin: 2rem 0 1rem;
}

.blog-single-content h3 {
    font-size: clamp(18px, 2vw, 24px);
    color: #333;
    margin: 1.5rem 0 1rem;
}

.blog-single-content ul, 
.blog-single-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.blog-single-content li {
    margin-bottom: 0.5rem;
}

.blog-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.blog-single-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #14735b;
    padding: 1rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    color: #666;
}

.blog-single-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.blog-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.blog-back-link {
    text-align: center;
}

.blog-back-link a {
    display: inline-block;
    background: #333;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.blog-back-link a:hover {
    background: #555;
}

/* Blog Section on Index */
.blog-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

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

.blog-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blog-item:hover {
    transform: translateY(-5px);
}

.blog-thumbnail {
    position: relative;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-item:hover .blog-thumbnail img {
    transform: scale(1.1);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.blog-category {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.blog-category div {
    background: #14735b;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.blog-item h3 {
    margin-bottom: 1rem;
}

.blog-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-archive-section .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-archive-section {
        padding: 2rem 0;
    }
    
    .blog-archive-section .section-title {
        font-size: clamp(20px, 2.5vw, 28px);
    }
    
    .blog-archive-section .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-single-content {
        padding: 0 1rem;
    }
    
    .blog-navigation {
        flex-direction: column;
        gap: 1rem;
    }
} 