/*
 * WordPress 单篇新闻模板样式
 * 文件位置：/includes/css/single-news.css
 */

.hjk-single-news-page {
    --hjk-single-ink: #172631;
    --hjk-single-muted: #67747d;
    --hjk-single-line: rgba(28, 46, 58, 0.12);
    --hjk-single-soft: #f4f7f8;
    --hjk-single-surface: #ffffff;
    --hjk-single-dark: #12232d;
    --hjk-single-accent: #e58a1f;
    --hjk-single-accent-dark: #b9660d;
    --hjk-single-accent-soft: #fff1df;
    overflow: clip;
    color: var(--hjk-single-ink);
}

/* =====================================================
   Banner
===================================================== */

.hjk-single-hero {
    position: relative;
    isolation: isolate;
    min-height: 520px;
    overflow: hidden;
    padding: 34px 0 46px;
    background: #10202a;
    color: #fff;
}

.hjk-single-hero-background {
    position: absolute;
    z-index: -3;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hjk-single-hero-background > img {
    position: absolute;
    inset: -4%;
    width: 108%;
    height: 108%;
    object-fit: cover;
    object-position: center;
    filter:
        brightness(0.62)
        saturate(0.9)
        contrast(1.08);
    transform: scale(1.04);
    animation:
        hjkSingleHeroImageMove
        16s
        ease-in-out
        infinite
        alternate;
}

.hjk-single-hero-overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 19, 27, 0.98) 0%,
            rgba(9, 24, 34, 0.93) 42%,
            rgba(10, 27, 38, 0.7) 73%,
            rgba(7, 20, 29, 0.86) 100%
        ),
        linear-gradient(
            180deg,
            rgba(7, 18, 26, 0.15),
            rgba(7, 18, 26, 0.45)
        );
}

.hjk-single-hero-grid {
    position: absolute;
    z-index: 2;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.11) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.11) 1px,
            transparent 1px
        );
    background-size: 74px 74px;
    mask-image:
        linear-gradient(
            90deg,
            #000,
            rgba(0, 0, 0, 0.65) 62%,
            transparent 94%
        );
    animation:
        hjkSingleGridMove
        20s
        linear
        infinite;
}

.hjk-single-hero-scan {
    position: absolute;
    z-index: 3;
    top: -35%;
    left: -30%;
    width: 20%;
    height: 170%;
    opacity: 0;
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 179, 91, 0.45),
            transparent
        );
    filter: blur(14px);
    transform: rotate(14deg);
    animation:
        hjkSingleScanMove
        9s
        ease-in-out
        infinite;
}

.hjk-single-hero-orbit {
    position: absolute;
    z-index: 2;
    border: 1px solid
        rgba(229, 138, 31, 0.23);
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(229, 138, 31, 0.1),
            transparent 70%
        );
}

.hjk-single-hero-orbit.orbit-one {
    top: -170px;
    right: 4%;
    width: 450px;
    height: 450px;
    box-shadow:
        0 0 0 62px
        rgba(255, 255, 255, 0.018),
        0 0 0 124px
        rgba(255, 255, 255, 0.011);
    animation:
        hjkSingleOrbitFloat
        9s
        ease-in-out
        infinite;
}

.hjk-single-hero-orbit.orbit-two {
    right: 35%;
    bottom: -220px;
    width: 340px;
    height: 340px;
    animation:
        hjkSingleOrbitFloat
        11s
        ease-in-out
        infinite
        reverse;
}

.hjk-single-hero > .container {
    z-index: 5;
}

.hjk-single-breadcrumb {
    margin: 0 0 36px;
}

.hjk-single-breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    list-style: none;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
    white-space: nowrap;
}

.hjk-single-breadcrumb li:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.hjk-single-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.hjk-single-breadcrumb a:hover {
    color: #f2aa53;
}

.hjk-single-hero-content {
    max-width: 1050px;
}

.hjk-single-hero-category {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border: 1px solid
        rgba(255, 177, 84, 0.34);
    border-radius: 999px;
    background:
        rgba(229, 138, 31, 0.1);
    color: #f4ad58;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.hjk-single-hero-category:hover {
    color: #fff;
}

.hjk-single-hero h1 {
    max-width: 1100px;
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 5vw, 67px);
    font-weight: 850;
    line-height: 1.16;
    letter-spacing: -0.04em;
    text-shadow:
        0 12px 35px
        rgba(0, 0, 0, 0.25);
}

.hjk-single-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
}

.hjk-single-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hjk-single-hero-meta i {
    color: #f0a64b;
}

.hjk-single-hero-bottom {
    display: grid;
    grid-template-columns:
        minmax(45px, 145px)
        auto
        30px;
    gap: 13px;
    align-items: center;
    margin-top: 42px;
    color: rgba(255, 255, 255, 0.4);
}

.hjk-single-hero-bottom > span {
    height: 1px;
    background:
        linear-gradient(
            90deg,
            #e58a1f,
            transparent
        );
}

.hjk-single-hero-bottom small {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.hjk-single-hero-bottom i {
    color: #f0a64b;
    animation:
        hjkSingleArrowMove
        1.7s
        ease-in-out
        infinite;
}

/* =====================================================
   Main layout
===================================================== */

.hjk-single-content-section {
    padding: clamp(64px, 7vw, 100px) 0;
    background:
        linear-gradient(
            rgba(31, 48, 59, 0.03) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(31, 48, 59, 0.03) 1px,
            transparent 1px
        ),
        #f4f7f8;
    background-size: 72px 72px;
}

.hjk-single-article {
    overflow: hidden;
    border: 1px solid
        var(--hjk-single-line);
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 20px 60px
        rgba(21, 36, 47, 0.09);
}

.hjk-single-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    background: #dce5e9;
}

.hjk-single-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hjk-single-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            transparent 58%,
            rgba(10, 25, 34, 0.68)
        );
}

.hjk-single-cover figcaption {
    position: absolute;
    z-index: 2;
    right: 26px;
    bottom: 24px;
    left: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
}

.hjk-single-cover figcaption span {
    padding: 7px 11px;
    border: 1px solid
        rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background:
        rgba(12, 27, 36, 0.66);
    font-size: 11px;
    font-weight: 750;
    backdrop-filter: blur(10px);
}

.hjk-single-cover figcaption strong {
    max-width: 580px;
    font-size: 17px;
    line-height: 1.45;
    text-align: right;
}

.hjk-single-article-header {
    padding: clamp(30px, 5vw, 54px)
        clamp(24px, 6vw, 68px)
        0;
}

.hjk-single-article-header > span {
    display: block;
    margin-bottom: 10px;
    color: var(--hjk-single-accent-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.hjk-single-article-header h2 {
    margin: 0;
    color: var(--hjk-single-ink);
    font-size: clamp(29px, 4vw, 46px);
    font-weight: 830;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.hjk-single-lead {
    margin: 21px 0 0;
    padding: 20px 22px;
    border-left: 3px solid
        var(--hjk-single-accent);
    border-radius: 0 12px 12px 0;
    background:
        var(--hjk-single-accent-soft);
    color: #465660;
    font-size: 16px;
    line-height: 1.9;
}

.hjk-single-entry-content {
    padding:
        32px
        clamp(24px, 6vw, 68px)
        clamp(34px, 5vw, 58px);
    color: #40515c;
    font-size: 16px;
    line-height: 1.95;
}

.hjk-single-entry-content > *:first-child {
    margin-top: 0;
}

.hjk-single-entry-content > *:last-child {
    margin-bottom: 0;
}

.hjk-single-entry-content p {
    margin: 0 0 1.35em;
}

.hjk-single-entry-content h2,
.hjk-single-entry-content h3,
.hjk-single-entry-content h4 {
    color: var(--hjk-single-ink);
    font-weight: 800;
    line-height: 1.35;
}

.hjk-single-entry-content h2 {
    margin: 1.7em 0 0.75em;
    padding-left: 16px;
    border-left: 4px solid
        var(--hjk-single-accent);
    font-size: clamp(25px, 3vw, 34px);
}

.hjk-single-entry-content h3 {
    margin: 1.55em 0 0.7em;
    font-size: clamp(21px, 2.5vw, 27px);
}

.hjk-single-entry-content h4 {
    margin: 1.4em 0 0.65em;
    font-size: 20px;
}

.hjk-single-entry-content a {
    color: var(--hjk-single-accent-dark);
    text-decoration:
        underline
        rgba(185, 102, 13, 0.3);
    text-underline-offset: 3px;
}

.hjk-single-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow:
        0 15px 40px
        rgba(21, 36, 47, 0.1);
}

.hjk-single-entry-content figure {
    max-width: 100%;
    margin: 2em 0;
}

.hjk-single-entry-content figcaption {
    margin-top: 9px;
    color: var(--hjk-single-muted);
    font-size: 12px;
    text-align: center;
}

.hjk-single-entry-content ul,
.hjk-single-entry-content ol {
    margin: 1.2em 0 1.5em;
    padding-left: 1.45em;
}

.hjk-single-entry-content li {
    margin-bottom: 0.55em;
}

.hjk-single-entry-content blockquote {
    position: relative;
    margin: 2em 0;
    padding: 25px 27px 25px 64px;
    border: 0;
    border-radius: 16px;
    background:
        linear-gradient(
            135deg,
            #172a35,
            #223b48
        );
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.8;
}

.hjk-single-entry-content blockquote::before {
    content: "\201C";
    position: absolute;
    top: 9px;
    left: 22px;
    color: #f1aa55;
    font-family: Georgia, serif;
    font-size: 56px;
    line-height: 1;
}

.hjk-single-entry-content table {
    width: 100%;
    margin: 2em 0;
    overflow: hidden;
    border-collapse: collapse;
    border-radius: 14px;
    box-shadow:
        0 10px 30px
        rgba(21, 36, 47, 0.07);
}

.hjk-single-entry-content th,
.hjk-single-entry-content td {
    padding: 13px 15px;
    border: 1px solid
        var(--hjk-single-line);
    text-align: left;
}

.hjk-single-entry-content th {
    background: #172a35;
    color: #fff;
}

.hjk-single-entry-content pre {
    max-width: 100%;
    overflow-x: auto;
    padding: 20px;
    border-radius: 14px;
    background: #14232d;
    color: #eaf1f4;
}

.hjk-single-page-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
    margin-top: 30px;
}

.hjk-single-page-links > span:first-child {
    margin-right: 4px;
    font-weight: 750;
}

.hjk-single-page-links a,
.hjk-single-page-links > span:not(:first-child) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    border: 1px solid
        var(--hjk-single-line);
    border-radius: 10px;
    text-decoration: none;
}

/* =====================================================
   Taxonomy, author and navigation
===================================================== */

.hjk-single-taxonomy {
    display: grid;
    gap: 15px;
    padding:
        25px
        clamp(24px, 6vw, 68px);
    border-top: 1px solid
        var(--hjk-single-line);
    background: #fbfcfc;
}

.hjk-single-taxonomy > div {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.hjk-single-taxonomy strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 88px;
    color: var(--hjk-single-ink);
    font-size: 13px;
}

.hjk-single-taxonomy strong i {
    color: var(--hjk-single-accent-dark);
}

.hjk-single-taxonomy > div > span {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.hjk-single-taxonomy a {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--hjk-single-accent-soft);
    color: var(--hjk-single-accent-dark);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
}

.hjk-single-author {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 22px;
    align-items: center;
    margin: 28px;
    padding: 26px;
    border: 1px solid
        var(--hjk-single-line);
    border-radius: 17px;
    background:
        radial-gradient(
            circle at 92% 14%,
            rgba(229, 138, 31, 0.11),
            transparent 30%
        ),
        #f6f8f9;
}

.hjk-single-author-avatar img {
    width: 96px;
    height: 96px;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 10px 28px
        rgba(21, 36, 47, 0.12);
}

.hjk-single-author span {
    color: var(--hjk-single-accent-dark);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.hjk-single-author h2 {
    margin: 4px 0 7px;
    font-size: 21px;
    font-weight: 800;
}

.hjk-single-author p {
    margin: 0;
    color: var(--hjk-single-muted);
    font-size: 13px;
    line-height: 1.75;
}

.hjk-single-post-navigation {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 1px;
    border-top: 1px solid
        var(--hjk-single-line);
    background:
        var(--hjk-single-line);
}

.hjk-single-post-navigation > div {
    min-height: 130px;
    padding: 26px;
    background: #fff;
}

.hjk-single-post-navigation > div:last-child {
    text-align: right;
}

.hjk-single-post-navigation span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--hjk-single-accent-dark);
    font-size: 11px;
    font-weight: 750;
}

.hjk-single-post-navigation a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--hjk-single-ink);
    font-size: 15px;
    font-weight: 750;
    line-height: 1.55;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hjk-single-post-navigation a:hover {
    color: var(--hjk-single-accent-dark);
}

.hjk-single-post-navigation .is-empty {
    display: none;
}

/* =====================================================
   Sidebar
===================================================== */

.hjk-single-sidebar {
    position: sticky;
    top: 118px;
    display: grid;
    gap: 18px;
}

.admin-bar .hjk-single-sidebar {
    top: 150px;
}

.hjk-sidebar-box {
    padding: 24px;
    border: 1px solid
        var(--hjk-single-line);
    border-radius: 18px;
    background: #fff;
    box-shadow:
        0 14px 38px
        rgba(21, 36, 47, 0.07);
}

.hjk-sidebar-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--hjk-single-accent-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.hjk-sidebar-box h2 {
    margin: 0 0 17px;
    font-size: 22px;
    font-weight: 810;
}

.hjk-sidebar-search {
    position: relative;
}

.hjk-sidebar-search input {
    width: 100%;
    height: 50px;
    padding: 0 54px 0 15px;
    border: 1px solid
        var(--hjk-single-line);
    border-radius: 12px;
    background: var(--hjk-single-soft);
    color: var(--hjk-single-ink);
    outline: 0;
}

.hjk-sidebar-search input:focus {
    border-color:
        rgba(229, 138, 31, 0.48);
    box-shadow:
        0 0 0 3px
        rgba(229, 138, 31, 0.1);
}

.hjk-sidebar-search button {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10px;
    background: var(--hjk-single-accent);
    color: #fff;
}

.hjk-sidebar-categories {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hjk-sidebar-categories li + li {
    margin-top: 8px;
}

.hjk-sidebar-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 45px;
    padding: 9px 12px;
    border: 1px solid
        rgba(28, 46, 58, 0.08);
    border-radius: 11px;
    background: var(--hjk-single-soft);
    color: var(--hjk-single-ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.hjk-sidebar-categories a:hover {
    border-color:
        rgba(229, 138, 31, 0.35);
    background: var(--hjk-single-accent-soft);
    color: var(--hjk-single-accent-dark);
    transform: translateX(3px);
}

.hjk-sidebar-categories strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff;
    color: var(--hjk-single-muted);
    font-size: 10px;
}

.hjk-sidebar-recent-list {
    display: grid;
    gap: 14px;
}

.hjk-sidebar-recent-list article {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
}

.hjk-sidebar-recent-image {
    display: block;
    overflow: hidden;
    border-radius: 10px;
}

.hjk-sidebar-recent-image img {
    width: 88px;
    height: 70px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.hjk-sidebar-recent-list article:hover img {
    transform: scale(1.06);
}

.hjk-sidebar-recent-list time {
    color: var(--hjk-single-muted);
    font-size: 10px;
}

.hjk-sidebar-recent-list h3 {
    margin: 5px 0 0;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.5;
}

.hjk-sidebar-recent-list h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--hjk-single-ink);
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hjk-sidebar-recent-list h3 a:hover {
    color: var(--hjk-single-accent-dark);
}

.hjk-sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.hjk-sidebar-tags a {
    padding: 7px 10px;
    border: 1px solid
        var(--hjk-single-line);
    border-radius: 999px;
    background: var(--hjk-single-soft);
    color: #53616a;
    font-size: 11px;
    font-weight: 650;
    text-decoration: none;
}

.hjk-sidebar-tags a:hover {
    border-color:
        rgba(229, 138, 31, 0.4);
    background: var(--hjk-single-accent-soft);
    color: var(--hjk-single-accent-dark);
}

.hjk-sidebar-cta {
    position: relative;
    overflow: hidden;
    padding: 28px 25px;
    border-radius: 18px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(229, 138, 31, 0.26),
            transparent 34%
        ),
        linear-gradient(
            145deg,
            #13242e,
            #243b47
        );
    color: #fff;
    box-shadow:
        0 20px 48px
        rgba(18, 35, 45, 0.18);
}

.hjk-sidebar-cta::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -80px;
    width: 190px;
    height: 190px;
    border: 1px solid
        rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    box-shadow:
        0 0 0 38px
        rgba(255, 255, 255, 0.016);
}

.hjk-sidebar-cta > * {
    position: relative;
    z-index: 2;
}

.hjk-sidebar-cta > span {
    color: #f3ad58;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.hjk-sidebar-cta h2 {
    margin: 9px 0 12px;
    color: #fff;
    font-size: 25px;
    font-weight: 820;
    line-height: 1.35;
}

.hjk-sidebar-cta p {
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
    line-height: 1.75;
}

.hjk-sidebar-cta a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin-top: 20px;
    padding: 9px 15px;
    border-radius: 10px;
    background: var(--hjk-single-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
}

/* =====================================================
   WordPress comments
===================================================== */

.hjk-comments-area {
    margin-top: 28px;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid
        var(--hjk-single-line);
    border-radius: 20px;
    background: #fff;
    box-shadow:
        0 18px 50px
        rgba(21, 36, 47, 0.08);
}

.hjk-comments-header,
.hjk-comment-form-header {
    margin-bottom: 25px;
}

.hjk-comments-header > span,
.hjk-comment-form-header > span {
    display: block;
    margin-bottom: 5px;
    color: var(--hjk-single-accent-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.hjk-comments-header h2,
.hjk-comment-form-header h2 {
    margin: 0;
    color: var(--hjk-single-ink);
    font-size: clamp(25px, 3vw, 33px);
    font-weight: 820;
}

.hjk-comments-header p,
.hjk-comment-form-header p {
    margin: 8px 0 0;
    color: var(--hjk-single-muted);
    font-size: 13px;
}

.hjk-comment-list,
.hjk-comment-list .children {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hjk-comment-list .children {
    margin: 16px 0 0 46px;
}

.hjk-comment-item + .hjk-comment-item {
    margin-top: 16px;
}

.hjk-comment-body {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 17px;
    padding: 20px;
    border: 1px solid
        rgba(28, 46, 58, 0.09);
    border-radius: 15px;
    background: #f7f9fa;
}

.hjk-comment-avatar img {
    width: 64px;
    height: 64px;
    border: 3px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    box-shadow:
        0 8px 22px
        rgba(21, 36, 47, 0.1);
}

.hjk-comment-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.hjk-comment-meta h3 {
    margin: 0;
    color: var(--hjk-single-ink);
    font-size: 15px;
    font-weight: 780;
}

.hjk-comment-meta time {
    display: block;
    margin-top: 3px;
    color: var(--hjk-single-muted);
    font-size: 10px;
}

.hjk-comment-meta .comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--hjk-single-accent-soft);
    color: var(--hjk-single-accent-dark);
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.hjk-comment-text {
    margin-top: 12px;
    color: #4f606a;
    font-size: 13px;
    line-height: 1.75;
}

.hjk-comment-text > *:last-child {
    margin-bottom: 0;
}

.hjk-comment-awaiting {
    margin: 10px 0 0;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff4df;
    color: #9a5c0f;
    font-size: 11px;
}

.hjk-comment-edit {
    display: inline-block;
    margin-top: 9px;
    font-size: 10px;
}

.hjk-comment-edit a {
    color: var(--hjk-single-accent-dark);
}

.hjk-comment-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.hjk-comment-pagination a,
.hjk-comment-pagination .current,
.hjk-comment-pagination .dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 40px;
    height: 40px;
    padding: 0 11px;
    border: 1px solid
        var(--hjk-single-line);
    border-radius: 10px;
    background: #fff;
    color: var(--hjk-single-ink);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.hjk-comment-pagination .current {
    border-color:
        var(--hjk-single-accent);
    background: var(--hjk-single-accent);
    color: #fff;
}

.hjk-comment-form {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 17px;
    margin-top: 34px;
    padding-top: 31px;
    border-top: 1px solid
        var(--hjk-single-line);
}

.hjk-comment-form-header,
.hjk-comment-logged-in,
.hjk-comment-field-message,
.hjk-comment-cookies,
.hjk-comment-form .form-submit {
    grid-column: 1 / -1;
}

.hjk-comment-field {
    display: grid;
    gap: 7px;
}

.hjk-comment-field label {
    color: var(--hjk-single-ink);
    font-size: 12px;
    font-weight: 720;
}

.hjk-comment-field label span {
    color: #d76e12;
}

.hjk-comment-field input,
.hjk-comment-field textarea {
    width: 100%;
    border: 1px solid
        var(--hjk-single-line);
    border-radius: 11px;
    background: #f5f7f8;
    color: var(--hjk-single-ink);
    outline: 0;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.hjk-comment-field input {
    height: 50px;
    padding: 0 14px;
}

.hjk-comment-field textarea {
    min-height: 150px;
    padding: 13px 14px;
    resize: vertical;
}

.hjk-comment-field input:focus,
.hjk-comment-field textarea:focus {
    border-color:
        rgba(229, 138, 31, 0.5);
    background: #fff;
    box-shadow:
        0 0 0 3px
        rgba(229, 138, 31, 0.1);
}

.hjk-comment-cookies {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--hjk-single-muted);
    font-size: 11px;
    line-height: 1.55;
}

.hjk-comment-cookies input {
    flex: 0 0 auto;
    margin-top: 3px;
}

.hjk-comment-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 10px 18px;
    border: 0;
    border-radius: 11px;
    background: var(--hjk-single-accent);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    box-shadow:
        0 12px 28px
        rgba(229, 138, 31, 0.22);
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.hjk-comment-submit:hover {
    background: var(--hjk-single-accent-dark);
    transform: translateY(-2px);
}

.hjk-comment-logged-in,
.hjk-comments-closed {
    color: var(--hjk-single-muted);
    font-size: 12px;
}

.hjk-comment-logged-in a {
    color: var(--hjk-single-accent-dark);
}

/* =====================================================
   Related posts
===================================================== */

.hjk-related-news {
    padding: 0 0 clamp(70px, 8vw, 105px);
    background: #f4f7f8;
}

.hjk-related-news-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 27px;
}

.hjk-related-news-heading span {
    display: block;
    margin-bottom: 5px;
    color: var(--hjk-single-accent-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.hjk-related-news-heading h2 {
    margin: 0;
    font-size: clamp(29px, 4vw, 43px);
    font-weight: 830;
}

.hjk-related-news-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--hjk-single-ink);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
}

.hjk-related-news-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.hjk-related-news-card {
    overflow: hidden;
    border: 1px solid
        var(--hjk-single-line);
    border-radius: 17px;
    background: #fff;
    box-shadow:
        0 13px 35px
        rgba(21, 36, 47, 0.07);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.hjk-related-news-card:hover {
    border-color:
        rgba(229, 138, 31, 0.36);
    box-shadow:
        0 22px 48px
        rgba(21, 36, 47, 0.13);
    transform: translateY(-6px);
}

.hjk-related-news-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.hjk-related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hjk-related-news-card:hover img {
    transform: scale(1.055);
}

.hjk-related-news-card > div {
    padding: 19px;
}

.hjk-related-news-card time {
    color: var(--hjk-single-accent-dark);
    font-size: 10px;
    font-weight: 700;
}

.hjk-related-news-card h3 {
    min-height: 52px;
    margin: 9px 0 0;
    font-size: 18px;
    font-weight: 780;
    line-height: 1.45;
}

.hjk-related-news-card h3 a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--hjk-single-ink);
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hjk-related-news-card p {
    display: -webkit-box;
    min-height: 62px;
    overflow: hidden;
    margin: 10px 0 0;
    color: var(--hjk-single-muted);
    font-size: 12px;
    line-height: 1.7;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.hjk-related-news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--hjk-single-accent-dark);
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
}

/* =====================================================
   Animations
===================================================== */

@keyframes hjkSingleHeroImageMove {
    from {
        transform:
            scale(1.04)
            translate3d(0, 0, 0);
    }

    to {
        transform:
            scale(1.1)
            translate3d(-1.6%, -0.8%, 0);
    }
}

@keyframes hjkSingleGridMove {
    from {
        background-position:
            0 0,
            0 0;
    }

    to {
        background-position:
            74px 74px,
            74px 74px;
    }
}

@keyframes hjkSingleScanMove {
    0%,
    22% {
        left: -30%;
        opacity: 0;
    }

    45% {
        opacity: 0.3;
    }

    76%,
    100% {
        left: 125%;
        opacity: 0;
    }
}

@keyframes hjkSingleOrbitFloat {
    0%,
    100% {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    50% {
        transform:
            translate3d(0, 16px, 0)
            scale(1.04);
    }
}

@keyframes hjkSingleArrowMove {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* =====================================================
   Responsive
===================================================== */

@media (max-width: 991.98px) {
    .hjk-single-hero {
        min-height: auto;
        padding: 30px 0 42px;
    }

    .hjk-single-sidebar {
        position: static;
        margin-top: 8px;
    }

    .hjk-related-news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .hjk-single-hero {
        padding: 24px 0 36px;
    }

    .hjk-single-breadcrumb {
        margin-bottom: 24px;
    }

    .hjk-single-hero h1 {
        font-size: 36px;
    }

    .hjk-single-hero-meta {
        gap: 8px 14px;
        margin-top: 19px;
        font-size: 11px;
    }

    .hjk-single-hero-bottom {
        grid-template-columns:
            44px minmax(0, 1fr) 24px;
        margin-top: 30px;
    }

    .hjk-single-hero-bottom small {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hjk-single-cover {
        aspect-ratio: 4 / 3;
    }

    .hjk-single-cover figcaption {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        right: 17px;
        bottom: 16px;
        left: 17px;
    }

    .hjk-single-cover figcaption strong {
        max-width: 100%;
        font-size: 13px;
        text-align: left;
    }

    .hjk-single-entry-content {
        font-size: 15px;
        line-height: 1.85;
    }

    .hjk-single-entry-content blockquote {
        padding: 22px 18px 22px 48px;
        font-size: 15px;
    }

    .hjk-single-taxonomy > div {
        flex-direction: column;
        gap: 9px;
    }

    .hjk-single-taxonomy strong {
        flex-basis: auto;
    }

    .hjk-single-author {
        grid-template-columns: 70px minmax(0, 1fr);
        margin: 18px;
        padding: 19px;
    }

    .hjk-single-author-avatar img {
        width: 70px;
        height: 70px;
    }

    .hjk-single-post-navigation {
        grid-template-columns: 1fr;
    }

    .hjk-single-post-navigation > div:last-child {
        text-align: left;
    }

    .hjk-comment-list .children {
        margin-left: 18px;
    }

    .hjk-comment-body {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 12px;
        padding: 15px;
    }

    .hjk-comment-avatar img {
        width: 44px;
        height: 44px;
    }

    .hjk-comment-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .hjk-comment-form {
        grid-template-columns: 1fr;
    }

    .hjk-comment-form-header,
    .hjk-comment-logged-in,
    .hjk-comment-field-message,
    .hjk-comment-cookies,
    .hjk-comment-form .form-submit {
        grid-column: auto;
    }

    .hjk-related-news-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .hjk-related-news-grid {
        grid-template-columns: 1fr;
    }

    .hjk-related-news-card h3,
    .hjk-related-news-card p {
        min-height: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hjk-single-news-page *,
    .hjk-single-news-page *::before,
    .hjk-single-news-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}


/* =====================================================
   V2：紧凑文章 Banner 与侧栏缩略图优化
===================================================== */

/*
 * 短标题文章不再撑出大面积空白。
 * 使用内容自然高度，同时保留足够的视觉层次。
 */
.hjk-single-hero {
    min-height: 0;
    padding: 28px 0 32px;
}

.hjk-single-breadcrumb {
    margin-bottom: 22px;
}

.hjk-single-hero-content {
    max-width: 980px;
    padding: 4px 0;
}

.hjk-single-hero-category {
    min-height: 34px;
    margin-bottom: 13px;
    padding: 7px 12px;
    font-size: 11px;
}

.hjk-single-hero h1 {
    max-width: 980px;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.12;
}

.hjk-single-hero-meta {
    margin-top: 19px;
}

.hjk-single-hero-bottom {
    margin-top: 26px;
}

/*
 * 右侧最近文章缩略图固定比例，
 * 防止正文首图尺寸不同导致排版不整齐。
 */
.hjk-sidebar-recent-list article {
    grid-template-columns: 112px minmax(0, 1fr);
}

.hjk-sidebar-recent-image {
    width: 112px;
    aspect-ratio: 4 / 3;
}

.hjk-sidebar-recent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991.98px) {
    .hjk-single-hero {
        padding: 25px 0 31px;
    }
}

@media (max-width: 575.98px) {
    .hjk-single-hero {
        padding: 20px 0 28px;
    }

    .hjk-single-breadcrumb {
        margin-bottom: 17px;
    }

    .hjk-single-hero h1 {
        font-size: 34px;
    }

    .hjk-single-hero-bottom {
        margin-top: 21px;
    }

    .hjk-sidebar-recent-list article {
        grid-template-columns: 96px minmax(0, 1fr);
    }

    .hjk-sidebar-recent-image {
        width: 96px;
    }
}

/* =====================================================
   SEO content modules · v3
===================================================== */

/* 模板已移除文章顶部大图；该规则用于防止缓存或旧片段残留。 */
.hjk-single-article > .hjk-single-cover {
    display: none !important;
}

.hjk-single-seo-overview {
    position: relative;
    overflow: hidden;
    margin: 0;
    padding:
        clamp(30px, 5vw, 52px)
        clamp(24px, 6vw, 68px)
        32px;
    border-bottom: 1px solid
        var(--hjk-single-line);
    background:
        radial-gradient(
            circle at 94% 8%,
            rgba(229, 138, 31, 0.12),
            transparent 27%
        ),
        linear-gradient(
            145deg,
            #ffffff,
            #f8fafb
        );
}

.hjk-single-seo-overview::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background:
        linear-gradient(
            90deg,
            var(--hjk-single-accent),
            rgba(229, 138, 31, 0.18),
            transparent 72%
        );
}

.hjk-single-seo-heading > span,
.hjk-single-toc > div > span,
.hjk-single-topic-section > header > span {
    display: block;
    margin-bottom: 7px;
    color: var(--hjk-single-accent-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.hjk-single-seo-heading h2,
.hjk-single-toc h2,
.hjk-single-topic-section > header h2 {
    margin: 0;
    color: var(--hjk-single-ink);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 830;
    line-height: 1.3;
}

.hjk-single-seo-summary {
    margin: 20px 0 0;
    padding: 20px 22px;
    border-left: 3px solid
        var(--hjk-single-accent);
    border-radius: 0 13px 13px 0;
    background: var(--hjk-single-accent-soft);
    color: #465760;
    font-size: 15px;
    line-height: 1.9;
}

.hjk-single-seo-facts {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 23px 0 0;
}

.hjk-single-seo-facts > div {
    min-width: 0;
    padding: 13px 14px;
    border: 1px solid
        rgba(28, 46, 58, 0.09);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.78);
}

.hjk-single-seo-facts dt {
    margin: 0 0 4px;
    color: var(--hjk-single-muted);
    font-size: 10px;
    font-weight: 650;
}

.hjk-single-seo-facts dd {
    margin: 0;
    overflow: hidden;
    color: var(--hjk-single-ink);
    font-size: 12px;
    font-weight: 760;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hjk-single-seo-facts a {
    color: var(--hjk-single-accent-dark);
    text-decoration: none;
}

.hjk-single-toc {
    margin:
        28px
        clamp(24px, 6vw, 68px)
        0;
    padding: 23px 24px;
    border: 1px solid
        rgba(28, 46, 58, 0.11);
    border-radius: 15px;
    background:
        linear-gradient(
            135deg,
            #f4f7f8,
            #ffffff
        );
}

.hjk-single-toc ol {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 9px 24px;
    margin: 18px 0 0;
    padding: 0;
    counter-reset: hjk-toc;
    list-style: none;
}

.hjk-single-toc li {
    position: relative;
    min-width: 0;
    padding-left: 30px;
    counter-increment: hjk-toc;
}

.hjk-single-toc li::before {
    content: counter(hjk-toc, decimal-leading-zero);
    position: absolute;
    top: 2px;
    left: 0;
    color: var(--hjk-single-accent-dark);
    font-size: 10px;
    font-weight: 800;
}

.hjk-single-toc .toc-level-3 {
    padding-left: 42px;
}

.hjk-single-toc .toc-level-3::after {
    content: "↳";
    position: absolute;
    top: 0;
    left: 27px;
    color: #9ba6ad;
    font-size: 11px;
}

.hjk-single-toc a {
    display: block;
    overflow: hidden;
    color: #40515c;
    font-size: 12px;
    font-weight: 680;
    line-height: 1.55;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hjk-single-toc a:hover {
    color: var(--hjk-single-accent-dark);
}

.hjk-single-entry-content h2,
.hjk-single-entry-content h3 {
    scroll-margin-top: 128px;
}

.hjk-single-topic-section {
    padding:
        4px
        clamp(24px, 6vw, 68px)
        clamp(34px, 5vw, 55px);
}

.hjk-single-topic-section > header {
    margin-bottom: 19px;
}

.hjk-single-topic-section > header p {
    margin: 8px 0 0;
    color: var(--hjk-single-muted);
    font-size: 12px;
}

.hjk-single-topic-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hjk-single-topic-grid article {
    min-width: 0;
}

.hjk-single-topic-grid article > a {
    display: flex;
    min-height: 160px;
    height: 100%;
    flex-direction: column;
    padding: 18px;
    border: 1px solid
        rgba(28, 46, 58, 0.1);
    border-radius: 14px;
    background:
        radial-gradient(
            circle at 95% 10%,
            rgba(229, 138, 31, 0.11),
            transparent 34%
        ),
        #f7f9fa;
    color: inherit;
    text-decoration: none;
    transition:
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        transform 0.28s ease;
}

.hjk-single-topic-grid article > a:hover {
    border-color:
        rgba(229, 138, 31, 0.4);
    box-shadow:
        0 16px 35px
        rgba(21, 36, 47, 0.09);
    transform: translateY(-4px);
}

.hjk-single-topic-grid article span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--hjk-single-accent-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.hjk-single-topic-grid h3 {
    margin: 10px 0 7px;
    color: var(--hjk-single-ink);
    font-size: 17px;
    font-weight: 790;
    line-height: 1.4;
}

.hjk-single-topic-grid p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: var(--hjk-single-muted);
    font-size: 11px;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hjk-single-topic-grid strong {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    color: #56656e;
    font-size: 10px;
    font-weight: 720;
}

.hjk-single-topic-grid strong i {
    color: var(--hjk-single-accent-dark);
}

@media (max-width: 767.98px) {
    .hjk-single-seo-facts {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .hjk-single-toc ol,
    .hjk-single-topic-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .hjk-single-seo-summary {
        padding: 16px 17px;
        font-size: 14px;
    }

    .hjk-single-seo-facts {
        grid-template-columns: 1fr;
    }

    .hjk-single-toc {
        margin-right: 18px;
        margin-left: 18px;
        padding: 19px;
    }
}
