/*
Theme Name: zhhban
Theme URI: http://www.test.cn/
Author: Your Name
Author URI: http://www.test.cn/
Description: Custom theme for zhhban
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zhhban
*/

/* 全局样式 */
html {
   /* background: #0073aa;  */  /* 整体背景色  */
}

:root {
    --primary-color: #0073aa;
    --secondary-color: #005177;
    --text-color: #333;
    --light-gray: #f5f5f5;
    --border-color: #ddd;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-header {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ecf2ee !important;   /*  头部背景颜色样式  */
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 24px;
}

.site-title a {
    color: var(--primary-color);
    text-decoration: none;
}

/* 现代导航菜单样式 */
.main-navigation {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    border-radius: 8px;
    padding: 0 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 5px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
    position: relative;
    opacity: 0.9;
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 70%;
}

.nav-menu .current-menu-item > a {
    background: rgba(255, 255, 255, 0.7);
    color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 1;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.nav-menu .current-menu-item > a::after {
    display: none;
}

/* 子菜单样式 */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.nav-menu .sub-menu li {
    border-bottom: 1px solid var(--border-color);
}

.nav-menu .sub-menu a {
    padding: 10px 15px;
}

/* 移动端菜单按钮样式 */
.menu-toggle {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    display: none;
}

.icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 4px 0;
}

/* 图集样式 */
.car-gallery, .house-gallery {
    position: relative;
    margin: 20px 0;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.gallery-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item.active {
    opacity: 1;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.gallery-nav button {
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 60px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.gallery-nav button:hover {
    background: rgba(0,0,0,0.8);
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumb-item {
    width: 80px;
    height: 60px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.thumb-item.active {
    border-color: #0073aa;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-main {
        height: 300px;
    }
    
    .gallery-nav button {
        width: 30px;
        height: 50px;
    }
    
    .thumb-item {
        width: 60px;
        height: 45px;
    }
}

/* 页脚样式 */
.site-footer {
    background-color: #f5f5f5;
    padding: 30px 0;
    margin-top: 40px;
}

.friend-links-container {
    background-color: #e9e9e9;
    padding: 20px 0;
}

.friend-links {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.friend-links ul {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

.friend-links li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.friend-links li a:hover {
    color: #0073aa;
}

.site-info {
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #666;
}

/* 详情页标题居中 */
article.news-single h1,
article.car-single h1,
article.house-single h1,
article.job-single h1,
article.exam-single h1,
article.tourism-single h1 {
    text-align: center;
    margin: 20px 0;
    width: 100%;
}

/* 新闻详情页元信息居中 */
.news-meta {
    text-align: center;
    margin: 15px 0 25px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.news-meta .news-date,
.news-meta .news-separator,
.news-meta .news-source {
    display: inline-block;
    margin: 0 5px;
}

.news-meta .news-category {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #999;
}

/* 新闻详情页图片居中显示 */
.news-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-content figure {
    text-align: center;
    margin: 20px auto;
    max-width: 100%;
}

.news-content figure img {
    margin: 0 auto;
}

.news-content figcaption {
    font-size: 14px;
    color: #666;
    margin-top: 8px;
    font-style: italic;
    text-align: center;
}

/* 隐藏内容区域中的图片（仅针对文章内容中的图片，不影响列表缩略图） */
.house-content .entry-content img,
.car-content .entry-content img {
    display: none !important;
}

/* 通用列表项样式 */
.list-item {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
}

.list-item h3 {
    margin: 0;
}

.list-item h3 {
    display: inline;
}

.list-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 0;
    border-radius: 4px;
    background: transparent;
}

/* 新闻列表样式 */
.news-item {
    composes: list-item;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
}

.news-item h3 {
    margin: 0;
}

.news-item h3 {
    display: inline;
}

.news-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 0;
    border-radius: 4px;
    background: transparent;
}

/* 二手车列表样式 */
.car-item {
    composes: list-item;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
}

.car-item h3 {
    margin: 0;
}

.car-item h3 {
    display: inline;
}

.car-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 0;
    border-radius: 4px;
    background: transparent;
}

/* 二手房列表样式 */
.house-item {
    composes: list-item;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
}

.house-item h3 {
    margin: 0;
}

.house-item h3 {
    display: inline;
}

.house-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 0;
    border-radius: 4px;
    background: transparent;
}

/* 旅游资讯列表样式 */
.tourism-item {
    composes: list-item;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
}

.tourism-item h3 {
    margin: 0;
}

.tourism-item h3 {
    display: inline;
}

.tourism-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 0;
    border-radius: 4px;
    background: transparent;
}

/* 招考信息列表样式 */
.exam-item {
    composes: list-item;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
}

.exam-item h3 {
    margin: 0;
}

.exam-item h3 {
    display: inline;
}

.exam-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 0;
    border-radius: 4px;
    background: transparent;
}

/* 招聘信息列表样式 */
.job-item {
    composes: list-item;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 5px;
}

.job-item h3 {
    margin: 0;
}

.job-item h3 {
    display: inline;
}

.job-item h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 8px 0;
    border-radius: 4px;
    background: transparent;
}

@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }
    
    .news-thumbnail {
        flex: 0 0 auto;
    }
}

/* 主页内容区块样式 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.content-block {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.content-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.block-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.more-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* 发布日期样式 */
.post-date {
    display: inline-block;
    margin-left: 20px;
    color: #666;
    font-size: 0.9em;
    font-weight: normal;
    vertical-align: middle;
    padding: 8px 0;
}

/* 底部辅助导航样式 */
.site-links {
    text-align: center;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.site-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    padding: 0 5px;
}

.site-links a:hover {
    color: #0073aa;
    text-decoration: underline;
}

.site-links a:not(:last-child)::after {
    content: '|';
    color: #999;
    margin: 0 8px;
}

/* 关于我们页面样式 - 优化版 */
.about-hero {
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.about-content {
    padding: 60px 0;
}

.about-section {
    margin-bottom: 60px;
}

.about-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--primary-color);
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.team-member .position {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.contact-info {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info strong {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero p {
        font-size: 1rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        padding: 20px;
    }
}

/* 免责声明页面样式 */
.disclaimer-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.disclaimer-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.disclaimer-section p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #555;
}

.disclaimer-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
}

.disclaimer-note p {
    margin: 0;
    color: #856404;
    font-weight: 500;
}

.contact-info {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    text-align: center;
}

.contact-info p {
    margin: 5px 0;
    color: #666;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .disclaimer-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .disclaimer-section h3 {
        font-size: 1.1rem;
    }
    
    .disclaimer-note {
        padding: 15px;
        margin: 20px 0;
    }
    
    .contact-info {
        padding: 15px;
        margin-top: 20px;
    }
}

/* ==================== 新版首页样式 ==================== */

/* 热搜与焦点区域整体布局 */
.hot-focus-row {
    display: flex;
    gap: 30px; /* 两个区域之间的间距 */
    margin-bottom: 30px;
    width: 100%;
}

/* 热搜榜容器宽度设置 */
.hot-search-wrapper {
    flex: 1; /* 占1份宽度 */
    min-width: 300px; /* 最小宽度，确保在小屏幕也能正常显示 */
    min-height: 5000px; 
}

/* 焦点新闻区域宽度设置 */
.focus-news {
    flex: 2; /* 占2份宽度，比热搜榜宽 */
    margin: 0; /* 移除原有margin，避免布局错乱 */
    min-width: 400px; /* 最小宽度设置 */
    min-height: 500px; 
    
}

/* 响应式调整 - 在小屏幕上自动堆叠 */
@media (max-width: 992px) {
    .hot-focus-row {
        flex-direction: column;
    }
    
    .hot-search-wrapper,
    .focus-news {
        width: 100%;
        min-width: auto;
    }
    
    .focus-news {
        margin-top: 30px;
    }
}

/* 轮播图区域样式 */
.hero-slider {
    margin-bottom: 30px;
}

.gallery-main {
    position: relative;
    overflow: hidden;
    height: 400px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item.active {
    opacity: 1;
}

/* 焦点资讯区样式 */
.focus-news {
    margin: 30px 0;
    padding: 25px;
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-top: 20px !important; /* 增加 !important 强制生效 */
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.more-link {
    text-decoration: none;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: normal;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.more-link::after {
    content: "→";
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #EEEEEE;
    transition: background-color 0.3s ease;
}

.news-item:hover {
    background-color: #f9f9f9;
}

.news-title {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
}

.news-date {
    font-size: 13px;
    color: #999999;
    min-width: 100px;
    text-align: right;
}

/* 招聘/招考与本地服务专区样式 */
.middle-section {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.recruit-section {
    flex: 2;
    padding: 25px;
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.service-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-module {
    padding: 20px;
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.recruit-list, .car-list, .house-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recruit-item, .car-item, .house-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px 0;
    border-bottom: 1px dashed #EEEEEE;
}

.recruit-item:last-child, .car-item:last-child, .house-item:last-child {
    border-bottom: none;
}

.recruit-name, .car-name, .house-name {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.recruit-tag {
    display: inline-block;
    background-color: #FF7A00;
    color: #ffffff;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    margin-right: 8px;
    font-weight: 500;
}

.recruit-date, .car-date, .house-date {
    font-size: 13px;
    color: #999999;
}

.module-more {
    text-align: right;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* 旅游资讯区样式 */
.travel-section {
    margin-bottom: 30px;
    padding: 25px;
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.travel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.travel-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    background: white;
}

.travel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.travel-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.travel-card:hover .travel-img {
    transform: scale(1.05);
}

.travel-info {
    padding: 15px;
}

.travel-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    text-decoration: none;
}

.travel-date {
    font-size: 13px;
    color: #999999;
}

/* 内容区块网格样式 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.content-block {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.content-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.block-title {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 12px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* 响应式适配（移动端） */
@media (max-width: 768px) {
    .middle-section {
        flex-direction: column;
    }
    
    .travel-cards {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .section-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-date {
        text-align: left;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .focus-news,
    .recruit-section,
    .sidebar-module,
    .travel-section,
    .content-block {
        padding: 20px;
    }
    
    .travel-img {
        height: 140px;
    }
    
    .gallery-main {
        height: 250px;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .disclaimer-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .disclaimer-section h3 {
        font-size: 1.1rem;
    }
    
    .disclaimer-note {
        padding: 15px;
        margin: 20px 0;
    }
    
    .contact-info {
        padding: 15px;
        margin-top: 20px;
    }
}

/* 联系我们页面样式 */
.contact-hero {
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

.contact-info-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.contact-card p {
    color: #555;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-time {
    color: #888 !important;
    font-size: 0.9rem !important;
    font-style: italic;
    margin-top: 15px !important;
}

.faq-section {
    padding: 60px 0;
    background: white;
}

.faq-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
    display: inline-block;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.faq-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .faq-section h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 40px 0;
    }
    
    .contact-info-section,
    .faq-section {
        padding: 40px 0;
    }
    
    .contact-card {
        padding: 25px 15px;
    }
    
    .faq-item {
        padding: 20px;
    }
}

/* 招聘信息详情页时间和来源样式 */
.job-meta {
    text-align: center;
    margin: 15px 0 25px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.job-meta .job-date,
.job-meta .job-separator,
.job-meta .job-source {
    display: inline-block;
    margin: 0 5px;
}

/* 招考信息详情页时间和来源样式 */
.exam-meta {
    text-align: center;
    margin: 15px 0 25px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.exam-meta .exam-date,
.exam-meta .exam-separator,
.exam-meta .exam-source {
    display: inline-block;
    margin: 0 5px;
}

/* 旅游资讯详情页时间和来源样式 */
.tourism-meta {
    text-align: center;
    margin: 15px 0 25px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.tourism-meta .tourism-date,
.tourism-meta .tourism-separator,
.tourism-meta .tourism-source {
    display: inline-block;
    margin: 0 5px;
}

/* 贞丰热门旅游景区栏目样式调整 */
.travel-section .travel-date {
    display: none !important;
}

.travel-section .travel-card a {
    text-decoration: none !important;
}

/* 置顶和标红样式 */
.sticky-badge {
    display: inline-block;
    background-color: #ff4444;
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-right: 8px;
    font-weight: bold;
    vertical-align: middle;
}

.highlight-title {
    color: #ff4444 !important;
    font-weight: bold !important;
}

/* 置顶文章在列表中的特殊样式 */
.news-item.sticky-article {
    background-color: #fff8e1;
    border-left: 3px solid #ffc107;
    padding-left: 10px;
}

/* 标红文章在列表中的特殊样式 */
.news-item.highlight-article {
    background-color: #fff5f5;
    border-left: 3px solid #ff4444;
    padding-left: 10px;
}

/* 统一所有列表项链接悬停样式 */
.news-item h3 a:hover,
.job-item h3 a:hover,
.car-item h3 a:hover,
.house-item h3 a:hover,
.tourism-item h3 a:hover,
.exam-item h3 a:hover,
/* 补充首页特有类名的悬停样式 */
.news-title:hover,
.recruit-name:hover,
.car-name:hover,
.house-name:hover,
.travel-name:hover {
    color: white !important;
    background: var(--primary-color) !important;
    transform: translateX(5px) !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

/* 统一"更多"链接悬停样式 */
.more-link:hover {
    color: var(--secondary-color) !important;
    text-decoration: underline !important;
}

/* 统一热门推荐等其他链接样式 */
.popular-title a:hover,
.tourism-category-item:hover,
.tag-item:hover {
    color: white !important;
    background: var(--primary-color) !important;
    transition: all 0.3s ease !important;
}


/* “最新新闻”栏字体样式 */
.news-item a {
    font-size: 15px; /* 设置字体大小，可按需调整 */
    color: #333 !important; /* 设置字体颜色，可按需调整 */
    font-weight:normal !important;；
}
.news-item .post-date {
    font-size: 13px; /* 设置日期字体大小，可按需调整 */
    color: #999; /* 设置日期字体颜色，可按需调整 */
}
.news-item .zhhban-highlight {
    color: #ff4444; /* 高亮标题颜色，可按需调整 */
}

/* 首页 今日推荐 轮播图容器样式 */
.recommendation-carousel {
    position: relative;
    width: 100%;
    height: 300px; /* 可根据需求调整 */
    overflow: hidden;
    border-radius: 8px;
    margin-top: 15px;
}

.carousel-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 轮播图文字叠加层 */
.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 15px;
}

/* 控制按钮 */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* 指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
}

.indicator-dot.active {
    background: white;
}

/* 确保链接覆盖整个轮播项 */
.carousel-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    z-index: 5; /* 确保链接在最上层可点击 */
    position: relative; /* 确保z-index生效 */
}

/* 修复轮播项激活状态样式 */
.carousel-item.active {
    display: block;
}
/* 首页 今日推荐 轮播图容器样式 END*/