/* Fix navigation logo */
.nav-logo a {
    text-decoration: none;
}

.nav-logo h2 {
    text-decoration: none;
}

/* Blog Hero */
.blog-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero .hero-content {
    text-align: center;
    max-width: 900px;
    padding: 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog-hero .hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    position: relative;
}

.blog-hero .hero-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 1.5px;
}

.blog-hero .hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Section */
.blog-section {
    padding: var(--section-padding);
    background: #f8f9fa;
}

.blog-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Blog Filters */
.blog-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.filter-btn:hover {
    background: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.filter-btn i {
    font-size: 0.9rem;
}

/* Search Bar */
.blog-search {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-wrapper i {
    position: absolute;
    left: 1.5rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.search-wrapper input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border: 2px solid rgba(44, 85, 48, 0.2);
    border-radius: 50px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(44, 85, 48, 0.15);
}

/* Featured Article */
.featured-article {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 4rem;
    transition: all 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.featured-article:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.featured-image {
    width: 100%;
    overflow: hidden;
    background: #f0f0f0;
    min-height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.featured-article:hover .featured-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #d4af37 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 6px;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 9999 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
    white-space: nowrap !important;
    overflow: visible !important;
    clip: none !important;
    transform: none !important;
}

.featured-badge i {
    color: white !important;
    font-size: 14px !important;
    margin-right: 8px !important;
}

.featured-badge span {
    color: white !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 600;
}

.featured-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 1;
    visibility: visible;
}

.article-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.article-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f0f0f0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.75rem;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-badge.conseils {
    background-color: #3b82f6;
}

.category-badge.sante {
    background-color: #ef4444;
}

.category-badge.nutrition {
    background-color: #10b981;
}

.category-badge.therapie {
    background-color: #8b5cf6;
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.article-meta i {
    font-size: 0.9rem;
}

.category-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.75rem;
    color: white;
}

.category-tag.conseils {
    background: #3b82f6;
}

.category-tag.sante {
    background: #ef4444;
}

.category-tag.nutrition {
    background: #10b981;
}

.category-tag.therapie {
    background: #8b5cf6;
}

.article-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-weight: 600;
}

.article-content > p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.read-link:hover {
    color: var(--secondary-color);
}

.read-link i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.read-link:hover i {
    transform: translateX(3px);
}

.article-stats {
    display: flex;
    gap: 1rem;
}

.article-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.3rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: var(--secondary-color);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* Newsletter Section */
.newsletter-section {
    padding: 3rem 0;
    background: var(--primary-color);
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.newsletter-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form .form-group {
    position: relative;
    flex: 1;
}

.newsletter-form i {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.newsletter-form input {
    width: 100%;
    padding: 0.9rem 1.2rem 0.9rem 3rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.5rem;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: #f8f9fa;
}

/* Article Page Styles */
.article-header {
    background: white;
    padding-bottom: 2rem;
}

.article-hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-header-content {
    max-width: 900px;
    margin: -80px auto 0;
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.7rem;
}

.article-meta-header {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    align-items: center;
}

.article-meta-header span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.article-intro {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.article-content-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-main {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.article-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 2.5rem 0 1rem;
    font-weight: 600;
}

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

.article-highlight {
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
}

.article-highlight i {
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.article-highlight p {
    margin: 0;
}

.article-image-block {
    margin: 2.5rem 0;
}

.article-image-block img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.image-caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
}

.article-quote {
    background: var(--primary-color);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    position: relative;
}

.article-quote i {
    font-size: 2rem;
    opacity: 0.3;
    margin-bottom: 1rem;
}

.article-quote p {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 1rem;
}

.quote-author {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
}

.article-cta-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.article-cta-box p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.article-tags {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.article-tags h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.tags-list {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.4rem 1rem;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.article-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.article-share h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.email {
    background: #666;
}

.share-btn:hover {
    transform: translateY(-2px);
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.author-box,
.related-articles,
.sidebar-cta {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 3rem;
}

.author-box h4 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.author-box p {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.author-link {
    display: block;
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.author-link:hover {
    text-decoration: underline;
}

.related-articles h4 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.related-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.related-item:last-child {
    margin-bottom: 0;
}

.related-item img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-content h5 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.related-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sidebar-cta {
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.sidebar-cta h4 {
    color: white;
    margin-bottom: 1rem;
}

.sidebar-cta p {
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .article-sidebar {
        order: 2;
    }
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-article {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .blog-filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-content h2 {
        font-size: 1.5rem;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-text h2 {
        font-size: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .blog-section {
        padding: 2rem 0;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .article-content {
        padding: 1.2rem;
    }
    
    .pagination {
        gap: 0.3rem;
    }
    
    .page-btn {
        width: 40px;
        height: 40px;
    }
}
