@font-face {
  font-family: 'iconfont';
  src: url('../fonticon/iconfont.woff2?t=1758530933391') format('woff2'),
       url('../fonticon/iconfont.woff?t=1758530933391') format('woff'),
       url('../fonticon/iconfont.ttf?t=1758530933391') format('truetype');
}
.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
        }

        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        .wrapmain {max-width:1200Px;margin:0 auto}
                .navlist{display:flex;flex-wrap:wrap;text-align:center}
.navlist a {margin:3Px 15Px;padding:5Px 0;line-height:220%;display:block;font-size:120%;text-align:center}
.toplogo  {padding:10Px 0 0 0}
.toplogo i {margin-right:10Px}
.toplogo i,.toplogo h1 a {float:left;font-size:30Px;color:#fff}
        /* 顶部导航栏 */
        .top-nav {
            background: linear-gradient(135deg, #1e5799 0%, #207cca 51%, #2989d8 100%);
            color: white;
            padding: 8px 0;
            font-size: 0.9rem;
            border-bottom: 1px solid #e1e1e1;
        }
        
        .top-nav {
            background-color: #23262E;
            color: #fff;
            padding: 8px 0;
            font-size: 14px;
        }
        .top-nav-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .top-nav-links a {
            color: #fff;
            margin-left: 20px;
            text-decoration: none;
        }
        .top-nav-links a:hover {
            color: #1E9FFF;
        }
        .main-nav {
            background-color: #fff;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        .logo {
            display: flex;
            align-items: center;
        }
        .logo i {
            font-size: 28px;
            color: #1E9FFF;
            margin-right: 10px;
        }
        .logo h1 {
            font-size: 24px;
            margin: 0;
            color: #333;
        }
        .main-menu {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .main-menu li {
            margin: 0 15px;
        }
        .main-menu a {
            color: #333;
            text-decoration: none;
            font-weight: 500;
            padding: 5px 0;
        }
        .main-menu a.active, .main-menu a:hover {
            color: #1E9FFF;
            border-bottom: 2px solid #1E9FFF;
        }
        .search-box {
            display: flex;
        }
        .search-box input {
            border: 1px solid #ddd;
            border-right: none;
            padding: 8px 12px;
            border-radius: 4px 0 0 4px;
            outline: none;
        }
        .search-box button {
            background: #1E9FFF;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
        }
        .container {
            max-width: 1200px;
            margin: 20px auto;
            padding: 0 15px;
        }
        .content-block {
            margin-bottom: 20px;
            background: #fff;
            border-radius: 4px;
            box-shadow: 0 1px 2px rgba(0,0,0,0.1);
        }
        .block-header {
            padding: 15px 20px;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .block-header h2 {
            margin: 0;
            font-size: 18px;
            color: #333;
        }
        .block-content {
            padding: 20px;
        }
        .current-weather {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        .weather-main {
            flex: 1;
            min-width: 300px;
        }
        .location-info h3 {
            margin: 0 0 10px 0;
            font-size: 24px;
            color: #333;
        }
        .date {
            color: #666;
            margin-bottom: 15px;
        }
        .weather-description {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        .weather-description i {
            font-size: 36px;
            color: #1E9FFF;
            margin-right: 10px;
        }
        .weather-description span {
            font-size: 18px;
            color: #333;
        }
        .temperature {
            font-size: 3.5rem;
            font-weight: 300;
            color: #2989d8;
            margin: 10px 0;
        }
        .weather-details {
            flex: 1;
            min-width: 300px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }
        .detail-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px;
            background: #f8f8f8;
            border-radius: 4px;
        }
        
                .detail-item2 {
            display: flex;
            flex-direction: column;
            align-items: left;
            padding: 10Px 15px;
            background: #f8f8f8;
            border-radius: 4px;
        }
         .detail-item2 a {line-height:240%}
        .detail-label {
            font-size: 14px;
            color: #666;
            margin-bottom: 5px;
        }
         .detail-item2 i {float:left;margin-right:5Px}
        .detail-value {
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }
        .hourly-forecast {
            display: flex;
            overflow-x: auto;
            padding: 10px 0;
        }
        .hourly-card {
            min-width: 100px;
            text-align: center;
            padding: 10px;
            margin-right: 10px;
            border-radius: 4px;
            background: #f8f8f8;
        }
        .hourly-time {
            font-size: 14px;
            color: #666;
            margin-bottom: 10px;
        }
        .hourly-icon i {
            font-size: 24px;
            color: #1E9FFF;
            margin-bottom: 10px;
        }
        .hourly-temp {
            font-size: 18px;
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
        }
        .forecast-description {
            font-size: 12px;
            color: #666;
        }
        .forecast-cards {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
        }
        .forecast-card {
            text-align: center;
            padding: 15px;
            border-radius: 4px;
            background: #f8f8f8;
        }
        .forecast-day {
            font-size: 16px;
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
        }
        .forecast-date {
            font-size: 12px;
            color: #666;
            margin-bottom: 10px;
        }
        .forecast-icon i {
            font-size: 32px;
            color: #1E9FFF;
            margin-bottom: 10px;
        }
        .forecast-temp {
            font-size: 16px;
            font-weight: bold;
            color: #333;
            margin-bottom: 5px;
        }
        .index-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
        }
        .index-item {
            padding: 15px;
            border-radius: 4px;
            background: #f8f8f8;
        }
        .index-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        .index-name {
            font-size: 16px;
            font-weight: bold;
            color: #333;
        }
        .index-level {
            font-size: 14px;
            color: #1E9FFF;
        }
        .index-detail {
            font-size: 14px;
            color: #666;
        }
        .alarm-item {
            padding: 15px;
            margin-bottom: 10px;
            border-left: 4px solid #FF5722;
            background: #f8f8f8;
            border-radius: 0 4px 4px 0;
        }
        .alarm-title {
            font-size: 16px;
            font-weight: bold;
            color: #FF5722;
            margin-bottom: 5px;
        }
        .alarm-content {
            font-size: 14px;
            color: #666;
        }
        .today-highlights {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 15px;
        }
        .highlight-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px;
            border-radius: 4px;
            background: #f8f8f8;
        }
        .highlight-label {
            display: flex;
            align-items: center;
            font-size: 16px;
            color: #333;
        }
        .highlight-label i {
            margin-right: 8px;
            color: #1E9FFF;
        }
        .highlight-value {
            font-size: 16px;
            color: #1E9FFF;
        }
        .sun-info {
            display: flex;
            justify-content: space-around;
        }
        .sun-item {
            text-align: center;
            padding: 15px;
        }
        .sun-type {
            font-size: 16px;
            color: #666;
            margin-bottom: 10px;
        }
        .sun-time {
            font-size: 24px;
            color: #1E9FFF;
        }
         footer {
            background: #1e5799;
            color: white;
            padding: 1px 0 10px 0;
            margin-top: 20px;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            padding: 0 15px;
        }

        .footer-column h3 {
            font-size: 1.2rem;
            margin-bottom: 20px;
            color: #a8d2ff;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 10px;
        }

        .footer-column ul li a {
            color: #cce0ff;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-column ul li a:hover {
            color: white;
        }

        .copyright {
            text-align: center;
            padding-top: 10px;
            margin-top: 10px;
            border-top: 1px solid #2d6bb0;
            color: #a8d2ff;
            font-size: 0.9rem;
        }

        /* 响应式设计 */
        @media (max-width: 992px) {
            .container {
                grid-template-columns: 1fr;
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .forecast-cards {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        .copyright {
            text-align: center;
            padding-top: 10px;
            margin-top: 10px;
            border-top: 1px solid #2d6bb0;
    
        }
         .copyright,.copyright a { color: #a8d2ff;font-size: 0.9rem;}
        @media (max-width: 768px) {
            .nav-container {
                flex-direction: column;
                padding: 10px 0;
            }
            .logo {
                margin-bottom: 10px;
            }
            .main-menu {
                margin-bottom: 10px;
            }
            .current-weather {
                flex-direction: column;
            }
            .weather-details {
                grid-template-columns: repeat(2, 1fr);
            }
            .forecast-cards {
                grid-template-columns: repeat(2, 1fr);
            }
            .today-highlights {
                grid-template-columns: 1fr;
            }
        }

 .news-detail {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            padding: 30px;
        }
        .news-header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #f0f0f0;
        }
        .news-title {
            font-size: 28px;
            font-weight: bold;
            color: #333;
            margin-bottom: 15px;
            line-height: 1.4;
        }
        .news-meta {
            color: #999;
            font-size: 14px;
        }
        .news-content {
            line-height: 1.8;
            font-size: 16px;
            color: #333;
        }
        .news-content p {
            margin-bottom: 15px;
        }
        .back-button {
            margin-top: 30px;
            text-align: center;
        }
        .error-message {
            text-align: center;
            padding: 40px;
            color: #dc3545;
        }
 .page-title {
            font-size: 24px;
            margin-bottom: 20px;
            color: #333;
            text-align: center;
        }
        .page-info {
            text-align: center;
            color: #666;
            margin-bottom: 20px;
            font-size: 14px;
        }
        .news-list {
            background: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            overflow: hidden;
            margin-bottom: 20px;
        }
        .news-item {
            padding: 20px;
            border-bottom: 1px solid #f0f0f0;
            transition: background-color 0.3s;
        }
        .news-item:hover {
            background: #f8f9fa;
        }
        .news-item:last-child {
            border-bottom: none;
        }
        .news-title {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .news-title a {
            color: #333;
            text-decoration: none;
        }
        .news-title a:hover {
            color: #1E9FFF;
        }
        .news-content {
            color: #666;
            line-height: 1.6;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .news-meta {
            font-size: 12px;
            color: #999;
        }
        .empty-message {
            text-align: center;
            padding: 40px;
            color: #666;
        }
        .pagination {
            text-align: center;
            margin-top: 30px;
        }
        .pagination-links {
            display: inline-block;
        }
        .pagination-links a, .pagination-links span {
            display: inline-block;
            padding: 8px 12px;
            margin: 0 2px;
            border: 1px solid #ddd;
            border-radius: 4px;
            text-decoration: none;
            color: #333;
            background: #fff;
        }
        .pagination-links a:hover {
            background: #1E9FFF;
            color: white;
            border-color: #1E9FFF;
        }
        .pagination-links .current {
            background: #1E9FFF;
            color: white;
            border-color: #1E9FFF;
        }
        .pagination-links .disabled {
            color: #999;
            background: #f5f5f5;
            cursor: not-allowed;
        }
        .pagination-info {
            text-align: center;
            color: #666;
            margin-top: 10px;
            font-size: 14px;
        }
            .result-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
        }
  .location-info h4 {
            font-size: 1.1rem;
            color: #333;
            margin-bottom: 5px;
        }

        .location-path {
            color: #666;
            font-size: 0.85rem;
            line-height:250%
        }
    .searchde {border:1Px solid #f1f1f1;padding:10Px}    
    .searchde h4 a {font-size:120%;margin-bottom:15Px;color:#2d6bb0}        
.hot-tags {padding:10Px}
.hot-tags a {margin:10Px;line-height:28Px}        
.layui-elem-quote b{font-size:120%}
.weatherrand {display:flex;flex-wrap:wrap;}
.weatherrand a {width:50%;height:30Px;line-height:30Px;overflow:hidden}
        
        
        
        





