@charset "utf-8";
/*!
 * hnnews · 海南联播网 横版新闻门户主题
 * 传统新闻门户排版 / 图文并茂 / 支持微信分享
 * @version 1.0.0
 */

/* ============================================================
 * 1. 变量与基础
 * ============================================================ */
:root {
    --hn-red: #b01b1b;
    --hn-red-d: #8d1010;
    --hn-red-l: #cf2f2f;
    --hn-ink: #1b1b1b;
    --hn-ink-2: #333;
    --hn-gray: #666;
    --hn-gray-2: #9a9a9a;
    --hn-line: #e6e2dc;
    --hn-line-2: #f0ece7;
    --hn-bg: #f3f1ee;
    --hn-white: #fff;
    --hn-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
    --hn-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    --hn-wrap: 1240px;
    --hn-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    --hn-shadow-h: 0 8px 24px rgba(0, 0, 0, .12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* ------------------------------------------------------------------
 * 基础重置
 * 这里刻意只用「元素选择器」（特异性 0,0,1）：
 *   1. 作者样式优先于浏览器默认样式，所以重置依然生效；
 *   2. 特异性最低，任何 .hn-xxx 组件规则都能覆盖它。
 * 反面教材：写成 body.hn-page img（特异性 0,1,2）会压过
 *   .hn-slide img{height:100%}、.hn-search button{background}、
 *   .hn-carousel-dot{background}、.hn-footer-col h4{color:#fff}，
 *   导致图片撑不满框 / 按钮与轮播圆点丢样式 / 页脚标题变黑。
 * 也不要用 :where()：Chromium 88 以下的微信内置浏览器不支持。
 * ------------------------------------------------------------------ */
body.hn-page {
    margin: 0;
    background: var(--hn-bg);
    color: var(--hn-ink-2);
    font-family: var(--hn-sans);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .2s;
}

a:hover {
    color: var(--hn-red);
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-weight: 700;
    color: var(--hn-ink);
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: 0;
    background: none;
    color: inherit;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

.hn-wrap {
    max-width: var(--hn-wrap);
    margin: 0 auto;
    padding: 0 16px;
}

.hn-i {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -.14em;
    flex: 0 0 auto;
}

.hn-i-down {
    transform: rotate(90deg);
    font-size: .8em;
}

.hn-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* ============================================================
 * 2. 顶部工具条 / 公告
 * ============================================================ */
.hn-topbar {
    background: #191919;
    color: #b8b8b8;
    font-size: 12.5px;
    line-height: 34px;
}

.hn-topbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 34px;
}

.hn-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
}

.hn-topbar-split {
    color: #4a4a4a;
}

.hn-topbar-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hn-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    color: #b8b8b8;
    font-size: 12.5px;
    line-height: 34px;
}

.hn-topbar-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.hn-topbar-item .hn-i {
    font-size: 15px;
}

.hn-noticebar {
    background: #fffdf5;
    border-bottom: 1px solid var(--hn-line);
}

.hn-noticebar-in {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 38px;
    overflow: hidden;
}

.hn-noticebar-icon {
    color: var(--hn-red);
    font-size: 17px;
}

.hn-noticebar-track {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(90deg, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
}

.hn-noticebar-list {
    display: inline-flex;
    gap: 48px;
    padding-right: 48px;
}

.hn-noticebar-track.is-marquee .hn-noticebar-list {
    animation: hn-marquee 42s linear infinite;
    will-change: transform;
}

.hn-noticebar-item {
    color: #7a5c1e;
    font-size: 13.5px;
}

@keyframes hn-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ============================================================
 * 3. 页头（品牌 / 二维码 / 搜索）
 * ============================================================ */
.hn-header {
    background: var(--hn-white);
    border-bottom: 1px solid var(--hn-line-2);
}

.hn-header-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.hn-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.hn-logo {
    display: block;
}

.hn-logo img {
    display: block;
    height: 62px;
    width: auto;
}

.hn-slogan {
    padding-left: 18px;
    border-left: 1px solid var(--hn-line);
    color: var(--hn-gray-2);
    font-size: 13px;
    line-height: 1.6;
    max-width: 260px;
}

.hn-header-side {
    display: flex;
    align-items: center;
    gap: 22px;
}

.hn-header-qr {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 20px;
    border-right: 1px solid var(--hn-line);
}

.hn-header-qr img {
    width: 86px;
    height: 86px;
    border: 1px solid var(--hn-line);
    border-radius: 2px;
}

.hn-header-qr span {
    color: var(--hn-gray-2);
    font-size: 12px;
    line-height: 1.5;
}

.hn-header-search {
    width: 340px;
}

.hn-search {
    display: flex;
    height: 42px;
    border: 2px solid var(--hn-red);
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
}

.hn-search input {
    flex: 1;
    min-width: 0;
    padding: 0 14px;
    border: 0;
    outline: none;
    color: var(--hn-ink-2);
    font-size: 14px;
}

.hn-search input::placeholder {
    color: #b3b3b3;
}

.hn-search button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0 20px;
    background: var(--hn-red);
    color: #fff;
    font-size: 14px;
    letter-spacing: 1px;
}

.hn-search button:hover {
    background: var(--hn-red-d);
    color: #fff;
}

.hn-hotwords {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
    color: var(--hn-gray-2);
    font-size: 12.5px;
}

.hn-hotwords a {
    color: var(--hn-gray);
}

.hn-hotwords a:hover {
    color: var(--hn-red);
}

/* ============================================================
 * 4. 主导航
 * ============================================================ */
.hn-nav {
    position: sticky;
    top: 0;
    z-index: 60;
    background: linear-gradient(180deg, #c32222 0%, #a51414 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}

.hn-nav-in {
    display: flex;
    align-items: stretch;
    gap: 10px;
    height: 50px;
}

.hn-nav-list {
    display: flex;
    align-items: stretch;
    flex: 1;
    min-width: 0;
}

.hn-nav-list > li {
    position: relative;
    display: flex;
    align-items: center;
}

.hn-nav-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 50px;
    padding: 0 22px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
}

.hn-nav-list > li > a:hover,
.hn-nav-list > li.is-active > a {
    background: rgba(0, 0, 0, .22);
    color: #fff;
}

.hn-nav-list > li.is-active > a {
    box-shadow: inset 0 -3px 0 #ffd45e;
}

.hn-nav-home > a .hn-i {
    font-size: 17px;
}

.hn-nav-sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 148px;
    padding: 6px 0;
    background: #fff;
    border-top: 3px solid var(--hn-red);
    box-shadow: var(--hn-shadow-h);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all .2s;
    z-index: 20;
}

.hn-nav-more:hover .hn-nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hn-nav-sub a {
    display: block;
    padding: 9px 18px;
    color: var(--hn-ink-2);
    font-size: 14px;
    white-space: nowrap;
}

.hn-nav-sub a:hover {
    background: #faf7f7;
    color: var(--hn-red);
}

.hn-nav-actions {
    display: flex;
    align-items: center;
}

.hn-nav-contribute {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 16px;
    background: #ffd45e;
    color: #6b1a00;
    font-size: 14px;
    font-weight: 700;
    border-radius: 2px;
}

.hn-nav-contribute:hover {
    background: #ffc72c;
    color: #6b1a00;
}

.hn-nav-toggle {
    display: none;
    align-items: center;
    gap: 6px;
    height: 50px;
    padding: 0 6px 0 0;
    color: #fff;
    font-size: 15px;
}

/* ============================================================
 * 5. 主体容器 / 头条区
 * ============================================================ */
.hn-body {
    padding: 20px 0 40px;
}

.hn-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 372px;
    gap: 20px;
    margin-bottom: 20px;
}

.hn-hero-main {
    min-width: 0;
}

.hn-hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.hn-carousel {
    position: relative;
    background: #111;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--hn-shadow);
}

.hn-carousel-viewport {
    position: relative;
    height: 486px;
}

.hn-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease;
}

.hn-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.hn-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 7s linear;
}

.hn-slide.is-active img {
    transform: scale(1.09);
}

.hn-slide-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .55) 66%, rgba(0, 0, 0, .88) 100%);
}

.hn-slide-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 30px 58px;
    color: #fff;
}

.hn-slide-cat {
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 10px;
    background: var(--hn-red);
    color: #fff;
    font-size: 12.5px;
    font-style: normal;
    border-radius: 2px;
    letter-spacing: 1px;
}

.hn-slide-title {
    display: block;
    font-family: var(--hn-serif);
    font-size: 29px;
    line-height: 1.4;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
}

.hn-slide-desc {
    display: block;
    margin-top: 10px;
    max-width: 92%;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    line-height: 1.7;
}

.hn-slide-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    color: rgba(255, 255, 255, .7);
    font-size: 12.5px;
}

.hn-slide-meta .hn-i {
    margin-right: 5px;
    font-size: 14px;
}

.hn-carousel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 18px;
    height: 46px;
    background: rgba(12, 12, 12, .92);
}

.hn-carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hn-carousel-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    background: rgba(255, 255, 255, .35);
    border-radius: 50%;
    transition: all .25s;
}

.hn-carousel-dot.is-active {
    width: 24px;
    background: var(--hn-red-l);
    border-radius: 4px;
}

.hn-carousel-ctrl {
    display: flex;
    gap: 8px;
}

.hn-carousel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: rgba(255, 255, 255, .8);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 2px;
    font-size: 15px;
}

.hn-carousel-btn:hover {
    background: var(--hn-red);
    border-color: var(--hn-red);
    color: #fff;
}

.hn-carousel-thumbs {
    display: flex;
    gap: 1px;
    background: #2a2a2a;
}

.hn-carousel-thumb {
    flex: 1;
    min-width: 0;
    padding: 11px 12px;
    background: #232323;
    color: #bdbdbd;
    font-size: 12.5px;
    text-align: left;
    line-height: 1.5;
    border-top: 2px solid transparent;
    transition: all .2s;
}

.hn-carousel-thumb span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-carousel-thumb:hover {
    background: #2e2e2e;
    color: #fff;
}

.hn-carousel-thumb.is-active {
    background: var(--hn-red);
    border-top-color: #ffd45e;
    color: #fff;
}

/* ---- 右侧面板 ---- */
.hn-panel {
    background: var(--hn-white);
    border-radius: 2px;
    box-shadow: var(--hn-shadow);
    overflow: hidden;
}

.hn-panel-news {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.hn-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 46px;
    padding: 0 16px;
    background: linear-gradient(180deg, #fbf8f4, #f4efe9);
    border-bottom: 2px solid var(--hn-red);
    font-size: 17px;
    font-family: var(--hn-serif);
}

.hn-panel-title > span {
    color: var(--hn-ink);
}

.hn-panel-title > em {
    color: #c9bcae;
    font-size: 11px;
    font-style: normal;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hn-panel-more {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    color: var(--hn-gray-2);
    font-size: 15px;
}

.hn-panel-more:hover {
    color: var(--hn-red);
}

.hn-news-list {
    flex: 1;
    padding: 8px 16px 14px;
}

.hn-news-list li + li {
    border-top: 1px dashed var(--hn-line);
}

.hn-news-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
}

.hn-news-no {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    background: #ece7e1;
    color: #8a8071;
    font-size: 12px;
    font-weight: 700;
    border-radius: 2px;
}

.hn-news-no.is-top {
    background: var(--hn-red);
    color: #fff;
}

.hn-news-title {
    flex: 1;
    min-width: 0;
    font-size: 15.5px;
    color: var(--hn-ink);
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hn-news-list a:hover .hn-news-title {
    color: var(--hn-red);
}

.hn-news-date {
    flex: 0 0 auto;
    color: var(--hn-gray-2);
    font-size: 12px;
}

.hn-news-blank a,
.hn-news-blank {
    display: block;
    white-space: normal;
}

.hn-panel-promo {
    position: relative;
}

.hn-promo {
    position: relative;
    display: block;
    height: 168px;
    overflow: hidden;
}

.hn-promo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.hn-promo:hover img {
    transform: scale(1.05);
}

.hn-promo-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15) 45%, rgba(0, 0, 0, .72));
}

.hn-promo-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    color: #fff;
}

.hn-promo-text em {
    display: block;
    margin-bottom: 4px;
    color: #ffd45e;
    font-size: 12px;
    font-style: normal;
    letter-spacing: 1px;
}

.hn-promo-text strong {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.hn-promo:hover .hn-promo-text strong {
    color: #fff;
}

/* ---- 头条空状态 ---- */
.hn-hero-empty {
    position: relative;
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    box-shadow: var(--hn-shadow);
}

.hn-hero-empty-img {
    display: block;
    width: 100%;
    height: 330px;
    object-fit: cover;
}

.hn-hero-empty-body {
    padding: 24px 30px 30px;
}

.hn-hero-empty-body h2 {
    font-family: var(--hn-serif);
    font-size: 26px;
}

.hn-hero-empty-body p {
    margin-top: 12px;
    color: var(--hn-gray);
    font-size: 14.5px;
    line-height: 1.9;
}

.hn-hero-empty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hn-hero-empty-tags a {
    padding: 7px 16px;
    background: #faf7f4;
    border: 1px solid var(--hn-line);
    color: var(--hn-ink-2);
    font-size: 14px;
    border-radius: 2px;
}

.hn-hero-empty-tags a:hover {
    background: var(--hn-red);
    border-color: var(--hn-red);
    color: #fff;
}

/* ============================================================
 * 6. 最新播报
 * ============================================================ */
.hn-strip {
    margin-bottom: 20px;
    background: var(--hn-white);
    border-radius: 2px;
    box-shadow: var(--hn-shadow);
    overflow: hidden;
}

.hn-strip-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 18px;
    height: 48px;
    border-bottom: 1px solid var(--hn-line-2);
}

.hn-strip-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--hn-serif);
    font-size: 18px;
    color: var(--hn-ink);
}

.hn-strip-title .hn-i {
    color: var(--hn-red);
    font-size: 19px;
}

.hn-strip-line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--hn-line) 0 6px, transparent 6px 12px);
}

.hn-strip-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--hn-gray-2);
    font-size: 13px;
}

.hn-strip-more:hover {
    color: var(--hn-red);
}

.hn-strip-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0 28px;
    padding: 12px 18px 16px;
}

.hn-strip-list li {
    min-width: 0;
}

.hn-strip-list a {
    display: flex;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px dashed var(--hn-line);
}

.hn-strip-list li:nth-last-child(-n+2) a {
    border-bottom: 0;
}

.hn-strip-time {
    flex: 0 0 auto;
    padding-top: 1px;
    color: var(--hn-red);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.hn-strip-text {
    min-width: 0;
}

.hn-strip-text strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
    color: var(--hn-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hn-strip-text em {
    display: block;
    margin-top: 2px;
    color: var(--hn-gray-2);
    font-size: 12.5px;
    font-style: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hn-strip-list a:hover strong {
    color: var(--hn-red);
}

/* ============================================================
 * 7. 栏目板块
 * ============================================================ */
.hn-block {
    margin-bottom: 20px;
    padding: 0 18px 18px;
    background: var(--hn-white);
    border-radius: 2px;
    box-shadow: var(--hn-shadow);
}

.hn-row {
    display: grid;
    gap: 20px;
}

.hn-row-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hn-row-main {
    grid-template-columns: minmax(0, 1fr) 348px;
    align-items: start;
}

.hn-row-main .hn-block {
    margin-bottom: 0;
}

.hn-block-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0 13px;
    border-bottom: 2px solid var(--hn-ink);
}

.hn-block-title {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    padding-left: 12px;
    position: relative;
    font-family: var(--hn-serif);
    font-size: 21px;
}

.hn-block-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .18em;
    bottom: .18em;
    width: 5px;
    background: var(--hn-red);
    border-radius: 1px;
}

.hn-block-title a {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.hn-block-cn {
    color: var(--hn-ink);
}

.hn-block-en {
    color: #cdc4b8;
    font-size: 11.5px;
    font-family: var(--hn-sans);
    font-weight: 400;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.hn-block-desc {
    flex: 1;
    min-width: 0;
    color: var(--hn-gray-2);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hn-block-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--hn-gray-2);
    font-size: 13px;
}

.hn-block-more:hover {
    color: var(--hn-red);
}

.hn-block-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-top: 18px;
}

.hn-block-wide .hn-block-body {
    grid-template-columns: 340px minmax(0, 1fr);
}

.hn-block-half .hn-block-body {
    grid-template-columns: minmax(0, 1fr);
}

/* ---- 板块头条 ---- */
.hn-block-lead-link {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.hn-block-lead-img {
    display: block;
    height: 226px;
    overflow: hidden;
    background: #efeae4;
}

.hn-block-lead-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.hn-block-lead-link:hover .hn-block-lead-img img {
    transform: scale(1.05);
}

.hn-block-half .hn-block-lead-img {
    height: 194px;
}

.hn-block-lead-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 10px;
    background: rgba(176, 27, 27, .94);
    color: #fff;
    font-size: 12px;
    border-radius: 2px;
}

.hn-block-lead-body {
    display: block;
    padding-top: 12px;
}

.hn-block-lead-title {
    display: block;
    font-family: var(--hn-serif);
    font-size: 19px;
    line-height: 1.5;
    color: var(--hn-ink);
    font-weight: 700;
}

.hn-block-lead-link:hover .hn-block-lead-title {
    color: var(--hn-red);
}

.hn-block-lead-desc {
    display: block;
    margin-top: 8px;
    color: var(--hn-gray);
    font-size: 13.5px;
    line-height: 1.8;
}

.hn-block-lead-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--hn-line);
    color: var(--hn-gray-2);
    font-size: 12.5px;
}

.hn-block-lead-meta .hn-i {
    margin-right: 5px;
    font-size: 14px;
}

/* ---- 板块列表 ---- */
.hn-block-list li + li {
    border-top: 1px dashed var(--hn-line);
}

.hn-block-list a {
    display: flex;
    gap: 14px;
    padding: 11px 0;
}

.hn-block-half .hn-block-list a {
    padding: 9px 0;
}

.hn-block-li-img {
    flex: 0 0 auto;
    width: 132px;
    height: 86px;
    overflow: hidden;
    background: #efeae4;
    border-radius: 2px;
}

.hn-block-half .hn-block-li-img {
    width: 104px;
    height: 70px;
}

.hn-block-li-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.hn-block-list a:hover .hn-block-li-img img {
    transform: scale(1.06);
}

.hn-block-li-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.hn-block-li-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--hn-ink);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-block-list a:hover .hn-block-li-title {
    color: var(--hn-red);
}

.hn-block-li-desc {
    color: var(--hn-gray-2);
    font-size: 13px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-block-li-meta {
    color: #b5ac9f;
    font-size: 12px;
}

.hn-block-half .hn-block-li-desc {
    -webkit-line-clamp: 1;
}

/* ---- 板块空状态 ---- */
.hn-block-empty {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding-top: 18px;
}

.hn-block-empty-img {
    display: block;
    height: 186px;
    overflow: hidden;
    border-radius: 2px;
}

.hn-block-empty-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hn-block-empty-txt h3 {
    font-family: var(--hn-serif);
    font-size: 22px;
}

.hn-block-empty-txt p {
    margin-top: 10px;
    color: var(--hn-gray);
    font-size: 14px;
    line-height: 1.9;
}

.hn-block-empty-tag {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 12px;
    background: #fdf6ee;
    border: 1px dashed #e2d2ba;
    color: #a9865b;
    font-size: 12.5px;
    border-radius: 2px;
}

/* ============================================================
 * 8. 图片专区 / 图集
 * ============================================================ */
.hn-gallery {
    margin-bottom: 20px;
    padding: 0 18px 18px;
    background: var(--hn-white);
    border-radius: 2px;
    box-shadow: var(--hn-shadow);
}

.hn-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding-top: 18px;
}

.hn-gallery-card {
    position: relative;
    display: block;
    height: 232px;
    overflow: hidden;
    border-radius: 2px;
    background: #1a1a1a;
}

.hn-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.hn-gallery-card:hover img {
    transform: scale(1.07);
}

.hn-gallery-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .8) 100%);
}

.hn-gallery-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(176, 27, 27, .9);
    color: #fff;
    border-radius: 50%;
    font-size: 16px;
}

.hn-gallery-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 14px 13px;
    color: #fff;
}

.hn-gallery-text strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-gallery-text em {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-style: normal;
}

.hn-gallery-card:hover .hn-gallery-text strong {
    color: #ffd45e;
}

/* ============================================================
 * 9. 最新发布列表
 * ============================================================ */
.hn-latest {
    padding: 0 18px 18px;
    background: var(--hn-white);
    border-radius: 2px;
    box-shadow: var(--hn-shadow);
}

.hn-latest-list {
    padding-top: 6px;
}

.hn-latest-list li + li {
    border-top: 1px solid var(--hn-line-2);
}

.hn-latest-list a {
    display: flex;
    gap: 16px;
    padding: 14px 0;
}

.hn-latest-img {
    flex: 0 0 auto;
    width: 176px;
    height: 112px;
    overflow: hidden;
    border-radius: 2px;
    background: #efeae4;
}

.hn-latest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.hn-latest-list a:hover .hn-latest-img img {
    transform: scale(1.06);
}

.hn-latest-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.hn-latest-body strong {
    font-family: var(--hn-serif);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--hn-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-latest-list a:hover .hn-latest-body strong {
    color: var(--hn-red);
}

.hn-latest-body em {
    color: var(--hn-gray);
    font-size: 13.5px;
    font-style: normal;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-latest-meta {
    color: #b5ac9f;
    font-size: 12.5px;
    font-style: normal;
}

/* ============================================================
 * 10. 侧边栏
 * ============================================================ */
.hn-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.hn-side-block {
    padding: 0 16px 16px;
    background: var(--hn-white);
    border-radius: 2px;
    box-shadow: var(--hn-shadow);
}

.hn-side-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 0 12px;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--hn-ink);
    font-family: var(--hn-serif);
    font-size: 17px;
    color: var(--hn-ink);
}

.hn-side-title .hn-i {
    color: var(--hn-red);
    font-size: 18px;
}

.hn-hot-list li + li {
    border-top: 1px dashed var(--hn-line);
}

.hn-hot-list a {
    display: flex;
    gap: 11px;
    padding: 11px 0;
}

.hn-hot-rank {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    background: #eee9e2;
    color: #8d8474;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 2px;
    font-style: normal;
}

.hn-hot-rank-1 {
    background: #d62828;
    color: #fff;
}

.hn-hot-rank-2 {
    background: #f77f00;
    color: #fff;
}

.hn-hot-rank-3 {
    background: #fcbf49;
    color: #6b4a00;
}

.hn-hot-text {
    flex: 1;
    min-width: 0;
}

.hn-hot-text strong {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--hn-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-hot-list a:hover strong {
    color: var(--hn-red);
}

.hn-hot-text em {
    display: block;
    margin-top: 3px;
    color: #b5ac9f;
    font-size: 12px;
    font-style: normal;
}

.hn-cat-list li + li {
    border-top: 1px dashed var(--hn-line);
}

.hn-cat-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 0;
}

.hn-cat-list-name {
    font-size: 15px;
    color: var(--hn-ink);
}

.hn-cat-list a:hover .hn-cat-list-name {
    color: var(--hn-red);
}

.hn-cat-list-count {
    color: var(--hn-gray-2);
    font-size: 12.5px;
}

.hn-tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hn-tagcloud a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: #faf8f5;
    border: 1px solid var(--hn-line);
    color: var(--hn-ink-2);
    font-size: 13px;
    border-radius: 2px;
}

.hn-tagcloud a em {
    color: var(--hn-gray-2);
    font-size: 11px;
    font-style: normal;
}

.hn-tagcloud a:hover {
    background: var(--hn-red);
    border-color: var(--hn-red);
    color: #fff;
}

.hn-tagcloud a:hover em {
    color: rgba(255, 255, 255, .8);
}

.hn-follow {
    text-align: center;
}

.hn-follow img {
    width: 140px;
    height: 140px;
    border: 1px solid var(--hn-line);
    border-radius: 2px;
}

.hn-follow p {
    margin-top: 8px;
    color: var(--hn-gray-2);
    font-size: 12.5px;
}

.hn-follow-info {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed var(--hn-line);
}

.hn-follow-info li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    color: var(--hn-gray);
    font-size: 13px;
}

.hn-follow-info .hn-i {
    color: var(--hn-red);
    font-size: 15px;
}

.hn-linkbtn {
    padding: 0;
    color: var(--hn-gray);
    font-size: 13px;
    text-align: left;
}

.hn-linkbtn:hover {
    color: var(--hn-red);
}

.hn-empty {
    padding: 14px 0;
    color: var(--hn-gray-2);
    font-size: 13.5px;
    line-height: 1.8;
}

/* ============================================================
 * 11. 页脚
 * ============================================================ */
.hn-footer {
    background: #21201f;
    color: #a9a49e;
    font-size: 13.5px;
}

.hn-footer .hn-i {
    color: var(--hn-red-l);
}

.hn-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.7fr);
    gap: 34px;
    padding: 42px 0 34px;
}

.hn-footer-logo img {
    height: 46px;
    width: auto;
}

.hn-footer-slogan {
    margin-top: 14px;
    color: #d8d3cc;
    font-size: 14px;
}

.hn-footer-about {
    margin-top: 12px;
    color: #8f8a84;
    line-height: 1.9;
    font-size: 13px;
}

.hn-footer-col h4 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 16px;
    font-family: var(--hn-serif);
    border-bottom: 1px solid #37352f;
}

.hn-footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 34px;
    height: 2px;
    background: var(--hn-red-l);
}

.hn-footer-links li {
    padding: 6px 0;
    color: #9c968f;
    line-height: 1.7;
}

.hn-footer-links a {
    color: #b6b0a9;
}

.hn-footer-links a:hover {
    color: #fff;
}

.hn-footer-contact-in {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.hn-footer-contact-in .hn-footer-links {
    flex: 1;
    min-width: 0;
}

.hn-footer-qr {
    flex: 0 0 auto;
    text-align: center;
}

.hn-footer-qr img {
    width: 110px;
    height: 110px;
    background: #fff;
    padding: 4px;
    border-radius: 2px;
}

.hn-footer-qr span {
    display: block;
    margin-top: 6px;
    color: #86807a;
    font-size: 12px;
}

.hn-footer-bottom {
    padding: 18px 0 26px;
    border-top: 1px solid #37352f;
    text-align: center;
    color: #86807a;
    font-size: 12.5px;
    line-height: 2;
}

.hn-footer-copy a,
.hn-footer-record a {
    color: #a9a49e;
}

.hn-footer-copy a:hover,
.hn-footer-record a:hover {
    color: #fff;
}

.hn-footer-split {
    margin: 0 8px;
    color: #4a4742;
}

.hn-footer-record a {
    margin: 0 6px;
}

.hn-footer-extra {
    margin-top: 10px;
}

/* 回到顶部 */
.hn-backtop {
    position: fixed;
    right: 24px;
    bottom: 40px;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--hn-red);
    color: #fff;
    font-size: 20px;
    border-radius: 2px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s;
}

.hn-backtop.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hn-backtop:hover {
    background: var(--hn-red-d);
    color: #fff;
}

/* ============================================================
 * 12. 微信分享浮层 / 按钮
 * ============================================================ */
.hn-wxmask {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .62);
}

.hn-wxmask[hidden] {
    display: none;
}

.hn-wxcard {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    animation: hn-pop .22s ease;
}

@keyframes hn-pop {
    from { opacity: 0; transform: translateY(14px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.hn-wxcard-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    height: 52px;
    border-bottom: 1px solid var(--hn-line-2);
}

.hn-wxcard-head h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-family: var(--hn-serif);
}

.hn-wxcard-head .hn-i {
    color: #20b25c;
    font-size: 20px;
}

.hn-wxclose {
    display: inline-flex;
    padding: 6px;
    color: var(--hn-gray-2);
    font-size: 17px;
}

.hn-wxclose:hover {
    color: var(--hn-red);
}

.hn-wxcard-body {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 22px 20px;
}

.hn-wxqr {
    flex: 0 0 auto;
    padding: 8px;
    border: 1px solid var(--hn-line);
    border-radius: 2px;
}

.hn-wxqr img {
    display: block;
    width: 168px;
    height: 168px;
}

.hn-wxtip {
    flex: 1;
    min-width: 0;
}

.hn-wxtip p {
    margin-bottom: 8px;
    color: var(--hn-gray);
    font-size: 13.5px;
    line-height: 1.8;
}

.hn-wxtip-mobile {
    display: none;
}

.hn-wxtip b {
    display: inline-block;
    padding: 0 7px;
    background: #eaf7ee;
    color: #20b25c;
    border-radius: 10px;
}

.hn-wxurl {
    word-break: break-all;
    color: #b5ac9f !important;
    font-size: 12px !important;
}

.hn-wxcard-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px 18px;
}

body.hn-is-wechat .hn-wxtip-pc {
    display: none;
}

body.hn-is-wechat .hn-wxtip-mobile {
    display: block;
}

.hn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 18px;
    font-size: 14px;
    border-radius: 2px;
    transition: all .2s;
}

.hn-btn-primary {
    background: var(--hn-red);
    color: #fff;
}

.hn-btn-primary:hover {
    background: var(--hn-red-d);
    color: #fff;
}

.hn-btn-line {
    border: 1px solid var(--hn-line);
    color: var(--hn-ink-2);
    background: #fff;
}

.hn-btn-line:hover {
    border-color: var(--hn-red);
    color: var(--hn-red);
}

/* 分享条 */
.hn-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 16px;
    background: #faf8f5;
    border: 1px solid var(--hn-line);
    border-radius: 2px;
}

.hn-share-label {
    color: var(--hn-gray-2);
    font-size: 13px;
}

.hn-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid var(--hn-line);
    color: var(--hn-ink-2);
    font-size: 13.5px;
    border-radius: 2px;
    transition: all .2s;
}

.hn-share-btn .hn-i {
    font-size: 16px;
}

.hn-share-wx:hover {
    background: #20b25c;
    border-color: #20b25c;
    color: #fff;
}

.hn-share-wb:hover {
    background: #e6162d;
    border-color: #e6162d;
    color: #fff;
}

.hn-share-qz:hover {
    background: #ffb800;
    border-color: #ffb800;
    color: #fff;
}

.hn-share-qq:hover {
    background: #12b7f5;
    border-color: #12b7f5;
    color: #fff;
}

.hn-share-copy:hover {
    background: var(--hn-red);
    border-color: var(--hn-red);
    color: #fff;
}

.hn-share-copy.is-done {
    background: #20b25c;
    border-color: #20b25c;
    color: #fff;
}

/* ============================================================
 * 13. 文章 / 页面内页
 * ============================================================ */
.hn-single {
    padding-top: 4px;
}

.hn-crumb {
    font-size: 13px;
    color: var(--hn-gray-2);
}

.hn-crumb .hn-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 14px;
    padding-bottom: 12px;
}

.hn-crumb .hn-i {
    margin-right: 4px;
    font-size: 15px;
    color: var(--hn-red);
}

.hn-crumb em {
    color: #cbc3b8;
    font-style: normal;
}

.hn-crumb-cur {
    color: var(--hn-ink-2);
}

.hn-article {
    padding: 26px 30px 30px;
    background: var(--hn-white);
    border-radius: 2px;
    box-shadow: var(--hn-shadow);
}

.hn-article-cat {
    display: inline-block;
    margin-bottom: 14px;
    padding: 4px 12px;
    background: #fdf4f4;
    border: 1px solid #f2d8d8;
    color: var(--hn-red);
    font-size: 13px;
    border-radius: 2px;
}

.hn-article-title {
    font-family: var(--hn-serif);
    font-size: 33px;
    line-height: 1.45;
    letter-spacing: .5px;
    color: var(--hn-ink);
}

.hn-article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--hn-line-2);
    color: var(--hn-gray-2);
    font-size: 13px;
}

.hn-article-meta .hn-i {
    margin-right: 5px;
    font-size: 15px;
    color: var(--hn-red);
}

.hn-article-lead {
    margin-top: 16px;
    padding: 14px 16px;
    background: #faf8f5;
    border-left: 3px solid var(--hn-red);
    color: #5b5348;
    font-size: 14.5px;
    line-height: 1.9;
    border-radius: 0 2px 2px 0;
}

.hn-article-figure {
    margin: 22px 0 0;
}

.hn-article-figure img {
    display: block;
    width: 100%;
    border-radius: 2px;
}

.hn-article-figure figcaption {
    margin-top: 9px;
    color: var(--hn-gray-2);
    font-size: 12.5px;
    text-align: center;
}

.hn-article-share {
    margin-top: 22px;
}

.hn-article-share-bottom {
    margin-top: 26px;
}

.hn-article-body {
    margin-top: 24px;
    color: #2c2c2c;
    font-size: 17px;
    line-height: 1.95;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hn-article-body > * + * {
    margin-top: 20px;
}

.hn-article-body h2,
.hn-article-body h3,
.hn-article-body h4 {
    margin-top: 34px;
    font-family: var(--hn-serif);
    line-height: 1.5;
}

.hn-article-body h2 {
    padding-left: 14px;
    font-size: 24px;
    border-left: 5px solid var(--hn-red);
}

.hn-article-body h3 {
    font-size: 20px;
}

.hn-article-body h4 {
    font-size: 18px;
}

.hn-article-body p {
    margin: 0;
    text-align: justify;
}

.hn-article-body a {
    color: var(--hn-red);
    border-bottom: 1px solid rgba(176, 27, 27, .35);
}

.hn-article-body img {
    display: block;
    margin: 0 auto;
    border-radius: 2px;
}

.hn-article-body blockquote {
    margin: 24px 0;
    padding: 14px 20px;
    background: #faf8f5;
    border-left: 4px solid #d9cec0;
    color: #57503f;
    font-size: 15.5px;
    line-height: 1.9;
}

.hn-article-body blockquote p {
    text-align: left;
}

.hn-article-body ul,
.hn-article-body ol {
    padding-left: 24px;
    list-style: disc;
}

.hn-article-body ol {
    list-style: decimal;
}

.hn-article-body li {
    margin: 8px 0;
}

.hn-article-body code {
    padding: 2px 6px;
    background: #f4f1ec;
    color: #b03a2e;
    font-size: 14px;
    border-radius: 3px;
    font-family: Consolas, Monaco, "Courier New", monospace;
}

.hn-article-body pre {
    padding: 16px 18px;
    background: #262524;
    color: #e8e3dc;
    border-radius: 3px;
    overflow-x: auto;
    font-size: 13.5px;
    line-height: 1.75;
}

.hn-article-body pre code {
    padding: 0;
    background: none;
    color: inherit;
}

.hn-article-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

.hn-article-body th,
.hn-article-body td {
    padding: 10px 12px;
    border: 1px solid var(--hn-line);
    text-align: left;
}

.hn-article-body th {
    background: #faf8f5;
    font-weight: 600;
}

.hn-article-body hr {
    height: 1px;
    border: 0;
    background: var(--hn-line);
}

.hn-article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px dashed var(--hn-line);
}

.hn-article-tags-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--hn-gray-2);
    font-size: 13px;
}

.hn-article-tags a {
    padding: 5px 12px;
    background: #faf8f5;
    border: 1px solid var(--hn-line);
    color: var(--hn-ink-2);
    font-size: 13px;
    border-radius: 2px;
}

.hn-article-tags a:hover {
    background: var(--hn-red);
    border-color: var(--hn-red);
    color: #fff;
}

/* 文章图集 */
.hn-photowall,
.hn-related,
.hn-list,
.hn-comments {
    margin-top: 20px;
    padding: 0 18px 18px;
    background: var(--hn-white);
    border-radius: 2px;
    box-shadow: var(--hn-shadow);
}

.hn-photowall-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding-top: 16px;
}

.hn-photowall-item {
    display: block;
    height: 140px;
    overflow: hidden;
    border-radius: 2px;
    background: #efeae4;
}

.hn-photowall-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.hn-photowall-item:hover img {
    transform: scale(1.07);
}

/* 上一篇 / 下一篇 */
.hn-near {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.hn-near-prev,
.hn-near-next {
    padding: 16px 18px;
    background: var(--hn-white);
    border-radius: 2px;
    box-shadow: var(--hn-shadow);
    font-size: 14.5px;
    line-height: 1.6;
}

.hn-near-next {
    text-align: right;
}

.hn-near-label {
    display: block;
    margin-bottom: 8px;
    color: var(--hn-gray-2);
    font-size: 12.5px;
}

.hn-near-label .hn-i {
    margin: 0 4px;
    font-size: 14px;
    color: var(--hn-red);
}

.hn-near a {
    color: var(--hn-ink);
}

.hn-near a:hover {
    color: var(--hn-red);
}

.hn-near em {
    color: #c2b9ac;
    font-style: normal;
    font-size: 13px;
}

/* 相关阅读 */
.hn-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-top: 16px;
}

.hn-related-card {
    display: block;
}

.hn-related-img {
    display: block;
    height: 132px;
    overflow: hidden;
    border-radius: 2px;
    background: #efeae4;
}

.hn-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.hn-related-card:hover .hn-related-img img {
    transform: scale(1.06);
}

.hn-related-card strong {
    display: block;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    color: var(--hn-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-related-card:hover strong {
    color: var(--hn-red);
}

.hn-related-card em {
    display: block;
    margin-top: 5px;
    color: #b5ac9f;
    font-size: 12px;
    font-style: normal;
}

/* ============================================================
 * 14. 归档列表
 * ============================================================ */
.hn-archive {
    padding-top: 4px;
}

.hn-catbanner {
    position: relative;
    height: 224px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 2px;
    background: #1a1a1a;
}

.hn-catbanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hn-catbanner-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .2) 100%);
}

.hn-catbanner-text {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px;
    padding: 24px 34px;
    color: #fff;
}

.hn-catbanner-text h1 {
    font-family: var(--hn-serif);
    font-size: 32px;
    color: #fff;
    letter-spacing: 1px;
}

.hn-catbanner-text h1::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin-top: 12px;
    background: var(--hn-red-l);
}

.hn-catbanner-text p {
    margin-top: 14px;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    line-height: 1.85;
}

.hn-catbanner-meta {
    margin-top: 14px;
    color: #ffd45e;
    font-size: 13px;
}

.hn-cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    padding-top: 20px;
}

.hn-card {
    background: #fff;
    border: 1px solid var(--hn-line-2);
    border-radius: 2px;
    overflow: hidden;
    transition: all .25s;
}

.hn-card:hover {
    border-color: #e0d6ca;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.hn-card-img {
    display: block;
    height: 196px;
    overflow: hidden;
    background: #efeae4;
}

.hn-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s;
}

.hn-card:hover .hn-card-img img {
    transform: scale(1.05);
}

.hn-card-body {
    padding: 14px 16px 16px;
}

.hn-card-title {
    font-family: var(--hn-serif);
    font-size: 18px;
    line-height: 1.5;
}

.hn-card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-card-title a:hover {
    color: var(--hn-red);
}

.hn-card-desc {
    margin-top: 8px;
    color: var(--hn-gray);
    font-size: 13.5px;
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hn-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px dashed var(--hn-line);
    color: #b5ac9f;
    font-size: 12.5px;
}

.hn-card-meta .hn-i {
    margin-right: 5px;
    font-size: 14px;
    color: #c8bcae;
}

/* 分页 */
.hn-pager-wrap {
    margin-top: 24px;
    text-align: center;
}

.hn-pager {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hn-pager li > a,
.hn-pager li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid var(--hn-line);
    color: var(--hn-ink-2);
    font-size: 14px;
    border-radius: 2px;
}

.hn-pager li > a:hover {
    border-color: var(--hn-red);
    color: var(--hn-red);
}

.hn-pager li.current > a {
    background: var(--hn-red);
    border-color: var(--hn-red);
    color: #fff;
}

.hn-nothing {
    padding: 46px 20px 40px;
    text-align: center;
}

.hn-nothing h3 {
    font-family: var(--hn-serif);
    font-size: 22px;
}

.hn-nothing p {
    margin-top: 12px;
    color: var(--hn-gray);
    font-size: 14px;
}

.hn-nothing p a {
    color: var(--hn-red);
}

.hn-nothing-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.hn-nothing-tags a {
    padding: 7px 16px;
    background: #faf8f5;
    border: 1px solid var(--hn-line);
    font-size: 13.5px;
    border-radius: 2px;
}

.hn-nothing-tags a:hover {
    background: var(--hn-red);
    border-color: var(--hn-red);
    color: #fff;
}

/* ============================================================
 * 15. 评论
 * ============================================================ */
.hn-comments-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 0 13px;
    border-bottom: 2px solid var(--hn-ink);
}

.hn-comment-list {
    padding-top: 14px;
}

.hn-comment-list li.comment-body {
    position: relative;
    list-style: none;
    padding: 16px 0;
    border-bottom: 1px dashed var(--hn-line);
}

.hn-comment-list li.comment-body:last-child {
    border-bottom: 0;
}

.hn-comment-list .comment-children {
    margin-top: 12px;
    padding-left: 20px;
    border-left: 2px solid #efe9e1;
}

.hn-comment-list .comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hn-comment-list .comment-author img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #efeae4;
}

.hn-comment-list .comment-author cite {
    font-style: normal;
    font-weight: 600;
    color: var(--hn-ink);
    font-size: 15px;
}

.hn-comment-list .comment-meta {
    margin-top: 6px;
    padding-left: 56px;
    color: #b5ac9f;
    font-size: 12.5px;
}

.hn-comment-list .comment-meta a {
    color: #b5ac9f;
}

.hn-comment-list .comment-awaiting-moderation {
    margin-left: 8px;
    color: #d08700;
    font-style: normal;
}

.hn-comment-list .comment-content {
    margin-top: 8px;
    padding-left: 56px;
    color: #3a3a3a;
    font-size: 15px;
    line-height: 1.85;
    word-wrap: break-word;
}

.hn-comment-list .comment-reply {
    padding-left: 56px;
    margin-top: 6px;
}

.hn-comment-list .comment-reply a {
    color: var(--hn-gray-2);
    font-size: 12.5px;
}

.hn-comment-list .comment-reply a:hover {
    color: var(--hn-red);
}

.hn-comment-list .comment-by-author > .comment-author cite::after {
    content: "作者";
    display: inline-block;
    margin-left: 8px;
    padding: 1px 7px;
    background: #fdf4f4;
    border: 1px solid #f2d8d8;
    color: var(--hn-red);
    font-size: 11px;
    font-weight: 400;
    border-radius: 2px;
    vertical-align: 1px;
}

.hn-respond {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--hn-line-2);
}

.hn-cancel-reply {
    margin-bottom: 6px;
    text-align: right;
    font-size: 13px;
}

.hn-cancel-reply a {
    color: var(--hn-gray-2);
}

.hn-respond-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--hn-serif);
    font-size: 19px;
}

.hn-respond-title .hn-i {
    color: var(--hn-red);
    font-size: 19px;
}

.hn-form {
    margin-top: 16px;
}

.hn-form-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.hn-form-row label {
    flex: 0 0 74px;
    color: var(--hn-gray);
    font-size: 14px;
}

.hn-form-row label.required::after {
    content: "*";
    margin-left: 3px;
    color: var(--hn-red);
}

.hn-form-row input {
    flex: 1;
    min-width: 0;
    height: 40px;
    padding: 0 14px;
    background: #faf8f5;
    border: 1px solid var(--hn-line);
    border-radius: 2px;
    outline: none;
    transition: border-color .2s;
}

.hn-form-row input:focus,
.hn-form-row textarea:focus {
    border-color: var(--hn-red);
    background: #fff;
}

.hn-form-row-text {
    align-items: flex-start;
}

.hn-form-row-text label {
    padding-top: 10px;
}

.hn-form-row textarea {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    background: #faf8f5;
    border: 1px solid var(--hn-line);
    border-radius: 2px;
    outline: none;
    resize: vertical;
    line-height: 1.8;
    transition: border-color .2s;
}

.hn-form-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 86px;
}

.hn-form-tip {
    color: #b5ac9f;
    font-size: 12.5px;
}

.hn-form-login {
    margin-bottom: 14px;
    color: var(--hn-gray);
    font-size: 14px;
}

/* ============================================================
 * 16. 404
 * ============================================================ */
.hn-404 {
    margin-bottom: 20px;
    padding: 56px 30px 50px;
    background: var(--hn-white);
    border-radius: 2px;
    box-shadow: var(--hn-shadow);
    text-align: center;
}

.hn-404-code {
    font-family: var(--hn-serif);
    font-size: 96px;
    line-height: 1;
    color: var(--hn-red);
    letter-spacing: 6px;
    opacity: .16;
}

.hn-404-title {
    margin-top: -34px;
    font-family: var(--hn-serif);
    font-size: 27px;
}

.hn-404-desc {
    max-width: 620px;
    margin: 16px auto 0;
    color: var(--hn-gray);
    font-size: 14.5px;
    line-height: 1.9;
}

.hn-404-search {
    display: flex;
    max-width: 520px;
    height: 46px;
    margin: 26px auto 0;
    border: 2px solid var(--hn-red);
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
}

.hn-404-search input {
    flex: 1;
    min-width: 0;
    padding: 0 16px;
    border: 0;
    outline: none;
}

.hn-404-search button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 22px;
    background: var(--hn-red);
    color: #fff;
    font-size: 14px;
}

.hn-404-search button:hover {
    background: var(--hn-red-d);
    color: #fff;
}

.hn-404-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.hn-404-tags a {
    padding: 7px 16px;
    background: #faf8f5;
    border: 1px solid var(--hn-line);
    font-size: 13.5px;
    border-radius: 2px;
}

.hn-404-tags a:hover {
    background: var(--hn-red);
    border-color: var(--hn-red);
    color: #fff;
}

/* ============================================================
 * 17. 响应式
 * ============================================================ */
@media (max-width: 1200px) {
    .hn-hero {
        grid-template-columns: minmax(0, 1fr) 340px;
    }

    .hn-row-main {
        grid-template-columns: minmax(0, 1fr) 320px;
    }

    .hn-block-wide .hn-block-body {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .hn-nav-list > li > a {
        padding: 0 17px;
        font-size: 15.5px;
    }
}

@media (max-width: 1024px) {
    .hn-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hn-hero-side {
        flex-direction: row;
    }

    .hn-panel-news {
        flex: 1.4;
    }

    .hn-panel-promo {
        flex: 1;
    }

    .hn-panel-promo .hn-promo {
        height: 100%;
        min-height: 210px;
    }

    .hn-row-2,
    .hn-row-main {
        grid-template-columns: minmax(0, 1fr);
    }

    .hn-block-wide .hn-block-body {
        grid-template-columns: minmax(0, 1fr);
    }

    .hn-block-wide .hn-block-lead-img,
    .hn-block-half .hn-block-lead-img {
        height: 300px;
    }

    .hn-header-qr {
        display: none;
    }

    .hn-nav-toggle {
        display: inline-flex;
    }

    .hn-nav-in {
        position: relative;
    }

    .hn-nav-list {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        max-height: 0;
        overflow: hidden;
        background: #a51414;
        transition: max-height .3s ease;
        z-index: 30;
    }

    .hn-nav-list.is-open {
        max-height: 78vh;
        overflow-y: auto;
        box-shadow: 0 12px 26px rgba(0, 0, 0, .25);
    }

    .hn-nav-list > li {
        border-top: 1px solid rgba(255, 255, 255, .12);
    }

    .hn-nav-list > li > a {
        height: 46px;
    }

    .hn-nav-sub {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: 0;
        background: rgba(0, 0, 0, .18);
    }

    .hn-nav-sub a {
        color: #ffdede;
    }

    .hn-nav-sub a:hover {
        background: rgba(0, 0, 0, .2);
        color: #fff;
    }

    .hn-footer-top {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 26px;
    }
}

@media (max-width: 768px) {

    .hn-topbar-left .hn-topbar-welcome,
    .hn-topbar-split {
        display: none;
    }

    .hn-topbar-item span {
        display: none;
    }

    .hn-topbar-item {
        padding: 0 9px;
    }

    .hn-header-in {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .hn-brand {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
    }

    .hn-logo img {
        height: 46px;
    }

    .hn-slogan {
        padding-left: 0;
        border-left: 0;
        max-width: none;
    }

    .hn-header-search {
        width: 100%;
    }

    .hn-carousel-viewport {
        height: 320px;
    }

    .hn-slide-text {
        padding: 18px 18px 48px;
    }

    .hn-slide-title {
        font-size: 21px;
    }

    .hn-slide-desc {
        display: none;
    }

    .hn-carousel-thumbs {
        display: none;
    }

    .hn-strip-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .hn-strip-list li:nth-last-child(2) a {
        border-bottom: 1px dashed var(--hn-line);
    }

    .hn-strip-list li:nth-last-child(-n+2) a {
        border-bottom: 1px dashed var(--hn-line);
    }

    .hn-strip-list li:last-child a {
        border-bottom: 0;
    }

    .hn-gallery-grid,
    .hn-photowall-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .hn-gallery-card {
        height: 168px;
    }

    .hn-cards,
    .hn-related-grid,
    .hn-near {
        grid-template-columns: minmax(0, 1fr);
    }

    .hn-near-next {
        text-align: left;
    }

    .hn-related-img,
    .hn-card-img {
        height: 180px;
    }

    .hn-latest-img {
        width: 126px;
        height: 84px;
    }

    .hn-latest-body strong {
        font-size: 16px;
    }

    .hn-latest-body em {
        display: none;
    }

    .hn-article {
        padding: 18px 16px 22px;
    }

    .hn-article-title {
        font-size: 23px;
    }

    .hn-article-body {
        font-size: 16px;
    }

    .hn-article-body h2 {
        font-size: 20px;
    }

    .hn-block,
    .hn-latest,
    .hn-side-block,
    .hn-gallery,
    .hn-photowall,
    .hn-related,
    .hn-list,
    .hn-comments {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hn-block-title {
        font-size: 18px;
    }

    .hn-block-desc {
        display: none;
    }

    .hn-block-li-img {
        width: 104px;
        height: 70px;
    }

    .hn-block-half .hn-block-li-img {
        width: 92px;
        height: 62px;
    }

    .hn-block-empty {
        grid-template-columns: minmax(0, 1fr);
    }

    .hn-hero-side {
        flex-direction: column;
    }

    .hn-panel-promo .hn-promo {
        height: 168px;
        min-height: 168px;
    }

    .hn-catbanner {
        height: 178px;
    }

    .hn-catbanner-text {
        padding: 20px;
    }

    .hn-catbanner-text h1 {
        font-size: 23px;
    }

    .hn-catbanner-text p {
        display: none;
    }

    .hn-footer-top {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: 30px 0 24px;
    }

    .hn-backtop {
        right: 14px;
        bottom: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .hn-wxcard-body {
        flex-direction: column;
    }

    .hn-wxqr img {
        width: 148px;
        height: 148px;
    }

    .hn-share {
        gap: 8px;
        padding: 12px;
    }

    .hn-share-label {
        width: 100%;
    }

    .hn-share-btn {
        flex: 1 1 auto;
        justify-content: center;
        padding: 0 10px;
    }

    .hn-form-row,
    .hn-form-row-text {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }

    .hn-form-row label {
        flex: none;
    }

    .hn-form-actions {
        padding-left: 0;
    }

    .hn-comment-list .comment-meta,
    .hn-comment-list .comment-content,
    .hn-comment-list .comment-reply {
        padding-left: 0;
    }

    .hn-404 {
        padding: 40px 18px 36px;
    }

    .hn-404-code {
        font-size: 72px;
    }

    .hn-404-title {
        margin-top: -22px;
        font-size: 21px;
    }
}

@media (max-width: 400px) {
    .hn-topbar-date {
        font-size: 11.5px;
    }

    .hn-block-li-img {
        width: 88px;
        height: 60px;
    }

    .hn-gallery-card {
        height: 140px;
    }

    .hn-photowall-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hn-noticebar-list {
        animation: none;
    }
}
