.cmk-home-content,
.cmk-home-content * {
    box-sizing: border-box;
}

.cmk-home-content {
    --cmk-home-red: #e31e24;
    --cmk-home-blue: #1268c4;
    --cmk-home-dark: #0c1734;
    --cmk-home-text: #536078;
    --cmk-home-border: #e3e7ed;
    width: 100%;
    padding: clamp(48px, 5vw, 82px) 24px;
    background: #fff;
}

.cmk-home-content__container {
    width: min(100%, 1480px);
    margin: 0 auto;
}

.cmk-home-content__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 34px;
}

.cmk-home-content__heading {
    margin: 0 0 10px;
    color: var(--cmk-home-dark);
    font-size: clamp(34px, 3.1vw, 54px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.035em;
}

.cmk-home-content__description {
    margin: 0;
    color: var(--cmk-home-text);
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.55;
}

.cmk-home-content__all-link,
.cmk-home-content__read-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cmk-home-red);
    font-weight: 700;
    text-decoration: none;
}

.cmk-home-content__all-link:hover,
.cmk-home-content__all-link:focus-visible,
.cmk-home-content__read-link:hover,
.cmk-home-content__read-link:focus-visible {
    color: #b9141a;
}

.cmk-home-content__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(430px, 1fr);
    gap: 26px;
    align-items: stretch;
}

.cmk-home-content__featured,
.cmk-home-content__item {
    overflow: hidden;
    border: 1px solid var(--cmk-home-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(12, 23, 52, .055);
}

.cmk-home-content__featured-media,
.cmk-home-content__item-media {
    display: block;
    overflow: hidden;
    background: #eef1f5;
}

.cmk-home-content__featured-media {
    aspect-ratio: 16 / 7.3;
}

.cmk-home-content__featured-image,
.cmk-home-content__item-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.cmk-home-content__featured:hover .cmk-home-content__featured-image,
.cmk-home-content__item:hover .cmk-home-content__item-image {
    transform: scale(1.025);
}

.cmk-home-content__featured-body {
    padding: clamp(25px, 2.7vw, 40px);
}

.cmk-home-content__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: #667085;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.cmk-home-content__category {
    font-weight: 700;
}

.cmk-home-content__category--news {
    color: var(--cmk-home-red);
}

.cmk-home-content__category--medibox {
    color: var(--cmk-home-blue);
}

.cmk-home-content__featured-title,
.cmk-home-content__item-title {
    color: var(--cmk-home-dark);
    font-weight: 700;
    letter-spacing: -.02em;
}

.cmk-home-content__featured-title {
    margin: 0 0 14px;
    font-size: clamp(24px, 1.9vw, 34px);
    line-height: 1.22;
}

.cmk-home-content__featured-title a,
.cmk-home-content__item-title a {
    color: inherit;
    text-decoration: none;
}

.cmk-home-content__featured-title a:hover,
.cmk-home-content__featured-title a:focus-visible,
.cmk-home-content__item-title a:hover,
.cmk-home-content__item-title a:focus-visible {
    color: var(--cmk-home-red);
}

.cmk-home-content__excerpt {
    margin: 0 0 24px;
    color: var(--cmk-home-text);
    font-size: 17px;
    line-height: 1.7;
}

.cmk-home-content__list {
    display: grid;
    grid-template-rows: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.cmk-home-content__item {
    display: grid;
    grid-template-columns: minmax(185px, 36%) minmax(0, 1fr);
    min-height: 138px;
}

.cmk-home-content__item-body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 20px 23px;
}

.cmk-home-content__meta--small {
    margin-bottom: 10px;
    font-size: 10px;
}

.cmk-home-content__item-title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    font-size: clamp(17px, 1.15vw, 21px);
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cmk-home-content__placeholder {
    min-height: 138px;
    background: linear-gradient(135deg, rgba(227, 30, 36, .08), rgba(12, 23, 52, .08));
}

@media (max-width: 1100px) {
    .cmk-home-content__layout {
        grid-template-columns: 1fr;
    }

    .cmk-home-content__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
    }

    .cmk-home-content__item {
        grid-template-columns: 155px minmax(0, 1fr);
    }
}

@media (max-width: 760px) {
    .cmk-home-content {
        padding: 42px 16px;
    }

    .cmk-home-content__header {
        display: block;
        margin-bottom: 26px;
    }

    .cmk-home-content__all-link {
        margin-top: 12px;
    }

    .cmk-home-content__featured-media {
        aspect-ratio: 16 / 10;
    }

    .cmk-home-content__featured-body {
        padding: 23px 20px 26px;
    }

    .cmk-home-content__excerpt {
        font-size: 16px;
        line-height: 1.6;
    }

    .cmk-home-content__list {
        grid-template-columns: 1fr;
    }

    .cmk-home-content__item {
        grid-template-columns: 120px minmax(0, 1fr);
        min-height: 120px;
    }

    .cmk-home-content__item-body {
        padding: 15px;
    }
}

@media (max-width: 460px) {
    .cmk-home-content__item {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .cmk-home-content__meta--small time {
        display: none;
    }

    .cmk-home-content__item-title {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cmk-home-content *,
    .cmk-home-content *::before,
    .cmk-home-content *::after {
        transition: none !important;
    }
}
