.share-record {
    width: 100%;
    min-height: 300px;
    background-color: rgba(197, 189, 189, 0.55);
    border-radius: 20px;
    margin: 30px auto 50px;
    padding: 70px;
    padding-left: 40px;
    padding-right: 40px;
    border: 3px solid rgba(176, 168, 154, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.share-record ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 30px;
    padding: 0;
}

.share-record .image {
    align-items: center;
}

.share-record .img {
    width: 180px;
    height: 180px;
    background-color: #c8c5cf;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-bottom: -18px;
}

.share-record .portrait {
    width: 80%;
    height: 80%;
    object-fit: cover;
}

.share-record .text {
    width: 240px;
    height: 46px;
    background-image: url('https://static.igem.wiki/teams/5858/images/inclusivity/share-name.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 20px;
}

.share-record span {
    margin-left: 60px;
    position: relative;
    font-size: 25px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.share-record span::before {
    position: absolute;
    left: -50px;
    top: 0;
    content: '';
    width: 25px;
    height: 25px;
    background-image: url('https://static.igem.wiki/teams/5858/images/template/pointlist.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.share-record p {
    margin-left: 1em;
    font-size: 1.4em;
    line-height: 1.5;
    color: #555;
    text-align: justify;
}

.share-record a {
    font-size: 1.2em;
    color: #734e94;
    text-decoration: underline;
}

ul.c2r2_figure_list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-bottom: 30px;
}

ul.c2r2_figure_list>div,
ul.c2r2_figure_list>img {
    box-sizing: border-box;
    width: 50%;
    padding: 10px;
    text-align: center;
}

ul.c2r2_figure_list img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

i.highlight {
    color: #7030a0;
    font-weight: bold;
}

.pointlist {
    margin-left: 0px;
    padding-left: 0px;
}

.pointlist li {
    position: relative;
    margin-bottom: 10px;
    margin-left: 40px;
}

.pointlist li::before {
    position: absolute;
    left: -40px;
    top: 3px;
    content: '';
    width: 25px;
    height: 25px;
    background-image: url('https://static.igem.wiki/teams/5858/images/template/pointlist.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.more_information {
    width: 100%;
    position: relative;
    background-color: #fff;
    border-radius: 20px;
    box-sizing: border-box;
    margin: 20px auto 20px;
    padding-top: 42px;
}

.more_information .on {
    position: absolute;
    left: -3px;
    top: 0;
    content: '';
    width: 112px;
    height: 42px;
    background-image: url('https://static.igem.wiki/teams/5858/images/inclusivity/on.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 1;
}

.more_information .off {
    position: absolute;
    left: -3px;
    top: 0;
    content: '';
    width: 112px;
    height: 42px;
    background-image: url('https://static.igem.wiki/teams/5858/images/inclusivity/off.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0;
}

.more_information .turn {
    position: absolute;
    left: -28px;
    top: 0;
    content: '';
    width: 112px;
    height: 42px;
    background-image: url('https://static.igem.wiki/teams/5858/images/inclusivity/turn.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: left .35s ease;
    cursor: pointer;
}

.more_information .turn:hover {
    filter: brightness(120%);
}

/* .more_information .content {
    display: block;
    padding: 20px;
    padding-left: 30px;
    padding-right: 30px;
    transition: opacity .25s ease;
} */

.more_information .content {
    overflow: hidden;
    max-height: 0;
    padding-left: 30px;
    padding-right: 30px;
    opacity: 0;
    transition: max-height .6s ease, opacity .4s ease;
}

.more_information:not(.folded) .content {
    max-height: 2500px;
    /* 比你任何一块实际内容都大即可 */
    padding-top: 20px;
    padding-bottom: 20px;
    opacity: 1;
}

.more_information::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0px;
    width: 95%;
    height: 21px;
    background-color: #9c91b9;
    border-radius: 21px;
    transition: height .35s ease, border-radius .35s ease;
}

.more_information.folded::before {
    content: 'click to see more';
    position: absolute;
    right: 0;
    top: 0px;
    width: 95%;
    height: 42px;
    background-color: #9c91b9;
    border-radius: 42px;
    text-align: center;
    line-height: 42px;
    font-size: 1.5em;
    font-family: 'Arima Madurai';
    color: #fff;
}


.simple_box {
    width: 100%;
    min-height: 300px;
    background-color: rgba(197, 189, 189, 0.55);
    border-radius: 20px;
    margin: 30px auto 50px;
    padding: 70px;
    padding-left: 40px;
    padding-right: 40px;
    border: 3px solid rgba(176, 168, 154, 0.5);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.simple_box h5 {
    width: 100%;
    color: #333;
    font-weight: bold;
    text-align: center;
    padding: 0;
    margin-left: 0;
    margin-right: 0;
}

.simple_box h5::after {
    display: none;
}

.simple_box h5::before {
    display: none;
}

.simple_box span {
    margin-left: 60px;
    position: relative;
    font-size: 25px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.simple_box span::before {
    position: absolute;
    left: -50px;
    top: 0;
    content: '';
    width: 25px;
    height: 25px;
    background-image: url('https://static.igem.wiki/teams/5858/images/template/pointlist.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.simple_box p.bold {
    font-weight: bold;
}

.simple_box a {
    font-size: 1.5em;
    color: #734e94;
}

.simple_box a:hover {
    text-decoration: underline;
}

ul.c2r1_figure_list {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}

ul.c2r1_figure_list>div,
ul.c2r1_figure_list>img {
    box-sizing: border-box;
    width: 50%;
    padding: 10px;
    text-align: center;
}

ul.c2r1_figure_list img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

/* 新增: 表格的圆角包裹容器 */
.table-wrapper {
    border: 1px solid #EDCC3E;
    /* 金色边框应用在这里 */
    border-radius: 10px;
    /* 圆角应用在这里 */
    overflow: hidden;
    /* 裁剪内部表格的尖角 */
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* --- 表格样式 (已更新) --- */
.parts-table {
    width: 100%;
    font-family: "Crimson Text", sans-serif;
    font-size: 1.5em;
    ;
    color: #032d30;
    border: none;
    /* border-top: 1px solid #EDCC3E;
        border-left: 1px solid #EDCC3E; */
    line-height: 1.5;
    /* 新增: 固定表格布局，让宽度设置生效 */
    table-layout: fixed;
    border-radius: 10px;
    overflow: hidden;
    /* 新增: 为整个表格容器添加边框，以解决底部边框消失的问题 */
    border: 1px solid #EDCC3E;

}

.parts-table th {
    padding: 5px 8px;
    border: 1px solid #EDCC3E;
    text-align: left;
    vertical-align: top;
    /* 新增: 允许长单词或链接换行，防止撑破单元格 */
    word-wrap: break-word;
}

.parts-table td {
    padding: 8px 12px;
    border: 1px solid #EDCC3E;
    text-align: left;
    vertical-align: top;

    word-wrap: break-word;
    line-height: 1.3;
    font-size: 0.9em;
}



/* --- 控制列宽 --- */
/* 您可以在这里手动修改百分比来调整列的宽度 */
.parts-table th:nth-child(1),
.parts-table td:nth-child(1) {
    width: 25%;
    text-align: center;
    vertical-align: middle;
}

/* 第一列 (Number) */
.parts-table th:nth-child(2),
.parts-table td:nth-child(2) {
    width: 25%;
    text-align: center;
    vertical-align: middle;
}

/* 第二列 (Short description) */
.parts-table th:nth-child(3),
.parts-table td:nth-child(3) {
    width: 25%;
    text-align: center;
    vertical-align: middle;
}

/* 第三列 (Long description) */
.parts-table th:nth-child(4),
.parts-table td:nth-child(4) {
    width: 25%;
    text-align: center;
    vertical-align: middle;
}

.parts-table th {
    background-color: #A091B8;
    font-weight: bold;
}

.parts-table td {
    transition: background-color 0.3s ease;
}

/* * 修改点 1: 之前是 tr:hover td, 现在是 td:hover 
     * 这使得只有被悬浮的单元格变色，而不是整行。
     */
.parts-table td:hover {
    background-color: #a091b8;
}

.parts-table a,
.parts-table a:visited {
    color: #000000;
    text-decoration: none;
    /* font-weight: bold; */
}

/*
     * 修改点 2: text-decoration 已被设置为 none 
     * 这会移除鼠标悬浮在链接上时的下划线。
     */
.parts-table a:hover,
.parts-table a:active {
    text-decoration: none;
    /* 移除下划线 */
}

.parts-table p {
    font-size: 1.2em;
}

.paper p.bold {
    font-weight: bold;
}

a.link {
    color: #7030a0;
    font-weight: bold;
    font-style: italic;
}

a.link:hover {
    text-decoration: underline;
}