/*
 * 2026 homepage experience refresh.
 * Loaded after style.css so the curated modules remain isolated and reversible.
 */

:root {
    --mp-navy: #071f3d;
    --mp-blue: #003da5;
    --mp-cyan: #00a8e8;
    --mp-ink: #102a43;
    --mp-muted: #60758a;
    --mp-line: #dfe8f0;
    --mp-soft: #f4f8fb;
    --mp-yellow: #f4bd32;
}

/* One consistent typeface across the refreshed theme and existing filter UI. */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input,
textarea,
select,
label,
.mp-home-section,
.homepage-banner,
.caf-builder-instance-0,
.caf-builder-instance-0 button,
.caf-builder-instance-0 input {
    font-family: 'Lato', sans-serif !important;
}

.homepage-banner {
    min-height: 500px;
    height: clamp(500px, 38vw, 570px);
    background: var(--mp-navy);
}

/* Fixed blog navigation: logo and content filters share one clean bar. */
.mp-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2147483000;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 72px;
    padding: 9px max(20px, calc((100vw - 1140px) / 2 + 20px));
    background: rgba(4, 24, 50, .94);
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 5px 20px rgba(0, 14, 35, .14);
    backdrop-filter: blur(12px);
}

.mp-sticky-header .logo-wrapper {
    position: static !important;
    display: flex !important;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mp-sticky-header .blog-top-nav {
    position: static !important;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.mp-sticky-header .blog-filter-link {
    appearance: none;
    min-width: 44px;
    min-height: 44px;
    margin: 0;
    padding: 10px 2px 7px;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
    transition: opacity .2s ease, border-color .2s ease;
}

.mp-sticky-header .blog-filter-link:hover,
.mp-sticky-header .blog-filter-link:focus {
    color: #ffffff;
    opacity: .86;
    background: transparent;
    outline: 0;
}

.mp-sticky-header .blog-filter-link.is-active {
    color: #ffffff;
    opacity: 1;
    background: transparent;
    border-bottom-color: #00b5f1;
}

.mp-sticky-header img.banner-logo {
    display: block !important;
    width: 78px !important;
    min-width: 78px !important;
    max-width: 78px !important;
    height: auto !important;
    object-fit: contain;
}

.homepage-banner .banner-overlay {
    background:
        linear-gradient(90deg, rgba(3, 21, 43, .9) 0%, rgba(3, 28, 60, .72) 46%, rgba(4, 30, 60, .30) 100%),
        linear-gradient(0deg, rgba(3, 21, 43, .26), rgba(3, 21, 43, .04));
}

.homepage-banner .banner-content {
    top: 54%;
    left: max(20px, calc((100vw - 1140px) / 2 + 20px));
    width: min(660px, calc(100% - 40px));
    text-align: left;
    transform: translateY(-50%);
    pointer-events: auto !important;
}

.homepage-banner .banner-content .mp-hero-kicker {
    display: inline-flex;
    margin-bottom: 16px;
    color: #73d7ff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.homepage-banner .banner-content h1 {
    max-width: 650px;
    margin-bottom: 15px;
    font-size: clamp(38px, 4.2vw, 62px);
    line-height: 1.03;
    letter-spacing: -.035em;
}

.homepage-banner .banner-content > p {
    max-width: 620px;
    margin-bottom: 24px;
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.55;
}

.mp-hero-search {
    display: flex;
    width: min(620px, 100%);
    min-height: 54px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 12, 34, .22);
    pointer-events: auto;
}

.mp-hero-search input {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0 18px;
    color: var(--mp-ink);
    font: inherit;
    font-size: 15px;
    border: 0;
    outline: 0;
}

.mp-hero-search button {
    flex: 0 0 auto;
    min-width: 112px;
    padding: 0 20px;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    border: 0;
    background: var(--mp-blue);
    cursor: pointer;
}

.mp-hero-search button:hover,
.mp-hero-search button:focus {
    background: #002f82;
}

.mp-popular-searches {
    display: block;
    width: min(1060px, calc(100vw - max(20px, calc((100vw - 1140px) / 2 + 20px)) - 20px));
    margin-top: 16px;
    color: rgba(255,255,255,.8);
    font-size: 12px;
    line-height: 1.25;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.mp-popular-searches .mp-popular-label {
    display: block;
    margin-bottom: 7px;
    color: rgba(255,255,255,.8);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.mp-popular-searches .mp-topic-list {
    display: grid;
    grid-template-rows: repeat(2, 30px);
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 7px;
    width: max-content;
    min-width: 100%;
    padding-bottom: 5px;
}

.mp-popular-searches .mp-topic-link {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 11px;
    color: rgba(255,255,255,.92);
    font: inherit;
    font-weight: 600;
    line-height: 1;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    backdrop-filter: blur(4px);
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.mp-popular-searches .mp-topic-link:hover,
.mp-popular-searches .mp-topic-link:focus {
    color: #fff;
    background: rgba(255,255,255,.18);
    border-color: rgba(255,255,255,.5);
    outline: 0;
}

.mp-popular-searches .mp-topic-link.is-active {
    color: #043c64;
    background: #8ee3ff;
    border-color: #8ee3ff;
    outline: 0;
}

.mp-popular-searches .mp-tag-count {
    display: none;
}

.mp-home-section {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.mp-featured-section {
    padding: 72px 0 64px;
}

.mp-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.mp-section-kicker {
    display: block;
    margin-bottom: 9px;
    color: var(--mp-blue);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mp-section-heading h2,
.mp-newsletter-section h2 {
    margin: 0 0 8px;
    color: var(--mp-ink) !important;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.12;
    letter-spacing: -.025em;
}

.mp-section-heading p,
.mp-newsletter-section p {
    margin: 0;
    color: var(--mp-muted);
    font-size: 15px;
    line-height: 1.6;
}

.mp-text-link {
    flex: 0 0 auto;
    padding-bottom: 4px;
    color: var(--mp-blue);
    font-size: 14px;
    font-weight: 800;
    border-bottom: 1px solid #a9c4df;
}

.mp-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mp-featured-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--mp-line);
    border-radius: 10px;
    box-shadow: 0 8px 26px rgba(14, 47, 76, .08);
}

.mp-featured-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e9f0f6;
}

.mp-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-card-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(255,255,255,.72);
    font-size: 54px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--mp-blue), #0b7ab5);
}

.mp-featured-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.mp-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
    color: #6b7f92;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.mp-card-meta span {
    color: var(--mp-blue);
}

.mp-featured-body h3 {
    margin: 0 0 11px;
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: -.015em;
}

.mp-featured-body h3 a {
    color: var(--mp-ink);
}

.mp-featured-body p {
    margin: 0 0 18px;
    color: var(--mp-muted);
    font-size: 14px;
    line-height: 1.6;
}

.mp-card-link {
    margin-top: auto;
    color: var(--mp-blue);
    font-size: 13px;
    font-weight: 800;
}

.mp-research-section {
    padding: 64px 0 72px;
    border-top: 1px solid var(--mp-line);
}

.mp-research-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.mp-research-card {
    display: grid;
    grid-template-columns: 45px 1fr auto 24px;
    align-items: center;
    gap: 15px;
    min-height: 106px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--mp-line);
    border-radius: 8px;
}

.mp-research-card:hover,
.mp-research-card:focus {
    border-color: #96bddb;
    background: #f8fbfd;
}

.mp-research-number {
    color: #8ca3b8;
    font-size: 13px;
    font-weight: 800;
}

.mp-research-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mp-research-copy strong {
    color: var(--mp-ink);
    font-size: 16px;
    line-height: 1.3;
}

.mp-research-copy small {
    color: var(--mp-muted);
    font-size: 12.5px;
    line-height: 1.45;
}

.mp-research-count {
    display: inline-grid;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    place-items: center;
    color: var(--mp-blue);
    font-size: 12px;
    font-weight: 800;
    background: #eaf3fa;
    border-radius: 999px;
}

.mp-research-arrow {
    color: var(--mp-blue);
    font-size: 20px;
}

.mp-webinar-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    width: min(1140px, calc(100% - 40px));
    margin-bottom: 72px;
    overflow: hidden;
    color: #fff;
    background: var(--mp-blue);
    border-radius: 10px;
    box-shadow: 0 14px 36px rgba(0, 45, 122, .18);
}

.mp-webinar-visual {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: var(--mp-navy);
}

.mp-webinar-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mp-webinar-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 340px;
    place-items: center;
    background:
        radial-gradient(circle at 25% 35%, rgba(0,168,232,.4), transparent 34%),
        linear-gradient(135deg, #071f3d, #004e9d);
}

.mp-webinar-placeholder span {
    font-size: 56px;
    opacity: .84;
}

.mp-play-badge {
    position: absolute;
    right: 22px;
    bottom: 22px;
    display: grid;
    width: 52px;
    height: 52px;
    padding-left: 3px;
    place-items: center;
    color: var(--mp-blue);
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0,0,0,.24);
}

.mp-webinar-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.mp-kicker-light {
    color: #8ddfff;
}

.mp-webinar-copy h2 {
    margin: 0 0 16px;
    color: #fff !important;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    letter-spacing: -.025em;
}

.mp-webinar-copy p {
    margin: 0 0 25px;
    color: rgba(255,255,255,.82);
    font-size: 15px;
    line-height: 1.65;
}

.mp-light-button {
    align-self: flex-start;
    padding: 13px 18px;
    color: var(--mp-blue);
    font-size: 13px;
    font-weight: 800;
    background: #fff;
    border-radius: 5px;
}

.mp-newsletter-section {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 72px;
    padding: 42px;
    background: var(--mp-soft);
    border: 1px solid var(--mp-line);
    border-radius: 10px;
}

.mp-newsletter-copy {
    max-width: 850px;
}

.mp-newsletter-copy .mp-section-kicker {
    display: block;
    margin-bottom: 9px;
    color: #0076a8;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mp-newsletter-copy h2 {
    max-width: 820px;
    margin: 0 !important;
}

.mp-newsletter-form {
    display: flex;
    width: min(720px, 100%);
    min-height: 54px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #cbd9e6;
    border-radius: 8px;
    box-shadow: 0 7px 20px rgba(7, 31, 61, .08);
}

.mp-newsletter-form:focus-within {
    border-color: #1689bd;
    box-shadow: 0 0 0 3px rgba(22, 137, 189, .12);
}

.mp-newsletter-form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 54px;
    margin: 0;
    padding: 0 18px;
    color: var(--mp-ink);
    font-size: 15px;
    background: #ffffff;
    border: 0;
    outline: 0;
}

.mp-newsletter-form input::placeholder {
    color: #7e8d9e;
}

.mp-newsletter-form button {
    flex: 0 0 auto;
    min-width: 132px;
    margin: 0;
    padding: 0 22px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    background: var(--mp-blue);
    border: 0;
    cursor: pointer;
}

.mp-newsletter-form button:hover,
.mp-newsletter-form button:focus {
    background: #002f82;
    outline: 0;
}

.mp-latest-heading {
    margin-bottom: 24px;
}

.mp-latest-heading .mp-section-kicker {
    margin-bottom: 7px;
}

.mp-latest-heading h2 {
    margin: 0;
    color: var(--mp-ink) !important;
    font-size: clamp(28px, 3vw, 38px);
}

.home .site-content {
    padding-top: 12px;
}

.article-cta {
    margin-top: 48px !important;
    padding: 34px !important;
    background: linear-gradient(135deg, #f4f8fb, #eaf3fa) !important;
    border: 1px solid #d7e5ef !important;
    border-radius: 10px !important;
}

.article-cta h2 {
    margin-top: 0 !important;
    color: var(--mp-ink) !important;
}

.article-cta-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px !important;
}

.article-cta-actions a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 14px !important;
    text-align: center;
    border-radius: 5px !important;
}

.article-cta-actions a:nth-child(1) {
    color: #fff !important;
    background: var(--mp-blue) !important;
}

.article-cta-actions a:not(:nth-child(1)) {
    color: var(--mp-blue) !important;
    background: #fff !important;
    border: 1px solid #b8cddd !important;
}

@media (hover: hover) {
    .mp-featured-card,
    .mp-research-card,
    .mp-light-button {
        transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    }

    .mp-featured-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 34px rgba(14, 47, 76, .14);
    }

    .mp-research-card:hover,
    .mp-light-button:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 900px) {
    .mp-featured-grid {
        grid-template-columns: 1fr;
    }

    .mp-featured-card {
        display: grid;
        grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr);
    }

    .mp-featured-image {
        height: 100%;
        aspect-ratio: auto;
    }

    .mp-webinar-copy {
        padding: 36px;
    }

    .mp-newsletter-section {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .homepage-banner {
        min-height: 520px;
        height: 520px;
    }

    .homepage-banner .banner-content {
        top: 48%;
        left: 20px;
        width: calc(100% - 40px);
    }

    .homepage-banner .banner-content h1 {
        font-size: 38px;
    }

    .mp-hero-search button {
        min-width: 90px;
        padding: 0 14px;
    }

    .mp-sticky-header {
        min-height: 64px;
        padding: 8px 14px;
    }

    .mp-sticky-header img.banner-logo {
        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
    }

    .mp-sticky-header .banner-brand-name {
        display: none;
    }

    .mp-sticky-header .blog-top-nav {
        gap: 12px !important;
        overflow-x: auto;
        justify-content: flex-end !important;
    }

    .mp-sticky-header .blog-filter-link {
        min-width: auto;
        min-height: 40px;
        font-size: 14px;
        white-space: nowrap;
    }

    .mp-popular-searches {
        width: 100%;
        padding-bottom: 4px;
    }

    .mp-popular-searches .mp-popular-label {
        font-size: 12px;
    }

    .mp-featured-section,
    .mp-research-section {
        padding: 52px 0;
    }

    .mp-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .mp-featured-card {
        display: flex;
    }

    .mp-featured-image {
        aspect-ratio: 16 / 9;
    }

    .mp-research-grid {
        grid-template-columns: 1fr;
    }

    .mp-research-card {
        grid-template-columns: 34px 1fr auto 20px;
        min-height: 96px;
        padding: 16px;
    }

    .mp-webinar-section {
        grid-template-columns: 1fr;
    }

    .mp-webinar-visual,
    .mp-webinar-placeholder {
        min-height: 220px;
    }

    .mp-webinar-copy {
        padding: 30px 24px 34px;
    }

    .mp-newsletter-section {
        padding: 28px 24px;
    }

    .mp-newsletter-form {
        flex-direction: column;
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .mp-newsletter-form input,
    .mp-newsletter-form button {
        width: 100%;
        border-radius: 7px;
    }

    .mp-newsletter-form input {
        margin-bottom: 10px;
        border: 1px solid #cbd9e6;
    }

    .mp-newsletter-form button {
        min-height: 50px;
    }

    .article-cta-actions {
        grid-template-columns: 1fr;
    }
}

/* Resource archive: remove the redundant right-side search/topic panel
   and keep the article cards centered at full content width. */
body.home .caf-builder-instance-0 .caf-builder-filter {
    display: none !important;
}

body.home .caf-builder-instance-0 .caf-builder-preview-template-container {
    display: block !important;
    width: 100% !important;
}

body.home .caf-builder-instance-0 .post-layout-container {
    width: 100% !important;
    max-width: 1100px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.home .caf-builder-instance-0 .post-layout-container-inner.caf-grid {
    width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Stronger label treatment for the bottom featured webinar. */
.mp-webinar-copy .mp-kicker-light {
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .1em;
}

.home .mp-newsletter-section {
    margin-top: 8px;
}

/* Video library and standard navigation link */
.mp-sticky-header a.blog-filter-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mp-video-page {
    color: var(--mp-ink);
    background: #ffffff;
}

.mp-video-library {
    padding-top: 72px;
}

.mp-video-shell {
    width: min(1140px, calc(100% - 40px));
    margin: 0 auto;
}

.mp-video-hero {
    overflow: hidden;
    position: relative;
    color: #ffffff;
    background:
        radial-gradient(circle at 82% 22%, rgba(0, 168, 232, .26), transparent 27%),
        linear-gradient(128deg, #04182f 0%, #063b78 62%, #006ca8 100%);
}

.mp-video-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(90deg, transparent, #000 56%, #000);
}

.mp-video-hero-grid {
    min-height: 480px;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 1;
}

.mp-video-hero-copy {
    padding: 64px 0;
}

.mp-video-kicker {
    display: block;
    margin-bottom: 12px;
    color: #0079b0;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mp-video-hero .mp-video-kicker {
    color: #83dcff;
}

.mp-video-hero h1 {
    max-width: 720px;
    margin: 0 0 20px;
    color: #ffffff !important;
    font-size: clamp(46px, 6.4vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
}

.mp-video-hero p {
    max-width: 640px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.8);
    font-size: clamp(16px, 1.55vw, 20px);
    line-height: 1.65;
}

.mp-video-channel-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 18px;
    color: #07365f;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

.mp-video-hero-mark {
    width: min(330px, 80vw);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    position: relative;
    justify-self: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 50%;
}

.mp-video-hero-mark::before,
.mp-video-hero-mark::after {
    content: "";
    position: absolute;
    border: 1px dashed rgba(255,255,255,.25);
    border-radius: 50%;
}

.mp-video-hero-mark::before {
    inset: 15%;
}

.mp-video-hero-mark::after {
    inset: 31%;
}

.mp-video-orbit {
    position: absolute;
    inset: 7%;
    border: 1px solid rgba(102,214,255,.4);
    border-radius: 50%;
    animation: mp-video-orbit 18s linear infinite;
}

.mp-video-orbit::after {
    content: "";
    width: 12px;
    height: 12px;
    position: absolute;
    left: 7%;
    top: 24%;
    border: 3px solid #ffffff;
    border-radius: 50%;
    background: #00a8e8;
    box-shadow: 0 0 20px rgba(0,168,232,.85);
}

.mp-video-play-icon {
    width: 106px;
    height: 106px;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
    color: var(--mp-blue);
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 22px 58px rgba(0,0,0,.28);
}

.mp-video-play-icon svg {
    width: 44px;
    height: 44px;
    margin-left: 6px;
}

@keyframes mp-video-orbit {
    to { transform: rotate(360deg); }
}

.mp-video-featured {
    padding: 84px 0;
    background: #ffffff;
}

.mp-video-featured-grid {
    display: grid;
    grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: 58px;
}

.mp-video-featured-copy h2,
.mp-video-section-heading h2 {
    margin: 0 0 16px;
    color: var(--mp-ink) !important;
    font-size: clamp(30px, 3.8vw, 48px);
    line-height: 1.08;
    letter-spacing: -.035em;
}

.mp-video-featured-copy p {
    margin: 0;
    color: var(--mp-muted);
    font-size: 16px;
    line-height: 1.7;
}

.mp-video-player-frame {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #061a32;
    border: 1px solid #cbdbe8;
    border-radius: 12px;
    box-shadow: 0 22px 55px rgba(7,31,61,.16);
}

.mp-video-player-frame iframe,
.mp-video-dialog-player iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.mp-video-latest {
    padding: 80px 0 92px;
    background: #f3f7fa;
    border-top: 1px solid #dce6ee;
}

.mp-video-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 32px;
}

.mp-video-section-heading h2 {
    margin-bottom: 0;
}

.mp-video-search {
    width: min(320px, 100%);
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 15px;
    background: #ffffff;
    border: 1px solid #cbd9e6;
    border-radius: 7px;
}

.mp-video-search:focus-within {
    border-color: #1689bd;
    box-shadow: 0 0 0 3px rgba(22,137,189,.12);
}

.mp-video-search svg {
    width: 20px;
    flex: 0 0 20px;
    color: #587085;
}

.mp-video-search input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 0;
    color: var(--mp-ink);
    font: inherit;
    font-size: 14px;
    background: transparent;
    border: 0;
    outline: 0;
}

.mp-video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mp-video-card {
    min-width: 0;
    overflow: hidden;
    color: var(--mp-ink);
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #dbe5ed;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(12,42,70,.07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.mp-video-card:hover,
.mp-video-card:focus {
    color: var(--mp-ink);
    border-color: #8dbbd7;
    box-shadow: 0 16px 36px rgba(12,42,70,.13);
    transform: translateY(-4px);
    outline: 0;
}

.mp-video-thumbnail {
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
    position: relative;
    background: #dfe9f0;
}

.mp-video-thumbnail img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1.015);
    transition: transform .32s ease;
}

.mp-video-card:hover .mp-video-thumbnail img {
    transform: scale(1.055);
}

.mp-video-card-play {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    position: absolute;
    left: 18px;
    bottom: 16px;
    color: var(--mp-blue);
    background: rgba(255,255,255,.96);
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

.mp-video-card-play svg {
    width: 25px;
    height: 25px;
    margin-left: 3px;
}

.mp-video-card-body {
    min-height: 178px;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mp-video-date {
    margin-bottom: 10px;
    color: #718497;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.mp-video-card-body strong {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 18px;
    color: var(--mp-ink);
    font-size: 18px;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mp-video-watch {
    margin-top: auto;
    color: var(--mp-blue);
    font-size: 13px;
    font-weight: 800;
}

.mp-video-empty,
.mp-video-feed-fallback {
    padding: 34px;
    color: var(--mp-muted);
    text-align: center;
    background: #ffffff;
    border: 1px solid #dbe5ed;
    border-radius: 10px;
}

.mp-video-feed-fallback h3 {
    margin: 0 0 8px;
    color: var(--mp-ink);
}

.mp-video-feed-fallback p {
    margin: 0 0 16px;
}

.mp-video-feed-fallback a {
    color: var(--mp-blue);
    font-weight: 800;
}

.mp-video-dialog {
    width: min(980px, calc(100% - 32px));
    max-width: none;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
}

.mp-video-dialog::backdrop {
    background: rgba(1,14,30,.82);
    backdrop-filter: blur(5px);
}

.mp-video-dialog-panel {
    overflow: hidden;
    background: #061a32;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    box-shadow: 0 28px 80px rgba(0,0,0,.42);
}

.mp-video-dialog-top {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 14px 10px 20px;
    color: #ffffff;
}

.mp-video-dialog-top h2 {
    overflow: hidden;
    margin: 0;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mp-video-dialog-close {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    cursor: pointer;
}

.mp-video-dialog-player {
    aspect-ratio: 16 / 9;
    background: #000000;
}

@media (max-width: 900px) {
    .mp-video-hero-grid,
    .mp-video-featured-grid {
        grid-template-columns: 1fr;
    }

    .mp-video-hero-grid {
        gap: 10px;
        padding: 40px 0 54px;
        text-align: center;
    }

    .mp-video-hero-copy {
        padding: 48px 0 20px;
    }

    .mp-video-hero-copy p {
        margin-right: auto;
        margin-left: auto;
    }

    .mp-video-hero-mark {
        width: 230px;
    }

    .mp-video-featured-grid {
        gap: 30px;
    }

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

@media (max-width: 680px) {
    .mp-video-library {
        padding-top: 64px;
    }

    .mp-video-shell {
        width: min(100% - 28px, 1140px);
    }

    .mp-video-hero h1 {
        font-size: 47px;
    }

    .mp-video-hero-mark {
        width: 190px;
    }

    .mp-video-play-icon {
        width: 78px;
        height: 78px;
    }

    .mp-video-featured,
    .mp-video-latest {
        padding: 56px 0;
    }

    .mp-video-section-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .mp-video-search {
        width: 100%;
    }

    .mp-video-grid {
        grid-template-columns: 1fr;
    }

    .mp-video-card-body {
        min-height: auto;
    }

    .mp-video-navigation .blog-top-nav {
        justify-content: flex-start !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mp-video-orbit {
        animation: none;
    }

    .mp-video-card,
    .mp-video-thumbnail img {
        transition: none;
    }
}


/* Readability and responsive navigation */
body { font-size: 18px; line-height: 1.7; color: #334e68; }
body :where(h1,h2,h3,h4,h5,h6,p,a,button,input,textarea,select,label,li,span,strong,small,td,th,blockquote,figcaption),
body .caf-builder-instance-0 *:not(i):not(svg):not(path),
#ez-toc-container p.ez-toc-title, #ez-toc-container ul li a {
    font-family: 'Lato', sans-serif !important;
}
body .mp-blog-navigation {
    position: sticky; top: 0; min-height: 80px;
    gap: 24px; padding-top: 10px; padding-bottom: 10px;
}
.admin-bar .mp-blog-navigation { top: 32px; }
.mp-blog-navigation .blog-top-nav { gap: 22px; margin-left: auto; }
.mp-blog-navigation .blog-filter-link { font-size: 17px; white-space: nowrap; }
.mp-header-tools { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.mp-language-control { display: flex; align-items: center; gap: 8px; color: #fff; }
.mp-language-control .gtranslate_wrapper { display: flex; align-items: center; position: relative; }
.mp-language-control .gt_float_switcher {
    position: relative; overflow: visible; font-family: 'Lato', sans-serif !important;
    font-size: 16px; line-height: 1.3; border-radius: 6px;
}
.mp-language-control .gt_float_switcher .gt-selected { border-radius: 6px; }
.mp-language-control .gt_float_switcher .gt-selected .gt-current-lang { padding: 11px 10px; }
/* Text-only language trigger; choices remain hidden until clicked. */
body > .gtranslate_wrapper { display: none !important; }
.mp-language-control .gt_float_switcher img { display: none !important; }
.mp-language-control > svg { display: none; }
.mp-language-control .gt_float_switcher .gt-selected { min-width: 106px; }
.mp-language-control .gt_float_switcher .gt-lang-code { font-size: 0; top: 0 !important; }
.mp-language-control .gt_float_switcher .gt-lang-code::after { content: 'English'; font-size: 16px; text-transform: none; }
.mp-language-control .gt_float_switcher .gt-lang-code[data-language-label]::after { content: attr(data-language-label); }
.mp-language-control .gt_float_switcher .gt-selected:focus-visible { outline: 3px solid #8ee3ff; outline-offset: 3px; }
.mp-language-control .gt_float_switcher .gt_options { visibility: hidden; pointer-events: none; }
.mp-language-control .gt_float_switcher .gt_options.gt-open { visibility: visible; pointer-events: auto; }
.mp-language-control .gt_float_switcher .gt_options {
    position: absolute; top: calc(100% + 8px); bottom: auto; right: 0;
    min-width: 220px; max-width: calc(100vw - 28px);
    max-height: min(360px, 60vh); background: #fff;
    border: 1px solid #dfe8f0; border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.18); text-align: left;
}
.mp-language-control .gt_float_switcher .gt_options a {
    color: #334e68; font-size: 16px; line-height: 1.5;
    white-space: nowrap; border: 0; padding: 10px 14px; min-height: 44px;
}
.mp-language-control .gt_float_switcher .gt_options a:hover { color: #003da5; background: #eef5fa; }
.mp-language-control select {
    width: 156px; max-width: 100%; min-height: 44px;
    padding: 9px 8px; color: #102a43; background: #fff;
    border: 1px solid #b4c9db; border-radius: 6px; font-size: 16px;
}
.mp-menu-toggle {
    display: none; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 8px 12px; color: #fff; background: transparent;
    border: 1px solid #64849e; border-radius: 6px; font-size: 16px; cursor: pointer;
}
.mp-blog-navigation :is(a,button,select):focus-visible {
    outline: 3px solid #8ee3ff; outline-offset: 3px;
}
.homepage-banner {
    height: auto !important; min-height: 550px !important;
    padding: 58px 0 48px !important; scroll-margin-top: 88px;
}
.homepage-banner .banner-content {
    position: relative !important; top: auto !important; left: auto !important;
    width: min(1100px, calc(100% - 40px)) !important;
    margin: 0 auto; transform: none !important;
}
.homepage-banner .banner-content h1 { max-width: 700px; line-height: 1.1; }
.homepage-banner .banner-content > p { font-size: 20px; line-height: 1.6; }
.mp-hero-search input, .mp-hero-search button { font-size: 17px; }
.mp-popular-searches { width: 100%; overflow: visible; font-size: 15px; }
.mp-popular-searches .mp-popular-label { font-size: 14px; }
.mp-popular-searches .mp-topic-list {
    display: flex; flex-wrap: wrap; width: 100%; min-width: 0; gap: 8px;
}
.mp-popular-searches .mp-topic-link {
    min-height: 40px; padding: 9px 13px; font-size: 15px; line-height: 1.25;
}
.mp-section-kicker, .mp-video-kicker { font-size: 14px; line-height: 1.5; }
.mp-section-heading p, .mp-newsletter-section p, .mp-featured-body p { font-size: 17px; }
.mp-card-meta, .mp-video-date { font-size: 14px; }
.mp-card-link, .mp-text-link, .mp-video-watch { font-size: 16px; }
.mp-video-card-body strong { font-size: 20px; }
.mp-video-sort-note { font-size: 16px; }
.mp-video-library { padding-top: 0; }
.mp-video-search input { font-size: 17px; }
.site-footer-content .footer-brand p { font-size: 17px !important; }
.footer-group h2, .footer-group a { font-size: 16px; line-height: 1.6; }
.footer-group a { min-height: 36px; display: inline-flex; align-items: center; }
.footer-bottom { font-size: 15px; }
body .caf-builder-instance-0 .caf-builder-title-value { font-size: 21px !important; line-height: 1.4 !important; }
body .caf-builder-instance-0 .mp-card-date { font-size: 15px; color: #53677d; }
body .caf-builder-instance-0 .caf-post-terms a,
body .caf-builder-instance-0 .caf-post-terms span { font-size: 14px !important; }
.entry-content { font-size: 18px; line-height: 1.8; overflow-wrap: anywhere; min-width: 0; }
.entry-content :is(p,li,td,th) { font-size: 18px !important; line-height: 1.8 !important; }
.entry-published-date { font-size: 16px !important; }
.entry-content img, .entry-content iframe, .entry-content video { max-width: 100%; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; }
#ez-toc-container ul li a { font-size: 17px !important; line-height: 1.6 !important; }
#latest-resources { scroll-margin-top: 100px; }
@media (max-width: 1050px) {
    body .mp-blog-navigation { flex-wrap: wrap; min-height: 76px; gap: 0 16px; padding: 10px 20px; }
    .mp-header-tools { margin-left: auto; }
    .mp-menu-toggle { display: inline-flex; }
    .mp-blog-navigation .blog-top-nav {
        display: none; order: 3; flex: 0 0 100%; width: 100%;
        margin: 12px 0 0; padding-top: 12px; gap: 6px !important;
        border-top: 1px solid #38516b; overflow: visible; flex-wrap: wrap;
        justify-content: flex-start !important;
    }
    .mp-blog-navigation.is-menu-open .blog-top-nav { display: flex; }
    .mp-blog-navigation .blog-filter-link { min-height: 46px; padding: 12px 14px 9px; }
    .footer-main { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
    body { font-size: 17px; }
    body .mp-blog-navigation { padding: 10px 14px; min-height: 72px; gap: 0 10px; }
    .admin-bar .mp-blog-navigation { top: 46px; }
    .mp-blog-navigation .banner-brand-name { display: none; }
    .mp-blog-navigation img.banner-logo { width: 58px !important; min-width: 58px !important; max-width: 58px !important; }
    .mp-language-control { gap: 6px; }
    .mp-language-control select { width: 142px; font-size: 16px; }
    .mp-header-tools { gap: 10px; }
    .mp-menu-toggle { padding: 8px 10px; }
    .homepage-banner { padding: 42px 0 36px !important; min-height: 0 !important; }
    .homepage-banner .banner-content { width: calc(100% - 36px) !important; }
    .homepage-banner .banner-content h1 { font-size: clamp(32px, 7.8vw, 42px); }
    .homepage-banner .banner-content > p { font-size: 18px; line-height: 1.6; margin-bottom: 22px; }
    .mp-hero-search input { padding: 0 12px; font-size: 16px; }
    .mp-hero-search button { min-width: 80px; padding: 0 12px; font-size: 16px; }
    .mp-popular-searches .mp-topic-link { font-size: 14px; padding: 8px 11px; min-height: 42px; }
    .mp-home-section { width: calc(100% - 36px); }
    .mp-newsletter-section { padding: 28px 20px; }
    .mp-newsletter-section h2 { font-size: 28px; line-height: 1.2; overflow-wrap: anywhere; }
    .mp-newsletter-controls input[type="email"], .mp-newsletter-controls button { font-size: 17px; min-height: 52px; }
    .entry-content { padding: 0; }
    .entry-title { font-size: clamp(28px, 7vw, 36px) !important; line-height: 1.2 !important; }
    .mp-video-hero-copy { padding-top: 0; }
    .mp-video-hero h1 { font-size: 40px; }
    .mp-video-sort button { flex: 1 1 auto; min-height: 48px; font-size: 16px; }
    .mp-video-more > a { width: 100%; padding: 18px 16px; }
    .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 18px; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
    .mp-language-control > svg { display: none; }
    .mp-language-control select { width: 126px; }
    .mp-header-tools { gap: 8px; }
    .mp-menu-toggle { gap: 5px; padding: 8px; width: 44px; }
    .mp-menu-toggle span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; }
}

/* Compact topic picker on phones; keep research-topic chips on desktop. */
.mp-mobile-topic-control { display: none; }
@media (max-width: 680px) {
    .mp-popular-searches .mp-popular-label,
    .mp-popular-searches .mp-topic-list { display: none; }
    .mp-mobile-topic-control { display: block; width: 100%; min-width: 0; }
    .mp-mobile-topic-control > span { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 700; color: #d8eaf7; }
    .mp-mobile-topic-control select {
        display: block; width: 100%; max-width: 100%; min-width: 0; min-height: 48px;
        padding: 10px 12px; border: 1px solid #acc5da; border-radius: 7px;
        color: #102a43; background: #fff; font: inherit; font-size: 16px;
    }
    .mp-mobile-topic-control select:focus-visible { outline: 3px solid #8ee3ff; outline-offset: 3px; }
}

