/* ----------------------------------------------------------------
    新闻公告列表样式
    扁平化设计，所有类名带 hc- 前缀
-----------------------------------------------------------------*/

/* ==================== Info Section ==================== */
#section-info {
    position: relative;
}

#section-info>* {
    position: relative;
    z-index: 2;
}


/* ==================== 新闻公告面板 ==================== */
.hc-news-panel {
    display: flex;
    background: #fff;
    overflow: hidden;
    box-shadow:
        0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.04),
        0 0.375rem 1rem rgba(0, 0, 0, 0.06),
        0 0.75rem 2rem rgba(14, 88, 173, 0.04);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.hc-news-panel:hover {
    box-shadow:
        0 0.125rem 0.375rem rgba(0, 0, 0, 0.06),
        0 0.5rem 1.5rem rgba(0, 0, 0, 0.08),
        0 1rem 3rem rgba(14, 88, 173, 0.06);
}

.hc-news-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
    background: linear-gradient(180deg, #0078D7 0%, #005a9e 100%);
    box-shadow:
        2px 0 8px rgba(0, 120, 215, 0.3),
        inset -1px 0 0 rgba(255, 255, 255, 0.2);
    min-width: 3.5rem;
    flex-shrink: 0;
}

.hc-news-title-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    writing-mode: vertical-lr;
    text-orientation: upright;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.3rem;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hc-news-title-vertical span {
    display: block;
}

.hc-news-more:hover i {
    transform: translateX(0.1875rem);
}


/* ==================== 新闻列表 ==================== */
.hc-news-list {
    flex: 1;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
}

.hc-news-footer-item {
    display: inline-flex;
    align-items: center;
    align-self: flex-end;
    padding: 0.875rem 1.5rem;
    text-decoration: none;
    margin: 0 0.5rem;
    border-radius: 0.375rem;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.hc-news-footer-item:hover {
    color: #1a6bc4;
}

.hc-news-footer-item .hc-more-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.hc-news-footer-item:hover .hc-more-arrow {
    transform: translateX(0.375rem);
}

.hc-news-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 0.5rem;
    border-radius: 0;
    overflow: hidden;
}

.hc-news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hc-news-item:hover::before {
    transform: translateX(0);
}

.hc-news-item:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hc-news-tag {
    flex-shrink: 0;
    padding: 0.1875rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 0.125rem;
    margin-right: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.025rem;
}

.hc-tag-notice {
    background: #e8f4ff;
    color: #0e58ad;
}

.hc-tag-activity {
    background: #e8fff0;
    color: #00a854;
}

.hc-tag-news {
    background: #fff7e6;
    color: #fa8c16;
}

.hc-tag-important {
    background: #fff1f0;
    color: #f5222d;
}

.hc-news-text {
    flex: 1;
    font-size: 1rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.hc-news-item:hover .hc-new-dot {
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 77, 79, 0.5);
}

.hc-news-item:hover .hc-news-text {
    color: #0e58ad;
}

.hc-news-date {
    flex-shrink: 0;
    font-size: 0.9rem;
    margin-left: 1.25rem;
    font-variant-numeric: tabular-nums;
    color: #333;
}


/* ==================== 新闻条目变体 - 带序号 ==================== */
.hc-news-item-numbered {
    counter-increment: news-counter;
}

.hc-news-item-numbered::after {
    content: counter(news-counter, decimal-leading-zero);
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f0f0;
    transition: color 0.2s ease;
}

.hc-news-item-numbered:hover::after {
    color: #e6f0ff;
}

.hc-news-list-numbered {
    counter-reset: news-counter;
}


/* ==================== 新闻条目变体 - 卡片式 ==================== */
.hc-news-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0.5rem 1rem 1rem;
}

.hc-news-card {
    background: #fafafa;
    border-radius: 0.5rem;
    padding: 1.25rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hc-news-card:hover {
    background: #f0f5ff;
    transform: translateY(-0.125rem);
}

.hc-news-card .hc-news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hc-news-card .hc-news-text {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 1rem;
    line-height: 1.6;
}

.hc-news-card .hc-news-date {
    margin-left: 0;
    font-size: 0.75rem;
}


/* ==================== 新闻条目变体 - 紧凑型 ==================== */
.hc-news-list-compact .hc-news-item {
    padding: 0.625rem 1rem;
    margin: 0 0.25rem;
}

.hc-news-list-compact .hc-news-tag {
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
    margin-right: 0.75rem;
}

.hc-news-list-compact .hc-news-text {
    font-size: 0.875rem;
}

/* ==================== 信息服务区域背景 ==================== */

.hc-info-service-section {
    /* background: linear-gradient(135deg, #e6f4ff 0%, #f3e8ff 50%, #fff1e6 100%); */
    background: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.hc-info-service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 10% 20%, rgba(24, 144, 255, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 80%, rgba(114, 46, 209, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(250, 140, 22, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hc-info-service-section>* {
    position: relative;
    z-index: 1;
}

.hc-news-list-compact .hc-news-date {
    font-size: 0.75rem;
    margin-left: 1rem;
}

/* ----------------------------------------------------------------
    信息卡片样式
    用于通知公告、资源动态、培训讲座等卡片展示
-----------------------------------------------------------------*/

/* ==================== 卡片容器 ==================== */
.hc-info-card {
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    box-shadow:
        0 0.125rem 0.5rem rgba(0, 0, 0, 0.04),
        0 0.5rem 1.5rem rgba(0, 0, 0, 0.06),
        0 1rem 3rem rgba(14, 88, 173, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 1.5rem;
}

.hc-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.25rem;
    background: linear-gradient(90deg, var(--card-color-start), var(--card-color-end));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hc-info-card:hover {
    transform: translateY(-0.5rem);
    box-shadow:
        0 0.25rem 1rem rgba(0, 0, 0, 0.06),
        0 1rem 2.5rem rgba(0, 0, 0, 0.08),
        0 2rem 5rem rgba(14, 88, 173, 0.08);
}

.hc-info-card:hover::before {
    opacity: 1;
}

/* ==================== 卡片主题色 ==================== */
.hc-info-card-notice {
    --card-color-start: #52c41a;
    --card-color-end: #95de64;
    --card-color-light: #f6ffed;
    --card-color-icon: linear-gradient(135deg, #52c41a 0%, #95de64 50%, #73d13d 100%);
}

.hc-info-card-resource {
    --card-color-start: #00a854;
    --card-color-end: #73d13d;
    --card-color-light: #e8fff0;
    --card-color-icon: linear-gradient(135deg, #00a854 0%, #73d13d 50%, #52c41a 100%);
}

.hc-info-card-training {
    --card-color-start: #722ed1;
    --card-color-end: #b37feb;
    --card-color-light: #f9f0ff;
    --card-color-icon: linear-gradient(135deg, #722ed1 0%, #b37feb 50%, #9254de 100%);
}

.hc-info-card-newbooks {
    --card-color-start: #fa8c16;
    --card-color-end: #ffc53d;
    --card-color-light: #fff7e6;
    --card-color-icon: linear-gradient(135deg, #fa8c16 0%, #ffc53d 50%, #faad14 100%);
}

.hc-info-card-news {
    --card-color-start: #1890ff;
    --card-color-end: #69c0ff;
    --card-color-light: #e6f7ff;
    --card-color-icon: linear-gradient(135deg, #1890ff 0%, #69c0ff 50%, #40a9ff 100%);
}

/* ==================== 卡片头部 ==================== */
.hc-info-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 1.5rem 1.25rem;
    border-bottom: 0.0625rem solid rgba(0, 0, 0, 0.04);
    position: relative;
}

.hc-info-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1rem;
    background: var(--card-color-light, #f5f5f5);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hc-info-card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    background: var(--card-color-icon, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hc-info-card:hover .hc-info-card-icon::before {
    opacity: 1;
}

.hc-info-card-icon i {
    font-size: 2rem;
    color: var(--card-color-start, #666);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.hc-info-card:hover .hc-info-card-icon i {
    background: var(--card-color-icon, currentColor);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.1);
}

.hc-info-card-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    flex: 1;
    margin-left: 1.25rem;
}

.hc-info-card-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 50%, #2a2a2a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.hc-info-card-subtitle {
    font-size: 0.625rem;
    color: #999;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1;
}

.hc-info-card-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hc-info-card-more:hover {
    color: #1a6bc4;
}

.hc-more-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.hc-catalog-arrow img,
.hc-more-arrow img {
    width: 1.75rem;
    height: auto;
}

.hc-info-card-more:hover .hc-more-arrow {
    transform: translateX(0.375rem);
}

/* ==================== 卡片内容 ==================== */
.hc-info-card-body {
    padding: 0.5rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hc-info-item {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    margin: 0 0.5rem;
    border-radius: 0.5rem;
    gap: 0.75rem;
}

.hc-info-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.1875rem;
    height: 0;
    background: linear-gradient(180deg, var(--card-color-start), var(--card-color-end));
    border-radius: 0.125rem;
    transition: height 0.25s ease;
}

.hc-info-item:hover {
    background: var(--card-color-light);
}

.hc-info-item:hover::before {
    height: 1.75rem;
}

.hc-info-tag {
    flex-shrink: 0;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.025rem;
    transition: all 0.25s ease;
}

.hc-tag-important {
    background: linear-gradient(135deg, #fff1f0 0%, #ffe7e6 100%);
    color: #f5222d;
}

.hc-tag-notice {
    background: linear-gradient(135deg, #e8f4ff 0%, #d6e8ff 100%);
    color: #0e58ad;
}

.hc-tag-new {
    background: linear-gradient(135deg, #e8fff0 0%, #d6f5e0 100%);
    color: #00a854;
}

.hc-tag-update {
    background: linear-gradient(135deg, #fff7e6 0%, #ffefd6 100%);
    color: #fa8c16;
}

.hc-tag-hot {
    background: linear-gradient(135deg, #fff1f0 0%, #ffe7e6 100%);
    color: #f5222d;
}

.hc-tag-activity {
    background: linear-gradient(135deg, #f0f5ff 0%, #e0e8ff 100%);
    color: #2f54eb;
}

.hc-info-item:hover .hc-info-tag {
    transform: scale(1.05);
}

.hc-info-text {
    flex: 1;
    font-size: 0.9375rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.25s ease;
    line-height: 1.5;
}

.hc-info-item:hover .hc-info-text {
    color: var(--card-color-start);
}

.hc-info-date {
    flex-shrink: 0;
    font-size: 0.8125rem;
    color: #bbb;
    font-variant-numeric: tabular-nums;
    transition: color 0.25s ease;
}

.hc-info-item:hover .hc-info-date {
    color: #999;
}

/* ----------------------------------------------------------------
    可展开信息列表样式
    默认显示标题和日期，hover时展开显示图片和摘要
-----------------------------------------------------------------*/

/* ==================== 可展开列表容器 ==================== */
.hc-expandable-list {
    display: flex;
    flex-direction: column;
}

/* ==================== 可展开列表项 ==================== */
.hc-expandable-item {
    position: relative;
    background: transparent;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
    margin: 0 0.5rem;
}

.hc-expandable-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0.1875rem;
    height: 100%;
    background: linear-gradient(180deg, var(--card-color-start), var(--card-color-end));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hc-expandable-item:hover::before {
    opacity: 1;
}

/* ==================== 新消息圆点 ==================== */
.hc-new-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.5rem;
    height: 0.5rem;
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    animation: dot-pulse 2s ease-in-out infinite;
    margin-right: 1rem;
}

.hc-new-dot::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: dot-glow 2s ease-in-out infinite;
}

.hc-new-dot::after {
    content: '';
    position: absolute;
    width: 0.25rem;
    height: 0.25rem;
    background: #fff;
    border-radius: 50%;
    opacity: 0.8;
}

@keyframes dot-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

@keyframes dot-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
        box-shadow: 0 0 0 0 rgba(255, 77, 79, 0.4);
    }

    50% {
        transform: scale(2);
        opacity: 0;
        box-shadow: 0 0 0 0.5rem rgba(255, 77, 79, 0);
    }
}

/* 圆点颜色变体 */
.hc-new-dot.hc-dot-primary {
    background: linear-gradient(135deg, var(--card-color-start, #0e58ad), var(--card-color-end, #4fc3f7));
}

.hc-new-dot.hc-dot-primary::before {
    background: inherit;
    animation: dot-glow-primary 2s ease-in-out infinite;
}

@keyframes dot-glow-primary {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
        box-shadow: 0 0 0 0 var(--card-color-glow, rgba(14, 88, 173, 0.4));
    }

    50% {
        transform: scale(2);
        opacity: 0;
        box-shadow: 0 0 0 0.5rem var(--card-color-glow-transparent, rgba(14, 88, 173, 0));
    }
}

.hc-new-dot.hc-dot-success {
    background: linear-gradient(135deg, #52c41a, #73d13d);
}

.hc-new-dot.hc-dot-warning {
    background: linear-gradient(135deg, #faad14, #ffc53d);
}

.hc-new-dot.hc-dot-danger {
    background: linear-gradient(135deg, #ff4d4f, #ff7875);
}

/* 静态圆点（无动画） */
.hc-new-dot.hc-dot-static {
    animation: none;
}

.hc-new-dot.hc-dot-static::before {
    animation: none;
    transform: scale(1.5);
    opacity: 0.3;
}

/* ==================== 简洁模式（默认状态） ==================== */
.hc-expandable-compact {
    display: flex;
    align-items: center;
    padding: 0.405rem 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    gap: 0.5rem;
    border-radius: 0;
}

.hc-expandable-item {
    border-radius: 0;
    overflow: visible;
    position: relative;
    transition: background 0.15s ease;
}

.hc-expandable-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.hc-expandable-compact .hc-new-dot {
    margin-right: 0.25rem;
}

.hc-expandable-tag {
    flex-shrink: 0;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.025rem;
    transition: all 0.3s ease;
}

.hc-expandable-title {
    flex: 1;
    font-size: 1rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s ease;
    line-height: 1.5;
}

.hc-expandable-date {
    flex-shrink: 0;
    color: #333;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
    transition: color 0.3s ease;
}

/* ==================== 展开模式（hover状态） ==================== */
.hc-expandable-detail {
    display: flex;
    gap: 1rem;
    padding: 0 1rem 1rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hc-expandable-item:hover .hc-expandable-detail {
    max-height: 12.5rem;
    opacity: 1;
}

/* ==================== 封面图片 ==================== */
.hc-expandable-image {
    flex-shrink: 0;
    width: 7.5rem;
    height: 5rem;
    border-radius: 0.375rem;
    overflow: hidden;
    background: #f5f5f5;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hc-expandable-item:hover .hc-expandable-image {
    opacity: 1;
    transform: scale(1);
}

.hc-expandable-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hc-expandable-item:hover .hc-expandable-image img {
    transform: scale(1.05);
}

/* ==================== 内容区域 ==================== */
.hc-expandable-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}

.hc-expandable-item:hover .hc-expandable-content {
    opacity: 1;
    transform: translateY(0);
}

.hc-expandable-summary {
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== Hover效果 ==================== */
.hc-expandable-item:hover {
    background: var(--card-color-light);
}

.hc-expandable-item:hover .hc-expandable-title {
    color: var(--card-color-start);
}

.hc-expandable-item:hover .hc-expandable-tag {
    transform: scale(1.05);
}

.hc-expandable-item:hover .hc-expandable-date {
    color: #999;
}

/* ==================== 无图片模式 ==================== */
.hc-expandable-item.no-image .hc-expandable-detail {
    padding-left: 1rem;
}

.hc-expandable-item.no-image .hc-expandable-content {
    width: 100%;
}

.hc-expandable-item.no-image .hc-expandable-summary {
    padding-left: 0;
}


/* ==================== 讲座列表 ==================== */
.hc-lecture-list {
    flex: 1;
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
}

.hc-lecture-item {
    display: flex;
    align-items: flex-start;
    padding: 0.8rem 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 0 1rem;
    border-radius: 0;
    overflow: hidden;
    border-bottom: 1px dashed #f0f0f0;
}

.hc-lecture-item:last-child {
    border-bottom: none;
}

.hc-lecture-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hc-lecture-item:hover::before {
    transform: translateX(0);
}

.hc-lecture-item:hover {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.hc-lecture-item:hover .hc-new-dot {
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 77, 79, 0.5);
}

.hc-lecture-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hc-lecture-title {
    font-size: 1rem;
    color: #1a1a1a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.hc-lecture-item:hover .hc-lecture-title {
    color: #0e58ad;
}

.hc-lecture-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hc-lecture-speaker {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.95rem;
    font-weight: 350;
    color: #333;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.hc-lecture-speaker i {
    font-size: 1.25rem;
    color: #aaa;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.hc-lecture-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 0.25rem;
    font-weight: 300;
}

.hc-lecture-location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.95rem;
    font-weight: 350;
    color: #333;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.hc-lecture-location i {
    font-size: 1.25rem;
    color: #aaa;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.hc-lecture-list-speaker {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.hc-lecture-list-speaker i {
    font-size: 1rem;
    color: #aaa;
    flex-shrink: 0;
}

.hc-lecture-list-location {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

.hc-lecture-list-location i {
    font-size: 1rem;
    color: #aaa;
    flex-shrink: 0;
}

.hc-lecture-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 4.5rem;
    padding: 0.625rem 0.875rem;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 0.0625rem solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0.25rem 1rem rgba(0, 0, 0, 0.05),
        inset 0 0.0625rem 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hc-lecture-time::before {
    content: '\eaa8';
    font-family: 'icomoon';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: rgba(14, 88, 173, 0.06);
    pointer-events: none;
    z-index: 0;
}

.hc-lecture-item:hover .hc-lecture-time {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow:
        0 0.375rem 1.25rem rgba(0, 0, 0, 0.08),
        inset 0 0.0625rem 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-0.125rem);
}

.hc-lecture-item:hover .hc-lecture-time::before {
    color: rgba(14, 88, 173, 0.12);
}

.hc-lecture-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
    padding-left: 1rem;
}

.hc-lecture-list-time {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #666;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

.hc-lecture-list-time::before {
    content: '\eaa8';
    font-family: 'icomoon';
    font-size: 1rem;
    color: #aaa;
    flex-shrink: 0;
}

.hc-lecture-hours {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #1a365d;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.025rem;
}

.hc-lecture-date {
    font-size: 0.6875rem;
    color: #4a5568;
    margin-top: 0.125rem;
    font-variant-numeric: tabular-nums;
}

.hc-lecture-list-hours {
    font-size: 0.875rem;
    color: #666;
    font-variant-numeric: tabular-nums;
}

.hc-lecture-list-date {
    display: none;
}

/* ==================== 讲座即将开始标识 ==================== */
.hc-lecture-upcoming {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.125rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #fa8c16, #ffa940);
    border-radius: 0.25rem;
    box-shadow: 0 0.125rem 0.375rem rgba(250, 140, 22, 0.4);
    z-index: 1;
    animation: upcoming-pulse 2s ease-in-out infinite;
    letter-spacing: 0.025rem;
}

.hc-lecture-upcoming::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: inherit;
    animation: upcoming-glow 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes upcoming-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes upcoming-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
        box-shadow: 0 0 0 0 rgba(250, 140, 22, 0.4);
    }

    50% {
        transform: scale(1.3);
        opacity: 0;
        box-shadow: 0 0 0 0.375rem rgba(250, 140, 22, 0);
    }
}

.hc-lecture-item.is-upcoming .hc-lecture-list-time {
    color: #fa8c16;
}

.hc-lecture-item.is-upcoming .hc-lecture-list-time::before {
    color: #fa8c16;
}

.hc-lecture-item.is-upcoming .hc-lecture-time {
    border-color: rgba(250, 140, 22, 0.3);
    box-shadow:
        0 0.25rem 1rem rgba(250, 140, 22, 0.1),
        inset 0 0.0625rem 0 rgba(255, 255, 255, 0.5);
}

.hc-lecture-item.is-upcoming .hc-lecture-time::before {
    color: rgba(250, 140, 22, 0.1);
}

.hc-lecture-item.is-upcoming:hover .hc-lecture-time {
    border-color: rgba(250, 140, 22, 0.5);
    box-shadow:
        0 0.375rem 1.25rem rgba(250, 140, 22, 0.15),
        inset 0 0.0625rem 0 rgba(255, 255, 255, 0.6);
}

/* 新书通报列表 */
.new-book-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
    gap: 2rem;
}

.new-book-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    border-radius: 0.1rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.new-book-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
}

.new-book-cover {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: #f5f5f5;
}

.new-book-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.new-book-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    min-height: calc(0.875rem * 1.4 * 2);
}

.new-book-date {
    font-size: 0.75rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.hc-book-date i {
    font-size: 0.875rem;
}


/* ==================== 新书通报 ==================== */
.hc-new-books-container {
    display: flex;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    height: 20rem;
    padding: 0 1rem;
}

.hc-featured-book {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    min-width: 0;
    overflow: hidden;
}

.hc-featured-cover {
    position: relative;
    width: 100%;
    max-height: 18rem;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hc-featured-cover img {
    width: 100%;
    height: 100%;
    max-height: 18rem;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.hc-featured-cover:hover img {
    transform: scale(1.05);
}

.hc-featured-info {
    position: relative;
    backdrop-filter: blur(12px);
    padding: 1.25rem;
    padding-right: 2rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.hc-featured-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.25rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.hc-featured-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 2.5rem;
    height: 0.75rem;
}

.hc-featured-book:hover .hc-featured-info {
    transform: translateY(-0.25rem);
    box-shadow:
        0 0.75rem 2rem rgba(0, 0, 0, 0.12),
        0 0.5rem 1rem rgba(255, 193, 7, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hc-featured-book:hover .hc-featured-info::before {
    opacity: 1;
}

.hc-featured-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hc-featured-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.hc-featured-date i {
    color: #FFA000;
    font-size: 0.875rem;
}

.hc-books-list-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    height: 100%;
    gap: 1rem;
}

.hc-books-swiper {
    flex: 1;
    height: 20rem;
    max-height: 100%;
    overflow: hidden;
}

.swiper-slide {
    height: 5rem !important;
    overflow: hidden;
}

.hc-books-list {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hc-book-item {
    position: relative;
    padding: 0.875rem 1.25rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    flex-shrink: 0;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.hc-book-item:hover {
    background: rgba(248, 250, 252, 0.9);
    transform: translateX(0.5rem);
    box-shadow: 0 0.25rem 1rem rgba(0, 120, 215, 0.1);
}

.hc-book-item:hover::before {
    height: 60%;
}

.hc-book-item.active {
    background: linear-gradient(135deg, rgba(0, 120, 215, 0.08) 0%, rgba(0, 120, 215, 0.12) 100%);
    box-shadow: 0 0.25rem 1rem rgba(0, 120, 215, 0.15);
}

.hc-book-item.active::before {
    height: 80%;
}

.hc-book-item-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.hc-book-item-title-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
    text-decoration: none;
}

.hc-book-item-title-link:hover {
    color: #0e58ad;
}

.hc-book-item-date {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #999;
}

.hc-book-item-date i {
    font-size: 0.75rem;
}

.hc-book-item-number {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: #ccc;
    transition: all 0.3s ease;
}

.hc-books-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 0.5rem;
}

.hc-books-nav-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.25rem;
    border: 2px solid rgba(0, 120, 215, 0.2);
    background: rgba(255, 255, 255, 0.9);
    color: #0078D7;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hc-books-nav-btn:hover {
    background: #0078D7;
    border-color: #0078D7;
    color: #fff;
    box-shadow: 0 0.25rem 1rem rgba(0, 120, 215, 0.3);
}

.hc-books-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.hc-books-nav-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 120, 215, 0.2);
    color: #0078D7;
    box-shadow: none;
}

.hc-books-indicator {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    text-align: center;
}

.hc-books-indicator span {
    color: #0078D7;
    font-weight: 600;
}

@media (max-width: 991.98px) {
    .hc-new-books-container {
        flex-direction: column;
        height: auto;
        min-height: 26rem;
    }

    .hc-featured-book {
        flex: 0 0 auto;
    }

    .hc-featured-cover {
        max-width: 12rem;
        margin: 0 auto;
    }

    .hc-books-list-container {
        max-height: 20rem;
    }

    /* 新书列表移动端适配 */
    .new-book-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .new-book-cover {
        width: 100%;
        aspect-ratio: 3 / 4;
        height: auto;
    }

    .new-book-title {
        font-size: 0.75rem;
    }

    .new-book-date {
        font-size: 0.6875rem;
    }

    .new-book-info {
        padding: 0.5rem;
    }
}

/* ==================== 空数据状态 ==================== */
.hc-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #bbb;
    text-align: center;
    width: 100%;
}

.hc-empty-state i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #d9d9d9;
}

.hc-empty-state p {
    font-size: 0.9375rem;
    margin: 0;
    color: #999;
}

/* ==================== 搜索结果分页 ==================== */
.hc-result-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1rem;
    background: #fff;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.hc-pagination-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #666;
}

.hc-pagination-info strong {
    color: #0e58ad;
    font-weight: 600;
}

.hc-pagination-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hc-pagination-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    height: 1.75rem;
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.1rem;
    color: #777;
    font-size: 0.8125rem;
    font-weight: 500;
    font-family: 'Consolas', 'Monaco', monospace;
    letter-spacing: 0.05rem;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.hc-pagination-total,
.hc-pagination-pages {
    color: #666;
    font-size: 0.8125rem;
    margin-left: 0.25rem;
}

.hc-pagination-total strong,
.hc-pagination-pages strong {
    color: #0e58ad;
    font-weight: 600;
    margin: 0 0.125rem;
}

.hc-pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.5rem;
    height: 1.75rem;
    padding: 0 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.1rem;
    color: #777;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.hc-pagination-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: left 0.5s ease;
}

.hc-pagination-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(14, 88, 173, 0.3);
    color: #0a4080;
    box-shadow: 0 0.25rem 1rem rgba(14, 88, 173, 0.15);
    transform: translateY(-0.125rem);
}

.hc-pagination-btn:hover::before {
    left: 100%;
}

.hc-pagination-btn.disabled {
    background: rgba(240, 240, 240, 0.5);
    border-color: rgba(200, 200, 200, 0.3);
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.hc-pagination-btn.disabled::before {
    display: none;
}

@media (max-width: 576px) {
    .hc-result-pagination {
        padding: 1.5rem 0.75rem;
    }

    .hc-pagination-info {
        gap: 1rem;
        font-size: 0.8125rem;
    }

    .hc-pagination-btn {
        min-width: 3rem;
        height: 1.5rem;
        padding: 0 0.5rem;
        font-size: 0.75rem;
    }

    .hc-pagination-current {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }
}