.mb-know {
    --mb-know-card-height: 248px;
    --mb-know-slide-width: 72%;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.mb-know__header {
    margin-bottom: 1.25rem;
}

.mb-know__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--mb-text, #212529);
}

.mb-know__title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 12px;
    background: rgba(255, 102, 0, 0.12);
    color: var(--mb-accent, #ff6600);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mb-know__viewport {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: calc(var(--mb-know-card-height) + 3.25rem);
    padding: 0.5rem 2.5rem 2.75rem;
    overflow: hidden;
    box-sizing: border-box;
}

.mb-know__swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.mb-know__swiper .swiper-wrapper {
    align-items: stretch;
}

.mb-know__swiper .swiper-slide {
    width: var(--mb-know-slide-width);
    height: var(--mb-know-card-height);
    box-sizing: border-box;
}

/* Until Swiper initializes: show only the first card as active */
.mb-know__swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
    display: none;
}

.mb-know__swiper:not(.swiper-initialized) .swiper-slide:first-child .mb-know-card {
    transform: scale(1);
    opacity: 1;
    border-color: rgba(255, 102, 0, 0.18);
    box-shadow: var(--mb-shadow-md, 0 4px 16px rgba(0, 0, 0, 0.08));
}

.mb-know__swiper:not(.swiper-initialized) .swiper-slide:first-child .mb-know-card__accent {
    opacity: 1;
}

.mb-know-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 1.25rem 1.2rem;
    border-radius: var(--mb-card-radius, 16px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: linear-gradient(160deg, #ffffff 0%, #fafafa 100%);
    box-shadow: var(--mb-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
    overflow: hidden;
    transform: scale(0.94);
    opacity: 0.62;
    transition:
        transform 0.45s ease,
        opacity 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

.swiper-slide-active .mb-know-card {
    transform: scale(1);
    opacity: 1;
    border-color: rgba(255, 102, 0, 0.18);
    box-shadow: var(--mb-shadow-md, 0 4px 16px rgba(0, 0, 0, 0.08));
}

.mb-know-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--mb-accent, #ff6600), rgba(255, 102, 0, 0.35));
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 1;
    pointer-events: none;
}

.swiper-slide-active .mb-know-card__accent {
    opacity: 1;
}

.mb-know-card__title {
    margin: 0 0 0.75rem;
    padding-right: 0.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--mb-text, #212529);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    flex-shrink: 0;
}

.mb-know-card__text {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-right: 0.35rem;
    font-size: 0.98rem;
    line-height: 1.55;
    color: var(--mb-text-muted, #6c757d);
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

.mb-know-card__text::-webkit-scrollbar {
    width: 5px;
}

.mb-know-card__text::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
}

.mb-know-card__text p {
    margin: 0;
}

.mb-know-card__text p + p {
    margin-top: 0.5rem;
}

.mb-know__nav {
    position: absolute;
    top: calc(var(--mb-know-card-height) * 0.5);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-top: -1rem;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: #fff;
    color: var(--mb-text-muted, #6c757d);
    box-shadow: var(--mb-shadow-sm, 0 1px 3px rgba(0, 0, 0, 0.06));
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.mb-know__nav:hover {
    color: var(--mb-accent, #ff6600);
    border-color: rgba(255, 102, 0, 0.25);
    box-shadow: var(--mb-shadow-md, 0 4px 16px rgba(0, 0, 0, 0.08));
    transform: scale(1.05);
}

.mb-know__nav--prev {
    left: 0;
}

.mb-know__nav--next {
    right: 0;
}

.mb-know__pagination {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.mb-know__pagination .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    margin: 0 !important;
    border-radius: 999px;
    background: #d7dce1;
    opacity: 1;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.mb-know__pagination .swiper-pagination-bullet-active {
    width: 1.35rem;
    background: var(--mb-accent, #ff6600);
}

@media (min-width: 768px) {
    .mb-know {
        --mb-know-slide-width: 68%;
    }

    .mb-know__title {
        font-size: 1.5rem;
    }

    .mb-know-card {
        padding: 1.75rem 1.5rem 1.35rem;
    }

    .mb-know-card__title {
        font-size: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    .mb-know {
        --mb-know-card-height: 260px;
        --mb-know-slide-width: 82%;
    }

    .mb-know__viewport {
        padding-left: 0;
        padding-right: 0;
    }

    .mb-know__nav {
        display: none;
    }
}
