.slideshow {
    height: 400px;
    object-fit: cover;
}

. {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --main-color: #1D4EA1;
    --light-main-color: #1D4EA1B3;
    --lighter-main-color: #1D4EA180;
}

.pointer {
    cursor: pointer;
}

.relative {
    position: relative;
}

.btn-custom {
    color: #fff;
    background-color: var(--light-main-color);
    border-color: var(--light-main-color);
}

.btn-custom:hover {
    color: #fff;
    background-color: var(--main-color);
    border-color: #117a8b;
}

.btn-custom:focus, .btn-custom.focus {
    color: #fff;
    background-color: var(--main-color);
    border-color: #117a8b;
    box-shadow: 0 0 0 0.2rem var(--lighter-main-color);
}

.btn-custom.disabled, .btn-custom:disabled {
    color: #fff;
    background-color: var(--light-main-color);
    border-color: var(--light-main-color);
}

.btn-custom:not(:disabled):not(.disabled):active, .btn-custom:not(:disabled):not(.disabled).active,
.show > .btn-custom.dropdown-toggle {
    color: #fff;
    background-color: #117a8b;
    border-color: #10707f;
}

.btn-custom:not(:disabled):not(.disabled):active:focus, .btn-custom:not(:disabled):not(.disabled).active:focus,
.show > .btn-custom.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem var(--lighter-main-color);
}

.navbar-expand-lg .navbar-nav .custom-nav-link {
    font-size: 16px;
    line-height: 3.5;
    padding-top: 0;
    padding-bottom: 0;
}

.navbar-nav .nav-item.active {
    background-color: var(--main-color);
}

.navbar-nav .nav-item.active .nav-link {
    color: white;
}

.navbar-nav .nav-item:hover {
    background-color: var(--main-color);
}

.navbar-nav .nav-item:hover .nav-link {
    color: white;
}

.navbar-nav:hover .nav-item.active:not(:hover) {
    background-color: transparent; /* 恢复透明背景 */
}

.navbar-light .navbar-nav .nav-link {
    color: #333
}

.navbar-nav:hover .nav-item.active:not(:hover) .nav-link {
    color: #333;
}
