/* Blog Grid Layout */
.custom-blog-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.custom-blog-item {
    flex: 1 1 calc(33.333% - 25px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* Thumbnail */
.custom-blog-thumb {
    display: block;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

/* Content */
.custom-blog-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.custom-blog-title h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    color: #222;
}

.custom-blog-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.custom-blog-excerpt {
    flex: 1;
    font-size: 0.95rem;
    color: #555;
    margin: 0;
}

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

.custom-pagination-list {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 10px;
}

.custom-pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-blog-item {
        flex: 1 1 calc(50% - 25px);
    }
}

@media (max-width: 480px) {
    .custom-blog-item {
        flex: 1 1 100%;
    }
}

.custom-rm-breadcrumbs {
    font-size: 14px;
    margin-bottom: 40px;
    color: #666;
}
.custom-rm-breadcrumbs a {
    color: #0073aa;
    text-decoration: none;
}
.custom-rm-breadcrumbs a:hover {
    text-decoration: underline;
}
