.breadcrumb-container {
    background-color: #f8f9fa; /* 背景色 */
    padding: 10px 20px; /* 内边距 */
    border-radius: 5px; /* 圆角边框 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 阴影效果 */
}

/* 设置面包屑导航的样式 */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* 设置图标的样式 */
.icon.path {
    width: 16px;
    height: 16px;
    margin-right: 8px; /* 图标与文本之间的间距 */
}

/* 设置链接的样式 */
.breadcrumb-link {
    font-size: 1.2em; /* 调整字体大小 */
    font-weight: bold; /* 加粗文字 */
    color: #0056b3; /* 文字颜色 */
    text-decoration: none; /* 去掉下划线 */
    padding: 10px 15px; /* 增加内边距 */
    border: 2px solid #0056b3; /* 边框颜色和宽度 */
    border-radius: 5px; /* 圆角边框 */
    margin-right: 10px; /* 按钮之间的间距 */
    background-color: #e3f2fd; /* 按钮背景色 */
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; /* 添加过渡效果 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* 按钮阴影效果 */
}

.breadcrumb-link:hover {
    background-color: #d1ecf1; /* 悬停时背景色 */
    color: #004085; /* 悬停时文字颜色 */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* 悬停时的阴影效果 */
    text-decoration: none; /* 去掉下划线 */
}




.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 20px;
}
.gallery-item {
    flex: 1 0 21%; /* 每行显示4张图片 */
    box-sizing: border-box;
    margin-bottom: 20px;
}
.gallery-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.gallery-item p {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
}
/* Mobile layout: keep all desktop rules above unchanged. */
@media screen and (max-width: 39rem) {
    .gdoc-nav,
    .gdoc-header .gdoc-nav__control {
        display: none;
    }

    .gdoc-page {
        min-width: 0;
        width: 100%;
    }

    #menu-control:checked ~ main .gdoc-page {
        transform: none;
        opacity: 1;
    }

    .gdoc-page__header.breadcrumb-container,
    .gdoc-page__header .breadcrumb {
        display: flex;
    }

    .gdoc-page__header.breadcrumb-container {
        padding: 12px;
    }

    .breadcrumb-container > span:first-child {
        min-width: 0;
        width: 100%;
    }

    .breadcrumb .icon.path {
        display: none;
    }

    .breadcrumb-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        margin-right: 0;
        padding: 10px 12px;
        font-size: 1rem;
        line-height: 1.2;
    }

    .gdoc-markdown {
        overflow-wrap: anywhere;
    }

    .gdoc-markdown > div[align="left"] {
        float: none !important;
    }

    .gdoc-markdown img[alt="cover"] {
        zoom: 1 !important;
        float: none;
        display: block;
        width: 160px;
        max-width: 100%;
        height: auto;
        margin: 0 auto 1rem;
    }

    .gdoc-markdown > div:has(> table) {
        max-width: 100%;
        overflow-x: auto;
    }

    .gdoc-page > table {
        float: none;
        width: 100%;
        max-width: 100%;
        table-layout: fixed;
    }

    .gdoc-page > table td {
        font-size: 0.8125rem;
        vertical-align: top;
    }

    .gdoc-page > table img {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding-right: 4px !important;
    }
}
