﻿/* --- Thiết lập nền và bố cục chung --- */
.home-thanh-tuu {
    background-image: url(../../../Design/img/Layer55.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding-bottom: 37px;
}

    .home-thanh-tuu .grid.wide {
        /* Không có quy tắc nào ở đây */
    }

.home-thanh-tuu-container {
    /* Không có quy tắc nào ở đây */
}

/* --- Thiết lập phần đầu (TOP) của khối --- */
.home-tt-top {
    text-align: center;
    padding: 80px 0 0 0;
}

    .home-tt-top .saxzc {
        font-family: 'monR';
        font-size: 18px;
        text-transform: uppercase;
        color: #000;
        font-weight: bold;
    }

.tt-title {
    font-family: 'monEB';
    font-weight: bolder;
    font-size: 28px;
    margin: 0;
    padding-top: 6px;
    text-transform: uppercase;
    color: #16a450;
}

.tt-descript {
    font-size: 18px;
    font-family: 'monR';
    color: #313131;
    margin: auto 249px; /* Rất hẹp, chỉ dành cho desktop lớn */
    padding-top: 12px;
}

/* --- Thiết lập mục thành tựu (ITEM) --- */
.home-tt-bottom {
    /* Không có quy tắc nào ở đây */
    padding-top: 26px;
}

.home-tt-item {
    /* border-radius: 6px; */
}

.tt-top {
    text-align: center;
    position: relative;
}

.xzxvp {
    font-size: 22px;
    line-height: 0.5;
    text-transform: uppercase;
    font-family: 'monM';
    font-weight: bold;
    margin-left: -77px;
}

.zstt-title {
    padding: 40px 27px;
    font-size: 16px;
    color: #FFF;
    padding-top: 21px;
    padding-bottom: 42px;
    font-family: 'monR';
    text-align: center;
}

.tt-bottom {
}

    .tt-bottom:before {
        position: absolute;
        content: "";
        height: 1px;
        width: 82%;
        top: 0;
        left: 8%;
        background: #0000001a;
    }


.zstt-bottom p {
    color: #3c3c3c;
    font-size: 16px;
    font-family: 'monM';
    margin-top: 0;
}

/* --- Thiết lập danh sách (LIST) --- */
.home-tt-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(5,minmax(0,1fr)); /* Bố cục 4 cột */
    column-gap: 22px;
    row-gap: 11px;
    position: relative;
    bottom: -50px; /* Đẩy danh sách lên trên nền */
}

    /* --- Quy tắc đặc biệt cho mục cuối cùng (thường là mục tổng hợp/khác biệt) --- */
    .home-tt-list > .home-tt-item:last-child .tt-top {
        text-align: start;
    }

.vmqwop-zxa {
    width: 80px;
    height: 80px;
    background: var(--default-color-1);
    border-radius: 105px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    border: 4px solid #FFFF;
}

.home-tt-item:hover .vmqwop-zxa img {
    filter: unset
}

.vmqwop-zxa img {
    width: 88%;
    display: flex;
    padding: 10px;
    filter: sepia(1) saturate(3) brightness(2.1);
    object-fit: scale-down;
}

.imgz-mxzxs {
    height: 159px;
}

    .imgz-mxzxs img {
    }

.home-tt-item:hover .vmqwop-zxa {
    background: var(--default-color-4);
}

.klvjxzzzz {
    display: flex;
    justify-content: center;
    position: absolute;
    z-index: 2;
    left: 68px;
    top: -34px;
}

.home-tt-item:hover .kjkkkcccz {
    background: #FFF;
}

.kjkkkcccz {
    overflow: hidden;
    background: var(--default-color-1);
    clip-path: ellipse(50% 49% at 50% 50%);
    height: 100%;
}

.home-tt-list > .home-tt-item:last-child .tt-top .zstt-title {
}

.home-tt-list > .home-tt-item:last-child .tt-bottom {
    text-align: start;
}
/* Thêm transition cho tất cả các mục thành tựu để hiệu ứng mượt mà */
.home-tt-item {
    transition: all 0.4s ease-in-out;
    position: relative;
}

    .home-tt-item:before {
        position: absolute;
        content: "";
        width: 106%;
        height: 57%;
        left: -6px;
        border-top-left-radius: 125px;
        border-top-right-radius: 125px;
        top: -7px;
        border-top: 4px solid #FFF;
    }

    /* Hiệu ứng HOVER: Nâng lên và thêm bóng đổ */
    .home-tt-item:hover {
        transform: translateY(-15px); /* Nâng mục lên 5px */
        /* Thêm bóng đổ mạnh mẽ */
    }

        /* Tùy chọn: Thay đổi màu chữ của tiêu đề khi hover */
        .home-tt-item:hover .zstt-title {
            color: #353535; /* Màu xanh đậm hơn */
        }

@media (max-width: 738px) {
    /* ... (Các quy tắc khác không đổi) ... */

    /* 2. Loại bỏ hình elip và viền phức tạp */
    .home-tt-item:before {
        /* Vô hiệu hóa lớp giả tạo viền elip phức tạp */
        content: none;
    }

    .tt-title {
        font-size: 20px;
    }

    .home-tt-top .saxzc {
        font-size: 15px;
    }

    .tt-descript {
        margin: 0;
        font-size: 16px;
    }

    .kjkkkcccz {
        /* Đơn giản hóa hình dạng nền (nếu nó tạo hình elip) */
        clip-path: none;
        border-radius: 12px; /* Đặt lại border-radius hình vuông/chữ nhật */
    }

    .home-tt-top {
        padding-top: 59px;
    }
    /* 3. Bố cục GRID: 2 cột cho mobile */
    .home-tt-list {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 10px;
        row-gap: 34px;
        bottom: -15px; /* Giảm độ dời */
        padding: 0 10px; /* Thêm padding ngang */
    }

        .home-tt-list > .home-tt-item:last-child {
            grid-column: 1 / span 2;
            /* Căn item vào chính giữa ô grid (theo chiều ngang) */
            justify-self: center;
            .home-tt-list > .home-tt-item:last-child .tt-top .kjkkkcccz .imgz-mxzxs

{
    height: 150px
}
/* Đảm bảo nội dung bên trong item cũng căn giữa */
text-align: center;
}
/* 4. Tối ưu lại vị trí icon */
.klvjxzzzz {
    /* Đặt icon về vị trí top 0 hoặc vị trí phù hợp với hình vuông */
    top: -19px;
    left: 50%;
    transform: translateX(-50%);
}

/* 5. Điều chỉnh padding/margin để bù đắp sau khi loại bỏ elip */
.zstt-title {
    /* Giảm padding trên cùng sau khi loại bỏ phần elip nhô ra */
    padding: 11px;
}

/* ... (Các quy tắc khác không đổi) ... */
}

@media (min-width: 739px) and (max-width: 1023px) {
    /* 1. Điều chỉnh bố cục GRID: 2 cột */
    .home-tt-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
        column-gap: 30px;
        /* Điều chỉnh độ dời lên trên */
        bottom: -50px;
        /* Thêm padding ngang để căn chỉnh */
        padding: 0 20px;
    }

    /* 2. Điều chỉnh lề cho mô tả chung */
    .tt-descript {
        /* Giảm margin ngang (trước đây là 249px) */
        margin: auto 40px;
        font-size: 16px;
    }

    /* 3. Điều chỉnh kích thước chữ tiêu đề thành tựu */
    .zstt-title {
        font-size: 38px;
        padding: 20px 20px 12px;
    }

    /* 4. Điều chỉnh quy tắc đặc biệt cho mục cuối cùng */
    .home-tt-list > .home-tt-item:last-child .tt-top .zstt-title {
        font-size: 28px;
        padding-bottom: 15px;
        /* Hủy bỏ flex để tránh lỗi bố cục trong grid 2 cột */
        display: block;
    }
}
