﻿.top-banner {
    width: 100%;
    display: block;
}

.top-link {
    font-size: 14px;
    color: #657d9b;
    margin-left: 61px;
    margin-top: 87px;
    margin-bottom: 55px;
}

.top-link a {
    color: #657d9b;
}

.category ul {
    position: relative;
    justify-content: space-between;
    display: flex;
    flex-wrap: wrap;
    padding-left: 167px;
    padding-right: 167px;
    border-bottom: 2px solid #456376;
    padding-bottom: 31px;
}

    .category ul::after {
        content: "";
        position: absolute;
        height: 11px;
        width: 900px;
        background-color: #456376;
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
    }

.category li {
    cursor: pointer;
    display: flex;
    font-size: 14px;
    justify-content: center;
    align-items: center;
    color: #657d9b;
    width: 149px;
    height: 42px;
    border: 1px solid #657d9b;
    border-radius: 21px;
    margin-bottom: 12px;
}

    .category li .white {
        display: none;
    }

    .category li.active {
        background-color: #657d9b;
        color: #fff;
    }

        .category li.active .blue {
            display: none;
        }

        .category li.active .white {
            display: block;
        }

.category img {
    width: 12px;
    margin-right: 8px;
}

.articles {
    margin-top: 55px;
    margin-bottom: 37px;
    padding-left: 30px;
    padding-right: 30px;
}

    .articles ul {
        display: flex;
        flex-wrap: wrap;
    }

    .articles .tag {
        display: flex;
        margin-top: 16px;
        margin-bottom: 10px;
    }

        .articles .tag span {
            width: 79px;
            letter-spacing: 2px;
            height: 24px;
            color: #fff;
            background-color: #607d9e;
            text-align: center;
            line-height: 24px;
            font-size: 13px;
            margin-right: 8px;
        }
            .articles .tag span::after {
                content: '';
                margin-right: -2px; /* 和 letter-spacing 相同的值 */
            }
    .articles li {
        width: 286px;
        margin-bottom: 45px;
    }

        .articles li:nth-child(3n-1) {
            margin-left: 37px;
            margin-right: 37px;
        }

        .articles li img {
            width: 100%;
        }

        .articles li .title {
            margin-bottom: 5px;
            font-size: 15px;
            line-height: 20px;
            letter-spacing: 1px;
            color: #657d9b;
            font-weight: 700;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .articles li .content {
            font-size: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 17px;
            color: #657d9b;
            text-align:justify
        }

.reservation {
    display: flex;
    margin-bottom: 72px;
    align-items: start;
}

    .reservation img {
        margin-right: 37px;
        width: 542px;
    }

.form {
    flex-grow: 1;
    color: #657d9b;
}

    .form h6 {
        width: 100%;
        font-size: 19px;
        font-weight: 500;
        text-align: center;
        margin-bottom: 20px;
    }

form {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

    form p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    form > div {
        margin-bottom: 20px;
    }

    form input {
        width: 100%;
        height: 35px;
        border: 1px solid #657d9b;
        color: #657d9b;
        font-weight: bold;
        font-size: 15px;
        padding-left: 10px;
    }

    form .name {
        width: 48%;
        margin-right: 8px;
    }

    form .tel {
        width: 48%;
        margin-left: 8px;
    }

    form .email {
        width: 48%;
        margin-right: 8px;
    }

    form .time {
        width: 48%;
        margin-left: 8px;
    }

    form .category {
        width: 100%;
    }

    form select {
        width: 100%;
        height: 35px;
        border: 1px solid #657d9b;
        color: #657d9b;
        font-weight: bold;
        font-size: 15px;
        padding-left: 10px;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        outline: none;
    }

.custom-select {
    position: relative;
}

    .custom-select::before {
        content: "";
        position: absolute;
        width: 11px;
        height: 10px;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        background-repeat: no-repeat;
        background-image: url("../img/index/custom-select.png");
        background-size: 100%;
    }

form .content {
    width: 100%;
}

form textarea {
    width: 100%;
    height: 76px;
    border: 1px solid #657d9b;
    resize: none;
}

form button {
    background-color: #657d9b;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    padding: 11px 23px;
    border-radius: 5px;
    margin: 14px auto 0 auto;
}

@media (max-width: 992px) {
    .category ul {
        padding-left: 9px;
        padding-right: 9px;
        margin-top: 20px;
        padding-bottom: 15px;
    }

        .category ul::after {
            width: 154px;
            height: 11px;
            left: 15px;
            transform: none;
        }

    .category li {
        min-width: 81px;
        width: 21%;
        height: 23px;
        font-size: 12px;
    }

    .category img {
        width: 6px;
        margin-right: 5px;
    }

    .articles {
        margin-top: 35px;
        padding-left: 45px;
        padding-right: 45px;
        margin-bottom: 0;
    }

        .articles li {
            margin-bottom: 70px;
            width: 100%;
        }

            .articles li:nth-child(3n-1) {
                margin-left: 0;
                margin-right: 0;
            }

            .articles li:last-child {
                margin-bottom: 51px;
            }

            .articles li .title {
                font-size: 21px;
                line-height: 31px;
                margin-bottom: 10px;
            }

            .articles li .content {
                font-size: 15px;
                line-height: 25px;
            }

    .article-page {
        margin-top: 0;
        margin-bottom: 82px;
        font-size: 14px;
        margin-bottom: 77px;
    }

    .reservation-title {
        margin-left: 11px;
        margin-right: 11px;
        position: relative;
        padding-top: 11px;
        padding-bottom: 11px;
        padding-left: 17px;
        margin-bottom: 27px;
        color: #607d9d;
        font-size: 24px;
        font-weight: 700;
        border-top: 1px solid #3f6378;
        border-bottom: 1px solid #3f6378;
    }

        .reservation-title::after {
            content: "";
            position: absolute;
            width: 112px;
            height: 5px;
            background-color: #3f6378;
            bottom: -3px;
            left: 16px;
        }

    .reservation {
        flex-direction: column;
        margin-bottom: 0;
    }

        .reservation img {
            width: 100%;
            margin-right: 0;
            order: 0;
        }

    .form {
        margin-top: -1px;
        background-image: url("../img/introduce/normal-bg.jpg");
        background-repeat: no-repeat;
    }

        .form h6 {
            font-size: 17px;
            padding-top: 8px;
            padding-bottom: 8px;
            background-color: #657d9b;
            color: #fff;
        }

    .speech {
        margin-bottom: 38px;
    }

    form input {
        width: 100%;
    }

    form .name {
        padding-left: 22px;
        padding-right: 22px;
        width: 100%;
        margin-right: 0;
    }

    form .tel {
        padding-left: 22px;
        padding-right: 22px;
        width: 100%;
        margin-left: 0;
    }

    form .email {
        margin-right: 0;
        padding-left: 22px;
        padding-right: 22px;
        width: 100%;
    }

    form .time {
        margin-left: 0;
        padding-left: 22px;
        padding-right: 22px;
        width: 100%;
    }

    form .category {
        padding-left: 22px;
        padding-right: 22px;
    }

    form .content {
        padding-left: 22px;
        padding-right: 22px;
        margin-bottom: 0;
    }

    form button {
        margin-bottom: 14px;
    }
}
