/* ==========================================================================
   INSIGHTS ARCHIVE
   ========================================================================== */

.mb2b-insights {
    padding: 0 0 88px;
    background: #f8fafc;
}

.mb2b-insights .mb2b-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.mb2b-insights__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: 380px;
    margin: 0 auto 48px;
    text-align: left;
}

.mb2b-insights__hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 64px 56px 64px 24px;
}

.mb2b-insights__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin: 0 0 18px;
    color: #f59e0b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.2;
    text-transform: uppercase;
}

.mb2b-insights__eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.mb2b-insights__heading {
    max-width: 680px;
    margin: 0;
    color: #062431;
    font-size: clamp(42px, 4.5vw, 60px);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.02;
}

.mb2b-insights__intro {
    max-width: 590px;
    margin: 20px 0 0;
    color: #627279;
    font-size: 16px;
    line-height: 1.7;
}

.mb2b-insights__intro p {
    margin: 0;
}

.mb2b-insights__hero-media {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: 380px;
    overflow: hidden;
    background: #e7edf3;
}

/*
 * Hero decorative waves.
 *
 * Primary and secondary shapes share one pseudo-element.
 * Elementor controls their colors, size and offsets.
 */
.mb2b-insights__hero-media::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: var(--mb2b-insights-hero-wave-top, -85px);
    right: var(--mb2b-insights-hero-wave-right, -65px);
    width: var(--mb2b-insights-hero-wave-width, 500px);
    height: var(--mb2b-insights-hero-wave-height, 150px);
    border-radius: 0 0 0 100%;
    background: var(
        --mb2b-insights-hero-wave-primary-color,
        #b7ebfa
    );
    box-shadow:
        var(--mb2b-insights-hero-wave-secondary-x, -36px)
        var(--mb2b-insights-hero-wave-secondary-y, 18px)
        0 0
        var(
            --mb2b-insights-hero-wave-secondary-color,
            #ddf8ff
        );
    opacity: var(--mb2b-insights-hero-wave-opacity, 1);
    pointer-events: none;
}

/*
 * Hero image overlay.
 *
 * The first gradient creates the bottom fade.
 * The second creates the left-to-right image transition.
 */
.mb2b-insights__hero-media::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(
            0deg,
            var(
                --mb2b-insights-hero-overlay-start-color,
                #f8fafc
            ) 0%,
            transparent var(
                --mb2b-insights-hero-overlay-bottom-fade,
                24%
            )
        ),
        linear-gradient(
            var(
                --mb2b-insights-hero-overlay-angle,
                90deg
            ),
            var(
                --mb2b-insights-hero-overlay-start-color,
                #f8fafc
            ) 0%,
            var(
                --mb2b-insights-hero-overlay-middle-color,
                rgba(248, 250, 252, .72)
            ) var(
                --mb2b-insights-hero-overlay-middle-stop,
                11%
            ),
            transparent var(
                --mb2b-insights-hero-overlay-end-stop,
                40%
            )
        );
    pointer-events: none;
}

.mb2b-insights__hero-media img {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    object-position: center;
}

/* --------------------------------------------------------------------------
   Featured Article
   -------------------------------------------------------------------------- */

.mb2b-insights__featured {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    overflow: hidden;
    width: calc(100% - 48px);
    min-height: 280px;
    margin: 0 auto 38px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .055);
}

.mb2b-insights__featured-media {
    position: relative;
    display: block;
    min-height: 280px;
    overflow: hidden;
    background: #e7edf3;
}

.mb2b-insights__featured-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.mb2b-insights__featured-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 38px 46px;
}

.mb2b-insights__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--mb2b-insights-meta-row-gap, 8px)
         var(--mb2b-insights-meta-column-gap, 12px);
    margin-bottom: var(--mb2b-insights-meta-bottom-gap, 16px);
    color: var(--mb2b-insights-meta-color, #64748b);
    font-size: 12px;
    font-weight: 700;
}

.mb2b-insights__category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--mb2b-insights-category-icon-gap, 7px);
    max-width: 100%;
    padding: var(--mb2b-insights-category-padding-y, 6px)
             var(--mb2b-insights-category-padding-x, 12px);
    border: 1px solid var(--mb2b-insights-category-border-color, transparent);
    border-radius: var(--mb2b-insights-category-radius, 999px);
    background: var(--mb2b-insights-category-background, #dff3ff);
    color: var(--mb2b-insights-category-color, #102f65);
    font-weight: 700;
    line-height: 1.35;
}

.mb2b-insights__category-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--mb2b-insights-category-icon-color, #0877d1);
}

.mb2b-insights__category-icon svg {
    width: var(--mb2b-insights-category-icon-size, 14px);
    height: var(--mb2b-insights-category-icon-size, 14px);
}

.mb2b-insights__category-icon i {
    font-size: var(--mb2b-insights-category-icon-size, 14px);
}

.mb2b-insights__date::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 9px 2px 0;
    border-radius: 50%;
    background: #cbd5e1;
}

.mb2b-insights__featured-title {
    max-width: 720px;
    margin: 0;
    color: #062431;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
}

.mb2b-insights__featured-title a,
.mb2b-insights__card-title a {
    color: inherit;
    text-decoration: none;
}

.mb2b-insights__featured-excerpt {
    max-width: 680px;
    margin-top: 14px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.mb2b-insights__featured-excerpt p {
    margin: 0;
}

.mb2b-insights__featured-link,
.mb2b-insights__card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--mb2b-insights-link-gap, 10px);
    width: fit-content;
    margin-top: var(--mb2b-insights-link-top-gap, 20px);
    color: var(--mb2b-insights-link-color, #ff9800);
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
}

.mb2b-insights__featured-link:hover,
.mb2b-insights__card-link:hover {
    color: var(--mb2b-insights-link-hover-color, #d87900);
}

.mb2b-insights__featured-link:focus-visible,
.mb2b-insights__card-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.mb2b-insights__article-link-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.mb2b-insights__article-link-icon i {
    font-size: var(--mb2b-insights-link-icon-size, 18px);
    line-height: 1;
}

.mb2b-insights__article-link-icon svg {
    display: block;
    width: var(--mb2b-insights-link-icon-size, 18px);
    height: var(--mb2b-insights-link-icon-size, 18px);
    flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Category Filter
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Article Search
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   Article Browse Header & Toolbar
   -------------------------------------------------------------------------- */

.mb2b-insights__browse-header {
    width: calc(100% - 48px);
    margin: 0 auto var(--mb2b-insights-browse-header-gap, 16px);
    text-align: var(--mb2b-insights-browse-align, left);
}

.mb2b-insights__browse-title {
    margin: 0;
    color: var(--mb2b-insights-browse-title-color, #102f65);
    font-size: clamp(30px, 3.4vw, 40px);
    font-weight: 800;
    line-height: 1.2;
}

.mb2b-insights__browse-description {
    margin: 6px 0 0;
    color: var(--mb2b-insights-browse-description-color, #526681);
    font-size: 16px;
    line-height: 1.6;
}

.mb2b-insights__browse-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--mb2b-insights-browse-toolbar-gap, 18px);
    width: calc(100% - 48px);
    margin: 0 auto var(--mb2b-insights-browse-toolbar-bottom-gap, 32px);
}

.mb2b-insights__browse-toolbar .mb2b-insights__search {
    flex: 1 1 45%;
    min-width: 0;
    width: 100%;
    max-width: var(--mb2b-insights-search-max-width, 100%);
    margin: 0;
}

.mb2b-insights__browse-toolbar .mb2b-insights__filters {
    flex: 1 1 55%;
    min-width: 0;
    width: auto;
    max-width: 100%;
    justify-content: flex-end;
    gap: var(--mb2b-insights-filter-gap, 10px);
    margin: 0;
}

.mb2b-insights__browse-toolbar .mb2b-insights__filter {
    min-height: var(--mb2b-insights-filter-height, 38px);
    padding: 0 var(--mb2b-insights-filter-padding, 14px);
    border-color: var(--mb2b-insights-filter-border, #c9ddf4);
    background: var(--mb2b-insights-filter-background, #fff);
    color: var(--mb2b-insights-filter-color, #102f65);
}

.mb2b-insights__browse-toolbar .mb2b-insights__filter.is-active {
    border-color: var(--mb2b-insights-filter-active-background, #173e7c);
    background: var(--mb2b-insights-filter-active-background, #173e7c);
    color: var(--mb2b-insights-filter-active-color, #fff);
}

@media (max-width: 767px) {
    .mb2b-insights__browse-header,
    .mb2b-insights__browse-toolbar {
        width: calc(100% - 32px);
    }

    .mb2b-insights__browse-title {
        font-size: 30px;
    }

    .mb2b-insights__browse-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .mb2b-insights__browse-toolbar .mb2b-insights__search,
    .mb2b-insights__browse-toolbar .mb2b-insights__filters {
        flex: 0 1 auto;
        width: 100%;
        max-width: 100%;
    }

    .mb2b-insights__browse-toolbar .mb2b-insights__filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }
}

.mb2b-insights__search {
    display: flex;
    align-items: stretch;
    gap: var(--mb2b-insights-search-gap, 12px);
    width: calc(100% - 48px);
    max-width: var(--mb2b-insights-search-max-width, 900px);
    margin: 0 auto var(--mb2b-insights-search-bottom-gap, 28px);
}

.mb2b-insights__search-input {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: var(--mb2b-insights-search-height, 54px);
    box-sizing: border-box;
    margin: 0;
    padding: 0 20px;
    border: 1px solid var(--mb2b-insights-search-border, #dbe3ec);
    border-radius: var(--mb2b-insights-search-radius, 12px);
    background: var(--mb2b-insights-search-background, #fff);
    color: var(--mb2b-insights-search-color, #062431);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: none;
}

.mb2b-insights__search-input::placeholder {
    color: var(--mb2b-insights-search-placeholder-color, #64748b);
    opacity: 1;
}

.mb2b-insights__search-input:focus {
    border-color: var(--mb2b-insights-search-focus-color, #ff9e00);
    outline: 2px solid var(--mb2b-insights-search-focus-color, #ff9e00);
    outline-offset: 1px;
}

.mb2b-insights__search-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: var(--mb2b-insights-search-icon-gap, 10px);
    min-height: var(--mb2b-insights-search-height, 54px);
    box-sizing: border-box;
    margin: 0;
    padding: 0 24px;
    border: 0;
    border-radius: var(--mb2b-insights-search-button-radius, 12px);
    background: var(--mb2b-insights-search-button-bg, #ff9e00);
    color: var(--mb2b-insights-search-button-color, #062431);
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.mb2b-insights__search-button:hover {
    background: var(--mb2b-insights-search-button-hover-bg, #f28c00);
    color: var(--mb2b-insights-search-button-color, #062431);
}

.mb2b-insights__search-button i {
    font-size: var(--mb2b-insights-search-icon-size, 18px);
    line-height: 1;
}

.mb2b-insights__search-button svg {
    display: block;
    width: var(--mb2b-insights-search-icon-size, 18px);
    height: var(--mb2b-insights-search-icon-size, 18px);
    flex: 0 0 auto;
}


/* --------------------------------------------------------------------------
   Search Field: Icon Inside
   -------------------------------------------------------------------------- */

.mb2b-insights__search.mb2b-insights__search--icon-inside {
    position: relative;
    display: block;
    min-width: 0;
    gap: 0;
}

.mb2b-insights__search--icon-inside .mb2b-insights__search-input {
    width: 100%;
    padding-left: var(--mb2b-insights-search-inline-padding, 52px);
    padding-right: 20px;
}

.mb2b-insights__search--icon-inside .mb2b-insights__search-button {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: var(--mb2b-insights-search-inline-button-width, 52px);
    min-width: 0;
    max-width: none;
    min-height: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--mb2b-insights-search-inline-icon-color, #64748b);
    box-shadow: none;
    transform: none;
    cursor: pointer;
}

.mb2b-insights__search--icon-inside .mb2b-insights__search-button:hover {
    border-color: transparent;
    background: transparent;
    color: var(--mb2b-insights-search-inline-icon-hover-color, #173e7c);
    box-shadow: none;
}

.mb2b-insights__search--icon-inside .mb2b-insights__search-button:focus-visible {
    outline: 2px solid var(--mb2b-insights-search-inline-focus-color, #173e7c);
    outline-offset: -4px;
}

.mb2b-insights__search--icon-inside .mb2b-insights__search-button svg {
    width: var(--mb2b-insights-search-inline-icon-size, 20px);
    height: var(--mb2b-insights-search-inline-icon-size, 20px);
}

.mb2b-insights__search--icon-inside .mb2b-insights__search-button i {
    font-size: var(--mb2b-insights-search-inline-icon-size, 20px);
}

.mb2b-insights__search--icon-right .mb2b-insights__search-input {
    padding-left: 20px;
    padding-right: var(--mb2b-insights-search-inline-padding, 52px);
}

.mb2b-insights__search--icon-right .mb2b-insights__search-button {
    left: auto;
    right: 0;
}

.mb2b-insights__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: calc(100% - 48px);
    margin: 0 auto 42px;
}

.mb2b-insights__filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #dbe3ec;
    border-radius: 999px;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.mb2b-insights__filter.is-active {
    border-color: #062431;
    background: #062431;
    color: #fff;
}

/* --------------------------------------------------------------------------
   Article Grid
   -------------------------------------------------------------------------- */

.mb2b-insights__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: calc(100% - 48px);
    margin: 0 auto;
}

.mb2b-insights__card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
}

.mb2b-insights__card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e7edf3;
}

.mb2b-insights__card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mb2b-insights__card-content {
    padding: 26px 28px 30px;
}

.mb2b-insights__card-title {
    margin: 0;
    color: #062431;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.mb2b-insights__card-excerpt {
    margin-top: 12px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.mb2b-insights__card-excerpt p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.mb2b-insights__pagination {
    margin-top: 48px;
    text-align: center;
}

.mb2b-insights__pagination ul {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mb2b-insights__pagination li {
    margin: 0;
    padding: 0;
}

.mb2b-insights__pagination a,
.mb2b-insights__pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dbe3ec;
    border-radius: 10px;
    background: #fff;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.mb2b-insights__pagination .current {
    border-color: #062431;
    background: #062431;
    color: #fff;
}

/* --------------------------------------------------------------------------
   Empty State
   -------------------------------------------------------------------------- */

.mb2b-insights__empty {
    width: calc(100% - 48px);
    margin: 0 auto;
    padding: 64px 32px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    text-align: center;
}

.mb2b-insights__empty h2 {
    margin: 0;
    color: #062431;
    font-size: 28px;
}

.mb2b-insights__empty p {
    margin: 12px 0 0;
    color: #64748b;
}

/* --------------------------------------------------------------------------
   Bottom CTA
   -------------------------------------------------------------------------- */

.mb2b-insights__cta {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 36px;
    width: calc(100% - 48px);
    margin: 72px auto 0;
    padding: 22px 32px;
    overflow: hidden;
    border-radius: 20px;
    background-color: #123c7b;
    background-image: linear-gradient(
        112deg,
        transparent 18%,
        var(--mb2b-insights-cta-gradient-end, #135ca2) 100%
    );
}

.mb2b-insights__cta::before,
.mb2b-insights__cta::after {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: var(--mb2b-insights-cta-wave-bottom, -82px);
    width: var(--mb2b-insights-cta-wave-width, 280px);
    height: var(--mb2b-insights-cta-wave-height, 145px);
    opacity: var(--mb2b-insights-cta-wave-opacity, 1);
    border-radius: 55% 55% 0 0;
    background: linear-gradient(
        135deg,
        var(--mb2b-insights-cta-wave-primary, #05bce6),
        var(--mb2b-insights-cta-wave-secondary, #43ddf3)
    );
    pointer-events: none;
}

.mb2b-insights__cta::before {
    left: -88px;
    transform: rotate(18deg);
}

.mb2b-insights__cta::after {
    right: -88px;
    transform: rotate(-18deg);
}

.mb2b-insights__cta-content,
.mb2b-insights__cta-button {
    position: relative;
    z-index: 1;
}

.mb2b-insights__cta-content {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    min-width: 0;
    max-width: 720px;
}

.mb2b-insights__cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: #f59e0b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mb2b-insights__cta-eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: currentColor;
}

.mb2b-insights__cta-heading {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.mb2b-insights__cta-description {
    max-width: 680px;
    margin: 16px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 15px;
    line-height: 1.7;
}

.mb2b-insights__cta-button {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--mb2b-insights-cta-button-gap, 10px);
    flex: 0 0 auto;
    min-height: var(--mb2b-insights-cta-button-height, 50px);
    padding: 0 22px;
    border-radius: 10px;
    background: #f59e0b;
    color: #062431;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
}

/*
 * CTA Button Horizontal Offset — Desktop only.
 *
 * Negative value moves the button left.
 * Positive value moves the button right.
 *
 * Tablet and mobile layouts remain unchanged.
 */
@media (min-width: 1025px) {
    .mb2b-insights__cta-content {
        transform: translateX(
            var(--mb2b-insights-cta-title-desktop-offset-x, 0px)
        );
    }

    .mb2b-insights__cta-button {
        transform: translateX(
            var(--mb2b-insights-cta-button-desktop-offset-x, 0px)
        );
    }
}

@media (max-width: 1280px) {
    .mb2b-insights__cta {
        display: flex;
        justify-content: space-between;
    }

    .mb2b-insights__cta-content {
        flex: 1 1 auto;
        min-width: 0;
    }

    .mb2b-insights__cta-button {
        flex: 0 0 auto;
    }
}

.mb2b-insights__cta-button-visual {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--mb2b-insights-cta-media-color, currentColor);
    line-height: 1;
}

.mb2b-insights__cta-button-visual i {
    font-size: var(--mb2b-insights-cta-icon-size, 18px);
    line-height: 1;
}

.mb2b-insights__cta-button-visual svg {
    display: block;
    width: var(--mb2b-insights-cta-icon-size, 18px);
    height: var(--mb2b-insights-cta-icon-size, 18px);
    flex: 0 0 auto;
}

.mb2b-insights__cta-button-visual svg.e-font-icon-svg {
    fill: currentColor;
}

.mb2b-insights__cta-button-image {
    display: block;
    width: var(--mb2b-insights-cta-image-width, 20px);
    height: var(--mb2b-insights-cta-image-height, 20px);
    max-width: none;
    object-fit: contain;
}

.mb2b-insights__cta-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {

    .mb2b-insights__hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
        min-height: 330px;
    }

    .mb2b-insights__hero-content {
        padding-right: 32px;
    }

    .mb2b-insights__heading {
        font-size: clamp(38px, 5vw, 50px);
    }

    .mb2b-insights__hero-media,
    .mb2b-insights__hero-media img {
        min-height: 330px;
    }

    .mb2b-insights__featured-content {
        padding: 32px;
    }

    .mb2b-insights__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mb2b-insights__cta {
        padding: 42px;
    }
}

@media (max-width: 767px) {

    .mb2b-insights {
        padding-bottom: 56px;
    }

    .mb2b-insights__hero {
        display: block;
        min-height: 0;
        margin-bottom: 34px;
    }

    .mb2b-insights__hero-content {
        padding: 48px 24px 30px;
    }

    .mb2b-insights__heading {
        font-size: clamp(36px, 10vw, 48px);
    }

    .mb2b-insights__intro {
        font-size: 15px;
    }

    /* Decorative waves are hidden on mobile by default. */
    .mb2b-insights__hero-media::before {
        display: none;
    }

    .mb2b-insights__hero-media,
    .mb2b-insights__hero-media img {
        min-height: 230px;
    }

    .mb2b-insights__featured {
        display: block;
        width: calc(100% - 32px);
    }

    .mb2b-insights__featured-media,
    .mb2b-insights__featured-media img {
        min-height: 220px;
    }

    .mb2b-insights__featured-content {
        padding: 26px;
    }

    .mb2b-insights__featured-title {
        font-size: 28px;
    }

    .mb2b-insights__search {
        flex-direction: column;
        width: calc(100% - 32px);
    }

    .mb2b-insights__search-button {
        width: 100%;
    }

    .mb2b-insights__filters {
        width: calc(100% - 32px);
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .mb2b-insights__filters::-webkit-scrollbar {
        display: none;
    }

    .mb2b-insights__filter {
        flex: 0 0 auto;
    }

    .mb2b-insights__grid {
        grid-template-columns: 1fr;
        width: calc(100% - 32px);
    }

    .mb2b-insights__cta {
        width: calc(100% - 32px);
        flex-direction: column;
        align-items: flex-start;
        margin-top: 64px;
        padding: 34px 28px;
    }

    .mb2b-insights__cta-button {
        width: 100%;
    }

}

.mb2b-single-insight {
    background: #fff;
    color: #062431;
}

.mb2b-single-insight__hero {
    padding: 92px 0 68px;
    background: #f8fafc;
}

.mb2b-single-insight__hero .mb2b-container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.mb2b-single-insight__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-bottom: 20px;
    color: #7a898f;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.mb2b-single-insight__meta span {
    color: #d88900;
}

.mb2b-single-insight__title {
    max-width: 1000px;
    margin: 0;
    color: #062431;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.mb2b-single-insight__excerpt {
    max-width: 780px;
    margin-top: 24px;
    color: #627279;
    font-size: 19px;
    line-height: 1.7;
}

.mb2b-single-insight > .mb2b-container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.mb2b-single-insight__featured {
    margin: 0;
    padding-top: 56px;
}

.mb2b-single-insight__featured img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
}

.mb2b-single-insight__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 72px;
    padding: 64px 0 96px;
}

.mb2b-single-insight__content {
    min-width: 0;
    color: #344850;
    font-size: 17px;
    line-height: 1.85;
}

.mb2b-single-insight__content > *:first-child {
    margin-top: 0;
}

.mb2b-single-insight__content h2,
.mb2b-single-insight__content h3,
.mb2b-single-insight__content h4 {
    margin-top: 42px;
    margin-bottom: 16px;
    color: #062431;
    line-height: 1.25;
}

.mb2b-single-insight__content h2 {
    font-size: 32px;
}

.mb2b-single-insight__content h3 {
    font-size: 26px;
}

.mb2b-single-insight__content p,
.mb2b-single-insight__content ul,
.mb2b-single-insight__content ol {
    margin-bottom: 22px;
}

.mb2b-single-insight__content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.mb2b-single-insight__content a {
    color: #062431;
    text-decoration: underline;
    text-underline-offset: 3px;
}


/*
 * =====================================================
 * ARTICLE CONTENT BUILDER
 * =====================================================
 */

.mb2b-article-content {
    width: 100%;
}

.mb2b-article-content__block {
    width: 100%;
}

.mb2b-article-content__block--heading {
    margin: 0 0 22px;
}

.mb2b-article-content__block--heading h2,
.mb2b-article-content__block--heading h3,
.mb2b-article-content__block--heading h4,
.mb2b-article-content__block--heading h5 {
    margin: 0;
}

.mb2b-article-content__block--text {
    margin: 0 0 28px;
}

.mb2b-article-content__block--text p {
    margin: 0 0 18px;
}

.mb2b-article-content__block--text p:last-child {
    margin-bottom: 0;
}

.mb2b-article-content__block--image {
    margin: 38px 0;
    padding: 0;
}

.mb2b-article-content__block--image img {
    display: block;
    width: 100%;
    height: auto;
}

.mb2b-article-content__block--button {
    margin: 34px 0 42px;
}

.mb2b-article-content__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 13px 22px;
    border: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    text-underline-offset: unset;
    cursor: pointer;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        opacity 180ms ease;
}

.mb2b-article-content__button:hover {
    color: inherit;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(6, 36, 49, 0.14);
}

.mb2b-article-content__button:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 3px;
}

.mb2b-article-content__block--list {
    margin: 28px 0;
}

.mb2b-article-content__block--list ul,
.mb2b-article-content__block--list ol {
    margin: 0 0 22px;
    padding-left: 24px;
}

.mb2b-article-content__block--list li {
    margin-bottom: 10px;
}

.mb2b-article-content__block--list li:last-child {
    margin-bottom: 0;
}


.mb2b-single-insight__sidebar-box {
    position: sticky;
    top: 104px;
    padding: 28px;
    border-radius: 16px;
    background-color: #062431;
    background-image:
        radial-gradient(
            ellipse var(--mb2b-single-sidebar-wave-width, 220px)
                var(--mb2b-single-sidebar-wave-height, 110px)
                at var(--mb2b-single-sidebar-wave-x, 122%)
                var(--mb2b-single-sidebar-wave-y, 128%),
            var(--mb2b-single-sidebar-wave-primary, #1FC6E5) 60%,
            transparent 61%
        ),
        radial-gradient(
            ellipse var(--mb2b-single-sidebar-wave-secondary-width, 285px)
                var(--mb2b-single-sidebar-wave-secondary-height, 155px)
                at var(--mb2b-single-sidebar-wave-secondary-x, 122%)
                var(--mb2b-single-sidebar-wave-secondary-y, 125%),
            var(--mb2b-single-sidebar-wave-secondary, #9BEAF7) 60%,
            transparent 61%
        ),
        linear-gradient(
            var(--mb2b-single-sidebar-gradient-angle, 112deg),
            transparent 18%,
            var(--mb2b-single-sidebar-gradient-end, #135CA2) 100%
        );
    color: #fff;
}

.mb2b-single-insight__sidebar-eyebrow {
    margin-bottom: 10px;
    color: #f59e0b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mb2b-single-insight__sidebar-box h2 {
    margin: 0 0 22px;
    color: #fff;
    font-size: 25px;
    line-height: 1.2;
}

.mb2b-single-insight__sidebar-box .mb2b-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 8px;
    background-color: #FF9E00;
    color: #062431;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.mb2b-single-insight__related {
    padding: 88px 0;
    background: #f8fafc;
}

.mb2b-single-insight__related > .mb2b-container {
    width: min(1320px, calc(100% - 48px));
    margin: 0 auto;
}

.mb2b-single-insight__related-header {
    margin-bottom: 38px;
}

.mb2b-single-insight__related-header h2 {
    margin: 0;
    color: #062431;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -.025em;
}

@media (max-width: 1024px) {
    .mb2b-insights__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mb2b-single-insight__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .mb2b-single-insight__sidebar-box {
        position: static;
    }
}

@media (max-width: 767px) {
    .mb2b-insights {
        padding: 64px 0;
    }

    .mb2b-insights > .mb2b-container,
    .mb2b-single-insight__hero .mb2b-container,
    .mb2b-single-insight > .mb2b-container,
    .mb2b-single-insight__related > .mb2b-container {
        width: min(100% - 32px, 1320px);
    }

    .mb2b-insights__hero {
        margin-bottom: 30px;
    }

    .mb2b-insights__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mb2b-insight-card__body {
        padding: 22px;
    }

    .mb2b-insight-card__title {
        font-size: 21px;
    }

    .mb2b-single-insight__hero {
        padding: 64px 0 48px;
    }

    .mb2b-single-insight__title {
        font-size: clamp(36px, 11vw, 52px);
    }

    .mb2b-single-insight__excerpt {
        font-size: 16px;
    }

    .mb2b-single-insight__featured {
        padding-top: 32px;
    }

    .mb2b-single-insight__featured img {
        border-radius: 12px;
    }

    .mb2b-single-insight__layout {
        padding: 46px 0 68px;
    }

    .mb2b-single-insight__content {
        font-size: 16px;
    }

    .mb2b-single-insight__related {
        padding: 64px 0;
    }
}

/* --------------------------------------------------------------------------
   View All Insights
   -------------------------------------------------------------------------- */

.mb2b-insights__view-all {
    display: flex;
    justify-content: center;
    width: calc(100% - 48px);
    margin: 36px auto 0;
}

.mb2b-insights__view-all-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid #062431;
    border-radius: 999px;
    background: #062431;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease;
}

.mb2b-insights__view-all-button:hover {
    background: #fff;
    border-color: #062431;
    color: #062431;
}

@media (max-width: 767px) {

    .mb2b-insights__view-all {
        width: calc(100% - 32px);
    }

    .mb2b-insights__view-all-button {
        width: 100%;
    }

}

/* Featured article excerpt limit */
.mb2b-insights__featured .mb2b-insights__excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

@media (max-width: 767px) {
    .mb2b-insights__featured .mb2b-insights__excerpt {
        -webkit-line-clamp: 5;
    }
}


/* =========================================================
   Insights — Featured Excerpt Limit
   ========================================================= */

.mb2b-insights__featured-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--mb2b-insights-featured-excerpt-lines, 2);
    overflow: hidden;
}

/* Article Grid — excerpt styling */
.mb2b-insights__card-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--mb2b-insights-card-excerpt-lines, 3);
    overflow: hidden;
}

@media (max-width: 767px) {
    .mb2b-insights__featured-excerpt {
        -webkit-line-clamp:
            var(--mb2b-insights-featured-excerpt-lines-mobile, 3);
    }
}



/* ==========================================================================
   SINGLE ARTICLE — FINAL VISUAL REFINEMENT
   ========================================================================== */

.mb2b-single-insight__hero {
    padding: 64px 0 42px;
}

.mb2b-single-insight__hero .mb2b-container {
    width: min(1120px, calc(100% - 48px));
}

.mb2b-single-insight__title {
    max-width: 820px;
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1.06;
}

.mb2b-single-insight__excerpt {
    max-width: 720px;
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.65;
}

.mb2b-single-insight__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    align-items: start;
    gap: 56px;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 82px;
}

.mb2b-single-insight__primary {
    min-width: 0;
}

.mb2b-single-insight__featured {
    width: 100%;
    margin: 0 0 42px;
    padding: 0;
}

.mb2b-single-insight__featured img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 16px;
}

.mb2b-single-insight__content {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.8;
}

.mb2b-single-insight__content h2 {
    font-size: 30px;
    line-height: 1.22;
}

.mb2b-single-insight__content h3 {
    font-size: 24px;
}

.mb2b-single-insight__sidebar {
    min-width: 0;
}

.mb2b-single-insight__related {
    padding: 72px 0 80px;
}

.mb2b-single-insight__related > .mb2b-container {
    width: min(1120px, calc(100% - 48px));
}

.mb2b-single-insight__related-header {
    margin-bottom: 28px;
}

.mb2b-single-insight__related-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
}

.mb2b-single-insight__related-header h2 {
    font-size: clamp(30px, 3.4vw, 42px);
}

.mb2b-single-insight__related-all {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 4px;
    color: #062431;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.mb2b-single-insight__related-all:hover {
    color: #d88900;
}

.mb2b-single-insight__related .mb2b-insights__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.mb2b-single-insight__related .mb2b-insights__card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mb2b-single-insight__related .mb2b-insights__card-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
}

.mb2b-single-insight__related .mb2b-insights__card-link {
    margin-top: auto;
    padding-top: var(--mb2b-single-related-link-top-gap, var(--mb2b-insights-link-top-gap, 20px));
}

.mb2b-single-insight__related .mb2b-insights__card-media {
    display: block;
    flex: 0 0 auto;
    overflow: hidden;
}

@media (max-width: 1024px) {

    .mb2b-single-insight__main {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .mb2b-single-insight__sidebar-box {
        position: static;
    }

    .mb2b-single-insight__related .mb2b-insights__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 767px) {

    .mb2b-single-insight__hero {
        padding: 52px 0 34px;
    }

    .mb2b-single-insight__hero .mb2b-container,
    .mb2b-single-insight__main,
    .mb2b-single-insight__related > .mb2b-container {
        width: min(100% - 32px, 1320px);
    }

    .mb2b-single-insight__title {
        max-width: none;
        font-size: clamp(34px, 9vw, 48px);
        line-height: 1.08;
    }

    .mb2b-single-insight__excerpt {
        font-size: 16px;
    }

    .mb2b-single-insight__main {
        padding-bottom: 58px;
    }

    .mb2b-single-insight__featured {
        margin-bottom: 32px;
    }

    .mb2b-single-insight__featured img {
        max-height: 240px;
        border-radius: 12px;
    }

    .mb2b-single-insight__content {
        font-size: 16px;
    }

    .mb2b-single-insight__content h2 {
        font-size: 27px;
    }

    .mb2b-single-insight__related {
        padding: 56px 0 64px;
    }

    .mb2b-single-insight__related-heading-row {
        display: block;
    }

    .mb2b-single-insight__related-all {
        margin-top: 14px;
    }

    .mb2b-single-insight__related .mb2b-insights__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}



/* Single Article — typography refinement */

.mb2b-single-insight__title {
    max-width: 760px;
    font-size: clamp(34px, 3.8vw, 52px);
    line-height: 1.08;
}

.mb2b-single-insight__related-header h2 {
    font-size: clamp(28px, 2.8vw, 36px);
    line-height: 1.15;
}

@media (max-width: 767px) {

    .mb2b-single-insight__title {
        font-size: clamp(32px, 8vw, 42px);
    }

    .mb2b-single-insight__related-header h2 {
        font-size: 30px;
    }

}


/* ==========================================================================
   SINGLE ARTICLE — LOCKED TYPOGRAPHY
   ========================================================================== */

.mb2b-single-insight__title {
    max-width: 760px !important;
    font-size: 52px !important;
    line-height: 1.08 !important;
}

.mb2b-single-insight__related-header h2 {
    font-size: 36px !important;
    line-height: 1.15 !important;
}

@media (max-width: 1024px) {

    .mb2b-single-insight__title {
        font-size: 46px !important;
    }

    .mb2b-single-insight__related-header h2 {
        font-size: 34px !important;
    }

}

@media (max-width: 767px) {

    .mb2b-single-insight__title {
        font-size: 38px !important;
    }

    .mb2b-single-insight__related-header h2 {
        font-size: 30px !important;
    }

}


/* ==========================================================================
   SINGLE ARTICLE — FINAL SIZE OVERRIDE
   ========================================================================== */

article.mb2b-single-insight h1.mb2b-single-insight__title {
    width: 100%;
    max-width: 760px !important;
    font-size: 42px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.025em !important;
}

section.mb2b-single-insight__related
.mb2b-single-insight__related-header h2 {
    font-size: 30px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
}

@media (max-width: 1024px) {

    article.mb2b-single-insight h1.mb2b-single-insight__title {
        max-width: 680px !important;
        font-size: 40px !important;
    }

    section.mb2b-single-insight__related
    .mb2b-single-insight__related-header h2 {
        font-size: 30px !important;
    }

}

@media (max-width: 767px) {

    article.mb2b-single-insight h1.mb2b-single-insight__title {
        max-width: none !important;
        font-size: 34px !important;
    }

    section.mb2b-single-insight__related
    .mb2b-single-insight__related-header h2 {
        font-size: 28px !important;
    }

}


/* ==========================================================================
   SINGLE ARTICLE — FINAL TYPOGRAPHY
   ========================================================================== */

article.mb2b-single-insight h1.mb2b-single-insight__title {
    max-width: 760px !important;
    font-size: 30px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
}

section.mb2b-single-insight__related
.mb2b-single-insight__related-header h2 {
    font-size: 20px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em !important;
}

@media (max-width: 767px) {

    article.mb2b-single-insight h1.mb2b-single-insight__title {
        font-size: 30px !important;
    }

    section.mb2b-single-insight__related
    .mb2b-single-insight__related-header h2 {
        font-size: 20px !important;
    }

}


/* Single Article — Related heading final size */
section.mb2b-single-insight__related
.mb2b-single-insight__related-header h2 {
    font-size: 22px !important;
    line-height: 1.2 !important;
}

@media (max-width: 767px) {
    section.mb2b-single-insight__related
    .mb2b-single-insight__related-header h2 {
        font-size: 22px !important;
    }
}


/* ==========================================================================
   THEME FOOTER COPYRIGHT
   Hello Elementor renders its own legacy copyright bar.
   Makky Travel owns the footer presentation, so hide the theme copyright layer.
   ========================================================================== */

footer#site-footer .copyright,
footer.site-footer .copyright {
    display: none !important;
}

/*
 * =====================================================
 * ARTICLE BUILDER — VISUAL CANVAS
 * Backend canvas follows frontend article presentation.
 * =====================================================
 */

.mb2b-article-builder {
    position: relative;
    width: 100%;
}

.mb2b-article-builder__quick-add {
    position: sticky;
    top: 12px;
    z-index: 50;

    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin: 0 0 24px;
    padding: 12px;

    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;

    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.mb2b-article-builder__add {
    appearance: none;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #334155;
    min-height: 36px;
    padding: 7px 13px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    transition:
        border-color 160ms ease,
        background-color 160ms ease,
        color 160ms ease;
}

.mb2b-article-builder__add:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #f8fbff;
}

.mb2b-article-builder__canvas {
    width: 100%;
}

.mb2b-article-builder__block {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.mb2b-article-builder__block-toolbar {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 20;

    display: flex;
    align-items: center;
    gap: 4px;

    padding: 4px;

    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e2e8f0;
    border-radius: 8px;

    box-shadow:
        0 4px 12px rgba(15, 23, 42, 0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-3px);

    transition:
        opacity 140ms ease,
        visibility 140ms ease,
        transform 140ms ease;
}

.mb2b-article-builder__block:hover
.mb2b-article-builder__block-toolbar,
.mb2b-article-builder__block:focus-within
.mb2b-article-builder__block-toolbar {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mb2b-article-builder__type {
    display: none;
}

.mb2b-article-builder__actions {
    display: flex;
    align-items: center;
    gap: 2px;
}

.mb2b-article-builder__actions button {
    appearance: none;
    width: 30px;
    height: 30px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    border: 0;
    border-radius: 6px;

    background: transparent;
    color: #64748b;

    font-size: 14px;
    line-height: 1;

    cursor: pointer;
}

.mb2b-article-builder__actions button:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.mb2b-article-builder__actions
button[data-builder-action="delete"]:hover {
    background: #fef2f2;
    color: #dc2626;
}

.mb2b-article-builder__preview {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    min-height: 1px;

    border: 1px solid transparent;
    border-radius: 8px;

    transition:
        border-color 140ms ease,
        background-color 140ms ease;
}

.mb2b-article-builder__block:hover
.mb2b-article-builder__preview {
    border-color: rgba(37, 99, 235, 0.18);
}

.mb2b-article-builder__block:focus-within
.mb2b-article-builder__preview {
    border-color: rgba(37, 99, 235, 0.32);
}

.mb2b-article-builder__preview h2,
.mb2b-article-builder__preview h3,
.mb2b-article-builder__preview h4,
.mb2b-article-builder__preview h5 {
    margin: 0;
}

.mb2b-article-builder__richtext {
    width: 100%;
}

.mb2b-article-builder__richtext p:last-child {
    margin-bottom: 0;
}

.mb2b-article-builder__preview img {
    display: block;
    max-width: 100%;
    height: auto;
}

.mb2b-article-builder__button-preview {
    min-height: 48px;
    padding: 13px 22px;
    box-sizing: border-box;
}

.mb2b-article-builder__image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 240px;

    border: 1px dashed #cbd5e1;
    border-radius: 10px;

    background: #f8fafc;
    color: #94a3b8;

    font-size: 14px;
}

.mb2b-article-builder__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 180px;
    padding: 32px;

    border: 1px dashed #cbd5e1;
    border-radius: 12px;

    background: #f8fafc;
    color: #64748b;

    text-align: center;
}

.mb2b-article-builder__empty strong {
    margin-bottom: 6px;
    color: #334155;
    font-size: 15px;
}

.mb2b-article-builder__empty span {
    font-size: 13px;
}

@media (max-width: 767px) {
    .mb2b-article-builder__quick-add {
        gap: 6px;
        padding: 10px;
    }

    .mb2b-article-builder__add {
        font-size: 12px;
        min-height: 34px;
        padding: 6px 10px;
    }

    .mb2b-article-builder__block-toolbar {
        top: 5px;
        right: 5px;
    }

    .mb2b-article-builder__actions button {
        width: 28px;
        height: 28px;
    }
}


/*
 * =====================================================
 * ARTICLE BUILDER — FLOATING BLOCK EDITOR
 * =====================================================
 */

.mb2b-article-builder__block {
    position: relative;
}

.mb2b-article-builder__editor {
    position: absolute;
    top: 42px;
    right: 12px;
    z-index: 100;

    width: 360px;
    max-width: calc(100% - 24px);

    padding: 18px;

    box-sizing: border-box;

    background: #ffffff;
    border: 1px solid #dbe3ec;
    border-radius: 12px;

    box-shadow:
        0 18px 45px rgba(15, 23, 42, 0.16);

    color: #334155;
    font-size: 13px;
}

.mb2b-article-builder__editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: -18px -18px 16px;
    padding: 12px 14px;

    border-bottom: 1px solid #e2e8f0;

    color: #0f172a;
    font-size: 14px;
}

.mb2b-article-builder__editor-header button {
    width: 28px;
    height: 28px;

    border: 0;
    border-radius: 6px;

    background: transparent;
    color: #64748b;

    font-size: 20px;
    line-height: 1;

    cursor: pointer;
}

.mb2b-article-builder__editor-header button:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.mb2b-article-builder__editor-field {
    display: flex;
    flex-direction: column;
    gap: 6px;

    margin-bottom: 12px;
}

.mb2b-article-builder__editor-field label {
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.mb2b-article-builder__editor-field input,
.mb2b-article-builder__editor-field select,
.mb2b-article-builder__editor-field textarea {
    width: 100%;
    min-height: 36px;

    box-sizing: border-box;

    padding: 8px 10px;

    border: 1px solid #cbd5e1;
    border-radius: 7px;

    background: #ffffff;
    color: #0f172a;

    font: inherit;
}

.mb2b-article-builder__editor-field textarea {
    min-height: 130px;
    resize: vertical;
    line-height: 1.55;
}

.mb2b-article-builder__editor-field input[type="color"] {
    min-height: 38px;
    padding: 3px;
    cursor: pointer;
}

.mb2b-article-builder__editor-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mb2b-article-builder__editor-section {
    margin: 16px 0;
    padding: 13px;

    border: 1px solid #e2e8f0;
    border-radius: 9px;

    background: #f8fafc;
}

.mb2b-article-builder__editor-section-title {
    margin-bottom: 12px;

    color: #334155;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.mb2b-article-builder__editor-actions {
    display: flex;
    gap: 8px;

    margin-top: 16px;
    padding-top: 14px;

    border-top: 1px solid #e2e8f0;
}

.mb2b-article-builder__editor-actions button {
    min-height: 36px;
    padding: 8px 14px;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;
}

.mb2b-article-builder__editor-actions
button[data-editor-save] {
    border: 1px solid #2563eb;
    background: #2563eb;
    color: #ffffff;
}

.mb2b-article-builder__editor-actions
button[data-editor-cancel] {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
}

.mb2b-article-builder__image-preview {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 120px;
    margin-bottom: 8px;

    overflow: hidden;

    border: 1px solid #e2e8f0;
    border-radius: 8px;

    background: #f8fafc;
}

.mb2b-article-builder__image-preview img {
    display: block;

    width: 100%;
    max-height: 180px;

    object-fit: contain;
}

.mb2b-article-builder__image-preview span {
    color: #94a3b8;
    font-size: 12px;
}

.mb2b-article-builder__editor-field
button[data-editor-media] {
    min-height: 34px;

    border: 1px solid #cbd5e1;
    border-radius: 7px;

    background: #ffffff;
    color: #334155;

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;
}

.mb2b-article-builder__editor-field
button[data-editor-media]:hover {
    border-color: #2563eb;
    color: #2563eb;
}

@media (max-width: 767px) {
    .mb2b-article-builder__editor {
        position: fixed;

        top: auto;
        right: 12px;
        bottom: 12px;
        left: 12px;

        width: auto;
        max-width: none;

        max-height: calc(100vh - 24px);
        overflow-y: auto;
    }

    .mb2b-article-builder__editor-row {
        grid-template-columns: 1fr;
    }
}

