* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
}

::selection {
    background: #4CAF50;
    color: white;
}

::-moz-selection {
    background: #4CAF50;
    color: white;
}

::-webkit-selection {
    background: #4CAF50;
    color: white;
}

::-webkit-scrollbar {
    width: .5rem;
    height: .5rem;
    background: hsla(0, 0%, 100%, 0.6);
}

::-webkit-scrollbar-track {
    border-radius: 0;
}

::-webkit-scrollbar-thumb {
    background-color: rgba(95, 95, 95, .4);
    transition: all .2s;
    border-radius: .5rem;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(95, 95, 95, .7);
}

html {
    height: 100%;
    overflow-y: scroll;
    margin: 0;
    padding: 0;
}

:root {
    overflow-y: auto;
    overflow-x: hidden;
}

:root body {
    position: absolute;
}

body {
    width: 100vw;
    background-color: #F8F8F8;
}

hr {
    height: 1px;
    border: none;
    border-top: 1px solid #F0F0F0;
    margin: 0 0 20px 0;
}

ul,
ol,
li {
    list-style: none;
    margin: 0;
    padding: 0;
}

button {
    outline: none;
}

a {
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
}

.main {
    text-align: center;
}

.content {
    display: inline-block;
    text-align: left;
    width: 65%;
    max-width: 65%;
}

@media (min-width: 1920px) {
    .content {
        width: 35%;
        max-width: 35%;
    }
}

@media (max-width: 1920px) {
    .content {
        width: 35%;
        max-width: 35%;
    }
}

@media (max-width: 1440px) {
    .content {
        width: 45%;
        max-width: 45%;
    }
}

@media (max-width: 1366px) {
    .content {
        width: 40%;
        max-width: 40%;
    }
}

@media (max-width: 1024px) {
    .content {
        width: 50%;
        max-width: 50%;
    }
}

@media (max-width: 750px) {
    .content {
        width: 100%;
        max-width: 100%;
    }
}

.shadow {
    border-radius: 2px;
    -webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    -moz-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    background-color: white;
}

/* ------------------------------------------------------ */

.ellipsis,
header>a,
header>p,
footer>a,
footer>p {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.index-post-item {
    transition: border-color .3s, background-color .3s, color .3s;
    margin-bottom: 8px;
    padding: 16px 24px;
}

.index-post-item:hover {
    background-color: #EFEEEE;
}

.index-post-title-a {
    display: block;
    font-size: 16px;
    word-wrap: break-word;
    text-decoration: none;
    font-weight: bold;
    color: black;
}

.index-post-title-a:hover {
    color: #4CAF50;
}

.index-post-title-a:active {
    color: #999;
}

.index-post-desc {
    margin: 0;
    color: #8a8a8a;
    word-wrap: break-word;
}

.anchor-link-a {
    color: #8a8a8a;
}

.anchor-link-a:hover {
    color: #4CAF50;
}


.content p {
    margin: 10px 0;
    font-size: 12px;
}

/* 头部样式 */
.header {
    height: auto;
    background-color: white;
    min-height: 48px;
    line-height: 48px;
    text-align: center;
}

.header ul {
    display: inline-block;
}

.header li {
    display: inline-block;
    transition: border-color .3s, background-color .3s, color .3s;
}

.header li:hover {
    background-color: #fafafa;
}

.header li:hover a {
    color: #4CAF50;
}

.header ul li a {
    display: inline-block;
    padding: 0 20px;
    font-size: 14px;
    text-decoration: none;
    color: black;
}

.header a:active {
    color: #4CAF50;
}

/* 底部样式 */
.footer {
    text-align: center;
    padding: 20px;
    color: #999;
}

.footer p {
    margin: 0;
    padding: 0;
}

.footer a {
    color: #999;
    text-decoration: none;
}

.go-top {
    fill: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    width: 40px;
    /*height: 20px;*/
    position: fixed;
    right: 50px;
    bottom: 88px;
    background-color: #4CAF50;
    text-align: center;
    padding: 10px 0;
}

/* ------------------------------------------------------------------------------------------手机端底部微信复制和拨打电话 */
/* 默认隐藏底部栏（PC端） */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* 仅在移动设备显示 */
@media screen and (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
}

/* 按钮样式 */
.contact-btn {
    flex: 1;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wechat-btn {
    background: #ffffff;
    color: #07C160;
    border: 2px solid #07C160;
}

.wechat-btn:hover {
    background: #07C160;
    color: white;
    transform: translateY(-2px);
}

.call-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    text-decoration: none;
    text-align: center;
}

.call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
}

/* 图标样式 */
.btn-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 微信号显示区域 */
.wechat-display {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    color: #333;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.copy-notice {
    color: #666;
    font-size: 12px;
}

/* 提示框样式 */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1001;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* 防止按钮遮挡内容 */
body {
    padding-bottom: 80px;
}