/* 基础样式保留 */
body {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #000;
    margin: 0;
    padding: 0;
}

/* 重置样式 */
html, body, h1, h2, h3, h4, h5, h6, div, dl, dt, dd, ul, ol, li, p, 
blockquote, pre, hr, figure, table, caption, th, td, form, fieldset, 
legend, input, button, textarea, menu {
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #333333;
    font-weight: 400;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.img-full {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: block;
}

a {
    color: #000;
    font-size: 16px;
    text-transform: capitalize;
    text-decoration: none;
    outline: 0;
}

a:hover {
    color: #0c2645;
}

a:focus, a:active, button, button:focus, .btn, .btn:focus, 
input, input:focus, select, textarea, .slick-slide {
    outline: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input.input-field, textarea.textarea-field {
    border: 1px solid #e5e5e5;
}

button, .btn {
    cursor: pointer;
    border: 0;
    padding: 0;
    background: transparent;
}

/* 页面布局样式 */
.bg {
    background: url(../images/bg.jpg) no-repeat center bottom;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-content: space-around;
    flex-direction: column;
    justify-content: space-around;
}

.wrap {
    width: 1200px;
    margin: 0 auto;
}

.logo {
    padding-top: 50px;
    padding-bottom: 10px;
}

.logo img {
    height: 50px;
}

/* 内容区域样式 - 核心修改：启用Flex实现垂直居中 */
.content {
    background-color: #a8c7fa;
    border-radius: 8px;
    margin: 20px auto;
    min-height: 30vh; /* 确保有足够高度体现垂直居中 */
    display: flex; /* 启用Flex布局 */
    align-items: center; /* 垂直居中所有子元素（包括.con_left） */
    justify-content: space-between; /* 保持左右布局，子元素分散排列 */
    padding: 0 20px; /* 避免子元素紧贴容器边缘 */
}

/* 左侧容器：移除浮动，保持宽度和样式 */
.content .con_left {
    width: 45%;
    padding: 20px;
    text-align: center; /* 内部图片水平居中 */
    /* 移除float: left（Flex布局下无需浮动） */
}

/* 右侧容器：移除浮动，保持宽度和样式 */
.content .con_right {
    width: 45%;
    padding: 20px 0; /* 调整内边距，避免右侧多余间距 */
    /* 移除float: right（Flex布局下无需浮动） */
}

.youshi-image {
    max-width: 100%;
    margin: 0 auto;
}

.youshi-image img {
    width: 100%;
    max-width: 100%;
}

.clear {
    clear: both; /* 保留清除浮动（虽然Flex下可能用不到，但不影响） */
}

/* 右侧文字区域 - 增大字体 */
.content .con_right h2 {
    font-size: 32px;
    font-weight: bold;
}

.content .con_right p {
    font-size: 20px;
    line-height: 40px;
    padding: 20px 0;
}

.content .con_right ul li {
    color: #333;
    font-size: 18px;
    line-height: 32px;
}

.content .con_right button {
    background: #4f6bfe;
    padding: 10px 40px 10px 70px;
    color: #fff;
    border-radius: 5px;
    font-size: 28px;
    position: relative;
    margin-top: 10px;
}

.content .con_right button::after {
    width: 30px;
    height: 30px;
    content: '';
    position: absolute;
    top: 13px;
    left: 30px;
    background: url(../images/xiazai.png) no-repeat;
    background-size: 100% 100%;
}

.xieyi {
    margin-top: 20px;
}

.xieyi a {
    font-size: 16px;
    color: #4f6bfe;
    font-weight: bold;
    cursor: pointer;
}

/* 页脚和弹窗样式 */
.footer {
    font-size: 14px;
    line-height: 25px;
    text-align: center;
    color: #000;
    margin: 0 auto;
}

.ab_video_tc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 999;
    display: none;
}

.ab_video_tc .tc_xy {
    position: relative;
    width: 800px;
    top: 20%;
    left: calc(50% - 400px);
    background: #fff;
    overflow: hidden;
    padding: 20px 0;
}

.xy_con {
    overflow-y: auto;
    height: 400px;
    padding: 0 20px;
}

.xy_con p {
    font-size: 14px;
    line-height: 30px;
    margin: 5px 0;
    color: #333;
}

.tc_xy .video_close {
    position: absolute;
    right: 25px;
    top: 0;
    font-size: 40px;
    color: #000;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
}

/* 响应式调整 */
@media screen and (max-width:1280px) {
    .logo {
        padding: 20px 0;
    }
    .content {
        margin-top: 20px;
    }
}