﻿/* ==============================
   Application Page
   Main Color: #e886ae
   Sub Color: #d8759e
================================= */

.application-page {
    width: 100%;
    padding: 70px 0 82px;
    background: #f3f5f6;
}

.application-head {
    max-width: 820px;
    margin: 0 auto 42px;
    text-align: center;
}

.application-head span {
    display: inline-block;
    margin-bottom: 14px;
    padding: 7px 18px;
    border-radius: 999px;
    background: #fff1f7;
    color: #e886ae;
    font-size: 13px;
    line-height: 20px;
    font-family: myFirstFont1;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.application-head h1 {
    margin: 0;
    color: #111111;
    font-size: 36px;
    line-height: 1.35;
    font-family: myFirstFont1;
}

.application-head p {
    margin: 16px auto 0;
    color: #666666;
    font-size: 16px;
    line-height: 1.8;
}


/* 卡片列表 */
.application-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.application-item {
    position: relative;
    display: block;
    width: 100%;
    height: 420px;
    border-radius: 18px;
    overflow: hidden;
    background: #e886ae;
    text-decoration: none;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
    transition: all .35s ease;
}

.application-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.16);
}

.application-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.application-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .78;
    transition: all .45s ease;
}

.application-item:hover .application-img img {
    transform: scale(1.06);
    opacity: .92;
}

/* 深色遮罩 */
.application-mask {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

/* 内容 */
.application-text {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    width: 100%;
    padding: 0 30px 34px;
}

.application-text h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.35;
    font-family: myFirstFont1;
}

.application-text p {
    height: 56px;
    overflow: hidden;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: 14px;
    line-height: 28px;
}

.application-item:hover .application-text h2 {
    color: #ffffff;
}

.application-item:after {
    content: "";
    position: absolute;
    left: 30px;
    bottom: 26px;
    z-index: 4;
    width: 0;
    height: 2px;
    background: #e886ae;
    transition: all .35s ease;
}

.application-item:hover:after {
    width: 64px;
}


/* ==============================
   Mobile
================================= */

@media screen and (max-width: 768px) {
    .application-page {
        padding: 42px 0 52px;
    }

    .application-head {
        margin-bottom: 28px;
    }

    .application-head span {
        font-size: 12px;
        padding: 6px 15px;
        margin-bottom: 10px;
    }

    .application-head h1 {
        font-size: 26px;
        line-height: 1.35;
    }

    .application-head p {
        font-size: 14px;
        line-height: 1.7;
        padding: 0 6px;
    }

    .application-list {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .application-item {
        height: 330px;
        border-radius: 16px;
    }

    .application-text {
        padding: 0 22px 28px;
    }

    .application-text h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .application-text p {
        height: auto;
        max-height: 78px;
        font-size: 13px;
        line-height: 26px;
    }

    .application-item:after {
        left: 22px;
        bottom: 20px;
    }
}