.mageos-blog-container {
    width: min(100% - 40px, 1240px);
    margin: 40px auto 72px;
    color: #202923;
}

.mageos-blog-context,
.mageos-blog-listing__header {
    margin-bottom: 32px;
    padding: 38px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, #376b48, #173f2b);
}

.mageos-blog-context__title,
.mageos-blog-listing__title,
.mageos-blog-post__title {
    margin: 0;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.13;
}

.mageos-blog-context__description,
.mageos-blog-listing__description {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .78);
}

.mageos-blog-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mageos-blog-card {
    overflow: hidden;
    padding: 0 0 24px;
    border: 1px solid #dfe6df;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(26, 58, 39, .07);
}

.mageos-blog-card__hero {
    display: block;
    overflow: hidden;
}

.mageos-blog-card__hero img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform .35s ease;
}

.mageos-blog-card:hover .mageos-blog-card__hero img {
    transform: scale(1.03);
}

.mageos-blog-card__title,
.mageos-blog-card__meta,
.mageos-blog-card__excerpt,
.mageos-blog-card__cta {
    margin-right: 24px;
    margin-left: 24px;
}

.mageos-blog-card__title {
    margin-top: 22px;
    margin-bottom: 10px;
    font-size: 21px;
    line-height: 1.25;
}

.mageos-blog-card__title a,
.mageos-blog-card__cta a {
    color: #173f2b;
    text-decoration: none;
}

.mageos-blog-card__title a:hover,
.mageos-blog-card__cta a:hover {
    color: #376b48;
}

.mageos-blog-card__meta {
    color: #78817c;
    font-size: 12px;
}

.mageos-blog-card__meta a {
    color: #376b48;
}

.mageos-blog-card__excerpt {
    display: -webkit-box;
    min-height: 66px;
    overflow: hidden;
    color: #626d66;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.mageos-blog-card__excerpt p {
    margin: 0;
}

.mageos-blog-card__cta {
    margin-top: 18px;
    font-size: 13px;
    font-weight: 600;
}

.mageos-blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 38px;
}

.mageos-blog-pagination a,
.mageos-blog-pagination span {
    display: grid;
    min-width: 40px;
    height: 40px;
    place-items: center;
    padding: 0 10px;
    border: 1px solid #d8e1d8;
    border-radius: 8px;
    color: #244d35;
    text-decoration: none;
}

.mageos-blog-pagination .current,
.mageos-blog-pagination a:hover {
    color: #fff;
    border-color: #376b48;
    background: #376b48;
}

.mageos-blog-post {
    max-width: 980px;
}

.mageos-blog-post__hero {
    overflow: hidden;
    margin: 0 0 34px;
    border-radius: 18px;
    background: #eef4ec;
}

.mageos-blog-post__hero img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.mageos-blog-post__title {
    color: #173f2b;
    font-size: clamp(34px, 4.6vw, 58px);
}

.mageos-blog-post__meta {
    margin: 15px 0 36px;
    color: #737e77;
    font-size: 13px;
}

.mageos-blog-post__meta a {
    color: #376b48;
}

.mageos-blog-post__content {
    color: #364139;
    font-size: 17px;
    line-height: 1.82;
}

.mageos-blog-post__content h2,
.mageos-blog-post__content h3 {
    margin: 1.65em 0 .55em;
    color: #173f2b;
    font-weight: 600;
    line-height: 1.25;
}

.mageos-blog-post__content h2 {
    font-size: 29px;
}

.mageos-blog-post__content h3 {
    font-size: 23px;
}

.mageos-blog-post__content p {
    margin: 0 0 1.15em;
}

.mageos-blog-post__content ul,
.mageos-blog-post__content ol {
    margin: 0 0 1.25em;
    padding-left: 1.5em;
}

.mageos-blog-post__content ul {
    list-style: disc;
}

.mageos-blog-post__content ol {
    list-style: decimal;
}

.mageos-blog-post__content a {
    color: #2e6844;
    font-weight: 650;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mageos-blog-post__content blockquote {
    margin: 28px 0;
    padding: 22px 26px;
    border-left: 4px solid #89ad82;
    border-radius: 0 12px 12px 0;
    color: #294735;
    background: #eff6ed;
}

.mageos-blog-post__footer {
    margin-top: 45px;
    padding-top: 28px;
    border-top: 1px solid #dfe6df;
}

.mageos-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mageos-blog-chip {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    color: #285139;
    background: #e7f1e4;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.mageos-blog-related {
    margin-top: 42px;
}

.mageos-blog-related__title {
    margin-bottom: 18px;
    color: #173f2b;
    font-size: 25px;
    font-weight: 600;
}

.mageos-blog-related__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mageos-blog-related__item {
    overflow: hidden;
    border: 1px solid #dfe6df;
    border-radius: 12px;
}

.mageos-blog-related__item a {
    color: #173f2b;
    text-decoration: none;
}

.mageos-blog-related__item-thumb {
    display: block;
    width: 100%;
    height: 145px;
    object-fit: cover;
}

.mageos-blog-related__item-title {
    margin: 0;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.mageos-blog-widget {
    padding: 24px;
    border: 1px solid #dfe6df;
    border-radius: 14px;
    background: #f8faf7;
}

.mageos-blog-widget__title {
    margin: 0 0 14px;
    color: #173f2b;
    font-size: 20px;
    font-weight: 600;
}

.mageos-blog-widget__items {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mageos-blog-widget__item a {
    color: #315e40;
    text-decoration: none;
}

@media (max-width: 900px) {
    .mageos-blog-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .mageos-blog-container {
        width: min(100% - 28px, 1240px);
        margin-top: 24px;
        margin-bottom: 48px;
    }

    .mageos-blog-context,
    .mageos-blog-listing__header {
        padding: 27px 22px;
    }

    .mageos-blog-cards,
    .mageos-blog-related__list {
        grid-template-columns: 1fr;
    }

    .mageos-blog-card__hero img {
        height: 210px;
    }

    .mageos-blog-post__title {
        font-size: 34px;
    }

    .mageos-blog-post__content {
        font-size: 16px;
        line-height: 1.72;
    }
}
