.container {
    margin: 30px auto 80px;
}

.content_right {
    float: right;
    width: calc(100% - 319px - 30px);
}

.content_left {
    width: 319px;
    float: left;
}

/* 左侧菜单开始 */
.product-menu {
    font-family: Arial, Helvetica, sans-serif;
    background: #EBEBEB;
}

.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.menu-item {
    background-color: var(--primary-color);
    margin-bottom: 1px;
}

.toggle-btn {
    width: 100%;
    text-align: left;
    background: var(--primary-color);
    border: 0;
    padding: 16px 23px;
    font-weight: bold;
    font-size: 24px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.toggle-btn:focus {
    outline: 0px solid #3b82f6;
    outline-offset: 0px;
}

.chev {
    transition: transform .22s ease;
}

.menu-item.open .chev {
    transform: rotate(90deg);
}

.container .submenu {
    list-style: none;
    margin: 0;
    padding: 8px 31px 4px;
    overflow: hidden;
    max-height: 0;
    transition: max-height .28s ease;
    background: #EBEBEB;
}

.container .submenu li {
    padding: 14px 0;
}

.container .submenu a {
    text-decoration: none;
    font-weight: 400;
    font-size: 20px;
    color: #5A5A5A;
}

.container .submenu a:hover {
    font-weight: bold;
}

@media screen and (max-width: 800px) {

    .content_right,
    .content_left {
        float: none;
        width: 100%;
    }

    .menu-item {
        margin-bottom: 4px;
    }

    .toggle-btn {
        padding: 20px 10px;
        font-size: 18px;
    }

    .submenu {
        padding: 8px 10px 4px;
    }

    .submenu a {
        font-size: 15px;
    }
}

/* 左侧菜单结束 */
.cert-row {
    overflow: hidden;
    /* contain float and let text flow */
    margin-bottom: 36px;
}

.cert-row .side-img {
    float: left;
    display: block;
    width: 378px;
    max-width: 50%;
    height: auto;
    margin: 0 20px 0 0;
}

.cert-row:nth-child(2n) .side-img {
    float: right;
    margin: 0 0 0 20px;
}

.cert-row .side-text {
    /* 不设固定宽度，让文本在图片旁占用剩余空间，图片结束后自动占满全宽 */
    font-size: 18px;
    line-height: 1.8;
    color: #222;
    font-weight: 400;
    box-sizing: border-box;
    word-break: break-word;
}

.side-text-title {
    font-weight: bold;
    font-size: 24px;
    color: #000000;
    line-height: 36px;
}

/* 响应式：小屏时改为垂直排列 */
@media (max-width:800px) {
    .cert-row {
        margin-bottom: 20px;
        display: flex;
        flex-direction: column-reverse;
        gap: 10px;
        align-items: stretch;
    }

    .cert-row .side-img,
    .cert-row .side-text {
        float: none;
        width: 100%;
        max-width: 100%;
    }

    .cert-row .side-img {
        margin: 0 0 0 0 !important;
    }

    .cert-row .side-text {
        padding-top: 0;
        font-size: 15px;
        line-height: 2.1;
    }

    .side-text-title {
        font-size: 18px;
        line-height: 18px;
        margin-bottom: 9px;
    }
}

.form {
    width: 100%;
    border: 1px solid #BFBFBF;
    padding: 20px;
    margin-top: 33px;
    margin-bottom: 30px;
}

.form_card {
    width: 100%;
    margin-bottom: 29px;
}

.form_card_name {
    font-weight: 400;
    font-size: 16px;
    color: #000000;
}

.form_card_name span {
    color: var(--primary-color);
}

.form_card_input {
    width: 100%;
    min-height: 41px;
    background-color: #EBEBEB;
    margin-top: 12px;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.form_card_input input {
    width: 100%;
    outline: none;
    font-size: 16px;
    color: #000000;
}

.form_card_input textarea {
    width: 100%;
    height: 158px;
    padding: 16px 0;
    outline: none;
    font-size: 16px;
    color: #000000;
}

.form_card_bottom {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 2px;
}

.form_card_code {
    display: flex;
    align-items: center;
    gap: 16px;
}

.form_card_code .form_card_input {
    width: 223px;
    margin-top: 0;
}

.ruiy {
    width: 130px;
    height: 41px;
    background: #DAE8F1;
    font-weight: bold;
    font-size: 30px;
    color: #8E1111;
    line-height: 41px;
    text-align: center;
    cursor: pointer;
}

.code_btn {
    width: 319px;
    height: 59px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 30px;
    color: #FFFFFF;
}

.code_btn img {
    width: 73px;
    height: 13px;
    margin-left: 7px;
}

@media screen and (max-width: 800px) {
    .container {
        margin-top: 25px;
    }

    .form {
        padding: 10px 10px;
        margin-top: 24px;
    }

    .form_card {
        margin-bottom: 17px;
    }

    .form_card_name {
        font-size: 15px;
    }

    .form_card_input {
        width: 100%;
        min-height: 40px;
        margin-top: 10px;
        padding: 0 10px;
    }

    .form_card_input input {
        font-size: 15px;
    }

    .form_card_input textarea {
        height: 118px;
        padding: 10px 0;
        font-size: 15px;
    }

    .form_card_bottom {
        margin-top: 10px;
        justify-content: flex-end;
    }

    .form_card_code {
        gap: 7px;
    }

    .form_card_code .form_card_input {
        width: 200px;
    }

    .ruiy {
        width: 113px;
        height: 40px;
        line-height: 40px;
    }

    .code_btn {
        width: 160px;
        height: 35px;
        margin-top: 26px;
    }

    .code_btn img {
        display: none;
    }
}