.hc-blogs-list,
.hc-blogs-list * {
    box-sizing: border-box;
}

.hc-blogs-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 48px;
    background: #fff;
    padding: 40px 12px 0;
    font-family: Onest, Arial, sans-serif;
}

.hc-blogs-list__head {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
}

.hc-blogs-list__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hc-blogs-list__eyebrow {
    display: flex;
    margin: 0;
    color: #b0a89d;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.hc-blogs-list__title {
    margin: 0;
    color: #1f1911;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
}

.hc-blogs-list__controls {
    display: none;
}

.hc-blogs-list__nav {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #1f1911;
    padding: 12px;
    cursor: pointer;
}

.hc-blogs-list__nav:hover {
    background: #e7e2da;
}

.hc-blogs-list__nav:active {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .08);
}

.hc-blogs-list__carousel {
    display: flex;
    position: relative;
    align-items: center;
    overflow: hidden;
    padding-bottom: 80px;
}

.hc-blogs-list__slide {
    display: flex;
    flex-direction: column;
    transition: transform .4s ease-in-out;
}

.hc-blogs-list__item {
    display: block;
}

.hc-blogs-list__grid,
.hc-blogs-list__grid-item {
    display: block;
}

.hc-blogs-list__mobile-more {
    display: none;
}

.hc-blog-card {
    display: flex;
    height: 100%;
    gap: 12px;
    border-bottom: 1px solid #ede4d7;
    color: inherit;
    padding: 12px 0 20px;
    text-decoration: none;
}

.hc-blog-card--last-mobile {
    border-bottom: 0;
}

.hc-blog-card__image {
    display: block;
    width: 104px;
    min-width: 104px;
    height: 104px;
    border-radius: 10px;
    object-fit: cover;
}

.hc-blog-card__body {
    display: flex;
    height: 104px;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
}

.hc-blog-card__title {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #1f1911;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

.hc-blog-card__meta {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.hc-blog-card__date {
    margin: 0;
    color: #9e968b;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.hc-blog-card__more {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff5500;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    white-space: nowrap;
}

.hc-blog-card__more-text {
    position: relative;
    display: inline-flex;
}

.hc-blog-card__more-text::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff5500;
    content: "";
    transition: width .3s ease;
}

.hc-blog-card:hover .hc-blog-card__more-text::after {
    width: 100%;
}

.hc-blog-card__more-icon {
    flex: 0 0 auto;
}

@media (min-width: 768px) {
    .hc-blogs-list {
        gap: 56px;
        background: #fefcf9;
        padding: 80px 0 0;
    }

    .hc-blogs-list__title {
        width: 80%;
        font-size: 48px;
        line-height: 56px;
    }

    .hc-blogs-list__controls {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .hc-blogs-list__carousel {
        padding-bottom: 90px;
    }

    .hc-blogs-list__slide {
        flex-direction: row;
        gap: 12px;
        margin: 20px 5px;
    }

    .hc-blog-card {
        width: 300px;
        height: fit-content;
        flex-direction: column;
        border: 0;
        border-radius: 16px;
        padding: 20px;
        box-shadow: 0 0 0 1px rgba(231, 226, 218, 1);
        transition: background .2s ease, box-shadow .2s ease;
    }

    .hc-blog-card:hover {
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 16px 40px 0 rgba(110, 98, 81, .16);
    }

    .hc-blog-card__image {
        width: 100%;
        height: 260px;
    }

    .hc-blog-card__body {
        gap: 20px;
    }
}

.hc-blogs-list--grid-page {
    gap: 0;
    background: #fefcf9;
    padding: 0 0 40px;
}

.hc-blogs-list--grid-page .hc-blogs-list__head {
    padding: 24px 12px 0;
}

.hc-blogs-list--grid-page .hc-blogs-list__grid {
    display: flex;
    flex-direction: column;
    padding: 24px 12px 0;
}

.hc-blogs-list--grid-page .hc-blogs-list__mobile-more {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 24px 12px 70px;
}

.hc-blogs-list--grid-page .hc-blogs-list__mobile-more button {
    width: fit-content;
    border: 2px solid #ff5500;
    border-radius: 8px;
    background: transparent;
    color: #ff5500;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

@media (min-width: 768px) {
    .hc-blogs-list--grid-page {
        padding: 0 120px 40px;
    }

    .hc-blogs-list--grid-page .hc-blogs-list__head {
        padding: 40px 0 0;
    }

    .hc-blogs-list--grid-page .hc-blogs-list__grid {
        display: grid;
        grid-auto-rows: auto;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-items: start;
        gap: 40px 12px;
        padding: 80px 0 0;
    }

    .hc-blogs-list--grid-page .hc-blog-card {
        width: 300px;
    }

    .hc-blogs-list--grid-page .hc-blogs-list__mobile-more {
        display: none;
    }
}

@media (min-width: 1920px) {
    .hc-blogs-list--grid-page {
        padding-right: 300px;
        padding-left: 300px;
    }
}
