/* Blog and News Styles */
.blog-container, .news-container {
    font-family: 'Poppins', sans-serif;
    background: #f8fafc;
    min-height: 100vh;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #F17A36 0%, #E06B2D 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 50px;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.header-text {
    flex: 1;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.page-title i {
    font-size: 2.5rem;
    opacity: 0.9;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.header-actions {
    flex-shrink: 0;
}

.search-form {
    width: 350px;
}

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

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    background: white;
}

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

.search-btn {
    position: absolute;
    right: 5px;
    background: #F17A36;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #E06B2D;
    transform: scale(1.05);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 0;
}

.breadcrumb {
    background: transparent;
    margin: 0;
    padding: 0;
}

/* Sections */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-title i {
    color: #F17A36;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin: 0;
}

/* Featured Section */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.featured-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

/* Card Images */
.card-image, .card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img, .card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .card-image img,
.post-card:hover .card-img-wrapper img,
.featured-card:hover .card-image img,
.featured-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 3rem;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #F17A36;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 4px 10px rgba(241, 122, 54, 0.3);
}

/* Card Content */
.card-content {
    padding: 25px;
}

.card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.card-category {
    background: #F17A36;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.card-date {
    color: #6b7280;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.4;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title a:hover {
    color: #F17A36;
}

.card-text {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-footer {
    padding: 0 25px 25px;
    border-top: none;
}

.read-more-btn {
    background: #F17A36;
    color: white !important;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    background: #E06B2D;
    color: white !important;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Article Styles */
.article-header {
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.article-meta .badge {
    font-size: 0.85rem;
}

.article-title {
    line-height: 1.2;
    margin-bottom: 1rem;
}

.article-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
}

.article-featured-image {
    margin-bottom: 2rem;
}

.article-featured-image img {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.article-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.article-content h2, .article-content h3, .article-content h4 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.article-footer {
    border-top: 1px solid #e5e7eb;
    padding-top: 2rem;
}

.article-tags, .share-buttons {
    margin-bottom: 1rem;
}

.article-tags .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Author Bio */
.author-bio-card {
    margin: 3rem 0;
}

.author-avatar {
    margin-right: 1rem;
}

.avatar-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745);
    z-index: 1000;
    transform-origin: left;
    transition: transform 0.1s ease-out;
}

/* Hover Effects */
.hover-lift:hover {
    transform: translateY(-3px) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
    }

    .page-title i {
        font-size: 2rem;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .search-form {
        width: 100%;
    }

    .featured-grid {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .article-meta {
        justify-content: center;
    }
}