/* Reset cơ bản */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.list-closeup {
    padding-top: 3rem;
}


/* Header */
.list-header {
    display: flex;
    align-items: center;
    gap: 22px;
}

.list-closeup .divider {
    width: 1px;
    height: 46px;
    background: #000;
}

.header-title-block h1 {
    font-size: 66px;
    color: #000000;
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}
img.logo-closeup {
    width: 480px;
}

h2.title-small {
    font-size: 20px;
    color: #000000;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    line-height: 40px;
}

.show-pc {
    display: block;
}

.show-mb {
    display: none;
}

.header-desc p {
    font-size: 16px;
    line-height: 25px;
    color: #000000;
    font-weight: 400;
    margin: 0;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Giới hạn 3 dòng văn bản */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archive-label {
    margin-top: 2rem;
    font-size: 22px;
    letter-spacing: 0.12em;
    color: #262626;
    padding-bottom: 0.5rem;
    border-bottom: 0.5px solid #4b4b4b;
}

/* Grid System */
.grid-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 30px;
    margin-top: 45px;
}

.grid-container>a {
    flex: 0 0 calc((100% - 60px) / 3);
    text-decoration: none;
    color: inherit;
    display: block;
}

.grid-container .date {
    font-size: 16px;
    color: #262626;
    font-weight: 400;
    margin-bottom: 1rem;
}

/* Cột (Mặc định cho Desktop là 2 cột) */
.closeup-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: opacity 0.3s ease;
    margin-top: 0.5rem;
}

.grid-container a {
    border-bottom: 1px solid #dbdbdb;
}

.grid-container>a:hover .closeup-item {
    opacity: 0.8;
    /* Làm mờ nhẹ toàn bộ item khi hover */
}

.grid-container>a:hover .thumbnail img {
    transform: scale(1.05);
    /* Phóng to ảnh nhẹ */
}

.thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 20px;
    background-color: #f0f0f0;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.thumbnail img:hover {
    transform: scale(1.05);
}


.content h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #262626;
    font-weight: 700;
    text-align: left;
}

.content p {
    font-size: 0.85rem;
    color: #262626;
    font-weight: 400;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Giới hạn 3 dòng văn bản */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

html[lang='en'] .list-header,
html[lang='fr'] .list-header {
    flex-direction: column;
}

html[lang='en'] .list-closeup .divider,
html[lang='fr'] .list-closeup .divider {
    display: none;
}

/* Responsive cho Mobile (Dưới 768px) */
@media (max-width: 768px) {
    .list-closeup {
        padding-top: 3rem;
    }

    img.logo-closeup {
    width: 190px;
}

    .archive h2 {
        margin-bottom: 0;
        font-size: 15px;
        line-height: 30px;
    }

    .list-header {
        flex-direction: column;
        gap: 10px;
    }

    .archive-label {
        margin-top: 1.75rem;
    }

    .list-header .divider {
        display: none;
    }

    .header-title-block h1 {
        font-size: 38px;
    }

    .header-desc p {
        font-size: 14px;
    }

    .archive-label {
        border: 0.5px solid #4b4b4b;
        text-align: center;
        font-size: 16px;
        padding: 0.15rem;
    }

    .grid-container {
        margin-top: 15px;
        gap: 30px 20px;
    }

    .grid-container>a {
        flex: 0 0 calc((100% - 30px) / 2);
        text-decoration: none;
        color: inherit;
        display: block;
    }

    .grid-container .date {
        display: none;
    }

    .content h3 {
        font-size: 15px;
    }

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

    .title-small {
        text-align: center;
    }

    .show-pc {
        display: none !important;
    }

    .show-mb {
        display: block !important;
    }
}