

/* ==========================================
   HENGTAI CERTIFICATIONS
   LOGO ONLY
   ========================================== */

.ht-cert-section {
    width: 100%;
    padding: 90px 20px;
    box-sizing: border-box;
    background: #F7F5F2;
    font-family: "Open Sans", Arial, sans-serif;
}

.ht-cert-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}


/* ==========================================
   HEADER
   ========================================== */

.ht-cert-header {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.ht-cert-label {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8C1D2C;
}

.ht-cert-header h2 {
    margin: 0;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: #262422;
}

.ht-cert-header p {
    max-width: 620px;
    margin: 18px auto 0;
    font-size: 14px;
    line-height: 1.9;
    color: #6F6A64;
}


/* ==========================================
   CERTIFICATION GRID
   ========================================== */

.ht-cert-list {
    width: 75%;
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        repeat(6, minmax(0, 1fr));
    gap: 16px;
}


/* ==========================================
   CERTIFICATION CARD
   ========================================== */

.ht-cert-item {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;

    aspect-ratio: 1 / 1;

    padding: 0 !important;
    margin: 0;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #FFFFFF;

    border: 1px solid #E8E3DD;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.ht-cert-item:hover {
    transform: translateY(-4px);

    border-color: #D8CEC2;

    box-shadow:
        0 12px 30px rgba(38, 36, 34, 0.08);
}


/* ==========================================
   LOGO AREA
   ========================================== */

.ht-cert-logo {
    width: 100%;
    height: 100% !important;

    min-height: 0 !important;

    margin: 0 !important;
    padding: 14px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
}

.ht-cert-logo img {
    display: block;

    width: 88%;
    height: 88%;

    max-width: none;
    max-height: none;

    object-fit: contain;
}


/* ==========================================
   REMOVE TEXT
   ========================================== */

.ht-cert-name,
.ht-cert-desc {
    display: none !important;
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1000px) {

    .ht-cert-list {
        width: 85%;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 600px) {

    .ht-cert-section {
        padding: 65px 15px;
    }

    .ht-cert-header {
        margin-bottom: 35px;
    }

    .ht-cert-label {
        font-size: 11px;
        letter-spacing: 2.5px;
    }

    .ht-cert-header h2 {
        font-size: 26px;
    }

    .ht-cert-header p {
        margin-top: 15px;
        font-size: 13px;
        line-height: 1.8;
    }

    .ht-cert-list {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .ht-cert-item {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;

        aspect-ratio: 1 / 1;

        padding: 0 !important;
    }

    .ht-cert-logo {
        padding: 10px;
    }

    .ht-cert-logo img {
        width: 88%;
        height: 88%;
    }

}

