/* ============================================
   华北康港钢构有限公司官网 - 内页样式
   ============================================ */

/* 通用内页布局：左侧导航 + 右侧内容 */
.page-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 40px 0;
}

.page-layout-full {
    grid-template-columns: 1fr;
}

.page-sidebar {
    background-color: #f9f9f9;
    padding: 25px 20px;
    border-radius: 4px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.page-sidebar h3 {
    font-size: 18px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #C41E24;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 4px;
}

.sidebar-nav li a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: #666666;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background-color: #C41E24;
    color: #ffffff;
}

.sidebar-nav .sub-nav {
    list-style: none;
    padding-left: 16px;
    margin-top: 2px;
    margin-bottom: 8px;
}

.sidebar-nav .sub-nav li a {
    font-size: 13px;
    padding: 8px 16px;
    background-color: transparent;
}

.sidebar-nav .sub-nav li a:hover,
.sidebar-nav .sub-nav li a.active {
    background-color: #C41E24;
    color: #ffffff;
}

.page-main {
    min-height: 500px;
}

/* 页面 Banner */
.page-banner {
    background: linear-gradient(135deg, #C41E24 0%, #A01820 100%);
    color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* 灰色背景区块 */
.section-gray {
    background-color: #f9f9f9;
}

/* 关于我们简介 */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.8;
    color: #666666;
}

.about-slogan {
    margin-top: 25px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 4px solid #C41E24;
    font-size: 16px !important;
    color: #2C2C2C !important;
}

/* 时间轴 */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #E5E5E5;
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #C41E24;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(196, 30, 36, 0.3);
}

.timeline-content {
    width: 40%;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* 企业文化 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.culture-card {
    padding: 30px 20px;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

.culture-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #C41E24;
}

.culture-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #C41E24;
}

.culture-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 15px;
}

.culture-card p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
}

/* 售后服务 - 左图右文交替 */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: #C41E24;
}

.service-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 220px;
}

.service-item-content {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-item-icon {
    font-size: 40px;
    color: #C41E24;
    margin-bottom: 16px;
}

.service-item-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 12px;
}

.service-item-content p {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
}

.service-item-reverse .service-item-img {
    order: 2;
}

.service-item-reverse .service-item-content {
    order: 1;
}

/* 资质证书 */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.certificate-card {
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.certificate-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #fafafa;
    padding: 8px;
    box-sizing: border-box;
}

.certificate-card img.cert-landscape {
    transform: rotate(-90deg);
    transform-origin: center center;
    width: 220px;
    height: 220px;
    object-fit: contain;
    background: #fafafa;
    padding: 8px;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
}

.certificate-card img.cert-landscape-cw {
    transform: rotate(90deg);
    transform-origin: center center;
    width: 220px;
    height: 220px;
    object-fit: contain;
    background: #fafafa;
    padding: 8px;
    box-sizing: border-box;
    margin: 0 auto;
    display: block;
}

.certificate-card h4 {
    padding: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #2C2C2C;
    text-align: center;
}

/* 厂区实景 */
.factory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.factory-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.factory-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.factory-item:hover img {
    transform: scale(1.05);
}

.factory-item p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #ffffff;
    font-size: 14px;
    text-align: center;
}

/* 组织架构 */
.organization-chart {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 0;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.org-box {
    padding: 15px 30px;
    background-color: #ffffff;
    border: 2px solid #C41E24;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #2C2C2C;
    text-align: center;
    min-width: 120px;
}

/* 产品中心页面 */
.products-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.product-sidebar {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    height: fit-content;
}

.product-sidebar h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C41E24;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list li a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #666666;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-list li a:hover,
.category-list li a.active {
    background-color: #C41E24;
    color: #ffffff;
}

.subcategory-list {
    list-style: none;
    padding-left: 15px;
    margin-top: 5px;
}

.subcategory-list li a {
    font-size: 13px;
    padding: 8px 15px;
}

/* 产品列表 */
.products-main {
    min-height: 500px;
}

.products-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E5E5E5;
}

.filter-tags {
    display: flex;
    gap: 10px;
}

.filter-tag {
    padding: 8px 20px;
    font-size: 13px;
    color: #666666;
    background-color: #f5f5f5;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag:hover,
.filter-tag.active {
    background-color: #C41E24;
    color: #ffffff;
    border-color: #C41E24;
}

.sort-options {
    font-size: 13px;
    color: #999999;
}

.sort-options select {
    padding: 5px 10px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    font-size: 13px;
}

/* 产品详情 */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.product-gallery {
    position: relative;
}

.product-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.product-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.product-thumbnails img:hover,
.product-thumbnails img.active {
    border-color: #C41E24;
}

.product-info-detail h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 20px;
}

.product-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}

.product-meta-item {
    font-size: 13px;
    color: #999999;
}

.product-meta-item span {
    display: block;
    font-size: 14px;
    color: #2C2C2C;
    font-weight: 500;
    margin-top: 5px;
}

.product-description {
    margin-bottom: 30px;
}

.product-description h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 15px;
}

.product-description p {
    font-size: 14px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 15px;
}

.product-specs {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.product-specs h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 15px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #E5E5E5;
}

.specs-table td {
    padding: 12px 15px;
    font-size: 14px;
}

.specs-table td:first-child {
    color: #999999;
    width: 30%;
}

.specs-table td:last-child {
    color: #2C2C2C;
    font-weight: 500;
}

/* 工程案例页面 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.case-card-detail {
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.case-card-detail:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.case-card-detail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.case-card-info {
    padding: 20px;
}

.case-card-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 10px;
}

.case-card-info p {
    font-size: 13px;
    color: #999999;
    margin-bottom: 15px;
}

.case-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #999999;
}

/* 案例详情 */
.case-detail-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 40px;
}

.case-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

.case-side-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.case-side-images img {
    width: 100%;
    height: 192px;
    object-fit: cover;
    border-radius: 4px;
}

.case-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.case-detail-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 20px;
}

.case-detail-meta {
    display: flex;
    gap: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 30px;
}

.case-detail-meta-item {
    font-size: 14px;
    color: #666666;
}

.case-detail-meta-item strong {
    color: #2C2C2C;
    margin-right: 10px;
}

.case-detail-body {
    font-size: 15px;
    line-height: 1.8;
    color: #666666;
}

.case-detail-body p {
    margin-bottom: 15px;
}

/* 新闻列表 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-card {
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.news-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card-content {
    padding: 20px;
}

.news-card-date {
    font-size: 12px;
    color: #999999;
    margin-bottom: 10px;
}

.news-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-title a:hover {
    color: #C41E24;
}

.news-card-summary {
    font-size: 13px;
    color: #999999;
    line-height: 1.6;
}

/* 新闻详情 */
.news-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}

.news-detail-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 15px;
}

.news-detail-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999999;
}

.news-detail-body {
    font-size: 15px;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 40px;
}

.news-detail-body p {
    margin-bottom: 15px;
}

.news-detail-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

.news-navigation {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
    margin-bottom: 40px;
}

.news-navigation a {
    font-size: 14px;
    color: #666666;
}

.news-navigation a:hover {
    color: #C41E24;
}

/* 技术支持页面 */
.support-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
    border-bottom: 2px solid #E5E5E5;
}

.support-tab {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #666666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.support-tab:hover,
.support-tab.active {
    color: #C41E24;
    border-bottom-color: #C41E24;
}

.support-content {
    display: none;
}

.support-content.active {
    display: block;
}

/* 文档下载列表 */
.document-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.document-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.document-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-color: #C41E24;
}

.document-info {
    flex: 1;
}

.document-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 8px;
}

.document-info p {
    font-size: 13px;
    color: #999999;
}

.document-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.document-size {
    font-size: 13px;
    color: #999999;
}

/* FAQ 列表 */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: #2C2C2C;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    color: #C41E24;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    font-size: 14px;
    line-height: 1.8;
    color: #666666;
}

/* 联系我们页面 */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-box {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 4px;
}

.contact-info-box h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #C41E24;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #C41E24;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-icon .fa-solid {
    -webkit-text-stroke: 1.5px #ffffff;
    color: transparent;
}

.contact-detail h4 {
    font-size: 14px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 5px;
}

.contact-detail p {
    font-size: 14px;
    color: #666666;
}

/* 询价表单 */
.inquiry-form {
    background-color: #ffffff;
    padding: 30px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    margin-top: 40px;
}

.inquiry-form h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #C41E24;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2C2C2C;
    margin-bottom: 8px;
}

.form-group label .required {
    color: #C41E24;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 14px;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #C41E24;
}

textarea.form-control {
    height: 120px;
    resize: vertical;
}

.form-submit {
    margin-top: 25px;
}

.form-submit .btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
}

/* 地图容器 */
.map-container {
    margin-top: 40px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #E5E5E5;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a {
    padding: 10px 15px;
    font-size: 14px;
    color: #666666;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background-color: #C41E24;
    color: #ffffff;
    border-color: #C41E24;
}

/* 响应式 */
@media (max-width: 991px) {
    .about-intro {
        grid-template-columns: 1fr;
    }
    
    .culture-grid,
    .certificates-grid,
    .factory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-item {
        grid-template-columns: 1fr 1fr;
    }
    
    .page-layout {
        grid-template-columns: 1fr;
    }
    
    .page-sidebar {
        margin-bottom: 20px;
        position: static;
        padding: 0;
        background-color: transparent;
        border-radius: 0;
    }
    
    .page-sidebar h3 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 20px;
        margin-bottom: 0;
        background-color: #f9f9f9;
        border-radius: 4px;
        cursor: pointer;
        user-select: none;
    }
    
    .page-sidebar h3::after {
        content: '';
        display: inline-block;
        width: 8px;
        height: 8px;
        border-right: 2px solid #666;
        border-bottom: 2px solid #666;
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        flex-shrink: 0;
    }
    
    .page-sidebar.active h3::after {
        transform: rotate(-135deg);
    }
    
    .page-sidebar .sidebar-nav {
        display: none;
        background-color: #f9f9f9;
        border-radius: 0 0 4px 4px;
        padding: 10px 0;
        margin-top: 2px;
    }
    
    .page-sidebar.active .sidebar-nav {
        display: block;
    }
    
    .cases-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        width: 60px;
        height: 60px;
        font-size: 16px;
    }
    
    .timeline-content {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .page-banner {
        padding: 30px 0;
    }

    .page-banner h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .breadcrumb {
        font-size: 12px;
    }

    .page-layout {
        gap: 20px;
        padding: 25px 0;
    }

    .page-sidebar h3 {
        font-size: 16px;
        padding: 12px 15px;
    }

    .sidebar-nav li a {
        padding: 10px 12px;
        font-size: 13px;
    }

    .culture-grid,
    .certificates-grid,
    .factory-grid,
    .cases-grid,
    .news-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .culture-card {
        padding: 20px 15px;
    }

    .culture-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .culture-card h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .culture-card p {
        font-size: 13px;
    }

    .certificate-card img {
        height: 180px;
    }

    .certificate-card img.cert-landscape,
    .certificate-card img.cert-landscape-cw {
        width: 180px;
        height: 180px;
    }

    .factory-item img {
        height: 200px;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item-reverse .service-item-img {
        order: 0;
    }

    .service-item-reverse .service-item-content {
        order: 0;
    }

    .service-item-content {
        padding: 20px 15px;
    }

    .service-item-img img {
        min-height: 180px;
    }

    .service-item-icon {
        font-size: 32px;
        margin-bottom: 12px;
    }

    .service-item-content h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }

    .product-main-image {
        height: 250px;
    }

    .product-info-detail h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .product-meta {
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .product-detail-layout {
        gap: 20px;
    }

    .product-detail-image img {
        height: 250px;
    }

    .product-detail-info h1 {
        font-size: 22px;
    }

    .product-detail-spec h3 {
        font-size: 15px;
    }

    .product-detail-spec p {
        font-size: 14px;
        padding: 12px 15px;
    }

    .case-detail-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .case-main-image {
        height: 220px;
    }

    .case-side-images {
        flex-direction: row;
    }

    .case-side-images img {
        height: 110px;
    }

    .case-detail-content h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .case-detail-meta {
        flex-direction: column;
        gap: 8px;
        padding: 15px;
        margin-bottom: 20px;
    }

    .case-detail-meta-item {
        font-size: 13px;
    }

    .case-detail-body {
        font-size: 14px;
    }

    .case-card-detail img {
        height: 200px;
    }

    .case-card-info {
        padding: 15px;
    }

    .case-card-info h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .case-card-info p {
        font-size: 12px;
    }

    .case-meta {
        flex-wrap: wrap;
        gap: 8px;
    }

    .news-detail-header h1 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .news-detail-meta {
        flex-wrap: wrap;
        gap: 10px;
    }

    .news-detail-body {
        font-size: 14px;
    }

    .news-detail-body img {
        margin: 15px 0;
    }

    .news-navigation {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    .news-card-content {
        padding: 15px;
    }

    .news-card-title {
        font-size: 15px;
    }

    .news-card-summary {
        font-size: 12px;
    }

    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
    }

    .document-info h4 {
        font-size: 15px;
    }

    .document-info p {
        font-size: 12px;
    }

    .document-meta {
        margin-top: 5px;
    }

    .faq-question {
        font-size: 14px;
        padding: 15px;
    }

    .faq-answer {
        padding: 0 15px;
    }

    .faq-item.active .faq-answer {
        padding: 0 15px 15px;
    }

    .faq-answer p {
        font-size: 13px;
    }

    .organization-chart {
        gap: 15px;
        padding: 20px 0;
    }

    .org-level {
        gap: 10px;
    }

    .org-box {
        padding: 8px 14px;
        font-size: 12px;
        min-width: 70px;
    }

    .support-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 20px;
    }

    .support-tab {
        padding: 10px 15px;
        font-size: 14px;
        white-space: nowrap;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info-box {
        padding: 20px;
    }

    .contact-info-box h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .contact-item {
        gap: 12px;
        margin-bottom: 15px;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .contact-detail h4 {
        font-size: 13px;
    }

    .contact-detail p {
        font-size: 13px;
    }

    .inquiry-form {
        padding: 20px;
        margin-top: 25px;
    }

    .inquiry-form h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 14px;
    }

    textarea.form-control {
        height: 100px;
    }

    .map-container {
        margin-top: 25px;
    }

    .map-container iframe {
        height: 250px;
    }

    .products-filter {
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 20px;
    }

    .filter-tags {
        flex-wrap: wrap;
        gap: 8px;
    }

    .filter-tag {
        padding: 6px 14px;
        font-size: 12px;
    }

    .about-intro {
        gap: 20px;
    }

    .about-image img {
        height: 200px;
    }

    .about-text p {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .about-slogan {
        font-size: 14px !important;
        padding: 15px !important;
    }

    .pagination {
        margin-top: 25px;
        flex-wrap: wrap;
    }

    .pagination a {
        padding: 8px 12px;
        font-size: 13px;
    }

    .specs-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .certificates-intro {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .page-banner {
        padding: 22px 0;
    }

    .page-banner h1 {
        font-size: 20px;
    }

    .culture-card {
        padding: 18px 12px;
    }

    .org-box {
        padding: 6px 10px;
        font-size: 11px;
        min-width: 60px;
    }

    .support-tab {
        padding: 8px 12px;
        font-size: 13px;
    }

    .case-detail-content h1,
    .news-detail-header h1,
    .product-detail-info h1,
    .product-info-detail h1 {
        font-size: 20px;
    }

    .product-detail-image img,
    .product-main-image,
    .case-main-image {
        height: 200px;
    }
}

/* 产品详情页新布局 */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.product-detail-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 4px;
}

.product-detail-info h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 15px;
}

.product-detail-category {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.product-detail-spec {
    margin-bottom: 30px;
}

.product-detail-spec h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.product-detail-spec p {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    background: #f8f8f8;
    padding: 15px 20px;
    border-radius: 4px;
}

.product-detail-actions {
    display: flex;
    gap: 15px;
}

.btn-inquiry,
.btn-phone {
    display: inline-block;
    padding: 12px 30px;
    font-size: 15px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-inquiry {
    background: #C41E24;
    color: #fff;
}

.btn-inquiry:hover {
    background: #a01820;
}

.btn-phone {
    background: #fff;
    color: #C41E24;
    border: 1px solid #C41E24;
}

.btn-phone:hover {
    background: #C41E24;
    color: #fff;
}

.product-detail-nav {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-back {
    display: inline-block;
    padding: 10px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.btn-back:hover {
    color: #C41E24;
}

/* 搜索结果 */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-item {
    padding: 25px;
    background-color: #ffffff;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border-color: #C41E24;
}

.search-result-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 10px;
}

.search-result-item h3 a {
    color: #2C2C2C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-result-item h3 a:hover {
    color: #C41E24;
}

.search-result-item p {
    font-size: 14px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.search-result-date {
    font-size: 12px;
    color: #999999;
}

.search-result-type {
    display: inline-block;
    padding: 3px 10px;
    background-color: #C41E24;
    color: #ffffff;
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.search-result-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-result-count {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
}

.search-result-count strong {
    color: #C41E24;
}

mark {
    background-color: #fff3cd;
    color: inherit;
    padding: 1px 3px;
    border-radius: 2px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999999;
    font-size: 16px;
}

@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail-image img {
        height: 300px;
    }

    .product-detail-actions {
        flex-direction: column;
    }
}
