:root {
    --primary-color: #d90000;
    --secondary-color: #000;
    --dark-bg: #0a0e27;
    --card-bg: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --border-color: #e0e0e0;
}

body {
    background: #f5f5f5;
}
 
/* Breadcrumb */
.site-breadcrumb {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 0 60px;
    text-align: center;
    overflow: hidden;
}

    .site-breadcrumb::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgb(4 4 4 / 90%), rgb(0 0 0 / 90%));
    }

    .site-breadcrumb .container {
        position: relative;
        z-index: 1;
    }

.breadcrumb-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
}

.breadcrumb-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
}

    .breadcrumb-menu li:not(:last-child)::after {
        content: '//';
        margin-left: 15px;
        color: var(--secondary-color);
    }

    .breadcrumb-menu a {
        color: #ffffff;
        text-decoration: none;
        transition: color 0.3s;
        font-size: 0.9rem;
    }

        .breadcrumb-menu a:hover {
            color: var(--secondary-color);
        }

    .breadcrumb-menu .active {
        color: var(--secondary-color);
        font-size: 0.9rem;
    }

/* Category Nav Bar */
.category-nav {
    background: #ffffff !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

    .category-nav .btn-outline-info {
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        padding: 6px 16px;
        border-radius: 20px;
        transition: all 0.3s;
        font-weight: 500;
        font-size: 0.8rem;
    }

        .category-nav .btn-outline-info:hover,
        .category-nav .btn-outline-info.active {
            background: var(--primary-color);
            border-color: var(--primary-color);
            color: #ffffff;
        }

    .category-nav .form-control {
        background: #f5f5f5;
        border: 1px solid var(--border-color);
        border-radius: 20px;
        color: var(--text-dark);
        padding: 6px 16px;
        font-size: 0.8rem;
    }

        .category-nav .form-control:focus {
            background: #ffffff;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
            color: var(--text-dark);
        }

        .category-nav .form-control::placeholder {
            color: var(--text-muted);
        }

    .category-nav .btn-light {
        background: var(--primary-color);
        border: none;
        border-radius: 20px;
        color: #fff;
        padding: 6px 16px;
        transition: all 0.3s;
        font-size: 0.8rem;
    }

        .category-nav .btn-light:hover {
            background: var(--secondary-color);
        }

/* Blog Area */
.blog-area {
    background: #f5f5f5;
}

/* Featured Large Card */
.featured-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

    .featured-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        transform: translateY(-4px);
    }

    .featured-card .blog-item-img {
        position: relative;
        overflow: hidden;
        height: 280px;
    }

        .featured-card .blog-item-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s;
        }

    .featured-card:hover .blog-item-img img {
        transform: scale(1.05);
    }

    .featured-card .blog-item-img::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60%;
        background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    }

    .featured-card .blog-item-info {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        z-index: 2;
        color: #ffffff;
    }

    .featured-card .blog-title {
        font-size: 1.3rem;
        margin: 8px 0 0 0;
        line-height: 1.3;
        font-weight: 700;
    }

        .featured-card .blog-title a {
            color: #121111 !important;
            text-decoration: none;
            /* text-shadow: 2px 2px 4px rgba(0,0,0,0.8);*/
        }

    .featured-card .blog-item-meta a {
        color: rgba(255,255,255,0.9);
        font-size: 0.75rem;
    }

/* Small Cards */
.small-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    margin-bottom: 15px;
    display: flex;
    height: 110px;
}

    .small-card:hover {
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
        transform: translateY(-2px);
    }

    .small-card .blog-item-img {
        width: 140px;
        flex-shrink: 0;
        overflow: hidden;
    }

        .small-card .blog-item-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s;
        }

    .small-card:hover .blog-item-img img {
        transform: scale(1.1);
    }

    .small-card .blog-item-info {
        padding: 12px 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-grow: 1;
    }

    .small-card .blog-title {
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.3;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

        .small-card .blog-title a {
            color: var(--text-dark);
            text-decoration: none;
            transition: color 0.3s;
        }

            .small-card .blog-title a:hover {
                color: var(--primary-color);
            }



/* Regular Grid Cards */
.blog-item {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .blog-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    }

.blog-item-img {
    position: relative;
    overflow: hidden;
    height: 160px;
    flex-shrink: 0;
}

    .blog-item-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s;
    }

.blog-item:hover .blog-item-img img {
    transform: scale(1.1);
}

.blog-item-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-item-meta {
    margin-bottom: 8px;
}

    .blog-item-meta ul {
        list-style: none;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        padding: 0;
        margin: 0;
    }

    .blog-item-meta li {
        margin: 0;
    }

    .blog-item-meta a {
        color: var(--text-muted);
        text-decoration: none;
        font-size: 0.7rem;
        transition: color 0.3s;
        display: flex;
        align-items: center;
        gap: 4px;
    }

        .blog-item-meta a:hover {
            color: var(--primary-color);
        }

    .blog-item-meta i {
        color: var(--primary-color);
        font-size: 0.7rem;
    }

.blog-title {
    font-size: 0.95rem;
    margin: 8px 0;
    line-height: 1.4;
    flex-grow: 1;
    font-weight: 600;
}

    .blog-title a {
        color: var(--text-dark);
        text-decoration: none;
        transition: color 0.3s;
    }

        .blog-title a:hover {
            color: var(--primary-color);
        }

.blog-item-info .theme-btn {
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s;
    border: none;
    font-weight: 600;
    font-size: 0.75rem;
    margin-top: auto;
    align-self: flex-start;
}

    .blog-item-info .theme-btn:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
        color: white;
    }

    .blog-item-info .theme-btn i {
        font-size: 0.7rem;
    }

/* Layout Grid */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.featured-section {
    grid-column: 1;
}

.sidebar-section {
    grid-column: 2;
    display: flex;
    flex-direction: column;
}

/* Responsive */
@media (max-width: 992px) {
    .news-layout {
        grid-template-columns: 1fr;
    }

    .featured-section,
    .sidebar-section {
        grid-column: 1;
    }

    .featured-card .blog-item-img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .breadcrumb-title {
        font-size: 1.8rem;
    }

    .category-nav .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }

    .small-card {
        height: auto;
        flex-direction: column;
    }

        .small-card .blog-item-img {
            width: 100%;
            height: 140px;
        }

    .featured-card .blog-item-img {
        height: 200px;
    }

    .featured-card .blog-title {
        font-size: 1.1rem;
    }
    .pagination .page-link {
        border: none;
        background: #171718;
        color: #fff;
        margin: 0 10px;
        border-radius: 8px !important;
        width: 40px;
        margin: 4px 8px;
        height: 40px;
        line-height: 27px;
        text-align: center;
        transition: all .5s ease-in-out;
    }
}
