.w-36 {
    font-size: .875em;
    height: 40px !important;
    width: 36px !important;
}
.media-content {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    border: 0;
    border-radius: inherit;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0.25rem;
    width: 100%;
}

.card-xl .card-body {
  margin: 1.2rem 0.8rem 1.2rem 0.8rem;
}

.dropdown-item.active, .dropdown-item:active, .dropdown-item:focus, .dropdown-item:hover {
    background-color: #ffffff00;
    color: #ac5609;
    text-shadow: 0px 0px 1px rgb(0 0 0 / 55%);
}

/* 新增：li标签内的p标签专属样式 */
li p {
    margin: 0rem .0rem .5rem 0rem !important; /* 左侧margin改为0，保留!important确保覆盖 */
}

.text-muted {
    color: #9E9E9E !important;
}


/*顶部颜色动画*/
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.navbar {
  background: linear-gradient(45deg, #ff3a2b91, #b3c1138c, #f4275ead) 0% 0% / 400% 400%;
  animation: gradient 7.5s ease-in-out infinite;
}
.navbar-expand-lg>.container-fluid,.navbar-expand-lg>.container-lg,.navbar-expand-lg>.container-md,.navbar-expand-lg>.container-sm,.navbar-expand-lg>.container-xl,.navbar-expand-lg>.container-xxl,.navbar-expand-lg>.container-xxxl {
    height: 50px;
}
.site-main {
    margin-top: 68px;
    transition: all .2s ease-in-out;
}


/*侧边*/
.site-aside {
    background-color: var(--bg-base);
    bottom: 0;
    box-shadow: 5px 0 10px 0 rgba(47, 47, 51, .02);
    height: 100%;
    left: 0;
    overflow: visible;
    position: fixed;
    top: 0;
    transition: all .3s ease-in-out;
    width: 220px;
    z-index: var(--bs-offcanvas-zindex);
    --bs-offcanvas-width: 260px;
    --bs-offcanvas-bg: var(--bg-base);
}
.site-header {
	background: var(--bg-base);
	box-shadow: var(--shadow-xs);
	left: 0;
	padding-left: 220px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 99
}
@media(max-width:1199.98px) {
	.site-header {
		padding-left: 0
	}
}
@media(min-width:1200px)and (max-width:1399.98px) {
	.site-header {
		padding-left: 220px
	}
}
.site-wrapper {
    padding-left: 220px;
    position: relative;
}
@media(max-width:1199.98px) {
	.site-wrapper {
	padding-left:0
	}
}
@media(min-width:1200px)and (max-width:1399.98px) {
	.site-wrapper {
	padding-left:220px
	}
}
.site-aside .aside-menu li a {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    opacity: .75;
    text-shadow: 0px 0px 1px rgb(0 0 0 / 55%);
    position: relative;
    transition: all .3s;
}
.site-aside .aside-menu li a .menu-text {
    display: -webkit-box;
    flex: 1 1 auto;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 1.0rem;
    overflow: hidden;
    transition: opacity .45s ease, max-width .45s ease, margin .45s ease;
}

.card-xl .card-header {
    margin: 0.4rem 0 -1.1rem 1rem;
    padding: 0rem 0rem 0.25rem 0rem;
}


.block, .card {
    background: var(--bg-base);
    border: 0;
    border-radius: var(--radius-md);
    box-shadow: 2px 2px 4px 1px rgba(0, 0, 0, 0.1);
}

.post-other-style {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    width: 100%;
}

.post-content pre {
    background-color: var(--bs-tertiary-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    overflow: auto;
    padding: 0rem 0.5rem 0rem 0.5rem;
    -webkit-overflow-scrolling: touch;
}


.list-grid.list-grid-padding .list-item {
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.8rem;
    transition: all .5s;
}


.site-footer {
    padding-bottom: 0.5rem;
    padding-top: 0.75rem;
}

/*文章格式排版*/
a {
    color: var(--color-body);
    transition: color .25s;
    line-height: 1.2rem !important;
}
.post-content li {
    line-height: 1.2;
    margin:0.4rem 0rem 0.4rem 0rem;
}
p {
    margin-bottom: 1rem;
    margin: 0rem 0rem 0.5rem 1.0rem !important;
    margin-top: 0;
}
.h6, h6 {
    font-size: 1.05rem;
    margin: 0.6rem 0rem 0.4rem 1.3rem !important;
    font-weight: 500;
    text-shadow: 0px 0px 0.4px rgb(0 0 0 / 55%);
}
.h5, h5 {
    font-size: 1.15rem !important;
    margin: 0.6rem 0rem 0.4rem 1.1rem !important;
    font-weight: 500;
    text-shadow: 0px 0px 0.8px rgb(0 0 0 / 55%);
}
.h4, h4 {
    font-size: 1.20rem!important;
    margin: 0.4rem 0rem 0.4rem -0.3rem !important;
    text-shadow: 0px 0px 1.2px rgb(0 0 0 / 55%);
}
.h3, h3 {
    font-size: 1.30rem!important;
    margin: 0.85rem 0rem 0.45rem 0.2rem !important;
    font-weight: 700;
}
.h2, h2 {
    font-size: 1.55rem!important;
    margin: 0.9rem 0rem 0.45rem 0rem !important;
    font-weight: 700;
}
.h1, h1 {
    font-size: 1.7rem!important;
    margin: 0.95rem 0rem 0.45rem 0rem !important;
    font-weight: 700;
}
@media(max-width: 767.98px) {
    .card-header {
        margin:0 0 -.125rem;
        padding: 1rem 1rem 0
    }
    .card-body {
        margin: 1rem
    }
    .card-xl .card-header {
        margin: -0.5rem 0rem -0.5rem -0.5rem;
        padding: 1.125rem 1.125rem 0
    }
    .card-xl .card-body {
        margin: 1.125rem
    }
    .card-header .h4,.card-header h4 {
        margin: 0rem 0rem 0rem 0rem !important;
    }
}
.nav {
    --bs-nav-link-padding-x: 1rem;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: ;
    --bs-nav-link-color: var(--bs-link-color);
    --bs-nav-link-hover-color: var(--bs-link-hover-color);
    --bs-nav-link-disabled-color: var(--bs-secondary-color);
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: -0.5rem;
    margin-top: -0.5rem;
    padding-left: 0;
}
.nav .nav-link.active, .nav .nav-link:hover {
    color: #ee373787;
    text-shadow: 0px 0px 1px rgb(251 151 0 / 55%);
}
.nav .nav-link:after {
    background: var(--color-primary);
    border-radius: 10px;
    bottom: 0.2rem;
    content: "";
    height: 2px;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    transition: all .3s ease;
    width: 0;
}
.list-bordered .list-item {
    border-top: 0px solid rgba(135, 150, 165, .075);
    margin-top: -4px;
}

/*AAEditor*/
.post-content blockquote {
    background-color: #e1eeff;
    border: 0;
    border-radius: 6px;
    color: #3b82f6cc !important;
    line-height: 20px;
    margin: 0rem 2rem 0.5rem 2rem !important;
    padding: 8px !important;
    font-style: italic;
    position: relative;
    text-indent: 1em !important;
}
.post-content blockquote:before {
    content: "“";
    font-family: monospace;
    font-size: 2.1em !important;
    height: 2em;
    left: -1.0em !important;
    position: absolute;
    top: .4em;
    width: 2em;
}