/**
 * HubSpotX Public Styles
 */

.hubspotx-blog-grid {
    display: grid;
    gap: 30px;
    margin: 20px 0;
}

.hubspotx-columns-1 {
    grid-template-columns: 1fr;
}

.hubspotx-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.hubspotx-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.hubspotx-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {
    .hubspotx-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hubspotx-blog-grid {
        grid-template-columns: 1fr;
    }
}

.hubspotx-blog-item {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.hubspotx-blog-item:hover {
    transform: translateY(-5px);
}

.hubspotx-blog-thumbnail {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.hubspotx-blog-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.hubspotx-blog-item:hover .hubspotx-blog-thumbnail img {
    transform: scale(1.05);
}

.hubspotx-blog-meta-top {
    margin-bottom: 10px;
}

.hubspotx-blog-category {
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
    font-weight: 500;
}

.hubspotx-blog-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.hubspotx-blog-title a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hubspotx-blog-title a:hover {
    color: #004a99;
}

.hubspotx-blog-meta-bottom {
    font-size: 14px;
    color: #888;
    border-top: 1px solid #f5f5f5;
    padding-top: 10px;
}

.hubspotx-blog-sep {
    margin: 0 5px;
}