.bm-embla {
    position: relative;
    width: 100%;
    --bm-embla-gap: 12px;
    --bm-embla-spv-desktop: 1;
    --bm-embla-spv-tablet: 1;
    --bm-embla-spv-mobile: 1;
    --bm-embla-slide-min-height: 0px;
    --bm-embla-arrow-bg: rgba(0, 0, 0, 0.6);
    --bm-embla-arrow-color: #fff;
    --bm-embla-dot-color: rgba(0, 0, 0, 0.25);
    --bm-embla-dot-active-color: rgba(0, 0, 0, 0.8);
    --bm-embla-image-fit: cover;
    --bm-embla-image-position: center center;
}

.bm-embla__viewport {
    overflow: hidden;
    padding: 12px 0;
    margin: -12px 0;
}

.bm-embla__container {
    display: flex;
    touch-action: pan-y pinch-zoom;
    margin-left: calc(var(--bm-embla-gap) * -1);
}

.bm-embla__slide {
    min-width: 0;
    flex: 0 0 calc(100% / var(--bm-embla-spv-desktop));
    padding-left: var(--bm-embla-gap);
    display: flex;
}

.post-item {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #ececec;
    box-shadow: none !important;
    min-height: var(--bm-embla-slide-min-height);
    width: 100%;
    display: flex;
    flex-direction: column;
}

.post-item__img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: var(--bm-embla-image-fit);
    object-position: var(--bm-embla-image-position);
    transform-origin: center center;
    will-change: transform;
}

.post-item__media--ratio {
    aspect-ratio: var(--bm-embla-image-ratio);
}

.post-item__media--ratio .post-item__img {
    height: 100%;
}

.post-item__media--ratio .post-item__img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.post-item__content {
    padding: 16px;
    color: var(--bm-embla-slide-text-color, inherit);
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.post-item__content .post-item__title,
.post-item__content .post-item__meta p,
.post-item__content .post-item__excerpt p,
.post-item__content .post-item__link {
    color: var(--bm-embla-slide-text-color, currentColor);
}

.post-item__title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.25;
}

.post-item__meta p,
.post-item__excerpt p {
    margin: 0 0 10px;
}

.post-item__meta p:last-child,
.post-item__excerpt p:last-child {
    margin-bottom: 0;
}

.post-item__link {
    display: inline-block;
    text-decoration: none;
}

.post-item__link-container {
    margin-top: auto;
}

.bm-embla__arrows {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

.bm-embla__button {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: var(--bm-embla-arrow-bg);
    color: var(--bm-embla-arrow-color);
    cursor: pointer;
}

.bm-embla__button[disabled] {
    opacity: 0.35;
    cursor: not-allowed;
}

.bm-embla__dots {
    margin-top: 14px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.bm-embla__dot {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bm-embla__dot::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--bm-embla-dot-color);
    display: block;
}

.bm-embla__dot.is-active::before {
    background: var(--bm-embla-dot-active-color);
}

@media (max-width: 992px) {
    .bm-embla__slide {
        flex-basis: calc(100% / var(--bm-embla-spv-tablet));
    }
}

@media (max-width: 767px) {
    .bm-embla__slide {
        flex-basis: calc(100% / var(--bm-embla-spv-mobile));
    }
}