.smart-posts-container-9d41d2da {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 15px 0;
}

/* Single line aligned header styling */
.smart-posts-controls-bar {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.smart-posts-filter-wrapper,
.smart-posts-date-filter-wrapper,
.smart-posts-search-wrapper {
    flex: 1;
    min-width: 180px;
}

.smart-posts-select-filter,
.smart-posts-date-filter {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    background-color: #ffffff;
    color: #333333;
    outline: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    cursor: pointer;
    transition: border-color 0.2s;
}

.smart-posts-select-filter:focus,
.smart-posts-date-filter:focus {
    border-color: #0274b3;
}

.smart-posts-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    background-color: #f9f9f9;
    color: #333333;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.smart-posts-search-input:focus {
    border-color: #0274b3;
    box-shadow: 0 0 0 3px rgba(2, 116, 179, 0.15);
}

/* Grid Layout */
.smart-posts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

@media (max-width: 768px) {
    .smart-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Post Card Container */
.smart-post-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

@media (max-width: 480px) {
    .smart-post-card {
        flex-direction: column;
    }
}

.smart-post-image {
    flex: 0 0 180px;
    width: 180px;
    aspect-ratio: 1.5;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (max-width: 480px) {
    .smart-post-image {
        width: 100%;
        flex: auto;
    }
}

.smart-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.smart-post-content {
    flex: 1;
}

/* Post Categories badges in Content */
.smart-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.smart-post-cat-badge {
    background-color: #fbc02d;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
    display: inline-block;
}

.smart-post-cat-badge:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    color: #ffffff;
}

/* Post Title styling */
.smart-post-title {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.smart-post-title a {
    text-decoration: none;
    color: #0274b3;
    transition: color 0.2s;
}

.smart-post-title a:hover {
    color: #fbc02d;
}

/* Date */
.smart-post-date {
    font-size: 12px;
    color: #aaaaaa;
    text-transform: uppercase;
}

/* Pagination container */
.smart-posts-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.smart-pagination-btn {
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.smart-pagination-btn.active,
.smart-pagination-btn:hover {
    background-color: #fbc02d;
    border-color: #fbc02d;
    color: #ffffff;
    font-weight: 700;
}

.smart-posts-not-found {
    padding: 30px;
    text-align: center;
    background: #fdfdfd;
    border: 1px dashed #cccccc;
    color: #666666;
    border-radius: 6px;
}
