body {
    background-color: #f5f5f5;
}

#header {
    background-color: #000;
    color: #fff;
    padding: 10px;
    border-bottom: 1px solid #eeeeee;
}

#logo {
    height: 30px;
}

#navbarNav a {
    color: #fff;
}

a {
    text-decoration: none;
    color: black;
}

#footer {
    height: 50px;
    font-size: 12px;
}

/* 文章标题样式 */
.card-title {
    color: #34495e;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* 列表图片样式 */
.card .col-md-4 img,
.card .col-12.col-md-4 img {
    max-height: 130px;
    padding: 8px;
    object-fit: cover;
}

p.text-muted a {
    color: #8c959d !important;
}

.card-text {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.6;
}

/* 文章元数据样式 */
.article-meta {
    color: #777;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.popular-articles .badge {
    background-color: #cb9c71;
    color: white;
    margin-right: 0.5rem;
}

.popular-articles a {
    font-size: 0.8rem;
}

.popular-articles a:hover {
    color: #a67c51 !important;
}

/* 面包屑导航样式 */
.breadcrumb a {
    color: #cb9c71;
}

.breadcrumb a:hover {
    color: #a67c51;
}

/* 分页导航样式 */
.pagination .page-item.active .page-link {
    background-color: #000;
    /* 黑色 */
    border-color: #000;
    /* 黑色 */
    color: #fff;
    /* 白色 */
}

.pagination .page-link {
    color: #000;
    /* 黑色 */
}

.pagination .page-link:hover {
    color: #fff;
    background-color: #000;
    /* 黑色 */
    border-color: #000;
    /* 黑色 */
}

.article-detail img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.article-detail h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #34495e;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.article-detail h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #34495e;
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
}

/* 段落样式 */
.article-detail p {
    text-indent: 2em;
    font-size: 1.1rem;
    line-height: 2rem;
    color: #2c3e50;
    margin-bottom: 1.2rem;
}

/* 段落中的链接样式 */
.article-detail p a {
    color: #cb9c71;
    border-bottom: 1px dashed #cb9c71;
    transition: all 0.3s ease;
}

.article-detail img {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.article-detail p a:hover {
    color: #a67c51;
    border-bottom-style: solid;
}

.carousel-container {
    height: 160px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .carousel-container {
        height: 400px;
    }
}


/* 导航选中项样式 */
.navbar .nav-item .active {
    color: #ff6b6b !important;
    border-bottom: 2px solid #ff6b6b;
    padding-bottom: 3px;
    transition: all 0.3s ease;
}

.navbar .nav-item .active:hover {
    color: #ff5252 !important;
}