@charset "utf-8";
/* CSS Document */

.breadcrumb{
	margin-bottom:0rem;
	}
	
.list-group-item .post-title {
    max-width: 60%; /* 保证标题不覆盖日期 */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.list-group-item .post-date {
    font-size: 0.8rem;
    white-space: nowrap;
}



.post-nav {
    display: flex;           /* 使用 flex 布局 */
    align-items: center;     /* 垂直居中 */
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    background-color: #fff;
}

.post-nav:hover {
    border-color: #007bff ;           /* 主色边框 */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    background-color: #f8f9fa !important;        /* 微亮背景 */
}

.post-nav div {
    flex: 0 0 auto;          /* 前置文字固定宽度 */
    margin-right: 0.5rem;
}

.post-nav a {
    flex: 1 1 auto;          /* 占满剩余空间 */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; /* 超出显示省略号 */
    text-decoration: none;
    color: #007bff;          /* 链接颜色可调整 */
}



.about-us-banner {
  position: relative;
}

.about-us-banner .banner-text {
  max-width: 90%;              /* 限制文字宽度，不会超出图片 */
  word-wrap: break-word;       /* 自动换行 */
  text-shadow: 0 2px 6px rgba(0,0,0,0.6); /* 提升可读性 */
}

/* 标题自适应 */
.banner-title {
  font-size: clamp(0.8rem, 4vw, 2.5rem); /* 手机最小1.2rem，桌面最大2.5rem */
  margin-bottom: 0.5rem;
}

/* 副标题自适应 */
.banner-subtitle {
  font-size: clamp(0.5rem, 2.5vw, 1.3rem); /* 手机最小0.9rem，桌面最大1.3rem */
  line-height: 1.4;
}

h2.fw-bold {
  color: #FFF;
}
/* 主标题优化 */
.article h1 {
    font-size: 1.8rem;
    margin: 0;
    padding: 0;
    text-align: center;
    margin-bottom: 2rem; /* 增加底部间距 */
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee; /* 添加装饰性下划线 */
}

/* 正文优化 */
.article p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
    color: #444;
    font-family: 'Georgia', serif; /* 提升可读性 */
}

/* 次级标题优化 */
.article h2 {
    font-size: 1.44rem;
    font-weight: 600;
    margin: 2rem 0 1rem; /* 调整间距 */
    padding: 0;
    text-align: left;
    color: #333;
    font-family: 'Helvetica Neue', sans-serif;
}

.article h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem; /* 调整间距 */
    padding: 0;
    text-align: left;
    color: #333!important;
    font-style: italic; /* 添加斜体区分 */
}
/* 图片核心样式 */
.article img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1.25rem auto;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    padding: 2px;
}

/* 悬停交互增强 */
.article img:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: #e0e0e0;
}

/* 图文混排适配 */
.article p + img {
    margin-top: -0.5rem;
}
/* 响应式调整 */
@media (min-width: 768px) {
    .article h1 {
        margin-bottom: 2.5rem;
        font-size: 2rem;
    }
    .article p {
        font-size: 1.125rem;
        line-height: 1.7;
    }
    .article h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }
    .article h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
        .article img {
        border-radius: 6px;
        margin: 1.75rem auto;
        max-width: calc(100% - 2rem);
    }
    
    /* 全宽图片模式 */
    .article img.full-bleed {
        max-width: 100vw;
        margin-left: 50%;
        transform: translateX(-50%);
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}

