/************************
	Bootstrap v5.1.1
*************************/
h1,
.h1,
.fs-1 {
    font-size: clamp(2.2rem, 1.3rem + 1.5vw, 3rem) !important;
}

h2,
.h2,
.fs-2 {
    font-size: clamp(1.8rem, 1.2rem + 1vw, 2rem) !important;
}

h3,
.h3,
.fs-3 {
    font-size: 1.6rem !important;
}

h4,
.h4,
.fs-4 {
    font-size: clamp(1.2rem, 1rem + 0.3vw, 1.5rem) !important;
}

h5,
.h5,
.fs-5 {
    font-size: 1.1rem !important;
}

h6,
.h6,
.fs-6 {
    font-size: 0.9rem !important;
}

.btn-check:focus + .btn,
.btn:focus {
    box-shadow: none;
}

.btn,
.badge {
    white-space: nowrap;
    border-radius: 0.5vmin;
}

.rounded {
    border-radius: 0.5vmin !important;
}
.rounded-1 {
    border-radius: 1vmin !important;
}
.rounded-2 {
    border-radius: 2vmin !important;
}
.rounded-3 {
    border-radius: 4vmin !important;
}

.vh-100 {
    height: var(--100vh) !important;
}

.breadcrumb * {
    font-size: 0.95em;
}

/* dropdown 增加滑入觸發 */
.dropdown:hover .dropdown-menu {
    display: block;
    left: 0;
    transform: translate(0, 2px);
    /* 手動校準位置 */
}

.dropdown-toggle.show,
.dropdown-toggle.show::after {
    color: rgba(255, 255, 255, 0.3) !important;
}

.dropdown-menu {
    padding: 0;
    background-color: rgba(255, 255, 255, 0.9);
    border: 0;
    border-radius: 0;
    color: var(--color_ci);
}

.dropdown-menu a:focus,
.dropdown-menu a:hover {
    background-color: var(--color_ci);
    color: #ffffff;
}

.dropdown-item {
    padding: 0.75rem 1rem;
}
