body {
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}
svg {
    vertical-align: middle;
}
.btn-success {
    color: #ffffff !important;
    border: 1px solid #003f38 !important;
    background-color: #003f38 !important;
}
.btn-outline-success {
    color: #000 !important;
    border: 1px solid #003f38 !important; 
}
.btn-success:hover ,
.btn-outline-success:hover {
    color: #ffffff !important;
    background-color: #003f38 !important;
}
.btn-box {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-box a{
    width: 25%;
    text-align: center;
    margin: 0 10px;
}
.btn-box .btn{
    width: 100%;
    font-size: 21px;
    font-weight: 600;
}

/* 轮播 */
.carousel-box {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-item {
    height: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sitelogo {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background-size: 100% 100%;

    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: rgba(0, 0, 0, 0.3);
}

.sitelogo img {
    width: auto;
    /* 根据图片原始宽度显示 */
    height: 120px;
    /* 设置 Logo 的高度，根据需要调整 */
}

.sitelogo h3 {
    font-size: 50px;
    letter-spacing: 2px;
    color: #ffffff;

    margin-left: 10px;
}


/* 栏目 */
.finalists {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 2.5rem 0 3rem 0;
}
.finalists .lines {
    width: 100%;
    height: 2px;
    background-color: #386569;
    flex-grow: 1;
}
.finalists .names {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    min-width: 26rem;
    gap: calc(var(0.25rem)* 3);

    font-size: 25px;
    color: #000;
    padding: 0.5rem;
    margin-inline: 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
}
.finalists .names svg{
    margin-right: 5px;
}
.finalists .n1 {
    background-color: #ffe733;
}
.finalists .n2 {
    background-color: #d4d4d4;
}
.finalists .n3 {
    color: #ffffff;
    background-color: #b78677;
}
.finalists .n4 {
    color: #ffffff;
    background-color: #007bff;
}


/* 项目 */
.row {
    justify-content: center;
}
.row .card {
    transition: box-shadow 0.2s cubic-bezier(.4, 0, .2, 1);
    overflow: hidden;
    transition-property: all;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .3s;
    cursor: pointer;
    box-shadow: 0 0 20px #e7e7e7;
    box-shadow: 0 0 20px #a29bfe;

    border-radius: 10px;
}
.row .card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    box-shadow: 0 20px 35px 0 rgba(162, 155, 254, 0.5), 0 10px 10px -5px rgba(162, 155, 254, 0.5);
}

.card img {
    height: 200px;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #134046;
}

.card .card-title {
    text-align: center;
    text-decoration: none;
    padding: 0.5rem;
    background-color: #ffffff;
    color: #0a2a2f;
    border-radius: 0.5rem;
    font-size: 17px;
    width: 100%;
}
.card:hover {
    text-decoration: none;
    color: #000;
}

.card .card-classify {
    margin: 0 auto;
    display: inline-flex; /* 使用 inline-flex 让宽度根据内容自适应 */
    align-items: center; /* 垂直居中对齐 */
    gap: 8px; /* 设置 svg 和 p 之间的间距 */
    padding: 10px;
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    color: #000;
}
.card .card-classify svg {
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: middle;
}
.card .card-classify p {
    margin: 0;
    padding: 0;
}
.card .c1 { /*治疗 */
    background-color: #F391BC;
}
.card .c2 { /*生物制造 */
    background-color: #a975da;
}
 .card .c3 { /*生物修复 */
    background-color: #50C6DF;
}
.card .c4 { /*诊断 */
    background-color: #F15E4E;
}



/* 单项奖 */
.Individual-main {
    width: 100%;
    background-color: #134046;
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-top: 50px;
}
.Individual-top {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    --tw-gradient-position: to right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
    background: linear-gradient(269deg, rgba(19, 64, 70) 50%, rgba(56, 101, 105, .9) 100%);
    color: #ffffff;
}
.Individual-top .top-left {
    display: flex;
    align-items: center;
    justify-content: center;
}
.Individual-top .top-left img{
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.5rem;
}
.Individual-top .top-left p{
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.Individual-content {
    display: flex;
    padding: 1rem;
    gap: 1rem;
    flex-direction: column;
}
.Individual-content .content-top {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 1.125rem;
    gap: 1.5rem;
    grid-template-columns: 10rem 1fr 1fr 1fr 1fr;
    display: grid;
    color: #ffffff;
}
.content-top div:nth-child(1){
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: center;
    grid-column: span 2 / span 1;
}
.content-top div:nth-child(2){
    display: flex;
    justify-content: center;
    align-items: center;
    grid-column: span 4 / span 4;
    grid-column: span 3 / span 3;
}
.content-item {
    padding-top: 1rem; 
    border-top: 1px solid #386569;
    gap: 1.5rem;
    grid-template-columns: 10rem 1fr 1fr 1fr 1fr;
    display: grid;
}
.content-item .truncate {
    font-size: 21px;
    font-weight: 600;
}
.content-item-left {
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    grid-column: span 2 / span 1;

}
.content-item-left button{
    color: #386569;
    padding-inline: 0.5rem;
    background-color: #ffffff;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    width: 100%;
}
.content-item-right {
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    display: grid;
    grid-column: span 3 / span 3;
}
.content-item-right button {
    color: #ffffff;
    padding-inline: 0.5rem;
    background-color: #386569;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}