.happyell-article-tiktok {
    clear: both;
    margin: 28px 0 34px;
}

.happyell-article-tiktok__heading-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.happyell-article-tiktok__heading {
    margin-bottom: 0;
}

.happyell-article-tiktok__heading-row > span {
    color: #6f6267;
    font-size: 12px;
}

.happyell-article-tiktok__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    width: min(100%, 720px);
    margin: 0 auto;
}

.happyell-article-tiktok__card {
    min-width: 0;
    margin: 0;
}

.happyell-article-tiktok__card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.happyell-article-tiktok__thumb {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    background: #171717;
}

.happyell-article-tiktok__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease;
}

.happyell-article-tiktok__card a:hover img,
.happyell-article-tiktok__card a:focus-visible img {
    transform: scale(1.025);
}

.happyell-article-tiktok__thumb > span {
    position: absolute;
    left: 7px;
    bottom: 7px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .76);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.happyell-article-tiktok__title {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 7px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

@media (max-width: 767px) {
    .happyell-article-tiktok {
        margin: 24px 0 30px;
    }

    .happyell-article-tiktok__grid {
        gap: 8px;
    }

    .happyell-article-tiktok__heading-row > span {
        display: none;
    }

    .happyell-article-tiktok__thumb {
        border-radius: 8px;
    }

    .happyell-article-tiktok__thumb > span {
        left: 5px;
        bottom: 5px;
        padding: 2px 6px;
        font-size: 10px;
    }

    .happyell-article-tiktok__title {
        font-size: 12px;
        line-height: 1.35;
    }
}
