/* Blog Page Styles */
:root {
    --primary-color: #ff6a02;
    --secondary-color: #1a0936;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #fff;
}

/* .container {
    max-width: 85%;
    margin: 0 auto;
}

.container-fluid {
    max-width: 100%;
    margin: 0 auto;
} */

/* Hero Section */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: white;
}

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

.blog-hero .highlight {
    color: var(--primary-color);
    background: white;
    padding: 0 15px;
    border-radius: 5px;
}

.blog-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Blog Section */
.blog-section {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Blog Controls */
.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.category-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.category-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.category-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.blog-search {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-search input {
    padding: 10px 20px;
    border: none;
    outline: none;
    min-width: 250px;
}

.blog-search button {
    padding: 10px 20px;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.blog-search button:hover {
    background: #e55900;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.blog-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #666;
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
    line-height: 1.4;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

/* No Blogs Message */
.no-blogs {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-blogs i {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 20px;
}

.no-blogs p {
    font-size: 1.1rem;
    color: #666;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-link {
    padding: 10px 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.page-dots {
    padding: 10px 5px;
    color: #999;
}

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

.sidebar-widget {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.3rem;
}

.category-list {
    list-style: none;
    padding: 0;
}

.category-list li {
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
    border-bottom: none;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-list a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.category-list .count {
    color: #999;
    font-size: 0.9rem;
}

.recent-posts {
    list-style: none;
    padding: 0;
}

.recent-posts li {
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
}

.recent-posts li:last-child {
    border-bottom: none;
}

.recent-posts a {
    color: #333;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.recent-posts a:hover {
    color: var(--primary-color);
}

.recent-posts small {
    display: block;
    color: #999;
    font-size: 0.85rem;
    margin-top: 5px;
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, #e55900 100%);
    color: white;
    text-align: center;
}

.cta-widget h4 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.btn-cta {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Blog Detail Page */
.blog-detail-section {
    padding: 40px 0 60px;
    background: #f8f9fa;
}

.breadcrumb-nav {
    padding: 20px 0;
    color: #666;
    font-size: 0.9rem;
}

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

.breadcrumb-nav i {
    margin: 0 10px;
    font-size: 0.7rem;
}

.blog-detail {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.blog-header {
    margin-bottom: 30px;
}

.blog-category-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-detail h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-featured-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: auto;
}

.blog-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.blog-body h2 {
    color: var(--secondary-color);
    margin: 30px 0 15px;
}

.blog-body h3 {
    color: var(--secondary-color);
    margin: 25px 0 12px;
}

.blog-body p {
    margin-bottom: 20px;
}

.blog-body ul,
.blog-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.blog-body li {
    margin-bottom: 10px;
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}

.blog-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.blog-share h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: #3b5998;
}

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

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

.share-btn.whatsapp {
    background: #25d366;
}

.related-posts {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.related-posts h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-card {
    display: block;
    text-decoration: none;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-card h4 {
    padding: 15px;
    font-size: 1rem;
    color: var(--secondary-color);
    margin: 0;
}

.related-card span {
    display: block;
    padding: 0 15px 15px;
    color: #666;
    font-size: 0.85rem;
}

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

    .blog-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .category-tabs {
        justify-content: start;
        gap: 2px;
    }

    .category-tab {
        padding: 6px 14px;
        font-size: 0.8rem;
    }

    .blog-search {
        width: 100%;
    }

    .blog-search input {
        min-width: auto;
        flex: 1;
    }

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

    .blog-detail {
        padding: 20px;
    }

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

    .blog-sidebar {
        position: static;
        margin-top: 40px;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }

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