﻿.collapse-container {
    margin: 20px auto;
    width: 80%;
}

.collapse-item {
    margin-bottom: 10px;
}

.collapse-item-title {
    padding: 10px 20px;
    background-color: #fce9e9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    border: 1px solid #db413b;
    border-radius: 0;
    position: relative;
    margin: 2px 4px;
}

.title-left {
    display: flex;
    align-items: center;
    color: #db413b;
    font-size: 18px;
    font-weight: bolder;
}

.arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #db413b;
    border-bottom: 2px solid #db413b;
    transform: rotate(-45deg);
    transition: transform 0.3s;
}

.collapse-item-title.active .arrow {
    transform: rotate(45deg);
}

.collapse-icon {
    margin-right: 10px;
    display: inline-block;
    transition: transform 0.3s;
}

.collapse-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

    .m-height300.active {
        max-height: 345px; /* 根据内容调整合适的高度 */
    }

    .m-height1200.active {
        max-height: 1200px; /* 根据内容调整合适的高度 */
    }

    .m-height1600.active {
        max-height: 1600px; /* 根据内容调整合适的高度 */
    }

.collapse-item-content-p {
    font-size: 14px;
    color: #000;
    line-height: 24px;
    font-weight: 600;
    padding: 5px 40px;
}

    .collapse-item-content-p span {
        color: #db413b;
    }

.award-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 4px 1px; /* 设置单元格间的间距 */
    margin: 0 0 10px;
}

    .award-table th {
        background-color: #db413b;
        color: white;
        padding: 8px 12px;
        font-weight: bold;
        text-align: center;
        font-size: 16px;
    }

    .award-table td {
        background-color: #fce9e9;
        color: #db413b;
        padding: 8px 12px;
        text-align: center;
        font-weight: bold;
        font-size: 14px;
    }

        .award-table td.silver {
            color: #1652a3;
        }

        .award-table td.copper {
            color: #e19b44;
        }

.star {
    display: inline-block;
    width: 26px; /* 根据实际图片大小调整 */
    height: 26px; /* 根据实际图片大小调整 */
    margin-right: 15px;
    background-image: url('../../Images/star.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.trophy {
    display: inline-block;
    width: 26px; /* 根据实际图片大小调整 */
    height: 26px; /* 根据实际图片大小调整 */
    margin-right: 15px;
    background-image: url('../../Images/trophy1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.race-title {
    font-size: 34px;
    font-weight: bold;
    color: #db413b;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 40px;
}

.race-content {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    width: 70%;
    margin: 0 auto;
}

.trophy-item {
    display: flex;
    align-items: center;
    gap: 10px; /* 图片和数字之间的间距 */
}

.trophy-image img {
    width: 80px; /* 根据实际需要调整图片大小 */
    height: auto;
    margin-right: 20px;
}

.trophy-number {
    font-size: 52px; /* 根据需要调整数字大小 */
    font-weight: bold;
    color: #e5a300; /* 使用与表格相同的红色 */
}

    .trophy-number.silver {
        color: #acaeb5;
    }

    .trophy-number.silver {
        color: #acaeb5;
    }

    .trophy-number.copper {
        color: #b73131;
    }

.news-title {
    display: flex;
    justify-content: flex-end; /* 内容靠右对齐 */
    padding: 10px 0;
    font-size: 14px;
}

    .news-title a {
        color: #6e6e6e; /* 使用相同的红色 */
        text-decoration: none; /* 移除下划线 */
    }

        .news-title a:hover {
            text-decoration: underline; /* 悬停时显示下划线 */
        }

.r-content {
    font-size: 14px;
    line-height:28px;
}

    .r-content .question {
        color: #c33c3c;
        margin-bottom: 6px;
        font-weight: bold;
    }

    .r-content .m-bottom {
        margin-bottom: 30px;
    }

    .r-content .indent {
        text-indent: 2em;
    }

    .r-content .answer {
        color: #666;
    }

    .r-content .detail {
        color: #666;
        margin-bottom: 30px;
        text-indent: 2em;
    }

.r-card2 {
    height: auto;
    margin-bottom: 50px;
}

    /* 添加清除浮动的样式 */
    .r-card2::after {
        content: '';
        display: block;
        clear: both;
    }

.r-container {
    display: none; /* 默认隐藏所有内容 */
    min-height: 500px;
}

@media (max-width:440px) {
    .race-title {
        font-size: 24px;
    }

    .trophy-image img {
        width: 36px;
        margin-right:5px;
    }

    .trophy-number {
        font-size: 30px;
    }

    .race-content {
        width: 80%;
    }

    .welcome2 {
        line-height: 16px;
    }

    .welcome2 h1 {
        font-size: 16px;
    }

    .welcome2 p {
        font-size: 12px;
        line-height: 16px;
    }

    .r-content {
        margin: 0 20px;
    }

    .r-card .card-item3 {
        width: 360px;
    }

    .m-height1600.active {
        max-height: 6600px; /* 根据内容调整合适的高度 */
    }

}