.main-navbar {
    position:relative;
    z-index:1300;
    padding-top:0.5rem;
    padding-bottom:0.5rem;
}
.navbar-brand > img {
    max-height: 35px;
}
/* 动画 */
.animate__supper__slow {
    --animate-duration: 30s;
}

@media (min-width: 1200px) {
    .container-fluid.main-navbar {
        max-width: 1620px;
    }
}

.navbar {
    --bs-navbar-nav-link-padding-x: 0rem;
}

    .navbar .nav-link:hover {
        background-color: transparent;
    }

.container > .navbar,
.container-fluid > .navbar {
    --bs-navbar-padding-y: 1rem;
}

@media (min-width: 1200px) {
    .navbar-nav {
        --bs-nav-link-padding-y: 0.125rem;
    }
}

/* 首页的焦点轮播图区域 */
.home-carousel-warp {
    position: relative;
    margin-left: -1.5rem;
    width: calc(100% + 36px);
        margin-top: -93px;
}
.home-carousel-mask-overlay {
    position: absolute;
    left: 0;
    bottom:-1px;
    width: 100%;
    height: 100%;
    background: url(/themes/lyqgm/images/banner-bottom.png) no-repeat center bottom;
    background-size: 100% auto;
}
.carousel-indicators [data-bs-target] {
    background-color:#000;
}
/* 首页新能源 */
.home-new-energy-warp {
    background: url(/themes/lyqgm/images/index-background-1.png) no-repeat center center;
    background-size: 90% auto;
    padding-top: 8rem;
    padding-bottom: 10rem;
}
.home-new-energy-left {
    background: #091f48 url(/themes/lyqgm/images/index-background-blue-1@3.jpg) no-repeat center bottom;
    background-size: 100% auto;
    height: 100%;
    min-height: 260px;
}
/* home-about-warp */
.home-about-warp {
    /*
    background: url(/themes/lyqgm/images/index-background-blue-2.jpg) no-repeat center bottom;
    background-size: 100% 100%;
    */
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin-top: 10rem;
    position: relative;
    margin-left: -1.5rem;
    width: calc(100% + 2.2rem);
}
/** rich-text */
.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4,
.rich-text h5,
.rich-text h6 {
    margin-top: 1.75rem;
    margin-bottom: 1rem;
}
.rich-text p {
    font-size: 1.125rem;
    line-height: 1.75rem;
    text-indent: 2em;
    margin-left: 0!important;
}
.rich-text p:last-child {
    margin-bottom: 2.5rem;
}
.rich-text figure.image {
    text-align: center;
}
.rich-text p img,
.rich-text figure.image img {
    max-width: 100%;
    border-radius:var(--bs-border-radius-lg);
}
.rich-text p:has(img) {
    text-indent: 0;
}
.rich-text figure.table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.rich-text figure.table > table {
    width:100%;
}
.rich-text figure.table > table > :not(caption) > * > * {
    padding: 1rem 1rem;
    border-bottom-width: 1px;
    border-bottom-color:#d6d6d6;
}
.rich-text > ul {
    list-style: none;
    padding-left: .5rem;
}
.rich-text > ul > li {
    margin-bottom: .85rem;
    padding-left: 1.25rem;
    position: relative;
}
.rich-text > ul > li:before {
    display: block;
    position: absolute;
    top: -.2rem;
    left: 0;
    font-size: 1.15rem;
    font-weight: 700;
    content: '✓';
    color: #28a745;
}

/* 移动端菜单（offcanvas）要盖住 .main-navbar（z-index:1300），否则页头的 logo 压在打开的菜单上 */
.offcanvas {
    z-index: 1310;
}
.offcanvas-backdrop {
    z-index: 1305;
}
