.fleetbeat-blog-section {
    width: 100%;
	padding: 0 0 60px;
	font-family: "Lato", sans-serif;
}

.fleetbeat-blog-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.fleetbeat-blog-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.fleetbeat-blog-title {
    margin: 0;
    padding: 0;
    font-family: Lato;
    font-weight: 500;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: -2.3%;
    color: #2B3D4F;
}

.fleetbeat-blog-description {
    width: 100%;
    max-width: 800px;
    margin: 0;
    padding: 0;
    font-family: Lato;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: -2.3%;
    color: #6C7781;
}

.fleetbeat-blog-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}

.fleetbeat-blog-cards--loading {
    opacity: 0.3;
    pointer-events: none;
}

.fleetbeat-blog-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    max-height: 392px;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0px 8px 24px -8px rgba(0, 0, 0, 0.12);
    animation: fleetbeatFadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

.fleetbeat-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 12px 32px -8px rgba(0, 0, 0, 0.16);
}

.fleetbeat-blog-card__body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.fleetbeat-blog-card__header {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(90deg, #28AF60 0%, #1BB876 100%);
}

.fleetbeat-blog-card__header--no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fleetbeat-blog-card__picture {
    display: block;
    width: 100%;
    height: 100%;
}

.fleetbeat-blog-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.fleetbeat-blog-card__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    line-height: 14px;
    font-weight: 700;
    color: #FFFFFF;
    white-space: nowrap;
}

.fleetbeat-blog-card__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fleetbeat-blog-card__title {
    margin: 0;
    color: #2B3D4F;
    font-size: 18px;
    line-height: 140%;
    font-weight: 700;
}

.fleetbeat-blog-card__text {
    margin: 0;
    color: #9DA4AB;
    font-size: 14px;
    line-height: 160%;
    font-weight: 400;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.fleetbeat-blog-card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.fleetbeat-blog-card__date {
    color: #6C7781;
    font-size: 14px;
    line-height: 17px;
    white-space: nowrap;
}

.fleetbeat-blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #28AF60;
    font-size: 14px;
    line-height: 17px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.fleetbeat-blog-card__link i {
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.fleetbeat-blog-card__link:hover {
    color: #1bb876;
}

.fleetbeat-blog-card__link:hover i {
    transform: translateX(4px);
}

.fleetbeat-no-posts {
    text-align: center;
    font-size: 18px;
    color: #6C7781;
}

.fleetbeat-filter-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    padding: 32px 0 40px;
    justify-content: center;
}

.fleetbeat-filter-btn {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 12px 24px;
    height: 42px;
    border: 1px solid #E5E7EB;
    border-radius: 100px;
    background: transparent;
    font-family: 'Geist', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 18px;
    color: #2B3D4F;
    cursor: pointer;
    transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.fleetbeat-filter-btn:hover {
    border-color: #28AF60;
    color: #28AF60;
}

.fleetbeat-filter-btn--active {
    background: #28AF60;
    border-color: #28AF60;
    color: #FFFFFF;
}

.fleetbeat-filter-btn--active:hover {
    color: #FFFFFF;
    border-color: #28AF60;
}

@keyframes fleetbeatFadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fleetbeat-pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 56px 0 24px;
}

.fleetbeat-pagination {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 8px;
}

.fleetbeat-pagination__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    margin: 0;
    gap: 8px;
    list-style: none;
}

.fleetbeat-pagination__item {
    margin: 0;
    padding: 0;
}

.fleetbeat-pagination__link,
.fleetbeat-pagination__step {
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    text-align: center;
    color: #6C7781;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.fleetbeat-pagination__link:hover {
    border-color: #28AF60;
    color: #28AF60;
}

.fleetbeat-pagination__item--active .fleetbeat-pagination__link,
.fleetbeat-pagination__item--active .fleetbeat-pagination__step {
    background: #28AF60;
    border-color: #E5E7EB;
    color: #FFFFFF;
    cursor: default;
}

.fleetbeat-pagination__item--disabled .fleetbeat-pagination__link {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.fleetbeat-pagination__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 28px;
    color: #6C7781;
    user-select: none;
}

.fleetbeat-pagination__arrow {
    font-size: 18px;
    font-weight: 600;
}

#fleetbeat-pagination-wrapper:empty {
    display: none;
}

@media (max-width: 768px) {
    .fleetbeat-blog-section {
        padding: 48px 0;
    }

    .fleetbeat-blog-container {
        max-width: 328px;
    }

    .fleetbeat-blog-header {
        gap: 16px;
        margin-bottom: 24px;
    }

    .fleetbeat-blog-title {
        font-size: 28px;
        line-height: 100%;
    }

    .fleetbeat-blog-description {
        font-size: 16px;
        line-height: 150%;
    }

    .fleetbeat-blog-cards {
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .fleetbeat-blog-cards::-webkit-scrollbar {
        display: none;
    }

    .fleetbeat-blog-card {
        flex: 0 0 288px;
        width: 288px;
        height: 420px;
        scroll-snap-align: start;
        transition: none;
    }
    
    .fleetbeat-blog-card:hover {
        transform: none;
        box-shadow: 0px 8px 24px -8px rgba(0, 0, 0, 0.12);
    }
}