/* ------------------------------------- */
/* 奖项页面样式                    */
/* ------------------------------------- */

/* 全屏页面设置 */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

main {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding-top: 0;
    padding-bottom: 5vh;
    padding-left: 3.5vw;
    padding-right: 4.2vw !important;/*logo 2.7*/
    margin-top: 120px;
    box-sizing: border-box;

}

/* 英雄区域样式 */
.hero-section {
    position: relative;
    width: 100%;
    height: auto;
    min-height:30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* 英雄区图片样式 */
.hero-section img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* 奖项标题区域样式 */
.awards-title {
    width: 100%;
    height:auto;
    border: 1px solid #333; /* 标题色上边框 */
    padding: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
    display: flex;
    box-sizing: border-box;

    font-weight: 500;
    color: #333;

    margin-top: 5vw;
    margin-bottom: 5vw;
}

.awards-title-content {
    padding: 0 2rem;
    max-width: 100%;
}

.awards-title-content p {
    margin: 0;
    color: #333;
    line-height: 1.5rem;
}

/* 客户好评区域样式 */
.testimonial-section {
    width: 100%; /* 全屏宽度 */
    margin: 0; /* 去掉左右留白 */
    padding: 0; /* 去掉padding */
    background-color: white;
    overflow: hidden; /* 防止内容溢出 */
    box-sizing: border-box; /* 包含padding和border */
}

/* 覆盖Bootstrap的container类，实现全屏 */
.testimonial-section .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 覆盖Bootstrap的row类，去掉默认的负margin */
.testimonial-section .row {
    margin: 0 !important;
}

.testimonial-grid {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem; /* 保持合适的间距 */
    justify-content: flex-start;
    align-items: stretch;
    padding: 0; /* 确保没有padding */
}

/* 客户好评列表项样式 */
.testimonial-center-list {
    flex: 0 0 calc(33.32% - 1.33rem); /* 电脑端每行3列，调整间距 */
    min-width: 0;
    padding: 0; /* 确保没有padding */
    margin: 0; /* 确保没有margin */
}

/* 客户好评条目样式 */
.testimonial-item {
    background: white;
    border-radius: 0; /* 移除圆角 */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.testimonial-item:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* 视频缩略图样式 */
.testimonial-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.testimonial-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-item:hover .testimonial-video img {
    transform: scale(1.05);
}

/* 播放按钮样式 */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.testimonial-video:hover .play-button {
    background: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    font-size: 2rem;
    color: #f16129;
    margin-left: 4px; /* 微调播放图标位置 */
}

/* 客户好评内容样式 */
.testimonial-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    flex-shrink: 1;
    font-style: italic;
    text-align: justify;
}

/* 作者信息样式 */
.testimonial-author {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.3rem;
    line-height: 1.3;
}

.author-position {
    color: #f16129;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0;
    line-height: 1.4;
}

/* 视频模态框样式 */
.modal-content {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.modal-body video {
    border-radius: 0;
}

/* 播放覆盖层样式 */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-overlay:hover {
    background: rgba(0,0,0,0.9);
}

.play-overlay-content {
    text-align: center;
    color: white;
}

.play-overlay-content i {
    font-size: 4rem;
    color: #f16129;
    margin-bottom: 1rem;
    display: block;
}

.play-overlay-content p {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
}

/* 兼容旧样式（保持向后兼容） */
.awards-section {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: white;
    overflow: hidden;
    box-sizing: border-box;
}

.awards-section .container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.awards-section .row {
    margin: 0 !important;
}

.awards-grid {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0;
}

.awards-center-list {
    flex: 0 0 calc(33.32% - 1.33rem);
    min-width: 0;
    padding: 0;
    margin: 0;
}

.award-item {
    background: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.award-item:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.award-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.award-item:hover .award-image img {
    transform: scale(1.05);
}

.award-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.award-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.3;
    min-height: 3rem;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.award-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    flex-shrink: 1;
}

.read-more {
    color: #f16129;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    align-self: flex-start;
    flex-shrink: 0;
    margin-top: auto;
}

.read-more:hover {
    color: #d4551f;
    text-decoration: underline;
}

/* 分页组件样式 */
.pagination-container {
    margin-top: 3rem;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.pagination-info {
    text-align: center;
}

.pagination-text {
    color: #666;
    font-size: 0.95rem;
}

.pagination-nav {
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
}

.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem;
    border: 1px solid #dee2e6;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
}

.page-link:hover {
    background-color: #f8f9fa;
    border-color: #f16129;
    color: #f16129;
}

.page-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(241, 97, 41, 0.1);
}

.page-item.active .page-link {
    background-color: #f16129;
    border-color: #f16129;
    color: white;
}

.page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.page-link i {
    font-size: 0.8rem;
}

/* 响应式设计 */

@media (max-width: 991px) {
    .hero-section {
        width: 100%;
        height: auto;
        min-height: 0;
    }

    /* 手机端英雄区图片样式 */
    .hero-section img {
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 80vh;
        object-fit: contain;
        margin: 0 auto;
    }

    /* 客户好评响应式样式 */
    .testimonial-section {
        width: calc(100% - 0vw);
        margin: 0 auto;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .testimonial-center-list {
        flex: 0 0 calc(33.32% - 1.33rem);
        max-width: 100%;
        box-sizing: border-box;
    }

    .testimonial-grid {
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .testimonial-video {
        height: 240px;
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

    .play-button i {
        font-size: 1.8rem;
    }

    .testimonial-description {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .author-name {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .author-position {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* 兼容旧样式 */
    .awards-section {
        width: calc(100% - 0vw);
        margin: 0 auto;
        padding: 0;
        overflow: hidden;
        box-sizing: border-box;
    }

    .awards-center-list {
        flex: 0 0 calc(33.32% - 1.33rem);
        max-width: 100%;
        box-sizing: border-box;
    }

    .awards-grid {
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .award-image {
        height: 240px;
    }

    .award-title {
        font-size: 1.1rem;
        min-height: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .award-description {
        font-size: 0.9rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* 中等屏幕断点：确保平滑过渡 */
@media (max-width: 767px) {
    .awards-title {
        height: auto;
    }

    .awards-title-content {
        padding: 1px;
    }

    .awards-title-content p {
        font-size: 1rem;
    }

    /* 客户好评手机端样式 */
    .testimonial-section {
        width: calc(100% - 0vw);
        margin: 0 auto;
        box-sizing: border-box;
    }

    .testimonial-center-list {
        flex: 0 0 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .testimonial-grid {
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .testimonial-item {
        max-width: 100%;
        box-sizing: border-box;
    }

    .testimonial-video {
        height: 200px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 1.5rem;
    }

    .testimonial-content {
        padding: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .testimonial-description {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .author-name {
        font-size: 0.95rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .author-position {
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* 兼容旧样式 */
    .awards-section {
        width: calc(100% - 0vw);
        margin: 0 auto;
        box-sizing: border-box;
    }

    .awards-center-list {
        flex: 0 0 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .awards-grid {
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }

    .award-item {
        max-width: 100%;
        box-sizing: border-box;
    }

    .award-image {
        height: 200px;
    }

    .award-content {
        padding: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }

    .award-title {
        font-size: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .award-description {
        font-size: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    /* 手机端分页样式 */
    .pagination-container {
        margin-top: 2rem;
        padding: 1.5rem 0;
        gap: 1rem;
    }

    .pagination {
        gap: 0.25rem;
    }

    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .pagination-text {
        font-size: 0.9rem;
    }
}
