/* 此css文件仅用作education页面 */

.content-container img {
    max-width: 100% ;
    height: auto;
    border-style: none !important;
}


/* 附注 */
.note {
    font-family: 'Abhaya Libre', serif;
    font-size: 12.7pt;
    font-style: italic;
    text-decoration: underline;
}   

.pdf-link {
    text-decoration: none;
    color: black;
}

#list001 li {
    background-color: transparent;
}

#list001 li::before {
    left: 23px;
    top: 4px;
}

#list001 li span.number-shadow {
    width: 26px;
    height: 26px;
    left: 13px;
    top: 21px;
}

.two-column-text {
    display: flex;
    flex-wrap: wrap;
    background-color: #bdc5c690;
    border-radius: 10px;
    padding: 1vw;
    margin: 20px auto;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.two-column-text p {
    font-size: 14pt;
}

.two-column-text .item_1 {
    align-items: center;
    flex: 1;
}

.two-column-text .item_1 p {
    text-align: center;
    font-weight: bold;
}

.two-column-text .item_2 {
    flex: 4;
}

/* 圆形序号无序列表 */
.circle-number-list {
    /* 移除默认列表样式 */
    list-style: none;
    padding-left: 0;
}

.circle-number-list li {
    /* 位置相对，为伪元素定位 */
    position: relative;
    /* 左侧留出空间放置圆形符号 */
    padding-left: 30px;
    /* 增加行间距 */
    margin-bottom: 10px;
}

.circle-number-list li::before {
    /* 创建圆形符号 */
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #bcb3a0;
}

/* 可选：悬停效果 */
.circle-number-list li:hover::before {
    background-color: #bdaa83;
    transform: scale(1.2);
    transition: all 0.2s ease;
}

/* 下拉菜单 */
.dropdown-container {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
}

.dropdown-content {
    box-sizing: border-box;
    max-height: 0;
    overflow: hidden;
    border: 5px solid #BCB3A0;
    padding: 0 2vw;
    background-color: #ffffff;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.dropdown-content.open {
    max-height: 10000px;
    padding: 2vh 2vw;
    transition: max-height 0.3s ease-in, padding 0.3s ease-in;
}

.dropdown-content ul {
    list-style: none;
    padding: 0;
}

.dropdown-content li {
    font-size: 14.7pt;
}

.dropdown-content li strong {
    color: #9b3229;
}

.dropdown-trigger {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #bcb3a0;
    border: 0;
    width: 100%;
}
.trigger-text {
    display: flex;
    flex-direction: column;/* 垂直排列 */
    align-items: flex-start;/* 左对齐 */
    text-align: left;/* 左对齐 */
    padding: 0 2vw;
}

.dropdown-label1 {
    font-family: 'Prompt', sans-serif;
    font-size: 18.7pt;
    margin-bottom: 4px;/* 标题和副标题之间的间距 */
    color: #ffffff;
}

.dropdown-label2 {
    font-family: 'Calistoga', sans-serif;
    font-size: 15.7pt;
    align-items: left;
    color: #ffffff;
    margin-left: 1rem;
}
.dropdown-trigger i {
    transition: transform 0.3s ease;
}


/* 图片容器样式 - 采用网格布局实现自适应排列 */
.dropdown-content .img-grid {
    display: grid;
    gap: 15px; /* 图片间距 */
}

/* 不同数量图片的布局设置 */
/* 1张图片 */
.img-grid:has(img:nth-child(1):last-child) {
    grid-template-columns: 1fr;
    justify-items: center;
}

/* 2张图片 */
.img-grid:has(img:nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
}

/* 3张及以上图片 - 固定每行3列 */
.img-grid:has(img:nth-child(n+3)) {
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
}

/* 图片样式 - 保持完整不裁剪 */
.img-grid img {
    width: 100%;
    height: auto; /* 自动计算高度保持比例 */
    object-fit: contain; /* 确保图片完整显示 */
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 图片悬停效果 */
.img-grid img:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 响应式调整 */
@media (max-width: 768px) {
    /* 中等屏幕下3张及以上改为每行2列 */
    .img-grid:has(img:nth-child(n+3)) {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    /* 小屏幕下所有情况改为每行1列 */
    .img-grid {
        grid-template-columns: 1fr !important;
    }
}



/* 此css文件仅用作education页面 */
