@charset "utf-8";
/**
* ======================================
* hanlu-im.css
* Web developer: Hanlu
* Welcome to my website.
* URL: https://hanlu.im
**
========================================
   网站全局 - 主题与基础样式
======================================== 
*/
html.hanluim-dark {
    --bg-color: #121212;
    color-scheme: dark;
}
:root {
    --bg-color: #f4f4f4;
}
/* ----- 盒子模型 ----- */
html {
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}
/* ----- 焦点设置 ----- */
*:focus:not(:focus-visible) {
    outline: none;
}
*:focus-visible {
    outline: 2px solid #007cba;
    outline-offset: 2px;
    border-radius: 2px;
}
::selection {
    background: #007edb;
    color: #fff;
    text-shadow: none;
}
/* ----- CSS重置 ----- */
body, header, footer, main, nav, section, article, aside, details, figure, figcaption, blockquote, hr, h1, h2, h3, h4, h5, h6, p, pre, code, ul, ol, li, dl, dt, dd, form, fieldset, legend, input, textarea, select, button, th, td, div {
    margin: 0;
    padding: 0;
}
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: var(--bg-color);
    text-align: left;
}
button, input, optgroup, select, textarea {
    line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: normal;
}
ul, ol {
    list-style: none;
}
img {
    border: 0;
    vertical-align: middle;
    height: auto;
    max-width: 100%;
}
a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
a:hover {
    color: #009eff;
    text-decoration: none;
}
a:has(img) {
    display: block;
}
a > img {
    display: block;
}
i {
    font-style: normal;
}
textarea {
    resize: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}
caption, th {
    text-align: left;
}
div, p, li, h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    overflow-wrap: break-word;
}
iframe {
    border: 0;
}
/* ----- 样式预设 ----- */
.cf::before, .cf::after {
    content: "";
    display: table;
}
.cf::after {
    clear: both;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.container {
    max-width: 1240px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: auto;
    margin-right: auto;
}
.mb-20 {
    margin-bottom: 20px;
}
.line-clamp-1, .line-clamp-2, .line-clamp-3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-1 {
    -webkit-line-clamp: 1;
}
.line-clamp-2 {
    -webkit-line-clamp: 2;
}
.line-clamp-3 {
    -webkit-line-clamp: 3;
}
.hanluim-tip {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 99999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 80%;
    word-wrap: break-word;
    opacity: 1;
    -webkit-user-select: none;
    user-select: none;
}
@-webkit-keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.fade-out {
    -webkit-animation: fadeOut 0.3s ease-in-out forwards;
    animation: fadeOut 0.3s ease-in-out forwards;
}
/* 
========================================
   网站头部（Header）
======================================== 
*/
.hanluim-header {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}
.hanluim-header.offscreen-top {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}
.site-header {
    position: relative;
    z-index: 2;
    padding: 20px 0;
    background-color: #fff;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.02);
}
/* ----- 网站 Logo ----- */
.logo > a {
    display: block;
    height: 32px;
}
.logo > a > img {
    display: block;
    height: 100%;
}
.welcome-text {
    color: #bbb;
    font-size: 14px;
    line-height: 16px;
    padding-left: 10px;
    border-left: 1px solid #f4f4f4;
    margin-left: 10px;
}
/* ----- 功能图标 ----- */
.header-icons {
    -webkit-user-select: none;
    user-select: none;
}
.header-icons li {
    cursor: pointer;
    display: inline-block;
    padding: 1px 0 1px 10px;
}
.header-icons li:hover {
    color: #009eff;
}
.header-icons li .hanlu-font {
    font-size: 20px;
}
.header-icons li:first-child {
    margin-left: 10px;
}
/*
.header-icons .drawer-trigger {
    display: none;
}
*/
.header-icons .notice-toggle {
    position: relative;
    display: none;
}
.header-icons .notice-toggle::after {
    content: attr(data-count);
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    right: -2px;
    width: 14px;
    font-size: 12px;
    line-height: 14px;
    background-color: #ff6655;
    color: #fff;
    text-align: center;
    border-radius: 50%;
}
/* ----- 主导航菜单 ----- */
.nav-item {
    position: relative;
    display: inline-block;
    font-size: 17px;
    line-height: 32px;
    padding: 0 10px;
}
.nav-item.active {
    color: #009eff;
}
.nav-item > a {
    position: relative;
    display: block;
}
.has-submenu > a {
    padding-right: 14px
}
.has-submenu > a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -2px;
    border: 4px solid transparent;
    border-top-color: #999;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.has-submenu:hover > a::after {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    margin-top: -6px;
}
.has-submenu:hover .submenu {
    visibility: visible;
    opacity: 1;
    margin-top: 0px
}
.submenu {
    position: absolute;
    z-index: 1;
    top: calc(100% + 8px);
    left: 50%;
    width: 160px;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 14px;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    margin-top: -8px;
    margin-left: -80px;
    padding: 6px 0;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.submenu::before, .submenu::after {
    content: "";
    position: absolute;
    top: -8px;
    left: 50%;
    margin-left: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}
.submenu::before {
    border-bottom: 8px solid #f2f2f2;
    z-index: 2;
}
.submenu::after {
    border-bottom: 8px solid #fff;
    margin-top: 1px;
    z-index: 3;
}
.submenu > li > a {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 10px;
}
.submenu > li > a:hover {
    background-color: #f4f4f4;
    color: #333;
}
/* ----- 网站搜索 ----- */
.site-search {
    position: absolute;
    z-index: 1;
    top: -120px;
    left: 0;
    width: 100%;
    height: 120px;
    visibility: hidden;
    opacity: 0;
    background-color: #fff;
    border-top: 1px solid #f4f4f4;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.site-search.docked-top {
    top: 72px;
    visibility: visible;
    opacity: 1;
}
.search-bar {
    max-width: 960px;
    margin: 0 auto;
    padding: 36px 30px 0;
}
.search-input {
    float: left;
    width: 80%;
    font-size: 16px;
    padding: 11px 20px;
    border: solid 1px #009eff;
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: #999;
    background-color: #fff;
    outline: none;
}
.search-button {
    float: left;
    width: 20%;
    padding: 15px 0;
    border: none;
    border-radius: 0 6px 6px 0;
    background-color: #009eff;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    -webkit-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}
.search-button:hover {
    background-color: #007edb;
}
/* 
========================================
   侧边栏（Side-Drawer / 抽屉菜单）
======================================== 
*/
.side-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: #fff;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 10001;
    visibility: hidden;
    opacity: 0;
}
.side-drawer.slide-in {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    box-shadow: 2px 0 8px -5px rgba(0, 0, 0, 0.3);
}
.side-nav {
    padding: 20px;
}
.side-nav-header {
    text-align: right;
    border-bottom: 1px solid #f4f4f4;
}
.drawer-close {
    display: inline-block;
    padding: 1px 0;
    cursor: pointer;
    padding-left: 20%;
}
.drawer-close .hanlu-font {
    font-size: 20px;
}
.drawer-close:hover .hanlu-font {
    color: #009eff;
}
.side-nav-item {
    position: relative;
    border-bottom: 1px solid #f4f4f4;
}
.side-nav-item > a {
    display: block;
    font-size: 16px;
    padding: 10px;
}
.side-nav-item > a:hover {
    background-color: #f4f4f4;
    color: #333;
}
.dropdown > .dropdown-icon {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    font-size: 20px;
    padding: 7px 0 7px 20%;
    cursor: pointer;
}
.dropdown > .dropdown-icon:hover {
    color: #009eff;
}
.dropdown-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}
.dropdown-menu.is-expanded {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
}
.dropdown-menu > li > a {
    display: block;
    padding: 8px 0 8px 35px;
    position: relative;
}
.dropdown-menu > li > a:hover {
    color: #333;
    background-color: #f4f4f4;
}
.dropdown-menu > li > a::before {
    font-family: "hanlu-font";
    content: "\e677";
    position: absolute;
    top: 7px;
    left: 10px;
    color: #333;
    font-size: 17px;
}
/* 
========================================
   遮罩层（Overlay）
======================================== 
*/
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
.overlay.is-visible {
    opacity: 1;
    visibility: visible;
}
/* 
========================================
   滚动到顶部按钮（Scroll-To-Top）
======================================== 
*/
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: #2f363c;
    color: #f3f3f3;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 1000;
}
.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}
.scroll-to-top .hanlu-font {
    font-size: 20px;
}
.scroll-to-top:hover {
    background-color: #2a3035;
    color: #fff;
}
/* 
========================================
   公告栏（Notice）
======================================== 
*/
.site-notice {
    display: none;
}
.site-notice.show-block {
    display: block;
}
.notice-section {
    background-color: #fff;
    padding: 12px 20px 14px;
    border-radius: 6px;
}
.notice-bar {
    position: relative;
}
.notice-prompt, .notice-more, .notice-close, .notice-info {
    font-size: 15px;
    line-height: 1.6;
}
.notice-prompt {
    font-weight: bold;
    color: #ff6655;
}
.notice-prompt::after {
    content: "：";
}
.notice-more, .notice-close {
    display: inline-block;
    color: #999;
}
.notice-more {
    padding-right: 10px;
    position: relative;
}
.notice-more::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #f4f4f4;
}
.notice-close {
    padding-left: 9px;
    cursor: pointer;
    vertical-align: top;
}
.notice-close:hover {
    color: #009eff;
}
.notice-info {
    position: absolute;
    top: 0;
    left: 76px;
    right: 76px;
    overflow: hidden;
}
.notice-mask {
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}
@-webkit-keyframes marquee {
    0% {
        -webkit-transform: translateX(0);
    }
    100% {
        -webkit-transform: translateX(-50%);
    }
}
@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.marquee-list {
    white-space: nowrap;
    display: inline-block;
    position: relative;
    -webkit-animation: marquee 30s linear infinite;
    animation: marquee 30s linear infinite;
}
.notice-info:hover .marquee-list {
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
}
.marquee-list li {
    display: inline-block;
    margin-right: 10px;
}
.marquee-list a {
    color: #666;
}
.marquee-list a:hover {
    color: #007bff;
}
/* 
========================================
   网站主体结构 - 区域布局
======================================== 
*/
.hanluim-main {
    margin-top: 92px;
}
.main-body-layout {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
}
.main-content {
    width: calc(100% - 380px);
}
.sidebar {
    width: 360px;
    flex-shrink: 0;
}
/* 
========================================
   首页轮播图（Slide Container）
======================================== 
*/
.hero-section {
    position: relative;
    z-index: 0;
    width: 100%;
    padding-bottom: 42.22%;
}
.hero-content {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 6px;
    overflow: hidden;
}
.hero-banner, .hero-slide a, .hero-slide img {
    display: block;
    width: 100%;
    height: 100%;
}
.hero-slide a {
    position: relative;
    overflow: hidden;
}
.hero-slide img {
    -webkit-transition: transform 0.3s ease-in-out;
    transition: transform 0.3s ease-in-out;
}
.hero-slide:hover img {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}
.hero-prev, .hero-next {
    color: #fff;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity: 0;
}
.hero-prev {
    left: -42px;
}
.hero-next {
    right: -42px;
}
.hero-banner:hover .hero-prev {
    left: 10px;
    opacity: 0.8;
}
.hero-banner:hover .hero-next {
    right: 10px;
    opacity: 0.8;
}
.hero-prev::after, .hero-next::after {
    font-size: 42px;
    font-family: "hanlu-font";
}
.hero-prev::after {
    content: "\e643";
}
.hero-next::after {
    content: "\e644";
}
.hero-pagination .swiper-pagination-bullet {
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    height: 6px;
    width: 8px;
    border-radius: 3px;
}
.hero-pagination .swiper-pagination-bullet-active {
    width: 18px;
    background-color: #009eff;
    opacity: 0.8;
}
/* 
========================================
   主内容区域 - 基础样式
======================================== 
*/
.module-section {
    padding: 15px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #fff;
}
.section-header, .breadcrumb-wrapper {
    position: relative;
    padding: 2px 5px 5px;
    margin-bottom: 2px;
}
.section-header .section-heading {
    float: left;
    font-weight: bold;
    font-size: 17px;
    padding-left: 15px;
    position: relative;
}
.section-header .section-heading::after {
    content: "";
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    height: 16px;
    width: 4px;
    border-radius: 2px;
    background: -webkit-linear-gradient(top, #009eff, #67daff);
    background: linear-gradient(to bottom, #009eff, #67daff);
}
/* ----- 标题指定图标 ----- */
.icon-title .section-heading {
    padding-left: 20px;
}
.icon-title .section-heading::after {
    font-family: "hanlu-font" !important;
    color: #009eff;
    font-size: 16px;
    line-height: 20px;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
}
.tag-title .section-heading::after {
    content: "\e689";
}
/* ----- 副标题位置，用于放置副标题、面包屑导航、查看更多或功能按钮等 ----- */
.section-subtitle, .section-more, .breadcrumb {
    float: right;
    color: #999;
}
.section-subtitle, .breadcrumb {
    margin-top: 3px;
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
}
.breadcrumb:only-child {
    float: left;
}
.breadcrumb-item {
    display: flex;
    align-items: center;
}
.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    margin: 0 0.5rem;
    color: #aaa;
}
.breadcrumb-item a {
    color: #999;
}
.breadcrumb-item a:hover {
    color: #009eff;
}
/* 查看更多 */
.section-more {
    display: block;
    margin-top: 1px;
    color: #999;
}
.section-more:hover {
    color: #009eff;
}
.section-more .hanlu-font {
    position: relative;
    top: 1px;
}
/* 左右滑动功能按钮 */
.slider-controls {
    position: absolute;
    top: 0;
    right: 5px;
}
.slider-controls .control {
    display: inline-block;
    background-color: #f4f4f4;
    border-radius: 6px;
    margin-left: 5px;
    padding: 0 4px;
    cursor: pointer;
}
.slider-controls .control:hover {
    background-color: #e8e8e8;
}
/* ----- 卡片内容项 ----- */
.section-body .article-card {
    width: 33.33333333%;
    float: left;
    padding: 5px;
    box-sizing: border-box;
}
.card-media {
    position: relative;
    z-index: 0;
    width: 100%;
    padding-bottom: 67.18%;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}
.card-img-link {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}
.card-media img {
    display: block;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
.card-media:hover img {
    opacity: 0.8;
}
.card-content .card-title {
    padding: 0 5px;
    font-size: 14px;
    max-height: 42px;
}
.type-video > .card-media::before, .type-audio > .card-media::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    cursor: pointer;
}
.type-video > .card-media::after, .type-audio > .card-media::after {
    font-family: hanlu-font;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 52px;
    opacity: 0.8;
    z-index: 3;
    cursor: pointer;
}
.type-video > .card-media::after {
    content: "\e68e";
}
.type-audio > .card-media::after {
    content: "\e660";
}
.card-content > .card-title .hanlu-font {
    font-size: 14px;
    line-height: 16px;
    padding-right: 5px;
}
/* 
========================================
   网站头条内容
======================================== 
*/
.headline-section {
    padding: 20px;
}
.headline-header {
    float: left;
}
.headline-header h2::after {
    content: "：";
}
.headline-header h2 {
    display: inline-block;
    font-size: 18px;
    font-weight: bold;
    color: #ff6655;
}
.headline-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}
/* 
========================================
   文章列表基础样式
======================================== 
*/
.section-item {
    position: relative;
    padding-bottom: 11px;
    margin-bottom: 10px;
}
.section-item:last-child {
    padding-bottom: 0px;
    margin-bottom: 0px;
}
.section-item::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    margin-left: 5px;
    background-color: #f3f3f3;
}
.section-item:last-child::after {
    display: none;
}
.article-item {
    padding: 5px;
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
}
.article-item-thumb {
    width: 25%;
    min-width: 110px;
}
.article-item-info {
    width: 75%;
    max-width: calc(100% - 110px);
}
.info-body {
    padding-left: 20px;
}
.article-item-info:only-child {
    width: 100%;
    max-width: 100%;
}
.article-item-info:only-child .info-body {
    padding-left: 0;
}
.article-item-thumb > a {
    display: block;
    position: relative;
    z-index: 0;
    width: 100%;
    padding-bottom: 67.18%;
    border-radius: 6px;
    overflow: hidden;
}
.article-item-thumb > a img {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
.article-item-thumb > a:hover img {
    opacity: 0.8;
}
.info-badge {
    display: inline-block;
    background-color: #ff6655;
    color: #fff;
    padding: 0 6px 1px;
    border-radius: 4px;
    margin-right: 6px;
    position: relative;
    top: -2px;
}
.article-item-info .info-title {
    display: inline;
    font-size: 18px;
    font-weight: bold;
}
.info-excerpt {
    font-size: 14px;
    max-height: 42px;
    color: #666;
    margin-top: 10px;
}
.info-meta {
    margin-top: 10px;
    color: #999;
}
.info-meta .hanlu-font {
    padding-right: 5px;
    font-size: 14px;
}
.info-meta span, .info-meta a {
    padding-right: 10px;
}
.info-meta a:hover {
    color: #009eff;
}
/* 
========================================
   边栏 - 关于 (About)
======================================== 
*/
.section-content {
    padding: 5px;
}
.author-box {
    padding: 13px 5px 14px;
}
.about-img {
    margin-bottom: 10px;
}
.about-img img {
    display: block;
    border-radius: 6px;
    width: 100%;
    height: auto;
}
.author-name {
    font-size: 18px;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
}
.author-name .hanlu-font {
    color: #00b5b2;
    font-size: 20px;
}
.about-description, .author-bio {
    color: #666;
}
.author-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
}
.author-avatar img {
    display: block;
    width: 100%;
    height: 100%;
}
.read-more {
    margin-top: 20px;
    text-align: center;
}
.read-more a {
    padding: 7px 25px 8px;
    display: inline-block;
    border-radius: 18px;
    background-color: #ff6655;
    color: #fff;
    -webkit-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}
.read-more a:hover {
    background-color: #ff8c84;
}
/* 
========================================
   边栏 - 选项卡
======================================== 
*/
.tabs-section, .sidebar-widget {
    border-radius: 6px;
    background-color: #fff;
    overflow: hidden;
}
.swiper-tabs, .sidebar-heading {
    border-bottom: 1px solid #f3f3f3;
    background-color: #fbfbfb;
}
.tab-item {
    position: relative;
    float: left;
    font-size: 15px;
    padding: 10px 20px;
    font-weight: bold;
    color: #999;
    text-align: center;
    border-right: 1px solid #f3f3f3;
    cursor: pointer;
}
.tab-item.active {
    background-color: #fff;
    color: #333;
}
.tab-item.active::after {
    position: absolute;
    content: "";
    height: 1px;
    width: 100%;
    background-color: #fff;
    z-index: 1;
    bottom: -1px;
    left: 0;
}
.tabs-content, .sidebar-content {
    padding: 20px;
}
.tabs-body, .sidebar-body {
    width: 100%;
    overflow: hidden;
}
/* 
========================================
   边栏 - 基础卡片样式
======================================== 
*/
.sidebar-heading {
    padding: 10px 15px 10px 20px;
}
.title-box {
    position: relative;
}
/* ----- 边栏卡片标题 ----- */
.title-box .sidebar-title {
    position: relative;
    font-size: 15px;
    font-weight: bold;
    padding-left: 15px;
}
.title-box .sidebar-title::after {
    content: "";
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    height: 16px;
    width: 4px;
    border-radius: 2px;
    background: -webkit-linear-gradient(top, #009eff, #67daff);
    background: linear-gradient(to bottom, #009eff, #67daff);
}
/* ----- 边栏卡片标题指定图标 ----- */
.icon-title .sidebar-title {
    padding-left: 20px;
}
.icon-title .sidebar-title::after {
    font-family: "hanlu-font" !important;
    color: #009eff;
    font-size: 16px;
    line-height: 20px;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
}
.tag-title .sidebar-title::after {
    content: "\e689";
}
.title-box .slider-controls {
    top: -1px;
}
/* ----- 边栏内容列表样式1 ----- */
.sidebar-list li {
    position: relative;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 17px;
    padding-left: 15px;
}
.sidebar-list li:last-child, .sidebar-article-list li:last-child {
    margin-bottom: 0;
}
.sidebar-list li::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #ccc;
    border-radius: 50%;
}
.sidebar-list li span {
    float: right;
    font-size: 12px;
    color: #999;
    margin-left: 10px;
    margin-top: 2px;
}
/* ----- 边栏内容列表样式2 ----- */
.sidebar-article-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 17px;
}
.sidebar-article-list li::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 7px;
    left: 0;
    border: 4px solid transparent;
    border-left-width: 6px;
    border-left-color: #ccc;
}
.s-title {
    display: block;
    margin-bottom: 5px;
}
.s-date, .s-tag {
    color: #999;
    font-size: 12px;
    padding-right: 10px;
}
/* ----- 边栏内容列表带缩略图 ----- */
.sidebar-article-card-list .article-item {
    padding: 0;
}
.sidebar-article-card-list .info-body {
    padding-left: 15px;
}
.sidebar-article-card-list .section-item::after {
    margin-left: 0;
}
/* ----- 边栏 标签列表 ----- */
.sidebar-tagsbox {
    padding-bottom: 10px;
}
.sidebar-tags li, .article-tags li {
    display: inline-block;
    padding: 5px 20px;
    margin-right: 2px;
    margin-bottom: 10px;
    background-color: #f4f4f4;
    border-radius: 999px;
    -webkit-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
    cursor: pointer;
}
.sidebar-tags li:hover, .article-tags li:hover {
    background-color: #d5d5d5;
}
.sidebar-tags li a:hover, .article-tags li a:hover {
    color: #333;
}
/* ----- 边栏 固定元素 ----- */
.sidebar-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 10;
}
/* 
========================================
   友情链接
======================================== 
*/
.type-logo li {
    float: left;
    width: 12.5%;
    padding: 5px;
}
.type-logo a {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 44.2%;
    border: #f3f3f3 solid 1px;
    border-radius: 6px;
}
.type-logo img {
    position: absolute;
    display: block;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
.type-logo img:hover {
    opacity: 0.8;
}
/* 文字链接 */
.type-text li {
    display: inline-block;
    padding: 5px;
}
.type-text li a {
    color: #666;
}
.type-text li a:hover {
    color: #009eff;
}
/* 
========================================
   网站底部（Footer）
======================================== 
*/
.hanluim-footer {
    background-color: #23292e;
    padding-bottom: 40px;
    padding-top: 40px;
}
/* ----- 底部文章信息 导航/版权 ----- */
.footer-info {
    float: left;
}
.footer-nav {
    margin-bottom: 10px;
}
.footer-nav li {
    float: left;
}
.footer-nav li:not(:last-child)::after {
    content: '|';
    color: #3d4851;
    margin-left: 10px;
    margin-right: 10px;
}
.footer-nav a {
    color: #b3b3b3;
}
.footer-copyright, .footer-copyright a {
    color: #999;
}
.footer-nav a:hover, .footer-copyright a:hover {
    color: #ffffff;
}
/* ----- 底部功能图标 ----- */
.footer-icons {
    -webkit-user-select: none;
    user-select: none;
    float: right;
}
.footer-icons li {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 36px;
}
.icon-item {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 36px;
    border-radius: 50%;
    overflow: hidden;
    text-align: center;
    color: #b3b3b3;
    background-color: #2f363c;
    -webkit-transition: color 0.3s ease, background-color 0.3s ease;
    transition: color 0.3s ease, background-color 0.3s ease;
}
.icon-item:hover {
    color: #ffffff;
    background-color: #2a3035;
}
/* ----- 底部二维码 ----- */
.site-qrcode {
    position: absolute;
    bottom: 52px;
    left: -62px;
    width: 160px;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    text-align: center;
    padding: 15px;
    color: #666;
    font-size: 12px;
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.site-qrcode.fade-in-up {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.site-qrcode::before, .site-qrcode::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -8px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
}
.site-qrcode::before {
    border-top: 8px solid #f2f2f2;
    z-index: 2;
}
.site-qrcode::after {
    border-top: 8px solid #fff;
    margin-top: -1px;
    z-index: 3;
}
.site-qrcode img {
    margin-bottom: 3px;
}
/* 
========================================
   列表页 - 页码导航（Pagination）
======================================== 
*/
.pagination-wrapper {
    padding-top: 15px;
    padding-bottom: 30px;
    text-align: center;
}
.pagination-wrapper ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pagination-wrapper ul li a, .pagination-wrapper ul li span {
    display: block;
    line-height: 20px;
    padding: 10px 15px;
    border-radius: 6px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    color: #333;
    text-decoration: none;
    -webkit-transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}
.pagination-wrapper ul li a:hover {
    background-color: #e5e5e5;
    border-color: #ccc;
}
.pagination-wrapper ul li.active span {
    color: #fff;
    background-color: #009eff;
    border-color: #009eff;
    cursor: default;
}
.pagination-wrapper ul li.disabled span {
    color: #999;
    background-color: #f7f7f7;
    border-color: #ddd;
    cursor: not-allowed;
    pointer-events: none;
}
/* 
========================================
   文章页样式（Article Page）
======================================== 
*/
.article-section {
    position: relative;
}
/* ----- 文章二维码图标 ----- */
.article-qrcode-trigger {
    position: absolute;
    z-index: 1;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}
.clip-qrcode {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    color: #999;
}
.clip-qrcode:hover {
    color: #009eff;
}
.clip-qrcode::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-clip-path: polygon(100% 0%, 100% 100%, 0% 0%);
    clip-path: polygon(100% 0%, 100% 100%, 0% 0%);
}
/* ----- 文章容器 ----- */
.section-content {
    padding: 5px;
}
.article-header {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #efefef;
}
/* ----- 文章标题 ----- */
.article-title {
    font-size: 24px;
    font-weight: bold;
    color: #222;
}
/* ----- 文章元信息（作者、发布时间、分类等）----- */
.article-meta {
    font-size: 15px;
    color: #999;
    margin-top: 8px;
}
.article-meta li {
    float: left;
    margin-right: 10px;
}
.article-meta .hanlu-font {
    padding-right: 5px;
}
/* ----- 文章正文内容 ----- */
.article-body {
    position: relative;
    z-index: 0;
    width: 100%;
    overflow: hidden;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.article-body a {
    color: #3674d2;
}
.article-body a:hover {
    color: #009eff;
    text-decoration: underline;
}
.article-body div, .article-body p, .article-body ul, .article-body ol, .article-body blockquote, .article-body pre {
    margin-bottom: 1em;
}
/* 标题层级 H1-H6 */
.article-body h1, .article-body h2, .article-body h3, .article-body h4, .article-body h5, .article-body h6 {
    font-weight: bold;
    line-height: 1.5;
    padding: 0.8em 0 0.6em;
}
.article-body h1 {
    font-size: 24px;
}
.article-body h2 {
    font-size: 20px;
}
.article-body h3 {
    font-size: 18px;
}
.article-body h4 {
    font-size: 16px;
}
.article-body h5 {
    font-size: 14px;
}
.article-body h6 {
    font-size: 12px;
}
/* 文章插入代码样式 Code style */
.article-body pre {
    max-height: 600px;
    overflow: auto;
}
.article-body pre, .article-body code {
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.article-body pre::-webkit-scrollbar {
    width: 3px;
    background: transparent;
}
.article-body pre::-webkit-scrollbar-thumb {
    background: #999;
}
.article-body pre {
    background: #2d2d2d;
}
.article-body pre, .article-body code {
    color: #ccc;
}
/* 文章中其他元素的样式设置 */
.article-body ul li {
    list-style: disc inside;
}
.article-body ol li {
    list-style: decimal inside;
}
.article-body blockquote {
    font-style: italic;
    color: #555;
    padding: 12px 16px;
    background: #f5f5f5;
    border-left: 4px solid #ccc;
    border-radius: 0 4px 4px 0;
}
.article-body blockquote p:last-child {
    margin-bottom: 0;
}
.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1em;
}
.article-body div img, .article-body p img, .article-body li img {
    margin-bottom: 0;
}
/* 文章中图片配文说明-文字样式 */
.image-credit {
    font-size: 13px;
    color: #888;
    text-align: center;
    font-style: italic;
    margin-top: -0.5em;
}
.image-credit a {
    color: #888;
}
/* ----- 文章标签 ----- */
.article-tags::before {
    font-family: "hanlu-font" !important;
    content: "\e689";
    font-size: 20px;
    margin-right: 8px;
    position: relative;
    top: 3px;
    color: #999;
}
/* ----- 文章版权 ----- */
.article-copyright {
    background: #f9f9f9;
    border: 1px solid #efefef;
    border-radius: 6px;
    color: #999;
    padding: 16px 20px;
    margin-top: 5px;
}
.article-copyright h3 {
    font-weight: bold;
    color: #666;
}
.article-copyright a {
    color: #666;
}
.article-copyright a:hover {
    color: #009eff;
}
/* ----- 相关文章，上一页和下一页 ----- */
.article-navigation {
    position: relative;
}
/* 中间分隔线 */
.article-navigation::after {
    content: "";
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    width: 1px;
    background-color: #efefef;
    z-index: 1;
}
/* 左右图标 */
.article-nav {
    position: relative;
    padding: 5px;
}
.article-nav::before, .article-nav::after {
    font-family: "hanlu-font" !important;
    font-size: 20px;
    color: #999;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}
.article-nav::before {
    content: "\e643";
    left: 0;
}
.article-nav::after {
    content: "\e644";
    right: 0;
}
/* 上一页和下一页 */
.article-nav-prev, .article-nav-next {
    width: 50%;
    padding: 0 35px;
}
.article-nav-prev {
    float: left;
    text-align: left;
}
.article-nav-next {
    float: right;
    text-align: right;
}
.article-nav-link, .article-nav-label, .article-nav-title {
    display: block;
}
.article-nav-label {
    color: #999;
    font-size: 12px;
    margin-bottom: 5px;
}
.article-nav-title {
    color: #666;
}
.article-nav-link:hover .article-nav-title {
    color: #009eff;
}
/* 
========================================
   文章页 - 弹出分享二维码
======================================== 
*/
.article-qrcode {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10009;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}
.article-qrcode.is-visible {
    opacity: 1;
    visibility: visible;
}
.article-qrcode-content {
    padding: 30px 35px;
    text-align: center;
}
.article-qrcode-content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}
.article-qrcode-content img {
    display: block;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}
.article-qrcode-content p {
    font-size: 14px;
    margin: 8px 0 12px;
    color: #999;
}
.article-qrcode-close {
    display: inline-block;
    padding: 7px 25px 8px;
    border-radius: 18px;
    background-color: #009eff;
    color: #fff;
    -webkit-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}
.article-qrcode-close:hover {
    background-color: #007edb;
    cursor: pointer;
}
/* 
========================================
   评论区域（预留样式）
======================================== 
*/
.comments-body {
    padding: 5px;
}
/* 
========================================
   内页 - 标签云（Tag Cloud）
======================================== 
*/
.tag-list li {
    float: left;
    padding: 5px;
}
.tag-list li a {
    display: block;
    width: 100%;
    border: #f3f3f3 solid 1px;
    border-radius: 6px;
    text-align: center;
    padding: 15px 30px;
    font-size: 15px;
}
.tag-list li a:hover {
    background-color: #f9f9f9;
    border-color: #f1f1f1;
}
.tag-count {
    margin-left: 8px;
}
/* 
========================================
   内页 - 卡片形式的文章列表
======================================== 
*/
.article-card-list-section .section-body .article-card {
    width: 25%;
    margin-bottom: 5px;
}
.article-card-list-section .card-content .card-title {
    padding: 0 10px;
    font-size: 16px;
    max-height: 48px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}