.goodlife-archive-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 158px;
    padding:  80px 0;
    margin: 0 160px;
}

.article-header p{
     font-family: var(--font-henry);
    font-size: 24px;
    font-weight: 300;
}

.good-life-news-list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.good-life-item{
    display: flex;
    flex-direction: column;
    gap: 23px;
    max-width: 506px;
    width: 100%;
}

.good-life-content{
    font-family: var(--font-henry);
    font-size: 24px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.good-life-thumb{
    max-width: 506px;
    width: 100%;
    height: 540px;
    border-radius: 8px;
}

.good-life-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

.date{
    font-family: var(--font-henry);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    margin-bottom: 12px;
}

.subtitle{
    margin-bottom: 31px;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* limit to 2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4; /* adjust if needed to match your design */
    max-height: calc(1.4em * 2);
}

.news-btn{
    font-size: 16px;
}

/* ---------- TABLET (≤1024px) ---------- */
@media (max-width: 1024px) {
    .goodlife-archive-wrapper {
        gap: 120px;
        margin: 0 60px;
        padding: 60px 0;
    }

    .article-header p {
        font-size: 20px;
    }

    .good-life-news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .good-life-item {
        max-width: 100%;
        gap: 18px;
    }

    .good-life-content {
        font-size: 20px;
    }

    .good-life-thumb {
        height: 420px;
    }

    .date {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .subtitle {
        font-size: 18px;
        line-height: 1.3;
        margin-bottom: 24px;
    }

    .news-btn {
        font-size: 14px;
    }
}

/* ---------- MOBILE (≤768px) ---------- */
@media (max-width: 768px) {
    .goodlife-archive-wrapper {
        gap: 80px;
        margin: 0 20px;
        padding: 40px 0;
    }

    .article-header p {
        font-size: 18px;
        text-align: center;
    }

    .good-life-news-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .good-life-item {
        width: 100%;
        gap: 16px;
    }

    .good-life-content {
        font-size: 18px;
    }

    .good-life-thumb {
        height: 300px;
    }

    .date {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .subtitle {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .news-btn {
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
}
