.mfw-blog-page {
    min-height: 60vh;
    padding: 30px 0 84px;
    background:
        radial-gradient(circle at 8% 0, rgba(35, 160, 103, .09), transparent 28rem),
        linear-gradient(180deg, #f8fcfa 0, #fff 480px);
}

.mfw-blog-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 22px;
    overflow: hidden;
    color: #687c73;
    font-size: 13px;
    white-space: nowrap;
}

.mfw-blog-breadcrumbs a {
    color: var(--mfw-green-700) !important;
    font-weight: 750;
}

.mfw-blog-breadcrumbs span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.mfw-blog-hero {
    position: relative;
    min-height: 205px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    overflow: hidden;
    margin-bottom: 24px;
    padding: clamp(32px, 5vw, 58px);
    border: 1px solid #d7e9df;
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 22%, rgba(23, 144, 95, .12), transparent 17rem),
        linear-gradient(135deg, #effaf4, #fff 68%);
}

.mfw-blog-hero::after {
    position: absolute;
    right: -70px;
    bottom: -110px;
    width: 260px;
    height: 260px;
    border: 48px solid rgba(22, 139, 92, .055);
    border-radius: 50%;
    content: '';
}

.mfw-blog-hero > div {
    position: relative;
    z-index: 1;
}

.mfw-blog-hero h1,
.mfw-blog-article-header h1 {
    margin: 10px 0 12px;
    color: var(--mfw-ink);
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.04;
}

.mfw-blog-hero p,
.mfw-blog-article-header p {
    max-width: 660px;
    margin: 0;
    color: var(--mfw-muted);
    font-size: 16px;
    line-height: 1.7;
}

.mfw-blog-hero-mark {
    position: relative;
    z-index: 1;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    display: grid;
    place-items: center;
    border: 1px solid #c9e5d7;
    border-radius: 24px;
    color: var(--mfw-green-700);
    background: rgba(255, 255, 255, .86);
    box-shadow: var(--mfw-shadow-sm);
}

.mfw-blog-hero-mark svg,
.mfw-blog-media-placeholder svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.mfw-blog-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 200px auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid var(--mfw-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 38px rgba(13, 67, 47, .06);
}

.mfw-blog-control {
    min-width: 0;
}

.mfw-blog-control > span:first-child {
    display: block;
    margin-bottom: 7px;
    color: #53685e;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.mfw-blog-input-wrap {
    position: relative;
    display: block;
}

.mfw-blog-input-wrap svg {
    position: absolute;
    top: 50%;
    left: 14px;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #668078;
    stroke-linecap: round;
    stroke-width: 1.8;
    transform: translateY(-50%);
    pointer-events: none;
}

.mfw-blog-control input,
.mfw-blog-control select {
    width: 100%;
    height: 48px;
    margin: 0;
    border: 1px solid #cbded4;
    border-radius: 12px;
    color: var(--mfw-ink);
    background: #fff;
    box-shadow: none;
    font: inherit;
}

.mfw-blog-control input {
    padding: 0 14px 0 43px;
}

.mfw-blog-control select {
    padding: 0 38px 0 14px;
}

.mfw-blog-control input:focus,
.mfw-blog-control select:focus {
    border-color: var(--mfw-green-600);
    outline: 3px solid rgba(21, 148, 99, .13);
}

.mfw-blog-submit {
    min-height: 48px;
    padding: 0 25px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: var(--mfw-green-700);
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.mfw-blog-submit:hover,
.mfw-blog-submit:focus-visible {
    background: var(--mfw-green-900);
    transform: translateY(-1px);
    outline: 0;
}

.mfw-blog-results-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0 2px 16px;
}

.mfw-blog-results-heading p {
    margin: 0;
    color: var(--mfw-muted);
    font-size: 13px;
}

.mfw-blog-results-heading a {
    color: var(--mfw-green-700) !important;
    font-size: 12px;
    font-weight: 800;
}

.mfw-blog-list {
    display: grid;
    gap: 18px;
}

.mfw-blog-card {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(280px, 35%) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid #dce9e2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(16, 54, 39, .065);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mfw-blog-card:hover {
    border-color: #badac8;
    box-shadow: 0 20px 52px rgba(16, 54, 39, .11);
    transform: translateY(-2px);
}

.mfw-blog-media {
    min-height: 250px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 20px;
    color: var(--mfw-green-700) !important;
    background:
        radial-gradient(circle at 50% 42%, rgba(51, 174, 120, .15), transparent 48%),
        #eff7f3;
}

.mfw-blog-media img {
    width: 100%;
    height: 100%;
    max-height: 270px;
    display: block;
    object-fit: contain;
    transition: transform 260ms ease;
}

.mfw-blog-card:hover .mfw-blog-media img {
    transform: scale(1.025);
}

.mfw-blog-media-placeholder {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 22px;
    background: rgba(255, 255, 255, .9);
}

.mfw-blog-card-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(26px, 4vw, 42px);
}

.mfw-blog-card-kicker {
    margin-bottom: 10px;
    color: var(--mfw-green-700);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.mfw-blog-card h2 {
    margin: 0 0 12px;
    color: var(--mfw-ink);
    font-size: clamp(23px, 2.6vw, 31px);
    font-weight: 830;
    letter-spacing: -.025em;
    line-height: 1.18;
}

.mfw-blog-card h2 a {
    color: inherit !important;
}

.mfw-blog-card h2 a:hover,
.mfw-blog-card h2 a:focus-visible {
    color: var(--mfw-green-700) !important;
    outline: 0;
}

.mfw-blog-card-body > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #576c62;
    font-size: 14px;
    line-height: 1.72;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.mfw-blog-read-more,
.mfw-blog-article-footer a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    align-self: flex-start;
    margin-top: 20px;
    color: var(--mfw-green-700) !important;
    font-size: 13px;
    font-weight: 850;
}

.mfw-blog-read-more svg,
.mfw-blog-article-footer svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 160ms ease;
}

.mfw-blog-read-more:hover svg,
.mfw-blog-read-more:focus-visible svg {
    transform: translateX(3px);
}

.mfw-blog-empty {
    display: grid;
    justify-items: center;
    padding: 58px 24px;
    border: 1px dashed #bcd7c8;
    border-radius: 22px;
    color: var(--mfw-muted);
    background: #f7fbf9;
    text-align: center;
}

.mfw-blog-empty > span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 50%;
    color: var(--mfw-green-700);
    background: var(--mfw-green-100);
    font-size: 24px;
    font-weight: 800;
}

.mfw-blog-empty h2,
.mfw-blog-empty p {
    margin: 0;
}

.mfw-blog-empty h2 {
    color: var(--mfw-ink);
    font-size: 22px;
}

.mfw-blog-empty p {
    margin-top: 7px;
}

.mfw-blog-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.mfw-blog-page-button,
.mfw-blog-page-ellipsis {
    min-width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    padding: 0 12px;
    border: 1px solid #cfe1d7;
    border-radius: 11px;
    color: #1d4b39 !important;
    background: #fff;
    font-size: 13px;
    font-weight: 800;
}

.mfw-blog-page-button:hover,
.mfw-blog-page-button:focus-visible,
.mfw-blog-page-button.is-current {
    border-color: var(--mfw-green-700);
    color: #fff !important;
    background: var(--mfw-green-700);
    outline: 0;
}

.mfw-blog-page-button.is-disabled {
    opacity: .4;
    pointer-events: none;
}

.mfw-blog-page-ellipsis {
    border-color: transparent;
    background: transparent;
}

.mfw-blog-detail-page {
    padding-bottom: 92px;
}

.mfw-blog-article {
    width: min(940px, 100%);
    margin: 0 auto;
}

.mfw-blog-article-header {
    padding: clamp(18px, 4vw, 42px) clamp(0px, 3vw, 28px) 32px;
    text-align: center;
}

.mfw-blog-article-header p {
    margin-inline: auto;
}

.mfw-blog-article-media {
    aspect-ratio: 16 / 8.5;
    display: grid;
    place-items: center;
    overflow: hidden;
    margin: 0 0 22px;
    padding: clamp(18px, 4vw, 38px);
    border: 1px solid #dce9e2;
    border-radius: 26px;
    background:
        radial-gradient(circle at 50% 46%, rgba(51, 174, 120, .14), transparent 52%),
        #eff7f3;
}

.mfw-blog-article-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mfw-blog-article-content {
    overflow: hidden;
    padding: clamp(28px, 5vw, 60px);
    border: 1px solid #dce9e2;
    border-radius: 26px;
    color: #40564c;
    background: #fff;
    box-shadow: 0 18px 52px rgba(16, 54, 39, .075);
    font-size: 16px;
    line-height: 1.82;
    overflow-wrap: anywhere;
}

.mfw-blog-article-content > :first-child {
    margin-top: 0;
}

.mfw-blog-article-content > :last-child {
    margin-bottom: 0;
}

.mfw-blog-article-content h2,
.mfw-blog-article-content h3,
.mfw-blog-article-content h4 {
    margin: 1.6em 0 .65em;
    color: var(--mfw-ink);
    letter-spacing: -.02em;
    line-height: 1.25;
}

.mfw-blog-article-content h2 {
    font-size: 28px;
}

.mfw-blog-article-content h3 {
    font-size: 23px;
}

.mfw-blog-article-content img,
.mfw-blog-article-content table {
    max-width: 100%;
    height: auto;
}

.mfw-blog-article-content table {
    width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}

.mfw-blog-article-content th,
.mfw-blog-article-content td {
    padding: 10px 12px;
    border: 1px solid var(--mfw-line);
    text-align: left;
}

.mfw-blog-article-content a {
    color: var(--mfw-green-700) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mfw-blog-article-footer {
    display: flex;
    justify-content: center;
    padding-top: 26px;
}

.mfw-blog-article-footer a {
    margin-top: 0;
}

.mfw-blog-article-footer a:hover svg,
.mfw-blog-article-footer a:focus-visible svg {
    transform: translateX(-3px);
}

@media (max-width: 780px) {
    .mfw-blog-page {
        padding: 22px 0 64px;
    }

    .mfw-blog-hero {
        min-height: 180px;
        padding: 32px;
        border-radius: 22px;
    }

    .mfw-blog-hero-mark {
        width: 62px;
        height: 62px;
        flex-basis: 62px;
        border-radius: 19px;
    }

    .mfw-blog-toolbar,
    .mfw-blog-card {
        grid-template-columns: 1fr;
    }

    .mfw-blog-toolbar {
        grid-template-columns: minmax(0, 1fr) 150px;
    }

    .mfw-blog-submit {
        grid-column: 1 / -1;
    }

    .mfw-blog-media {
        min-height: 0;
        aspect-ratio: 16 / 8.5;
    }

    .mfw-blog-card-body {
        padding: 26px;
    }
}

@media (max-width: 520px) {
    .mfw-blog-breadcrumbs {
        margin-bottom: 16px;
        font-size: 11px;
    }

    .mfw-blog-hero {
        padding: 28px 24px;
    }

    .mfw-blog-hero h1,
    .mfw-blog-article-header h1 {
        font-size: 34px;
    }

    .mfw-blog-hero p,
    .mfw-blog-article-header p {
        font-size: 14px;
    }

    .mfw-blog-hero-mark {
        display: none;
    }

    .mfw-blog-toolbar {
        grid-template-columns: 1fr;
        padding: 13px;
        border-radius: 16px;
    }

    .mfw-blog-submit {
        grid-column: auto;
    }

    .mfw-blog-card {
        border-radius: 18px;
    }

    .mfw-blog-media {
        padding: 14px;
    }

    .mfw-blog-card-body {
        padding: 23px 20px 25px;
    }

    .mfw-blog-card h2 {
        font-size: 22px;
    }

    .mfw-blog-card-body > p {
        font-size: 13px;
        -webkit-line-clamp: 3;
    }

    .mfw-blog-article-header {
        padding-inline: 4px;
    }

    .mfw-blog-article-media,
    .mfw-blog-article-content {
        border-radius: 19px;
    }

    .mfw-blog-article-content {
        padding: 25px 20px;
        font-size: 15px;
        line-height: 1.75;
    }
}
