/* Blog Page Styles */

.blog-container {
    min-height: 100vh;
}

/* Hero Section */
.blog-hero {
    background-color: #f8f9fa;
    padding: 60px 0;
    text-align: center;
}

.blog-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: #2c3e50;
}

.breadcrumb-separator {
    color: #999;
    font-weight: bold;
}

.breadcrumb-current {
    color: #2c3e50;
    font-weight: 500;
}

/* Main Content */
.blog-main {
    padding: 60px 0;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Main Content Area */
.blog-content {
    padding-right: 20px;
}

.no-posts-message {
    margin-bottom: 40px;
}

.no-posts-message p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.search-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

/* Sidebar */
.blog-sidebar {
    padding-left: 20px;
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.no-content {
    font-size: 0.9rem;
    color: #999;
    font-style: italic;
}

/* Search Box */
.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    border-color: #24511D;
}

.search-input::placeholder {
    color: #aaa;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s ease;
}

.search-btn:hover {
    color: #24511D;
}

/* Promotional Banner */
.promo-banner {
    background: linear-gradient(135deg, #a8e6cf 0%, #dcedc1 50%, #c8a8e9 100%);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    min-height: 280px;
    margin-top: 20px;
}

.promo-content {
    padding: 25px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.promo-text h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1;
}

.promo-text p {
    font-size: 1rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 500;
}

.promo-image {
    position: absolute;
    right: 15px;
    bottom: 60px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-btn {
    background-color: #ffffff;
    color: #2c3e50;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: flex-start;
    margin-top: auto;
}

.promo-btn:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 968px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-content {
        padding-right: 0;
    }
    
    .blog-sidebar {
        padding-left: 0;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 40px 0;
    }
    
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    
    .blog-main {
        padding: 40px 0;
    }
    
    .promo-banner {
        min-height: 250px;
    }
    
    .promo-image {
        width: 100px;
        height: 100px;
        bottom: 50px;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .promo-content {
        padding: 20px;
    }
    
    .promo-text h4 {
        font-size: 1.5rem;
    }
    
    .promo-image {
        width: 80px;
        height: 80px;
        bottom: 45px;
        right: 10px;
    }
}