/* body { padding-top: 56px; } */
.left-aligned {
    margin-left: auto;
}

.textIndentIs16 {
    text-indent: 32px;
}

.bg-dark {
    background-color: rgba(26, 110, 81, 1) !important;
}

.bg-dark .nav-link {
    color: white;
}

.bg-hero {
    background-color: #45b06cff;
}

/* CALLOUT */
.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
    border-left-width: .25rem;
    border-radius: .25rem
}

.bd-callout h4 {
    margin-bottom: 1.25rem
}

.bd-callout p:last-child {
    margin-bottom: 0
}

.bd-callout code {
    border-radius: .25rem
}

.bd-callout+.bd-callout {
    margin-top: -.25rem
}

.bd-callout-info {
    border-left-color: #5bc0de
}

.bd-callout-warning {
    border-left-color: #f0ad4e
}

.bd-callout-danger {
    border-left-color: #d9534f
}

/* footer */
footer.bg-dark {
    background-color: #153c3e !important;
    color: white;
    padding: 20px 0;
}

footer a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}


.section {
    padding-top: 60px;
    background-color: #f4fbfa;
}

.why-content {
    width: 411px;
    height: 152px;
    line-height: 38px;
    font-family: Gilroy;
    font-weight: 700;
    color: #ffffff;
    font-size: 28px;
    text-align: center;
}

.how-content {
    width: 100%;
    height: 240px;
    background: #1a6e51;
    border-radius: 24px;
    text-align: center;
}

.how-content img {
    padding-top: 15px;
}

.how-content p {
    font-family: Gilroy;
    font-weight: 700;
    color: #ffffff;
    font-size: 24px;
}

/* Dropdown Submenu Styles */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover .dropdown-menu {
    display: block;
}

.dropdown-item.dropdown-toggle::after {
    content: "▶";
    font-size: 0.7em;
    margin-left: 5px;
}

/* Dropdown menu styles for white background navbar */
.navbar-light .dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-light .dropdown-item {
    color: #333;
}

.navbar-light .dropdown-item:hover,
.navbar-light .dropdown-item:focus {
    color: #1a6e51;
    background-color: #f0f7f5;
}

.navbar-light .dropdown-item.active,
.navbar-light .dropdown-item:active {
    color: #fff;
    background-color: #1a6e51;
}

/* 锚点滚动边距 - 解决标题被导航栏遮挡问题 */
[id] {
    scroll-margin-top: 100px;
}

/* Sidebar Navigation Styles */
.sidebar-sticky {
    position: sticky;
    top: 80px;
    /* 与顶部导航栏保持一定距离 */
    max-height: calc(100vh - 100px);
    /* 设置固定高度，减去顶部和底部的边距 */
    overflow-y: auto;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    margin-top: 1rem;
}

.nav-header {
    color: #1a6e51;
    font-weight: bold;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1a6e51;
}

.nav.flex-column {
    width: 100%;
}

.nav-link {
    color: #333;
    padding: 0.75rem 1rem;
    margin-bottom: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active:hover,
.nav-link.active {
    background-color: rgba(103, 218, 82, 0.5);
    color: white;
    text-decoration: none;
}

.sidebar-sticky .nav-link {
    padding: 0.5rem 0.4rem;
}

.sidebar-sticky .nav-link:hover,
.sidebar-sticky .nav-link.active:hover,
.sidebar-sticky .nav-link.active {
    color: inherit;
    text-decoration: none;
    background-color: rgba(26,110,81, 0.2);
}


.nav-submenu {
    padding-left: 1rem;
    margin-bottom: 0.5rem;
}

.nav-link.sub {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: #555;
}









@media (min-width: 576px) {
    .container-human-practices {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container-human-practices {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container-human-practices {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container-human-practices {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container-human-practices {
        max-width: 1320px;
    }
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .sidebar-sticky {
        position: relative;
        top: 0;
        height: auto;
        margin-bottom: 2rem;
    }
}

.sideNavSubMenu {
    padding-left: 32px;
}

.sideNavSubMenu .nav-link.sub {
    /* padding-left: 0; */
    padding: 0.5rem 0.4rem;
}

/* Back to Top Button Styles */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1a6e51;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top-btn:hover {
    background-color: #153c3e;
    transform: translateY(-5px);
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

/* Responsive adjustments for back to top button */
@media (max-width: 768px) {
    .back-to-top-btn {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }

    .back-to-top-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* Superscript Styles */
sup {
    vertical-align: super;
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    top: -0.5em;
}

/* Custom superscript class */
.superscript {
    vertical-align: super;
    font-size: 0.75em;
    line-height: 0;
    position: relative;
    top: -0.5em;
    color: #1a6e51;
    /* 使用项目主题色 */
    font-weight: bold;
}

.personItem {
    margin-top: 36px;

    &:last-child {
        margin-bottom: 0px;
    }

    .membersPersonImgWrap {
        position: relative;
        display: flex;
        align-items: flex-start;

        .leftImageInfo {
            position: relative;
            width: 181px;

            img {
                width: 100%;
                height: auto;
            }
        }

        .rightDescInfo {
            position: relative;
            width: calc(100% - 181px);
            padding-left: 20px;

            h3 {
                color: #265C35;
            }

            p {
                font-size: 16px;
                line-height: 1.5;
                color: #74990F;
            }
        }
    }
}

.isImgColDom {
    img {
        width: 100%;
        height: auto;
    }

}

.text-muted {
    color: #666 !important;
    margin-top: 16px !important;
}
h2.h2TitleTag{
    font-weight: bolder;
    color: #265C35;
    margin-top: 24px;
    &.noMargin {
        margin-top: 0px;
    }
    /* text-shadow: 2px 1px #1a6e51; */
}
@media (max-width:970px) {
    .unShowInMinWidth {
        display: none !important;
    }
}
.table-responsive {
    margin-top: 24px;
}
.expertInfoWrap {
    display: flex;
    margin: 24px 0;
    .leftImageInfo {
        width: 180px;
        img {
            width: 100%;
            height: auto;
        }
    }
    .rightPersonIntro {
        flex: 1;
    }
}
h4.text-success,
h3.text-success {
    margin-top: 24px;
}

/* 表格响应式容器中tbody内容居中样式 */
.table-responsive table tbody td,
.table-responsive table tbody th {
    text-align: center;
    vertical-align: middle;
    padding: 12px 15px;
}

/* 确保thead也有一致的样式 */
.table-responsive table thead th {
    text-align: center;
    vertical-align: middle;
}

/* Import Special Elite */
/* @font-face {
  font-family: "Menlo-Regular";
  src: url("fonts/Menlo/Menlo-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
} */

/* Apply it */
/* .menlo-regular {
  font-family: "Menlo-Regular";
} */
