/*
Path: \bhoga\assets\css\blog.css
*/
/* Bhoga Blog Styles - Unique namespace - Solo para listado de posts */
.bhoga-blog-main-content {
    padding: 2rem 0;
    min-height: 70vh;
}

.bhoga-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Blog Hero Section - Full Width */
.bhoga-blog-hero-section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.bhoga-blog-hero-background {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    width: 100%;
}

.bhoga-blog-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.bhoga-blog-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bhoga-blog-hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
    letter-spacing: 2px;
}

.bhoga-blog-breadcrumb {
    font-size: 1rem;
    color: #7f8c8d;
    margin: 0;
}

.bhoga-blog-breadcrumb a {
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bhoga-blog-breadcrumb a:hover {
    color: #676f56;
}

.bhoga-breadcrumb-separator {
    margin: 0 0.75rem;
    color: #bdc3c7;
}

.bhoga-breadcrumb-current {
    color: #2c3e50;
    font-weight: 500;
}

/* Blog Intro Section */
.bhoga-blog-intro-section {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.bhoga-blog-description-text {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.bhoga-blog-posts-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Main content area */
.bhoga-blog-posts-content {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.bhoga-blog-post-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    min-height: 200px;
}

.bhoga-blog-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.bhoga-post-thumbnail {
    position: relative;
    overflow: hidden;
    width: 280px;
    min-width: 280px;
    height: auto;
}

.bhoga-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bhoga-blog-post-card:hover .bhoga-post-image {
    transform: scale(1.05);
}

.bhoga-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bhoga-blog-post-card:hover .bhoga-post-overlay {
    opacity: 1;
}

.bhoga-read-more-overlay {
    color: white;
    background: #676f56;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.bhoga-read-more-overlay:hover {
    background: #219a52;
}

.bhoga-post-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Sidebar styles */
.bhoga-blog-sidebar {
    flex: 1;
    min-width: 300px;
}

.bhoga-sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.bhoga-sidebar-widget h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.bhoga-sidebar-search {
    position: relative;
}

.bhoga-sidebar-search input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.9rem;
}

.bhoga-sidebar-search button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #676f56;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
}

.bhoga-categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bhoga-categories-list li {
    border-bottom: 1px solid #f0f0f0;
    padding: 0.75rem 0;
}

.bhoga-categories-list li:last-child {
    border-bottom: none;
}

.bhoga-categories-list a {
    color: #7f8c8d;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.bhoga-categories-list a:hover {
    color: #676f56;
}

.bhoga-category-count {
    background: #e8f5e8;
    color: #676f56;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bhoga-recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bhoga-recent-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.bhoga-recent-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bhoga-recent-post-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.bhoga-recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bhoga-recent-post-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.bhoga-recent-post-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.bhoga-recent-post-content h4 a:hover {
    color: #676f56;
}

.bhoga-recent-post-date {
    color: #7f8c8d;
    font-size: 0.8rem;
}

.bhoga-post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.bhoga-post-date {
    color: #7f8c8d;
}

.bhoga-post-categories a {
    background: #e8f5e8;
    color: #676f56;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
}

.bhoga-post-title {
    margin-bottom: 1rem;
}

.bhoga-post-title a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.bhoga-post-title a:hover {
    color: #676f56;
}

.bhoga-post-excerpt {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.bhoga-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #ecf0f1;
}

.bhoga-post-author {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.bhoga-read-more-btn {
    color: #676f56;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bhoga-read-more-btn:hover {
    color: #219a52;
}

/* Pagination */
.bhoga-blog-pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.bhoga-blog-pagination .page-numbers {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.bhoga-blog-pagination .page-numbers li {
    display: inline-block;
}

.bhoga-blog-pagination .page-numbers a,
.bhoga-blog-pagination .page-numbers span {
    display: inline-block;
    padding: 0.75rem 1rem;
    color: #2c3e50;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.bhoga-blog-pagination .page-numbers a:hover,
.bhoga-blog-pagination .page-numbers .current {
    background: #676f56;
    color: white;
    border-color: #676f56;
}

/* No posts found */
.bhoga-no-posts-found {
    width: 100%;
    text-align: center;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.bhoga-no-posts-found h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.bhoga-no-posts-found p {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.bhoga-back-home-btn {
    display: inline-block;
    background: #676f56;
    color: white;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
}

.bhoga-back-home-btn:hover {
    background: #219a52;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bhoga-blog-posts-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .bhoga-blog-posts-content {
        flex: 1;
    }
    
    .bhoga-blog-sidebar {
        order: -1;
        min-width: auto;
    }
    
    .bhoga-blog-post-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .bhoga-post-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .bhoga-blog-hero-title {
        font-size: 2.5rem;
    }
    
    .bhoga-blog-hero-background {
        height: 200px;
    }
    
    .bhoga-blog-hero-container {
        padding: 0 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .bhoga-blog-intro-section {
        padding: 0 1rem;
    }
    
    .bhoga-blog-description-text {
        font-size: 1rem;
    }
    
    .bhoga-post-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .bhoga-post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .bhoga-blog-container {
        padding: 0 0.5rem;
    }
    
    .bhoga-post-content {
        padding: 1rem;
    }
    
    .bhoga-blog-hero-title {
        font-size: 2rem;
    }
    
    .bhoga-blog-hero-background {
        height: 150px;
    }
    
    .bhoga-blog-hero-container {
        padding: 0 0.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .bhoga-blog-intro-section {
        margin-bottom: 2rem;
    }
}