
/* 设置 rem 基准值 */
html {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: rgb(245, 245, 245);
}

body .bodywrap {
    color: #333;

    min-height: 100vh;
}

.header-wrap {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 1.5625rem 1.25rem; /* 25px 20px */
    position: relative;
    box-shadow: 0 0.25rem 1.25rem rgba(0, 0, 0, 0.1);
    animation: gradientBG 10s ease infinite;
    background-size: 200% 200%;
}

.back-btn,
.share-btn {
    position: absolute;
    width: 2.25rem; /* 36px */
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem; /* 18px */
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn {
    left: 1.25rem; /* 20px */
    top: 1.25rem;
}

.share-btn {
    right: 1.25rem;
    top: 1.25rem;
}

.header-title {
    text-align: center;
    font-size: 1.625rem; /* 26px */
    font-weight: bold;
    margin: 1.5625rem 0 0.9375rem; /* 25px 0 15px */
    color: white;
    text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.header-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem; /* 16px */
    margin-bottom: 0.625rem; /* 10px */
}

.main-content {
    display: flex;
    margin: 1.25rem; /* 20px */
    gap: 1.25rem;
    width: 1200px; /* 1200px */
    margin: 0 auto;
}

.left-sidebar {
    width: 15rem; /* 240px */
    background: white;
    border-radius: 0.9375rem; /* 15px */
    padding: 1.25rem;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
}

.right-content {
    flex: 1;
}

.tab-container {
    display: flex;
    gap: 1.25rem;
    padding: 0.9375rem; /* 15px */
    background: white;
    border-radius: 0.9375rem;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
    margin-bottom: 1.25rem;
}

.tab-item {
    padding: 0.625rem 1.5625rem; /* 10px 25px */
    border-radius: 1.5625rem; /* 25px */
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.tab-item.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: white;
    box-shadow: 0 0.25rem 0.9375rem rgba(255, 107, 107, 0.3);
}

.tab-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0.125rem;
    background: #ff6b6b;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tab-item:hover::after {
    width: 100%;
}

.guide-container {
    background: white;
    border-radius: 0.9375rem;
    padding: 1.25rem;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
    margin-bottom: 1.25rem;
}

.guide-title {
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #333;
}
.guide-subtitle{
    font-size: 14px;
    text-align: center;
    color: #333;
}
.guide-more{
    color:rgb(34, 174, 254);
    display: block;
    text-align: center !important;
}
.guide-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 改为3列 */
    gap: 0.9375rem; /* 15px */
}

.guide-card {
    background: white;
    border-radius: 0.75rem; /* 12px */
    padding: 0.9375rem;
    display: flex;
    align-items: center;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 1.25rem rgba(0, 0, 0, 0.1);
    border-color: #4facfe;
}

.card-icon {
    font-size: 1.75rem;
    margin-right: 0.9375rem;
    transition: transform 0.3s ease;
}

.guide-card:hover .card-icon {
    transform: scale(1.2);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 改为3列 */
    gap: 0.9375rem;
}

.content-card {
    background: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.content-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.15);
}

.content-image {
    width: 100%;
    height: 88%; /* 160px */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.content-card:hover .content-image {
    transform: scale(1.05);
}

.content-text {
    padding: 0.75rem; /* 12px */
    font-size: 0.9375rem; /* 15px */
    line-height: 1.4;
}

.content-date {
    padding: 0 0.75rem 0.5rem;
    color: #999;
    font-size: 0.8125rem; /* 13px */
}

.like-count {
    padding: 0 0.75rem 0.75rem;
    color: #666;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 0.25rem; /* 4px */
}

.content-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(0.625rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.back-btn:hover,
.share-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

/* 添加滚动条样式 */
::-webkit-scrollbar {
    width: 0.5rem;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 0.25rem;
}

::-webkit-scrollbar-thumb {
    background: #4facfe;
    border-radius: 0.25rem;
}

::-webkit-scrollbar-thumb:hover {
    background: #00f2fe;
}
div, ul, l, li, dl, dd, dt, p, tt {
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: normal;
    border: 0;
}
.header .header-content, .main .main-container {
    width: 1200px !important;
}
a {
    text-decoration: none;
    display: inline-block;
}
* {
    padding: 0;
    margin: 0;
    margin: 0px;
    text-decoration: none;
    font-family: "Microsoft YaHei";
}
.hdh_nav_top{
    margin:15px 0;
    color: #666;
    font-size: 14px;
    clear: both;
}
.hdh_nav_top a{
    color: #666;
}



.footer a {
    font-size: 14px !important;
}



#footer {
    margin-top: 0px !important;
}

.footer .notice {
    text-align: center;
    display: block;
    font-size: 17px;
}

.footer {
    width: 100%;
    background-color: #666666;
    color: #999;
    font-size: 17px;
}

.notice {
    margin-top: 15px;
    font-size: 14px !important;
}

.footer a {
    color: #999;
    font-size: 17px;
    text-decoration: none;
}

.wenzi {
    border-top: 0px !important;
    line-height: normal;
    font-size: 14px !important;
}

.wenzi {
    padding: 12px 0px 12px 0px;
    text-align: center;
    border-top: 1px solid #000000;
}

.bot-about {
    color: #666666 !important;
    font-family: "Microsoft YaHei" !important;
    font-size: 14px !important;
    margin-bottom: 15px !important;
}

.bot-about {
    /* background-color: #666666; */
    text-align: center;
    color: #999;
    margin-top: 60px;
    padding: 10px 50px;
    text-align: center;
    color: #666;
    font-size: 18px;

}

.bot-about>div {
    color: #999;
}
/*底部*/
#footer {
    background: #333;
    color: #999;
    padding:  0;
    margin-top: 20px;
}
.wenzi {
    padding: 32px 0px 40px 0px !important;
}
.footer-container{
    width: 1200px;
    margin: 0 auto;
    font-family: "Microsoft Yahei";
}
.footer-container>.footer-info-latest{
    padding: 6px 0; font-size: 14px;
}
.footer-container>.footer-info-latest strong{
    float: left;

    color: #d4caca;
    font-weight: normal;
    margin: 0;
    padding: 0;
}
.footer-container>.footer-info-latest a {
    color: #fff;
    text-decoration: none;
}
.footer-container>.footer-info-latest a:hover{
    color: #ffcd00;
}
.footer-container>.siteinfo{
    position: relative;
    line-height: 2.33;
    border-top: 1px solid #4d4d4d;
    padding-top: 10px;
}
.footer-container>.siteinfo>p{
    margin: 0;
    padding: 0;
}
.footer-container>.siteinfo a {
    color: #999;
    text-decoration: none;
}
.footer-container>.siteinfo a:hover{
    color: #ffcd00;
}
.footer-container>.siteinfo .sep {
    margin: 0 1em;
}
.footer-container>.siteinfo .notice span {
    margin-right: 20px;
}

h2{
    margin-bottom: 15px;
}

.onetext{
    
    white-space: nowrap; /* 禁止文本换行 */
    overflow: hidden; /* 隐藏超出范围的内容 */
    text-overflow: ellipsis; /* 使用省略号 */
}