* {
	margin: 0;
	padding: 0;
}
html, body {
    margin: 0;
    display: block;
	width: 100%;
	height: 100%;
	min-width: 1200px;
}
.selection {
    width: 100%;
    height: auto;
    min-width: 1200px;
	position: relative;
	background: linear-gradient(to bottom, #fff4f3, #ffffff);
}
@media screen and (min-width: 1200px) {
    .selection-common {
        width: 1300px;
        margin: auto;
        padding-top: 16px;
    }
}
@media screen and (max-width: 1200px) {
	.selection-common {
		width: 1200px;
		margin: auto;
		padding-top: 16px;
	}
}
.selectionWrap{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
	overflow: hidden;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
}

/* 选科系统横幅样式 */
.selection-banner {
    width: 100%;
    background: linear-gradient(to right, #d02009, #ffe7e7);
    border-radius: 14px;
    overflow: hidden;
    padding: 60px;
    box-sizing: border-box;
    color: white;
    position: relative;
    margin-bottom: 20px;
}

.selection-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background-image: url('/static/web/images/selection-bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

.banner-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.banner-description {
    font-size: 15px;
    line-height: 2;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    max-width: 70%;
}

.banner-info {
    width: 100%;
}

.banner-info p {
    margin-bottom: 10px;
    font-size: 14px;
	color: #333;
	line-height: 19px;
}

.info-link {
    color: #ff2424;
    text-decoration: underline;
    font-weight: 500;
}

.info-link:hover {
    color: #ff4d4f;
}

/* 选科测评和查询工具样式 */
.selection-tools {
    margin-top: 30px;
}

.tools-header {
    display: flex;
    gap: 190px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.tools-title {
    font-size: 20px;
    font-weight: 500;
    color: #333;
	font-weight: 700;
    margin: 0;
}

.tools-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
}

.tool-card {
    flex: 1;
    min-width: 200px;
    padding: 35px 20px 35px 35px;
    border-radius: 14px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    transition: all 0.3s ease;
    max-width: 25%;
}

.tool-card-content {
    flex: 1;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tool-card.primary {
    background: #ff4d4f;
    color: white;
}

.tool-card.secondary {
    background: #fff1f0;
    color: #333;
}

.tool-card.tertiary {
    background: #e6f7ff;
    color: #333;
}

.tool-card.quaternary {
    background: #f6f0ff;
    color: #333;
}

.tool-card-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
}

.tool-button {
    background: white;
    color: #ff4d4f;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tool-button::after {
    content: '→';
    font-size: 18px;
    font-weight: bold;
}

.tool-button:hover {
    background: #fff1f0;
}

.tool-link {
    color: #7e7e7e;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tool-link:hover {
    color: #ff4d4f;
}
@media screen and (min-width: 1200px) {
	.tool-card {
		flex: 1;
		border-radius: 14px;
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
		text-align: left;
		transition: all 0.3s ease;
		max-width: 25%;
	}
}
/* 响应式调整 */
@media screen and (max-width: 1200px) {
    .selection-banner {
        padding: 20px;
    }
    
    .banner-title {
        font-size: 20px;
    }
    
    .banner-description {
        font-size: 13px;
        max-width: 100%;
    }
    
    .banner-info {
        padding: 15px;
    }
    
    .banner-info p {
        font-size: 13px;
    }
    
    .tools-header {
        flex-direction: flex;
        align-items: flex-start;
        gap: 10px;
    }
    
    .tools-title {
        font-size: 16px;
    }
    
    .tools-grid {
        flex-wrap: wrap;
        max-width: 1200px;
        box-sizing: border-box;
    }
    
    .tool-card {
        padding: 20px;
        min-width: 180px;
        max-width: calc(50% - 10px);
        box-sizing: border-box;
    }
    
    .tool-card-title {
        font-size: 14px;
    }
    
    .tool-button {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .tool-link {
        font-size: 13px;
    }
}
