/*
Theme Name:     Hestia Child
Theme URI:      https://qualway.cc
Description:    Hestia Child Theme
Author:         Your Name
Author URI:     https://qualway.cc
Template:       hestia
Version:        1.0.0
License:        GPL v2 or later
License URI:    https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:    hestia-child
*/

/* 页脚微信二维码样式 */
.footer-wechat-qrcode {
    text-align: center;
    padding: 30px 0;
    background: #1a1a1a;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin: 0;
}

.footer-qrcode-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.qrcode-content {
    display: inline-block;
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.qrcode-content h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.qrcode-image {
    margin: 0 auto 15px;
}

.qrcode-image img {
    width: 140px;
    height: 140px;
    border: 4px solid #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.qrcode-image img:hover {
    transform: scale(1.05);
}

.qrcode-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 10px;
}

/* 备案信息样式 */
.site-icp-footer {
    text-align: center;
    padding: 15px 0;
    background: #111;
}

.site-icp-footer a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
}

.site-icp-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .footer-wechat-qrcode {
        padding: 20px 0;
    }
    
    .qrcode-content {
        padding: 20px;
    }
    
    .qrcode-image img {
        width: 120px;
        height: 120px;
    }
    
    .qrcode-content h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
}

/* 修复大标题背景图片未充满的问题 */
.page-header .parallax-section,
.home .parallax-section {
    background-size: cover !important;
    background-position: center center !important;
    width: 100% !important;
}

/* 确保标题容器本身也是全宽 */
.section.section-image {
    background-size: cover !important;
}

/* ===== 修复大标题/页头背景图片未充满的问题 ===== */
/* 方案B：针对首页的精确修复 */
.home .page-header,
.home .section.section-image,
.home .carousel .item {
	    background-size: cover !important;
	        background-position: center center !important;
		    background-repeat: no-repeat !important;
		        width: 100% !important;
		}

		/* ===== 修复大标题轮播图背景 ===== */
		/* 针对诊断找到的 .item.active 元素 */
		.carousel .item.active {
			    background-size: cover !important;
			        background-position: center center !important;
				    background-repeat: no-repeat !important;
			    }

			    /* 如果背景图实际是作为 <img> 标签插入的，同时添加这条规则 */
			    .carousel .item.active img {
				        width: 100%;
					    height: 100%;
					        object-fit: cover; /* 让图片覆盖整个区域，类似 background-size: cover */
					}
