/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

/* 根据视口大小调整基础字体大小 */
@media (max-width: 576px) {
    html {
        font-size: 14px;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width: 769px) {
    html {
        font-size: 18px;
    }
}

body {
    margin: 0;
    color: #666;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

main {
    display: block
}


hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: transparent;
    color: inherit;
    text-decoration: none
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

img {
    border-style: none
}



button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button；
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: .35em .75em .625em
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type=checkbox],
[type=radio] {
    box-sizing: border-box;
    padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

details {
    display: block
}

summary {
    display: list-item
}

template {
    display: none
}

.list-group-item {
    border: 0;
    border-radius: 0;
}

[hidden] {
    display: none
}

/*# sourceMappingURL=normalize.min.css.map */
.bg-red {
    background-color: #b61924 !important;
}

.text-red {
    color: #b61924 !important;
}

.w-20 {
    width: 20% !important;
}

.w-33 {
    width: 33.3% !important;
}

.mb-6 {
    margin-bottom: 6rem !important;
}

.list-inline-item {
    vertical-align: middle;
    margin: 0.5rem;
    /* 垂直居中 */
}

.no-wrap {
    white-space: nowrap !important;
    -ms-overflow-style: none;
    /* Internet Explorer and Edge */
    scrollbar-width: none;
    /* Firefox */

}

.no-wrap::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.no-wrap .nav-link.on {
    font-weight: bold;
    color: #b61924 !important;
}

.offcanvas,
.modal-dialog {
    margin-bottom: 4rem;
}

.top-serach {
    position: relative;
}

.top-serach input {
    border: none;
    width: 100%;
    height: 2.8rem;
    background: #F9F0DA;
    padding-left: 15px;
    border-radius: 0.3rem;
}

.top-serach button {
    position: absolute;
    top: 0.4rem;
    right: 0.8rem;
    color: #F15B42;
    cursor: pointer;
}

/* 自定义样式以处理子菜单的显示 */
.list-group .list-group-item .list-inline .list-inline-item {
    font-size: 1rem;
    color: #666;
}

/* 底部导航 */
nav.navbar-expand-sm .navbar-nav {
    flex-direction: row !important;
    width: 100%;
    justify-content: space-around;
}

nav.navbar-expand-sm .nav-item {
    text-align: center;
    flex-direction: column;
    width: -webkit-fill-available;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav.navbar-expand-sm .nav-link .bi {
    display: block;
    font-size: 1.5rem;
}

nav.navbar-expand-sm .nav-link.active {
    color: #fff !important;
    width: -webkit-fill-available;
}


#carouselImg img {
    height: 15.8rem;
}

.list-img {
    margin: 1.5rem 0;
}


.list-img span {
    font-size: 0.75rem;
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dot li::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background-color: #b61924;
    border-radius: 50%;
    position: absolute;
    left: 1px;
    top: 50%;
    transform: translateY(-50%);
}

.ol-img {
    margin: revert;
    left: revert;
    right: 10px;
}

.ol-img [data-bs-target] {
    width: 10px;
}

.padding-img {
    left: 4%;
    padding: 0;
    bottom: 0.55rem;
    text-align: left;
}

.title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0rem;
}

.title h3 {
    color: #333;
}

.title img {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 0.8rem
}

.title i {
    background-size: cover;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;

}

.hot .hot-top {
    text-align: center;
    padding: 1.5rem 0.5rem;
    width: 100%;
    background-image: url(../img/tou.png);
    background-repeat: no-repeat;
}

.hot .hot-top h3 {
    color: #b61924;
    white-space: nowrap;
    overflow: hidden;
    padding-left: 2rem;
    text-overflow: ellipsis
}

.hot .hot-top p {
    color: #666;
    line-height: 1.5rem;
    height: 3rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
}

.hot .scroll-list {
    margin: 1rem 0;
}


/*停顿滚动*/
.maquee {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.maquee ul {
    width: 100%;
    height: 150px;
}

.maquee li {
    line-height: 33px;
    border-bottom: 1px dashed #aaa;
}

.nav-tabs-top {
    display: flex;
    align-items: center;
}

.nav-tabs-top .nav-link,
.nav-tabs-dq .nav-link {
    font-size: 0.85rem;
    color: #666;
    background: none;
}

.nav-tabs-dq .nav-link.active {
    color: #666;
    border-bottom: 1px solid #ccc;
    padding: .5rem 0.8rem;
}

.nav-tabs-top .nav-link.active {
    color: #b61924;
    border-bottom: 1px solid #b61924;
    padding: .5rem 0.8rem;
}

.list {
    padding: 1rem;
    display: inline-block;
    width: 100%;
}

.list a:not(:last-child) {
    margin-right: .5rem;
    white-space: nowrap;
}


button {
    border: none;
    outline: none;
}

.nav-tabs-bg .nav-item {

    margin-right: 0.5rem;
}

.nav-tabs-bg .nav-link {
    background-color: #f8f9fa;
    border-radius: 5rem;
    color: #666;
    padding: 0.5rem 1rem;

}

.nav-tabs-bg .nav-link.active {
    background-color: #b61924;
    color: #fff;
    border-radius: 5rem;
}

.list-tab .list-group-item {
    border-bottom: #ccc dashed 1px;
}

.list-tab a span {
    font-weight: normal;
    font-size: 0.85rem;
    color: #999;
}

.list-tab a span:not(:last-child) {
    margin-right: 0.5rem;
}

.card {
    border: 0;
    border-bottom: #ccc 1px solid;
}

.card-body,
.card-footer,
.card-header {
    background-color: revert;
    border-top: none;
}

.card-img {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
}

.card-img img {
    display: inline;
    flex: 1;
    height: 7.5rem;
    margin: 0 5px;
    object-fit: cover;
    flex-shrink: 0;
}

.card-info {
    flex: auto;
    margin-right: 0.5rem;
}

.card-info .card-text {
    font-size: 0.85rem;
    color: #aaa;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-info span {
    color: #999;
    font-size: 0.85rem;
}

/* 可选：为第一张和最后一张图片添加额外的外边距，以避免与容器边缘过于接近 */
.card-img img:first-child {
    margin-left: 0;
}

.card-img img:last-child {
    margin-right: 0;
}

.filter-sort {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: #f8f9fa 1px solid;
    background: #ffffff;
}

.filter-sort .sort-wrap {
    display: flex;
    font-size: 1.2rem;
    overflow: hidden;
}

.sort-right {
    width: 4rem !important;
    text-align: center;
}

.filter-sort .sort-wrap .active {
    font-size: 1.25rem;
    color: #b61924;
}

.filter-sort .sort-wrap a {
    margin: 0 0.35rem;
    padding: 0.1rem 1rem;
}


#FilterModal .title {
    text-align: center;
    font-weight: normal;
    line-height: 1.2rem;
}


#FilterModal .modal-body dt {
    line-height: 0.8rem;
    margin-bottom: 0.3rem;
}

#FilterModal .modal-body dd {
    margin: 0 0 0 -0.06rem;
    overflow: hidden;
}

#FilterModal .modal-body dd .active {
    background: #ffe1e1;
    color: #f47983;
    border-radius: 0.1rem;
    padding: 0 0.5rem;
}

#FilterModal .modal-body dd span {
    display: inline-block;
    text-align: center;
    margin: 0 0 0.3rem 0.06rem;
    color: #666;
}

.modal-backdrop {
    display: none !important;
}

.alphabet-nav {
    position: fixed;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.alphabet-nav a {
    display: block;
    text-align: center;
    padding: 5px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.alphabet-nav a.active {
    background-color: #eee;
}

.breadcrumb {
    margin-bottom: 0;
    color: #aaa;
}

.breadcrumb .breadcrumb-item.active {
    color: #aaaa;
}

/* Custom CSS for better mobile experience */

.question-list,
.question-detail {
    padding: 0.2rem;
}

.ask-question-form {
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.form-control,
.btn {
    border-radius: 5px;
}

.btn-red {
    --bs-btn-color: #fff;
    --bs-btn-bg: #b16924;
    --bs-btn-border-color: #b16924;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #880505;
    --bs-btn-hover-border-color: #880505;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #880505;
    --bs-btn-active-border-color: #880505;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #b16924;
    --bs-btn-disabled-border-color: #b16924;
}

.article-meta {
    margin-bottom: 20px;
}

.meta-item {
    margin-right: 15px;
    font-size: 0.8rem;
}

.content {
    margin-bottom: 30px;
}

.form-section,
.related-content {
    margin-top: 30px;

}

.form-section {
    text-align: center;
}

.form-section small {
    display: inline-block;
    font-size: 0.7rem;
    text-align: center;
    color: #999;
    width: 75%;
}

.nav-links {
    margin-top: 20px;
}

.nav-links a {
    margin: 0 10px;
}