

/* ═══════════════════════════════════════════════

   SCUM 5999 — 公告公报

   ═══════════════════════════════════════════════ */

.announce-section {

    background: #0b1046;

    min-height: 100vh;

    padding:0 0 80px;

}

/* distance from ::after (yellow line) to search box = 30px */
.page-title-section{ padding-bottom:18px }
.page-title-section .section-title{ margin-bottom:0 }

.announce-inner {

    max-width: 1100px;

    margin: 0 auto;

    padding: 0 40px;

}

/* ── 搜索区 ── */

.search-zone {

    margin-bottom: 30px;

}

.search-box {

    display: flex;

    align-items: center;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.1);

    border-radius: 6px;

    padding: 0 20px;

    transition: border-color .3s, box-shadow .3s, background .3s;

}

.search-box:focus-within {

    border-color: rgba(243,176,20,.5);

    box-shadow: 0 0 0 3px rgba(243,176,20,.08);

    background: rgba(243,176,20,.04);

}

.search-box .icon {

    color: rgba(255,255,255,.2);

    font-size: 16px;

    margin-right: 12px;

    flex-shrink: 0;

}

.search-box input {

    flex: 1;

    background: none;

    border: none;

    outline: none;

    color: #fff;

    font-size: 15px;

    padding: 14px 0;

    letter-spacing: .3px;

}

.search-box input::placeholder { color: rgba(255,255,255,.15); }

.search-box button {

    background: none;

    border: none;

    border-left: 1px solid rgba(255,255,255,.06);

    color: #f3b014;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 2px;

    padding: 10px 0 10px 20px;

    cursor: pointer;

    transition: opacity .25s;

    flex-shrink: 0;

}

.search-box button:hover { opacity: .7; }

.hot-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 14px;

    align-items: center;

}

.hot-tags .label {

    font-size: 13px;

    color: #f39c12;

    font-weight: 700;

    letter-spacing: .5px;

    margin-right: 4px;

}

.hot-tags a {

    font-size: 13px;

    color: rgba(255,255,255,.25);

    text-decoration: none;

    padding: 4px 14px;

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 4px;

    transition: color .25s, border-color .25s, background .25s;

    letter-spacing: .5px;

}

.hot-tags a:hover {

    color: #f3b014;

    border-color: rgba(243,176,20,.25);

    background: rgba(243,176,20,.06);

}

/* ── 分类筛选 Pills ── */

.cat-bar {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 34px;

    padding: 14px 18px;

    background: rgba(255,255,255,.03);

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 12px;

}

.cat-bar .cat-item {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: .8px;

    padding: 7px 18px;

    border-radius: 20px;

    border: 1px solid rgba(255,255,255,.06);

    background: rgba(255,255,255,.03);

    color: rgba(255,255,255,.45);

    transition: all .3s ease;

    cursor: pointer;

}

.cat-bar .cat-item:hover {

    color: rgba(255,255,255,.75);

    border-color: rgba(255,255,255,.15);

    background: rgba(255,255,255,.07);

}

.cat-bar .cat-item.active {

    color: var(--cat-c);

    border-color: var(--cat-c);

    background: color-mix(in srgb, var(--cat-c) 15%, transparent);

    font-weight: 700;

}

.cat-bar .cat-dot {

    width: 7px; height: 7px;

    border-radius: 50%;

    flex-shrink: 0;

    display: inline-block;

}

/* ── 精选公告 ── */

.spotlight {

    margin-bottom: 36px;

}

.spotlight a {

    display: block;

    position: relative;

    text-decoration: none;

    background: rgba(255,255,255,.04);

    overflow: hidden;

    border-radius: 6px;

    transition: background .4s;

}

.spotlight a:hover { background: rgba(255,255,255,.04); }

.spotlight .spot-img {

    width: 100%;

    height: 340px;

    object-fit: cover;

    display: block;

    transition: transform .4s cubic-bezier(.25,.46,.45,.94);

}

.spotlight a:hover .spot-img { transform: scale(1.03); }

.spotlight .spot-overlay {

    position: absolute;

    inset: 0;

    background: linear-gradient(0deg, rgba(11,16,70,.6) 0%, rgba(11,16,70,.02) 40%);

    pointer-events: none;

    border-radius: 6px 6px 0 0;

}

.spotlight .spot-img-wrap {

    position: relative;

    overflow: hidden;

    border-radius: 6px 6px 0 0;

}

.spotlight .spot-title-bar {

    position: absolute;

    bottom: 0;

    left: 0;

    right: 0;

    padding: 80px 36px 20px;

    background: linear-gradient(0deg, rgba(11,16,70,.85) 0%, transparent 100%);

}

.spotlight .spot-cat {

    display: inline-block;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 10px;

    position: relative;

}

.spotlight .spot-cat::before { content: '// '; color: rgba(255,255,255,.2); }

.spotlight .spot-dot {

    display: inline-block;

    width: 7px; height: 7px;

    border-radius: 50%;

    margin-right: 8px;

    vertical-align: middle;

}

.spotlight .spot-title {

    font-size: clamp(20px, 2.2vw, 28px);

    font-weight: 800;

    color: #fff;

    margin: 0;

    line-height: 1.35;
    overflow-wrap: break-word;
    word-break: break-word;

}

.spotlight .spot-info {

    padding: 24px 36px 28px;

}

.spotlight .spot-info .spot-excerpt {

    color: rgba(255,255,255,.55);

    font-size: 14px;

    line-height: 1.6;

    margin: 0 0 14px;

    max-width: 100%;

}

.spotlight .spot-info .spot-meta {

    display: flex;

    gap: 20px;

    color: rgba(255,255,255,.6);

    font-size: 12px;

    letter-spacing: .5px;

}

/* ── 公告列表 ── */


/* ── 空状态 ── */

.empty-state {

    text-align: center;

    padding: 120px 0;

    color: rgba(255,255,255,.12);

    font-size: 16px;

    letter-spacing: 2px;

}

/* ── 分页 ── */

.pagination-wrap { margin-top: 36px; text-align: center; }

.pagination-wrap a {

    display: inline-block;

    padding: 9px 16px;

    font-size: 13px;

    color: rgba(255,255,255,.2);

    text-decoration: none;

    border: 1px solid rgba(255,255,255,.06);

    border-radius: 4px;

    margin: 0 3px;

    transition: color .25s, border-color .25s, background .25s;

}

.pagination-wrap a:hover { color: #f3b014; border-color: rgba(243,176,20,.2); background: rgba(243,176,20,.04); }

.pagination-wrap a.active { color: #f3b014; font-weight: 700; border-color: #f3b014; background: rgba(243,176,20,.06); }

.pagination-wrap .page-sep { color: rgba(255,255,255,.06); padding: 0 8px; user-select: none; display: inline-block; }

@media (max-width: 800px) {

    .announce-section { padding: 0 0 60px; }

    .announce-inner { padding: 0 24px; }

    .cat-bar { padding: 12px 14px; gap: 8px; }
    .cat-bar .cat-item { font-size: 12px; padding: 6px 14px; }

    .search-zone { margin-bottom: 24px; }

    .spotlight .spot-img { height: 240px; }

    .spotlight .spot-title-bar { padding: 60px 20px 16px; }

    .spotlight .spot-info { padding: 16px 20px 20px; }

    }

/* ── 清除筛选按钮 ── */

.clear-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,.3);
    text-decoration: none;
    padding: 6px 16px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 4px;
    transition: color .25s, border-color .25s, background .25s;
    letter-spacing: .5px;
}

.clear-filter-btn:hover {
    color: #fff;
    border-color: rgba(255,255,255,.15);
    background: rgba(255,255,255,.04);
}

@media (max-width: 480px) {

    .announce-section { padding: 0 0 40px; }

    .announce-inner { padding: 0 16px; }

    .cat-bar { padding: 10px 12px; gap: 6px; margin-bottom: 24px; }
    .cat-bar .cat-item { font-size: 11px; padding: 5px 12px; gap: 5px; }
    .cat-bar .cat-dot { width: 5px; height: 5px; }

    .search-box { padding: 0 14px; border-radius: 4px; }

    .search-box input { font-size: 14px; padding: 12px 0; }

    .hot-tags a { font-size: 12px; padding: 3px 10px; }
    .hot-tags a.active { color: #f3b014; border-color: rgba(243,176,20,.25); background: rgba(243,176,20,.06); }

    .pagination-wrap a { padding: 7px 11px; font-size: 12px; }

}
/* -- Section bottom padding (mobile adj) -- */

.announce-section{padding-top:40px}@media(max-width:768px){.announce-section{padding-top:30px}}


/* -- Avatar link (externalized from authorAvatar) -- */
.author-link { color:inherit; vertical-align:middle; display:inline-flex; align-items:center; gap:4px; }
.author-avatar { border-radius:50%; object-fit:cover; vertical-align:middle; }

/* -- Search clear button -- */
.search-clear { background:none; border:none; cursor:pointer; color:rgba(255,255,255,.2); padding:10px 8px; font-size:14px; transition:color .2s; }
.search-clear:hover { color:rgba(255,255,255,.6); }
