/* ============================================================
   heie.cn 历史上的今天（historytoday）页面样式
   静态资源域名: img.heie.cn（绑定 heiehtml/img 目录）
   ============================================================ */

/* ---------- 面包屑 ---------- */
.crumb { padding: 14px 0 10px; color: #888; font-size: 13px; }
.crumb a { color: #666; }
.crumb a:hover { color: #1677ff; }

/* ---------- 通用卡片 ---------- */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 18px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
    transition: box-shadow .25s;
}
.card:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.card-title {
    display: inline-block;
    font-size: 18px;
    color: #222;
    padding-bottom: 10px;
    margin-bottom: 18px;
    position: relative;
}
.card-title::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 36px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #1677ff, #4096ff);
}

/* ---------- 搜索横幅 ---------- */
.hero-banner {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 50%, #b37feb 100%);
    border-radius: 12px;
    padding: 40px 36px 36px;
    margin-bottom: 22px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.hero-banner::after {
    content: '';
    position: absolute;
    right: -40px; top: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.hero-banner h1 { font-size: 30px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.hero-banner .hero-desc { font-size: 15px; opacity: .9; margin-bottom: 22px; position: relative; z-index: 1; }
.hero-search {
    display: flex;
    max-width: 520px;
    height: 46px;
    border-radius: 23px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
    position: relative; z-index: 1;
}
.hero-search input { flex: 1; border: none; padding: 0 20px; font-size: 15px; color: #333; }
.hero-search input::placeholder { color: #bbb; }
.hero-search button {
    border: none; background: #722ed1; color: #fff;
    padding: 0 28px; font-size: 15px; font-weight: 500; cursor: pointer;
    transition: background .2s;
}
.hero-search button:hover { background: #531dab; }

/* ---------- 历史事件列表 ---------- */
.history-list { overflow: hidden; }
.history-list li {
    padding: 12px 10px;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: baseline;
    gap: 10px;
    line-height: 1.7;
}
.history-list li:last-child { border-bottom: none; }
.history-list li a {
    color: #333;
    font-size: 15px;
    flex: 1;
}
.history-list li a:hover { color: #722ed1; }
.history-list li span {
    color: #999;
    font-size: 13px;
    flex-shrink: 0;
}

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
    .hero-banner { padding: 28px 20px 24px; }
    .hero-banner h1 { font-size: 22px; }
    .hero-search { height: 40px; }
    .hero-search button { padding: 0 18px; }
    .card { padding: 18px 16px; }
    .history-list li { flex-wrap: wrap; }
}
