/* Blog Specific Styles */

/* Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
}

@media (max-width: 900px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--text-light);
    border-bottom: 1px solid #eee;
}

.breadcrumbs a {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumbs span {
    margin: 0 5px;
    color: #ccc;
}

/* Blog Post Card (in listing) */
.blog-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    height: 250px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
}

.blog-meta i {
    color: var(--secondary-color);
    margin-right: 5px;
}

.blog-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.blog-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-read-more:hover {
    gap: 10px;
}

/* Sidebar */
.blog-sidebar {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Single Post Styles */
.post-header {
    margin-bottom: 30px;
}

.post-title {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.post-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.post-content h2 {
    color: var(--primary-dark);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.post-content h3 {
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content li {
    list-style: disc;
    margin-bottom: 10px;
}

/* SEO Box */
.seo-box {
    background: #e0f2f1;
    padding: 20px;
    border-radius: 10px;
    margin-top: 40px;
    border-left: 5px solid var(--primary-color);
    font-size: 0.9rem;
    color: var(--text-light);
}

.cta-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 40px;
    text-align: center;
    border-radius: 20px;
    margin-top: 50px;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--white);
}

.cta-box p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}
