/**
 * SEO主题样式 - 大气专业版
 * SEO Theme Styles - Professional Edition
 */

:root {
    --primary-color: #1a56db;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #059669;
    --accent-color: #f59e0b;
    --text-dark: #111827;
    --text-light: #374151;
    --text-muted: #6b7280;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-size: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ========== Header ========== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
    color: var(--primary-color);
}

.logo img {
    max-height: 40px;
    width: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.nav-menu li.active a {
    background: var(--primary-color);
    color: #fff;
}

.nav-menu li a i {
    font-size: 14px;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: none;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
}

/* ========== Breadcrumb ========== */
.breadcrumb {
    background: #fff;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: var(--border-color);
}

/* ========== Hero Slider ========== */
.hero-slider {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slide-item.active {
    opacity: 1;
    z-index: 1;
}

.slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

.slide-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    align-items: flex-end;
    padding: 40px;
}

.slide-content {
    max-width: 800px;
    color: #fff;
}

.slide-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.slide-content p {
    font-size: 15px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.slide-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

.slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--primary-color);
}

.slider-dots {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
    background: #fff;
}

.hero-search-box {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 100%;
    max-width: 550px;
    padding: 0 20px;
}

.hero-search-box .hero-search {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.hero-search-box .hero-search input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 15px;
    outline: none;
    background: transparent;
}

.hero-search-box .hero-search button {
    padding: 15px 30px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-search-box .hero-search button:hover {
    background: var(--primary-dark);
}

/* ========== Page Banner ========== */
.page-banner {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.page-banner-small {
    height: 180px;
}

.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.page-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 86, 219, 0.85) 0%, rgba(37, 99, 235, 0.85) 50%, rgba(59, 130, 246, 0.85) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.page-banner-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-banner-desc {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
}

.page-banner-search {
    display: flex;
    max-width: 450px;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.page-banner-search input {
    flex: 1;
    padding: 12px 18px;
    border: none;
    font-size: 14px;
    outline: none;
    background: transparent;
}

.page-banner-search button {
    padding: 12px 20px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.page-banner-search button:hover {
    background: var(--primary-dark);
}

.page-banner-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.page-banner-breadcrumb a {
    color: rgba(255,255,255,0.9);
    transition: var(--transition);
}

.page-banner-breadcrumb a:hover {
    color: #fff;
}

.page-banner-breadcrumb .separator {
    color: rgba(255,255,255,0.5);
}

.page-banner-breadcrumb span:last-child {
    color: rgba(255,255,255,0.7);
}

/* ========== Hero Section ========== */
.hero-section {
    background: linear-gradient(135deg, #1a56db 0%, #2563eb 50%, #3b82f6 100%);
    padding: 60px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-desc {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-search {
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero-search input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 15px;
    outline: none;
    background: transparent;
}

.hero-search button {
    padding: 15px 30px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-search button:hover {
    background: var(--primary-dark);
}

/* ========== Home Navigation ========== */
.home-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 25px 0;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.home-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    background: #fff;
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.home-nav-item:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.home-nav-item i {
    font-size: 16px;
}

/* ========== Main Wrapper ========== */
.main-wrapper {
    background: var(--bg-light);
    padding: 30px 0 50px;
}

/* ========== Content Wrapper (List & Read Page) ========== */
.content-wrapper {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}

.sidebar .widget-box {
    margin-bottom: 0;
}

.sidebar .widget-box + .widget-box {
    margin-top: 20px;
}

/* ========== Home Layout ========== */
.home-content {
    width: 100%;
}

.home-layout {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.home-main {
    flex: 1;
    min-width: 0;
}

.home-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 80px;
}

.home-sidebar .widget-box {
    margin-bottom: 0;
}

.home-sidebar .widget-box + .widget-box {
    margin-top: 20px;
}

/* ========== M-CT Content Block ========== */
.m-ct {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.m-hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f8faff 0%, #fff 100%);
}

.m-tt {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.m-tt i {
    color: var(--primary-color);
}

.m-more {
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
}

.m-more:hover {
    color: var(--primary-color);
}

.m-bd {
    padding: 20px;
}

/* ========== Style A - Feature with Big Image ========== */
.feature-a {
    display: flex;
    gap: 20px;
}

.feature-main {
    display: block;
    width: 320px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.feature-img {
    display: block;
    height: 220px;
    overflow: hidden;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.feature-main:hover .feature-img img {
    transform: scale(1.05);
}

.feature-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.feature-tag {
    display: inline-block;
    padding: 3px 10px;
    background: var(--primary-color);
    border-radius: 3px;
    font-size: 12px;
    font-style: normal;
    margin-bottom: 8px;
}

.feature-tt {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.feature-desc {
    display: block;
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.5;
}

.feature-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8faff;
    border-radius: 6px;
    transition: var(--transition);
}

.feature-item:hover {
    background: #eef4ff;
}

.item-num {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: #e0e0e0;
    color: #666;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
}

.item-num.num-1, .item-num.num-2, .item-num.num-3 {
    background: var(--primary-color);
    color: #fff;
}

.item-tt {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-date {
    font-size: 12px;
    color: var(--text-muted);
    font-style: normal;
}

/* ========== Style B - 2 Column Grid ========== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.card-a {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.card-a:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.card-img {
    display: block;
    height: 140px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.card-a:hover .card-img img {
    transform: scale(1.05);
}

.card-info {
    display: block;
    padding: 12px 15px;
}

.card-tt {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.card-meta em {
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-meta i {
    color: var(--primary-light);
}

/* ========== Style C - Left Image Layout ========== */
.layout-left-img {
    display: flex;
    gap: 20px;
}

.layout-left-img .main-img {
    display: block;
    width: 260px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.layout-left-img .main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.layout-left-img .main-img:hover img {
    transform: scale(1.05);
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.img-overlay strong {
    display: block;
    font-size: 14px;
    line-height: 1.4;
}

.side-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8faff;
    border-radius: 6px;
    transition: var(--transition);
}

.list-item:hover {
    background: #eef4ff;
}

.list-item i {
    color: var(--primary-light);
    font-size: 12px;
}

.list-item .item-tt {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
}

.list-item:hover .item-tt {
    color: var(--primary-color);
}

.list-item .item-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========== Style D - Top Image Layout ========== */
.layout-top-img {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.top-img {
    display: block;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.top-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.top-img:hover img {
    transform: scale(1.05);
}

.img-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

.img-info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.img-info span {
    display: block;
    font-size: 13px;
    opacity: 0.9;
}

.bottom-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.item-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
    flex-shrink: 0;
}

/* ========== Style E - Right Image Layout ========== */
.layout-right-img {
    display: flex;
    gap: 20px;
}

.layout-right-img .side-list {
    flex: 1;
}

.layout-right-img .list-item .item-num {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--primary-light);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.layout-right-img .main-img {
    display: block;
    width: 260px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.layout-right-img .main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.layout-right-img .main-img:hover img {
    transform: scale(1.05);
}

/* ========== Style F - 3 Column Grid ========== */
.layout-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-item {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.grid-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--primary-light);
}

.item-img {
    display: block;
    height: 120px;
    overflow: hidden;
}

.item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.grid-item:hover .item-img img {
    transform: scale(1.05);
}

.item-info {
    display: block;
    padding: 10px 12px;
}

.item-info strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-info em {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-style: normal;
}

/* ========== Rank List ========== */
.rank-list {
    list-style: none;
}

.rank-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.rank-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rank-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rank-num {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.rank-num.rank-1,
.rank-num.rank-2,
.rank-num.rank-3 {
    background: var(--primary-color);
    color: #fff;
}

.rank-title {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-list li a:hover .rank-title {
    color: var(--primary-color);
}

/* ========== Tag Cloud ========== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 4px;
    font-size: 13px;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ========== Link List ========== */
.link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-list a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-light);
    color: var(--text-dark);
    border-radius: 4px;
    font-size: 13px;
    transition: var(--transition);
}

.link-list a:hover {
    background: var(--primary-light);
    color: #fff;
}

.feature-thumb-big:hover img {
    transform: scale(1.05);
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: #fff;
}

.feature-overlay h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.feature-overlay p {
    font-size: 13px;
    opacity: 0.9;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-small-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-small-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.feature-small-item:hover {
    background: var(--primary-color);
    color: #fff;
}

.feature-small-item .feature-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    flex-shrink: 0;
}

.feature-small-item:hover .feature-num {
    background: rgba(255,255,255,0.2);
}

.feature-small-item .feature-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feature-small-item .feature-date {
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.feature-small-item:hover .feature-date {
    color: rgba(255,255,255,0.7);
}

/* ========== Article Grid 4 ========== */
.article-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* ========== Category Card ========== */
.category-card {
    margin-bottom: 0;
}

.category-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.category-card .category-thumb {
    display: block;
    width: 100%;
    height: 140px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-light);
}

.category-card .category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card .category-thumb:hover img {
    transform: scale(1.05);
}

.category-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.category-title a {
    color: var(--text-dark);
}

.category-title a:hover {
    color: var(--primary-color);
}

.category-list-new {
    list-style: none;
}

.category-list-new li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border-color);
}

.category-list-new li:last-child {
    border-bottom: none;
}

.category-list-new li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 13px;
    transition: var(--transition);
}

.category-list-new li a:hover {
    color: var(--primary-color);
}

.category-list-new li a i {
    color: var(--primary-light);
    font-size: 10px;
}

.category-list-new li a span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-list-new li a em {
    font-style: normal;
    font-size: 11px;
    color: var(--text-muted);
}

/* ========== Rank Grid ========== */
.rank-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.rank-item:hover {
    background: var(--primary-color);
    color: #fff;
}

.rank-item .rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: var(--text-muted);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    flex-shrink: 0;
}

.rank-item .rank-num.rank-1 { background: #ef4444; }
.rank-item .rank-num.rank-2 { background: #f97316; }
.rank-item .rank-num.rank-3 { background: #eab308; }

.rank-item:hover .rank-num {
    background: rgba(255,255,255,0.2);
}

.rank-item:hover .rank-num.rank-1,
.rank-item:hover .rank-num.rank-2,
.rank-item:hover .rank-num.rank-3 {
    background: rgba(255,255,255,0.3);
}

.rank-item .rank-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-item .rank-views {
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.rank-item:hover .rank-views {
    color: rgba(255,255,255,0.7);
}

/* ========== Tag Cloud New ========== */
.tag-cloud-new {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud-new a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 4px;
    color: var(--text-dark);
    font-size: 12px;
    transition: var(--transition);
}

.tag-cloud-new a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ========== Links Grid New ========== */
.links-grid-new {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.links-grid-new a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-light);
    border-radius: 4px;
    color: var(--text-dark);
    font-size: 12px;
    transition: var(--transition);
}

.links-grid-new a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ========== Category Wide ========== */
.category-wide {
    margin-bottom: 0;
}

.category-wide-content {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.category-wide-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 6px;
    transition: var(--transition);
}

.category-wide-item:hover {
    background: var(--primary-color);
    color: #fff;
}

.category-wide-item .item-thumb {
    display: block;
    width: 100%;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    background: #e5e7eb;
}

.category-wide-item .item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-wide-item:hover .item-thumb img {
    transform: scale(1.05);
}

.category-wide-item .item-title {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-wide-item:hover .item-title {
    color: #fff;
}

.category-wide-item .item-date {
    font-size: 11px;
    color: var(--text-muted);
}

.category-wide-item:hover .item-date {
    color: rgba(255,255,255,0.7);
}

/* ========== Section Row ========== */
.section-row {
    display: flex;
    gap: 25px;
}

.section-main {
    flex: 1;
    min-width: 0;
}

.section-side {
    width: 320px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.section-half {
    flex: 1;
    min-width: 0;
}

/* ========== Section Box ========== */
.section-box {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.section-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--accent-color);
    font-size: 16px;
}

.more-link {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    transition: var(--transition);
}

.more-link:hover {
    color: #fff;
}

.section-body {
    padding: 20px 22px;
}

/* ========== Feature Section ========== */
.feature-grid {
    display: flex;
    gap: 20px;
}

.feature-main {
    flex: 1;
}

.feature-thumb {
    display: block;
    width: 100%;
    height: 200px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-light);
}

.feature-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.feature-thumb:hover img {
    transform: scale(1.05);
}

.feature-info {
    padding-top: 15px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 10px;
}

.feature-title a {
    color: var(--text-dark);
}

.feature-title a:hover {
    color: var(--primary-color);
}

.feature-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.feature-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.feature-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.feature-meta i {
    color: var(--primary-light);
}

.feature-list {
    width: 200px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-light);
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--primary-color);
    color: #fff;
}

.feature-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.feature-item:hover .feature-num {
    background: rgba(255,255,255,0.2);
}

.feature-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== Search Section ========== */
.search-form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--primary-color);
}

.search-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 14px;
    outline: none;
}

.search-form button {
    padding: 12px 18px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--primary-dark);
}

/* ========== Tags Section ========== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    border-radius: 4px;
    color: var(--text-dark);
    font-size: 13px;
    transition: var(--transition);
}

.tag-cloud a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ========== Article Grid 3 ========== */
.article-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.article-thumb {
    display: block;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: var(--bg-light);
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-info {
    padding: 15px;
}

.article-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
}

.article-title a {
    color: var(--text-dark);
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-light);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-meta i {
    color: var(--primary-light);
    font-size: 12px;
}

/* ========== Category Section ========== */
.category-section {
    margin-bottom: 0;
}

.category-layout-a,
.category-layout-b {
    display: flex;
    gap: 25px;
}

.category-layout-a .category-main,
.category-layout-b .category-main {
    width: 280px;
    flex-shrink: 0;
}

.category-layout-a .category-list,
.category-layout-b .category-list {
    flex: 1;
}

.category-thumb {
    display: block;
    width: 100%;
    height: 180px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-light);
}

.category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-thumb:hover img {
    transform: scale(1.05);
}

.category-info {
    padding-top: 12px;
}

.category-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
}

.category-info h3 a {
    color: var(--text-dark);
}

.category-info h3 a:hover {
    color: var(--primary-color);
}

.category-info p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.category-item:hover {
    background: var(--primary-color);
    color: #fff;
}

.category-item i {
    color: var(--primary-light);
    margin-right: 10px;
    font-size: 12px;
}

.category-item:hover i {
    color: rgba(255,255,255,0.7);
}

.category-item span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-item em {
    font-style: normal;
    font-size: 12px;
    color: var(--text-muted);
    margin-left: 15px;
}

.category-item:hover em {
    color: rgba(255,255,255,0.7);
}

/* ========== Rank List ========== */
.rank-list {
    list-style: none;
}

.rank-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
}

.rank-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rank-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.rank-list li a:hover {
    color: var(--primary-color);
}

.rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--text-muted);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.rank-num.rank-1 { background: #ef4444; }
.rank-num.rank-2 { background: #f97316; }
.rank-num.rank-3 { background: #eab308; }

.rank-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ========== Links Grid ========== */
.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-item {
    display: inline-block;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 4px;
    color: var(--text-dark);
    font-size: 13px;
    transition: var(--transition);
}

.link-item:hover {
    background: var(--primary-color);
    color: #fff;
}

/* ========== Article List ========== */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.article-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.article-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.article-item .article-thumb {
    width: 240px;
    height: 160px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
}

.article-item .article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-item:hover .article-thumb img {
    transform: scale(1.05);
}

.article-item .article-info {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-item .article-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.article-item .article-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========== List Page Cards ========== */
.article-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.article-card-item {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.article-card-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    transform: translateY(-3px);
}

.article-card-item .card-thumb {
    display: block;
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
}

.article-card-item .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-card-item:hover .card-thumb img {
    transform: scale(1.05);
}

.article-card-item .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 86, 219, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.article-card-item:hover .card-overlay {
    opacity: 1;
}

.article-card-item .card-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transform: translateY(10px);
    transition: var(--transition);
}

.article-card-item:hover .card-btn {
    transform: translateY(0);
}

.article-card-item .card-content {
    padding: 18px;
}

.article-card-item .card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.5;
}

.article-card-item .card-title a {
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-item .card-title a:hover {
    color: var(--primary-color);
}

.article-card-item .card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card-item .card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-light);
}

.article-card-item .card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-card-item .card-meta i {
    color: var(--primary-light);
    font-size: 12px;
}

/* ========== Pagination ========== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 30px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.pagination a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination span.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ========== List Header ========== */
.list-header {
    background: #fff;
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.list-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-title i {
    color: var(--primary-color);
}

.list-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========== Read Page ========== */
.read-header {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.read-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 15px;
}

.read-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.read-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-meta i {
    color: var(--primary-light);
}

.read-meta a {
    color: var(--text-light);
}

.read-meta a:hover {
    color: var(--primary-color);
}

.read-content {
    padding: 30px;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.read-content p {
    margin-bottom: 20px;
}

.read-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 35px 0 18px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
    color: var(--text-dark);
}

.read-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 25px 0 12px;
    color: var(--text-dark);
}

.read-content ul, .read-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.read-content li {
    margin-bottom: 8px;
}

.read-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 20px 0;
}

.read-content blockquote {
    margin: 25px 0;
    padding: 20px 25px;
    background: #f0f9ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 6px 6px 0;
    color: var(--text-light);
}

.read-tags {
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    background: var(--bg-light);
}

.read-tags .label {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-tags .label i {
    color: var(--primary-color);
}

.read-tags a {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    border-radius: 4px;
    color: var(--text-dark);
    font-size: 13px;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.read-tags a:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ========== Tab Navigation ========== */
.m-center-tab {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
    margin: 20px 0;
    border-bottom: 2px solid var(--border-color);
    list-style: none;
}

.m-center-tab li {
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    transition: var(--transition);
    position: relative;
}

.m-center-tab li:hover {
    color: var(--primary-color);
    background: var(--bg-light);
}

.m-center-tab li.active {
    color: var(--primary-color);
    background: var(--bg-light);
    font-weight: 600;
}

.m-center-tab li.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

.m-center-tab-content {
    min-height: 200px;
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== Related Posts ========== */
.related-posts {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.related-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
}

.related-title i {
    color: var(--primary-color);
}

.related-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);
}

.related-item:hover {
    background: var(--primary-color);
    color: #fff;
}

.related-item .num {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.related-item:hover .num {
    color: rgba(255,255,255,0.7);
}

/* ========== Article Read More ========== */
.article-readmore {
    padding: 25px 30px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--bg-light);
}

.readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

.readmore-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

/* ========== Comments ========== */
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-item {
    display: flex;
    gap: 15px;
    padding: 18px;
    background: var(--bg-light);
    border-radius: 6px;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--border-color);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.comment-time {
    font-size: 13px;
    color: var(--text-muted);
}

.comment-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== No Result ========== */
.no-result {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.no-result i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--border-color);
}

.no-result p {
    font-size: 16px;
    margin-bottom: 10px;
}

.no-result .tip {
    font-size: 14px;
    color: var(--text-light);
}

/* ========== Footer ========== */
.footer {
    background: #1f2937;
    color: #fff;
    padding: 50px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
    color: #fff;
    font-size: 18px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: #fff;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.nav-list {
    list-style: none;
}

.nav-list li {
    margin-bottom: 12px;
}

.nav-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.nav-list li a:hover {
    color: #fff;
    padding-left: 5px;
}

.nav-list li a i {
    font-size: 12px;
    color: var(--primary-light);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-item i {
    font-size: 18px;
    color: var(--primary-light);
    margin-top: 2px;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 3px;
}

.contact-value {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
}

.footer-stats {
    display: flex;
    gap: 25px;
}

.stat-item {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-light);
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-copyright {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-copyright a {
    color: rgba(255,255,255,0.7);
}

.footer-copyright a:hover {
    color: #fff;
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========== Widget Box ========== */
.widget-box {
    background: #fff;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.widget-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-header i {
    color: var(--accent-color);
}

.widget-body {
    padding: 18px 20px;
}

.widget-list {
    list-style: none;
}

.widget-list li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.widget-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.widget-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-size: 14px;
    transition: var(--transition);
}

.widget-list li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.widget-list .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}

.widget-list li:nth-child(1) .num { background: #ef4444; }
.widget-list li:nth-child(2) .num { background: #f97316; }
.widget-list li:nth-child(3) .num { background: #eab308; }

.hot-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hot-tags a {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-light);
    border-radius: 4px;
    color: var(--text-dark);
    font-size: 13px;
    transition: var(--transition);
}

.hot-tags a:hover {
    background: var(--primary-color);
    color: #fff;
}

.search-box {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary-color);
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    font-size: 14px;
    outline: none;
}

.search-box button {
    padding: 12px 18px;
    background: var(--primary-color);
    border: none;
    color: #fff;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

/* ========== M-CT Style Variations ========== */
.m-ct-style-a .m-hd {
    background: linear-gradient(135deg, #1a56db 0%, #1e40af 100%);
}

.m-ct-style-a .m-tt,
.m-ct-style-a .m-tt i {
    color: #fff;
}

.m-ct-style-a .m-more {
    color: rgba(255,255,255,0.8);
}

.m-ct-style-a .m-more:hover {
    color: #fff;
}

.m-ct-style-b .m-hd {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.m-ct-style-b .m-tt,
.m-ct-style-b .m-tt i {
    color: #fff;
}

.m-ct-style-b .m-more {
    color: rgba(255,255,255,0.8);
}

.m-ct-style-b .m-more:hover {
    color: #fff;
}

.m-ct-style-c .m-hd {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.m-ct-style-c .m-tt,
.m-ct-style-c .m-tt i {
    color: #fff;
}

.m-ct-style-c .m-more {
    color: rgba(255,255,255,0.8);
}

.m-ct-style-c .m-more:hover {
    color: #fff;
}

.m-ct-style-d .m-hd {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.m-ct-style-d .m-tt,
.m-ct-style-d .m-tt i {
    color: #fff;
}

.m-ct-style-d .m-more {
    color: rgba(255,255,255,0.8);
}

.m-ct-style-d .m-more:hover {
    color: #fff;
}

.m-ct-style-e .m-hd {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
}

.m-ct-style-e .m-tt,
.m-ct-style-e .m-tt i {
    color: #fff;
}

.m-ct-style-e .m-more {
    color: rgba(255,255,255,0.8);
}

.m-ct-style-e .m-more:hover {
    color: #fff;
}

.m-ct-style-f .m-hd {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
}

.m-ct-style-f .m-tt,
.m-ct-style-f .m-tt i {
    color: #fff;
}

.m-ct-style-f .m-more {
    color: rgba(255,255,255,0.8);
}

.m-ct-style-f .m-more:hover {
    color: #fff;
}
