/* ===== 解决方案页面专用样式 ===== */

/* 静态 Banner */
.page-banner {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 250px;
    background-image: url('/assets/home/images/solutions-banner.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.page-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 142, 79, 0.8) 0%, rgba(0, 142, 79, 0.4) 100%);
}

.page-banner .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: white;
    font-size: 2.8rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-banner h1 span {
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

/* 面包屑导航 */
.breadcrumb-wrapper {
    max-width: 1400px;
    margin: 1.5rem auto 0;
    padding: 0 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
    background: #f8fafc;
    padding: 0.8rem 1.5rem;
    border-radius: 40px;
    border: 1px solid #e2e8f0;
}

.breadcrumb a {
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #008e4f;
}

.breadcrumb i {
    font-size: 0.7rem;
    color: #94a3b8;
}

.breadcrumb .current {
    color: #008e4f;
    font-weight: 500;
}

/* ===== 主体内容区域 - 左右布局 ===== */
.solutions-page {
    max-width: 1400px;
    margin: 3rem auto 5rem;
    padding: 0 2rem;
    display: flex;
    gap: 3rem;
}

/* ===== 左侧联系方式卡片 ===== */
.solutions-sidebar {
    width: 320px;
    flex-shrink: 0;
}

.contact-card {
    background: white;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 100px;
}

.contact-card__header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-card__icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 142, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-card__icon i {
    font-size: 2.5rem;
    color: #008e4f;
}

.contact-card__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.3rem;
}

.contact-card__subtitle {
    color: #64748b;
    font-size: 0.9rem;
}

.contact-card__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
    margin: 1.5rem 0;
}

.contact-card__item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
    text-align: left;      /* 添加：强制左对齐 */
}

.contact-card__item-icon {
    width: 40px;
    height: 40px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008e4f;
    font-size: 1.2rem;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.contact-card__item-content {
    flex: 1;
    text-align: left;
}

.contact-card__item-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
    text-align: left;
}

.contact-card__item-value {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

.contact-card__item-value a {
    color: #334155;
    text-decoration: none;
    transition: color 0.2s;
    text-align: left;      /* 添加：强制左对齐 */
    display: inline-block;
}

.contact-card__item-value a:hover {
    color: #008e4f;
}

.contact-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #008e4f;
    color: white;
    text-decoration: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    margin-top: 1rem;
    border: none;
    width: 100%;
    cursor: pointer;
}

.contact-card__btn:hover {
    background: #006f3d;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 142, 79, 0.2);
}

.contact-card__btn i {
    font-size: 1.1rem;
}

/* ===== 右侧解决方案列表 ===== */
.solutions-main {
    flex: 1;
}

/* 列表头部 */
.solutions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.solutions-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e293b;
}

.solutions-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.solutions-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 0.3rem 0.5rem;
}

.solutions-sort select {
    padding: 0.5rem 1rem;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: #334155;
    outline: none;
    cursor: pointer;
    background: transparent;
}

.solutions-sort i {
    color: #94a3b8;
    margin-right: 0.3rem;
}

/* 解决方案列表 - 图文混排 */
.solutions-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.solution-item {
    display: flex;
    background: white;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.solution-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #008e4f;
}

.solution-item__image {
    width: 280px;
    flex-shrink: 0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-right: 1px solid #e2e8f0;
}

.solution-item__image img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.solution-item__content {
    flex: 1;
    padding: 2rem;
}

.solution-item__category {
    display: inline-block;
    background: rgba(0, 142, 79, 0.1);
    color: #008e4f;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solution-item__title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.solution-item__title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
}

.solution-item__title a:hover {
    color: #008e4f;
}

.solution-item__desc {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.solution-item__features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.solution-item__feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: #f8fafc;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.solution-item__feature i {
    color: #008e4f;
    font-size: 0.8rem;
}

.solution-item__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.solution-item__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #008e4f;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.solution-item__link i {
    margin-left: 5px;
    transition: transform 0.2s;
}

.solution-item__link:hover {
    color: #006f3d;
}

.solution-item__link:hover i {
    transform: translateX(4px);
}

.solution-item__date {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ===== 统一分页样式 ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 40px;
}

.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.page-item:hover:not(.disabled):not(.active) {
    border-color: #008e4f;
    color: #008e4f;
    background: #f8fafc;
}

.page-item.active {
    background: #008e4f;
    border-color: #008e4f;
    color: white;
}

.page-item.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
}

.page-dots {
    color: #94a3b8;
    padding: 0 5px;
    font-size: 0.9rem;
}

.page-item i {
    font-size: 0.8rem;
}

/* 无数据样式 */
.no-data {
    text-align: center;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 12px;
    color: #94a3b8;
    font-size: 1.1rem;
    width: 100%;
    grid-column: 1 / -1;
}

/* ===== 响应式 ===== */
@media screen and (max-width: 1200px) {
    .solution-item__image {
        width: 240px;
    }
}

@media screen and (max-width: 1024px) {
    .solutions-page {
        flex-direction: column;
    }

    .solutions-sidebar {
        width: 100%;
    }

    .contact-card {
        position: static;
        top: auto;
        max-width: 500px;
        margin: 0 auto;
    }

    .solution-item {
        flex-direction: column;
    }

    .solution-item__image {
        width: 100%;
        height: 200px;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
}

@media screen and (max-width: 768px) {
    .page-banner {
        height: 180px;
    }

    .page-banner h1 {
        font-size: 2rem;
    }

    .solutions-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .solutions-sort {
        width: 100%;
    }

    .solutions-sort select {
        width: 100%;
    }

    .solution-item__content {
        padding: 1.5rem;
    }

    .solution-item__title {
        font-size: 1.2rem;
    }

    .solution-item__features {
        gap: 0.5rem;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }

    .page-item {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .breadcrumb-wrapper {
        padding: 0 1rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
    }

    .solutions-page {
        padding: 0 1rem;
    }

    .solution-item__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .solution-item__date {
        margin-left: 0;
    }
}