.blog-grid-area {
    padding: 80px 0;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-card-img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

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

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

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

.blog-card-meta {
    margin-bottom: 15px;
}

.category-badge {
    display: inline-block;
    background: #27ae60;
    color: #fff;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 5px;
}

.category-badge:hover {
    background: #229954;
    color: #fff;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    color: #2c3e50;
}

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

.blog-card-title a:hover {
    color: #27ae60;
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.5;
}

.blog-card-text {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-card-bottom {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #95a5a6;
}

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

.sidebar-widget {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

/* Category Sidebar Styles */
.widget_categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_categories ul li {
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.widget_categories ul li:last-child {
    border-bottom: none;
}

.widget_categories ul li a {
    display: block;
    padding: 8px 0;
    color: var(--body-text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.widget_categories ul li a:hover,
.widget_categories ul li a.active {
    color: #27ae60;
    padding-left: 10px;
}

.widget_categories ul li.current-cat > a {
    color: #27ae60;
    font-weight: 400;
}

.widget_categories ul li span {
    float: right;
    color: #999;
    font-size: 15px;
    margin-top: 0px;
}

/* Child Categories Styles */
.widget_categories ul li ul.children {
    padding-left: 8px;
    margin-top: 2px;
}

.widget_categories ul li ul.children li {
    border-bottom: none;
    padding-left: 4px;
    position: relative;
}

.widget_categories ul li ul.children li:before {
    /* content: "";
    position: absolute;
    left: -2px;
    top: 20px;
    width: 15px;
    height: 1px;
    background: #f0f0f0; */
}

.widget_categories ul li ul.children li a {
    padding: 8px 0;
    font-size: 16px;
    font-weight: 400;
}

.widget_categories ul li ul.children li a:hover,
.widget_categories ul li ul.children li a.active {
    color: #27ae60;
    padding-left: 5px;
}

.widget_categories ul li ul.children li.current-cat > a {
    color: #27ae60;
    font-weight: 500;
}

.widget_categories ul li ul.children li span {
    font-size: 15px;
    margin-top: 0px;
}

/* Parent category with active child */
.widget_categories ul li.has-active-child > a {
    color: var(--body-text-color);
    font-weight: 400;
}

/* Expanded children by default when parent or child is active */
.widget_categories ul li ul.children.expanded {
    display: block;
}

/* Collapsed children by default (can be implemented with JavaScript for interaction) */
.widget_categories ul li ul.children:not(.expanded) {
    display: block;
    /* Always show for now, can be changed to 'none' for collapsible behavior */
}

.widget-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #27ae60;
    border-radius: 2px;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-title {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.category-description {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.empty-state-icon {
    font-size: 80px;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.pagination {
    justify-content: center;
    margin-top: 50px;
}

.pagination .page-link {
    border: none;
    background: transparent;
    color: #7f8c8d;
    padding: 12px 20px;
    margin: 0 3px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-link:hover,
.pagination .page-item.active .page-link {
    background: #27ae60;
    color: #fff;
}

/* Custom Pagination Layout */
.pagination-layout1 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-layout1 ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.pagination-layout1 li {
    margin: 0;
}

.pagination-layout1 li a,
.pagination-layout1 li span {
    display: block;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    color: #6c757d;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 48px;
    text-align: center;
}

.pagination-layout1 li a:hover {
    background: #27ae60;
    color: #fff;
    border-color: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.pagination-layout1 li a.active {
    background: #27ae60;
    color: #fff;
    border-color: #27ae60;
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.3);
}

.pagination-layout1 li.disabled span {
    background: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
    border-color: #e9ecef;
}

.list-style-none {
    list-style: none !important;
}

.my-30 {
    margin-top: 30px;
    margin-bottom: 30px;
}
