/* ============================================
   Blog Bizouk - Styles
   ============================================ */

/* --- Hero --- */
.blog-hero {
    background: linear-gradient(135deg, #FF6B35 0%, #E85D26 50%, #D14F1A 100%);
    padding: 60px 0 40px;
    color: #fff;
    text-align: center;
}

.blog-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-hero h1 i {
    margin-right: 10px;
}

.blog-hero-subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.blog-search-form {
    max-width: 500px;
    margin: 0 auto;
}

.blog-search-form .form-control {
    border: none;
    border-radius: 25px 0 0 25px;
    padding: 12px 20px;
    font-size: 1rem;
    box-shadow: none;
}

.blog-search-form .btn-search {
    background: #fff;
    color: #FF6B35;
    border: none;
    border-radius: 0 25px 25px 0;
    padding: 12px 20px;
    font-weight: 600;
}

.blog-search-form .btn-search:hover {
    background: #f0f0f0;
}

/* --- Categories Bar --- */
.blog-categories-bar {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.blog-categories-list {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-category-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    color: #555;
    background: #f5f5f5;
    border: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}

.blog-category-pill:hover {
    color: #FF6B35;
    background: #fff3ee;
    border-color: #FF6B35;
    text-decoration: none;
}

.blog-category-pill.active {
    color: #fff;
    background: #FF6B35;
    border-color: #FF6B35;
}

/* --- Search Results Info --- */
.blog-search-results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #fff3ee;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
}

/* --- Main Content --- */
.blog-main-content {
    padding: 30px 0 60px;
}

/* --- Section Titles --- */
.blog-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #FF6B35;
    display: inline-block;
}

.blog-section-title i {
    color: #FF6B35;
    margin-right: 8px;
}

/* --- Featured Articles --- */
.blog-featured-section {
    margin-bottom: 50px;
}

.blog-featured-card {
    display: block;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    text-decoration: none;
}

.blog-featured-image {
    background-size: cover;
    background-position: center;
    background-color: #ddd;
    position: relative;
}

.blog-featured-main .blog-featured-image {
    height: 400px;
}

.blog-featured-side .blog-featured-image {
    height: 192px;
}

.blog-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.blog-featured-main .blog-featured-overlay h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 10px 0 8px;
}

.blog-featured-main .blog-featured-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.blog-featured-side .blog-featured-overlay {
    padding: 20px;
}

.blog-featured-side .blog-featured-overlay h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 8px 0 5px;
}

.blog-featured-meta span {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-right: 15px;
}

.blog-featured-meta span i {
    margin-right: 4px;
}

/* --- Category Badge --- */
.blog-category-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* --- Article Cards --- */
.blog-article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-article-image-link {
    text-decoration: none;
}

.blog-article-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    position: relative;
}

.blog-article-card-sm .blog-article-image {
    height: 140px;
}

.blog-article-image .blog-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.blog-article-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-article-meta {
    display: flex;
    gap: 12px;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.blog-article-meta span i {
    margin-right: 3px;
}

.blog-article-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.blog-article-title a {
    color: #333;
    text-decoration: none;
}

.blog-article-title a:hover {
    color: #FF6B35;
}

.blog-article-card-sm .blog-article-title {
    font-size: 0.95rem;
}

.blog-article-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.blog-article-author {
    font-size: 0.85rem;
    color: #888;
}

.blog-article-author i {
    margin-right: 4px;
    color: #FF6B35;
}

.blog-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FF6B35;
    text-decoration: none;
}

.blog-read-more:hover {
    color: #D14F1A;
    text-decoration: none;
}

.blog-read-more i {
    margin-left: 4px;
    transition: transform 0.2s;
}

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

/* --- No Results --- */
.blog-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.blog-no-results i {
    margin-bottom: 20px;
    color: #ddd;
}

.blog-no-results h3 {
    color: #555;
    margin-bottom: 10px;
}

/* --- Pagination --- */
.blog-pagination {
    margin-top: 40px;
}

.blog-pagination .page-link {
    color: #FF6B35;
    border-radius: 8px;
    margin: 0 3px;
    border: 1px solid #eee;
}

.blog-pagination .page-item.active .page-link {
    background-color: #FF6B35;
    border-color: #FF6B35;
    color: #fff;
}

/* ============================================
   Article Page
   ============================================ */

/* --- Breadcrumb --- */
.blog-breadcrumb-bar {
    background: #f8f9fa;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.blog-breadcrumb-bar .breadcrumb-item a {
    color: #FF6B35;
    text-decoration: none;
}

.blog-breadcrumb-bar .breadcrumb-item.active {
    color: #999;
}

/* --- Article Header --- */
.blog-article-header {
    background-size: cover;
    background-position: center;
    background-color: #333;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.blog-article-header-overlay {
    width: 100%;
    padding: 80px 0 40px;
    background: linear-gradient(transparent 0%, rgba(0,0,0,0.8) 100%);
    color: #fff;
}

.blog-article-header-content {
    max-width: 800px;
}

.blog-article-header-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 15px 0;
    line-height: 1.3;
}

.blog-article-header-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.9rem;
    opacity: 0.9;
}

.blog-article-header-meta span i {
    margin-right: 5px;
}

/* --- Article Content --- */
.blog-article-container {
    padding: 40px 0 60px;
}

.blog-article-content-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.blog-article-excerpt-block {
    font-size: 1.15rem;
    color: #555;
    line-height: 1.7;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    font-style: italic;
}

.blog-article-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
}

.blog-article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 30px 0 15px;
}

.blog-article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #444;
    margin: 25px 0 12px;
}

.blog-article-content p {
    margin-bottom: 15px;
}

.blog-article-content ul,
.blog-article-content ol {
    margin-bottom: 15px;
    padding-left: 25px;
}

.blog-article-content li {
    margin-bottom: 8px;
}

.blog-article-content strong {
    color: #333;
}

.blog-article-content blockquote {
    border-left: 4px solid #FF6B35;
    margin: 20px 0;
    padding: 15px 20px;
    background: #fff8f5;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

/* --- Tags --- */
.blog-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.blog-article-tags > i {
    color: #999;
    margin-right: 5px;
}

.blog-tag {
    display: inline-block;
    padding: 5px 14px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    transition: all 0.2s;
}

.blog-tag:hover {
    background: #FF6B35;
    color: #fff;
    text-decoration: none;
}

/* --- Share --- */
.blog-article-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.blog-share-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
}

.blog-share-buttons {
    display: flex;
    gap: 8px;
}

.blog-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s;
}

.blog-share-btn:hover {
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}

.blog-share-facebook { background: #3b5998; }
.blog-share-twitter { background: #1da1f2; }
.blog-share-linkedin { background: #0077b5; }

/* --- Sidebar --- */
.blog-sidebar {
    position: sticky;
    top: 20px;
}

.blog-sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.blog-sidebar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF6B35;
}

.blog-sidebar-title i {
    color: #FF6B35;
    margin-right: 6px;
}

/* Sidebar articles */
.blog-sidebar-article {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    transition: background 0.2s;
}

.blog-sidebar-article:last-child {
    border-bottom: none;
}

.blog-sidebar-article:hover {
    text-decoration: none;
}

.blog-sidebar-article:hover h5 {
    color: #FF6B35;
}

.blog-sidebar-article-image {
    width: 70px;
    height: 55px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-color: #eee;
    flex-shrink: 0;
}

.blog-sidebar-article-info h5 {
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
    transition: color 0.2s;
}

.blog-sidebar-date {
    font-size: 0.78rem;
    color: #999;
}

/* Sidebar categories */
.blog-sidebar-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-categories li {
    border-bottom: 1px solid #f5f5f5;
}

.blog-sidebar-categories li:last-child {
    border-bottom: none;
}

.blog-sidebar-categories a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-sidebar-categories a:hover {
    color: #FF6B35;
    text-decoration: none;
}

.blog-sidebar-categories a i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
}

.blog-sidebar-count {
    margin-left: auto;
    background: #f5f5f5;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #999;
}

/* Sidebar newsletter */
.blog-sidebar-newsletter {
    background: linear-gradient(135deg, #FF6B35, #E85D26);
    color: #fff;
}

.blog-sidebar-newsletter .blog-sidebar-title {
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.blog-sidebar-newsletter .blog-sidebar-title i {
    color: #fff;
}

.blog-sidebar-newsletter p {
    opacity: 0.9;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-sidebar-newsletter .btn {
    background: #fff;
    color: #FF6B35;
    border: none;
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 25px;
    width: 100%;
}

.blog-sidebar-newsletter .btn:hover {
    background: #f0f0f0;
}

/* --- Related Section --- */
.blog-related-section {
    margin-top: 10px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .blog-hero {
        padding: 40px 0 30px;
    }

    .blog-hero h1 {
        font-size: 1.8rem;
    }

    .blog-categories-list {
        justify-content: flex-start;
    }

    .blog-featured-main .blog-featured-image {
        height: 250px;
    }

    .blog-featured-side .blog-featured-image {
        height: 200px;
    }

    .blog-article-header {
        min-height: 280px;
    }

    .blog-article-header-content h1 {
        font-size: 1.5rem;
    }

    .blog-article-content-wrapper {
        padding: 20px;
    }

    .blog-article-share {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-article-header-meta {
        gap: 10px;
        font-size: 0.8rem;
    }
}
