/* ========================================
   Cam Nang - News Archive List (Horizontal)
   Design: 1296x272 card, image left, content right
   ======================================== */

.page-container{
    width: 100%;
    max-width: 1296px;
    margin: 0 auto;
}

#camnang-banner2{
    margin-top: -25px;
}

.news-archive__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* --- Horizontal card layout --- */
.news-archive__list .news-card {
    display: flex;
    flex-direction: row;
    background: #FFFFFF;
    border: 1px solid #E4E4E7;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 2px 4px -2px rgba(10, 13, 18, 0.06), 0px 4px 8px -2px rgba(10, 13, 18, 0.1);
}

.news-archive__list .news-card:hover {
    border-color: #00934B;

}
.news-archive__list .news-card:hover .news-card__title a {
    color: #00934B;
}
/* --- Image area (272x272 fixed square) --- */
.news-archive__list .news-card__media {
    flex: 0 0 272px;
    width: 272px;
    display: block;
}

.news-archive__list .news-card__thumb {
    display: block;
    width: 272px;
    height: 272px;
    object-fit: cover;
}

.news-archive__list .news-card__thumb--empty {
    width: 272px;
    height: 272px;
    background: #F4F4F5;
}

/* --- Content body --- */
.news-archive__list .news-card__body {
    flex: 1;
    min-width: 0;
    padding: 23px 20px 27px 22px;
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

/* --- Text block --- */
.news-archive__list .news-card__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
}

/* --- Title --- */
.news-archive__list .news-card__title {
    margin: 0;
    font-family: "SVN-Gotham";
    font-weight: 700;
    font-size: 1.4rem;
    line-height: 1.2;
}

.news-archive__list .news-card__title a {
    color: #323232;
    text-decoration: none;
}

/* --- Description (2-line clamp) --- */
.news-archive__list .news-card__desc {
    margin: 0;
    font-family: "SVN-Gotham";
    font-size: 1.1rem;
    line-height: 1.2;
    color: #606060;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    min-height: unset;
    font-weight: 300;
}

/* --- Meta row: date (left) + CTA (right) --- */
.news-archive__list .news-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    row-gap: 4px;
    column-gap: 8px;
    margin-top: auto;
}

/* --- Date --- */
.news-archive__list .news-card__date {
    font-family: "SVN-Gotham";
    font-weight: 450;
    font-size: 13px;
    line-height: 1.2;
    color: #71717B;
    padding: 4px 0;
}

/* --- CTA button --- */
.news-archive__list .news-card__cta {
    height: auto;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 6px 17px;
    border: 1px solid #E4E4E7;
    border-radius: 10px;
    background: #FFFFFF;
    font-family: "SVN-Gotham";
    font-weight: 450;
    font-size: 13px;
    line-height: 1.2;
    color: #52525C;
    white-space: nowrap;
}

.news-archive__list .news-card__cta:hover {
    background: #FFF;
    border-color: #00A651;
    color: #00A651;
}

.news-archive__list .news-card__cta svg {
    display: block;
    color: #52525C;
}

.news-archive__list .news-card__cta:hover svg {
    color: #00A651;
}

/* ========================================
   Responsive: Tablet
   ======================================== */
@media only screen and (max-width: 991px) {
    .news-archive__list .news-card__media {
        flex: 0 0 200px;
        width: 200px;
    }

    .news-archive__list .news-card__thumb {
        width: 200px;
        height: 200px;
    }

    .news-archive__list .news-card__thumb--empty {
        width: 200px;
        height: 200px;
    }

    .news-archive__list .news-card__body {
        padding: 16px;
    }

    .news-archive__list .news-card__title {
        font-size: 15px;
    }
}

/* ========================================
   Responsive: Mobile (stack vertically)
   ======================================== */
@media only screen and (max-width: 767px) {
    .news-archive__list .news-card {
        flex-direction: column;
    }

    .news-archive__list .news-card__media {
        flex: 0 0 auto;
        width: 100%;
    }

    .news-archive__list .news-card__thumb {
        width: 100%;
        height: 220px;
    }

    .news-archive__list .news-card__thumb--empty {
        width: 100%;
        height: 220px;
    }

    .news-archive__list .news-card__body {
        padding: 16px 12px 12px;
    }
}
