/*your custom css goes here*/

/* ====================================
   Anti-crawler: Hidden Name Styles
   ==================================== */

/* 基础隐藏样式 - 让原始文字不可见 */
.h-name {
    position: relative;
    display: inline;
    font-size: 0 !important;
    color: transparent !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    line-height: 0;
}

/* 使用伪元素显示真实文字 */
.h-name::before {
    content: attr(data-real);
    font-size: 1rem;
    line-height: normal;
    color: inherit;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

/* 继承父元素字体大小 - 针对标题 */
h1 .h-name::before { font-size: 2.5rem; }
h2 .h-name::before { font-size: 2rem; }
h3 .h-name::before { font-size: 1.75rem; }
h4 .h-name::before { font-size: 1.5rem; }
h5 .h-name::before { font-size: 1.25rem; }
h6 .h-name::before { font-size: 1rem; }

.h1 .h-name::before { font-size: 2.5rem; }
.h2 .h-name::before { font-size: 2rem; }
.h3 .h-name::before { font-size: 1.75rem; }
.h4 .h-name::before { font-size: 1.5rem; }
.h5 .h-name::before { font-size: 1.25rem; }
.h6 .h-name::before { font-size: 1rem; }

/* 继承各种文本样式 */
.fs-10 .h-name::before { font-size: 10px; }
.fs-11 .h-name::before { font-size: 11px; }
.fs-12 .h-name::before { font-size: 12px; }
.fs-13 .h-name::before { font-size: 13px; }
.fs-14 .h-name::before { font-size: 14px; }
.fs-15 .h-name::before { font-size: 15px; }
.fs-16 .h-name::before { font-size: 16px; }
.fs-18 .h-name::before { font-size: 18px; }
.fs-20 .h-name::before { font-size: 20px; }
.fs-24 .h-name::before { font-size: 24px; }

/* 品牌/Logo 区域特殊样式 */
.brand .h-name::before,
.logo .h-name::before,
.navbar-brand .h-name::before {
    font-size: inherit;
    font-weight: inherit;
}

/* 页脚版权区域 */
footer .h-name::before,
.footer .h-name::before {
    font-size: inherit;
    color: inherit;
}

/* 确保在各种背景下正确显示 */
.bg-primary .h-name::before,
.bg-dark .h-name::before { color: #fff; }
.bg-white .h-name::before,
.bg-light .h-name::before { color: inherit; }

/* 强调文本样式继承 */
strong .h-name::before,
.strong .h-name::before,
.fw-600 .h-name::before,
.fw-700 .h-name::before,
b .h-name::before {
    font-weight: inherit;
}