/* 新闻列表页 notification 风格设计 */
/* 新闻标题栏和搜索 */
.cphos-notification-title-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0;
    min-height: 60px;
}
.cphos-notification-title {
    flex: 0 1 auto;
    position: relative;
    font-size: 40px;
    font-weight: 700;
    color: #333;
    letter-spacing: 5px;
    margin: 0 auto 20px auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cphos-notification-title::before,
.cphos-notification-title::after {
    content: '';
    display: inline-block;
    width: 36px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    margin: 0 18px;
}
.cphos-notification-subtitle {
    font-size: 1.2rem;
    color: #666;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cphos-notification-search {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
}
.cphos-notification-search-input {
    height: 36px;
    border: 1.5px solid #1e3a8a;
    border-radius: 18px;
    padding: 0 36px 0 14px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
    min-width: 180px;
    background: #f8fafc;
    color: #222;
}
.cphos-notification-search-input:focus {
    border-color: #17408b;
}
.cphos-notification-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    display: flex;
    align-items: center;
}
.cphos-notification-noresult {
    display: none;
    color: #888;
    font-size: 1.1rem;
    text-align: center;
    margin: 40px 0;
}

/* 新闻卡片列表布局 */
/* 新闻卡片列表布局容器，仅作用于卡片区域 */
/* 兼容 .cphos-notification-list 结构下 .ast-row 包裹 .post 的情况，实现四列排布 */
.cphos-notification-list {
    display: block;
}
.cphos-notification-list .ast-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 0px;
    padding-bottom: 24px;
    box-sizing: border-box;
}
/* 新闻卡片仿主页卡片样式 */
.cphos-notification-list .ast-row .post {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(30,58,138,0.08);
    overflow: hidden;
    width: calc(25% - 18px);
    min-width: 220px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1.5px solid #e5eaf3;
    margin-bottom: 0;
    padding: 0 !important;
}
.cphos-notification-list .ast-row .post:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(30,58,138,0.13);
    border-color: #1e3a8a22;
}
@media (max-width: 1200px) {
    .cphos-notification-list .ast-row .post {
        width: calc(50% - 12px);
    }
}
@media (max-width: 700px) {
    .cphos-notification-list .ast-row {
        padding: 20px 4vw;
        gap: 12px;
    }
    .cphos-notification-list .ast-row .post {
        width: 100%;
        min-width: 0;
    }
}

/* 新闻卡片内容区单独加内边距 */
.cphos-notification-list .post .entry-title,
.cphos-notification-list .post .entry-header,
.cphos-notification-list .post .read-more {
    padding: 10px 20px 0px 20px;
}

/* 文章标题 */
.entry-title a {
    color: #333;
    font-size: 1.13rem;
    font-weight: 700;
}

/* 新闻卡片图片样式 */
/* 新闻卡片图片仿主页卡片图片样式 */
/* 让新闻卡片图片真正顶满卡片宽度和上缘，清除多层包裹的间距，绕开父容器 */
.cphos-notification-list .post .ast-blog-featured-section {
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
}
.cphos-notification-list .post:hover .ast-blog-featured-section img {
    transform: scale(1.04);
}
.cphos-notification-list .post .ast-blog-featured-section,
.cphos-notification-list .post .post-thumb-img-content,
.cphos-notification-list .post .post-thumb {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    width: 100% !important;
    display: block !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}
.cphos-notification-list .post .ast-blog-featured-section img {
    width: 100% !important;
    height: 140px;
    object-fit: cover;
    border-radius: 0;
    display: block;
    margin: 0 !important;
    background: #f4f4f4;
    transition: transform 0.2s;
}

/* 隐藏文章摘要内容 */
.archive .post .ast-excerpt-container {
    display: none !important;
}

/* 分页按钮整体居中 */
.ast-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 32px 0 0 0;
}
.ast-pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}
/* 分页按钮字体颜色和当前页背景色 */
.ast-pagination a {
    color: #1e3a8a;
    background: #f0f6ff;
    border-radius: 6px;
    margin: 0 2px;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
}
.ast-pagination a:hover {
    background: #dbeafe;
    color: #17408b;
}
.ast-pagination .current,
.ast-pagination span.current {
    background: #1e3a8a;
    color: #fff !important;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
}