.imgback {
    width: 100%;
    position: relative;
}

.imgback img {
    width: 100%;
}
h1 {
    font-size: 36px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* 主网格布局 */
/* 网格布局核心代码 */
.main {
    width: 80%;
    height: auto;
    position: relative;
    background-color: rgb(255, 255, 255);
    display: grid;
    /* 使用minmax确保两列严格平分宽度，不受内容影响 */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px; /* 间距单独设置，不影响列宽比例 */
    margin-bottom: 40px;
    /* 确保padding不影响整体宽度计算 */
    box-sizing: border-box;
    padding: 0; /* 移除可能存在的内边距 */
}

/* 网格项基础样式 - 关键修改 */
.main > div {
    background: white;
    border-radius: 10px;
    padding: 20px;
    /* 确保内容不会撑大网格项 */
    box-sizing: border-box;
    width: 100%; /* 强制占满网格分配的空间 */
}

.item-title {
    /* display: flex; */
    width: auto;
    align-items: center;
    margin-bottom: 0;
    font-size: 1.3rem;
    color: #2c3e50;
    font-weight: 600;
}

.item-content {
    color: #555;
    line-height: 1.6;
}

.xyxw-bt{
    color: #0254C6;
    display: inline-block;
    padding: 8px 2px;
}
.new{
    color:#7CDCFF;
    font-size: 1.3rem;
    font-weight: 600;
}
.item-title.ty {
    display: inline-block;
    padding: 8px 16px;
    background-color: #0254C6;
    color: white;
    margin-bottom: 0;
}

.item-title span {
    padding: 8px 12px;
    cursor: pointer;
    font-weight: bold;
    /* 黑色粗体 */
    color: #000;
    /* 默认黑色字体 */
}

.item-title span.active {
    background-color: #0254C6;
    /* 蓝底 */
    color: white;
    /* 白字 */
}

.item-title span:hover:not(.active) {
    background-color: #f0f8ff;
    /* 浅蓝色悬停效果 */
}

.item-content {
    padding: 15px;
    margin-top: 10px;
}

.item-content.active {
    display: block;
}
.yqlj{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
width: 100%;
}
.yqlj div{
    margin: 10px;
}
.grid-cell {
    height: 100%;
    flex-direction: column;
}
/* 分隔线实现（关键部分） */
hr{
    position: relative;
    width: 100%; /* 确保与卡片同宽 */
    border: none; 
    height: 0.7px;
    margin: 5px;
    background: #0254C6;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
; /* 设置横线颜色 */
}
/* 响应式设计 */
@media (max-width: 768px) {
    .main {
        /* 单列布局 */
        grid-template-columns: 1fr;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .item-title {
        font-size: 1.1rem;
    }

    .main>div {
        padding: 15px;
    }
}