body.single-news,
body.post-type-archive-news {
    background: linear-gradient(180deg, #f8f9fc 0, #ffffff 320px);
    --mmr-news-progress-offset: calc(var(--header-height, 4rem) + 2rem);
    --mmr-news-content-gutter: 15px;
}

body.single-news .top-post-widget-content,
body.post-type-archive-news .top-post-widget-content,
body.single-news .blog-item-content,
body.post-type-archive-news .blog-item-content,
body.single-news .white-block-footer,
body.post-type-archive-news .white-block-footer {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.mmr-news-progress {
    position: fixed;
    top: var(--mmr-news-progress-offset);
    left: 0;
    z-index: 120;
    width: 100%;
    height: 4px;
    background: rgba(63, 81, 181, 0.12);
    pointer-events: none;
}

.mmr-news-progress-bar {
    display: block;
    width: 0;
    height: 100%;
    background: #3f51b5;
    transition: width 0.15s ease-out;
}

.mmr-news-page {
    position: relative;
    isolation: isolate;
    padding: 0;
}

.mmr-news-shell {
    padding: 36px 0 48px;
}

.mmr-news-page .container {
    width: 100%;
    max-width: 1040px;
    padding-left: var(--mmr-news-content-gutter) !important;
    padding-right: var(--mmr-news-content-gutter) !important;
}

.mmr-news-page-single .container {
    background: #ffffff;
}

.mmr-news-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: #8f98a3;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.mmr-news-breadcrumbs a {
    color: #8f98a3;
}

.mmr-news-breadcrumbs a:hover,
.mmr-news-breadcrumbs a:focus {
    color: #0F33FF;
}

.mmr-news-breadcrumb-current {
    color: #0F33FF;
}

.mmr-news-breadcrumb-separator {
    color: #bec5cd;
}

.mmr-news-article,
.mmr-news-latest,
.mmr-news-cta,
.mmr-news-archive-header,
.mmr-news-empty-state {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.mmr-news-article {
    position: relative;
    z-index: 0;
    padding: 10px 0 34px;
    border-bottom: 1px solid #e4e8ee;
}

.mmr-news-header {
    position: relative;
    z-index: 0;
    margin-bottom: 28px;
}

.mmr-news-title {
    margin: 0;
    color: #3f51b5;
    font-size: 50px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.mmr-news-archive-title {
    margin: 0;
    color: #0F33FF;
    font-size: 50px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.mmr-news-meta-share {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    margin-top: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #d7dde5;
}

.mmr-news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 34px;
}

.mmr-news-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mmr-news-meta-label {
    color: #8c96a1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mmr-news-meta-value {
    color: #212831;
    font-size: 15px;
    font-weight: 600;
}

.mmr-news-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mmr-news-share-label {
    color: #525f6d;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mmr-news-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #d7dde5;
    border-radius: 0;
    background: #f5f7fb;
    color: #0F33FF;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.mmr-news-share-button svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.mmr-news-share-button:hover,
.mmr-news-share-button:focus {
    color: #0F33FF;
    border-color: #0F33FF;
    background: #eef2ff;
    transform: translateY(-1px);
}

.mmr-news-content {
    position: relative;
    z-index: 0;
    color: #2b3440;
    font-size: 18px;
    line-height: 1.82;
    text-align: justify;
}

.mmr-news-content > *:first-child {
    margin-top: 0;
}

.mmr-news-content > *:last-child {
    margin-bottom: 0;
}

.mmr-news-content h2,
.mmr-news-content h3,
.mmr-news-content h4 {
    margin-top: 1.7em;
    margin-bottom: 0.65em;
    color: #161d26;
    line-height: 1.24;
}

.mmr-news-content img {
    max-width: 100%;
    height: auto;
}

.mmr-news-latest {
    position: relative;
    z-index: 0;
    padding: 30px 0 12px;
    border-bottom: 1px solid #e4e8ee;
}

.mmr-news-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 18px;
}

.mmr-news-section-eyebrow,
.mmr-news-cta-kicker {
    margin: 0 0 8px;
    color: #8d97a3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h2.mmr-news-section-heading {
    margin: 0;
    color: #8d97a3 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    line-height: 1.2 !important;
    text-transform: uppercase;
}

.mmr-news-section-title,
.mmr-news-cta-title {
    margin: 0;
    color: #161d26;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.mmr-news-scroll-controls {
    display: flex;
    gap: 10px;
}

.mmr-news-scroll-button {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #d7dde5;
    border-radius: 0;
    background: #ffffff;
    color: #444f5e;
    font-size: 18px;
    line-height: 1;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.mmr-news-scroll-button:hover,
.mmr-news-scroll-button:focus {
    border-color: #0F33FF;
    color: #0F33FF;
    background: #f5f7ff;
}

.mmr-news-scroll-button:disabled {
    opacity: 0.38;
    cursor: default;
}

.mmr-news-latest-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 1fr);
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
}

.mmr-news-latest-track::-webkit-scrollbar {
    display: none;
}

.mmr-news-card {
    min-height: 100%;
    padding: 20px 0 0;
    border-top: 3px solid #0F33FF;
    border-radius: 0;
    background: transparent;
    scroll-snap-align: start;
}

.mmr-news-card-date,
.mmr-news-archive-date {
    display: block;
    color: #8d97a3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.mmr-news-card-title,
.mmr-news-archive-item-title {
    margin: 10px 0 0;
    color: #161d26;
    font-size: 23px;
    line-height: 1.28;
    font-weight: 700;
}

.mmr-news-card-title a,
.mmr-news-archive-item-title a {
    color: inherit;
}

.mmr-news-card-title a:hover,
.mmr-news-card-title a:focus,
.mmr-news-archive-item-title a:hover,
.mmr-news-archive-item-title a:focus {
    color: #0F33FF;
}

.mmr-news-cta {
    position: relative;
    z-index: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
    padding: 34px 0 40px;
    border-top: 1px solid #e4e8ee;
}

.mmr-news-cta-copy {
    max-width: 760px;
}

.mmr-news-cta-title {
    color: #161d26;
}

.mmr-news-cta-text,
.mmr-news-archive-summary {
    margin: 12px 0 0;
    color: #5d6875;
    font-size: 15px;
    line-height: 1.72;
}

.mmr-news-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border: 1px solid #0F33FF;
    border-radius: 0;
    background: #0F33FF;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.mmr-news-cta-button:hover,
.mmr-news-cta-button:focus {
    background: #0827d1;
    color: #ffffff;
}

.mmr-news-page-archive .container {
    max-width: 980px;
}

.mmr-news-archive-header {
    padding: 6px 0 18px;
}

.mmr-news-archive-header::after {
    content: '';
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 18px;
    background: #0F33FF;
}

.mmr-news-archive-list {
    border-top: 1px solid #dce2ea;
}

.mmr-news-archive-item {
    padding: 22px 0 20px;
    border-bottom: 1px solid #dce2ea;
    border-radius: 0;
    background: transparent;
}

.mmr-news-archive-summary {
    font-size: 14px;
    line-height: 1.68;
}

.mmr-news-page-archive .post-pagination {
    margin-top: 26px;
}

.mmr-news-empty-state {
    padding: 28px 0 34px;
    border-top: 1px solid #dce2ea;
    border-bottom: 1px solid #dce2ea;
}

.mmr-news-empty-state h2 {
    margin: 0;
    color: #161d26;
}

.mmr-news-empty-state p {
    margin: 10px 0 0;
    color: #5d6875;
}

body.single-news #navigation,
body.post-type-archive-news #navigation {
    position: relative;
    z-index: 220;
}

body.single-news #navigation .nav__main,
body.post-type-archive-news #navigation .nav__main {
    position: relative;
    z-index: 220;
}

body.single-news #navigation .dropdown__container,
body.post-type-archive-news #navigation .dropdown__container {
    z-index: 230;
}

@media (max-width: 991px) {
    body.single-news,
    body.post-type-archive-news {
        --mmr-news-progress-offset: var(--header-height, 4rem);
    }

    .mmr-news-shell {
        padding-top: 28px;
        padding-bottom: 40px;
    }

    .mmr-news-title,
    .mmr-news-archive-title {
        font-size: 40px;
    }

    .mmr-news-meta-share,
    .mmr-news-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    body.single-news,
    body.post-type-archive-news {
        --mmr-news-content-gutter: 18px;
    }

    .mmr-news-shell {
        padding-top: 0;
        padding-bottom: 36px;
    }

    .mmr-news-title,
    .mmr-news-archive-title {
        font-size: 32px;
    }

    .mmr-news-section-title,
    .mmr-news-cta-title {
        font-size: 26px;
    }

    .mmr-news-content {
        font-size: 17px;
        line-height: 1.74;
    }

    .mmr-news-scroll-controls {
        display: none;
    }

    .mmr-news-latest-track {
        display: flex;
        flex-direction: column;
        gap: 16px;
        overflow: visible;
        padding-bottom: 0;
    }

    .mmr-news-card {
        padding-top: 16px;
    }

    .mmr-news-share {
        width: 100%;
        flex-wrap: wrap;
    }

    .mmr-news-meta {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 12px;
    }

    .mmr-news-meta-item {
        flex: 1 1 50%;
        gap: 4px;
        min-width: 0;
    }

    .mmr-news-meta-label {
        font-size: 10px;
        letter-spacing: 0.06em;
    }

    .mmr-news-meta-value {
        font-size: 13px;
        line-height: 1.35;
    }

    .mmr-news-share-button {
        width: 42px;
        height: 42px;
    }

    .mmr-news-cta-button {
        width: 100%;
    }
}
