/* 修改顶部标题字体大小 */
.md-header__topic {
    font-size: 21px;
    font-family: ui-monospace;
    font-weight: 500 !important;
}

/* 修改二级标题样式 */
.md-typeset h2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    font-weight: 600;
    /* color: #526cfe; */
    color: #2c3e50;
    border-left: 0;
    padding: 0;
    margin-bottom: 25px;
    margin-top: 50px;
}

.md-typeset h2::before {
    content: "";
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23448aff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M4 4.5A2.5 2.5 0 0 1 6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15z'/%3E%3Cpath d='M8 7h8'/%3E%3Cpath d='M8 11h6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.15rem;
}

/* 修改三级标题样式 */
.md-typeset h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2969d5;
    line-height: 1.45;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* 修改一级标题字体大小 */
.md-typeset h1 {
    font-weight: 500 !important;
    font-size: 1.6rem;
    /* color: #333; */
    color: #2c3e50;
    padding-bottom: 5px;
    border-bottom: 1px solid #b3b3b3;
}

/* 修改图片样式 */
.md-typeset img, .md-typeset svg, .md-typeset video {
    border-radius: 5px;
    border: 1px dashed #ffffff00;
}

.md-typeset img:hover {
    /* box-shadow: 0 0.2rem 0.5rem #a9a9a999, 0 0 0.05rem #0000003d; */
    border: 1px dashed #a9a9a999;
}

/* 表格默认铺满内容区 */
.md-typeset .md-typeset__scrollwrap {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: auto;
}

.md-typeset .md-typeset__table {
    display: block;
    width: 100%;
    padding: 0;
}

.md-typeset .md-typeset__table table {
    display: table !important;
    width: 100%;
    min-width: 100%;
    table-layout: fixed;
}

.md-typeset .md-typeset__table thead,
.md-typeset .md-typeset__table tbody {
    display: table-row-group;
    width: 100%;
}

.md-typeset .md-typeset__table tr {
    display: table-row;
    width: 100%;
}

.md-typeset table:not([class]) {
    width: 100%;
}

.md-typeset table:not([class]) th,
.md-typeset table:not([class]) td {
    text-align: center !important;
    vertical-align: middle;
}

/* 长代码块限高滚动 */
.md-typeset div.highlight pre {
    max-height: 360px;
    overflow: auto;
}

/* 主内容区底部留白 */
.md-content {
    margin-bottom: 50px;
}


/* 主题色修改 */
/* .md-header {
    background-color: #3A8080;
}
.md-tabs {
    background-color: #3A8080;
}
.md-top:focus, .md-top:hover {
    background-color: #3A8080;
}
.md-typeset a {
    color: #3A8080;
}
.md-typeset a:focus, .md-typeset a:hover {
    color: #036161;
}
.md-nav__item .md-nav__link--active, .md-nav__item .md-nav__link--active code {
    color: #036161;
}
.md-nav__link[for]:focus, .md-nav__link[for]:hover, .md-nav__link[href]:focus, .md-nav__link[href]:hover {
    color: #054b4b;
} */

/* 警告块字体加大 */
.md-typeset .admonition>*, .md-typeset details>* {
    font-size: 0.75rem;
}
