*{
    margin:0;
    padding:0;
    box-sizing:border-box;}

body{
    font-family:"Microsoft YaHei";
    background:#f5f7fb;
    color:#333;}

a{
    text-decoration:none;
    color:inherit;}

.container{
    width:1200px;
    margin:auto;}

/* ===== 顶部 ===== */

.header{
    background:#0e4f93;
    color:#fff;}

.top{
    height:140px;
    display:flex;
    justify-content:space-between;
    align-items:center;}

.logo{
    display:flex;
    align-items:center;
    gap:20px;}

.logo img{
    height:70px;}

.title{
    font-size:18px;
    line-height:1.6;
    margin-left: 40px;}

.search{
    display:flex;}

.search input{
    width:150px;
    height:42px;
    border:none;
    padding-left:15px;
    border-radius:25px 0 0 25px;}

.search button{
    width:60px;
    border:none;
    background:#fff;
    border-radius:0 25px 25px 0;
    cursor:pointer;}
    
.search{
    display:flex;}

.search input{
    width:
;}

/* ===== 导航 ===== */
.navmax{
    border-bottom: 2px solid #89b8e2;}

.nav{
    background:#fff;}

.nav ul{
    list-style:none;
    display:flex;
    justify-content:center;}

.nav li{
    position: relative;
    padding:20px 50px;
    font-size:20px;
    transition:.3s;}
.nav li:hover{
    color:#0e4f93;}

/* ===== 二级/三级下拉菜单（优化版） ===== */
.nav .two_menu,
.nav .three_menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 220px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 999;
    flex-direction: column;
    padding: 8px;
    list-style: none;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;}

.nav li:hover > .two_menu,
.nav li:hover > .three_menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);}

.nav .two_menu li,
.nav .three_menu li {
    padding: 0;
    width: 100%;}

.nav .two_menu li a,
.nav .three_menu li a {
    display: block;
    padding: 11px 16px;
    font-size: 14px;
    color: #444;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color .2s, color .2s, padding-left .2s;}

.nav .two_menu li a:hover {
    background-color: #f0f6fc;
    color: #0e4f93;
    padding-left: 20px;}

/* 项与项之间的分隔线（最后一项不显示） */
.nav .two_menu li:not(:last-child) a {
    border-bottom: 1px solid #f2f2f2;}

/* 三级菜单：从二级菜单右侧展开 */
.nav .two_menu li {
    position: relative;}
.nav .three_menu {
    top: 0;
    left: 100%;
    transform: translateX(8px) translateY(0);}
.nav .two_menu li:hover > .three_menu {
    transform: translateX(0) translateY(0);}

/* ===== banner ===== */

.banner{
    padding-top: 40px;
    padding-right: 0px;
    padding-bottom: 20px;
    padding-left: 0px;
    background:url(images/bg.jpg) center center/cover;}

.banner-box{
    display:flex;
    gap:30px;}

.left{
    width: 670px;}

.left h2{
    margin-bottom:25px;
    font-size:36px;}

.left p{
    line-height:2;
    color:#666;}

.more{
    display:inline-block;
    margin-top:30px;
    padding:12px 30px;
    border:1px solid #999;}

.right{
    width: 500px;}

.right video{
    width:100%;
    border-radius:10px;}

/* ===== 风采展示 ===== */

/* .section-title{
    text-align:center;
    margin:10px 0 20px;
    font-size:30px;
    color:#222;} */
    
.section-title{
    text-align:center;
    margin:10px 0 20px;
    font-size:30px;
    color:#222;
    /* 开启弹性布局，横线+文字水平居中 */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;}
/* 左右灰色横线 */
.section-title::before,
.section-title::after{
    content: "";
    flex: 1; /* 横线自动占满剩余宽度 */
    height: 2px; /* 线条粗细 */
    background-color: #89b8e2; /* 灰色，可自行调整深浅 #eee / #bbb */
    max-width: 520px;}    

.gallery{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;}

.card{
    background:#fff;
    overflow:hidden;}

.card img{
    width:300px;
    height:180px;
    object-fit:cover;}

.card p{
    padding:15px;
    text-align:center;}

/* ===== 列表板块 ===== */

.double-box{
    margin-top:50px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;}

.panel{
    background:#fff;
    padding:25px;
    overflow:hidden;}

/* ===== 标题背景图 ===== */
.panel h3{
    position:relative;
    height:110px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 25px;
    margin:-25px -25px 20px;
    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),url(Photos/index/panel-bg5.png) center center/cover;
    color:#fff;
    font-size:20px;}

.panel:nth-child(2) h3{
    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),url(Photos/index/panel-bg2.png) center center/cover;}

.panel:nth-child(3) h3{
    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),url(Photos/index/panel-bg3.png) center center/cover;}
    
.panel:nth-child(4) h3{
    background:linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),url(Photos/index/panel-bg4.png) center center/cover;}

.panel h3 i{
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:50%;
    background:rgba(255,255,255,.85);
    color:#0e4f93;}

.panel ul{
    list-style:none;}

.panel li{
    display:flex;
    justify-content:space-between;
    padding:12px 0;
    border-bottom:1px dashed #ddd;}

    /* 页脚 */

.footer{
    background:#004a93;
    color:#fff;
    padding:40px 20px;
    margin-top:80px;}

.footer-container{
    width:1400px;
    margin:auto;
    text-align:center;}

.footer-title{
    font-size:24px;
    font-weight:600;
    margin-bottom:15px;}

.footer-info{
    font-size:15px;
    line-height:2;
    color:rgba(255,255,255,.85);}

@media(max-width:1200px){

.footer-container{
    width:90%;}