
/* 两侧广告布局 */
.ad-sidebar {
  position: fixed;
  top: 120px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}
.ad-left {
  left: 0; /* 贴靠主体左侧外 */
}
.ad-right {
  right: 0; /* 贴靠主体右侧外 */
}
.ad-item {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
.ad-item:hover {
  transform: scale(1.03);
}
.ad-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* 小屏隐藏广告 */
@media (max-width: 1500px) {
  .ad-left, .ad-right {
    display: none;
  }
}
* {
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Microsoft YaHei",sans-serif;
}
:root {
    --main:#1a73e8;
    --red:#ff4d4f;
    --light:#f8f9fa;
    --dark:#333;
}
body {
    color:var(--dark);
    line-height:1.6;
    background:#f5f7fa;
}
.container {
    width:92%;
    max-width:1200px;
    margin:0 auto;
}
a {
    text-decoration:none;
    color:inherit;
}
.header {
    background:#fff;
   box-shadow:none;
    padding:15px 0;
    position:sticky;
    top:0;
    z-index:999;
}
.header .container {
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.logo {
    font-size:22px;
    font-weight:bold;
    color:var(--main);
    display:flex;
    align-items:center;
    gap:8px;
}
.nav {
    display:;
    gap:;
}
.nav a {
    font-weight:500;
    transition:0.3s;
	margin:0 3px;
}
.nav a:hover {
    color:var(--main);
}
.banner {
    height:420px;
    background:url("mengxiang.jpg") no-repeat;
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    text-align:center;
}
.banner h1 {
    font-size:46px;
    margin-bottom:12px;
}
.section {
    padding:25px 0;
}
.bg-light {
    background:#fff;
}
.section-title {
    text-align:center;
    font-size:28px;
    margin-bottom:40px;
    color:var(--main);
}
.section-title::after {
    content:"";
    width:80px;
    height:3px;
    background:var(--red);
    display:block;
    margin:10px auto;
}
.card-list {
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(290px,1fr));
    gap:20px;
}
.card {
    background:white;
    padding:25px;
    border-radius:12px;
    box-shadow:0 3px 15px rgba(0,0,0,0.06);
    transition:0.3s;
}
.card:hover {
    transform:translateY(-6px);
}
.card-title {
    font-size:20px;
    font-weight:bold;
    color:var(--main);
    margin-bottom:10px;
}
.map-box {
    width:100%;
    height:300px;
    border-radius:10px;
    margin:10px 0;
}
.weather {
    background:white;
    padding:25px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}
.msg-box {
    background:white;
    padding:20px;
    border-radius:10px;
    margin-bottom:15px;
    border-left:4px solid var(--main);
}
.msg-form {
    max-width:600px;
    margin:0 auto;
    background:white;
    padding:30px;
    border-radius:12px;
}
input,textarea,button {
    width:100%;
    padding:12px;
    margin:8px 0;
    border:1px solid #ddd;
    border-radius:6px;
    font-size:15px;
}
button {
    background:var(--main);
    color:white;
    border:none;
    cursor:pointer;
    font-size:16px;
}
.footer {
    background:var(--main);
    color:white;
    text-align:center;
    padding:25px 0;
    margin-top:30px;
}
@media(max-width:768px) {
    .header .container {
        flex-direction:column;
        gap:10px;
    }
    .banner h1 {
        font-size:32px;
    }
}