/* ==========================================================================
   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;
    min-width: 0;
    min-height: 380px;
    overflow: hidden;
    background: #e7edf3;
}

.mb2b-insights__hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #f8fafc 0%,
        rgba(248, 250, 252, .72) 11%,
        rgba(248, 250, 252, 0) 40%
    );
    pointer-events: none;
}

.mb2b-insights__hero-media img {
    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: 8px 12px;
    margin-bottom: 16px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.mb2b-insights__category {
    color: #f59e0b;
    font-weight: 800;
}

.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: 9px;
    width: fit-content;
    margin-top: 20px;
    color: #062431;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.mb2b-insights__featured-link:hover,
.mb2b-insights__card-link:hover {
    color: #f59e0b;
}

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

.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 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: calc(100% - 48px);
    margin: 82px auto 0;
    padding: 50px 56px;
    border-radius: 20px;
    background: #062431;
}

.mb2b-insights__cta-content {
    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 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 0 0 auto;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 10px;
    background: #f59e0b;
    color: #062431;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   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;
    }

    .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__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: 110px;
    padding: 28px;
    border-radius: 16px;
    background: #062431;
    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: #fff;
    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: 4;
    overflow: hidden;
}

/* Article Grid — no excerpt */
.mb2b-insights__card-excerpt {
    display: none;
}

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



/* ==========================================================================
   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__sidebar-box {
    position: sticky;
    top: 104px;
}

.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 {
    min-width: 0;
}

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

.mb2b-single-insight__related .mb2b-insights__card-media img {
    display: block;
    width: 100%;
    height: auto;
}

@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 B2B 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 ul {
    list-style-type: disc;
    list-style-position: outside;
    margin: 8px 0 16px;
    padding-left: 24px;
}

.mb2b-article-builder__richtext ol {
    list-style-type: decimal;
    list-style-position: outside;
    margin: 8px 0 16px;
    padding-left: 24px;
}

.mb2b-article-builder__richtext li {
    display: list-item;
    margin-bottom: 10px;
}

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

.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;
}

/* Rich Text Editor */
.mb2b-article-builder__rich-editor {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.mb2b-article-builder__rich-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;

    padding: 7px;

    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.mb2b-article-builder__rich-toolbar button {
    min-width: 30px;
    height: 30px;

    padding: 4px 7px;

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

    background: #ffffff;
    color: #334155;

    font: inherit;
    font-size: 11px;
    font-weight: 600;

    cursor: pointer;
}

.mb2b-article-builder__rich-toolbar button:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.mb2b-article-builder__rich-toolbar-separator {
    width: 1px;
    height: 22px;

    margin: 0 2px;

    background: #cbd5e1;
}

.mb2b-article-builder__rich-content {
    min-height: 150px;
    max-height: 320px;

    overflow-y: auto;

    padding: 10px 12px;

    box-sizing: border-box;

    color: #0f172a;
    background: #ffffff;

    font: inherit;
    font-size: 14px;
    line-height: 1.6;

    outline: none;

    cursor: text;
}

.mb2b-article-builder__rich-content:focus {
    box-shadow: inset 0 0 0 1px #2563eb;
}

.mb2b-article-builder__rich-content p {
    margin: 0 0 10px;
}

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

.mb2b-article-builder__rich-content h2,
.mb2b-article-builder__rich-content h3 {
    margin: 12px 0 8px;
    color: #0f172a;
}

.mb2b-article-builder__rich-content ul,
.mb2b-article-builder__rich-content ol {
    margin: 8px 0 10px;
    padding-left: 24px;
}

.mb2b-article-builder__rich-content a {
    color: #2563eb;
    text-decoration: underline;
}

.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;
    }
}


.mb2b-article-builder__rich-color {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    box-sizing: border-box;

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

    background: #ffffff;
    color: #0f172a;

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

    cursor: pointer;
}

.mb2b-article-builder__rich-color:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.mb2b-article-builder__rich-color input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}



/* ================================================================
   RICH TEXT — LIST + TEXT COLOR
================================================================ */

.mb2b-article-builder__rich-content ul {
    display: block !important;
    list-style-type: disc !important;
    list-style-position: outside !important;
    margin: 0 0 22px !important;
    padding-left: 24px !important;
}

.mb2b-article-builder__rich-content ol {
    display: block !important;
    list-style-type: decimal !important;
    list-style-position: outside !important;
    margin: 0 0 22px !important;
    padding-left: 24px !important;
}

.mb2b-article-builder__rich-content li {
    display: list-item !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
}

.mb2b-article-builder__rich-color {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    background: #ffffff;
    color: #062431;
    cursor: pointer;
    box-sizing: border-box;
    overflow: hidden;
}

.mb2b-article-builder__rich-color span {
    position: relative;
    z-index: 2;
    display: block;
    font-size: 17px;
    line-height: 1;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-decoration-color: currentColor;
}

.mb2b-article-builder__rich-color input[type="color"] {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.mb2b-article-builder__rich-color:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

/* ================================================================
   RICH TEXT — INLINE LINK
================================================================ */

.mb2b-article-builder__rich-link-button {
    min-width: 30px;
    height: 30px;

    padding: 4px 7px;

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

    background: #ffffff;
    color: #334155;

    font: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.mb2b-article-builder__rich-link-button:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.mb2b-article-builder__rich-link-popover {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-top: 6px;
    padding: 7px;

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

    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);

    box-sizing: border-box;
}

.mb2b-article-builder__rich-link-popover[hidden] {
    display: none;
}

.mb2b-article-builder__rich-link-popover input {
    flex: 1;
    min-width: 0;
    height: 32px;

    padding: 5px 8px;

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

    background: #ffffff;
    color: #0f172a;

    font: inherit;
    font-size: 13px;

    outline: none;
}

.mb2b-article-builder__rich-link-popover input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px #2563eb;
}

.mb2b-article-builder__rich-link-popover button {
    width: 32px;
    height: 32px;

    padding: 0;

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

    background: #ffffff;
    color: #334155;

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

    cursor: pointer;
}

.mb2b-article-builder__rich-link-popover button:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

