.the-page-g {
    padding: 0;
}

.tool-part {
    background: linear-gradient(to bottom, var(--color-primary-extra-lighter) 0%, #FFFFFF 100%);
    padding: 80px 0;
}

.tool-part .the-width-g {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.tool-part .page-title-g {
    font-size: 40px;
}

.tool-part .tabs-g {
    margin-top: 64px;
    background: var(--color-primary-extra-lighter);
    padding: 6px 6px;
    border-radius: var(--border-radius);
}

.tool-part .tab-g {
    border-radius: var(--border-radius);
    padding: 8px 24px;
    border: 0;
    font-size: 16px;
    margin: 0;
}

.tool-part .tab-g__checked {
    background: var(--color-primary);
    color: #FFFFFF;
}

.tool-part .tab-g + .tab-g {
    margin-left: 0;
}

.tool-input {
    display: flex;
    width: 800px;
    height: 48px;
    margin-top: 24px;
}

.tool-input .input-g__wrapper {
    width: 0;
    flex-grow: 1;
    margin-right: 12px;
    font-size: 16px;
}

.tool-list {
    background: var(--bg-color-lighter);
    padding: 64px 0;
}

.tool-list .cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    cursor: pointer;
    margin: 40px 0 24px 0;
}

.tool-list .card-g {
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
}

.tool-list .card-g:hover {
    border-color: var(--color-primary);
}

.tool-list .card-g .header {
    color: var(--text-color-primary);
    display: flex;
    align-items: center;
}

.tool-list .card-g .header .iconfont {
    font-size: 24px;
    margin-right: 12px;
}

.tool-list .card-g .title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.tool-list .card-g .text {
    color: var(--text-color-secondary);
    margin-top: 12px;
    line-height: 24px;
}

.tool-list .card-g .link {
    color: var(--color-primary);
    margin-top: 24px;
}

@media (max-width: 600px) {
    .tool-part .page-title-g {
        font-size: 32px;
    }

    .tool-part .tabs-g {
        width: 100%;
    }

    .tool-part .tab-g {
        width: 0;
        flex-grow: 1;
        font-size: 14px;
        padding: 6px 0;
        text-align: center;
    }

    .tool-input {
        flex-direction: column;
        width: 100%;
    }

    .tool-input .input-g__wrapper {
        width: 100%;
    }

    .tool-input .button-g {
        margin: 12px 0 0 0;
    }

    .tool-list .cards {
        grid-template-columns: 1fr;
    }
}