* {
    margin: 0;
    padding: 0;
    outline: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 14px;
    line-height: 1;
    color: #333;
    background-color: #F7F9FA
}

ul, ol, li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: #007BFF;
}

img {
    max-width: 100%;
    height: 100%;
    vertical-align: middle;
}

.full-container {
    width: 100%;
    padding: 0 30px;
}

.container {
    width: 1280px;
    margin: 0 auto;
}

.d-flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.card {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0px 0px 6px 0 rgba(0, 0, 0, 0.05);
}

.shadow {
    box-shadow: 0px 0px 6px 0 rgba(0, 0, 0, 0.05);
}

.header {
    height: 80px;
    background-color: #fff;
}

.logo {
    margin-right: 20px;
}

.logo-link {
    height: 28px;
}

.nav-link {
    color: #333;
    font-size: 16px;
    line-height: 80px;
    padding: 0 10px;
}

.nav-link:hover {
    color: #007bff;
}

.nav-item {
    position: relative;
}

.nav-item.dropdown {
    display: inline-block;
}

.nav-item.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    max-height: 0;
    margin-top: 40px;
    background: #fff;
    width: 160px;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0px 0px 6px 0 rgba(0, 0, 0, 0.05);
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #007BFF;
}

.nav-item.dropdown:hover .dropdown-menu {
    max-height:2000px;
    margin-top:0;
    opacity:1;
    visibility:visible;
    -webkit-transition:opacity 0.3s linear,max-height 0s linear,margin 0.3s;
    -o-transition:opacity 0.3s linear,max-height 0s linear,margin 0.3s;
    transition:opacity 0.3s linear,max-height 0s linear,margin 0.3s;
}

.entry-item {
    margin-left: 10px;
}

.entry-item.register {
    padding: 6px 16px;
    color: #007BFF;
    border: 1px solid #007BFF;
    border-radius: 4px;
    margin-left: 20px;
}

.entry-item.register:hover {
    background-color: #007BFF;
    color: #fff;
}

.entry-item.login {
    padding: 6px 16px;
    color: #fff;
    border: 1px solid #007BFF;
    background-color: #007BFF;
    border-radius: 4px;
}

.entry-item.login:hover {
    background-color: #006BDD;
}

.user {
    position: relative;
    display: inline-block;
}

.user-link {
    margin-left: 10px;
    border-radius: 4px;
    cursor: pointer;
}

.user-avatar {
    width: 28px;
    height: 28px;
    background-color: #007BFF;
    color: #fff;
    border-radius: 50%;
    justify-content: center;
    font-weight: 500;
    margin-right: 6px;
}

.user-name {
    margin-right: 2px;
}

.user-dropdown {
    position: absolute;
    top: 130%;
    right: 0;
    background-color: #fff;
    box-shadow: 0px 0px 6px 0 rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    min-width: 120px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.user-dropdown.active,
.user-dropdown.show {
    display: block;
}

.user-dropdown.show {
    opacity: 1;
}

.user-dropdown-item {
    display: block;
    padding: 10px 15px;
}

.user-dropdown-item:hover {
    background-color: #f5f5f5;
    color: #007BFF;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-arrow.rotated {
    transform: rotate(180deg);
}
.base-title {
    margin-bottom: 60px;
}
.base-title h2{font-size:36px;font-weight:bold}
.base-title p{font-size:16px;margin-top:20px;color:#50627f}

.breadcrumbs {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0px 0px 6px 0 rgba(0, 0, 0, 0.05);
}

.breadcrumbs i {
    margin: 0 10px;
    color: #ddd;
}

.category,.single {
    gap: 20px;
}

.category-content {
    width: 900px;
    background-color: #fff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0px 0px 6px 0 rgba(0, 0, 0, 0.05);
}

.category-post {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.category-post a {
    padding-right: 80px;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    font-size: 16px;
}

.category-post span {
    position: absolute;
    right: 0;
    color: #999;
}

.sidebar {
    width: 360px;
}

.search-form {
    position: relative;
    margin-bottom: 20px;
}

.search-field {
    width: 100%;
    height: 40px;
    padding: 10px 40px 10px 15px;
    border-radius: 4px;
    font-size: 14px;
    border: none;
    background-color: #fff;
    box-shadow: 0px 0px 6px 0 rgba(0, 0, 0, 0.05);
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
}

.search-submit:hover {
    color: #007BFF;
}

.sidebar-module {
    margin-bottom: 20px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0px 0px 6px 0 rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.sidebar-module:last-child {
    margin-bottom: 0;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-title i {
    margin-right: 10px;
    color: #007BFF;
}

.hot-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hot-post-item {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.hot-post-item:last-child {
    border-bottom: none;
}

.hot-post-item a {
    display: block;
    transition: all 0.3s ease;
}

.hot-post-item a:hover {
    transform: translateX(5px);
}

.hot-post-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hot-post-meta {
    font-size: 12px;
    color: #999;
    display: flex;
    align-items: center;
}

.hot-post-meta i {
    margin-right: 4px;
}

.comment-count {
    margin-right: 10px;
}

.no-posts {
    text-align: center;
    color: #999;
    padding: 20px 0;
}

/* 标签云样式 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    line-height: 1.8;
}

.tag-cloud a {
    display: inline-block;
    padding: 3px 10px;
    background-color: #f5f5f5;
    color: #666;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background-color: #007BFF;
    color: #fff;
    transform: translateY(-2px);
}

.no-tags {
    text-align: center;
    color: #999;
    padding: 20px 0;
}

.single-post {
    width: 900px;
    background-color: #fff;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0px 0px 6px 0 rgba(0, 0, 0, 0.05);
}

.footer {
    background-color: #fff;
    padding: 20px;
    color: #999;
}