/* tsc.css - TSC项目页面样式 */

/* 横幅图片样式 */
.tsc-banner {
    margin-top: 86px;
    position: relative;
    width: 100%;
    height: 470px;
    overflow: hidden;
}

.tsc-banner img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.tsc-banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #f2f2f2;
    z-index: 2;
}

.tsc-banner-text span {
    font-size: 50px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.tsc-banner-text p {
    font-size: 22px;
    font-weight: 400;
    color: #ffffff;
    margin-top: 24px;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    top: 25px;
}

/* 内容区块样式 */
.tsc-content {
    width: 100%;
    padding: 0 0 20px 0;
    /* background: #ffffff; */
}

.tsc-content-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.tsc-content-title {
    font-size: 30px;
    font-weight: 400;
    color: #222;
    margin-bottom: 48px;
    letter-spacing: 1px;
    line-height: 1.2;
}

.tsc-content-text {
    font-size: 22px;
    font-weight: 250;
    color: #333;
    line-height: 1.8;
    text-align: justify;
    text-align-last: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* 卡片网格样式 */
.tsc-card-grid {
    width: 100%;
    display: grid;
    /* grid-template-columns: repeat(2, 700px); */
    gap: 40px;
    margin: 40px auto 0 auto;
    max-width: 1440px;
    justify-content: center;
}

.tsc-card-block {
    width: 1440px;
    height: 150px;
    /* background: #fff; */
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    margin: 0 auto 20px auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 20px 32px 24px 32px;
}

.tsc-card-title {
    font-size: 28px;
    font-weight: 450;
    color: #4d8fff;
    text-align: left;
    padding-left: 0;
    margin-bottom: 20px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tsc-card-divider {
    width: 100%;
    height: 2px;
    background: #4d8fff;
    margin-bottom: 18px;
    border-radius: 2px;
}

.tsc-card-desc {
    font-size: 20px;
    font-weight: 250;
    color: #222;
    text-align: left;
    line-height: 1.8;
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
    word-break: break-all;
}

/* 响应式设计 */
@media screen and (max-width: 1366px) {
    .tsc-banner-text span {
        font-size: 42px;
    }
    .tsc-banner-text p {
        font-size: 20px;
    }
    
    .tsc-content-title {
        font-size: 24px;
    }
    
    .tsc-content-text {
        font-size: 22px;
    }
    
    .tsc-card-grid {
        /* grid-template-columns: repeat(2, 1fr); */
        max-width: 100%;
        gap: 30px;
    }
    
    .tsc-card-block {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .tsc-banner {
        margin-top: 60px;
        height: 300px;
    }
    
    .tsc-banner img {
        width: 100%;
        height: 300px;
    }
    
    .tsc-banner-text {
        top: 50%;
    }
    
    .tsc-banner-text span {
        font-size: 28px;
    }
    .tsc-banner-text p {
        font-size: 18px;
        margin-top: 20px;
        top: 20px;
    }
    
    .tsc-content {
        padding: 80px 0 20px 0;
    }
    
    .tsc-content-container {
        padding: 0 30px;
    }
    
    .tsc-content-title {
        font-size: 20px;
        margin-bottom: 32px;
    }
    
    .tsc-content-text {
        font-size: 18px;
        line-height: 1.6;
    }
    
    .tsc-card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .tsc-card-block {
        width: 100%;
        height: auto;
        padding: 20px 16px 16px 16px;
    }
    
    .tsc-card-title {
        font-size: 24px;
    }
    
    .tsc-card-desc {
        font-size: 18px;
    }
}

@media screen and (max-width: 520px) {
    .tsc-banner-text span {
        font-size: 24px;
    }
    .tsc-banner-text p {
        font-size: 16px;
        margin-top: 16px;
        top: 15px;
    }
    
    .tsc-content {
        padding: 60px 0 40px 0;
    }
    
    .tsc-content-container {
        padding: 0 20px;
    }
    
    .tsc-content-title {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .tsc-content-text {
        font-size: 16px;
        line-height: 1.5;
    }
} 

/* 新区块样式 */
.tsc-section {
    width: 100%;
    padding: 50px 0 0 0;
}
.tsc-section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.tsc-section-title {
    font-size: 28px;
    font-weight: 450;
    color: #222;
    margin-bottom: 48px;
    text-align: center;
    letter-spacing: 1px;
    line-height: 1.2;
}
.tsc-section-items {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}
.tsc-section-item {
    display: flex;
    width: 520px;
    min-height: 260px;
    border-radius: 16px;
    overflow: hidden;
}
.tsc-section-img {
    width: 200px;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #f7f7f7; */
}
/* 图片默认无背景色，后续如无强调均不设置背景色 */
.tsc-section-img img {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    display: block;
    border-radius: 8px;
}
.tsc-section-info {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 24px 24px 24px;
    box-sizing: border-box;
}
.tsc-section-info-title {
    font-size: 20px;
    font-weight: 350;
    color: #222;
    margin-bottom: 18px;
    text-align: left;
}
.tsc-section-info-desc {
    font-size: 16px;
    font-weight: 250;
    color: #222;
    text-align: left;
    line-height: 1.7;
    max-width: 11em;
    word-break: break-all;
    white-space: normal;
}

@media screen and (max-width: 1100px) {
    .tsc-section-items {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }
    .tsc-section-item {
        width: 90vw;
        max-width: 520px;
    }
}
@media screen and (max-width: 520px) {
    .tsc-section-container {
        padding: 0 10px;
    }
    .tsc-section-title {
        font-size: 18px;
        margin-bottom: 24px;
    }
    .tsc-section-item {
        flex-direction: column;
        width: 100%;
        min-height: unset;
    }
    .tsc-section-img {
        width: 100%;
        height: 160px;
        justify-content: center;
    }
    .tsc-section-img img {
        max-width: 90%;
        max-height: 140px;
    }
    .tsc-section-info {
        padding: 18px 10px 16px 10px;
    }
    .tsc-section-info-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .tsc-section-info-desc {
        font-size: 14px;
    }
} 

.tsc-imggrid {
    display: grid;
    grid-template-columns: repeat(2, 700px);
    gap: 40px;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 0;
}

.tsc-imggrid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tsc-imggrid-img {
    width: 700px;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tsc-imggrid-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tsc-imggrid-title {
    width: 700px;
    height: 50px;
    background: #0455da;
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    letter-spacing: 1px;
}

/* 删除不再需要的样式 */
.tsc-imggrid-desc,
.tsc-imggrid-box,
.tsc-imggrid-box-title,
.tsc-imggrid-box-title-green,
.tsc-imggrid-box-desc {
    display: none;
}

@media screen and (max-width: 1500px) {
    .tsc-imggrid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: 30px;
    }
    .tsc-imggrid-item,
    .tsc-imggrid-img,
    .tsc-imggrid-title {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 800px) {
    .tsc-imggrid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .tsc-imggrid-img {
        height: 200px;
    }
    .tsc-imggrid-title {
        height: 40px;
        font-size: 18px;
    }
} 
