/* Container */
.msbp-catalog-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
}

/* Sidebar */
.msbp-catalog-sidebar {
    flex: 1 1 250px;
    max-width: 300px;
}

.msbp-filter-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.msbp-filter-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Search Form */
.msbp-filter-box form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.msbp-filter-box input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.msbp-filter-box button {
    background: #e04c08;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.msbp-filter-box button:hover {
    background: #c03c05;
}

.reset-link {
    font-size: 13px;
    color: #666;
    text-decoration: underline;
    align-self: center;
}

/* Category List */
.msbp-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.msbp-category-list li {
    margin-bottom: 8px;
}

.msbp-category-list a {
    text-decoration: none;
    color: #555;
    display: block;
    padding: 5px 0;
    transition: color 0.2s;
}

.msbp-category-list a:hover {
    color: #e04c08;
}

.msbp-category-list a.active {
    color: #e04c08;
    font-weight: 700;
}

/* Main Content */
.msbp-catalog-content {
    flex: 3 1 600px;
}

/* Grid */
.msbp-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* Post Card */
.msbp-post-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.msbp-post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.msbp-post-thumbnail {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.msbp-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.msbp-post-card:hover .msbp-post-thumbnail img {
    transform: scale(1.05);
}

.msbp-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
}

/* Post Body */
.msbp-post-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.msbp-post-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.msbp-cat-badge {
    background: #eef2ff;
    color: #e04c08;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
}

.msbp-post-title {
    font-size: 18px;
    margin: 0 0 10px;
    line-height: 1.4;
}

.msbp-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.msbp-post-title a:hover {
    color: #e04c08;
}

.msbp-post-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.msbp-read-more {
    font-size: 14px;
    font-weight: 600;
    color: #e04c08;
    text-decoration: none;
    margin-top: auto;
    display: inline-block;
}

.msbp-read-more:hover {
    text-decoration: underline;
}

/* Pagination */
.msbp-pagination {
    margin-top: 40px;
    text-align: center;
}

.msbp-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #555;
    text-decoration: none;
    transition: background 0.2s;
}

.msbp-pagination .page-numbers.current,
.msbp-pagination .page-numbers:hover {
    background: #e04c08;
    color: #fff;
    border-color: #e04c08;
}

/* Responsive */
@media (max-width: 768px) {
    .msbp-catalog-container {
        flex-direction: column;
    }
    
    .msbp-catalog-sidebar {
        max-width: 100%;
        width: 100%;
    }
}
.blog-block-heading {
  font-size: 40px;
  margin: auto;
  display: flex;
  justify-content: center;
  text-align: center;
  padding-top: 32px;
  padding-bottom: 16px;
}

.hr-blog-block {
  width: 56px;
  border-bottom: 1px solid black;
  height: 1px;
  border-top: none;
  margin: auto;
}