/* Latest articles below single posts. */
.hd-latest-posts {
    width: 100%;
    min-width: 0;
    margin: 8px 0 32px;
    padding: 0 10px;
    color: #204e55;
}

.hd-latest-posts .hd-latest-posts__header {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.hd-latest-posts .hd-latest-posts__intro {
    position: relative;
    min-width: 0;
    padding-left: 16px;
}

.hd-latest-posts .hd-latest-posts__intro::before {
    position: absolute;
    top: 3px;
    left: 0;
    width: 4px;
    height: 30px;
    border-radius: 4px;
    background: #169b80;
    content: "";
}

.hd-latest-posts .hd-latest-posts__intro h2 {
    margin: 0 0 4px;
    color: #17554d;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.hd-latest-posts .hd-latest-posts__intro p {
    margin: 0;
    color: #637873;
    font-size: 14px;
    line-height: 1.5;
}

.hd-latest-posts .hd-latest-posts__all {
    display: inline-flex;
    flex-shrink: 0;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 16px;
    border: 1px solid #82b9ac;
    border-radius: 999px;
    background: #fff;
    color: #237e70;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.hd-latest-posts ._select_post {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hd-latest-posts .hd_select_field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin: 0;
    border: 1px solid #e0ece8;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff 65%, #f6fbf9 100%);
    box-shadow: 0 3px 12px rgb(33 83 71 / 6%);
}

.hd-latest-posts .hd-select-post-media {
    position: relative;
}

.hd-latest-posts .img_post_select {
    display: block;
    aspect-ratio: 5 / 2;
    overflow: hidden;
    border-radius: 9px 9px 0 0;
    background: #e7f3ee;
}

.hd-latest-posts .img_post_select img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
}

.hd-latest-posts .hd-select-post-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #498578;
    font-size: 18px;
}

.hd-latest-posts .hd-select-post-category {
    position: absolute;
    top: 0;
    left: 12px;
    max-width: calc(100% - 24px);
    overflow: hidden;
    padding: 5px 10px;
    border: 2px solid #fff;
    border-radius: 7px;
    background: #d9f5e8;
    color: #16765e;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-overflow: ellipsis;
    text-transform: uppercase;
    transform: translateY(calc(-100% + 6px));
    white-space: nowrap;
}

.hd-latest-posts .hd-select-post-category--sale {
    background: #fff0cc;
    color: #906213;
}

.hd-latest-posts .content_select {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 18px 16px 12px;
}

.hd-latest-posts .content_select h3 {
    min-height: 2.6em;
    margin: 0;
    color: #204e55;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.hd-latest-posts .content_select h3 a,
.hd-latest-posts .content_post_select {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hd-latest-posts .content_select h3 a {
    color: inherit;
    font: inherit;
    text-decoration: none;
}

.hd-latest-posts .content_post_select {
    min-height: 3em;
    margin: 0;
    color: #82908e;
    font-size: 14px;
    line-height: 1.5;
}

.hd-latest-posts .hd-select-post-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #edf3f0;
}

.hd-latest-posts .hd-select-post-footer time,
.hd-latest-posts .view_more_ {
    display: inline-flex;
    gap: 7px;
    align-items: center;
    font-size: 12px;
    line-height: 1.5;
    white-space: nowrap;
}

.hd-latest-posts .hd-select-post-footer time {
    color: #8b9c9f;
}

.hd-latest-posts .view_more_ {
    margin-left: auto;
    color: #238b79;
    font-weight: 700;
    text-decoration: none;
}

.hd-latest-posts svg {
    flex-shrink: 0;
}

.hd-latest-posts a:hover {
    color: #0b6f5b;
}

.hd-latest-posts .hd-latest-posts__all:hover {
    background: #f1faf5;
}

.hd-latest-posts a:focus-visible {
    outline: 2px solid #169b80;
    outline-offset: 3px;
}

@media only screen and (max-width: 849px) {
    .hd-latest-posts ._select_post {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media only screen and (max-width: 549px) {
    .hd-latest-posts .hd-latest-posts__header {
        gap: 8px;
        margin-bottom: 14px;
    }

    .hd-latest-posts .hd-latest-posts__intro {
        flex: 1;
        padding-left: 12px;
    }

    .hd-latest-posts .hd-latest-posts__intro::before {
        top: 0;
        height: 26px;
    }

    .hd-latest-posts .hd-latest-posts__intro h2 {
        margin: 0;
        font-size: clamp(18px, 5.2vw, 20px);
        white-space: nowrap;
    }

    .hd-latest-posts .hd-latest-posts__intro p {
        display: none;
    }

    .hd-latest-posts .hd-latest-posts__all {
        gap: 6px;
        min-height: 30px;
        padding: 6px 10px;
        font-size: 10px;
    }

    .hd-latest-posts ._select_post {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .hd-latest-posts .hd_select_field {
        display: grid;
        grid-template-columns: 33% minmax(0, 1fr);
    }

    .hd-latest-posts .img_post_select {
        height: 100%;
        aspect-ratio: auto;
        border-radius: 9px 0 0 9px;
    }

    .hd-latest-posts .hd-select-post-placeholder {
        padding: 8px;
        font-size: 13px;
        text-align: center;
    }

    .hd-latest-posts .content_select {
        gap: 4px;
        padding: 8px 10px;
    }

    .hd-latest-posts .hd-select-post-category {
        position: static;
        align-self: flex-start;
        max-width: 100%;
        padding: 3px 7px;
        border: 0;
        border-radius: 5px;
        font-size: 10px;
        transform: none;
    }

    .hd-latest-posts .content_select h3 {
        font-size: 14px;
    }

    .hd-latest-posts .content_post_select {
        min-height: 2.7em;
        font-size: 12px;
        line-height: 1.35;
    }

    .hd-latest-posts .hd-select-post-footer {
        flex-wrap: nowrap;
        gap: 4px;
        padding: 0;
        border: 0;
    }

    .hd-latest-posts .hd-select-post-footer time {
        gap: 5px;
        font-size: 10px;
    }

    .hd-latest-posts .hd-select-post-footer time svg {
        width: 14px;
        height: 14px;
    }

    .hd-latest-posts .view_more_ {
        justify-content: center;
        width: 24px;
        height: 24px;
    }

    .hd-latest-posts .hd-select-post-read-label,
    .hd-latest-posts .hd-select-post-arrow-shaft {
        display: none;
    }
}
/* End latest articles. */
