.hlp-widget,
.hlp-widget * {
    box-sizing: border-box;
}

.hlp-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hlp-card {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: 100%;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 16px;
    padding: 14px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.hlp-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
    border-color: rgba(0, 119, 33, 0.18);
}

.hlp-card.is-hlp-hidden {
    display: none;
}

.hlp-card__media {
    position: relative;
    display: block;
    flex: 0 0 240px;
    width: 240px;
    height: 140px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0,119,33,.12), rgba(4,95,18,.05));
    text-decoration: none !important;
}

.hlp-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.hlp-card:hover .hlp-card__image {
    transform: scale(1.04);
}

.hlp-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 25%, rgba(0,119,33,.18), transparent 28%),
        linear-gradient(135deg, rgba(0,119,33,.10), rgba(4,95,18,.04));
}

.hlp-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-width: 0;
}

.hlp-card__main {
    min-width: 0;
}

.hlp-card__title {
    margin: 0 0 8px;
    color: #111827;
    font-size: 1.12rem;
    line-height: 1.25;
    font-weight: 700;
}

.hlp-card__title a {
    color: inherit;
    text-decoration: none !important;
}

.hlp-card__title a:hover,
.hlp-card__title a:focus {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hlp-card__excerpt {
    margin: 0;
    color: #4b5563;
    font-size: .95rem;
    line-height: 1.55;
}

.hlp-card__action {
    flex: 0 0 auto;
}

.hlp-btn,
.hlp-btn:link,
.hlp-btn:visited,
.hlp-btn:hover,
.hlp-btn:focus,
.hlp-btn:active {
    text-decoration: none !important;
    text-underline-offset: 0;
}

.hlp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #007721;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease, border-color .18s ease;
}

.hlp-btn:hover,
.hlp-btn:focus {
    background: #045F12;
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.hlp-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.hlp-empty {
    padding: 18px;
    border: 1px dashed rgba(17,24,39,.22);
    border-radius: 18px;
    color: #4b5563;
    background: rgba(17,24,39,.03);
}

@media (max-width: 767px) {
    .hlp-card {
        flex-direction: column;
        gap: 14px;
    }

    .hlp-card__media {
        flex-basis: auto;
        height: 190px;
        max-width: 100%;
    }

    .hlp-widget--mobile-image-full .hlp-card__media {
        align-self: stretch;
        width: 100%;
    }

    .hlp-widget--mobile-image-center .hlp-card__media {
        align-self: center;
        width: 180px;
    }

    .hlp-card__body {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .hlp-card__action,
    .hlp-btn--page {
        width: 100%;
    }
}


.hlp-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 28% 22%, rgba(255,255,255,.75), transparent 24%),
        linear-gradient(135deg, rgba(0,119,33,.14), rgba(132,165,0,.10));
}

.hlp-card__placeholder-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: rgba(255,255,255,.74);
    font-size: 28px;
    line-height: 1;
}

.hlp-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
