/* ====================================================================
 * 出行网 - 实时路况列表页专用样式
 *
 * 所有规则均以 .lk- 前缀，与 r/cms/* 、site-extra.css 不会冲突。
 * 依赖：通过 <link> 同时引入 site-extra.css。
 * ==================================================================== */

/* ====================================================================
 * 注意：不要在 page-lk.css 中定义裸的 body / #main / #header 规则。
 * list.html 的骨架（#main / .page.box / #header / #footer）与 index.html
 * 完全一致，依靠 layout.css + site-extra.css 渲染。
 * 本文件只负责 .lk-* 内容卡片内部的样式。
 * ==================================================================== */

/* ====== 面包屑 ======
   宽度由外层 <div class="page box">（layout.css 提供，960px 居中）约束，
   这里不要再写固定 width / margin:auto，避免双层约束互相干扰。 */
.lk-crumbs {
    margin: 10px 0 6px;
    height: 32px;
    line-height: 32px;
    padding: 0 14px;
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 4px;
    color: #6b7c93;
    font-size: 12px;
    box-shadow: 0 1px 2px rgba(20, 60, 120, .04);
}
.lk-crumbs .sep { margin: 0 6px; color: #b8c4d2; }
.lk-crumbs .cur { color: #226e30; font-weight: bold; }

/* ====== 主体卡片 ======
   同理：宽度由 .page.box 决定；这里是样式美化 + 内容区圆角。 */
.lk-wrapper {
    margin: 0 0 12px;
    background: #ffffff;
    border: 1px solid #e1e8f0;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(20, 60, 120, .06);
    overflow: hidden;
}
.lk-head {
    height: 46px;
    line-height: 46px;
    padding: 0 18px;
    background: linear-gradient(90deg, #226e30 0%, #43a552 100%);
    color: #ffffff;
    border-bottom: 1px solid #cfe5d6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lk-head .title {
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}
.lk-head .title .ico {
    display: inline-block;
    width: 4px;
    height: 16px;
    margin-right: 8px;
    background: #ffd04d;
    border-radius: 2px;
    vertical-align: -3px;
}
.lk-head .stat {
    font-size: 12px;
    color: #e8f6e3;
}
.lk-head .stat em {
    color: #ffd04d;
    font-style: normal;
    font-weight: bold;
    padding: 0 2px;
}

/* ====== 列表项 ====== */
.lk-list { padding: 4px 18px; }
.lk-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e1e8f0;
}
.lk-row:last-child { border-bottom: none; }
.lk-row .idx {
    flex: 0 0 26px;
    height: 22px;
    line-height: 22px;
    margin-right: 10px;
    border-radius: 11px;
    background: #f0f4f9;
    color: #6b7c93;
    font-size: 12px;
    text-align: center;
}
.lk-row .idx.hot {
    background: linear-gradient(180deg, #ff6f3c 0%, #e3491b 100%);
    color: #ffffff;
    font-weight: bold;
}
.lk-row .ico {
    flex: 0 0 14px;
    height: 14px;
    margin-right: 8px;
    /*background: url(../r/cms/www/red/img/tag.gif) no-repeat 0 0;*/
}
.lk-row .title-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.lk-row .title-text a {
    color: #2f4a3a;
    font-size: 14px;
    text-decoration: none;
}
.lk-row .title-text a:hover { color: #226e30; text-decoration: underline; }
.lk-row .meta {
    flex: 0 0 auto;
    color: #97a4b3;
    font-size: 12px;
    padding-left: 12px;
}

/* ====== 加载中 / 空数据 ====== */
.lk-loading,
.lk-empty {
    padding: 50px 0;
    text-align: center;
    color: #97a4b3;
    font-size: 13px;
}
.lk-loading .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 2px;
    border-radius: 50%;
    background: #226e30;
    animation: lk-blink 1.2s infinite ease-in-out;
}
.lk-loading .dot:nth-child(2) { animation-delay: .15s; }
.lk-loading .dot:nth-child(3) { animation-delay: .3s; }
@keyframes lk-blink {
    0%, 80%, 100% { opacity: .25; transform: scale(.8); }
    40%           { opacity: 1;    transform: scale(1); }
}

/* ====== 分页器 ====== */
.lk-pager {
    padding: 16px 18px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    background: #fbfcfe;
    border-top: 1px solid #eef2f7;
}
.lk-pager a,
.lk-pager span {
    display: inline-block;
    min-width: 32px;
    height: 30px;
    line-height: 28px;
    padding: 0 10px;
    border: 1px solid #d6e0ec;
    border-radius: 3px;
    background: #ffffff;
    color: #495a73;
    font-size: 12px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
}
.lk-pager a:hover { border-color: #226e30; color: #226e30; }
.lk-pager .cur {
    background: linear-gradient(180deg, #43a552 0%, #226e30 100%);
    border-color: #226e30;
    color: #ffffff;
    font-weight: bold;
    cursor: default;
}
.lk-pager .disabled {
    color: #b8c4d2;
    background: #f5f7fa;
    border-color: #e3e8ef;
    cursor: not-allowed;
}
.lk-pager .disabled:hover { border-color: #e3e8ef; color: #b8c4d2; }
.lk-pager .gap {
    background: transparent;
    border-color: transparent;
    color: #97a4b3;
    cursor: default;
}
.lk-pager .info {
    background: transparent;
    border-color: transparent;
    color: #6b7c93;
    margin-left: 8px;
}

/* ====== 跳转到指定页 ====== */
.lk-jump {
    margin-left: 6px;
    color: #6b7c93;
    font-size: 12px;
}
.lk-jump input {
    width: 42px;
    height: 28px;
    line-height: 28px;
    margin: 0 4px;
    padding: 0 6px;
    border: 1px solid #d6e0ec;
    border-radius: 3px;
    text-align: center;
    font-size: 12px;
    outline: none;
}
.lk-jump input:focus { border-color: #226e30; }
.lk-jump button {
    height: 30px;
    padding: 0 10px;
    margin-left: 2px;
    border: 1px solid #226e30;
    border-radius: 3px;
    background: #43a552;
    color: #ffffff;
    font-size: 12px;
    cursor: pointer;
}
.lk-jump button:hover { background: #226e30; }
